jamespot-react-components 1.2.60 → 1.2.62

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.
@@ -1,5 +1,5 @@
1
1
  /*! For license information please see jamespot-react-components.js.LICENSE.txt */
2
- (()=>{var e,t,n={415:(e,t,n)=>{var r=n(2516),i=n(1474);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},682:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=s(n(2736)),o=n(758),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}var l={bgColor:i.default.oneOfType([i.default.object,i.default.string]).isRequired,bgD:i.default.string.isRequired,fgColor:i.default.oneOfType([i.default.object,i.default.string]).isRequired,fgD:i.default.string.isRequired,size:i.default.number.isRequired,title:i.default.string,viewBoxSize:i.default.number.isRequired,xmlns:i.default.string},c=(0,o.forwardRef)(function(e,t){var n=e.bgColor,i=e.bgD,o=e.fgD,s=e.fgColor,l=e.size,c=e.title,d=e.viewBoxSize,u=e.xmlns,h=void 0===u?"http://www.w3.org/2000/svg":u,p=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["bgColor","bgD","fgD","fgColor","size","title","viewBoxSize","xmlns"]);return a.default.createElement("svg",r({},p,{height:l,ref:t,viewBox:"0 0 "+d+" "+d,width:l,xmlns:h}),c?a.default.createElement("title",null,c):null,a.default.createElement("path",{d:i,fill:n}),a.default.createElement("path",{d:o,fill:s}))});c.displayName="QRCodeSvg",c.propTypes=l,t.default=c},758:(e,t,n)=>{"use strict";e.exports=n(2713)},809:(e,t,n)=>{"use strict";e.exports=n(3278)},1035:(e,t,n)=>{"use strict";var r=n(5959),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,d=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(f){var i=p(n);i&&i!==f&&e(t,i,r)}var a=d(n);u&&(a=a.concat(u(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!(o[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=h(n,v);try{c(t,v,y)}catch(e){}}}}return t}},1135:(e,t,n)=>{var r=n(5616),i=n(3249),o=n(7304),a=n(9049),s=n(9363);function l(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}var c=l.prototype;c.addData=function(e){var t=new r(e);this.dataList.push(t),this.dataCache=null},c.isDark=function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},c.getModuleCount=function(){return this.moduleCount},c.make=function(){if(this.typeNumber<1){var e=1;for(e=1;e<40;e++){for(var t=i.getRSBlocks(e,this.errorCorrectLevel),n=new o,r=0,s=0;s<t.length;s++)r+=t[s].dataCount;for(s=0;s<this.dataList.length;s++){var l=this.dataList[s];n.put(l.mode,4),n.put(l.getLength(),a.getLengthInBits(l.mode,e)),l.write(n)}if(n.getLengthInBits()<=8*r)break}this.typeNumber=e}this.makeImpl(!1,this.getBestMaskPattern())},c.makeImpl=function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++)this.modules[n][r]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=l.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},c.setupPositionProbePattern=function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},c.getBestMaskPattern=function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=a.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},c.createMovieClip=function(e,t,n){var r=e.createEmptyMovieClip(t,n);this.make();for(var i=0;i<this.modules.length;i++)for(var o=1*i,a=0;a<this.modules[i].length;a++){var s=1*a;this.modules[i][a]&&(r.beginFill(0,100),r.moveTo(s,o),r.lineTo(s+1,o),r.lineTo(s+1,o+1),r.lineTo(s,o+1),r.endFill())}return r},c.setupTimingPattern=function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},c.setupPositionAdjustPattern=function(){for(var e=a.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var r=e[t],i=e[n];if(null==this.modules[r][i])for(var o=-2;o<=2;o++)for(var s=-2;s<=2;s++)this.modules[r+o][i+s]=-2==o||2==o||-2==s||2==s||0==o&&0==s}},c.setupTypeNumber=function(e){for(var t=a.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++)r=!e&&1==(t>>n&1),this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r},c.setupTypeInfo=function(e,t){for(var n=this.errorCorrectLevel<<3|t,r=a.getBCHTypeInfo(n),i=0;i<15;i++){var o=!e&&1==(r>>i&1);i<6?this.modules[i][8]=o:i<8?this.modules[i+1][8]=o:this.modules[this.moduleCount-15+i][8]=o}for(i=0;i<15;i++)o=!e&&1==(r>>i&1),i<8?this.modules[8][this.moduleCount-i-1]=o:i<9?this.modules[8][15-i-1+1]=o:this.modules[8][15-i-1]=o;this.modules[this.moduleCount-8][8]=!e},c.mapData=function(e,t){for(var n=-1,r=this.moduleCount-1,i=7,o=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var l=0;l<2;l++)if(null==this.modules[r][s-l]){var c=!1;o<e.length&&(c=1==(e[o]>>>i&1)),a.getMask(t,r,s-l)&&(c=!c),this.modules[r][s-l]=c,-1==--i&&(o++,i=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}},l.PAD0=236,l.PAD1=17,l.createData=function(e,t,n){for(var r=i.getRSBlocks(e,t),s=new o,c=0;c<n.length;c++){var d=n[c];s.put(d.mode,4),s.put(d.getLength(),a.getLengthInBits(d.mode,e)),d.write(s)}var u=0;for(c=0;c<r.length;c++)u+=r[c].dataCount;if(s.getLengthInBits()>8*u)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*u+")");for(s.getLengthInBits()+4<=8*u&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;!(s.getLengthInBits()>=8*u||(s.put(l.PAD0,8),s.getLengthInBits()>=8*u));)s.put(l.PAD1,8);return l.createBytes(s,r)},l.createBytes=function(e,t){for(var n=0,r=0,i=0,o=new Array(t.length),l=new Array(t.length),c=0;c<t.length;c++){var d=t[c].dataCount,u=t[c].totalCount-d;r=Math.max(r,d),i=Math.max(i,u),o[c]=new Array(d);for(var h=0;h<o[c].length;h++)o[c][h]=255&e.buffer[h+n];n+=d;var p=a.getErrorCorrectPolynomial(u),f=new s(o[c],p.getLength()-1).mod(p);for(l[c]=new Array(p.getLength()-1),h=0;h<l[c].length;h++){var m=h+f.getLength()-l[c].length;l[c][h]=m>=0?f.get(m):0}}var g=0;for(h=0;h<t.length;h++)g+=t[h].totalCount;var v=new Array(g),y=0;for(h=0;h<r;h++)for(c=0;c<t.length;c++)h<o[c].length&&(v[y++]=o[c][h]);for(h=0;h<i;h++)for(c=0;c<t.length;c++)h<l[c].length&&(v[y++]=l[c][h]);return v},e.exports=l},1474:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(3434),i=n.n(r),o=n(6170),a=n.n(o)()(i());a.push([e.id,".react-reset {\n --scrollbarTrack: white;\n --scrollbarThumb: #bebed1;\n}\n.react-reset * {\n scrollbar-width: thin;\n scrollbar-color: var(--scrollbarThumb) var(--scrollbarTrack);\n scroll-behavior: smooth;\n}\n.react-reset *::-webkit-scrollbar-track {\n background: var(--scrollbarTrack);\n}\n.react-reset *::-webkit-scrollbar-thumb {\n background-color: var(--scrollbarThumb);\n}\n.react-reset *::-webkit-scrollbar {\n width: 8px;\n}\n","",{version:3,sources:["webpack://./src/components/JRCThemeProvider/scrollbar.css"],names:[],mappings:"AAAA;IACI,uBAAuB;IACvB,yBAAyB;AAC7B;AACA;IACI,qBAAqB;IACrB,4DAA4D;IAC5D,uBAAuB;AAC3B;AACA;IACI,iCAAiC;AACrC;AACA;IACI,uCAAuC;AAC3C;AACA;IACI,UAAU;AACd",sourcesContent:[".react-reset {\n --scrollbarTrack: white;\n --scrollbarThumb: #bebed1;\n}\n.react-reset * {\n scrollbar-width: thin;\n scrollbar-color: var(--scrollbarThumb) var(--scrollbarTrack);\n scroll-behavior: smooth;\n}\n.react-reset *::-webkit-scrollbar-track {\n background: var(--scrollbarTrack);\n}\n.react-reset *::-webkit-scrollbar-thumb {\n background-color: var(--scrollbarThumb);\n}\n.react-reset *::-webkit-scrollbar {\n width: 8px;\n}\n"],sourceRoot:""}]);const s=a},1896:(e,t,n)=>{"use strict";e.exports=n(4733)},2187:(e,t,n)=>{e.exports=n(9771)},2516:(e,t,n)=>{"use strict";var r,i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),o=[];function a(e){for(var t=-1,n=0;n<o.length;n++)if(o[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},r=[],i=0;i<e.length;i++){var s=e[i],l=t.base?s[0]+t.base:s[0],c=n[l]||0,d="".concat(l," ").concat(c);n[l]=c+1;var u=a(d),h={css:s[1],media:s[2],sourceMap:s[3]};-1!==u?(o[u].references++,o[u].updater(h)):o.push({identifier:d,updater:m(h,t),references:1}),r.push(d)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach(function(e){t.setAttribute(e,r[e])}),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var c,d=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function u(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function h(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var p=null,f=0;function m(e,t){var n,r,i;if(t.singleton){var o=f++;n=p||(p=l(t)),r=u.bind(null,n,o,!1),i=u.bind(null,n,o,!0)}else n=l(t),r=h.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=(void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r));var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=a(n[r]);o[i].references--}for(var l=s(e,t),c=0;c<n.length;c++){var d=a(n[c]);0===o[d].references&&(o[d].updater(),o.splice(d,1))}n=l}}}},2713:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator,f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var x=b.prototype=new y;x.constructor=b,m(x,v.prototype),x.isPureReactComponent=!0;var w=Array.isArray,C=Object.prototype.hasOwnProperty,S={current:null},A={key:!0,ref:!0,__self:!0,__source:!0};function k(e,t,r){var i,o={},a=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)C.call(t,i)&&!A.hasOwnProperty(i)&&(o[i]=t[i]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var c=Array(l),d=0;d<l;d++)c[d]=arguments[d+2];o.children=c}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===o[i]&&(o[i]=l[i]);return{$$typeof:n,type:e,key:a,ref:s,props:o,_owner:S.current}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var E=/\/+/g;function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function D(e,t,i,o,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===o?"."+T(l,0):o,w(a)?(i="",null!=e&&(i=e.replace(E,"$&/")+"/"),D(a,t,i,"",function(e){return e})):null!=a&&(_(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,i+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(E,"$&/")+"/")+e)),t.push(a)),1;if(l=0,o=""===o?".":o+":",w(e))for(var c=0;c<e.length;c++){var d=o+T(s=e[c],c);l+=D(s,t,i,d,a)}else if(d=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof d)for(e=d.call(e),c=0;!(s=e.next()).done;)l+=D(s=s.value,t,i,d=o+T(s,c++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function j(e,t,n){if(null==e)return e;var r=[],i=0;return D(e,r,"","",function(e){return t.call(n,e,i++)}),r}function R(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},I={transition:null},O={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:I,ReactCurrentOwner:S};function L(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:j,forEach:function(e,t,n){j(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return j(e,function(){t++}),t},toArray:function(e){return j(e,function(e){return e})||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=i,t.Profiler=a,t.PureComponent=b,t.StrictMode=o,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.act=L,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=m({},e.props),o=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=S.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)C.call(t,c)&&!A.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){l=Array(c);for(var d=0;d<c;d++)l[d]=arguments[d+2];i.children=l}return{$$typeof:n,type:e.type,key:o,ref:a,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=k,t.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=I.transition;I.transition={};try{e()}finally{I.transition=t}},t.unstable_act=L,t.useCallback=function(e,t){return M.current.useCallback(e,t)},t.useContext=function(e){return M.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return M.current.useDeferredValue(e)},t.useEffect=function(e,t){return M.current.useEffect(e,t)},t.useId=function(){return M.current.useId()},t.useImperativeHandle=function(e,t,n){return M.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return M.current.useMemo(e,t)},t.useReducer=function(e,t,n){return M.current.useReducer(e,t,n)},t.useRef=function(e){return M.current.useRef(e)},t.useState=function(e){return M.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return M.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return M.current.useTransition()},t.version="18.3.1"},2736:(e,t,n)=>{e.exports=n(6186)()},2856:e=>{(()=>{"use strict";var t={d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};t.r(n),t.d(n,{ACCESS_REQUEST_ACCEPT:()=>fm,ACCESS_REQUEST_DENY:()=>mm,AdminAdvancedApi:()=>i,AdminLicenseApi:()=>Vd,AdminLogApi:()=>qd,AdminStoreApi:()=>Yd,AdminUtilsApi:()=>Jd,BookmarkType:()=>Au,ContentReportStatus:()=>hs,DateFormatSchema:()=>vi,DiapazoneExtraFieldsSchema:()=>Cs,FREQUENCY_DAILY:()=>Pn,FREQUENCY_GROUP:()=>Ln,FREQUENCY_INHERIT:()=>In,FREQUENCY_NEVER:()=>Nn,FREQUENCY_NOW:()=>On,FREQUENCY_WEEKLY:()=>Bn,Format:()=>Jn,GroupModerateStatus:()=>ir,GroupPrivacy:()=>ar,ImapConnection:()=>_f,JApplicationApi:()=>uu,JArticleApi:()=>hu,JAssetReservation:()=>pu,JAudienceApi:()=>fu,JBaseApi:()=>r,JBbbApi:()=>mu,JBookmarkApi:()=>gu,JBusinessNetworkingApi:()=>vu,JCalendarApi:()=>yu,JCommunityApi:()=>bu,JContentFactory:()=>Sm,JContentReportApi:()=>_m,JDatasourceApi:()=>Em,JDiapazoneApi:()=>Tm,JDriveApi:()=>Dm,JExternalAppApi:()=>jm,JExtraBotApi:()=>Rm,JFaqApi:()=>Mm,JFileApi:()=>Im,JFileIntegrity:()=>Lm,JFilebankApi:()=>Om,JGlobalApi:()=>Pm,JGroupApi:()=>Bm,JIAApi:()=>Wm,JJamespotApi:()=>Nm,JLandApi:()=>Vm,JLandMapCreationSchema:()=>tl,JLuccaApi:()=>qm,JMeetingApi:()=>Qm,JModuleApi:()=>Km,JObjectApi:()=>eg,JOrgchartsApi:()=>rg,JPublishButtonApi:()=>ig,JQuestionAnswerApi:()=>og,JSearchApi:()=>ag,JShareApi:()=>sg,JSocialEventApi:()=>lg,JTaxonomyApi:()=>cg,JTeamWorkApi:()=>dg,JUserApi:()=>pg,JWedocApi:()=>mg,JWidgetApi:()=>gg,JamespotUserApi:()=>vg,JamespotUserApiInstance:()=>xg,JitsiApi:()=>Gm,LanguagesList:()=>o,LanguagesSchema:()=>nn,Network:()=>wd,NumberFormatSchema:()=>yi,OAuth2ServerHookSchema:()=>su,OfficeProviderSchema:()=>Mf,OrgChartConfigSchema:()=>Ql,OrgChartConfigurationSchema:()=>nc,OrgChartLinkSchema:()=>ql,OrgChartNodeSchema:()=>Jl,OrgChartUpdateMetasFormSchema:()=>tc,PublishButtonConfigurationCustomSectionSchema:()=>mh,PublishButtonConfigurationSchema:()=>gh,PublishButtonSectionEntrySchema:()=>Kh,PublishButtonSectionSchema:()=>ep,PublishButtonSectionsSchema:()=>tp,StudioApplicationStatus:()=>du,SurveyFieldName:()=>pa,TVChannelCustomSchema:()=>wc,TVDisplayApi:()=>ug,TwoFactorAuthenticationDailyActivationStatisticsSchema:()=>lm,TwoFactorAuthenticationGenerateConfigurationSchema:()=>sm,TwoFactorAuthenticationStatisticsSchema:()=>am,UserLevel:()=>pn,UserNotificationsConfigurationSchema:()=>Fn,UserVariant:()=>fn,WIDGET_LEVEL_1:()=>lo,WIDGET_LEVEL_2:()=>co,WIDGET_LEVEL_3:()=>uo,WIDGET_LEVEL_4:()=>ho,WRITE_RIGHT_ADMIN:()=>hh,WRITE_RIGHT_ALL:()=>uh,WRITE_RIGHT_CUSTOM:()=>ph,WRITE_RIGHT_PUBLIC:()=>fh,WidgetPresenceResponseUserListSchema:()=>Ui,WidgetQuickSurveyContentArrSchema:()=>Wi,WidgetQuickSurveyResponseSchema:()=>Yi,WidgetQuickSurveyResponseUserListSchema:()=>Ji,WidgetsName:()=>Lr,WindowBrowser:()=>yg,accessRequestStatusValuesSchema:()=>gm,actionParamsSchema:()=>sa,actionVerbSchema:()=>ra,addCommentParamsSchema:()=>Lo,addFaqEntrySchema:()=>Ws,adminAppSchema:()=>Mh,adminAppTabSchema:()=>Rh,adminAppsSchema:()=>Ih,adminLicenseArticleListSchema:()=>kh,adminLicenseStatsSchema:()=>vh,adminLicenseUserSchema:()=>Sh,adminLicensesAssignedSchema:()=>xh,adminLicensesNotAssignedSchema:()=>bh,adminLogNavigationSchema:()=>_h,adminLogObjectSchema:()=>Eh,adminLogSearchSchema:()=>Th,animationConfigurationTypeSchema:()=>Lh,animationStatsRowSchema:()=>Ph,animationStatsSchema:()=>Bh,animationVariantSchema:()=>Oh,api:()=>Cg,applicationActionBaseSchema:()=>Qd,applicationBaseSchema:()=>Zd,applicationDefaultSchema:()=>Kd,applicationExtraPropertiesSchema:()=>Xd,applicationIframeSchema:()=>tu,applicationIntranetHookSchema:()=>au,applicationLinkSchema:()=>eu,applicationSchema:()=>lu,applicationTabSchema:()=>nu,applicationWithTabsSchema:()=>ou,articleCreationSchema:()=>Mo,articleDisplayModeSchema:()=>Vr,articleGetConfigSchema:()=>Ro,articleListConfigSchema:()=>jo,articleTranslationGetSchema:()=>$h,articleTranslationLanguageSchema:()=>Nh,articleTranslationTranslateSchema:()=>Fh,aseiGroupsSchema:()=>Wo,aseiRightsSchema:()=>Go,aseiTicketStatusSchema:()=>Fo,assetReservationConfigurationSchema:()=>Vo,audienceAutocompleteSchema:()=>Zt,audienceSchema:()=>Or,autocompleteLittleSchema:()=>Kt,baseArticleSchema:()=>Io,baseAutocompleteSchema:()=>qt,bookmarkCustomSchema:()=>Eu,bookmarkLinkSchema:()=>ku,bookmarkTypesSchema:()=>_u,businessContactSchema:()=>jn,calendarEventAdditionalSchema:()=>Yh,calendarEventListAbstractTypeSchema:()=>Qh,calendarEventLittleAbstractTypeSchema:()=>Jh,calendarEventViewAbstractTypeSchema:()=>Zh,calendarEventsExtension:()=>qh,calendarOldEventSchema:()=>Gh,categorySchema:()=>yr,checkProperties:()=>xd,combineFormat:()=>Ed,combinedContentFactoryDataSchema:()=>is,combinedSurveyFieldOptionsSchema:()=>Pa,combinedSurveyFieldSchema:()=>Ja,combinedSurveyFieldTypeSchema:()=>_a,combinedWidgetContentSchema:()=>mo,combinedWidgetTypeSchema:()=>so,communitySchema:()=>Xt,contentFactoryDefaultDataSchema:()=>ns,contentFactorySurveyDataSchema:()=>rs,contentFactoryTypes:()=>ts,createFaqCategorySchema:()=>Ls,createFaqEntrySchema:()=>Us,createFaqThemeSchema:()=>$s,createGroupSchema:()=>Kn,createReportParamsSchema:()=>gs,cssBackgroundPositionSchema:()=>$r,cssBackgroundSizeSchema:()=>zr,cssTextAlignTypeSchema:()=>Fr,davAddressBookContactSchema:()=>Rf,davCalendarEventSchema:()=>jf,deepEqual:()=>kd,default:()=>wg,deleteFaqThemeSchema:()=>zs,driveAccountSchema:()=>up,driveGetAccountParamsSchema:()=>yp,driveGetAccountSchema:()=>bp,driveGetDocumentParamsSchema:()=>gp,driveGetGroupsParamsSchema:()=>Ap,driveGetTenantsParamsSchema:()=>wp,driveItemTypeSchema:()=>hp,driveLogoutParamsSchema:()=>vp,driveSetDefaultAccountParamsSchema:()=>xp,driveTmpFileSchema:()=>mp,dropboxDocumentEntitySchema:()=>cp,dropboxDocumentParamsSchema:()=>fp,dropboxGetDocumentsParamsSchema:()=>Sp,editFaqCategorySchema:()=>Ps,editFaqEntrySchema:()=>Gs,editFaqThemeSchema:()=>Hs,ensureApplication:()=>cu,ensureApplicationTabs:()=>iu,ensureIsCalendarOldEvent:()=>Vh,ensureIsMeetingList:()=>Rl,ensureIsSocialEventList:()=>Sl,ensureIsSurveyData:()=>Am,ensureIsViewEvent:()=>Td,ensureTVGetConfigureDynamicChannelResponse:()=>$c,ensureTVGetConfigureSlideshowChannelResponse:()=>Uc,ensureWidgetArticleAttachmentType:()=>jd,ensureWidgetArticleButtonType:()=>Rd,ensureWidgetArticleGalleryType:()=>Id,ensureWidgetArticleImageType:()=>Od,ensureWidgetArticleSliderType:()=>Ld,ensureWidgetArticleTextType:()=>Pd,ensureWidgetArticleTitleType:()=>Bd,ensureWidgetCalendarCalDavType:()=>Hd,ensureWidgetCheckListType:()=>Nd,ensureWidgetContactCardDavType:()=>Ud,ensureWidgetContent:()=>Yr,ensureWidgetDatasourceTableType:()=>Fd,ensureWidgetDefinitionProps:()=>qc,ensureWidgetEmailsImapType:()=>Wd,ensureWidgetExcelDatasourceTableType:()=>$d,ensureWidgetLuccaAbsenceType:()=>Md,ensureWidgetObjectHasMinimumProperties:()=>Yc,ensureWidgetPresenceContent:()=>Pi,ensureWidgetPresenceResponse:()=>Hi,ensureWidgetPresenceResponsePayload:()=>$i,ensureWidgetPresenceType:()=>Ni,ensureWidgetQuickSurveyType:()=>zd,ensureWidgetType:()=>qr,ensureWidgetUserProfileType:()=>Gd,ensureWidgetWrapperProps:()=>Dd,eventStatusFilterSchema:()=>Xh,extendSchema:()=>Ep,extensions:()=>kt,extractFlattenTaxonomiesFromObject:()=>gd,extractTaxonomiesFromObject:()=>md,extractTaxonomiesFromObjectAndMapProperty:()=>vd,extractTaxonomiesFromObjectAndMapUri:()=>yd,facetModeSchema:()=>Nf,faqAccessSchema:()=>Fs,faqContentItemSchema:()=>ks,faqHookPropertiesSchema:()=>Ns,faqTaxonomySchema:()=>Bs,fileCropConfigSchema:()=>sn,fileSyncAdminSpotSchema:()=>Rp,fileSyncAdminSpotsPropsSchema:()=>Mp,fileSyncFileBankSchema:()=>Dp,fileSyncUserQuotaSchema:()=>jp,filterSchema:()=>Gn,filterValueSchema:()=>Hn,filtersSchema:()=>qn,formatExtensionSchema:()=>Tp,formatImgUrl:()=>St,formatListSchema:()=>Zn,formats:()=>ud,getArgs:()=>bt,getCommentsParamsSchema:()=>Oo,getExtensionFromName:()=>Dt,getFileExtensionFromMimetype:()=>Tt,getFileFamily:()=>Lt,getFileFamilyFromName:()=>It,getFormat:()=>wt,getFrom:()=>vt,getLicenseArticlesParamsSchema:()=>Cf,getLicenseKindUsersParamsSchema:()=>xf,getMimetypeFromExtension:()=>Et,getMimetypeFromName:()=>jt,getReportsParamsSchema:()=>ms,getSize:()=>xt,getTimestamp:()=>yt,getUnclassifiedFilesParamsSchema:()=>gl,getUri:()=>gt,getUrl:()=>Ct,gifSchema:()=>vf,groupCategoriesConfigurationSchema:()=>Er,groupCustomWidgetSchema:()=>ur,groupListConfigSchema:()=>_r,groupMemberLevelSchema:()=>nr,groupMemberSchema:()=>lr,groupModerateStatusSchema:()=>or,groupPrivacy:()=>sr,groupPropertiesOptionsSchema:()=>hr,groupPropertiesSchema:()=>fr,groupUserLevelSchema:()=>tr,groupWidgetLittleSchema:()=>dr,groupWidgetSchema:()=>vr,groupWidgetsSchema:()=>mr,hookListTypeSchema:()=>gf,imageFormValueSchema:()=>an,imageSizeSchema:()=>on,imapInboxMailSchema:()=>Df,inferActionUpdateParamsSchema:()=>la,inferBookmarkListSchema:()=>Su,inferBookmarkRawListSchema:()=>Cu,inferExtendedFaqCategory:()=>js,inferJInternalDraftView:()=>Do,inferJLinkListSchema:()=>wu,inferMaybeWithToken:()=>Yn,inferSearchQueryResultSchema:()=>Qf,inferUserLicenseSchema:()=>wf,isKnownArticle:()=>hd,isKnownComment:()=>pd,jAdminLicenseArticleListSchema:()=>Ah,jAdminLicenseUserListSchema:()=>Ch,jArticleListSchema:()=>Co,jArticleListShapeTmp:()=>wo,jArticleLittleSchema:()=>xo,jArticleViewSchema:()=>Ao,jArticleWidgetLittleSchema:()=>Qc,jArticleWidgetViewSchema:()=>dd,jAseiInstitutionViewSchema:()=>Uo,jAseiTicketViewSchema:()=>zo,jBookableAssetListSchema:()=>Yo,jBookableAssetViewSchema:()=>Qo,jBusinessContactListSchema:()=>na,jBusinessContactLittleSchema:()=>ea,jCommentListSchema:()=>ha,jCommentLittleSchema:()=>da,jContentFactoryDefaultTemplateViewSchema:()=>ds,jContentFactorySurveyTemplateViewSchema:()=>ls,jContentFactoryTemplateListSchema:()=>as,jContentFactoryTemplateViewSchema:()=>us,jContentReportListSchema:()=>fs,jDiapazoneListSchema:()=>bs,jDiapazoneViewSchema:()=>ws,jEnsure:()=>l,jExtraBotViewSchema:()=>As,jFaqItemListSchema:()=>Ms,jFaqItemViewSchema:()=>Os,jFaqListSchema:()=>Es,jFaqViewSchema:()=>Ds,jFileLittleCropSchema:()=>dn,jFileLittleSchema:()=>ln,jFileRenditionSchema:()=>un,jFolderListSchema:()=>No,jFolderLittleSchema:()=>Ir,jGroupListSchema:()=>Cr,jGroupLittleSchema:()=>xr,jGroupViewSchema:()=>Ar,jHrefSchema:()=>$n,jIACapabilitiesSchema:()=>yf,jInternalDraftListSchema:()=>_o,jInternalDraftViewSchema:()=>To,jLandLogSchema:()=>Zs,jLandMapFlavorSchema:()=>Ks,jLandMapKindSchema:()=>el,jLandMapListSchema:()=>ol,jLandMapLittleSchema:()=>rl,jLandMapViewSchema:()=>sl,jLandStatSchema:()=>Xs,jLinkLittleSchema:()=>xu,jMediaLibraryFileListSchema:()=>ul,jMediaLibraryFileLittleSchema:()=>cl,jMediaLibraryFolderListSchema:()=>ml,jMediaLibraryFolderLittleSchema:()=>pl,jMeetingListSchema:()=>jl,jMeetingViewSchema:()=>Il,jMessengerDiscussionGroupListSchema:()=>Vl,jMessengerDiscussionGroupLittleSchema:()=>Wl,jMessengerDiscussionUserListSchema:()=>Hl,jMessengerDiscussionUserLittleSchema:()=>$l,jMessengerMessageLittleSchema:()=>Bl,jObjectAutocompleteSchema:()=>Yt,jObjectBaseSchema:()=>Ut,jObjectListSchema:()=>jr,jObjectLittleSchema:()=>Gt,jOrgChartListSchema:()=>Xl,jOrgChartViewSchema:()=>ec,jPollSurveyListSchema:()=>Xa,jPollSurveyViewSchema:()=>es,jQuarantineListSchema:()=>Qs,jQuarantineLittleSchema:()=>Ys,jQuizzListSchema:()=>ic,jQuizzListShapeTmp:()=>rc,jQuizzViewSchema:()=>ac,jReservationListSchema:()=>Xo,jSocialEventListSchema:()=>Cl,jSocialEventViewSchema:()=>kl,jSpotAutocompleteSchema:()=>Qt,jSupportListSchema:()=>hc,jSupportViewSchema:()=>fc,jSupportViewShapeTmp:()=>pc,jSurveyDateListSchema:()=>gc,jSurveyDateViewSchema:()=>yc,jTvChannelDynamicListSchema:()=>Ec,jTvChannelListSchema:()=>jc,jTvChannelLittleSchema:()=>kc,jTvChannelSlideshowListSchema:()=>Dc,jUserAutocompleteSchema:()=>Jt,jUserListSchema:()=>yn,jUserLittleSchema:()=>gn,jUserValuesSchema:()=>kn,jUserViewSchema:()=>xn,licenseSchema:()=>wh,mediaLibraryFilesStatsSchema:()=>vl,mediaLibraryFolderStatsSchema:()=>yl,mediaLibraryStatsSchema:()=>bl,meetingCreationSchema:()=>Ol,meetingUpdateSchema:()=>Ll,mimetypeToExt:()=>_t,mimetypes:()=>At,moduleRestrictionMode:()=>Sf,moveFaqEntrySchema:()=>Vs,moveFaqThemeSchema:()=>qs,moveMediaLibraryFileParamsSchema:()=>xl,msDocumentEntitySchema:()=>lp,msDocumentParamsSchema:()=>pp,msGetDocumentsParamsSchema:()=>Cp,msGroupEntitySchema:()=>ap,msSiteEntitySchema:()=>op,msTenantEntitySchema:()=>ip,msTenantsSchema:()=>np,msUnifiedEntitySchema:()=>dp,network:()=>bg,networkTypeSchema:()=>Af,objectListPropsSchema:()=>Xn,objectTimestamp:()=>Rt,objectWithoutLicenseFilterSchema:()=>yh,officeProviderBaseUrlsSchema:()=>kf,officeSetConfigurationPayloadSchema:()=>Tf,officeUserConfigurationSchema:()=>Ef,onlyOfficeFileSchema:()=>Of,onyOfficeFileInfoSchema:()=>If,openingTypeAnchorSchema:()=>Xr,openingTypeLinkSchema:()=>Zr,openingTypePopupSchema:()=>Kr,openingTypeSchema:()=>Wr,orderSchema:()=>zn,ordersSchema:()=>Vn,padStartTwoDigits:()=>u,prepareGroupForUpdate:()=>bd,publicWebinarData:()=>Wh,publicWebinarFullnameRequestSchema:()=>zh,publicWebinarGetDateRequestSchema:()=>Uh,publicWebinarUrlSchema:()=>Hh,questionAnswerSelectResponseParamsSchema:()=>Lf,questionAnswerUnselectResponseParamsSchema:()=>Pf,quizFieldSchema:()=>dc,quizResponseSchema:()=>sc,removeIfStartsWith:()=>d,replacePropertiesWithTypes:()=>_d,resetNotificationConfigurationSchema:()=>kr,resolveFileFamily:()=>Nt,resolveFileMimetype:()=>Bt,resolveFilePath:()=>Mt,resolveFileUrl:()=>Pt,rightsSchema:()=>en,rssTypeSchema:()=>pr,searchCategoryModelSchema:()=>$f,searchCategoryValueSchema:()=>Bf,searchConfigSchema:()=>Vf,searchFacetModelSchema:()=>Ff,searchFacetValueModelSchema:()=>Hf,searchFacetValuesSchema:()=>zf,searchLastQuerySchema:()=>Zf,searchQueryFilterModelSchema:()=>Uf,searchQueryOptionSchema:()=>Gf,searchQuerySchema:()=>Jf,searchQuerySortModelSchema:()=>Wf,searchResultCatPropsSchema:()=>Kf,searchResultPropsAppSchema:()=>qf,searchResultPropsObjectSchema:()=>Yf,searchResultPropsSchema:()=>Xf,shareAccessPropsSchema:()=>nm,shareGeneralAccessRulesSchema:()=>em,shareOptionObjectSchema:()=>tm,socialActionSchema:()=>aa,socialActionSchema_deprecated:()=>oa,socialActionStructSchema_deprecated:()=>ia,socialEventCreationSchema:()=>El,socialEventUpdateSchema:()=>Tl,spotBannerImageSchema:()=>er,storeFinalizeSchema:()=>jh,storeItemSchema:()=>Dh,suffixIfDoesNotExist:()=>c,surveyDateResponsesSchema:()=>bc,surveyFieldBaseSchema:()=>Ba,surveyFieldBinaryDataSchema:()=>ma,surveyFieldBinarySchema:()=>Na,surveyFieldCheckDataSchema:()=>ya,surveyFieldCheckSchema:()=>za,surveyFieldFileUploadDataSchema:()=>Sa,surveyFieldFileUploadSchema:()=>Va,surveyFieldGridCheckDataSchema:()=>ka,surveyFieldGridCheckSchema:()=>Ya,surveyFieldGridRadioDataSchema:()=>Aa,surveyFieldGridRadioSchema:()=>qa,surveyFieldKeysSchema:()=>fa,surveyFieldOptionBaseSchema:()=>Ea,surveyFieldOptionCheckSchema:()=>Ta,surveyFieldOptionFileUploadSchema:()=>Ia,surveyFieldOptionGridCheckSchema:()=>Oa,surveyFieldOptionGridRadioSchema:()=>La,surveyFieldOptionRateSchema:()=>Da,surveyFieldOptionScaleSchema:()=>ja,surveyFieldOptionTextSchema:()=>Ra,surveyFieldOptionTextareaSchema:()=>Ma,surveyFieldRadioDataSchema:()=>va,surveyFieldRadioSchema:()=>$a,surveyFieldRateDataSchema:()=>ba,surveyFieldRateSchema:()=>Ha,surveyFieldScaleDataSchema:()=>xa,surveyFieldScaleSchema:()=>Ua,surveyFieldSelectDataSchema:()=>ga,surveyFieldSelectSchema:()=>Fa,surveyFieldTextDataSchema:()=>wa,surveyFieldTextSchema:()=>Wa,surveyFieldTextareaDataSchema:()=>Ca,surveyFieldTextareaSchema:()=>Ga,surveySectionSchema:()=>Qa,textEnhanceResponseSchema:()=>bf,tinyMCECommonOptionsSchema:()=>im,tinyMCEDynamicOptionsSchema:()=>rm,tinymceExtendedOptionsSchema:()=>om,tvChannelCreatePayloadSchema:()=>Mc,tvChannelCreationSchema:()=>Rc,tvChannelDynamicArticleSchema:()=>Lc,tvChannelDynamicCommentSchema:()=>Ic,tvChannelSlideshowFileSchema:()=>Bc,tvChannelTypeSchema:()=>xc,tvGetChannelResponseSchema:()=>Gc,tvGetConfigureDynamicChannelResponse:()=>Fc,tvGetConfigureSlideshowChannelResponse:()=>Hc,updateCommentParamsSchema:()=>Po,updateGroupSchema:()=>gr,updateReportStatusParamsSchema:()=>vs,uploadConfigSchema:()=>rn,userDefaultFieldsTypeSchema:()=>An,userDirectoryConfigurationSchema:()=>Rn,userDownloadSchema:()=>hn,userFieldSchema:()=>En,userFieldsConfigurationTypeSchema:()=>_n,userFieldsSchema:()=>Tn,userLevelSpotSchema:()=>rr,userMapModelSchema:()=>Cn,userReadSchema:()=>Bo,userResponseStatusSchema:()=>kp,userValuesSchema:()=>Dn,validateIsFormatFileLittle:()=>cn,validateIsFormatObjectList:()=>Rr,validateIsFormatObjectLittle:()=>Vt,validateIsFormatRights:()=>tn,validateIsFormatSocialEvent:()=>_l,validateIsFormatUserDirectoryConfiguration:()=>Mn,validateIsFormatUserLevelSpot:()=>Tr,validateIsFormatUserList:()=>bn,validateIsFormatUserMapModel:()=>Sn,validateIsFormatUserView:()=>wn,validateTemplateData:()=>km,valueLabelSchema:()=>cr,variantSizeTypeSchema:()=>Hr,variantTypeSchema:()=>Ur,videoRecordingSchema:()=>cm,visioConnectStatisticsRoomSchema:()=>dm,visioConnectStatisticsRoomSessionsSchema:()=>pm,visioConnectStatisticsSchema:()=>um,weDocTemplateSchema:()=>zp,wedocEmptyTypeSchema:()=>wm,wedocFileAudienceTypeSchema:()=>vm,wedocQueryResultsSchema:()=>bm,wedocQueryTypeSchema:()=>xm,wedocTemplateSchema:()=>ym,widgetActiveValueSchema:()=>zu,widgetArticleAttachmentContentSchema:()=>Jr,widgetArticleAttachmentTypeSchema:()=>Qr,widgetArticleButtonContentSchema:()=>ti,widgetArticleButtonTypeSchema:()=>ni,widgetArticleCheckListTypeForFrontSchema:()=>nd,widgetArticleGalleryContentSchema:()=>ri,widgetArticleGalleryTypeSchema:()=>ii,widgetArticleImageContentSchema:()=>oi,widgetArticleImageTypeSchema:()=>ai,widgetArticleSliderContentSchema:()=>li,widgetArticleSliderTypeSchema:()=>ci,widgetArticleTextContentSchema:()=>di,widgetArticleTextTypeSchema:()=>ui,widgetArticleTitleContentSchema:()=>hi,widgetArticleTitleTypeSchema:()=>pi,widgetAudienceSchema:()=>Hu,widgetBaseSchema:()=>Nr,widgetButtonPropsSchema:()=>ei,widgetCalendarCalDavContentSchema:()=>Qi,widgetCalendarCalDavTypeSchema:()=>Zi,widgetCheckListContentArrForFrontSchema:()=>ed,widgetCheckListContentArrSchema:()=>fi,widgetCheckListContentForFrontSchema:()=>td,widgetCheckListContentSchema:()=>mi,widgetCheckListTypeSchema:()=>gi,widgetCheckboxSchema:()=>rh,widgetColorSchema:()=>Ou,widgetContactCardDavContentSchema:()=>Xi,widgetContactCardDavTypeSchema:()=>Ki,widgetContentKeysSchema:()=>vo,widgetContextSchema:()=>ad,widgetDatasourceTableContentSchema:()=>ji,widgetDatasourceTableTypeSchema:()=>Ri,widgetDatePickerSchema:()=>Fu,widgetDatePickerValueSchema:()=>$u,widgetDateSchema:()=>Lu,widgetDateValueSchema:()=>Pu,widgetDatetimeSchema:()=>Bu,widgetDatetimeValueSchema:()=>Nu,widgetDefaultProps:()=>Kc,widgetDefinitionPropsSchema:()=>Vc,widgetDisplayModeSchema:()=>Xc,widgetEmailSchema:()=>Ju,widgetEmailValueSchema:()=>Qu,widgetEmailsImapContentSchema:()=>eo,widgetEmailsImapTypeSchema:()=>to,widgetEmbedSchema:()=>Yu,widgetExcelDatasourceTableContentSchema:()=>Mi,widgetExcelDatasourceTableTypeSchema:()=>Ii,widgetFileSchema:()=>Gu,widgetImageSchema:()=>Vu,widgetKeysSchema:()=>Pr,widgetLayerSchema:()=>Zc,widgetLegacyMixedBooleanSchema:()=>Oi,widgetLinkSchema:()=>Uu,widgetLuccaAbsenceContentSchema:()=>ro,widgetLuccaAbsenceTypeSchema:()=>io,widgetLuccaAbsenceUserSchema:()=>no,widgetModalPropsSchema:()=>rd,widgetMultiattributeSchema:()=>Wu,widgetNumberSchema:()=>Mu,widgetNumberValueSchema:()=>Iu,widgetOrientedlinksSchema:()=>sh,widgetPlaceSchema:()=>Ku,widgetPresenceContentSchema:()=>Li,widgetPresenceRespondPayloadSchema:()=>Fi,widgetPresenceResponseSchema:()=>zi,widgetPresenceTypeSchema:()=>Bi,widgetQuickSurveyContentSchema:()=>Gi,widgetQuickSurveyTypeSchema:()=>Vi,widgetRadioSchema:()=>nh,widgetRefUserSchema:()=>eh,widgetRtObjectSchema:()=>id,widgetSchema:()=>ch,widgetSelectSchema:()=>qu,widgetSlideSchema:()=>si,widgetStatePropsSchema:()=>yo,widgetStylesSchema:()=>od,widgetTableColumnDataSchema:()=>ki,widgetTableColumnSchema:()=>Ti,widgetTableColumnTypesSchema:()=>Ei,widgetTableColumnWidgetDateSchema:()=>Si,widgetTableColumnWidgetDefaulSchema:()=>bi,widgetTableColumnWidgetSelectOptionSchema:()=>wi,widgetTableColumnWidgetSelectSchema:()=>Ci,widgetTableColumnWidgetTextSchema:()=>xi,widgetTableColumnWidgetsSchema:()=>Ai,widgetTableColumnsData:()=>_i,widgetTableContentSchema:()=>Di,widgetTaxonomySchema:()=>ih,widgetTelSchema:()=>oh,widgetTextSchema:()=>Tu,widgetTextValueSchema:()=>Du,widgetTextareaSchema:()=>ju,widgetTextareaValueSchema:()=>Ru,widgetToggleSchema:()=>ah,widgetTransientSchema:()=>th,widgetTypeKeysSchema:()=>go,widgetUriSchema:()=>lh,widgetUrlSchema:()=>Zu,widgetUrlValueSchema:()=>Xu,widgetUserProfileContentSchema:()=>oo,widgetUserProfileTypeSchema:()=>ao,widgetVectorSchema:()=>Gr,widgetWrapperLevelSchema:()=>po,widgetWrapperPropsSchema:()=>fo,widgetsRootStateSchema:()=>ld,widgetsStateSchema:()=>sd,widgetsValueSchema:()=>dh,withExtensionsSchema:()=>Cm,zObject:()=>Ft,zPassThrough:()=>Ht,zPreprocess:()=>zt,zSchema:()=>$t});class r{jApi;network;constructor(e){this.jApi=e,this.network=e.network}}class i extends r{getPublishButtonConfiguration(e){return this.network.post({o:"adminAdvanced",f:"getPublishButtonConfiguration"},e)}setPublishButtonConfiguration(e){return this.network.postCSRF({o:"adminAdvanced",f:"setPublishButtonConfiguration",publishButtonConfiguration:e})}}const o=["de","en","es","fl","fr","it","nl","pl","pt","ro","tr"];function a(e){const t=e;return t&&"number"==typeof t.id&&"number"==typeof t.targetId}const s={bookmarkLink:a},l={isBookmarkLink:function(e){return"targetId"in e&&!!e.targetId},isBookmarkCustom:function(e){const t=e;return void 0!==t.bookmarkLabel||void 0!==t.bookmarkMeta||void 0!==t.bookmarkUrl},isBookmarkRawList:a,isTVChannelType:function(e,t){return"tvChannelType"in e&&e.tvChannelType===t},objectIsType:function(e,t){return null!=t&&s[e](t)},isStandardApiError:e=>"object"==typeof e&&null!==e&&"error"in e&&"errorMsg"in e&&"messages"in e&&"number"==typeof e.error&&"string"==typeof e.errorMsg&&Array.isArray(e.messages),isAbortApiError:e=>null!==e&&"object"==typeof e&&"error"in e&&"aborted"in e&&-1===e.error&&!0===e.aborted};function c(e,t){return e&&!e.endsWith(t)?`${e}${t}`:e}function d(e,t){return e&&e.startsWith(t)?e.split("").slice(t.length).join(""):e}function u(e){return e.toString().padStart(2,"0")}var h,p;!function(e){e.assertEqual=e=>{},e.assertIs=function(e){},e.assertNever=function(e){throw new Error},e.arrayToEnum=e=>{const t={};for(const n of e)t[n]=n;return t},e.getValidEnumValues=t=>{const n=e.objectKeys(t).filter(e=>"number"!=typeof t[t[e]]),r={};for(const e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{const t=[];for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(const n of e)if(t(n))return n},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&Number.isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(h||(h={})),function(e){e.mergeShapes=(e,t)=>({...e,...t})}(p||(p={}));const f=h.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),m=e=>{switch(typeof e){case"undefined":return f.undefined;case"string":return f.string;case"number":return Number.isNaN(e)?f.nan:f.number;case"boolean":return f.boolean;case"function":return f.function;case"bigint":return f.bigint;case"symbol":return f.symbol;case"object":return Array.isArray(e)?f.array:null===e?f.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?f.promise:"undefined"!=typeof Map&&e instanceof Map?f.map:"undefined"!=typeof Set&&e instanceof Set?f.set:"undefined"!=typeof Date&&e instanceof Date?f.date:f.object;default:return f.unknown}},g=h.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class v extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){const t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(const i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(r);else if("invalid_return_type"===i.code)r(i.returnTypeError);else if("invalid_arguments"===i.code)r(i.argumentsError);else if(0===i.path.length)n._errors.push(t(i));else{let e=n,r=0;for(;r<i.path.length;){const n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}static assert(e){if(!(e instanceof v))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,h.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){const t={},n=[];for(const r of this.issues)if(r.path.length>0){const n=r.path[0];t[n]=t[n]||[],t[n].push(e(r))}else n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}v.create=e=>new v(e);const y=(e,t)=>{let n;switch(e.code){case g.invalid_type:n=e.received===f.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case g.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,h.jsonStringifyReplacer)}`;break;case g.unrecognized_keys:n=`Unrecognized key(s) in object: ${h.joinValues(e.keys,", ")}`;break;case g.invalid_union:n="Invalid input";break;case g.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${h.joinValues(e.options)}`;break;case g.invalid_enum_value:n=`Invalid enum value. Expected ${h.joinValues(e.options)}, received '${e.received}'`;break;case g.invalid_arguments:n="Invalid function arguments";break;case g.invalid_return_type:n="Invalid function return type";break;case g.invalid_date:n="Invalid date";break;case g.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:h.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case g.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type||"bigint"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case g.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case g.custom:n="Invalid input";break;case g.invalid_intersection_types:n="Intersection results could not be merged";break;case g.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case g.not_finite:n="Number must be finite";break;default:n=t.defaultError,h.assertNever(e)}return{message:n}};let b=y;function x(){return b}var w;!function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:e?.message}(w||(w={}));const C=e=>{const{data:t,path:n,errorMaps:r,issueData:i}=e,o=[...n,...i.path||[]],a={...i,path:o};if(void 0!==i.message)return{...i,path:o,message:i.message};let s="";const l=r.filter(e=>!!e).slice().reverse();for(const e of l)s=e(a,{data:t,defaultError:s}).message;return{...i,path:o,message:s}};function S(e,t){const n=x(),r=C({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===y?void 0:y].filter(e=>!!e)});e.common.issues.push(r)}class A{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){const n=[];for(const r of t){if("aborted"===r.status)return k;"dirty"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){const n=[];for(const e of t){const t=await e.key,r=await e.value;n.push({key:t,value:r})}return A.mergeObjectSync(e,n)}static mergeObjectSync(e,t){const n={};for(const r of t){const{key:t,value:i}=r;if("aborted"===t.status)return k;if("aborted"===i.status)return k;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"===t.value||void 0===i.value&&!r.alwaysSet||(n[t.value]=i.value)}return{status:e.value,value:n}}}const k=Object.freeze({status:"aborted"}),_=e=>({status:"dirty",value:e}),E=e=>({status:"valid",value:e}),T=e=>"aborted"===e.status,D=e=>"dirty"===e.status,j=e=>"valid"===e.status,R=e=>"undefined"!=typeof Promise&&e instanceof Promise;class M{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const I=(e,t)=>{if(j(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new v(e.common.issues);return this._error=t,this._error}}};function O(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw new Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:i}:{errorMap:(t,i)=>{const{message:o}=e;return"invalid_enum_value"===t.code?{message:o??i.defaultError}:void 0===i.data?{message:o??r??i.defaultError}:"invalid_type"!==t.code?{message:i.defaultError}:{message:o??n??i.defaultError}},description:i}}class L{get description(){return this._def.description}_getType(e){return m(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:m(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new A,ctx:{common:e.parent.common,data:e.data,parsedType:m(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(R(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){const n={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:m(e)},r=this._parseSync({data:e,path:n.path,parent:n});return I(n,r)}"~validate"(e){const t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:m(e)};if(!this["~standard"].async)try{const n=this._parseSync({data:e,path:[],parent:t});return j(n)?{value:n.value}:{issues:t.common.issues}}catch(e){e?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(e=>j(e)?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){const n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){const n={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:m(e)},r=this._parse({data:e,path:n.path,parent:n}),i=await(R(r)?r:Promise.resolve(r));return I(n,i)}refine(e,t){const n=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,r)=>{const i=e(t),o=()=>r.addIssue({code:g.custom,...n(t)});return"undefined"!=typeof Promise&&i instanceof Promise?i.then(e=>!!e||(o(),!1)):!!i||(o(),!1)})}refinement(e,t){return this._refinement((n,r)=>!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),!1))}_refinement(e){return new Le({schema:this,typeName:Ge.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return Pe.create(this,this._def)}nullable(){return Be.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ye.create(this)}promise(){return Oe.create(this,this._def)}or(e){return we.create([this,e],this._def)}and(e){return Se.create(this,e,this._def)}transform(e){return new Le({...O(this._def),schema:this,typeName:Ge.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t="function"==typeof e?e:()=>e;return new Ne({...O(this._def),innerType:this,defaultValue:t,typeName:Ge.ZodDefault})}brand(){return new ze({typeName:Ge.ZodBranded,type:this,...O(this._def)})}catch(e){const t="function"==typeof e?e:()=>e;return new Fe({...O(this._def),innerType:this,catchValue:t,typeName:Ge.ZodCatch})}describe(e){return new(0,this.constructor)({...this._def,description:e})}pipe(e){return He.create(this,e)}readonly(){return Ue.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const P=/^c[^\s-]{8,}$/i,B=/^[0-9a-z]+$/,N=/^[0-9A-HJKMNP-TV-Z]{26}$/i,F=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,$=/^[a-z0-9_-]{21}$/i,z=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,H=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,U=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;let W;const G=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,V=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,q=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Y=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,J=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Q=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Z="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",X=new RegExp(`^${Z}$`);function K(e){let t="[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`),`([01]\\d|2[0-3]):[0-5]\\d(:${t})${e.precision?"+":"?"}`}function ee(e){return new RegExp(`^${K(e)}$`)}function te(e){let t=`${Z}T${K(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function ne(e,t){return!("v4"!==t&&t||!G.test(e))||!("v6"!==t&&t||!q.test(e))}function re(e,t){if(!z.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),i=JSON.parse(atob(r));return!("object"!=typeof i||null===i||"typ"in i&&"JWT"!==i?.typ||!i.alg||t&&i.alg!==t)}catch{return!1}}function ie(e,t){return!("v4"!==t&&t||!V.test(e))||!("v6"!==t&&t||!Y.test(e))}class oe extends L{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==f.string){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.string,received:t.parsedType}),k}const t=new A;let n;for(const r of this._def.checks)if("min"===r.kind)e.data.length<r.value&&(n=this._getOrReturnCtx(e,n),S(n,{code:g.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),t.dirty());else if("max"===r.kind)e.data.length>r.value&&(n=this._getOrReturnCtx(e,n),S(n,{code:g.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),t.dirty());else if("length"===r.kind){const i=e.data.length>r.value,o=e.data.length<r.value;(i||o)&&(n=this._getOrReturnCtx(e,n),i?S(n,{code:g.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}):o&&S(n,{code:g.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}),t.dirty())}else if("email"===r.kind)U.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"email",code:g.invalid_string,message:r.message}),t.dirty());else if("emoji"===r.kind)W||(W=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),W.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"emoji",code:g.invalid_string,message:r.message}),t.dirty());else if("uuid"===r.kind)F.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"uuid",code:g.invalid_string,message:r.message}),t.dirty());else if("nanoid"===r.kind)$.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"nanoid",code:g.invalid_string,message:r.message}),t.dirty());else if("cuid"===r.kind)P.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"cuid",code:g.invalid_string,message:r.message}),t.dirty());else if("cuid2"===r.kind)B.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"cuid2",code:g.invalid_string,message:r.message}),t.dirty());else if("ulid"===r.kind)N.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"ulid",code:g.invalid_string,message:r.message}),t.dirty());else if("url"===r.kind)try{new URL(e.data)}catch{n=this._getOrReturnCtx(e,n),S(n,{validation:"url",code:g.invalid_string,message:r.message}),t.dirty()}else"regex"===r.kind?(r.regex.lastIndex=0,r.regex.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"regex",code:g.invalid_string,message:r.message}),t.dirty())):"trim"===r.kind?e.data=e.data.trim():"includes"===r.kind?e.data.includes(r.value,r.position)||(n=this._getOrReturnCtx(e,n),S(n,{code:g.invalid_string,validation:{includes:r.value,position:r.position},message:r.message}),t.dirty()):"toLowerCase"===r.kind?e.data=e.data.toLowerCase():"toUpperCase"===r.kind?e.data=e.data.toUpperCase():"startsWith"===r.kind?e.data.startsWith(r.value)||(n=this._getOrReturnCtx(e,n),S(n,{code:g.invalid_string,validation:{startsWith:r.value},message:r.message}),t.dirty()):"endsWith"===r.kind?e.data.endsWith(r.value)||(n=this._getOrReturnCtx(e,n),S(n,{code:g.invalid_string,validation:{endsWith:r.value},message:r.message}),t.dirty()):"datetime"===r.kind?te(r).test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{code:g.invalid_string,validation:"datetime",message:r.message}),t.dirty()):"date"===r.kind?X.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{code:g.invalid_string,validation:"date",message:r.message}),t.dirty()):"time"===r.kind?ee(r).test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{code:g.invalid_string,validation:"time",message:r.message}),t.dirty()):"duration"===r.kind?H.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"duration",code:g.invalid_string,message:r.message}),t.dirty()):"ip"===r.kind?ne(e.data,r.version)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"ip",code:g.invalid_string,message:r.message}),t.dirty()):"jwt"===r.kind?re(e.data,r.alg)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"jwt",code:g.invalid_string,message:r.message}),t.dirty()):"cidr"===r.kind?ie(e.data,r.version)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"cidr",code:g.invalid_string,message:r.message}),t.dirty()):"base64"===r.kind?J.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"base64",code:g.invalid_string,message:r.message}),t.dirty()):"base64url"===r.kind?Q.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"base64url",code:g.invalid_string,message:r.message}),t.dirty()):h.assertNever(r);return{status:t.value,value:e.data}}_regex(e,t,n){return this.refinement(t=>e.test(t),{validation:t,code:g.invalid_string,...w.errToObj(n)})}_addCheck(e){return new oe({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...w.errToObj(e)})}url(e){return this._addCheck({kind:"url",...w.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...w.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...w.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...w.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...w.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...w.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...w.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...w.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...w.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...w.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...w.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...w.errToObj(e)})}datetime(e){return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===e?.precision?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...w.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===e?.precision?null:e?.precision,...w.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...w.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...w.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...w.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...w.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...w.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...w.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...w.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...w.errToObj(t)})}nonempty(e){return this.min(1,w.errToObj(e))}trim(){return new oe({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new oe({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new oe({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}function ae(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r;return Number.parseInt(e.toFixed(i).replace(".",""))%Number.parseInt(t.toFixed(i).replace(".",""))/10**i}oe.create=e=>new oe({checks:[],typeName:Ge.ZodString,coerce:e?.coerce??!1,...O(e)});class se extends L{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==f.number){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.number,received:t.parsedType}),k}let t;const n=new A;for(const r of this._def.checks)"int"===r.kind?h.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),S(t,{code:g.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),S(t,{code:g.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),S(t,{code:g.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"multipleOf"===r.kind?0!==ae(e.data,r.value)&&(t=this._getOrReturnCtx(e,t),S(t,{code:g.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),S(t,{code:g.not_finite,message:r.message}),n.dirty()):h.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,w.toString(t))}gt(e,t){return this.setLimit("min",e,!1,w.toString(t))}lte(e,t){return this.setLimit("max",e,!0,w.toString(t))}lt(e,t){return this.setLimit("max",e,!1,w.toString(t))}setLimit(e,t,n,r){return new se({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:w.toString(r)}]})}_addCheck(e){return new se({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:w.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:w.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:w.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:w.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:w.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:w.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:w.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:w.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:w.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&h.isInteger(e.value))}get isFinite(){let e=null,t=null;for(const n of this._def.checks){if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value)}return Number.isFinite(t)&&Number.isFinite(e)}}se.create=e=>new se({checks:[],typeName:Ge.ZodNumber,coerce:e?.coerce||!1,...O(e)});class le extends L{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==f.bigint)return this._getInvalidInput(e);let t;const n=new A;for(const r of this._def.checks)"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),S(t,{code:g.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),S(t,{code:g.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),S(t,{code:g.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):h.assertNever(r);return{status:n.value,value:e.data}}_getInvalidInput(e){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.bigint,received:t.parsedType}),k}gte(e,t){return this.setLimit("min",e,!0,w.toString(t))}gt(e,t){return this.setLimit("min",e,!1,w.toString(t))}lte(e,t){return this.setLimit("max",e,!0,w.toString(t))}lt(e,t){return this.setLimit("max",e,!1,w.toString(t))}setLimit(e,t,n,r){return new le({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:w.toString(r)}]})}_addCheck(e){return new le({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:w.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:w.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:w.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:w.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:w.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}le.create=e=>new le({checks:[],typeName:Ge.ZodBigInt,coerce:e?.coerce??!1,...O(e)});class ce extends L{_parse(e){if(this._def.coerce&&(e.data=Boolean(e.data)),this._getType(e)!==f.boolean){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.boolean,received:t.parsedType}),k}return E(e.data)}}ce.create=e=>new ce({typeName:Ge.ZodBoolean,coerce:e?.coerce||!1,...O(e)});class de extends L{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==f.date){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.date,received:t.parsedType}),k}if(Number.isNaN(e.data.getTime()))return S(this._getOrReturnCtx(e),{code:g.invalid_date}),k;const t=new A;let n;for(const r of this._def.checks)"min"===r.kind?e.data.getTime()<r.value&&(n=this._getOrReturnCtx(e,n),S(n,{code:g.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:"date"}),t.dirty()):"max"===r.kind?e.data.getTime()>r.value&&(n=this._getOrReturnCtx(e,n),S(n,{code:g.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),t.dirty()):h.assertNever(r);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(e){return new de({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:w.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:w.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}de.create=e=>new de({checks:[],coerce:e?.coerce||!1,typeName:Ge.ZodDate,...O(e)});class ue extends L{_parse(e){if(this._getType(e)!==f.symbol){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.symbol,received:t.parsedType}),k}return E(e.data)}}ue.create=e=>new ue({typeName:Ge.ZodSymbol,...O(e)});class he extends L{_parse(e){if(this._getType(e)!==f.undefined){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.undefined,received:t.parsedType}),k}return E(e.data)}}he.create=e=>new he({typeName:Ge.ZodUndefined,...O(e)});class pe extends L{_parse(e){if(this._getType(e)!==f.null){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.null,received:t.parsedType}),k}return E(e.data)}}pe.create=e=>new pe({typeName:Ge.ZodNull,...O(e)});class fe extends L{constructor(){super(...arguments),this._any=!0}_parse(e){return E(e.data)}}fe.create=e=>new fe({typeName:Ge.ZodAny,...O(e)});class me extends L{constructor(){super(...arguments),this._unknown=!0}_parse(e){return E(e.data)}}me.create=e=>new me({typeName:Ge.ZodUnknown,...O(e)});class ge extends L{_parse(e){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.never,received:t.parsedType}),k}}ge.create=e=>new ge({typeName:Ge.ZodNever,...O(e)});class ve extends L{_parse(e){if(this._getType(e)!==f.undefined){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.void,received:t.parsedType}),k}return E(e.data)}}ve.create=e=>new ve({typeName:Ge.ZodVoid,...O(e)});class ye extends L{_parse(e){const{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==f.array)return S(t,{code:g.invalid_type,expected:f.array,received:t.parsedType}),k;if(null!==r.exactLength){const e=t.data.length>r.exactLength.value,i=t.data.length<r.exactLength.value;(e||i)&&(S(t,{code:e?g.too_big:g.too_small,minimum:i?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}if(null!==r.minLength&&t.data.length<r.minLength.value&&(S(t,{code:g.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),n.dirty()),null!==r.maxLength&&t.data.length>r.maxLength.value&&(S(t,{code:g.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>r.type._parseAsync(new M(t,e,t.path,n)))).then(e=>A.mergeArray(n,e));const i=[...t.data].map((e,n)=>r.type._parseSync(new M(t,e,t.path,n)));return A.mergeArray(n,i)}get element(){return this._def.type}min(e,t){return new ye({...this._def,minLength:{value:e,message:w.toString(t)}})}max(e,t){return new ye({...this._def,maxLength:{value:e,message:w.toString(t)}})}length(e,t){return new ye({...this._def,exactLength:{value:e,message:w.toString(t)}})}nonempty(e){return this.min(1,e)}}function be(e){if(e instanceof xe){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Pe.create(be(r))}return new xe({...e._def,shape:()=>t})}return e instanceof ye?new ye({...e._def,type:be(e.element)}):e instanceof Pe?Pe.create(be(e.unwrap())):e instanceof Be?Be.create(be(e.unwrap())):e instanceof Ae?Ae.create(e.items.map(e=>be(e))):e}ye.create=(e,t)=>new ye({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Ge.ZodArray,...O(t)});class xe extends L{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;const e=this._def.shape(),t=h.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==f.object){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.object,received:t.parsedType}),k}const{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),o=[];if(!(this._def.catchall instanceof ge&&"strip"===this._def.unknownKeys))for(const e in n.data)i.includes(e)||o.push(e);const a=[];for(const e of i){const t=r[e],i=n.data[e];a.push({key:{status:"valid",value:e},value:t._parse(new M(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof ge){const e=this._def.unknownKeys;if("passthrough"===e)for(const e of o)a.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)o.length>0&&(S(n,{code:g.unrecognized_keys,keys:o}),t.dirty());else if("strip"!==e)throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const e=this._def.catchall;for(const t of o){const r=n.data[t];a.push({key:{status:"valid",value:t},value:e._parse(new M(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{const e=[];for(const t of a){const n=await t.key,r=await t.value;e.push({key:n,value:r,alwaysSet:t.alwaysSet})}return e}).then(e=>A.mergeObjectSync(t,e)):A.mergeObjectSync(t,a)}get shape(){return this._def.shape()}strict(e){return w.errToObj,new xe({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{const r=this._def.errorMap?.(t,n).message??n.defaultError;return"unrecognized_keys"===t.code?{message:w.errToObj(e).message??r}:{message:r}}}:{}})}strip(){return new xe({...this._def,unknownKeys:"strip"})}passthrough(){return new xe({...this._def,unknownKeys:"passthrough"})}extend(e){return new xe({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new xe({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:Ge.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new xe({...this._def,catchall:e})}pick(e){const t={};for(const n of h.objectKeys(e))e[n]&&this.shape[n]&&(t[n]=this.shape[n]);return new xe({...this._def,shape:()=>t})}omit(e){const t={};for(const n of h.objectKeys(this.shape))e[n]||(t[n]=this.shape[n]);return new xe({...this._def,shape:()=>t})}deepPartial(){return be(this)}partial(e){const t={};for(const n of h.objectKeys(this.shape)){const r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}return new xe({...this._def,shape:()=>t})}required(e){const t={};for(const n of h.objectKeys(this.shape))if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof Pe;)e=e._def.innerType;t[n]=e}return new xe({...this._def,shape:()=>t})}keyof(){return Re(h.objectKeys(this.shape))}}xe.create=(e,t)=>new xe({shape:()=>e,unknownKeys:"strip",catchall:ge.create(),typeName:Ge.ZodObject,...O(t)}),xe.strictCreate=(e,t)=>new xe({shape:()=>e,unknownKeys:"strict",catchall:ge.create(),typeName:Ge.ZodObject,...O(t)}),xe.lazycreate=(e,t)=>new xe({shape:e,unknownKeys:"strip",catchall:ge.create(),typeName:Ge.ZodObject,...O(t)});class we extends L{_parse(e){const{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map(async e=>{const n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(function(e){for(const t of e)if("valid"===t.result.status)return t.result;for(const n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;const n=e.map(e=>new v(e.ctx.common.issues));return S(t,{code:g.invalid_union,unionErrors:n}),k});{let e;const r=[];for(const i of n){const n={...t,common:{...t.common,issues:[]},parent:null},o=i._parseSync({data:t.data,path:t.path,parent:n});if("valid"===o.status)return o;"dirty"!==o.status||e||(e={result:o,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;const i=r.map(e=>new v(e));return S(t,{code:g.invalid_union,unionErrors:i}),k}}get options(){return this._def.options}}function Ce(e,t){const n=m(e),r=m(t);if(e===t)return{valid:!0,data:e};if(n===f.object&&r===f.object){const n=h.objectKeys(t),r=h.objectKeys(e).filter(e=>-1!==n.indexOf(e)),i={...e,...t};for(const n of r){const r=Ce(e[n],t[n]);if(!r.valid)return{valid:!1};i[n]=r.data}return{valid:!0,data:i}}if(n===f.array&&r===f.array){if(e.length!==t.length)return{valid:!1};const n=[];for(let r=0;r<e.length;r++){const i=Ce(e[r],t[r]);if(!i.valid)return{valid:!1};n.push(i.data)}return{valid:!0,data:n}}return n===f.date&&r===f.date&&+e===+t?{valid:!0,data:e}:{valid:!1}}we.create=(e,t)=>new we({options:e,typeName:Ge.ZodUnion,...O(t)});class Se extends L{_parse(e){const{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(T(e)||T(r))return k;const i=Ce(e.value,r.value);return i.valid?((D(e)||D(r))&&t.dirty(),{status:t.value,value:i.data}):(S(n,{code:g.invalid_intersection_types}),k)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>r(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}Se.create=(e,t,n)=>new Se({left:e,right:t,typeName:Ge.ZodIntersection,...O(n)});class Ae extends L{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==f.array)return S(n,{code:g.invalid_type,expected:f.array,received:n.parsedType}),k;if(n.data.length<this._def.items.length)return S(n,{code:g.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),k;!this._def.rest&&n.data.length>this._def.items.length&&(S(n,{code:g.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const r=[...n.data].map((e,t)=>{const r=this._def.items[t]||this._def.rest;return r?r._parse(new M(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>A.mergeArray(t,e)):A.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new Ae({...this._def,rest:e})}}Ae.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Ae({items:e,typeName:Ge.ZodTuple,rest:null,...O(t)})};class ke extends L{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==f.object)return S(n,{code:g.invalid_type,expected:f.object,received:n.parsedType}),k;const r=[],i=this._def.keyType,o=this._def.valueType;for(const e in n.data)r.push({key:i._parse(new M(n,e,n.path,e)),value:o._parse(new M(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?A.mergeObjectAsync(t,r):A.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return new ke(t instanceof L?{keyType:e,valueType:t,typeName:Ge.ZodRecord,...O(n)}:{keyType:oe.create(),valueType:e,typeName:Ge.ZodRecord,...O(t)})}}class _e extends L{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==f.map)return S(n,{code:g.invalid_type,expected:f.map,received:n.parsedType}),k;const r=this._def.keyType,i=this._def.valueType,o=[...n.data.entries()].map(([e,t],o)=>({key:r._parse(new M(n,e,n.path,[o,"key"])),value:i._parse(new M(n,t,n.path,[o,"value"]))}));if(n.common.async){const e=new Map;return Promise.resolve().then(async()=>{for(const n of o){const r=await n.key,i=await n.value;if("aborted"===r.status||"aborted"===i.status)return k;"dirty"!==r.status&&"dirty"!==i.status||t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}})}{const e=new Map;for(const n of o){const r=n.key,i=n.value;if("aborted"===r.status||"aborted"===i.status)return k;"dirty"!==r.status&&"dirty"!==i.status||t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}}_e.create=(e,t,n)=>new _e({valueType:t,keyType:e,typeName:Ge.ZodMap,...O(n)});class Ee extends L{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==f.set)return S(n,{code:g.invalid_type,expected:f.set,received:n.parsedType}),k;const r=this._def;null!==r.minSize&&n.data.size<r.minSize.value&&(S(n,{code:g.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),null!==r.maxSize&&n.data.size>r.maxSize.value&&(S(n,{code:g.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());const i=this._def.valueType;function o(e){const n=new Set;for(const r of e){if("aborted"===r.status)return k;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}const a=[...n.data.values()].map((e,t)=>i._parse(new M(n,e,n.path,t)));return n.common.async?Promise.all(a).then(e=>o(e)):o(a)}min(e,t){return new Ee({...this._def,minSize:{value:e,message:w.toString(t)}})}max(e,t){return new Ee({...this._def,maxSize:{value:e,message:w.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}Ee.create=(e,t)=>new Ee({valueType:e,minSize:null,maxSize:null,typeName:Ge.ZodSet,...O(t)});class Te extends L{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==f.function)return S(t,{code:g.invalid_type,expected:f.function,received:t.parsedType}),k;function n(e,n){return C({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,x(),y].filter(e=>!!e),issueData:{code:g.invalid_arguments,argumentsError:n}})}function r(e,n){return C({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,x(),y].filter(e=>!!e),issueData:{code:g.invalid_return_type,returnTypeError:n}})}const i={errorMap:t.common.contextualErrorMap},o=t.data;if(this._def.returns instanceof Oe){const e=this;return E(async function(...t){const a=new v([]),s=await e._def.args.parseAsync(t,i).catch(e=>{throw a.addIssue(n(t,e)),a}),l=await Reflect.apply(o,this,s);return await e._def.returns._def.type.parseAsync(l,i).catch(e=>{throw a.addIssue(r(l,e)),a})})}{const e=this;return E(function(...t){const a=e._def.args.safeParse(t,i);if(!a.success)throw new v([n(t,a.error)]);const s=Reflect.apply(o,this,a.data),l=e._def.returns.safeParse(s,i);if(!l.success)throw new v([r(s,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new Te({...this._def,args:Ae.create(e).rest(me.create())})}returns(e){return new Te({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new Te({args:e||Ae.create([]).rest(me.create()),returns:t||me.create(),typeName:Ge.ZodFunction,...O(n)})}}class De extends L{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}De.create=(e,t)=>new De({getter:e,typeName:Ge.ZodLazy,...O(t)});class je extends L{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return S(t,{received:t.data,code:g.invalid_literal,expected:this._def.value}),k}return{status:"valid",value:e.data}}get value(){return this._def.value}}function Re(e,t){return new Me({values:e,typeName:Ge.ZodEnum,...O(t)})}je.create=(e,t)=>new je({value:e,typeName:Ge.ZodLiteral,...O(t)});class Me extends L{_parse(e){if("string"!=typeof e.data){const t=this._getOrReturnCtx(e),n=this._def.values;return S(t,{expected:h.joinValues(n),received:t.parsedType,code:g.invalid_type}),k}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){const t=this._getOrReturnCtx(e),n=this._def.values;return S(t,{received:t.data,code:g.invalid_enum_value,options:n}),k}return E(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return Me.create(e,{...this._def,...t})}exclude(e,t=this._def){return Me.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}Me.create=Re;class Ie extends L{_parse(e){const t=h.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==f.string&&n.parsedType!==f.number){const e=h.objectValues(t);return S(n,{expected:h.joinValues(e),received:n.parsedType,code:g.invalid_type}),k}if(this._cache||(this._cache=new Set(h.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){const e=h.objectValues(t);return S(n,{received:n.data,code:g.invalid_enum_value,options:e}),k}return E(e.data)}get enum(){return this._def.values}}Ie.create=(e,t)=>new Ie({values:e,typeName:Ge.ZodNativeEnum,...O(t)});class Oe extends L{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==f.promise&&!1===t.common.async)return S(t,{code:g.invalid_type,expected:f.promise,received:t.parsedType}),k;const n=t.parsedType===f.promise?t.data:Promise.resolve(t.data);return E(n.then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}Oe.create=(e,t)=>new Oe({type:e,typeName:Ge.ZodPromise,...O(t)});class Le extends L{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ge.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:e=>{S(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===r.type){const e=r.transform(n.data,i);if(n.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return k;const r=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return"aborted"===r.status?k:"dirty"===r.status||"dirty"===t.value?_(r.value):r});{if("aborted"===t.value)return k;const r=this._def.schema._parseSync({data:e,path:n.path,parent:n});return"aborted"===r.status?k:"dirty"===r.status||"dirty"===t.value?_(r.value):r}}if("refinement"===r.type){const e=e=>{const t=r.refinement(e,i);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1===n.common.async){const r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?k:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?k:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))))}if("transform"===r.type){if(!1===n.common.async){const e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!j(e))return k;const o=r.transform(e.value,i);if(o instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:o}}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>j(e)?Promise.resolve(r.transform(e.value,i)).then(e=>({status:t.value,value:e})):k)}h.assertNever(r)}}Le.create=(e,t,n)=>new Le({schema:e,typeName:Ge.ZodEffects,effect:t,...O(n)}),Le.createWithPreprocess=(e,t,n)=>new Le({schema:t,effect:{type:"preprocess",transform:e},typeName:Ge.ZodEffects,...O(n)});class Pe extends L{_parse(e){return this._getType(e)===f.undefined?E(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Pe.create=(e,t)=>new Pe({innerType:e,typeName:Ge.ZodOptional,...O(t)});class Be extends L{_parse(e){return this._getType(e)===f.null?E(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Be.create=(e,t)=>new Be({innerType:e,typeName:Ge.ZodNullable,...O(t)});class Ne extends L{_parse(e){const{ctx:t}=this._processInputParams(e);let n=t.data;return t.parsedType===f.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}Ne.create=(e,t)=>new Ne({innerType:e,typeName:Ge.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...O(t)});class Fe extends L{_parse(e){const{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return R(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new v(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new v(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}Fe.create=(e,t)=>new Fe({innerType:e,typeName:Ge.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...O(t)});class $e extends L{_parse(e){if(this._getType(e)!==f.nan){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.nan,received:t.parsedType}),k}return{status:"valid",value:e.data}}}$e.create=e=>new $e({typeName:Ge.ZodNaN,...O(e)}),Symbol("zod_brand");class ze extends L{_parse(e){const{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class He extends L{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{const e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?k:"dirty"===e.status?(t.dirty(),_(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{const e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?k:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new He({in:e,out:t,typeName:Ge.ZodPipeline})}}class Ue extends L{_parse(e){const t=this._def.innerType._parse(e),n=e=>(j(e)&&(e.value=Object.freeze(e.value)),e);return R(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}}function We(e,t){const n="function"==typeof e?e(t):"string"==typeof e?{message:e}:e;return"string"==typeof n?{message:n}:n}var Ge;Ue.create=(e,t)=>new Ue({innerType:e,typeName:Ge.ZodReadonly,...O(t)}),xe.lazycreate,function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(Ge||(Ge={}));const Ve=oe.create,qe=se.create,Ye=($e.create,le.create,ce.create),Je=(de.create,ue.create,he.create),Qe=pe.create,Ze=fe.create,Xe=me.create,Ke=ge.create,et=ve.create,tt=ye.create,nt=xe.create,rt=(xe.strictCreate,we.create),it=(Se.create,Ae.create),ot=ke.create,at=(_e.create,Ee.create,Te.create),st=(De.create,je.create),lt=Me.create,ct=Ie.create,dt=(Oe.create,Le.create,Pe.create),ut=(Be.create,Le.createWithPreprocess),ht=(He.create,nt({type:Ve(),recordId:rt([Ve().regex(new RegExp("[0-9]+")),qe()])})),pt=(e,t)=>(t?ht.passthrough():ht).safeParse(e).success,ft=nt({uri:Ve().regex(new RegExp("[a-zA-Z]+/[0-9]+"))}),mt=(e,t)=>(t?ft.passthrough():ft).safeParse(e).success;function gt(e){if(mt(e,!0))return e.uri;if(pt(e,!0))return`${e.type}/${e.recordId}`;throw new Error("Invalid uri or typeId "+("uri"in e?e.uri:"type"in e&&"recordId"in e?e.type+"/"+e.recordId:"undefined"))}function vt(e){return d(c(e.from,"/"),"/")||""}function yt(e){return e.timestamp?`?_=${e.timestamp}`:""}function bt(e){const t=[];return"timestamp"in e&&e.timestamp&&t.push(`_=${e.timestamp}`),"iconColor"in e&&e.iconColor&&t.push(`color=${e.iconColor}`),t.length?"?"+t.join("&"):""}function xt(e,t=2){return"size"in e&&e.size?e.size:"width"in e&&"number"==typeof e.width&&"height"in e&&"number"==typeof e.height?`${e.width*t}x${e.height*t}`:""}function wt(e){return e.format||"png"}function Ct(e){try{return new URL(e)}catch(e){}try{return new URL(window.location.origin+"/"+d(e,"/"))}catch(e){}}function St(e,t=2){if("url"in e&&e.url){const t=Ct(e.url);if(t)return"timestamp"in e&&e.timestamp&&!t.searchParams.has("_")&&t.searchParams.append("_",e.timestamp.toString()),t.toString()}try{const n=0===e.uri?.indexOf("icons/")?e.uri:"icons"===e.type?e.type+"/"+e.recordId:gt(e);return`/${vt(e)}${xt(e,t)}/${n}.${wt(e)}${bt(e)}`}catch(e){return""}}ht.partial().or(ft.partial());const At=["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pdf","application/zip","application/illustrator","application/postscript","application/vnd.ms-opentype","application/x-font-ttf","application/octet-stream","audio/mp3","audio/mpeg","font/ttf","font/otf","image/jpeg","image/jpg","image/png","image/gif","image/vnd.adobe.photoshop","image/svg+xml","text/plain","text/csv","video/mp4","video/webm"],kt=["docx","xlsx","csv","pptx","pdf","zip","ai","mp3","mpeg","ttf","otf","jpg","jpeg","png","gif","psd","svg","txt","mp4","odt","webm"],_t={"application/vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","application/vnd.openxmlformats-officedocument.presentationml.presentation":"pptx","application/vnd.oasis.opendocument.text":"odt","application/pdf":"pdf","application/zip":"zip","application/x-zip-compressed":"zip","application/illustrator":"ai","application/postscript":"ai","audio/mp3":"mp3","audio/mpeg":"mpeg","font/ttf":"ttf","font/otf":"otf","image/jpeg":"jpeg","image/jpg":"jpg","image/png":"png","image/gif":"gif","application/x-font-ttf":"ttf","application/vnd.ms-opentype":"otf","image/vnd.adobe.photoshop":"psd","image/svg+xml":"svg","text/plain":"txt","text/csv":"xlsx","video/mp4":"mp4","video/webm":"mp4"},Et=e=>Object.keys(_t).find(t=>_t[t]===e),Tt=e=>_t[e]??void 0;function Dt(e){const t=String(e).split(".").pop();return kt.find(e=>e===t)}const jt=e=>{const t=Dt(e);return Et(t)??"application/octet-stream"},Rt=e=>e?(new Date(e).getTime()/1e3).toFixed(0):void 0,Mt=(e,t="fitx80")=>{const n=Nt(e),r=Rt(e.dateModified);switch(n){default:return;case"video":return`/media/${e.id}.mp4?stream=true`+(r?`&_=${r}`:"");case"audio":return`/media/${e.id}.mp3`+(r?`?_=${r}`:"");case"gif":return St({timestamp:r,size:t,from:"imagecache",uri:e.uri,format:"gif"});case"image":return St({timestamp:r,size:t,from:"imagecache",uri:e.uri})}},It=e=>{const t=Dt(e);return void 0!==t?Lt(Et(t)):"application"},Ot=e=>-1!==["image/vnd","image/svg","image/heic"].findIndex(t=>e.startsWith(t));function Lt(e){return e&&e.startsWith("folder/")?"folder":null==e||Ot(e)?"application":e.startsWith("image/gif")?"gif":e.startsWith("image/")?"image":e.startsWith("video/")?"video":e.startsWith("audio/")?"audio":e.startsWith("font/")||e.startsWith("application/x-font-ttf")||e.startsWith("application/vnd.ms-opentype")?"font":e.startsWith("text/")?"text":"application"}const Pt=(e,t,n="rr")=>"ng"===n?`/ng/file/${e}/${t}`:`/ng/rr/file/${e}/${t}`,Bt=e=>void 0===e.mimetype||"application/octet-stream"===e.mimetype?jt(e.title):e.mimetype,Nt=e=>void 0===e.mimetype||"application/octet-stream"===e.mimetype?It(e.title):Lt(e.mimetype),Ft=e=>nt(e),$t=e=>e,zt=(e,t)=>ut(t=>e(t),t),Ht=e=>e.and(nt({}).passthrough()),Ut=Ft({id:qe(),mainType:Ve(),type:Ve(),uri:Ve(),dateCreation:Ve().optional(),dateModified:Ve().nullable().optional()}),Wt=Ut.extend({title:Ve(),_url:Ve()}),Gt=$t(Wt),Vt=e=>Gt.safeParse(e).success,qt=nt({id:Ve(),uri:Ve(),shortUri:Ve(),title:Ve(),name:Ve(),mainType:Ve(),type:Ve(),label:Ve(),cssClass:Ve(),cssColor:Ve(),class:Ve()}),Yt=qt.extend({title:Ve()}),Jt=Yt.extend({Pseudo:Ve(),_url:Ve()}),Qt=Yt.extend({idspot:Ve()}),Zt=rt([Yt,Jt,Qt]),Xt=Gt.extend({isTechnical:qe(),status:qe(),image:Ve(),isMember:Ye(),stats:nt({moderators:qe(),members:Ve()}),_members:tt(Gt)}),Kt=qt.pick({uri:!0,title:!0}),en=Ft({create:Ye(),read:Ye(),publish:Ye(),administrate:Ye(),update:Ye(),delete:Ye(),comment:Ye(),member:Ye()}),tn=e=>en.safeParse(e).success,nn=rt([st("de"),st("en"),st("es"),st("fl"),st("fr"),st("it"),st("nl"),st("pl"),st("pt"),st("ro"),st("tr")]),rn=nt({attrName:Ve(),token:Ve(),file:((e,t={message:`Input not instance of ${e.name}`})=>function(e,t={},n){return e?fe.create().superRefine((r,i)=>{const o=e(r);if(o instanceof Promise)return o.then(e=>{if(!e){const e=We(t,r),o=e.fatal??n??!0;i.addIssue({code:"custom",...e,fatal:o})}});if(!o){const e=We(t,r),o=e.fatal??n??!0;i.addIssue({code:"custom",...e,fatal:o})}}):fe.create()}(t=>t instanceof e,t))(File).nullable().optional(),url:Ve().optional()}),on=nt({width:qe(),height:qe()}),an=nt({type:Ve(),id:qe(),timestamp:Ve(),imagesize:dt(on)}),sn=nt({x:qe(),y:qe(),w:qe(),h:qe(),rotation:qe(),killSize:Ye().optional()}),ln=Gt.extend({dateCreation:Ve(),dateModified:Ve().nullable(),mimetype:Ve(),path:Ve().optional(),size:qe()}),cn=e=>ln.parse(e),dn=ln.extend({_extend:nt({crop:sn})}),un=nt({name:Ve(),filename:Ve(),dateModified:Ve(),mimetype:Ve()}),hn=nt({idUser:Ve(),dateDownload:Ve(),Pseudo:Ve(),type:Ve()}),pn=(nt({id:qe(),token:Ve().optional(),attrName:Ve()}),{ADMIN:9,USER:5,EXTERNAL:3,GUEST:0}),fn={EXTRABOT:"extraBot"},mn=Gt.extend({level:ct(pn),variant:ct(fn).optional(),dateCreation:Ve(),dateModified:Ve()}),gn=$t(mn),vn=gn.extend({active:qe()}),yn=$t(vn),bn=e=>yn.safeParse(e).success,xn=yn,wn=e=>xn.safeParse(e).success,Cn=nt({idInType:qe(),lat:qe(),lng:qe()}),Sn=e=>Cn.safeParse(e).success,An=nt({title:Ve(),firstname:Ve(),lastname:Ve(),mail:rt([Ve(),Je()]).optional(),description:Ve().optional(),dateOfBirth:Ve().optional(),phoneNumber:Ve().optional(),language:nn.optional(),timeZone:Ve().optional(),mobileNumber:Ve().optional(),company:Ve().optional(),country:Ve().optional(),department:Ve().optional(),function:Ve().optional(),webSite:Ve().optional(),image:rt([Ve(),Je()]).optional(),userBanner:rt([Ve(),Je()]).optional(),field1:Ve().optional(),field2:Ve().optional(),field3:Ve().optional(),field4:Ve().optional(),field5:Ve().optional()}),kn=An.required().extend({level:Ve(),image:Ve().optional(),businessManagementManager:gn.array().optional(),businessNetworkingUserToCompanySrc:gn.array().optional()}),_n=nt({user_field_edit_profil:ot(An.keyof(),qe()),user_field_editable:ot(An.keyof(),qe()),user_field_my_page:ot(An.keyof(),qe()),user_page_mandatory_fields:nt({firstname:lt(["0","1"]),lastname:lt(["0","1"]),pseudo:lt(["0","1"])})}),En=nt({name:Ve(),value:rt([Ve(),ot(Ve(),Ze())])}),Tn=lt(["popover"]),Dn=nt({values:kn,mobileEditableFields:kn.keyof().array()}),jn=nt({mail:rt([Ve(),Je()]),title:Ve(),firstname:Ve(),lastname:Ve(),phoneNumber:rt([Ve(),Je()]).optional(),company:rt([Ve(),Je()]).optional(),function:rt([Ve(),Je()]).optional(),uri:rt([Ve(),Je()]).optional(),field1:rt([Ve(),Je()]).optional(),field2:rt([Ve(),Je()]).optional(),field3:rt([Ve(),Je()]).optional(),field4:rt([Ve(),Je()]).optional(),field5:rt([Ve(),Je()]).optional()}),Rn=nt({userDirectoryShow:rt([st(""),st("1")]),contactDirectoryShow:rt([st("0"),st("1")]),businessContactShow:Ye(),menu:rt([st("0"),st("1")]),cardFields:Ve().array(),tableFields:Ve().array(),viewFields:Ve().array(),userGeoloc:Ye().optional(),sort:Ve(),cnt:qe().optional(),filters:nt({name:Ve(),type:Ve()}).array()}),Mn=e=>Rn.safeParse(e).success,In=-1,On=0,Ln=5,Pn=1,Bn=2,Nn=10,Fn=nt({default:nt({mailEnabled:Ye(),mailFrequency:rt([st(On),st(Pn),st(Ln),st(Bn),st(Nn)]),mailGroupFrequency:qe(),wantMailSpotit:Ye(),wantMailComment:Ye(),wantMailSubscriber:Ye(),wantActivitySpotit:Ye(),wantActivityComment:Ye()}),userSpotConfigurations:tt(nt({spotUri:Ve(),spotTitle:Ve(),mailLocked:Ye(),wantMailSpotit:Ye(),wantMailComment:Ye(),wantMailSubscriber:Ye(),mailFrequency:rt([st(In),st(On),st(Pn),st(Bn),st(Nn)]),wantActivitySpotit:Ye(),wantActivityComment:Ye()})),userNetworkConfigurations:tt(nt({networkUri:Ve(),networkTitle:Ve(),wantMail:Ye(),wantActivity:Ye()}))}),$n=nt({href:Ve(),target:Ve()}),zn=nt({name:Ve(),sort:rt([st("ASC"),st("DESC")])}),Hn=rt([Ye(),Ve(),qe(),tt(Ve()),nt({srcId:rt([qe(),Ve()]),srcType:Ve()}),nt({targetId:rt([qe(),Ve()]),targetType:Ve()}),nt({start:Ve(),end:Ve()})]),Un=rt([st("="),st("<"),st(">"),st("<="),st(">="),st("!="),st("<>"),st("like"),st("between"),st("is"),st("is not"),st("in"),st("not in"),st("json_contains"),st("link"),st("match")]),Wn=rt([st("="),st("<"),st(">"),st("<="),st(">="),st("!="),st("<>"),st("+"),st("-"),st("like"),st("between"),st("is"),st("is not"),st("in"),st("json_contains"),st("link"),st("match")]),Gn=nt({name:Ve(),value:Hn,operator:Un.optional(),method:Wn.optional(),or:Ye().optional(),isNull:Ye().optional(),isNotNull:Ye().optional()}),Vn=zn.array(),qn=tt(Gn),Yn=e=>e.and(nt({token:Ve().or(Je()).optional()}));var Jn;!function(e){e.LITTLE="raw-little",e.LIST="raw-list",e.VIEW="raw-view"}(Jn||(Jn={}));const Qn=ct(Jn).transform(e=>`${e}`),Zn=rt([Qn,Je()]),Xn=nt({additionalFilter:nt({}).optional(),facets:tt(nt({})).optional(),filters:qn.optional(),query:Ve().optional(),limit:qe().optional(),page:qe().optional(),orders:Vn.optional(),format:Zn.optional()}),Kn=nt({type:Ve(),title:Ve(),description:Ve(),privacy:rt([Ve(),qe()]),edito:Ve().nullable(),language:Ve(),category:Ve(),idCommunity:Ve().optional(),widgets:tt(Ve()).optional()}),er=nt({id:Ve(),name:Ve(),size:Ve()}),tr=rt([st(0),st(1),st(2),st(3)]),nr=nt({level:tr,user:gn}),rr=nt({RF_Constant_levelName:Ve(),RF_delete:Ye(),RF_editing:Ye(),RF_level:qe(),RF_levelName:Ve(),RF_levelName_Trad:Ve(),RF_parameters:Ye(),RF_setAdmin:Ye(),RF_spotit:Ye(),RF_spotit_own:Ye()});var ir;!function(e){e[e.SPOT_MODERATE_IGNORE=0]="SPOT_MODERATE_IGNORE",e[e.SPOT_MODERATE_ACCEPT=1]="SPOT_MODERATE_ACCEPT",e[e.SPOT_MODERATE_PENDING=2]="SPOT_MODERATE_PENDING"}(ir||(ir={}));const or=ct(ir);var ar;!function(e){e[e.SPOT_PRIVATE=0]="SPOT_PRIVATE",e[e.SPOT_PUBLIC=1]="SPOT_PUBLIC",e[e.SPOT_MODERATE=2]="SPOT_MODERATE"}(ar||(ar={}));const sr=ct(ar),lr=nt({userLevelSpot:rr,spotMinLevelToInvit:qe(),userRights:en,accessRequestStatus:or.optional(),groupPrivacy:sr}),cr=nt({value:rt([Ve(),qe()]),label:Ve()}),dr=nt({id:Ve(),title:Ve(),enabled:Ye().optional()}),ur=nt({idSpot:Ve(),idOrder:Ve(),idWidget:Ve(),type:Ve(),title:Ve(),url:Ve(),visible:Ve()}),hr=nt({edit_access:tt(cr.extend({description:Ve()})),commentLevel:tt(cr.extend({selected:Ye().optional()})),displayType:tt(cr),user_level_signup:tt(cr.extend({selected:Ye().optional()})),spot_right_user:tt(cr.extend({selected:Ye().optional()})),useTeaser:tt(cr),spotDefaultPublishType:tt(Ve()),mail_frequency:tt(cr),widgets:tt(dr),custom_widgets:ot(ur).or(tt(Ke())),isArchive:qe(),fileSyncVersioningType:tt(cr)}),pr=nt({url:Ve(),idUser:qe(),send:Ye().optional(),_user:gn.optional(),date:Ve().optional(),error:Ve().optional()}),fr=nt({edit_access:rt([st(""),st("author")]),commentLevel:rt([st("-1"),st("1"),st("2"),st("3")]),user_level_signup:rt([st(""),st("1"),st("2"),st("3")]),nounsubscribe:rt([st("0"),st("1")]),useTeaser:rt([st(""),st("0"),st("1")]).nullable(),displayType:Ve(),spot_right_user:Ve(),rss_feed:tt(pr).nullable(),spotDefaultPublishType:Ve(),mail_frequency:Ve(),mail_comment:rt([st("1"),st("")]),mail_spotit:rt([st("1"),st("")]),mail_subscriber:rt([st("1"),st("")]),lock_mail:rt([st("1"),st("")]),activity:rt([st("1"),st("0")]),publishFolder:rt([st("1"),st("0")]),notifyFolder:rt([st("1"),st("0")]),widgets:tt(Ve()),rss_access:rt([st("1"),st("0")]),rss_key:Ve(),fileSyncEnabled:rt([st("1"),st("0")]),fileBankQuota:Ve(),fileSyncVersioningType:rt([st("overwrite"),st("author-change")]),_options:hr,_errors:it([]),lastRssExecution:ot(Ve()).optional()}),mr=tt(dr),gr=Kn.extend(fr.omit({rss_feed:!0}).partial().shape).extend({uri:Ve(),image:Ve().nullable().optional(),spotBanner:ot(er).or(tt(Ke())).optional(),token:Ve().optional(),uriCommunity:Ve().optional(),custom_widgets:ot(ur).optional(),rss_feed:Ve()}),vr=nt({idWidget:Ve(),title:Ve(),url:Ve(),type:Ve(),icon:Ve(),description:Ve()}),yr=nt({id:Ve(),idorder:qe(),label:Ve()}),br=Gt.extend({dateCreation:Ve(),dateModified:Ve(),category:qe(),privacy:sr}),xr=$t(br),wr=xr.extend({description:Ve(),edito:Ve().nullable(),language:Ve()}),Cr=$t(wr),Sr=Cr.extend({image:Ve().nullable().optional(),spotBanner:ot(er).or(tt(Ke())).optional(),idCommunity:Ve().optional(),useTeaser:rt([st(""),st("0"),st("1")]).nullable().optional()}),Ar=$t(Sr),kr=nt({idSpot:rt([Ve(),qe()]),mailFrequency:rt([Ve(),qe()]),mailSpotit:Ye(),mailComment:Ye(),mailSubscriber:Ye()}),_r=nt({type:Ve().optional(),format:Zn.optional(),query:Ve().optional(),limit:qe().optional(),page:qe().optional(),public:Ye().optional(),orders:Vn.optional(),filters:qn.or(Je()).optional()}),Er=nt({openCategory:Ye()}),Tr=e=>rr.safeParse(e).success,Dr=Gt.extend({description:Ve().optional().nullable(),_user:gn,_right:en}),jr=$t(Dr),Rr=e=>jr.safeParse(e).success,Mr=Gt.extend({type:lt(["folder","rootFolder"]),folderColor:Ve().optional()}),Ir=$t(Mr),Or=rt([gn,xr,Ir]);var Lr;!function(e){e.ArticleButton="widget-article-button",e.ArticleGallery="widget-article-gallery",e.ArticleTitle="widget-article-title",e.ArticleText="widget-article-text",e.ArticleImage="widget-article-image",e.ArticleAttachment="widget-article-attachment",e.ArticleSlider="widget-article-slider",e.CheckList="widget-check-list",e.DatasourceTable="widget-datasource-table",e.ExcelDatasourceTable="widget-excel-datasource-table",e.Presence="widget-presence",e.QuickSurvey="widget-quick-survey",e.ContactCardDav="widget-contact-cardDav",e.CalendarCalDav="widget-calendar-calDav",e.EmailsImap="widget-emails-imap",e.LuccaAbsence="widget-lucca-absence",e.UserProfile="widget-user-profil"}(Lr||(Lr={}));const Pr=ct(Lr),Br=nt({title:Ve(),widget:nt({name:Pr,uniqid:Ve(),content:Xe()})}).catchall(Xe()),Nr=$t(Br),Fr=lt(["left","right","center","justify"]),$r=lt(["top","bottom","center","left","right"]),zr=lt(["auto","contain","cover"]),Hr=lt(["sm","md","lg"]),Ur=lt(["contained","outlined"]),Wr=lt(["link","anchor","popup"]),Gr=nt({x:qe(),y:qe()}),Vr=lt(["default","vertical"]),qr=(e,t,n)=>{const r=t.safeParse(e);return!1===r.success&&n&&console.error(r.error.message),r.success},Yr=(e,t)=>t.safeParse(e).success,Jr=Ft({files:ln.array().optional(),fileDisplay:lt(["list","gallery"]).optional()}),Qr=Ft({name:st(Lr.ArticleAttachment),uniqid:Ve(),content:Jr}),Zr=nt({url:Ve(),target:Ve()}),Xr=nt({uniqid:Ve()}),Kr=nt({title:Ve(),widgets:Nr.array()}),ei=Ft({text:Ve().optional(),color:Ve().optional(),backgroundColor:Ve().optional(),borderRadius:Ve().optional(),fontSize:Ve().optional(),buttonSize:Hr.optional(),variant:Ur.optional(),url:Ve().optional(),target:Ve().optional()}),ti=ei.extend({openingType:Wr.optional(),openingTypeLink:Zr.optional(),openingTypeAnchor:Xr.optional(),openingTypePopup:Kr.optional()}),ni=Ft({name:st(Lr.ArticleButton),uniqid:Ve(),content:ti}),ri=Ft({gap:Ve().optional(),column:Ve().optional(),files:ln.array().optional()}),ii=Ft({name:st(Lr.ArticleGallery),uniqid:Ve(),content:ri}),oi=Ft({file:ln.optional(),useFilter:Ye().optional()}),ai=Ft({name:st(Lr.ArticleImage),uniqid:Ve(),content:oi}),si=Ft({title:Ve(),text:Ve(),titleHeading:lt(["h1","h2","h3","h4","h5","h6","p","span"]).optional(),textColor:Ve().optional(),opacityFilter:qe().optional(),opacityColor:Ve().optional(),file:ln.optional()}),li=Ft({slides:si.array().optional(),maxWidth:qe().optional(),loop:Ye().optional(),useDots:Ye().optional(),startAt:qe().optional()}),ci=Ft({name:st(Lr.ArticleSlider),uniqid:Ve(),content:li}),di=Ft({text:Ve().optional(),color:Ve().optional(),fontSize:Ve().optional(),lineHeight:Ve().optional(),linkColor:Ve().optional()}),ui=Ft({name:st(Lr.ArticleText),uniqid:Ve(),content:di}),hi=Ft({text:Ve().optional(),textAlign:Fr.optional(),heading:Ve().optional(),color:Ve().optional(),backgroundColor:Ve().optional(),dataCy:Ve().optional()}),pi=Ft({name:st(Lr.ArticleTitle),uniqid:Ve(),content:hi}),fi=Ft({title:Ve(),value:Ye().optional(),links:$n.array().optional(),id:qe().optional(),file:ln.optional(),user:nt({id:qe().or(Ve()),type:st("user"),mainType:st("user")}).optional()}),mi=nt({arr:fi.array().optional(),css:ot(Ve(),Ve().or(qe())).optional(),widgets:Nr.array().optional(),edit:Ye().optional()}),gi=Ft({name:st(Lr.CheckList),uniqid:Ve(),content:mi}),vi=lt(["date","date-time","date-time-sec","time","time-sec"]),yi=lt(["fr-FR","en-EN","filesize"]),bi=nt({}),xi=nt({type:st("text")}),wi=nt({label:Ve(),value:Ve()}),Ci=nt({type:st("select"),options:wi.array()}),Si=nt({type:st("date")}),Ai=rt([xi,Ci,Si,bi]),ki=nt({name:Ve().optional(),isVisible:Ye().optional(),textEllipsis:Ye().optional(),label:Ve().optional(),dateFormat:vi.optional(),numberFormat:yi.optional()}),_i=ki.array(),Ei=lt(["text","uri","file","select","url","transient","date","datetime","email","number","title"]),Ti=nt({name:Ve(),label:Ve(),sortable:Ye().optional(),type:Ei,widget:Ai}),Di=nt({limit:qe().or(Ye()).optional(),tableColumnsData:ki.array().optional(),tableHeadColor:Ve().optional(),tableHeadTextColor:Ve().optional(),tableHeadIconColor:Ve().optional(),tableRowColor:Ve().optional(),tableRowTextColor:Ve().optional(),tableBorderRadius:qe().optional(),tableSizedColumns:Ye().optional(),tableSizedColumnsWidth:qe().optional()}),ji=Di.extend({uri:Ve().optional()}),Ri=Ft({name:st(Lr.DatasourceTable),uniqid:Ve(),content:ji}),Mi=ji.extend({uri:Ve().optional()}),Ii=Ft({name:st(Lr.ExcelDatasourceTable),uniqid:Ve(),content:Mi}),Oi=Ye().or(st(0)).or(st(1)),Li=nt({limit:Ye().or(qe()).optional(),limitValue:qe().optional(),closing:Oi.optional(),isClosed:Oi.optional()}),Pi=e=>Yr(e,Li),Bi=Ft({name:st(Lr.Presence),uniqid:Ve(),content:Li}),Ni=e=>qr(e,Bi),Fi=nt({id:qe(),type:Ve(),uniqid:Ve(),value:qe()}),$i=e=>qr(e,Fi),zi=nt({userValue:qe(),userAvailableList:gn.array(),userUnavailableList:gn.array(),userAvailableTotal:qe(),userUnavailableTotal:qe()}),Hi=e=>qr(e,zi),Ui=nt({data:gn.array(),cnt:qe(),page:qe(),limit:qe()}),Wi=Ft({title:Ve(),id:qe().optional(),mimetype:Ve().optional(),file:ln.optional()}),Gi=nt({arr:Wi.array().optional(),css:ot(Ve(),Ve().or(qe())).optional(),widgets:Nr.array().optional(),open:Oi.optional(),multi:Oi.optional(),closing:Oi.optional(),isClosed:Oi.optional(),showResult:Oi.optional(),isNotDisabled:Oi.optional(),seeResponseAfter:Oi.optional(),anonymize:Oi.optional()}),Vi=Ft({name:st(Lr.QuickSurvey),uniqid:Ve(),content:Gi}),qi=tt(nt({userList:gn.array(),counter:qe()})),Yi=nt({totalRespondent:qe(),totalResponse:qe(),userLoggedResponses:Ve().array(),userResponses:qi}),Ji=nt({data:gn.array(),cnt:qe(),page:qe(),limit:qe()}),Qi=nt({calEventsLimit:Ye().optional(),calEventsLimitValue:qe().optional(),calEventsPromptStatus:Ve().optional()}),Zi=Ft({name:st(Lr.CalendarCalDav),uniqid:Ve(),content:Qi}),Xi=nt({contactLimit:Ye().optional(),contactLimitValue:qe().optional(),contactPromptStatus:Ve().optional()}),Ki=Ft({name:st(Lr.ContactCardDav),uniqid:Ve(),content:Xi}),eo=nt({emailsLimit:Ye().optional(),emailsLimitValue:qe().optional(),emailsPromptStatus:Ve().optional()}),to=Ft({name:st(Lr.EmailsImap),uniqid:Ve(),content:eo}),no=nt({absentUntil:Ve(),period:Ve().array(),title:Ve(),uri:Ve()}),ro=nt({url:Ve().optional()}),io=Ft({name:st(Lr.LuccaAbsence),uniqid:Ve(),content:ro}),oo=nt({buttonName:Ve().optional(),pictureSize:Ve().optional(),css:ot(Ve(),Ve().or(qe())).optional()}),ao=Ft({name:st(Lr.UserProfile),uniqid:Ve(),content:oo}),so=rt([nt({layers:Ve().array().optional()}).and(Qr),nt({layers:Ve().array().optional()}).and(ni),nt({layers:Ve().array().optional()}).and(ii),nt({layers:Ve().array().optional()}).and(ai),nt({layers:Ve().array().optional()}).and(pi),nt({layers:Ve().array().optional()}).and(ui),nt({layers:Ve().array().optional()}).and(ci),nt({layers:Ve().array().optional()}).and(gi),nt({layers:Ve().array().optional()}).and(Ri),nt({layers:Ve().array().optional()}).and(Ii),nt({layers:Ve().array().optional()}).and(Bi),nt({layers:Ve().array().optional()}).and(Vi),nt({layers:Ve().array().optional()}).and(Zi),nt({layers:Ve().array().optional()}).and(Ki),nt({layers:Ve().array().optional()}).and(to),nt({layers:Ve().array().optional()}).and(io),nt({layers:Ve().array().optional()}).and(ao)]),lo=1,co=2,uo=3,ho=4,po=rt([st(lo),st(co),st(uo),st(ho)]),fo=Ft({title:Ve(),level:po.optional(),widget:so}),mo=nt({widgets:fo.array().optional()}).and(rt([Jr,ti,ri,oi,di,hi,li,mi,ji,Mi,Li,Gi,Qi,Xi,eo,ro,oo])),go=nt({[Lr.ArticleButton]:ni,[Lr.ArticleGallery]:ii,[Lr.ArticleTitle]:pi,[Lr.ArticleText]:ui,[Lr.ArticleImage]:ai,[Lr.ArticleAttachment]:Qr,[Lr.ArticleSlider]:ci,[Lr.CheckList]:gi,[Lr.DatasourceTable]:Ri,[Lr.ExcelDatasourceTable]:Ii,[Lr.Presence]:Bi,[Lr.QuickSurvey]:Vi,[Lr.CalendarCalDav]:Zi,[Lr.ContactCardDav]:Ki,[Lr.EmailsImap]:to,[Lr.LuccaAbsence]:io,[Lr.UserProfile]:ao}),vo=nt({[Lr.ArticleButton]:ti,[Lr.ArticleGallery]:ri,[Lr.ArticleTitle]:hi,[Lr.ArticleText]:di,[Lr.ArticleImage]:oi,[Lr.ArticleAttachment]:Jr,[Lr.ArticleSlider]:li,[Lr.CheckList]:mi,[Lr.DatasourceTable]:ji,[Lr.ExcelDatasourceTable]:Mi,[Lr.Presence]:Li,[Lr.QuickSurvey]:Gi,[Lr.CalendarCalDav]:Qi,[Lr.ContactCardDav]:Xi,[Lr.EmailsImap]:eo,[Lr.LuccaAbsence]:ro,[Lr.UserProfile]:oo}),yo=nt({busy:rt([Ye(),Je()]).optional(),loading:rt([Ye(),Je()]).optional(),initialized:rt([Ye(),Je()]).optional(),mounted:rt([Ye(),Je()]).optional(),hover:rt([Ye(),Je()]).optional(),empty:Ye().optional(),locked:Ye().optional()}),bo=Gt.extend({dateCreation:Ve(),dateModified:Ve()}),xo=$t(bo),wo=xo.extend({description:Ve().nullable().optional(),_user:gn,_right:en,_audience:Or.array(),image:on.optional(),articleWidgets:fo.array().optional()}),Co=$t(wo),So=Co.extend({_attachedFiles:ln.array(),tags:Yt.array().optional(),processContext:Qe().optional(),_transientCtx:Qe().optional(),uiObjectLink:Gt.array().optional()}),Ao=$t(So),ko=Co.extend({type:st("internalDraft"),hasRightToPublishType:Ye()}),_o=$t(ko),Eo=Ao.extend(_o.shape).extend({type:st("internalDraft"),idDraft:qe(),form:ot(Ve(),Ze())}),To=$t(Eo),Do=e=>To.extend({form:e}),jo=nt({type:Ve().optional(),query:Ve().optional(),limit:qe().optional(),page:qe().optional(),orders:Vn.optional(),filters:qn.optional(),public:Ye().optional()}),Ro=nt({uri:Ve().optional(),idArticle:qe().optional()}),Mo=nt({title:Ve().optional(),description:Ve().optional().nullable(),type:Ve().optional(),publishTo:Ve().optional(),idSpot:tt(Ve()).optional()}),Io=nt({id:qe(),type:Ve(),dateCreation:Ve(),dateModified:Ve(),title:Ve(),uri:Ve()}),Oo=nt({attachment:Ye().optional(),idArticle:qe(),limits:nt({max:qe(),start:qe()}).optional()}),Lo=nt({token:Ve(),content:Ve(),idArticle:qe(),sendAlert:Ye(),alertAuthor:Ye(),widgets:fo.array().optional(),type:rt([st("comment"),st("commentResponse")]).optional()}),Po=nt({token:Ve().optional(),description:Ve().optional(),idComment:qe(),widgets:fo.array().optional()}),Bo=nt({idUser:Ve(),dateRead:Ve(),Pseudo:Ve(),type:Ve()}),No=Ir.extend({...wo.shape,_nbItems:qe(),parentURI:Ve().optional(),type:Ir.shape.type}),Fo=rt([st("created"),st("validated"),st("handled")]),$o=Ao.extend({type:st("aseiClearanceTicket"),aseiClearanceTicketValidator:gn.array(),aseiClearanceTicketHandler:Gt.array(),aseiClearanceTicketApplicationManagers:Gt.array(),aseiClearanceTicketInstitution:Gt.array(),aseiClearanceTicketNatureOfDemand:Ve(),aseiClearanceTicketInternetAccess:Ve(),aseiClearanceTicketInternetAccessSpecify:Ve(),aseiClearanceTicketMicrosoftTeams:Ve().nullable(),aseiClearanceTicketVariousNetworks:Ve().nullable(),aseiClearanceTicketFreeText:Ve(),aseiClearanceTicketOfficeAccess:Ve().nullable(),aseiClearanceTicketSharedDirectoriesSpecify:Ve(),aseiClearanceTicketBlueKanGo:Ve().nullable(),aseiClearanceTicketAccounting:Ve(),aseiClearanceTicketAccountingBudget:Ve(),aseiClearanceTicketTransfers:Ve().nullable(),aseiClearanceTicketBilling:Ve(),aseiClearanceTicketPayroll:Ve(),aseiClearanceTicketPayrollBudget:Ve(),aseiClearanceTicketAccommodationCosts:Ve(),aseiClearanceTicketCommercialManagement:Ve(),aseiClearanceTicketInventoryManagement:Ve(),aseiClearanceTicketTimeManagement:Ve(),aseiClearanceTicketBdes:Ve(),aseiClearanceTicketMandateStart:Ve().nullable(),aseiClearanceTicketMandateEnd:Ve().nullable(),aseiClearanceTicketIndicatorsPlatform:Ve().nullable(),aseiClearanceTicketBudgetLetters:Ve(),aseiClearanceTicketComputerisedFile:Ve().nullable(),aseiClearanceTicketRecruiterAccess:Ve().nullable(),aseiClearanceTicketTypeOfWorkContractFrom:Qe(),aseiClearanceTicketTypeOfWorkContractTo:Qe(),aseiClearanceTicketLastName:Ve(),aseiClearanceTicketFirstName:Ve(),aseiClearanceTicketUser:gn.array(),aseiClearanceTicketTypeOfWorkContract:Ve(),aseiClearanceTicketTypeOfWorkContractSpecify:Ve(),aseiClearanceTicketPosition:Ve(),aseiClearanceTicketStatus:Fo}),zo=$t($o),Ho=Ao.extend({type:st("aseiInstitution"),aseiInstitutionValidator:Gt.array()}),Uo=$t(Ho),Wo=nt({dsi:Ve(),gestionnaireApplicatif:Ve(),createurDemande:Ve()}),Go=nt({accessWriter:Ye(),accessApp:Ye()}),Vo=nt({description:Ve(),right:nt({manage:Ye()}),daysOff:tt(Ve()).optional(),weekEnd:rt([st("0"),st("1")]),bookingOpeningTime:Ve(),bookingClosingTime:Ve(),lastBookingSchedule:Ve()}),qo=Co.extend({type:st("bookableAsset"),_isColorDark:Ye().nullable(),assetPlannerBackgroundColor:Ve().nullable()}),Yo=$t(qo),Jo=Co.extend(Yo.shape).extend({assetBanner:ot(nt({id:Ve(),name:Ve(),size:Ve()}))}),Qo=$t(Jo),Zo=Co.extend({type:st("reservation"),dateStart:Ve(),dateEnd:Ve(),reservationCancelled:Ye(),_asset:Yo}),Xo=$t(Zo),Ko=xo.extend({type:st("businessContactCard")}),ea=$t(Ko),ta=Co.extend(ea.shape).extend({mail:Ve().nullable(),pseudo:Ve().nullable(),firstName:Ve().nullable(),lastName:Ve().nullable(),phoneNumber:Ve().nullable(),company:Ve().nullable(),function:Ve().nullable(),champ1:Ve().nullable().optional(),champ2:Ve().nullable().optional(),champ3:Ve().nullable().optional(),champ4:Ve().nullable().optional(),champ5:Ve().nullable().optional()}),na=$t(ta),ra=st("read"),ia=nt({action:Ve(),do:Ve(),type:Ve(),targetId:qe(),targetType:Ve()}),oa=nt({type:Ve(),class:Ve(),isActive:Ye(),label:Ve(),cssClass:Ve(),cssColor:Ve(),struct:ia,stats:nt({total:qe()}).optional()}),aa=nt({targetId:qe(),targetType:Ve(),type:Ve(),icon:Ve().nullable(),isActive:Ye().optional(),count:qe().optional(),label:Ve()}),sa=nt({targetId:qe(),targetType:Ve(),type:Ve()}),la=e=>sa.extend({value:e}),ca=Ut.extend({dateCreation:Ve(),dateModified:Ve().nullable(),description:Ve().nullable(),_user:gn}),da=$t(ca),ua=da.extend({_right:en,_attachedFiles:tt(ln).optional(),_actions:ot(oa).optional(),_widgets:tt(fo).optional()}),ha=$t(ua);var pa;!function(e){e.Binary="binary",e.Select="select",e.Radio="radio",e.Check="check",e.Rate="rate",e.Scale="scale",e.Text="text",e.Textarea="textarea",e.FileUpload="file-upload",e.GridRadio="grid-radio",e.GridCheck="grid-check"}(pa||(pa={}));const fa=ct(pa),ma=nt({title:Ve()}).array(),ga=nt({title:Ve()}).array(),va=nt({title:Ve()}).array(),ya=nt({title:Ve()}).array(),ba=nt({type:nt({on:Ve(),off:Ve()}),size:qe().array(),index:qe()}),xa=nt({start:nt({title:Ve(),value:qe()}),end:nt({title:Ve(),value:qe()}),options:nt({label:Ve(),value:qe()}).array()}),wa=Ve(),Ca=Ve(),Sa=Ve().array(),Aa=nt({lines:nt({title:Ve()}).array(),rows:nt({title:Ve()}).array()}),ka=nt({lines:nt({title:Ve()}).array(),rows:nt({title:Ve()}).array()}),_a=rt([ma,ga,va,ya,ba,xa,wa,Ca,Sa,Aa,ka]),Ea=nt({}),Ta=Ea.extend({lengthMin:Ye(),lengthMinValue:qe(),lengthMax:Ye(),lengthMaxValue:qe()}),Da=Ea.extend({types:nt({on:Ve(),off:Ve()}).array()}),ja=Ea.extend({arr:nt({label:Ve(),value:qe()}).array()}),Ra=Ea.extend({length:Ye(),lengthMin:qe(),lengthMax:qe()}),Ma=Ea.extend({length:Ye(),lengthMin:qe(),lengthMax:qe()}),Ia=Ea.extend({limit:qe().or(Ye()),limitValue:qe(),arr:nt({name:Ve(),active:Ye(),mimetype:Ve()}).array()}),Oa=Ea.extend({forceResponse:Ye()}),La=Ea.extend({forceResponse:Ye()}),Pa=rt([Ta,Da,ja,Ra,Ma,Ia,Oa,La]),Ba=nt({mandatory:Ye(),condition:Ye(),uniqid:Ve(),label:Ve(),description:Ve(),name:fa,extraParams:nt({}).optional(),widgetOptions:Ea.optional()}),Na=Ba.extend({name:st(pa.Binary),data:ma}),Fa=Ba.extend({name:st(pa.Select),data:ga}),$a=Ba.extend({name:st(pa.Radio),data:va}),za=Ba.extend({name:st(pa.Check),data:ya,widgetOptions:Ta}),Ha=Ba.extend({name:st(pa.Rate),data:ba,widgetOptions:Da}),Ua=Ba.extend({name:st(pa.Scale),data:xa,widgetOptions:ja}),Wa=Ba.extend({name:st(pa.Text),data:wa,widgetOptions:Ra}),Ga=Ba.extend({name:st(pa.Textarea),data:Ca,widgetOptions:Ma}),Va=Ba.extend({name:st(pa.FileUpload),data:Sa,widgetOptions:Ia}),qa=Ba.extend({name:st(pa.GridRadio),data:Aa,widgetOptions:La}),Ya=Ba.extend({name:st(pa.GridCheck),data:ka,widgetOptions:Oa}),Ja=rt([Na,Fa,$a,za,Ha,Ua,Wa,Ga,Va,qa,Ya]),Qa=nt({uniqid:Ve(),title:Ve(),fields:Ja.array()}),Za=Co.extend({type:st("pollSurvey"),anonymousResponse:Qe(),multipleResponse:qe(),publicResults:Qe(),pollProgression:nt({colors:ot(Ve()),maxRespondentsValue:qe(),countRespondentsValue:qe()}),pollResponseShowProgression:qe(),dateEnd:Ve(),status:nt({name:Ve(),value:qe()})}),Xa=$t(Za),Ka=Ao.extend(Xa.shape).extend({pollContent:Qa.array().or(Qe()),pollLinks:Qe(),pollForceClose:Qe(),pollResponseUserVisibility:Qe(),pollResponseAuthorVisibility:Qe(),pollResponseShowRespondent:Qe(),pollBanner:it([]),pollMessage:Ve()}),es=$t(Ka),ts="pollSurvey",ns=nt({}),rs=nt({pollContent:Qa.array(),pollLinks:ot(Ve(),Ve()).or(Qe()),pollMessage:Ve().optional(),description:Ve().optional(),anonymousResponse:Ve().or(Qe()).optional(),multipleResponse:Ve().or(Qe()).optional(),pollResponseAuthorVisibility:Ve().or(Qe()).optional(),pollResponseUserVisibility:Ve().or(Qe()).optional(),pollResponseShowProgression:Ve().or(Qe()).optional(),pollResponseShowRespondent:Ve().or(Qe()).optional(),bannerSrc:Ve().optional()}),is=rt([ns,rs]),os=Co.extend({type:st("contentFactoryTemplate"),contentFactoryTemplateType:lt(["pollSurvey","default"]),contentFactoryTemplateAuthor:Ve(),contentFactoryTemplateUsage:qe()}),as=$t(os),ss=Ao.extend(as.shape).extend({contentFactoryTemplateType:st("pollSurvey"),contentFactoryTemplateData:rs}),ls=$t(ss),cs=Ao.extend(as.shape).extend({contentFactoryTemplateType:st("default"),contentFactoryTemplateData:ns}),ds=$t(cs),us=rt([ds,ls]);var hs;!function(e){e.RUNNING="running",e.CLOSED="closed",e.HANDLED="handled"}(hs||(hs={}));const ps=Co.extend({type:st("contentReport"),articleId:qe(),articleType:Ve(),articleTitle:Ve(),articleUrl:Ve(),commentId:qe().optional(),commentType:Ve().optional(),status:ct(hs)}),fs=$t(ps),ms=nt({limit:qe().optional(),page:qe().optional(),orders:Vn.optional(),filters:qn.optional()}),gs=nt({uri:Ve(),description:Ve()}),vs=nt({uri:Ve(),status:ct(hs)}),ys=Co.extend({type:st("animatedMeeting"),dateStart:Ve(),animatedMeetingContent:ot(Xe())}),bs=$t(ys),xs=Ao.extend(bs.shape).extend({animatedMeetingStarted:Qe(),useWorkAdventure:Qe(),animatedMeetingReport:Qe(),animatedMeetingReportVersion:Qe(),animatedMeetingStats:Qe(),animatedMeetingReactions:Qe()}),ws=$t(xs),Cs=nt({_extend:nt({status:Ve(),statusValue:st(1).or(st(2)).or(st(3)),date:Ve()}),_audienceLeft:qe()}),Ss=Ao.extend({type:st("extraBot"),avatar:ln.optional(),context:Ve(),description:Ve(),disclaimer:Ve(),enabled:Ye(),groups:tt(Qt).optional(),moderators:tt(Jt).optional(),prompt:Ve(),title:Ve(),trigger:lt(["mentionOnly","matchComment"]),matchThreshold:qe().optional(),bot:gn.optional(),webhookMethod:Ve().optional(),webhookUrl:Ve().optional(),webhookKey:Ve().optional(),webhookAutomationOnly:Ye().optional()}),As=$t(Ss),ks=nt({title:Ve(),id:Ve().optional(),items:tt(Ve())}),_s=Co.extend({type:st("faq"),faqColor:Ve().optional(),image:on.optional()}),Es=$t(_s),Ts=Ao.extend(Es.shape).extend({isWeb:Ye(),faqContent:ks.array().optional()}),Ds=$t(Ts),js=e=>e.and(nt({_extend:nt({itemsCount:qe()})})),Rs=Co.extend({type:st("faqItem")}),Ms=$t(Rs),Is=Ao.extend(Ms.shape).extend({faqResponse:Ve(),uriCategory:xo.array(),themeId:Ve(),_nbAttachedFiles:qe().optional(),_attachedFiles:ln.array()}),Os=$t(Is),Ls=Yn(Mo.omit({idSpot:!0})).and(nt({image:on.nullable().optional(),tags:Ve().optional(),faqColor:Ve().optional(),isWeb:Ye().optional(),type:st("faq")})),Ps=Ls.and(nt({uri:Ve(),format:Zn.optional()})),Bs=nt({title:Ve(),id:Ve()}),Ns=nt({_web:rt([st("0"),st("1"),st("")]).optional(),appImageText:Ve().optional(),appImage:rt([Ve(),nt({image:nt({id:Ve(),type:Ve()})})]).optional(),_displayComment:rt([st("0"),st("1"),st("")]).optional()}),Fs=nt({createCategory:Ye()}),$s=nt({idCategory:qe(),title:Ve()}),zs=nt({idCategory:qe(),indexTheme:qe(),deleteEntries:Ye().optional()}),Hs=nt({idCategory:qe(),indexTheme:qe(),title:Ve()}),Us=Yn(Mo).and(nt({tags:Ve().optional(),faqResponse:Ve().optional(),type:st("faqItem")})),Ws=nt({idEntry:qe(),idCategory:qe(),theme:qe()}),Gs=Us.and(nt({uri:Ve()})),Vs=nt({entryURI:Ve(),sourceURI:Ve().optional(),targetURI:Ve(),theme:qe()}),qs=nt({sourceUri:Ve(),targetUri:Ve(),themeIndex:qe()}),Ys=xo,Js=Co.extend({relatedArticle:Co.optional(),relatedObject:ha.or(Co).optional(),relatedUser:yn.optional()}),Qs=$t(Js),Zs=nt({idLog:qe(),slug:Ve(),dateCreation:Ve(),map:Ve(),mail:Ve(),action:Ve(),mode:Ve()}),Xs=nt({mail:Ve(),cnt:Ve()}),Ks=Ve(),el=Ve(),tl=Mo.extend({type:st("jlandmap"),jlandMapAggregated:Ve()}),nl=xo.extend({type:st("jlandmap"),jlandMapKind:el,jlandMapFlavor:Ks,limit:qe().nullable(),waMapUrl:Ve().nullable()}),rl=$t(nl),il=Co.extend(rl.shape),ol=$t(il),al=Ao.extend(ol.shape),sl=$t(al),ll=xo.extend({type:st("mediaLibraryFile"),attachment:ln,_user:gn.optional()}),cl=$t(ll),dl=Co.extend(cl.shape),ul=$t(dl),hl=xo.extend({type:st("mediaLibraryFolder"),_user:gn.optional(),description:Ve().optional(),_audience:Or.array()}),pl=$t(hl),fl=Co.extend(pl.shape),ml=$t(fl),gl=nt({format:Zn,page:qe().optional(),limit:qe().optional(),nolimit:Ye().optional()}),vl=nt({id:qe(),idFolder:qe().optional(),fileName:Ve(),nbViews:qe(),nbDistinctViews:qe(),nbDownloads:qe()}),yl=nt({id:qe(),folderName:Ve(),nb:qe(),nbDistinct:qe()}),bl=nt({nbFolders:qe(),nbFiles:qe()}),xl=nt({uriFile:Ve(),uriFolder:Ve(),publishTo:Ve().array()}),wl=Co.extend({type:st("socialEvent"),place:Ve(),address:Ve(),dateStart:Ve(),dateEnd:Ve(),noGestion:Ye(),allDay:Ye(),textColor:Ve(),backgroundColor:Ve()}),Cl=$t(wl),Sl=e=>Cl.safeParse(e).success,Al=Ao.extend(Cl.shape).extend({allDay:Ye(),useQrcode:Ye().optional(),bgColor:Ve(),socialEventUseCeiling:Ye(),socialEventCeiling:qe().nullable(),hideFromCalendar:Ye(),urlGestion:Ve().optional().nullable(),webinarUrlForGuests:Ve().optional().nullable()}),kl=$t(Al),_l=e=>kl.safeParse(e).success,El=Yn(nt({title:Ve().min(1),dateStart:Ve().regex(/\d{4}-\d{2}-\d{2}( \d{2}:\d{2}:\d{2})?/),dateEnd:Ve().regex(/\d{4}-\d{2}-\d{2}( \d{2}:\d{2}:\d{2})?/),allDay:Ye().optional(),place:Ve().optional().nullable(),address:Ve().optional().nullable(),description:Ve().optional(),socialEventUseCeiling:Ye().optional(),socialEventCeiling:qe().nullable().optional(),publishTo:Ve().optional(),textColor:Ve().optional().nullable(),bgColor:Ve().optional().nullable(),hideFromCalendar:Ye().optional(),noGestion:Ye().optional(),sendAlert:lt(["1","0"]).optional(),alertAuthor:lt(["1","0"]).optional(),uiObjectLink:Ve().optional(),useQrcode:Ye().optional(),urlGestion:Ve().optional()}).refine(e=>{const t=new Date(e.dateStart),n=new Date(e.dateEnd);return t.getTime()<=n.getTime()},"The start date must be before the end date.")),Tl=El.and(nt({uri:Ve()})),Dl=Cl.extend({type:st("meeting")}),jl=$t(Dl),Rl=e=>jl.safeParse(e).success,Ml=kl.omit({socialEventUseCeiling:!0,socialEventCeiling:!0,hideFromCalendar:!0}).extend(jl.shape).extend({agenda:Ve(),report:Ve(),reportFile:ln.nullable()}),Il=$t(Ml),Ol=Yn(nt({title:Ve().min(1),dateStart:Ve().regex(/\d{4}-\d{2}-\d{2}( \d{2}:\d{2}:\d{2})?/),dateEnd:Ve().regex(/\d{4}-\d{2}-\d{2}( \d{2}:\d{2}:\d{2})?/),allDay:Ye().optional(),place:Ve().optional().nullable(),address:Ve().optional().nullable(),agenda:Ve().optional(),report:Ve().optional(),publishTo:Ve().optional(),textColor:Ve().optional().nullable(),bgColor:Ve().optional().nullable(),noGestion:Ye().optional(),sendAlert:lt(["1","0"]).optional(),alertAuthor:lt(["1","0"]).optional(),uiObjectLink:Ve().optional(),urlGestion:Ve().optional()}).refine(e=>{const t=new Date(e.dateStart),n=new Date(e.dateEnd);return t.getTime()<=n.getTime()},"The start date must be before the end date.")),Ll=Ol.and(nt({uri:Ve()})),Pl=Gt.omit({title:!0,_url:!0}).extend({description:Ve()}),Bl=$t(Pl),Nl=nt({_url:Ve(),bubbleColor:Ve(),_right:en,_audience:gn.array(),_cntUnread:qe(),_lastMessage:Bl.optional()}),Fl=Ut.extend({type:st("messengerUser"),idDiscussion:Ve()}),$l=$t(Fl),zl=$l.extend(Nl.shape),Hl=$t(zl),Ul=Ut.extend({type:st("messengerGroup"),idDiscussion:Ve(),isMessengerSpotGroup:Ye(),disabled:Ye()}),Wl=$t(Ul),Gl=Wl.extend(Nl.shape).extend({title:Ve().nullable()}),Vl=$t(Gl),ql=nt({uri:Ve(),title:Ve(),selected:Ye()}),Yl=nt({id:qe().or(Ve()),pid:qe().nullable().optional(),name:Ve(),title:Ve().nullable().optional(),phone:Ve().nullable().optional(),mail:Ve().nullable().optional(),img:Ve(),imgId:qe().nullable().optional(),uri:Ve().nullable().optional(),tags:tt(Ve()),links:tt(ql),isInternal:qe(),selectedLink:ql.nullable().optional(),openInNewTab:qe().nullable().optional(),isAssistant:qe().nullable().optional()}),Jl=$t(Yl),Ql=nt({nodes:tt(Jl),platformColors:ot(Ve())}),Zl=Co.extend({chartIsVisible:Ye(),chartAdmins:gn.array()}),Xl=$t(Zl),Kl=Ao.extend(Xl.shape).extend({chartConfig:Ql,chartConfigDraft:Ql}),ec=$t(Kl),tc=(nt({title:Ve(),chartIsVisible:Ve(),publishTo:Ve(),chartAdmins:Ve()}),nt({title:Ve(),chartIsVisible:Ve(),publishTo:Ve(),uri:Ve(),chartAdmins:Ve()})),nc=nt({global:nt({user_directory:nt({card:tt(Ve()),filters:tt(Ve()),show:tt(Ve()),table:tt(Ve())}),css:ot(Ve().nullable())}),writer:Ye()}),rc=Co.extend({type:st("quizz"),quizzDescription:Ve().nullable(),quizzClosingDate:Ve().nullable(),dateStart:Ve().nullable(),dateEnd:Ve().nullable()}),ic=$t(rc),oc=Ao.extend(ic.shape).extend({quizzInvitation:Qe(),quizzFormSpec:Ve(),quizzRandom:Qe(),quizzHideResponses:Qe(),quizzStatus:Qe(),quizzPublicationDate:Ve().nullable()}),ac=$t(oc),sc=nt({countMembers:qe(),countResponse:qe(),done:Ye(),score:qe(),maxScore:qe(),duration:qe()}),lc=nt({value:Ve(),label:Ve()}),cc=nt({label:Ve(),multiple:Ve(),name:Ve(),options:lc.array(),params:nt({fieldFile:Ve().optional(),fieldPicture:Ve().optional(),explanation:Ve().optional()}),scoreMap:ot(Ve(),Xe()),type:Ve(),value:Ve()}),dc=nt({mandatory:Ye(),type:Ve(),widget:cc,description:Ve().optional()}),uc=Co.extend({type:st("support"),supportStatus:rt([qe(),Ve()]).nullable(),supportType:rt([qe(),Ve()]).nullable(),supportOwner:tt(gn)}),hc=$t(uc),pc=Ao.extend(hc.shape),fc=$t(pc),mc=Co.extend({type:st("surveyDate"),dates:tt(Ve()),dateStart:Ve().nullable(),dateEnd:Ve()}),gc=$t(mc),vc=Ao.extend(gc.shape).extend({surveyObjectLink:tt(xo)}),yc=$t(vc),bc=ot(Ve(),nt({dates:Ve().array(),user:gn})),xc=rt([st("DYNAMIC"),st("SLIDESHOW")]),wc=nt({tvChannelBackgroundColor:Ve().nullable(),tvChannelNumImages:qe(),tvChannelGroupTarget:xr.optional(),tvChannelConfig:nt({backgroundType:rt([st("color"),st("image")]).optional(),globalShowComment:Ye().optional(),scaleImg:Ye().optional(),key:Ve(),contents:tt(nt({uri:Ve(),dateEnd:Ve().optional(),showComments:Ye().optional(),order:qe().optional()})).optional()})}),Cc=wc.extend({tvChannelType:st("DYNAMIC"),tvChannelNumImages:st(0)}),Sc=wc.extend({tvChannelType:st("SLIDESHOW")}),Ac=xo.extend({type:st("tvDisplayChannel")}),kc=$t(Ac),_c=Co.extend(kc.shape).extend(Cc.shape),Ec=$t(_c),Tc=Co.extend(kc.shape).extend(Sc.shape),Dc=$t(Tc),jc=rt([Ec,Dc]),Rc=Mo.and(Cc.partial().or(Sc.partial())).and(nt({tvChannelType:xc})).readonly(),Mc=nt({tvChannelGroupTarget:tt(Ve()).optional(),tvChannelNumImages:Ke().optional()}),Ic=ha.extend({_extend:nt({userImageSecureUrl:Ve(),descriptionSecure:Ve()})}).readonly(),Oc=Co.extend({_extend:nt({imageSecureUrl:Ve().optional(),descriptionSecure:Ve(),comments:tt(Ic)}).optional()}),Lc=$t(Oc),Pc=ln.extend({_extend:nt({imageSecureUrl:Ve().optional()})}),Bc=$t(Pc),Nc=Ec.extend({_extend:nt({imageSecureUrl:Ve().optional(),articles:tt(Lc).optional()})}),Fc=$t(Nc),$c=e=>Fc.safeParse(e).success,zc=Dc.extend({_extend:nt({attachments:tt(Bc).optional()})}),Hc=$t(zc),Uc=e=>Hc.safeParse(e).success,Wc=nt({interval:qe(),channel:rt([Fc,Hc])}),Gc=$t(Wc),Vc=nt({label:Ve(),description:Ve(),name:Pr,img:Ve(),available:Ye(),displayLevel:rt([st(1),st(2),st(3),st(4)]).array().optional(),panel:nt({useWrapper:Ye(),useSelection:Ye(),useEditor:Ye(),useWidgets:Ye()})}),qc=e=>Vc.safeParse(e).success,Yc=e=>void 0!==e&&"type"in e&&"uri"in e,Jc=xo.extend({type:st("articleWidget"),articleWidgets:fo.array(),articleWidgetDisplayMode:Vr.nullable().or(Je())}),Qc=$t(Jc),Zc=nt({uniqid:Ve(),title:Ve(),locked:Ye(),visible:Ye(),widgets:fo.array(),position:Gr.optional()}),Xc=lt(["edit","view","preview"]),Kc=nt({width:qe().or(Je()).optional(),inplace:Ye(),isComponentVisible:Ye().optional(),mode:Xc,onClick:at().returns(et()).optional(),onChange:at().args(mo,Ye()).returns(et()),onStateChange:at().args(yo).returns(et())}),ed=nt({text:Ve(),value:Ye().optional(),links:$n.array().optional(),uri:Ve().optional(),mimetype:Ve().optional(),id:qe().optional(),user:gn.optional()}),td=nt({arr:ed.array().optional(),edit:Ye().optional()}),nd=nt({name:st("widget-check-list"),uniqid:Ve(),content:td,title:Ve()}),rd=nt({title:Ve().optional(),view:Ze().optional()}),id=nt({uniqid:Ve(),fn:lt(["widget-presence-response","check-list-response","widget-update","widget-quick-survey-response"]),object:Gt}),od=ot(Ve(),ot(Ve(),Ve().or(qe()))),ad=lt(["comment","article"]),sd=nt({token:Ve().or(Je()).optional(),ids:ot(Ve(),fo),layers:ot(Ve(),Zc),states:ot(Ve(),yo),modal:rd.or(Je()),editableMap:ot(Ve(),nt({index:qe(),uniqid:Ve()})),currentEditableIndex:qe(),currentEditableWidgetId:Ve().or(Je()),widgetWrapperStyle:od,widgetTitleStyle:od,widgetObject:ot(Ve(),Gt.partial()),widgetObjectRights:ot(Ve(),en),widgetChipCount:ot(Ve(),qe()),widgetAuthor:ot(Ve(),gn.partial()),flushedWidgets:Ve().array(),rtObjectStack:id.array(),widgetContext:ot(Ve(),ad)}),ld=nt({widgets:sd}),cd=Co.extend(Qc.shape).extend({articleWidgetsCover:qe().or(Je())}),dd=$t(cd),ud={article:{"raw-little":{articleWidget:Qc,mediaLibraryFile:cl,mediaLibraryFolder:pl,quarantine:Ys,jlandmap:rl,businessContactCard:ea,tvDisplayChannel:kc},"raw-list":{animatedMeeting:bs,bookableAsset:Yo,businessContactCard:na,contentFactoryTemplate:as,contentReport:fs,faq:Es,internalDraft:_o,meeting:jl,orgCharts:Xl,pollSurvey:Xa,quarantine:Qs,quizz:ic,reservation:Xo,socialEvent:Cl,support:hc,surveyDate:gc,tvDisplayChannel:jc,faqItem:Ms,jlandmap:ol,mediaLibraryFile:ul,mediaLibraryFolder:ml},"raw-view":{articleWidget:dd,bookableAsset:Qo,contentFactoryTemplate:us,extraBot:As,faq:Ds,faqItem:Os,internalDraft:To,meeting:Il,orgCharts:ec,quizz:ac,socialEvent:kl,animatedMeeting:ws,aseiClearanceTicket:zo,aseiInstitution:Uo,jlandmap:sl,pollSurvey:es,surveyDate:yc,support:fc}},comment:{"raw-little":{},"raw-list":{},"raw-view":{}},messengerDiscussion:{"raw-little":{messengerGroup:Wl,messengerUser:$l},"raw-list":{messengerGroup:Vl,messengerUser:Hl},"raw-view":{}}},hd=(e,t)=>Object.keys(ud.article[t]).includes(e.type),pd=(e,t)=>Object.keys(ud.comment[t]).includes(e.type);function fd(e){return e.startsWith("tag_")||"tags"===e}function md(e){return Object.fromEntries(Object.entries(e).filter(([e])=>fd(e)))}function gd(e){return Object.values(md(e)).flat()}function vd(e,t,n){return Object.fromEntries(Object.entries(e).filter(([e])=>fd(e)).map(([e,r])=>{const i=Array.isArray(r)?r.map(e=>"object"==typeof e&&e&&t in e?e[t]:e):r;return[e,n&&Array.isArray(i)?n(i):i]}))}function yd(e){return vd(e,"uri")}const bd=e=>{let t={};"_errors"in e&&(t._errors=e._errors),"_options"in e&&(t._options=e._options),"title"in e&&(t.title=e.title),"description"in e&&(t.description=e.description),"activity"in e&&(t.activity=e.activity),"image"in e&&(t.image=e.image),"uri"in e&&(t.uri=e.uri),"type"in e&&(t.type=e.type),"edito"in e&&(t.edito=e.edito),"category"in e&&(t.category=e.category.toString()),"commentLevel"in e&&(t.commentLevel=e.commentLevel),"_options"in e&&e._options?.custom_widgets&&(t.custom_widgets=Array.isArray(e._options.custom_widgets)?{}:e._options.custom_widgets),"displayType"in e&&(t.displayType=e.displayType),"language"in e&&(t.language=e.language),"edit_access"in e&&(t.edit_access=e.edit_access),"lock_mail"in e&&(t.lock_mail=e.lock_mail),"fileSyncEnabled"in e&&(t.fileSyncEnabled=e.fileSyncEnabled),"fileSyncVersioningType"in e&&(t.fileSyncVersioningType=e.fileSyncVersioningType),"fileBankQuota"in e&&(t.fileBankQuota=e.fileBankQuota),"idCommunity"in e&&(t.idCommunity=e.idCommunity),"lastRssExecution"in e&&(t.lastRssExecution=e.lastRssExecution),"mail_comment"in e&&(t.mail_comment=e.mail_comment),"mail_frequency"in e&&(t.mail_frequency=e.mail_frequency),"mail_spotit"in e&&(t.mail_spotit=e.mail_spotit),"mail_subscriber"in e&&(t.mail_subscriber=e.mail_subscriber),"notifyFolder"in e&&(t.notifyFolder=e.notifyFolder),"nounsubscribe"in e&&(t.nounsubscribe=e.nounsubscribe),"privacy"in e&&(t.privacy=e.privacy),"publishFolder"in e&&(t.publishFolder=e.publishFolder),"rss_access"in e&&(t.rss_access=e.rss_access),"rss_feed"in e&&(t.rss_feed=e.rss_feed&&Array.isArray(e.rss_feed)?JSON.stringify(e.rss_feed.map(({_user:e,...t})=>({...t,idUser:e?.id}))):"[]"),"rss_key"in e&&(t.rss_key=e.rss_key),"spot_right_user"in e&&(t.spot_right_user=e.spot_right_user),"spotBanner"in e&&(t.spotBanner=e.spotBanner),"spotDefaultPublishType"in e&&(t.spotDefaultPublishType=e.spotDefaultPublishType),"user_level_signup"in e&&(t.user_level_signup=e.user_level_signup),"useTeaser"in e&&(t.useTeaser=e.useTeaser),"widgets"in e&&(t.widgets=e.widgets);const n=md(e);if(t={...t,...n},xd(e,t))return t;throw new Error},xd=(e,t)=>{const n=["id","mainType","dateCreation","dateModified","_url","o2apLinksSources"],r=["custom_widgets"],i=Object.keys(e),o=Object.keys(t),a=i.filter(e=>!o.includes(e)&&!n.includes(e)),s=o.filter(e=>!i.includes(e)&&!r.includes(e)),l=[...a.map(e=>"- "+e),...s.map(e=>"+ "+e)];if(a.length>0||s.length>0)throw new Error(`prepareGroupForUpdate :: Wrong group mapping | Diff : ${JSON.stringify(l)}`);return!0};class wd{action;window;constructor(e,t="api-front"){this.window=e,this.action=t}static _formatPostOptions(e){const t=e?{body:JSON.stringify(e)}:void 0;return Object.assign({method:"POST",credentials:"same-origin"},t)}async getUrl(e,t,n){const r=await this.window.getBackendUrl();let i;try{const o=new URL(`/${this.action}/${e}/${t}`,r);n&&Object.entries(n).forEach(([e,t])=>{o.searchParams.set(e,t)}),i=o.href}catch(n){i=`${r}/${this.action}/${e}/${t}`}return i}async getHostname(){const e=(await this.window.getBackendUrl()).split("//");return e.length>1?e[1]:e[0]}async fetch({o:e,f:t,...n},r){void 0===r&&(r=null);const i=await this.getUrl(e,t);return this.window.fetch(i,{...wd._formatPostOptions(n),signal:r})}async get(e,t,n,r){void 0===r&&(r=null);const i=await this.getUrl(e,t,n);return this.window.fetch(i,{method:"GET",credentials:"same-origin",signal:r}).then(e=>e.json()).then(e=>{if(0===e.error)return e;throw{error:e.error,errorMsg:e.errorMsg,messages:e.messages}}).catch(e=>{if(r&&r.aborted)throw{error:-1,aborted:!0};throw e})}post(e,t){return this.fetch(e,t).then(e=>e.json()).then(e=>{if(0===e.error)return e;throw{error:e.error,errorMsg:e.errorMsg,messages:e.messages}}).catch(e=>{if(t&&t.aborted)throw{error:-1,aborted:!0};throw e})}async postFile(e){const t=await this.getUrl("file","create");if(e.append("format","raw-little"),!e.has("token")){const{result:t}=await this.token();e.append("token",t)}const n=e.get("token");return n&&"string"==typeof n?this.window.fetch(t,{method:"POST",credentials:"same-origin",body:e}).then(e=>e.json()).then(e=>({response:e,token:n})):Promise.reject("Missing token")}postCSRF(e,t){return this.tokenCSRF().then(n=>this.post(Object.assign(e,{tokenCSRF:n.result}),t))}postToken(e){return this.token().then(t=>this.post(Object.assign(e,{token:t.result})))}maybePostToken(e){return"token"in e&&e.token?this.post(e):this.postToken(e)}token(e){return this.post({o:"misc",f:"token"},e)}tokenCSRF(){return this.post({o:"misc",f:"tokenCSRF"})}}const Cd=Array.isArray,Sd=Object.keys,Ad=Object.prototype.hasOwnProperty;function kd(e,t,n){const r=n?.map(e=>e.split("."));if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){const i=Cd(e),o=Cd(t);let a,s,l;if(i&&o){if(s=e.length,s!==t.length)return!1;for(a=s;0!==a--;)if(!kd(e[a],t[a],n))return!1;return!0}if(i!==o)return!1;const c=e instanceof Date,d=t instanceof Date;if(c!==d)return!1;if(c&&d)return e.getTime()===t.getTime();const u=e instanceof RegExp,h=t instanceof RegExp;if(u!==h)return!1;if(u&&h)return e.toString()===t.toString();const p=Sd(e).filter(e=>!r?.some(t=>1===t.length&&t[0]===e));if(s=p.length,s!==Sd(t).filter(e=>!r?.some(t=>1===t.length&&t[0]===e)).length)return!1;for(a=s;0!==a--;)if(!Ad.call(t,p[a]))return!1;for(a=s;0!==a--;)if(l=p[a],!("_owner"===l&&e.$$typeof||kd(e[l],t[l],r?.filter(e=>e.length>1&&e[0]===l).map(e=>e.splice(1).join(".")))))return!1;return!0}return e!=e&&t!=t}function _d(e,t){if(Array.isArray(e))return e.map(e=>_d(e,t));if("object"==typeof e&&null!==e){let n={};return Object.keys(e).forEach(r=>{n={...n,[r]:r&&t.includes(r)?typeof e[r]:_d(e[r],t)}}),n}return e}const Ed=(e,t)=>Array.isArray(t)&&t.length?[e,...t].join(","):e,Td=e=>kl.safeParse(e).success,Dd=e=>fo.safeParse(e).success,jd=e=>qr(e,Qr),Rd=e=>qr(e,ni),Md=e=>qr(e,io),Id=e=>qr(e,ii),Od=e=>qr(e,ai),Ld=e=>qr(e,ci),Pd=e=>qr(e,ui),Bd=e=>qr(e,pi),Nd=(e,t)=>qr(e,gi,t),Fd=e=>qr(e,Ri),$d=e=>qr(e,Ii),zd=e=>qr(e,Vi),Hd=e=>qr(e,Zi),Ud=e=>qr(e,Ki),Wd=e=>qr(e,to),Gd=(e,t)=>qr(e,ao,t);class Vd extends r{getLicenseUserStatistics(e){return this.network.post({o:"licenseManager",f:"userStatistics"},e)}getLicenseStatistics(e,t,n){return this.network.post({o:"licenseManager",f:"statistics",kind:e,type:t},n)}assignLicense(e){return this.network.postCSRF({o:"licenseManager",f:"assignLicense",uri:e})}assignKindLicense(e,t){return this.network.postCSRF({o:"licenseManager",f:"assignLicenseKind",uri:e,kind:t})}unAssignLicense(e){return this.network.postCSRF({o:"licenseManager",f:"unassignLicense",uri:e})}unAssignKindLicense(e,t){return this.network.postCSRF({o:"licenseManager",f:"unassignLicenseKind",uri:e,kind:t})}getAssignmentMode(e,t){return this.network.post({o:"licenseManager",f:"getAssignmentMode",type:e},t)}setAssignmentMode(e,t){return this.network.postCSRF({o:"licenseManager",f:"setAssignmentMode",value:t,type:e})}assignPossiblesLicenses(e,t){return this.network.postCSRF({o:"licenseManager",f:"assignPossiblesLicenses",type:e,kind:t})}unAssignUnusedLicenses(e,t){return this.network.postCSRF({o:"licenseManager",f:"unassignUnusedLicenses",type:e,kind:t})}optimizeLicenses(e,t){return this.network.postCSRF({o:"licenseManager",f:"optimizeLicenses",type:e,kind:t})}getObjectsWithoutLicense(e,t){return this.network.post({o:"licenseManager",f:"countObjectsWithoutLicense",type:e,filter:t})}getLicensesNotAssigned(e){return this.network.post({o:"licenseManager",f:"countLicensesNotAssigned",type:e})}getLicensesAssigned(e){return this.network.post({o:"licenseManager",f:"getLicensesAssigned",type:e})}getLicenseUsersByKind({...e},t,n){return this.network.post({o:"licenseManager",f:"getUsers",...e,format:t},n)}getLicenseArticles(e,t){return this.network.post({o:"licenseManager",f:"getArticles",...e,format:Ed(t.format,t.formatExtension)},t.signal)}}class qd extends r{getLogsNavigation(e,t){return this.network.post({o:"objectList",f:"adminAdvancedLogsNavigation",...e},t)}getLogsObjects(e,t){return this.network.post({o:"objectList",f:"adminAdvancedLogsObjects",...e},t)}getLogsSearch(e,t){return this.network.post({o:"objectList",f:"adminAdvancedLogsSearch",...e},t)}}class Yd extends r{getItem(e){return this.network.post({o:"adminStore",f:"getItem",uri:e})}checkoutBilling(e){return this.network.postCSRF({o:"adminStore",f:"checkoutBilling",uri:e})}checkoutFinalize(e){return this.network.postCSRF({o:"adminStore",f:"checkoutFinalize",uri:e})}}class Jd extends r{getApps(e){return this.network.post({o:"admin",f:"apps"},e)}}const Qd=Ft({action:Ve(),route:Ve().optional(),nameApp:Ve().optional()}),Zd=Ft({name:Ve(),label:Ve(),icon:Ve(),img:Ve(),url:Ve(),description:Ve(),color:Ve(),action:Qd}),Xd=Ft({hasLicense:Ye().optional(),sref:Ve().optional(),type:Ve().optional(),order:qe().optional(),checkAccess:Ye().optional(),admin:Ye().optional(),showTab:Ye().optional(),types:Ve().array().optional(),noNotificationMenu:Ye().optional(),attrExposed:Ve().array().optional(),serviceUrl:Ve().optional(),view:Ve().optional(),fieldAddress:Ve().optional(),_extend:ot(Ve(),Ze()).optional()}),Kd=Ft({...Zd.shape,...Xd.shape}),eu=Ft({...Zd.shape,urlTarget:st("_blank"),urlNoReferrer:Ye()}),tu=Ft({...Zd.shape,iframeUrl:Ve()}),nu=Ft({tab:Ve(),name:Ve(),url:Ve()}),ru=tt(nu),iu=e=>ru.safeParse(e).success,ou=Ft({...Zd.shape,tabs:ru.optional()}),au=Ft({...Zd.omit({name:!0}).shape,name:st("IntranetPageHook"),tabs:Ve().array(),releaseName:Ve()}),su=Ft({...Zd.omit({name:!0}).shape,name:st("OAuth2ServerHook"),tabs:ot(Ve(),nt({tab:Ve(),name:Ve().optional(),url:Ve().optional()})),releaseName:Ve()}),lu=rt([Kd,eu,tu,ou,au,su]),cu=e=>lu.safeParse(e).success;var du;!function(e){e.local="local",e.installed="installed",e.autosaved="autosaved",e.saved="saved"}(du||(du={}));class uu extends r{list(){return this.network.post({o:"applications",f:"list"})}studioList(){return this.network.post({o:"studio",f:"list"})}studioGet(e,t){return this.network.post({o:"studio",f:"get",idApp:e,status:t})}studioInstall(e){return this.network.postCSRF({o:"studio",f:"install",value:e})}studioSuspend(e){return this.network.postCSRF({o:"studio",f:"suspend",idApp:e})}studioRestart(e){return this.network.postCSRF({o:"studio",f:"restart",idApp:e})}studioSave(e,t,n){return this.network.postCSRF({o:"studio",f:"save",idApp:e,value:t,status:n})}async studioDelete(e,t){return this.network.postCSRF({o:"studio",f:"delete",idApp:e,status:t}).then(e=>e.messages)}studioCssClassList(){return this.network.post({o:"studio",f:"icons"})}}class hu extends r{list(e,t){return this.network.post({o:"objectList",f:"jamespotArticleQueryList",...e,format:Ed(t?.format??Jn.LITTLE,t?.formatExtension)},t?.signal)}search(e,t){return this.network.post({o:"objectList",f:"jamespotArticleList",...e,format:Ed(t?.format??Jn.LITTLE,t?.formatExtension)},t?.signal)}get(e,t){return this.network.post({o:"article",f:"get",...e,format:Ed(t?.format??Jn.VIEW,t?.formatExtension)},t?.signal)}create(e,t){return this.network.maybePostToken({o:"article",f:"create",...e,format:Ed(t?.format??"raw-view",t?.formatExtension)})}update(e,t){return this.network.post({o:"article",f:"update",...e,format:Ed(t?.format??Jn.LIST,t?.formatExtension)},t?.signal)}delete(e){return this.network.postCSRF({o:"article",f:"delete",idArticle:e})}count(e){return this.network.post({o:"article",f:"count",type:e})}getAttachments(e,t,n){return this.network.post({o:"article",f:"getAttachment",idArticle:e,type:t,format:n?.format??"raw-little"},n?.signal)}permalink(e,t){return this.network.post({o:"article",f:"permalink",permalinkId:e},t?.signal)}saveAsDraft(e,t){return this.network.post({o:"article",f:"saveAsDraft",...e.form&&e.idDraft?{...e,form:{...e.form,idDraft:e.idDraft}}:e},t?.signal)}getComments(e,t){return this.network.post({o:"article",f:"getComments",...e,attachments:e.attachment??!1,limits:e.limits??{start:0,max:1e4},format:Ed(t?.format??Jn.LITTLE,t?.formatExtension)},t?.signal)}addComment(e,t){return this.network.post({o:"article",f:"addComment",...e,alertAuthor:Number(e.alertAuthor),sendAlert:Number(e.sendAlert),type:e.type??"comment",format:Ed(t?.format??"raw-little",t?.formatExtension)})}updateComment(e,t){return this.network.post({o:"article",f:"updateComment",...e,format:Ed(t?.format??"raw-little",t?.formatExtension)})}getComment(e,t){return this.network.post({o:"comment",f:"getComment",...e,format:Ed(t?.format??"raw-little",t?.formatExtension)})}deleteComment(e){return this.network.postCSRF({o:"comment",f:"delete",idComment:e})}getRead(e){return this.network.post({o:"article",f:"getRead",uri:e})}}class pu extends r{configuration(){return this.network.post({o:"assetReservation",f:"configuration"})}createReservation(e){return this.network.postCSRF({o:"assetReservation",f:"createReservation",format:"raw-list",...e})}getReservations({format:e="raw-list",...t}){return this.network.post({o:"assetReservation",f:"getReservations",format:e,...t})}cancelReservation(e){return this.network.post({o:"assetReservation",f:"cancelReservation",format:"raw-list",idArticle:e})}bookByDate({format:e="raw-list",...t}){return this.network.post({o:"assetReservation",f:"BookByDate",format:e,...t})}getList({format:e="raw-list",...t}){return this.network.post({o:"objectList",f:"assetReservationList",format:e,...t})}}class fu extends r{autocomplete(e){return this.network.post({o:"autocomplete",f:"audience",q:e}).then(e=>{if(Array.isArray(e.result))return e.result;throw"Bad response from backend"})}}class mu extends r{publicWebinarFullname(e){return this.network.post({o:"bigBlueButton",f:"publicWebinarFullname",...e})}getPublicWebinarData(e){return this.network.post({o:"bigBlueButton",f:"getPublicWebinarData",...e})}recordingDelete(e,t,n){return this.network.post({o:"bigBlueButton",f:"videoRecordingDelete",id:e,filename:t},n?.signal)}resolveUrl(e,t){return this.network.post({o:"bigBlueButton",f:"resolveUrl",...e},t)}}class gu extends r{getFormattedList(e,t){return this.network.post({o:"objectList",f:"bookmarksList",format:t,...e})}addFormattedLink(e,t,n){const r=n??"list";return this.network.post({o:"custom",f:"actionAdd",type:"bookmarkLink",targetId:e,targetType:t,format:r})}addBookmark(e,t){return this.network.postCSRF({o:"bookmarks",f:"add",...e})}delete(e){return this.network.postCSRF({o:"bookmarks",f:"delete",bookmarkID:e})}rename(e,t,n){return this.network.postCSRF({o:"bookmarks",f:"rename",bookmarkID:e,bookmarkLabel:t,bookmarkUrl:n})}move(e,t,n){return this.network.postCSRF({o:"bookmarks",f:"move",bookmarkID:e,bookmarkReference:t,bookmarkPosition:n})}}class vu extends r{getInfos(e,t){return this.network.post({o:"BusinessNetworking",f:"MarkerInfo",id:e,format:t??"raw-little"})}}class yu extends r{getEvents(e){return this.network.post({o:"calendar",f:"getEvents",...e})}listEvents(e,t){return this.network.post({o:"calendar",f:"listEvents",...e,format:Ed(t?.format??"raw-list",["socialEventRecord"])},t?.signal)}getLastEvents(e){return this.network.post({o:"calendar",f:"getLastEvents",...e})}reviveSubmit(e){return this.network.postCSRF({o:"calendar",f:"reviveSubmit",...e})}}class bu extends r{get(e,t){return this.network.post({o:"community",f:"getCommunity",idCommunity:e,format:t||"raw-little"})}sendRequest(e,t){return this.network.post({o:"community",f:"sendRequest",message:e,idUserTo:t})}autocomplete(e){return this.network.post({o:"autocomplete",f:"community",q:e}).then(e=>e.result)}}const xu=Ut.extend({srcId:qe(),srcType:Ve(),targetId:qe(),targetType:Ve().nullable()}),wu=e=>xu.extend({value:Ve().nullable(),_src:e.optional(),_target:e.optional().or(Je())}),Cu=e=>wu(e??Gt.or(gn)).extend({bookmarkUrl:Ve().optional().nullable(),bookmarkOrder:qe().optional(),bookmarkLabel:Ve().optional(),bookmarkMeta:Ve().optional().nullable(),url:Ve().optional().nullable(),type:st("bookmarkLink")}),Su=e=>nt({id:qe(),mainType:Ve(),type:Ve(),uri:Ve(),_values:nt({dateCreation:Ve(),dateModified:Ve()}).optional(),srcId:qe(),srcType:Ve(),targetId:qe(),targetType:Ve().nullable(),value:Ve().nullable(),_cssColor:Ve(),_cssClass:Ve(),_src:(e??Gt).optional(),_target:(e??Gt).optional(),bookmarkUrl:Ve().optional().nullable(),bookmarkOrder:Ve().optional(),bookmarkLabel:Ve().optional(),bookmarkMeta:Ve().optional().nullable(),url:Ve().optional().nullable()});var Au;!function(e){e.RAW_LIST="raw-list",e.LIST="list"}(Au||(Au={}));const ku=nt({targetId:qe(),targetType:Ve(),format:ct(Au).transform(e=>`${e}`).optional()}),_u=nt({[Au.RAW_LIST]:Cu(),[Au.LIST]:Su()}),Eu=nt({bookmarkLabel:Cu(Gt).shape.bookmarkLabel,bookmarkMeta:Cu(Gt).shape.bookmarkMeta,bookmarkUrl:Cu(Gt).shape.bookmarkUrl}),Tu=nt({type:st("text")}),Du=Ve(),ju=nt({type:st("textarea"),params:nt({class:st("mceEditor"),mention:st("1")}).optional()}),Ru=Ve().nullable(),Mu=nt({type:st("number")}),Iu=qe(),Ou=nt({type:st("color"),options:nt({colors:Ve(),defaultColor:Ve()})}),Lu=nt({type:st("date"),format:Ve()}),Pu=Ve().nullable(),Bu=nt({type:st("datetime")}),Nu=Ve().nullable(),Fu=nt({type:st("datePicker")}),$u=Ve().nullable(),zu=qe(),Hu=nt({type:st("audience"),options:nt({disableEveryoneAudience:Ye().optional(),views:lt(["folder","user","group","businessContact"]).array().optional()}).optional()}),Uu=nt({type:st("link")}),Wu=nt({type:st("multiattribute")}),Gu=nt({type:st("file")}),Vu=nt({type:st("image"),params:dt(nt({avatar:dt(Ye())}))}),qu=nt({type:st("select"),options:ot(Ve()),params:nt({data:Ve().optional(),defaultValue:Ve().optional(),explain:st(1).optional()}).optional()}),Yu=nt({type:st("embed")}),Ju=nt({type:st("email")}),Qu=Ve(),Zu=nt({type:st("url"),params:nt({target:st("_blank").optional()})}),Xu=Ve(),Ku=nt({type:st("place"),options:ot(Ve())}),eh=nt({type:st("refUser")}),th=nt({type:st("transient")}),nh=nt({type:st("radio"),options:ot(Ve())}),rh=nt({type:st("checkbox"),options:ot(Ve())}),ih=nt({type:st("taxonomy"),params:nt({idTaxonomy:Ve(),type:Ve().optional(),limit:qe().optional()})}),oh=nt({type:st("tel")}),ah=nt({type:st("toggle")}),sh=nt({type:st("orientedlinks"),params:nt({"jcomplete-multiple":rt([st("0"),st("1")]),showAdd:rt([st("0"),st("1")]),supportedTypes:tt(Ve())})}),lh=nt({type:st("uri"),params:nt({class:Ve(),"jcomplete-url":Ve(),type:Ve()})}),ch=rt([Tu,ju,Mu,Lu,Bu,Fu,qu,Yu,Ju,Zu,eh,nh,rh,sh,ih,lh,th,Wu,oh,ah,Ku,Ou,Uu,Gu,Vu,Hu]),dh=rt([zu,$u,Nu,Pu,Qu,Iu,Ru,Du,Xu]),uh=0,hh=1,ph=2,fh=3,mh=nt({label:Ve(),entries:tt(Ve())}),gh=nt({writeRight:rt([st(uh),st(hh),st(ph),st(fh)]),writeRightSelector:tt(Or),useCustom:Ye(),sections:tt(mh),otherEnabledEntries:tt(Ve()),disabledEntries:tt(Ve())}),vh=nt({countActiveUsersWithoutLicense:qe().optional(),countLicensesAssigned:qe(),countLicensesNotAssigned:qe()}),yh=nt({name:Ve(),operator:Ve(),value:qe()}),bh=ot(qe()),xh=nt({id:qe(),kind:Ve(),dateCreation:Ve(),idFeature:qe(),uri:Ve(),contentId:qe(),contentType:Ve(),status:qe()}),wh=nt({id:qe(),kind:Ve(),dateCreation:Ve(),idFeature:qe(),uri:Ve(),contentId:qe(),contentType:Ve(),status:qe()}),Ch=yn.extend({_extend:nt({licenses:tt(wh)})}),Sh=Xn.extend({data:Ch.array()}),Ah=xo.extend({_extend:nt({licenses:tt(wh),active:Ye(),month_requests_max:qe(),month_requests_hit:qe()})}),kh=Xn.extend({data:Ah.array()}),_h=nt({dateCreation:Ve(),action:Ve(),idUser:qe(),pseudo:Ve(),level:qe(),ip:Ve(),url:Ve(),extended:Ve().optional()}),Eh=nt({dateCreation:Ve(),action:Ve(),mainType:Ve(),idObject:qe(),typeObject:Ve(),mail:Ve().optional(),url:Ve(),extended:Ve().optional()}),Th=nt({dateCreation:Ve(),type:Ve(),msg:Ve()}),Dh=nt({uri:Ve(),title:Ve(),price:qe(),image:Ve(),license:Ye()}),jh=nt({url:Ve()}),Rh=nt({sref:Ve().optional(),href:Ve().optional(),idDiv:Ve(),label:Ve(),icon:Ve(),licenseMode:rt([st("classic"),st("article")]).optional(),hook:Ve().optional()}),Mh=nt({name:Ve(),label:Ve(),icon:Ve(),color:it([Ve(),Ve(),Ve()]),state:Ve().optional(),access:Ye(),url:Ve().optional(),tabs:tt(Rh).optional()}),Ih=tt(Mh),Oh=rt([st("Movember"),st("PinkOctober"),st("Autumn"),st("Christmas"),st("Halloween"),st("Celebration"),st("Olympics"),st("Maythefourth"),st("Spring"),st("MusicFestival"),st("EasterEggs"),st("CustomAnimation")]),Lh=nt({name:Oh,activeClickEffect:qe(),activeDecor:qe(),decorLoader:dt(Ye()),auto:Ye(),audience:tt(Ve())}),Ph=nt({date:Ve(),number:qe()}),Bh=nt({id:qe(),mainType:Ve(),type:Ve(),uri:Ve(),dateCreation:Ve().nullable(),dateModified:Ve().nullable(),animationName:Ve(),dateStart:Ve(),dateEnd:Ve().nullable(),auto:Ye(),stats:tt(Ph),animAudience:tt(Ve())}),Nh=nt({code:nn,label:Ve()}),Fh=nt({language:nn,title:Ve(),description:Ve(),lastSaveDateTime:qe().nullable(),lastSaveUserId:qe().nullable(),auto:nt({set:Ye(),title:Ve(),description:Ve(),fetched:Ye()}).nullable(),keepAsDraft:Ye(),report:Ye().optional()}),$h=nt({languages:Nh.array(),translations:Fh.array()}),zh=nt({token:Ve(),fullname:Ve()}),Hh=nt({redirectUrl:Ve()}),Uh=nt({token:Ve()}),Wh=nt({dateStart:Ve(),title:Ve()}),Gh=nt({idArticle:qe(),title:Ve(),start:Ve(),end:Ve(),url:Ve(),textColor:Ve().optional(),color:Ve().optional(),bgColor:Ve().optional(),backgroundColor:Ve().optional(),subscribe:Ye()}),Vh=e=>Gh.safeParse(e).success,qh=nt({maxdate:Ve().optional(),subscribers:gn.array(),subscribersTotal:qe()}),Yh=nt({dateStart:Ve().optional(),dateEnd:Ve().optional(),allDay:Ye().optional(),backgroundColor:Ve().nullable().optional(),textColor:Ve().optional(),address:Ve().optional(),place:Ve().optional()}),Jh=xo,Qh=Co.extend(Yh.shape),Zh=Ao.extend(Yh.shape).extend({noGestion:Ye().nullable().optional(),socialEventCeiling:qe().nullable().optional(),socialEventUseCeiling:Ye().optional(),report:Ve().optional(),reportFile:ln.nullable().optional(),agenda:Ve().optional(),webinarUrlForGuests:Ve().optional(),webinarUrl:Ve().optional(),visioConnectUrl:Ve().optional(),urlGestion:Ve().optional(),qrCodeValue:Ve().optional()}),Xh=lt(["subscribed","unanswered","refused"]),Kh=nt({type:Ve(),dialog:Ye(),favorite:Ye(),url:Ve().optional()}),ep=nt({label:Ve(),entries:tt(Kh)}),tp=tt(ep),np=rt([st("groups"),st("sites"),st("onedrive"),st("group"),st("documents"),st("me")]),rp=Ft({title:Ve(),id:Ve(),type:Ve()}),ip=rp.omit({id:!0}).extend({name:np.optional()}),op=rp,ap=rp.extend({visibility:rt([st("public"),st("private")]).optional()}),sp=rp.extend({mimetype:Ve().optional(),webUrl:Ve().optional(),size:qe().optional()}),lp=sp,cp=sp.extend({_extend:nt({path:Ve()})}),dp=ap.extend(sp.shape),up=nt({id:Ve(),title:Ve(),mail:Ve(),default:Ye().optional()}),hp=nt({title:Ve(),id:Ve(),type:Ve(),mimetype:Ve().optional(),webUrl:Ve().optional()}),pp=nt({msTenant:rt([np,Je()]),msId:rt([Ve(),Je()]),idFolder:rt([Ve(),Je()]),page:qe(),limit:qe(),query:Ve().optional().nullable()}),fp=nt({path_lower:Ve(),query:Ve().optional().nullable()}),mp=nt({id:qe(),name:Ve(),type:Ve(),token:Ve(),size:qe(),mediaKey:Ve()}),gp=nt({token:Ve().optional(),attrName:Ve(),file:nt({service:Ve(),account:Ve(),title:Ve(),mimetype:Ve().optional(),_document:sp})}),vp=nt({id:Ve(),service:Ve()}),yp=nt({service:Ve(),id:Ve()}),bp=nt({account:up}),xp=nt({service:Ve(),account:Ve()}),wp=nt({allow:rt([st("groups"),st("me")]).array().optional(),id:Ve()}),Cp=nt({id:Ve(),documentParams:pp}),Sp=nt({id:Ve(),documentParams:fp}),Ap=nt({query:Ve().optional(),filter:Ve().optional(),id:Ve()}),kp=rt([st(1),st("onSpot"),st("visio"),st("available"),st("unavailable"),st("unknown"),st(0)]),_p=nt({userResponseStatus:kp,subscribersTotal:qe(),subscribeAction:oa,subscribers:gn.array(),isVisio:Ye().optional()}),Ep=nt({actions:aa.array().optional(),comments:ha.extend({_extend:nt({actions:aa.array().optional()})}).array().optional(),attachments:ln.array().optional(),licenses:tt(wh),licensesExtrabot:nt({active:Ye(),monthRequestsMax:qe(),monthRequestsHit:qe()}).optional(),socialEventRecord:_p,messenger:Wl.nullable().optional(),filebank:Ir.nullable().optional(),quarantine:nt({count:qe()}).optional(),quizFieldDefinitions:ot(Ve(),dc),quizResponseRecord:sc,surveyDateRecord:nt({members:gn.array(),responses:bc}),search:Ke(),bookmark:Ke(),contact:Ke()}),Tp=Ep.keyof().array(),Dp=nt({uri:Ve(),name:Ve(),size:qe(),isSynchronized:Ye()}),jp=nt({quotaUsed:qe(),quotaTotal:qe(),percentage:qe()}),Rp=nt({name:Ve(),isSynchronized:Ve(),synchronizationsNb:Ve()}),Mp=nt({page:qe(),limit:qe(),orders:Vn.optional()}),Ip=e=>nt({isActive:Ye(),...e}),Op=e=>Ip({...e,hasLicense:Ye()}),Lp=lt(["drive_microsoft_graph","drive_dropbox","drive_google"]),Pp=Ip({drives:ot(Lp,Ye())}),Bp=Ip({label:Ve(),defaultView:lt(["calendar","list"]),iCalendarUrls:nt({all:Ve(),accepted:Ve()}),externalGestion:Ye()}),Np=Ip({orderBy:Ve(),order:lt(["ASC","DESC"])}),Fp=Ip({}),$p=Ip({maxParticipants:qe(),minParticipantsForSpotDiscussion:qe()}),zp=nt({label:Ve(),description:Ve(),extension:Ve(),icon:Ve(),color:Ve()}),Hp=Op({label:Ve(),description:Ve(),color:Ve(),templates:zp.array(),allowAllDocuments:Ye(),allowPdfEdit:Ye()}),Up=Op({oldViewOptionProperty:Ye()}),Wp=Ip({sendAlert:Ye()}),Gp=Ip({}),Vp=Ip({}),qp=Ip({}),Yp=Ip({create:Ye(),autorize:tt(lt(["message","comment","board","article"]).optional())}),Jp=Op({label:Ve()}),Qp=Op({}),Zp=Ip({label:Ve(),create:Ye()}),Xp=ot(lt(["loginPassword","saml","oAuth"]),lt(["no","optional","mandatory"])),Kp=Op({name:Ve(),providers:Xp,banLifespan:qe()}),ef=Op({}),tf=Op({v2:Ye()}),nf=Op({label:Ve()}),rf=Op({label:Ve()}),of=Op({label:Ve(),menuItems:tt(nt({type:Ve(),text:Ve(),actions:Ve()})).nullable()}),af=Ip({manage:Ye()}),sf=Ip({canCreateTemplate:Ye(),label:Ve()}),lf=Ip({label:Ve(),create:Ye(),description:Ve(),color:Ve(),icon:Ve()}),cf=Ip({label:Ve(),create:Ye()}),df=Op({label:Ve()}),uf=Op({label:Ve()}),hf=Op({label:Ve()}),pf=Ip({label:Ve()}),ff=Ip({}),mf=nt({BigBlueButtonHook:df,ExternalAppHook:ef,DigitalWorkplaceHook:tf,LuccaAbsenceHook:rf,MagicPadHook:Jp,MagicWandHook:of,MediaLibraryHook:Qp,OfficeHook:nf,SpotHook:hf,StudioHook:Up,TwoFactorAuthenticationHook:Kp,VisioConnectHook:uf,WeDocHook:Hp}).partial(),gf=nt({AdminAdvancedHook:Wp,AnimatedMeetingHook:lf,AnimationsHook:ff,BusinessContactHook:pf,calendarHook:Bp,ContentFactoryHook:sf,DriveHook:Pp,ExtraBotHook:Zp,FAQHook:af,FileBankHook:Np,FileIntegrityHook:Fp,JitsiHook:cf,MessengerHook:$p,SharedContentHook:qp,spotRssFeed:Gp,SurveyDateHook:Vp,WidgetHook:Yp}).partial().extend(mf.shape),vf=nt({url:Ve(),aspectRatio:qe()}),yf=rt([st("summarize"),st("develop"),st("reformulate"),st("tldr"),st("en"),st("es"),st("formal"),st("funny")]),bf=nt({text:Ve()}),xf=nt({kind:Ve(),page:qe(),limit:qe(),filters:Gn.array().optional(),orders:zn.array().optional()}),wf=e=>nt({license:rt([st("1"),st("0")]),user:e}),Cf=nt({kind:Ve(),type:Ve(),page:qe(),limit:qe(),filters:Gn.array().optional(),orders:zn.array().optional()}),Sf={all:0,admin:1,custom:2},Af=nt({uri:Ve(),title:Ve(),type:Ve(),mainType:Ve()}),kf=nt({imap_inbox_url:Ve(),dav_calendar_url:Ve(),dav_address_book_url:Ve()}),_f={NONE:"none",SSL:"ssl",STARTTLS:"starttls"},Ef=nt({username:Ve(),hostname:Ve(),imapPort:qe(),imapConnectionSecurity:ct(_f),imapMailbox:Ve(),calDavCalendar:Ve(),cardDavAddressBook:Ve(),provider:Ve().nullable()}),Tf=Ft({...Ef.shape,password:Ve()}),Df=nt({date:Ve(),fromName:Ve(),subject:Ve(),body:Ve(),read:Ye(),attachmentsCount:qe(),url:Ve().nullable()}),jf=nt({summary:Ve(),start:Ve(),end:Ve(),status:Ve(),url:Ve().nullable()}),Rf=nt({fullName:Ve(),lastName:Ve(),firstName:Ve(),initial:Ve(),imageColor:Ve(),url:Ve().nullable()}),Mf=nt({id:Ve(),label:Ve()}),If=nt({color:Ve(),description:Ve(),extension:Ve(),icon:Ve(),label:Ve()}),Of=Ut.extend({title:Ve(),mimetype:Ve(),_extend:nt({generalAccessRule:Ve(),generalAccessHash:rt([Ve(),Je()]),dateModified:Ve(),dateCreation:Ve(),fileInfo:If,parentId:qe(),parentType:Ve(),parentFiles:tt(qe()),_url:Ve()}),_right:en,_user:gn,_audience:tt(Gt)}),Lf=nt({idQuestion:qe(),idResponse:qe()}),Pf=nt({idQuestion:qe()}),Bf=nt({count:qe(),id:Ve()}),Nf=rt([st("AND"),st("OR")]),Ff=nt({facetType:Ve(),facetOptions:rt([ot(rt([nt({}).passthrough(),qe(),Ve()])),tt(Ke())]),facetMode:Nf.optional(),field:Ve(),title:Ve(),description:Ve().optional(),category:Ve().optional()}),$f=nt({id:Ve(),mainType:Ve(),type:Ve().optional(),title:Ve(),cssclass:Ve().optional(),active:Ye().optional(),count:qe().optional(),typesExcluded:tt(Ve()),facets:Ff.array()}),zf=nt({count:qe(),value:Ve(),title:Ve()}),Hf=nt({name:Ve(),count:qe(),values:zf.array(),title:Ve()}),Uf=nt({field:Ve(),value:rt([Ve(),tt(Ve())]),exclude:Ye().optional(),or:Ye().optional()}),Wf=nt({field:Ve(),order:rt([st("desc"),st("asc")])}),Gf=nt({facetLimit:qe(),skipEmptyFacets:Ye()}),Vf=nt({home:nt({mode:rt([st("result"),st("category")]),facets:Ff.array()}),categories:$f.array(),viewcard:ot(tt(nt({name:Ve(),title:Ve()}))),facetMode:Ye()}),qf=nt({name:Ve(),title:Ve(),img:Ve(),icon:Ve().optional(),color:Ve().optional(),urlTarget:lt(["_blank"]).optional(),urlNoReferrer:Ye().optional(),_url:Ve()}),Yf=nt({id:qe().optional(),title:Ve(),picture:Ve().optional(),uri:Ve(),mainType:Ve(),mimetype:Ve().optional(),parentIdInType:qe().optional(),parentType:Ve().optional(),privacy:Ve().optional(),type:Ve().optional(),icon:Ve().optional(),_cssColor:Ve().optional(),_cssClass:Ve().optional(),_url:Ve().optional(),_article:nt({id:Ve(),mainType:Ve()}).optional(),idArticle:qe().optional(),description:Ve().optional(),_user:nt({title:Ve(),uri:Ve()}).optional(),_values:nt({company:Ve().optional(),function:Ve().optional(),privacy:qe().optional(),category:Ve().optional(),dateCreation:Ve(),dateModified:Ve()}).optional()}),Jf=nt({keywords:Ve().optional(),category:Ve().optional(),facetCategories:Ye().optional(),filters:Uf.array().optional(),facets:Ff.array().optional(),page:qe().optional(),limit:qe().optional(),sort:Wf.optional(),options:Gf.optional(),format:Zn.optional()}),Qf=e=>nt({start:qe(),count:qe(),results:tt(e??Gt),facets:Hf.array(),categories:Bf.array()}),Zf=nt({keywords:Ve()}),Xf=rt([qf,Yf]),Kf=nt({title:Ve(),id:Ve(),showAll:Ye().optional(),results:Xf.array()}),em=rt([st("link"),st("invitation")]),tm=nt({id:qe(),title:Ve(),uri:Ve(),idUser:qe(),_right:en}),nm=nt({audience:tt(Or),read:tt(Ve()),write:tt(Ve())}),rm=nt({cache_suffix:Ve(),toolbar:Ve(),language:Ve(),content_css:Ve(),quickbars_selection_toolbar:Ve(),sandbox_iframes:dt(Ye()),sandbox_iframes_exclusions:dt(tt(Ve()))}),im=rm.extend({plugins:tt(Ve()),text_patterns:tt(nt({start:Ve(),end:Ve().optional(),format:Ve().optional(),cmd:Ve().optional()})),height:qe(),menubar:Ye(),branding:Ye(),skin:Ve(),convert_urls:Ye(),invalid_elements:Ve(),extended_valid_elements:Ve(),custom_elements:Ve(),inline_boundaries_selector:Ve(),toolbar_mode:rt([st("floating"),st("sliding"),st("scrolling"),st("wrap")]),promotion:Ye(),font_size_formats:Ve(),contextmenu:rt([Ve(),st(!1)]),paste_data_images:Ye(),browser_spellcheck:Ye(),quickbars_insert_toolbar:Ye(),license_key:st("gpl")}),om=nt({commentsToolbar:Ve()}),am=nt({total:qe(),activated:qe()}),sm=nt({qrCode:Ve(),secret:Ve()}),lm=tt(nt({date:Ve(),activated:qe(),unactivated:qe()})),cm=nt({createdAt:Ve(),filename:Ve(),isExpired:Ye(),url:Ve()}),dm=nt({id:qe(),subject:Ve(),createdAt:Ve(),updatedAt:Ve(),idArticle:qe(),idUser:qe(),user:nt({id:qe(),uri:Ve(),title:Ve()}),stats:nt({participantsNumber:qe(),totalDurationSeconds:qe(),visioSessionsNumber:qe()})}),um=nt({rooms:nt({totalItems:qe(),member:tt(dm)}),platform:nt({sessionsNumber:qe(),durationAverage:qe(),durationMedian:qe(),participantsNumber:qe()})}),hm=nt({id:qe(),room:Ve(),duration:qe(),participantsNb:qe(),startedAt:Ve(),endedAt:Ve()}),pm=nt({totalItems:qe(),member:tt(hm)}),fm="accept",mm="deny",gm=rt([st(fm),st(mm)]),vm=Gt,ym=nt({color:Ve(),description:Ve(),extension:Ve(),icon:Ve(),label:Ve()}),bm=nt({page:qe(),cnt:qe(),limit:qe(),data:tt(Of)}),xm=nt({query:Ve(),filters:qn,orders:Vn,page:qe(),limit:qe()}),wm=nt({});function Cm(e,t){const n=nt(t.reduce((e,t)=>(e[t]=Ep.shape[t],e),{}));return e.extend({_extend:n})}class Sm extends r{create(e){return this.network.postCSRF({o:"contentFactory",f:"createTemplate",...e})}get(e){return this.network.post({o:"article",f:"get",...e,format:Jn.VIEW})}}const Am=e=>rs.safeParse(e).success,km=(e,t)=>"pollSurvey"===t&&Am(e);class _m extends r{getReports(e={},t){return this.network.post({o:"contentReport",f:"list",...e,signal:t?.signal})}createReport(e,t){return this.network.postCSRF({o:"contentReport",f:"createReport",...e,signal:t?.signal})}updateStatus(e,t){return this.network.postCSRF({o:"contentReport",f:"changeStatus",...e,signal:t?.signal})}}class Em extends r{get(e,t){return this.network.post({o:"widget",f:"datasourceGet",uri:e,format:t})}getModel(e){return this.network.post({o:"widget",f:"datasourceGetModel",uri:e})}cancel(e){return this.network.post({o:"widget",f:"datasourceCancel",uri:e})}getObject(e){return this.network.post({o:"widget",f:"datasourceGetObject",uri:e})}updateModel(e,t){return this.network.post({o:"widget",f:"datasourceUpdateModel",uri:e,model:t})}getExcelDatasource(e){return this.network.post({o:"widget",f:"datasourceGetExcelDatasource",uri:e})}getExcelDatasourceHeaders(e,t){return this.network.post({o:"widget",f:"datasourceGetExcelDatasourceHeaders",uri:e,spreadsheet:t})}setExcelDatasource(e,t){return this.network.post({o:"widget",f:"datasourceSetExcelDatasource",uri:e,spreadsheet:t})}create({title:e,datasourceType:t,datasourceIdentifier:n,token:r}){return this.network.postCSRF({o:"widget",f:"datasourceCreate",title:e,datasourceType:t,datasourceIdentifier:n,token:r})}}class Tm extends r{create(e,t,n,r,i){return this.network.post({o:"article",f:"create",type:e,token:t,title:n,dateStart:r,publishTo:i,format:"raw-list"})}getList(e="",t=[],n=[],r=1){return this.network.post({o:"objectList",f:"diapazoneQueryList",query:e,filters:t,orders:n,page:r,format:"raw-list"})}}class Dm extends r{tenants(e,t){return this.network.post({o:"drive",f:"getTenants",...e??{}},t?.signal)}groups(e,t){return this.network.post({o:"drive",f:"getGroups",...e},t?.signal)}sites(e){return this.network.post({o:"drive",f:"getSites"},e?.signal)}listAccount(e,t){return this.network.post({o:"drive",f:"listAccount",service:e},t?.signal)}isAccountLogged(e,t,n){return this.network.post({o:"drive",f:"isAccountLogged",service:e,id:t},n?.signal)}checkAccountToken(e,t){return this.network.post({o:"drive",f:"checkAccountToken",service:e},t?.signal)}msDocuments(e,t){return this.network.post({o:"drive",f:"getDocuments",service:"onedrive",...e},t?.signal)}dropboxDocuments(e,t){return this.network.post({o:"drive",f:"getDocuments",service:"dropbox",...e},t?.signal)}getDocument(e,t){return this.network.post({o:"drive",f:"getDocument",...e,format:t?.format??"raw-little"},t?.signal)}logout(e,t){return this.network.post({o:"drive",f:"logout",...e},t?.signal)}getAccount(e,t){return this.network.post({o:"drive",f:"get-user-data",...e},t?.signal)}setDefaultAccount(e,t){return this.network.post({o:"drive",f:"set-has-default",...e},t?.signal)}}class jm extends r{save(e,t){return this.network.postCSRF({o:"externalApp",f:"save",...e},t?.signal)}list(e){return this.network.post({o:"externalApp",f:"list"},e?.signal)}delete(e,t){return this.network.postCSRF({o:"externalApp",f:"delete",...e},t?.signal)}}class Rm extends r{createBot(e,t){return this.network.postCSRF({o:"extraBot",f:"create",uri:e},t)}updateBot(e,t){return this.network.postCSRF({o:"extraBot",f:"update",uriConfiguration:e},t)}generatePrompt(e){return this.network.post({o:"extraBot",f:"generatePrompt"},e)}list(e,t,n){const r="all"===e?"extraBotAll":"extraBotMines";return this.network.post({o:"objectList",f:r,...t},n?.signal)}}class Mm extends r{getCategoriesList(e,t){return this.network.post({o:"objectList",f:"faqQueryList",format:e??"raw-list",orders:t??[{name:"dateCreation",sort:"ASC"}]})}createCategory(e,t){const n={...e,type:"faq"};return this.jApi.article.create(n,t)}updateCategory(e,t){const n={...e,type:"faq"};return this.jApi.article.update(n,t)}deleteCategory(e){return this.jApi.article.delete(e)}checkItem(e,t,n){return this.network.post({o:"faq",f:"checkItem",query:e,page:t??1,format:n??"raw-list"})}getTaxonomy(){return this.network.post({o:"faq",f:"getFaqTaxonomy"})}getHookProperties(e){return this.network.post({o:"faq",f:"getHookProperties",properties:e??["_web"]})}getAccess(){return this.network.post({o:"faq",f:"access"})}createTheme(e,t){return this.network.postCSRF({o:"faq",f:"add-theme",...e,format:t??"raw-view"})}deleteTheme(e,t){return this.network.postCSRF({o:"faq",f:"delete-theme",...e,format:t??"raw-view"})}updateTheme(e,t){return this.network.postCSRF({o:"faq",f:"set-theme",...e,format:t??"raw-view"})}getEntry(e,t){return this.network.post({o:"faq",f:"get-entry",uri:e,format:t??"raw-view"})}deleteEntry(e){return this.jApi.article.delete(e)}createEntry(e,t){const n={...e,idSpot:["content"],type:"faqItem"};return this.jApi.article.create(n,t)}addEntry(e,t){return this.network.postCSRF({o:"faq",f:"add-entry",...e,format:t??"raw-view"})}updateEntry(e,t){const n={...e,type:"faqItem"};return this.jApi.article.update(n,t)}moveEntry(e,t){return this.network.postCSRF({o:"faq",f:"move-entry",...e,format:t??"raw-view"})}moveTheme(e,t){return this.network.postCSRF({o:"faq",f:"move-theme",...e,format:t??"raw-view"})}}class Im extends r{upload(e){const t=new FormData;return t.append("attrName",e.attrName),e.file?t.append(e.attrName,e.file):e.url&&t.append("url",e.url),t.append("token",e.token),this.network.postFile(t)}async uploadMany(e){return Promise.all(e.map(e=>this.upload(e)))}async get(e,t,n){return this.network.post({o:"file",f:"get",idFile:e,format:t},n?.signal)}async getParent(e,t,n,r){return this.network.post({o:"file",f:"getParent",idFile:e,format:t,hash:n},r?.signal)}async getWithHash(e,t,n,r){return this.network.post({o:"file",f:"getWithHash",idFile:e,hash:t,format:n},r?.signal)}async duplicate(e,t,n){return this.network.postCSRF({o:"file",f:"duplicateFile",idFile:e,title:t,publishTo:n})}async updateFile(e,t){return this.network.postCSRF({o:"file",f:"updateFile",idFile:e,title:t})}async update(e,t,n,r){return this.network.post({o:"file",f:"update",idFile:e,type:t,cropDatas:{...n,rotateBeforeCrop:!0},killSize:n.killSize,format:"raw-little"},r?.signal)}async deleteFile(e,t,n,r){return this.network.post({o:"file",f:"delete",idFile:e,attrName:t,token:n},r)}async deleteImage(e,t,n){return this.network.post({o:"file",f:"deleteImage",id:e,type:t},n?.signal)}getDownload(e,t){return this.network.post({o:"file",f:"getDownload",id:e},t?.signal)}generatePreview(e,t){return this.network.post({o:"file",f:"generatePreview",id:e},t?.signal)}copy(e,t){return this.network.post({o:"file",f:"copy",...e,format:t?.format??"raw-little"},t?.signal)}}class Om extends r{getBanks(e){return this.network.post({o:"fileBank",f:"getBanks",format:e?.format??"raw-list"},e?.signal).then(e=>e.result)}getFolders(e,t){return this.network.post({o:"fileBank",f:"getFolders",parentURI:e,format:t?.format??"raw-list"},t?.signal)}getDocuments(e,t){return this.network.post({o:"fileBank",f:"getDocuments",parentURI:e,format:t?.format??"raw-view"},t?.signal)}getPath(e,t){return this.network.post({o:"fileBank",f:"getPath",uri:e.uri,mode:e.mode??"browse",format:t?.format??"raw-little"},t?.signal)}searchContent(e,t){return this.network.post({o:"fileBank",f:"searchContent",...e,format:t?.format??"raw-little"},t?.signal)}getParents(e,t){return this.network.post({o:"fileBank",f:"getParents",id:e.id,format:t?.format??"raw-little"},t?.signal)}getRootFolders(e,t){return this.network.post({o:"objectList",f:"fileBankRootFolders",query:e.query,format:t?.format??"raw-little"},t?.signal)}}class Lm extends r{list(e,t){return this.network.post({o:"objectList",f:"fileIntegrityQuarantineList",...e},t)}delete(e,t){return this.network.postCSRF({o:"fileIntegrity",f:"delete",id:e},t?.signal)}release(e,t){return this.network.postCSRF({o:"fileIntegrity",f:"release",id:e},t?.signal)}getCommentQuarantines(e,t){return this.network.post({o:"fileIntegrity",f:"commentQuarantinesGet",id:e},t?.signal)}}class Pm extends r{countAction(e,t){return this.network.post({o:"activityLog",f:"log",count:!0,verb:e,uri:t})}addAction(e,t){return this.network.post({o:"customAction",f:"add",...e,format:t??"raw-little"})}updateAction(e,t){return this.network.post({o:"customAction",f:"update",...e,format:"raw-little"},t?.signal)}removeAction(e,t){return this.network.post({o:"customAction",f:"remove",...e,format:"raw-little"},t?.signal)}useWebVersion(){return this.network.post({o:"global",f:"useWebVersion"})}getUsers(e,t){return this.network.post({o:"customAction",f:"getUsers",...e,format:t??"raw-list"})}}class Bm extends r{autocomplete(e){return this.network.post({o:"autocomplete",f:"spot",q:e,idToUri:!1}).then(e=>e.result)}create(e,t){return this.network.post({o:"spot",f:"create",...e,format:t})}update(e,t){const{spotBanner:n,...r}=e;return this.network.postCSRF({o:"spot",f:"update",...r,format:t})}getSpot(e,t){return this.network.post({o:"spot",f:"getSpot",idSpot:e,format:t})}getProperties(e){return this.network.post({o:"spot",f:"getProperties",idSpot:e})}getWidgets(e){return this.network.post({o:"spot",f:"getWidgets",idSpot:e})}getApplications(){return this.network.post({o:"spot",f:"get-available-widget"})}getCategories(){return this.network.post({o:"spot",f:"get-categories"})}getCategoriesConfiguration({signal:e}={}){return this.network.post({o:"spot",f:"getCategoriesConfiguration"},e)}getObjectListJamespotSpotMembers(e,t,n,r=1){return this.network.post({o:"objectListJamespot",f:"SpotMembers",idSpot:e,limit:n,page:r,format:"raw-little",query:t})}list(e,t){return this.network.post({o:"objectList",f:"jamespotSpotQueryList",...e,filters:e.filters?.map(e=>({...e,operator:e.operator?.replace("<","&lt;")??void 0}))??void 0,format:Ed(e.format??"raw-little",t?.formatExtension)},t?.signal)}resetNotifications(e){return this.network.post({o:"spot",f:"resetNotifications",...e})}getUserLevelAndRight(e){return this.network.post({o:"spot",f:"getUserLevelAndRight",idSpot:e})}groupRequest(e){return this.network.postCSRF({o:"spot",f:"request",idSpot:e})}groupAddToFavorite(e){return this.network.postCSRF({o:"spot",f:"addToFavorite",idSpot:e})}objectListSpotArticles(e,t){return this.network.post({o:"objectList",f:"spotArticles",...e,format:Ed(t?.format??"raw-little",t?.formatExtension)},t?.signal)}changeMemberRole(e){return this.network.post({o:"spot",f:"changeRole",...e})}countMembers(e,t){return this.network.postCSRF({o:"spot",f:"countMembers",...e},t)}}class Nm extends r{async getGifs(e,t){return this.network.post({o:"jamespot",f:"giphy",...e,format:"raw"},t?.signal)}}class Fm extends r{async SaveAnimationConfiguration(e){return this.network.post({o:"animations",f:"saveConfiguration",animation:e})}async DeleteAnimation(){return this.network.post({o:"animations",f:"deleteAnimation"})}async GetCurrentAnimation(e){return this.network.post({o:"animations",f:"getConfiguration"},e?.signal)}async GetCurrentAnimationApp(){return this.network.post({o:"animations",f:"getConfigurationApp"})}async ToggleAnimationActive(){return this.network.post({o:"animations",f:"toggleAnimationActive"})}async GetAnimationActive(e){return this.network.post({o:"animations",f:"getAnimationActive"},e?.signal)}async GetAnimationStats(e){return this.network.post({o:"objectList",f:"animationsStats",name:e})}async GetAnimationStatsCurrent(e){return this.network.post({o:"objectList",f:"animationsStatsCurrent",uri:e})}}class $m extends r{get(e,t){return this.network.get("articleTranslation","automaticGet",{idArticle:e.idArticle.toString()},t?.signal)}set({idArticle:e,language:t,title:n,description:r},i){return this.network.postCSRF({o:"articleTranslation",f:"automaticSet",idArticle:e,language:t,title:n,description:r},i?.signal)}delete({idArticle:e,language:t},n){return this.network.postCSRF({o:"articleTranslation",f:"automaticDelete",idArticle:e,language:t},n?.signal)}}class zm extends r{list(e,t,n,r=[{name:"dateCreation",sort:"DESC"}]){return this.jApi.article.list({type:"aseiClearanceTicket",limit:t,page:e,orders:r,filters:n},{format:"raw-view"})}requestStatus(e,t,n){return this.network.post({o:"asei",f:"setStatus",uri:e,requestedStatus:t,audience:n})}getDedicatedGroups(){return this.network.post({o:"asei",f:"getDedicatedGroups"})}getConfiguration(){return this.network.post({o:"asei",f:"configuration"})}}class Hm extends r{statistics(e){return this.network.post({o:"digitalDesk",f:"getStatistics"},e?.signal)}}class Um extends r{getFileBanks(e){return this.network.post({o:"file-sync",f:"getFileBanks"},e)}saveFileBanks(e){return this.network.post({o:"file-sync",f:"saveFileBanks",fileBanks:e})}getUserQuota(e){return this.network.post({o:"file-sync",f:"getUserQuota"},e)}getAdminSpots(e,t){return this.network.post({o:"objectList",f:"fileSyncAdminSpots",...e},t)}}class Wm extends r{textEnhancement({text:e,capacity:t}){return this.network.post({o:"jia",f:"textEnhancement",text:e,capacity:t})}}class Gm extends r{resolveUrl({id:e},t){return this.network.post({o:"jitsi",f:"resolveUrl",id:e},t)}}class Vm extends r{getLogs({dateEnd:e,idLogMax:t}){return this.network.post({o:"jLand",f:"adminLogs",dateEnd:e,idLogMax:t})}getStats({map:e,dateStart:t,dateEnd:n}){return this.network.post({o:"jLand",f:"adminStats",map:e,dateStart:t,dateEnd:n})}getAllMapsAsAdmin(e="raw-list,licenses"){return this.network.post({o:"objectListJLand",f:"jLandList",format:e})}createMap(e,t="raw-list"){return this.network.maybePostToken({...e,o:"article",f:"create",format:t,type:"jlandmap"})}}class qm extends r{async getAbsence(e,t){return this.network.post({o:"lucca",f:"getAbsence",...e},t?.signal)}}class Ym extends r{getThumbnailUrl(e){return this.network.post({o:"magicPad",f:"getThumbnailUrl",uri:e})}}class Jm extends r{GetUnclassifiedFiles(e){return this.network.post({o:"objectListMediaLibrary",f:"GetUnclassifiedFiles",format:e.format,page:e.page??1,limit:e.limit,nolimit:e.nolimit})}getAccess(){return this.network.post({o:"mediaLibrary",f:"access"})}getFoldersStatsList(e=[],t=[],n=1){return this.network.post({o:"objectListMediaLibrary",f:"FoldersStatsList",filters:e,orders:t,page:n})}getFilesStatsList(e=[],t=[],n=1){return this.network.post({o:"objectListMediaLibrary",f:"FilesStatsList",filters:e,orders:t,page:n})}getStats(){return this.network.post({o:"mediaLibrary",f:"moderatorStats"})}readFolder(e){return this.network.post({o:"mediaLibrary",f:"readFolder",uri:e})}readFile(e){return this.network.post({o:"mediaLibrary",f:"readFile",uri:e})}moveFile(e){return this.network.post({format:"raw-list",uri:e.uriFile,mediaLibraryFolderOrientedLinks:e.uriFolder,publishTo:e.publishTo,o:"article",f:"update"})}}class Qm extends r{create(e,t){const n={...e,type:"meeting"};return this.jApi.article.create(n,t)}update(e,t){return this.jApi.article.update(e,t)}}class Zm extends r{settingsSave(e,{signal:t}={}){return this.network.post({o:"menu",f:"settingsSave",...e},t)}}class Xm extends r{sendMessage(e,t){return this.network.post({o:"messenger",f:"newMessage",idDiscussion:t,msg:{description:e}})}getOrCreateDiscussion(e,t){const n=e<t?`${e}.${t}`:`${t}.${e}`;return this.network.post({o:"messenger",f:"getDiscussion",idDiscussion:n,type:"messengerUser",idUserTo:t})}enableDiscussion(e,t){return this.network.postCSRF({o:"messenger",f:"discussionEnable",...e},t?.signal)}disableDiscussion(e,t){return this.network.postCSRF({o:"messenger",f:"discussionDisable",...e},t?.signal)}getSpotDiscussion(e,t){return this.network.post({o:"messenger",f:"getSpotDiscussion",...e},t?.signal)}createSpotDiscussion(e,t){return this.network.postCSRF({o:"messenger",f:"createSpotDiscussion",...e},t?.signal)}getMessageReads(e,t){return this.network.post({o:"messenger",f:"getMessageReads",...e,format:t?.format??Jn.LITTLE},t?.signal)}listRecentDiscussions(e,t){return this.network.postCSRF({o:"messenger",f:"listRecentDiscussions",...e,format:t?.format??Jn.LIST},t?.signal)}}class Km extends r{async getConfiguration(e,t){return this.network.post({o:"module",f:"getConfiguration",...e},t?.signal)}async setConfiguration(e,t){return this.network.postCSRF({o:"module",f:"setConfiguration",...e},t?.signal)}}class eg extends r{getObject(e){return this.network.post({o:"object",f:"getObject",uri:e})}setAccess(e,t,n,r){return this.network.post({o:"object",f:"setAccess",uri:e,access:t,message:n,generalAccessRule:r})}getAccess(e){return this.network.post({o:"object",f:"getAccess",uri:e})}getAccessHash(e){return this.network.post({o:"object",f:"getAccessHash",uri:e})}askAccess(e,t,n){return this.network.postCSRF({o:"object",f:"askAccess",uri:e,askAccess:t,askMessage:n})}getAccessRequest(e,t){return this.network.post({o:"object",f:"getAccessRequest",format:"raw-little",uri:e,idUser:t})}setAccessRequest(e,t,n,r){return this.network.postCSRF({o:"object",f:"setAccessRequest",uri:e,idUser:t,requestAccessValue:n,requestResponseMessage:r})}}class tg extends r{async isConfigurationValid(e){return this.network.post({o:"office",f:"isConfigurationValid"},e?.signal)}async getConfiguration(e){return this.network.post({o:"office",f:"getConfiguration"},e?.signal)}setConfiguration(e,t){return this.network.postCSRF({o:"office",f:"setConfiguration",userConfiguration:e},t?.signal)}async imapInboxCheckConnection(e,t){return this.network.post({o:"office",f:"imapInboxCheckConnection",...e},t?.signal)}async imapInboxGetEmails(e,t){return this.network.post({o:"office",f:"imapInboxGetEmails",...e},t?.signal)}async imapInboxGetUnreadEmailsCount(e){return this.network.post({o:"office",f:"imapInboxGetUnreadEmailsCount"},e?.signal)}async davCalendarCheckConnection(e,t){return this.network.post({o:"office",f:"davCalendarCheckConnection",...e},t?.signal)}async davCalendarGetEvents(e,t){return this.network.post({o:"office",f:"davCalendarGetEvents",...e},t?.signal)}async davAddressBookCheckConnection(e,t){return this.network.post({o:"office",f:"davAddressBookCheckConnection",...e},t?.signal)}async davAddressBookGetContacts(e,t){return this.network.post({o:"office",f:"davAddressBookGetContacts",...e},t?.signal)}async getProviders(e){return this.network.post({o:"office",f:"getProviders"},e?.signal)}async getProviderBaseUrls(e){return this.network.post({o:"office",f:"getProviderBaseUrls"},e?.signal)}}class ng extends r{getFile(e,t){return this.network.post({o:"onlyOffice",f:"getFile",idFile:e,hash:t})}deleteFile(e,t){return this.network.postCSRF({o:"onlyOffice",f:"deleteFile",idFile:e,withParent:t})}createVersion(e){return this.network.post({o:"onlyOffice",f:"createVersion",idFile:e})}}class rg extends r{list(e){return this.jApi.article.list({type:"orgCharts",...e},{format:"raw-list"})}async create(e,t){const n={...e,type:"orgCharts"};return this.jApi.article.create(n,t)}updateExternalUsersImage(e,t,n,r){return this.network.postCSRF({o:"orgCharts",f:"updateExternalUsersImage",id:e,type:t,idCurrentImg:n,idPreviousImg:r})}async getConfiguration(){return this.network.post({o:"orgCharts",f:"configuration"})}}class ig extends r{getPublishButtonSections(e,t){const n={o:"jamespot",f:"publishButtonSections"};return e&&(n.forceDefault=e),this.network.post(n,t?.signal)}}class og extends r{selectResponse(e,t){return this.network.post({o:"socialQuestion",f:"selectResponse",...e},t?.signal)}unselectResponse(e,t){return this.network.post({o:"socialQuestion",f:"unselectResponse",...e},t?.signal)}}class ag extends r{getConfig(){return this.network.post({o:"search",f:"getConfig"})}proposition({query:e,format:t},n){return this.network.post({o:"search",f:"proposition",query:e,format:t||"little"},n)}searchQuery(e,t){const{keywords:n,category:r,facetCategories:i,filters:o,page:a,limit:s,sort:l,options:c,format:d}=e;return this.network.post({o:"search",f:"query",keywords:n,category:r,facetCategories:i,filters:o,page:a,limit:s,sort:l,options:c,format:Ed(d,t?.formatExtension)},t?.signal)}getLastQueries(){return this.network.post({o:"search",f:"getLastQueries"})}getAdminConfig(){return this.network.post({o:"search",f:"getAdminConfig"})}setAdminConfig(e){return this.network.post({o:"search",f:"setAdminConfig",config:e})}}class sg extends r{contentObjectLinks(e){return this.network.post({o:"shared",f:"contentObjectLinks",format:"raw-little",uri:e})}contentSetObjectAccessRule(e,t,n){return this.network.postCSRF({o:"shared",f:"contentSetObjectAccessRule",format:"raw-little",uri:e,rule:t,hash:n})}}class lg extends r{create(e,t){const n={...e,type:"socialEvent"};return this.jApi.article.create(n,t)}update(e,t){return this.jApi.article.update(e,t)}}class cg extends r{list(){return this.network.post({o:"taxonomy",f:"list",format:"raw-little"}).then(e=>{if(Array.isArray(e.result))return e.result;throw"Bad response from backend"})}create({format:e="raw-little",...t}){return this.network.post({o:"taxonomy",f:"create",format:e,...t})}autocomplete(e,t){return this.network.post({o:"autocomplete",f:"taxonomy",q:t,idTaxonomy:e,idToUri:!1})}autocompleteList({format:e="autocomplete",...t}){return this.network.post({o:"objectListTaxonomy",f:"concept",format:e,...t})}autocompleteHierarchy(e){return this.network.post({o:"objectListTaxonomyHierarchy",f:"concept",...e})}}class dg extends r{aiGeneratedToDo(e){return this.network.post({o:"teamWork",f:"aiGeneratedToDo"},e?.signal)}ai24hNotificationsSummary(e){return this.network.post({o:"teamWork",f:"ai24hNotificationsSummary"},e?.signal)}}class ug extends r{createChannel(e,t="raw-list"){return this.network.maybePostToken({...e,o:"article",f:"create",format:t,type:"tvDisplayChannel"})}getChannel(e){return this.network.post({...e,o:"tvDisplay",f:"getChannel"})}getConfigureChannel(e){return this.network.post({...e,o:"tvDisplay",f:"getConfigureChannel"})}}class hg extends r{hasSecret(e){return this.network.get("twoFactorAuthentication","hasSecret",void 0,e)}twoFactorAuthenticationGenerateConfiguration(e){return this.network.postCSRF({o:"twoFactorAuthentication",f:"generateConfiguration"},e)}verifyKey(e,t){return this.network.postCSRF({o:"twoFactorAuthentication",f:"verifyKey",key:e},t)}resetSecret(e){return this.network.postCSRF({o:"twoFactorAuthentication",f:"resetSecret"},e)}isKeyValid(e,t){return this.network.postCSRF({o:"twoFactorAuthentication",f:"isKeyValid",...e},t)}activationStatistics(e){return this.network.get("twoFactorAuthentication","activationStatistics",void 0,e)}twoFactorAuthenticationGetUserMail(e){return this.network.get("twoFactorAuthentication","getUserMail",void 0,e)}twoFactorAuthenticationDailyActivationStatistics(e,t,n){return this.network.get("twoFactorAuthentication","dailyActivationStatistics",{dateStart:e,dateEnd:t},n)}}class pg extends r{autocomplete(e,t,n){return this.network.post({o:"autocomplete",f:"user",q:e,idToUri:!1,limit:t,format:n}).then(e=>e.result)}get(e,t="little",n){return this.network.post({o:"user",f:"get",uri:e,format:t},n)}updateImage(e,t="raw-little"){return this.network.postCSRF({o:"user",f:"updateImage",idFile:e,format:t})}updateBanner(e,t="raw-little"){return this.network.postCSRF({o:"user",f:"updateBanner",idFile:e,format:t})}updateMail(e,t){return this.network.postCSRF({o:"user",f:"editMail",mail:e,password:t})}checkPassword(e,t){return this.network.postCSRF({o:"user",f:"checkPassword",password:e},t)}userUpdateProfile(e){return this.network.postCSRF({o:"user",f:"updateProfile",...e})}configuration(){return this.network.post({o:"userDirectory",f:"configuration"})}fieldsConfiguration(){return this.network.post({o:"user",f:"fieldsConfiguration"})}userList(e,t){return this.network.post({o:"objectList",f:"JamespotUserList",...e,format:Ed(e.format,t?.formatExtension)},t?.signal)}userQueryList(e,t){return this.network.post({o:"objectList",f:"JamespotUserQueryList",...e,format:Ed(e.format,t?.formatExtension)})}userMap(e){return this.network.post({o:"objectListJamespot",f:"userMap",...e})}userBusinessContactQueryList(e,t){return this.network.post({o:"businessContact",f:"queryList",...e},t?.signal)}userCreateBusinessContact(e,t){const n={...{...e,pseudo:e.title,firstName:e.firstname,lastName:e.lastname,champ1:e.field1,champ2:e.field2,champ3:e.field3,champ4:e.field4,champ5:e.field5},type:"businessContactCard",publishTo:"networkPublic/1"};return this.jApi.article.create(n,t)}userUpdateBusinessContact(e,t){const n={...{...e,pseudo:e.title,firstName:e.firstname,lastName:e.lastname,champ1:e.field1,champ2:e.field2,champ3:e.field3,champ4:e.field4,champ5:e.field5},uri:e.uri,publishTo:"networkPublic/1"};return this.jApi.article.update(n,t)}userDeleteBusinessContact(e){return this.jApi.article.delete(e)}userAddContact(e){return this.network.post({o:"user",f:"addContact",idUser:e})}userRemoveContact(e){return this.network.post({o:"user",f:"removeContact",idUser:e})}signIn(e,t,n){return this.network.post({o:"user",f:"signIn",mail:e,password:t,format:n??"raw-view"})}getFields(e,t){return this.network.post({o:"user",f:"getFields",idUser:e,fieldsType:t})}getSpots({format:e="raw-little",...t}={},{signal:n}={}){return this.network.post({o:"user",f:"getSpots",...t,format:e},n)}getNotificationsConfiguration(e){return this.network.post({o:"user",f:"getNotificationsConfiguration"},e?.signal)}setNotificationsConfiguration(e){return this.network.postCSRF({o:"user",f:"setNotificationsConfiguration",userNotificationsConfiguration:e})}getProperty(e,t){return this.network.post({o:"user",f:"getProperty",name:e},t?.signal)}setProperty(e,t,n){return this.network.postCSRF({o:"user",f:"setProperty",name:e,value:JSON.stringify(t)},n?.signal)}}class fg extends r{recordingDelete(e,t,n){return this.network.post({o:"visioConnect",f:"videoRecordingDelete",id:e,filename:t},n?.signal)}statistics(e,t){return this.network.post({o:"visioConnect",f:"statistics",...e},t?.signal)}statisticsRoomSessions(e,t){return this.network.post({o:"visioConnect",f:"statisticsRoomSessions",...e},t?.signal)}resolveUrl({uri:e},t){return this.network.post({o:"visioConnect",f:"resolveUrl",uri:e},t)}}class mg extends r{getFiles(e){return this.network.post({o:"weDoc",f:"getFiles",...e})}getTemplates(e){return this.network.post({o:"weDoc",f:"getTemplates"},e)}createFile(e,t,n){return this.network.postCSRF({o:"weDoc",f:"createFile",title:e,type:t,publishTo:n})}updateFile(e,t){return this.network.postCSRF({o:"weDoc",f:"updateFile",idFile:e,title:t})}}class gg extends r{responseUserList(e,t,n){return this.network.post({o:"widget",f:"responseUserList",uri:e,uniqid:t,page:n})}removeWidget({id:e,type:t,uniqid:n}){return this.network.post({o:"widget",f:"removeWidget",id:e,type:t,uniqid:n})}updateWidget({id:e,uniqid:t,content:n,title:r,type:i,uri:o,v2:a=!1}){return this.network.post({o:"widget",f:"updateWidget",uri:o,id:e,uniqid:t,content:n,title:r,type:i,v2:a})}getWidget({uri:e,uniqid:t},n){return this.network.post({o:"widget",f:"getWidget",uri:e,uniqid:t},n)}checkListRespond({id:e,type:t,uri:n,idUser:r,uniqid:i,index:o}){return this.network.post({o:"widget",f:"checkListRespond",uri:n,id:e,type:t,uniqid:i,idUser:r,index:o})}checkListGetResponse({uri:e,uniqid:t}){return this.network.post({o:"widget",f:"checkListGetResponse",uri:e,uniqid:t})}presenceRespond({id:e,type:t,uri:n,value:r,uniqid:i},o){return this.network.post({o:"widget",f:"presenceRespond",uri:n,id:e,type:t,value:r,uniqid:i},o)}presenceCancel({uri:e,uniqid:t},n){return this.network.postCSRF({o:"widget",f:"presenceCancel",uri:e,uniqid:t},n)}presenceGetResponse({uri:e,uniqid:t},n){return this.network.post({o:"widget",f:"presenceGetResponse",uri:e,uniqid:t},n)}quickSurveyGetResponse({uri:e,uniqid:t},n){return this.network.post({o:"widget",f:"quickSurveyGetResponse",uri:e,uniqid:t},n)}quickSurveyAddEnty({uri:e,uniqid:t,label:n},r){return this.network.postCSRF({o:"widget",f:"quickSurveyAddEntry",uri:e,label:n,uniqid:t},r)}quickSurveyRespond({id:e,type:t,uri:n,index:r,multi:i,uniqid:o},a){return this.network.postCSRF({o:"widget",f:"quickSurveyRespond",id:e,type:t,uri:n,index:r,multi:i,uniqid:o},a)}quickSurveyGetResponseUserList({uri:e,uniqid:t,index:n,page:r,limit:i},o){return this.network.post({o:"widget",f:"quickSurveyGetResponseUserList",uri:e,uniqid:t,index:n,page:r,limit:i},o)}presenceGetResponseUserList({uri:e,uniqid:t,index:n,page:r,limit:i},o){return this.network.post({o:"widget",f:"presenceGetResponseUserList",uri:e,uniqid:t,index:n,page:r,limit:i},o)}}class vg{version="1.0";network;admin;application;article;articleTranslation;asei;assetReservation;audience;bbb;bookmark;businessNetworking;calendar;community;contentFactory;contentReport;publishButton;datasource;diapazone;digitalDesk;drive;externalApp;extraBot;faq;file;filebank;fileIntegrity;fileSync;global;group;jamespot;jia;jitsi;jland;lucca;magicPad;mediaLibrary;meeting;menu;messenger;module;object;office;onlyOffice;questionAnswer;search;share;socialEvent;taxonomy;teamWork;tvDisplay;twoFactorAuthentication;user;visioConnect;wedoc;widget;animations;orgcharts;constructor(e){this.network=e,this.admin={advanced:new i(this),license:new Vd(this),logs:new qd(this),store:new Yd(this),utils:new Jd(this)},this.application=new uu(this),this.article=new hu(this),this.articleTranslation=new $m(this),this.asei=new zm(this),this.assetReservation=new pu(this),this.audience=new fu(this),this.bbb=new mu(this),this.bookmark=new gu(this),this.businessNetworking=new vu(this),this.calendar=new yu(this),this.community=new bu(this),this.contentFactory=new Sm(this),this.contentReport=new _m(this),this.publishButton=new ig(this),this.datasource=new Em(this),this.diapazone=new Tm(this),this.digitalDesk=new Hm(this),this.drive=new Dm(this),this.externalApp=new jm(this),this.extraBot=new Rm(this),this.faq=new Mm(this),this.file=new Im(this),this.filebank=new Om(this),this.fileIntegrity=new Lm(this),this.fileSync=new Um(this),this.global=new Pm(this),this.group=new Bm(this),this.jamespot=new Nm(this),this.jia=new Wm(this),this.jitsi=new Gm(this),this.jland=new Vm(this),this.lucca=new qm(this),this.magicPad=new Ym(this),this.mediaLibrary=new Jm(this),this.meeting=new Qm(this),this.messenger=new Xm(this),this.menu=new Zm(this),this.module=new Km(this),this.object=new eg(this),this.office=new tg(this),this.onlyOffice=new ng(this),this.questionAnswer=new og(this),this.search=new ag(this),this.share=new sg(this),this.socialEvent=new lg(this),this.taxonomy=new cg(this),this.teamWork=new dg(this),this.tvDisplay=new ug(this),this.twoFactorAuthentication=new hg(this),this.user=new pg(this),this.visioConnect=new fg(this),this.wedoc=new mg(this),this.widget=new gg(this),this.animations=new Fm(this),this.orgcharts=new rg(this)}}class yg{async getBackendUrl(){const e=window.location;return`${e.protocol}//${e.host}`}fetch(e,t){return window.fetch(e,t)}}const bg=new wd(new yg),xg=new vg(bg);window.JamespotUserApi=xg;const wg=xg,Cg=vg;e.exports=n})()},2945:e=>{e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var c=o[l];if(!s(c))return!1;var d=e[c],u=t[c];if(!1===(i=n?n.call(r,d,u,c):void 0)||void 0===i&&d!==u)return!1}return!0}},2985:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3212:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!==i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!==i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!==i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},3249:(e,t,n)=>{var r=n(5543);function i(e,t){this.totalCount=e,this.dataCount=t}i.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],i.getRSBlocks=function(e,t){var n=i.getRsBlockTable(e,t);if(null==n)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var r=n.length/3,o=new Array,a=0;a<r;a++)for(var s=n[3*a+0],l=n[3*a+1],c=n[3*a+2],d=0;d<s;d++)o.push(new i(l,c));return o},i.getRsBlockTable=function(e,t){switch(t){case r.L:return i.RS_BLOCK_TABLE[4*(e-1)+0];case r.M:return i.RS_BLOCK_TABLE[4*(e-1)+1];case r.Q:return i.RS_BLOCK_TABLE[4*(e-1)+2];case r.H:return i.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},e.exports=i},3278:(e,t,n)=>{"use strict";var r=n(758),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,d=r[1];return s(function(){i.value=n,i.getSnapshot=t,c(i)&&d({inst:i})},[e,n,t]),a(function(){return c(i)&&d({inst:i}),e(function(){c(i)&&d({inst:i})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:d},3434:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(i," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},3517:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(3434),i=n.n(r),o=n(6170),a=n.n(o)()(i());a.push([e.id,".react-reset {\n visibility: visible;\n}\n\n.react-reset input[type='text'] {\n box-shadow: none;\n}\n\n.react-reset * {\n align-content: stretch;\n align-items: stretch;\n align-self: auto;\n animation-delay: 0s;\n animation-direction: normal;\n animation-duration: 0s;\n animation-fill-mode: none;\n animation-iteration-count: 1;\n animation-name: none;\n animation-play-state: running;\n animation-timing-function: ease;\n azimuth: center;\n backface-visibility: visible;\n background-attachment: scroll;\n background-blend-mode: normal;\n background-clip: border-box;\n background-color: transparent;\n background-image: none;\n background-origin: padding-box;\n background-position: 0% 0%;\n background-repeat: repeat;\n background-size: auto auto;\n border-block-end-color: currentcolor;\n border-block-end-style: none;\n border-block-end-width: medium;\n border-block-start-color: currentcolor;\n border-block-start-style: none;\n border-block-start-width: medium;\n border-bottom-color: currentcolor;\n border-bottom-style: none;\n border-bottom-width: medium;\n border-collapse: separate;\n border-image-outset: 0s;\n border-image-repeat: stretch;\n border-image-slice: 100%;\n border-image-source: none;\n border-image-width: 1;\n border-inline-end-color: currentcolor;\n border-inline-end-style: none;\n border-inline-end-width: medium;\n border-inline-start-color: currentcolor;\n border-inline-start-style: none;\n border-inline-start-width: medium;\n border-left-color: currentcolor;\n border-left-style: none;\n border-left-width: medium;\n border-right-color: currentcolor;\n border-right-style: none;\n border-right-width: medium;\n border-spacing: 0;\n border-top-color: currentcolor;\n\n border-top-style: none;\n border-top-width: medium;\n bottom: auto;\n box-decoration-break: slice;\n box-sizing: border-box;\n break-after: auto;\n break-before: auto;\n break-inside: auto;\n caption-side: top;\n caret-color: auto;\n clear: none;\n clip: auto;\n color: inherit;\n column-count: auto;\n column-fill: balance;\n column-gap: normal;\n column-rule-color: currentcolor;\n column-rule-style: none;\n column-rule-width: medium;\n column-span: none;\n column-width: auto;\n content: normal;\n counter-increment: none;\n counter-reset: none;\n empty-cells: show;\n flex-basis: auto;\n flex-direction: row;\n flex-grow: 0;\n flex-shrink: 1;\n flex-wrap: nowrap;\n float: none;\n font-feature-settings: normal;\n font-kerning: auto;\n font-language-override: normal;\n font-stretch: normal;\n font-synthesis: weight style;\n font-variant: normal;\n font-variant-alternates: normal;\n font-variant-caps: normal;\n font-variant-east-asian: normal;\n font-variant-ligatures: normal;\n font-variant-numeric: normal;\n font-variant-position: normal;\n grid-auto-columns: auto;\n grid-auto-flow: row;\n grid-auto-rows: auto;\n grid-column-end: auto;\n grid-column-gap: 0;\n grid-column-start: auto;\n grid-row-end: auto;\n grid-row-gap: 0;\n grid-row-start: auto;\n grid-template-areas: none;\n grid-template-columns: none;\n grid-template-rows: none;\n hyphens: manual;\n image-orientation: 0deg;\n image-rendering: auto;\n image-resolution: 1dppx;\n ime-mode: auto;\n isolation: auto;\n justify-content: flex-start;\n left: auto;\n letter-spacing: inherit;\n line-break: auto;\n list-style-image: none;\n list-style-position: outside;\n margin-block-end: 0;\n margin-block-start: 0;\n margin-bottom: 0;\n margin-inline-end: 0;\n margin-inline-start: 0;\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n mask-clip: border-box;\n mask-composite: add;\n mask-image: none;\n mask-mode: match-source;\n mask-origin: border-box;\n mask-position: 0% 0%;\n mask-repeat: repeat;\n mask-size: auto;\n mask-type: luminance;\n max-height: none;\n max-width: none;\n min-height: none;\n min-inline-size: none;\n min-width: none;\n mix-blend-mode: normal;\n object-fit: fill;\n object-position: 50% 50%;\n offset-block-end: auto;\n offset-block-start: auto;\n offset-inline-end: auto;\n offset-inline-start: auto;\n opacity: 1;\n order: 0;\n orphans: 2;\n outline-color: initial;\n outline-offset: 0;\n outline-style: none;\n outline-width: medium;\n padding-block-end: 0;\n padding-block-start: 0;\n padding-bottom: 0;\n padding-inline-end: 0;\n padding-inline-start: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n page-break-after: auto;\n page-break-before: auto;\n page-break-inside: auto;\n perspective: none;\n perspective-origin: 50% 50%;\n pointer-events: auto;\n position: static;\n quotes: initial;\n resize: none;\n right: auto;\n ruby-align: space-around;\n ruby-merge: separate;\n ruby-position: over;\n scroll-behavior: auto;\n scroll-snap-coordinate: none;\n scroll-snap-destination: 0px 0px;\n scroll-snap-points-x: none;\n scroll-snap-points-y: none;\n scroll-snap-type: none;\n shape-image-threshold: 0;\n shape-margin: 0;\n shape-outside: none;\n tab-size: 8;\n table-layout: auto;\n text-align: initial;\n text-align-last: auto;\n text-combine-upright: none;\n text-emphasis-color: currentcolor;\n text-emphasis-position: over right;\n text-emphasis-style: none;\n text-indent: 0;\n text-justify: auto;\n text-orientation: mixed;\n text-overflow: clip;\n text-rendering: auto;\n text-shadow: none;\n text-transform: none;\n text-underline-position: auto;\n top: auto;\n touch-action: auto;\n transform-box: border-box;\n transform-origin: 50% 50% 0;\n transform-style: flat;\n transition-delay: 0s;\n transition-duration: 0s;\n transition-property: all;\n transition-timing-function: ease;\n vertical-align: baseline;\n visibility: inherit;\n widows: 2;\n will-change: auto;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n writing-mode: horizontal-tb;\n z-index: unset;\n}\n\n/* trick to reset transform on svg and g because of ORGCHARTS lib */\n\n.react-reset:not(svg),\n.react-reset:not(g) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n transform: none;\n box-shadow: none;\n -webkit-box-shadow: none;\n filter: none;\n clip-path: none;\n}\n","",{version:3,sources:["webpack://./src/components/JRCThemeProvider/theme-reset.css"],names:[],mappings:"AAAA;IACI,mBAAmB;AACvB;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,sBAAsB;IACtB,oBAAoB;IACpB,gBAAgB;IAChB,mBAAmB;IACnB,2BAA2B;IAC3B,sBAAsB;IACtB,yBAAyB;IACzB,4BAA4B;IAC5B,oBAAoB;IACpB,6BAA6B;IAC7B,+BAA+B;IAC/B,eAAe;IACf,4BAA4B;IAC5B,6BAA6B;IAC7B,6BAA6B;IAC7B,2BAA2B;IAC3B,6BAA6B;IAC7B,sBAAsB;IACtB,8BAA8B;IAC9B,0BAA0B;IAC1B,yBAAyB;IACzB,0BAA0B;IAC1B,oCAAoC;IACpC,4BAA4B;IAC5B,8BAA8B;IAC9B,sCAAsC;IACtC,8BAA8B;IAC9B,gCAAgC;IAChC,iCAAiC;IACjC,yBAAyB;IACzB,2BAA2B;IAC3B,yBAAyB;IACzB,uBAAuB;IACvB,4BAA4B;IAC5B,wBAAwB;IACxB,yBAAyB;IACzB,qBAAqB;IACrB,qCAAqC;IACrC,6BAA6B;IAC7B,+BAA+B;IAC/B,uCAAuC;IACvC,+BAA+B;IAC/B,iCAAiC;IACjC,+BAA+B;IAC/B,uBAAuB;IACvB,yBAAyB;IACzB,gCAAgC;IAChC,wBAAwB;IACxB,0BAA0B;IAC1B,iBAAiB;IACjB,8BAA8B;;IAE9B,sBAAsB;IACtB,wBAAwB;IACxB,YAAY;IACZ,2BAA2B;IAC3B,sBAAsB;IACtB,iBAAiB;IACjB,kBAAkB;IAClB,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,WAAW;IACX,UAAU;IACV,cAAc;IACd,kBAAkB;IAClB,oBAAoB;IACpB,kBAAkB;IAClB,+BAA+B;IAC/B,uBAAuB;IACvB,yBAAyB;IACzB,iBAAiB;IACjB,kBAAkB;IAClB,eAAe;IACf,uBAAuB;IACvB,mBAAmB;IACnB,iBAAiB;IACjB,gBAAgB;IAChB,mBAAmB;IACnB,YAAY;IACZ,cAAc;IACd,iBAAiB;IACjB,WAAW;IACX,6BAA6B;IAC7B,kBAAkB;IAClB,8BAA8B;IAC9B,oBAAoB;IACpB,4BAA4B;IAC5B,oBAAoB;IACpB,+BAA+B;IAC/B,yBAAyB;IACzB,+BAA+B;IAC/B,8BAA8B;IAC9B,4BAA4B;IAC5B,6BAA6B;IAC7B,uBAAuB;IACvB,mBAAmB;IACnB,oBAAoB;IACpB,qBAAqB;IACrB,kBAAkB;IAClB,uBAAuB;IACvB,kBAAkB;IAClB,eAAe;IACf,oBAAoB;IACpB,yBAAyB;IACzB,2BAA2B;IAC3B,wBAAwB;IACxB,eAAe;IACf,uBAAuB;IACvB,qBAAqB;IACrB,uBAAuB;IACvB,cAAc;IACd,eAAe;IACf,2BAA2B;IAC3B,UAAU;IACV,uBAAuB;IACvB,gBAAgB;IAChB,sBAAsB;IACtB,4BAA4B;IAC5B,mBAAmB;IACnB,qBAAqB;IACrB,gBAAgB;IAChB,oBAAoB;IACpB,sBAAsB;IACtB,cAAc;IACd,eAAe;IACf,aAAa;IACb,qBAAqB;IACrB,mBAAmB;IACnB,gBAAgB;IAChB,uBAAuB;IACvB,uBAAuB;IACvB,oBAAoB;IACpB,mBAAmB;IACnB,eAAe;IACf,oBAAoB;IACpB,gBAAgB;IAChB,eAAe;IACf,gBAAgB;IAChB,qBAAqB;IACrB,eAAe;IACf,sBAAsB;IACtB,gBAAgB;IAChB,wBAAwB;IACxB,sBAAsB;IACtB,wBAAwB;IACxB,uBAAuB;IACvB,yBAAyB;IACzB,UAAU;IACV,QAAQ;IACR,UAAU;IACV,sBAAsB;IACtB,iBAAiB;IACjB,mBAAmB;IACnB,qBAAqB;IACrB,oBAAoB;IACpB,sBAAsB;IACtB,iBAAiB;IACjB,qBAAqB;IACrB,uBAAuB;IACvB,eAAe;IACf,gBAAgB;IAChB,cAAc;IACd,sBAAsB;IACtB,uBAAuB;IACvB,uBAAuB;IACvB,iBAAiB;IACjB,2BAA2B;IAC3B,oBAAoB;IACpB,gBAAgB;IAChB,eAAe;IACf,YAAY;IACZ,WAAW;IACX,wBAAwB;IACxB,oBAAoB;IACpB,mBAAmB;IACnB,qBAAqB;IACrB,4BAA4B;IAC5B,gCAAgC;IAChC,0BAA0B;IAC1B,0BAA0B;IAC1B,sBAAsB;IACtB,wBAAwB;IACxB,eAAe;IACf,mBAAmB;IACnB,WAAW;IACX,kBAAkB;IAClB,mBAAmB;IACnB,qBAAqB;IACrB,0BAA0B;IAC1B,iCAAiC;IACjC,kCAAkC;IAClC,yBAAyB;IACzB,cAAc;IACd,kBAAkB;IAClB,uBAAuB;IACvB,mBAAmB;IACnB,oBAAoB;IACpB,iBAAiB;IACjB,oBAAoB;IACpB,6BAA6B;IAC7B,SAAS;IACT,kBAAkB;IAClB,yBAAyB;IACzB,2BAA2B;IAC3B,qBAAqB;IACrB,oBAAoB;IACpB,uBAAuB;IACvB,wBAAwB;IACxB,gCAAgC;IAChC,wBAAwB;IACxB,mBAAmB;IACnB,SAAS;IACT,iBAAiB;IACjB,kBAAkB;IAClB,oBAAoB;IACpB,iBAAiB;IACjB,2BAA2B;IAC3B,cAAc;AAClB;;AAEA,mEAAmE;;AAEnE;;IAEI,yBAAyB;IACzB,0BAA0B;IAC1B,4BAA4B;IAC5B,6BAA6B;IAC7B,eAAe;IACf,gBAAgB;IAChB,wBAAwB;IACxB,YAAY;IACZ,eAAe;AACnB",sourcesContent:[".react-reset {\n visibility: visible;\n}\n\n.react-reset input[type='text'] {\n box-shadow: none;\n}\n\n.react-reset * {\n align-content: stretch;\n align-items: stretch;\n align-self: auto;\n animation-delay: 0s;\n animation-direction: normal;\n animation-duration: 0s;\n animation-fill-mode: none;\n animation-iteration-count: 1;\n animation-name: none;\n animation-play-state: running;\n animation-timing-function: ease;\n azimuth: center;\n backface-visibility: visible;\n background-attachment: scroll;\n background-blend-mode: normal;\n background-clip: border-box;\n background-color: transparent;\n background-image: none;\n background-origin: padding-box;\n background-position: 0% 0%;\n background-repeat: repeat;\n background-size: auto auto;\n border-block-end-color: currentcolor;\n border-block-end-style: none;\n border-block-end-width: medium;\n border-block-start-color: currentcolor;\n border-block-start-style: none;\n border-block-start-width: medium;\n border-bottom-color: currentcolor;\n border-bottom-style: none;\n border-bottom-width: medium;\n border-collapse: separate;\n border-image-outset: 0s;\n border-image-repeat: stretch;\n border-image-slice: 100%;\n border-image-source: none;\n border-image-width: 1;\n border-inline-end-color: currentcolor;\n border-inline-end-style: none;\n border-inline-end-width: medium;\n border-inline-start-color: currentcolor;\n border-inline-start-style: none;\n border-inline-start-width: medium;\n border-left-color: currentcolor;\n border-left-style: none;\n border-left-width: medium;\n border-right-color: currentcolor;\n border-right-style: none;\n border-right-width: medium;\n border-spacing: 0;\n border-top-color: currentcolor;\n\n border-top-style: none;\n border-top-width: medium;\n bottom: auto;\n box-decoration-break: slice;\n box-sizing: border-box;\n break-after: auto;\n break-before: auto;\n break-inside: auto;\n caption-side: top;\n caret-color: auto;\n clear: none;\n clip: auto;\n color: inherit;\n column-count: auto;\n column-fill: balance;\n column-gap: normal;\n column-rule-color: currentcolor;\n column-rule-style: none;\n column-rule-width: medium;\n column-span: none;\n column-width: auto;\n content: normal;\n counter-increment: none;\n counter-reset: none;\n empty-cells: show;\n flex-basis: auto;\n flex-direction: row;\n flex-grow: 0;\n flex-shrink: 1;\n flex-wrap: nowrap;\n float: none;\n font-feature-settings: normal;\n font-kerning: auto;\n font-language-override: normal;\n font-stretch: normal;\n font-synthesis: weight style;\n font-variant: normal;\n font-variant-alternates: normal;\n font-variant-caps: normal;\n font-variant-east-asian: normal;\n font-variant-ligatures: normal;\n font-variant-numeric: normal;\n font-variant-position: normal;\n grid-auto-columns: auto;\n grid-auto-flow: row;\n grid-auto-rows: auto;\n grid-column-end: auto;\n grid-column-gap: 0;\n grid-column-start: auto;\n grid-row-end: auto;\n grid-row-gap: 0;\n grid-row-start: auto;\n grid-template-areas: none;\n grid-template-columns: none;\n grid-template-rows: none;\n hyphens: manual;\n image-orientation: 0deg;\n image-rendering: auto;\n image-resolution: 1dppx;\n ime-mode: auto;\n isolation: auto;\n justify-content: flex-start;\n left: auto;\n letter-spacing: inherit;\n line-break: auto;\n list-style-image: none;\n list-style-position: outside;\n margin-block-end: 0;\n margin-block-start: 0;\n margin-bottom: 0;\n margin-inline-end: 0;\n margin-inline-start: 0;\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n mask-clip: border-box;\n mask-composite: add;\n mask-image: none;\n mask-mode: match-source;\n mask-origin: border-box;\n mask-position: 0% 0%;\n mask-repeat: repeat;\n mask-size: auto;\n mask-type: luminance;\n max-height: none;\n max-width: none;\n min-height: none;\n min-inline-size: none;\n min-width: none;\n mix-blend-mode: normal;\n object-fit: fill;\n object-position: 50% 50%;\n offset-block-end: auto;\n offset-block-start: auto;\n offset-inline-end: auto;\n offset-inline-start: auto;\n opacity: 1;\n order: 0;\n orphans: 2;\n outline-color: initial;\n outline-offset: 0;\n outline-style: none;\n outline-width: medium;\n padding-block-end: 0;\n padding-block-start: 0;\n padding-bottom: 0;\n padding-inline-end: 0;\n padding-inline-start: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n page-break-after: auto;\n page-break-before: auto;\n page-break-inside: auto;\n perspective: none;\n perspective-origin: 50% 50%;\n pointer-events: auto;\n position: static;\n quotes: initial;\n resize: none;\n right: auto;\n ruby-align: space-around;\n ruby-merge: separate;\n ruby-position: over;\n scroll-behavior: auto;\n scroll-snap-coordinate: none;\n scroll-snap-destination: 0px 0px;\n scroll-snap-points-x: none;\n scroll-snap-points-y: none;\n scroll-snap-type: none;\n shape-image-threshold: 0;\n shape-margin: 0;\n shape-outside: none;\n tab-size: 8;\n table-layout: auto;\n text-align: initial;\n text-align-last: auto;\n text-combine-upright: none;\n text-emphasis-color: currentcolor;\n text-emphasis-position: over right;\n text-emphasis-style: none;\n text-indent: 0;\n text-justify: auto;\n text-orientation: mixed;\n text-overflow: clip;\n text-rendering: auto;\n text-shadow: none;\n text-transform: none;\n text-underline-position: auto;\n top: auto;\n touch-action: auto;\n transform-box: border-box;\n transform-origin: 50% 50% 0;\n transform-style: flat;\n transition-delay: 0s;\n transition-duration: 0s;\n transition-property: all;\n transition-timing-function: ease;\n vertical-align: baseline;\n visibility: inherit;\n widows: 2;\n will-change: auto;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n writing-mode: horizontal-tb;\n z-index: unset;\n}\n\n/* trick to reset transform on svg and g because of ORGCHARTS lib */\n\n.react-reset:not(svg),\n.react-reset:not(g) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n transform: none;\n box-shadow: none;\n -webkit-box-shadow: none;\n filter: none;\n clip-path: none;\n}\n"],sourceRoot:""}]);const s=a},4049:(e,t,n)=>{"use strict";var r=n(758),i=n(809),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useSyncExternalStore,s=r.useRef,l=r.useEffect,c=r.useMemo,d=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var u=s(null);if(null===u.current){var h={hasValue:!1,value:null};u.current=h}else h=u.current;u=c(function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==i&&h.hasValue){var t=h.value;if(i(t,e))return s=t}return s=e}if(t=s,o(a,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(a=e,t):(a=e,s=n)}var a,s,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,n,r,i]);var p=a(e,u[0],u[1]);return l(function(){h.hasValue=!0,h.value=p},[p]),d(p),p}},4060:(e,t,n)=>{var r=n(2516),i=n(3517);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},4212:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(3434),i=n.n(r),o=n(6170),a=n.n(o)()(i());a.push([e.id,".react-icon[class^='icon-fs-'],\n.react-icon[class*=' icon-fs-'] {\n font-family: 'fontSpot' !important;\n speak: none;\n font-style: normal;\n font-variant: normal;\n text-transform: none;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n","",{version:3,sources:["webpack://./src/components/JRCThemeProvider/fontspot-icons.css"],names:[],mappings:"AAAA;;IAEI,kCAAkC;IAClC,WAAW;IACX,kBAAkB;IAClB,oBAAoB;IACpB,oBAAoB;IACpB,mCAAmC;IACnC,kCAAkC;AACtC",sourcesContent:[".react-icon[class^='icon-fs-'],\n.react-icon[class*=' icon-fs-'] {\n font-family: 'fontSpot' !important;\n speak: none;\n font-style: normal;\n font-variant: normal;\n text-transform: none;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n"],sourceRoot:""}]);const s=a},4276:(e,t,n)=>{"use strict";e.exports=n(6936)},4568:(e,t,n)=>{var r=n(2516),i=n(8554);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},4733:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=e[s],c=s+1,d=e[c];if(0>o(l,n))c<i&&0>o(d,l)?(e[r]=d,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<i&&0>o(d,n)))break e;e[r]=d,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],d=[],u=1,h=null,p=3,f=!1,m=!1,g=!1,v="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var t=r(d);null!==t;){if(null===t.callback)i(d);else{if(!(t.startTime<=e))break;i(d),t.sortIndex=t.expirationTime,n(c,t)}t=r(d)}}function w(e){if(g=!1,x(e),!m)if(null!==r(c))m=!0,I(C);else{var t=r(d);null!==t&&O(w,t.startTime-e)}}function C(e,n){m=!1,g&&(g=!1,y(_),_=-1),f=!0;var o=p;try{for(x(n),h=r(c);null!==h&&(!(h.expirationTime>n)||e&&!D());){var a=h.callback;if("function"==typeof a){h.callback=null,p=h.priorityLevel;var s=a(h.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?h.callback=s:h===r(c)&&i(c),x(n)}else i(c);h=r(c)}if(null!==h)var l=!0;else{var u=r(d);null!==u&&O(w,u.startTime-n),l=!1}return l}finally{h=null,p=o,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,A=!1,k=null,_=-1,E=5,T=-1;function D(){return!(t.unstable_now()-T<E)}function j(){if(null!==k){var e=t.unstable_now();T=e;var n=!0;try{n=k(!0,e)}finally{n?S():(A=!1,k=null)}}else A=!1}if("function"==typeof b)S=function(){b(j)};else if("undefined"!=typeof MessageChannel){var R=new MessageChannel,M=R.port2;R.port1.onmessage=j,S=function(){M.postMessage(null)}}else S=function(){v(j,0)};function I(e){k=e,A||(A=!0,S())}function O(e,n){_=v(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||f||(m=!0,I(C))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:u++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,n(d,e),null===r(c)&&e===r(d)&&(g?(y(_),_=-1):g=!0,O(w,o-a))):(e.sortIndex=s,n(c,e),m||f||(m=!0,I(C))),e},t.unstable_shouldYield=D,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},5543:e=>{e.exports={L:1,M:0,Q:3,H:2}},5568:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(3434),i=n.n(r),o=n(6170),a=n.n(o)()(i());a.push([e.id,".react-reset {\n width: 100%;\n}\n\n.r-grid {\n width: 100%;\n display: grid;\n --pageColWidthLeft: 230px;\n --pageColWidthRight: 270px;\n}\n\n.r-grid.page-1-cols {\n grid-template-columns: 1fr;\n -ms-grid-columns: 1fr;\n grid-template-rows: auto 1fr;\n -ms-grid-template-rows: auto 1fr;\n}\n\n.r-grid.page-1-cols #r-main {\n grid-row: 2;\n grid-column: 1;\n -ms-grid-row: 2;\n -ms-grid-column: 1;\n}\n\n.r-grid.page-2-cols {\n grid-template-columns: var(--pageColWidthLeft) 1fr;\n -ms-grid-columns: var(--pageColWidthLeft) 1fr;\n grid-template-rows: auto 1fr;\n -ms-grid-template-rows: auto 1fr;\n}\n\n.r-grid.page-2-cols #r-left {\n grid-row: 2;\n grid-column: 1;\n -ms-grid-row: 2;\n -ms-grid-column: 1;\n}\n\n.r-grid.page-2-cols #r-main {\n margin-left: 30px;\n grid-row: 2;\n grid-column: 2;\n -ms-grid-row: 2;\n -ms-grid-column: 2;\n}\n\n.r-grid.page-3-cols {\n grid-template-columns: var(--pageColWidthLeft) 1fr var(--pageColWidthRight);\n -ms-grid-columns: var(--pageColWidthLeft) 1fr var(--pageColWidthRight);\n grid-template-rows: auto 1fr;\n -ms-grid-template-rows: auto 1fr;\n}\n\n.r-grid.page-3-cols #r-left {\n grid-row: 2;\n grid-column: 1;\n -ms-grid-row: 2;\n -ms-grid-column: 1;\n}\n\n.r-grid.page-3-cols #r-main {\n margin: 0 30px;\n grid-row: 2;\n grid-column: 2;\n -ms-grid-row: 2;\n -ms-grid-column: 2;\n}\n\n.r-grid.page-3-cols #r-right {\n grid-row: 2;\n grid-column: 3;\n -ms-grid-row: 2;\n -ms-grid-column: 3;\n}\n\n#r-left,\n#r-right {\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n}\n\n#r-left .sticky,\n#r-right .sticky {\n position: -webkit-sticky;\n position: sticky;\n z-index: 1;\n bottom: var(--template-padding);\n min-height: var(--body-container-height);\n}\n\n#r-left .sticky .fixed,\n#r-right .sticky .fixed {\n position: fixed;\n}\n","",{version:3,sources:["webpack://./src/components/JRCThemeProvider/gabarit.css"],names:[],mappings:"AAAA;IACI,WAAW;AACf;;AAEA;IACI,WAAW;IACX,aAAa;IACb,yBAAyB;IACzB,0BAA0B;AAC9B;;AAEA;IACI,0BAA0B;IAC1B,qBAAqB;IACrB,4BAA4B;IAC5B,gCAAgC;AACpC;;AAEA;IACI,WAAW;IACX,cAAc;IACd,eAAe;IACf,kBAAkB;AACtB;;AAEA;IACI,kDAAkD;IAClD,6CAA6C;IAC7C,4BAA4B;IAC5B,gCAAgC;AACpC;;AAEA;IACI,WAAW;IACX,cAAc;IACd,eAAe;IACf,kBAAkB;AACtB;;AAEA;IACI,iBAAiB;IACjB,WAAW;IACX,cAAc;IACd,eAAe;IACf,kBAAkB;AACtB;;AAEA;IACI,2EAA2E;IAC3E,sEAAsE;IACtE,4BAA4B;IAC5B,gCAAgC;AACpC;;AAEA;IACI,WAAW;IACX,cAAc;IACd,eAAe;IACf,kBAAkB;AACtB;;AAEA;IACI,cAAc;IACd,WAAW;IACX,cAAc;IACd,eAAe;IACf,kBAAkB;AACtB;;AAEA;IACI,WAAW;IACX,cAAc;IACd,eAAe;IACf,kBAAkB;AACtB;;AAEA;;IAEI,aAAa;IACb,sBAAsB;IACtB,yBAAyB;AAC7B;;AAEA;;IAEI,wBAAwB;IACxB,gBAAgB;IAChB,UAAU;IACV,+BAA+B;IAC/B,wCAAwC;AAC5C;;AAEA;;IAEI,eAAe;AACnB",sourcesContent:[".react-reset {\n width: 100%;\n}\n\n.r-grid {\n width: 100%;\n display: grid;\n --pageColWidthLeft: 230px;\n --pageColWidthRight: 270px;\n}\n\n.r-grid.page-1-cols {\n grid-template-columns: 1fr;\n -ms-grid-columns: 1fr;\n grid-template-rows: auto 1fr;\n -ms-grid-template-rows: auto 1fr;\n}\n\n.r-grid.page-1-cols #r-main {\n grid-row: 2;\n grid-column: 1;\n -ms-grid-row: 2;\n -ms-grid-column: 1;\n}\n\n.r-grid.page-2-cols {\n grid-template-columns: var(--pageColWidthLeft) 1fr;\n -ms-grid-columns: var(--pageColWidthLeft) 1fr;\n grid-template-rows: auto 1fr;\n -ms-grid-template-rows: auto 1fr;\n}\n\n.r-grid.page-2-cols #r-left {\n grid-row: 2;\n grid-column: 1;\n -ms-grid-row: 2;\n -ms-grid-column: 1;\n}\n\n.r-grid.page-2-cols #r-main {\n margin-left: 30px;\n grid-row: 2;\n grid-column: 2;\n -ms-grid-row: 2;\n -ms-grid-column: 2;\n}\n\n.r-grid.page-3-cols {\n grid-template-columns: var(--pageColWidthLeft) 1fr var(--pageColWidthRight);\n -ms-grid-columns: var(--pageColWidthLeft) 1fr var(--pageColWidthRight);\n grid-template-rows: auto 1fr;\n -ms-grid-template-rows: auto 1fr;\n}\n\n.r-grid.page-3-cols #r-left {\n grid-row: 2;\n grid-column: 1;\n -ms-grid-row: 2;\n -ms-grid-column: 1;\n}\n\n.r-grid.page-3-cols #r-main {\n margin: 0 30px;\n grid-row: 2;\n grid-column: 2;\n -ms-grid-row: 2;\n -ms-grid-column: 2;\n}\n\n.r-grid.page-3-cols #r-right {\n grid-row: 2;\n grid-column: 3;\n -ms-grid-row: 2;\n -ms-grid-column: 3;\n}\n\n#r-left,\n#r-right {\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n}\n\n#r-left .sticky,\n#r-right .sticky {\n position: -webkit-sticky;\n position: sticky;\n z-index: 1;\n bottom: var(--template-padding);\n min-height: var(--body-container-height);\n}\n\n#r-left .sticky .fixed,\n#r-right .sticky .fixed {\n position: fixed;\n}\n"],sourceRoot:""}]);const s=a},5616:(e,t,n)=>{var r=n(8002);function i(e){this.mode=r.MODE_8BIT_BYTE,this.data=e}i.prototype={getLength:function(e){return this.data.length},write:function(e){for(var t=0;t<this.data.length;t++)e.put(this.data.charCodeAt(t),8)}},e.exports=i},5718:(e,t,n)=>{var r=n(2516),i=n(8605);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},5843:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,u=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case d:case u:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case h:case g:case m:case l:return e;default:return t}}case i:return t}}}function C(e){return w(e)===u}t.AsyncMode=d,t.ConcurrentMode=u,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=h,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return C(e)||w(e)===d},t.isConcurrentMode=C,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===h},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===s||e===a||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===h||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===v)},t.typeOf=w},5959:(e,t,n)=>{"use strict";e.exports=n(5843)},6007:(e,t,n)=>{"use strict";e.exports=n(4049)},6023:e=>{for(var t={glog:function(e){if(e<1)throw new Error("glog("+e+")");return t.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return t.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},n=0;n<8;n++)t.EXP_TABLE[n]=1<<n;for(n=8;n<256;n++)t.EXP_TABLE[n]=t.EXP_TABLE[n-4]^t.EXP_TABLE[n-5]^t.EXP_TABLE[n-6]^t.EXP_TABLE[n-8];for(n=0;n<255;n++)t.LOG_TABLE[t.EXP_TABLE[n]]=n;e.exports=t},6070:(e,t,n)=>{"use strict";e.exports=n(7462)},6170:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);r&&a[d[0]]||(void 0!==o&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=o),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),i&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=i):d[4]="".concat(i)),t.push(d))}},t}},6186:(e,t,n)=>{"use strict";var r=n(2985);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},6539:(e,t,n)=>{var r=n(2516),i=n(8370);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},6856:(e,t,n)=>{var r=n(2516),i=n(7629);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},6936:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case s:case a:case h:case p:return e;default:switch(e=e&&e.$$typeof){case d:case c:case u:case m:case f:case l:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference"),t.isContextConsumer=function(e){return v(e)===c},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===s||e===a||e===h||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===l||e.$$typeof===c||e.$$typeof===u||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=v},7304:e=>{function t(){this.buffer=new Array,this.length=0}t.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},7462:(e,t,n)=>{"use strict";var r=n(758),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,d=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:d,props:o,_owner:s.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},7500:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},7629:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(3434),i=n.n(r),o=n(6170),a=n.n(o)()(i());a.push([e.id,".react-icon[class^='icon-'],\n.react-icon[class*=' icon-'] {\n speak: none;\n font-style: normal;\n font-variant: normal;\n text-transform: none;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n","",{version:3,sources:["webpack://./src/components/JRCThemeProvider/fontawesome-icons.css"],names:[],mappings:"AAAA;;IAEI,WAAW;IACX,kBAAkB;IAClB,oBAAoB;IACpB,oBAAoB;IACpB,mCAAmC;IACnC,kCAAkC;AACtC",sourcesContent:[".react-icon[class^='icon-'],\n.react-icon[class*=' icon-'] {\n speak: none;\n font-style: normal;\n font-variant: normal;\n text-transform: none;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n"],sourceRoot:""}]);const s=a},7781:(e,t,n)=>{var r=n(2516),i=n(5568);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},7935:(e,t,n)=>{var r=n(2516),i=n(4212);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},8001:(e,t,n)=>{"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=d(n(2736)),o=d(n(5543)),a=d(n(1135)),s=n(758),l=d(s),c=d(n(682));function d(e){return e&&e.__esModule?e:{default:e}}var u={bgColor:i.default.oneOfType([i.default.object,i.default.string]),fgColor:i.default.oneOfType([i.default.object,i.default.string]),level:i.default.string,size:i.default.number,value:i.default.string.isRequired},h=(0,s.forwardRef)(function(e,t){var n=e.bgColor,i=void 0===n?"#FFFFFF":n,s=e.fgColor,d=void 0===s?"#000000":s,u=e.level,h=void 0===u?"L":u,p=e.size,f=void 0===p?256:p,m=e.value,g=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["bgColor","fgColor","level","size","value"]),v=new a.default(-1,o.default[h]);v.addData(m),v.make();var y=v.modules;return l.default.createElement(c.default,r({},g,{bgColor:i,bgD:y.map(function(e,t){return e.map(function(e,n){return e?"":"M "+n+" "+t+" l 1 0 0 1 -1 0 Z"}).join(" ")}).join(" "),fgColor:d,fgD:y.map(function(e,t){return e.map(function(e,n){return e?"M "+n+" "+t+" l 1 0 0 1 -1 0 Z":""}).join(" ")}).join(" "),ref:t,size:f,viewBoxSize:y.length}))});h.displayName="QRCode",h.propTypes=u,t.Ay=h},8002:e=>{e.exports={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8}},8143:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(9481)},8370:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(3434),i=n.n(r),o=n(6170),a=n.n(o)()(i());a.push([e.id,".wiggle {\n animation: 0.25s ease-in-out 0s 4 wiggle;\n}\n\n@keyframes wiggle {\n 0% {\n transform: rotate(0deg);\n }\n 25% {\n transform: rotate(10deg) scale(1.1);\n }\n 75% {\n transform: rotate(-10deg) scale(1.1);\n }\n 100% {\n transform: rotate(0deg);\n }\n}\n\n.scale-left {\n animation: scale var(--timeout, 1000ms) linear 0s 1;\n}\n\n@keyframes scale {\n from {\n width: 0;\n }\n to {\n width: 100%;\n }\n}\n\n.slide-right {\n animation: slide-right 1s;\n}\n\n@keyframes slide-right {\n from {\n opacity: 0;\n transform: translateX(75px);\n }\n to {\n opacity: 1;\n transform: translateX(0px);\n }\n}\n","",{version:3,sources:["webpack://./src/components/JRCThemeProvider/animation.css"],names:[],mappings:"AAAA;IACI,wCAAwC;AAC5C;;AAEA;IACI;QACI,uBAAuB;IAC3B;IACA;QACI,mCAAmC;IACvC;IACA;QACI,oCAAoC;IACxC;IACA;QACI,uBAAuB;IAC3B;AACJ;;AAEA;IACI,mDAAmD;AACvD;;AAEA;IACI;QACI,QAAQ;IACZ;IACA;QACI,WAAW;IACf;AACJ;;AAEA;IACI,yBAAyB;AAC7B;;AAEA;IACI;QACI,UAAU;QACV,2BAA2B;IAC/B;IACA;QACI,UAAU;QACV,0BAA0B;IAC9B;AACJ",sourcesContent:[".wiggle {\n animation: 0.25s ease-in-out 0s 4 wiggle;\n}\n\n@keyframes wiggle {\n 0% {\n transform: rotate(0deg);\n }\n 25% {\n transform: rotate(10deg) scale(1.1);\n }\n 75% {\n transform: rotate(-10deg) scale(1.1);\n }\n 100% {\n transform: rotate(0deg);\n }\n}\n\n.scale-left {\n animation: scale var(--timeout, 1000ms) linear 0s 1;\n}\n\n@keyframes scale {\n from {\n width: 0;\n }\n to {\n width: 100%;\n }\n}\n\n.slide-right {\n animation: slide-right 1s;\n}\n\n@keyframes slide-right {\n from {\n opacity: 0;\n transform: translateX(75px);\n }\n to {\n opacity: 1;\n transform: translateX(0px);\n }\n}\n"],sourceRoot:""}]);const s=a},8554:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(3434),i=n.n(r),o=n(6170),a=n.n(o)()(i());a.push([e.id,'@keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}:root{--rc-drag-handle-size: 12px;--rc-drag-handle-mobile-size: 24px;--rc-drag-handle-bg-colour: rgba(0, 0, 0, .2);--rc-drag-bar-size: 6px;--rc-border-color: rgba(255, 255, 255, .7);--rc-focus-color: #0088ff}.ReactCrop{position:relative;display:inline-block;cursor:crosshair;max-width:100%}.ReactCrop *,.ReactCrop *:before,.ReactCrop *:after{box-sizing:border-box}.ReactCrop--disabled,.ReactCrop--locked{cursor:inherit}.ReactCrop__child-wrapper{overflow:hidden;max-height:inherit}.ReactCrop__child-wrapper>img,.ReactCrop__child-wrapper>video{display:block;max-width:100%;max-height:inherit}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>img,.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>video{touch-action:none}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__crop-selection{touch-action:none}.ReactCrop__crop-mask{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;width:calc(100% + .5px);height:calc(100% + .5px)}.ReactCrop__crop-selection{position:absolute;top:0;left:0;transform:translateZ(0);cursor:move}.ReactCrop--disabled .ReactCrop__crop-selection{cursor:inherit}.ReactCrop--circular-crop .ReactCrop__crop-selection{border-radius:50%}.ReactCrop--circular-crop .ReactCrop__crop-selection:after{pointer-events:none;content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:1px solid var(--rc-border-color);opacity:.3}.ReactCrop--no-animate .ReactCrop__crop-selection{outline:1px dashed white}.ReactCrop__crop-selection:not(.ReactCrop--no-animate .ReactCrop__crop-selection){animation:marching-ants 1s;background-image:linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%);background-size:10px 1px,10px 1px,1px 10px,1px 10px;background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;color:#fff;animation-play-state:running;animation-timing-function:linear;animation-iteration-count:infinite}.ReactCrop__crop-selection:focus{outline:2px solid var(--rc-focus-color);outline-offset:-1px}.ReactCrop--invisible-crop .ReactCrop__crop-mask,.ReactCrop--invisible-crop .ReactCrop__crop-selection{display:none}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after,.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{content:"";display:block;position:absolute;background-color:#fff6}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after{width:1px;height:100%}.ReactCrop__rule-of-thirds-vt:before{left:33.3333333333%}.ReactCrop__rule-of-thirds-vt:after{left:66.6666666667%}.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{width:100%;height:1px}.ReactCrop__rule-of-thirds-hz:before{top:33.3333333333%}.ReactCrop__rule-of-thirds-hz:after{top:66.6666666667%}.ReactCrop__drag-handle{position:absolute;width:var(--rc-drag-handle-size);height:var(--rc-drag-handle-size);background-color:var(--rc-drag-handle-bg-colour);border:1px solid var(--rc-border-color)}.ReactCrop__drag-handle:focus{background:var(--rc-focus-color)}.ReactCrop .ord-nw{top:0;left:0;transform:translate(-50%,-50%);cursor:nw-resize}.ReactCrop .ord-n{top:0;left:50%;transform:translate(-50%,-50%);cursor:n-resize}.ReactCrop .ord-ne{top:0;right:0;transform:translate(50%,-50%);cursor:ne-resize}.ReactCrop .ord-e{top:50%;right:0;transform:translate(50%,-50%);cursor:e-resize}.ReactCrop .ord-se{bottom:0;right:0;transform:translate(50%,50%);cursor:se-resize}.ReactCrop .ord-s{bottom:0;left:50%;transform:translate(-50%,50%);cursor:s-resize}.ReactCrop .ord-sw{bottom:0;left:0;transform:translate(-50%,50%);cursor:sw-resize}.ReactCrop .ord-w{top:50%;left:0;transform:translate(-50%,-50%);cursor:w-resize}.ReactCrop__disabled .ReactCrop__drag-handle{cursor:inherit}.ReactCrop__drag-bar{position:absolute}.ReactCrop__drag-bar.ord-n{top:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(-50%)}.ReactCrop__drag-bar.ord-e{right:0;top:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(50%)}.ReactCrop__drag-bar.ord-s{bottom:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(50%)}.ReactCrop__drag-bar.ord-w{top:0;left:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(-50%)}.ReactCrop--new-crop .ReactCrop__drag-bar,.ReactCrop--new-crop .ReactCrop__drag-handle,.ReactCrop--fixed-aspect .ReactCrop__drag-bar,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w{display:none}@media (pointer: coarse){.ReactCrop .ord-n,.ReactCrop .ord-e,.ReactCrop .ord-s,.ReactCrop .ord-w{display:none}.ReactCrop__drag-handle{width:var(--rc-drag-handle-mobile-size);height:var(--rc-drag-handle-mobile-size)}}\n',"",{version:3,sources:["webpack://./node_modules/.pnpm/react-image-crop@11.0.10_react@18.3.1/node_modules/react-image-crop/dist/ReactCrop.css"],names:[],mappings:"AAAA,yBAAyB,GAAG,yCAAyC,CAAC,GAAG,uDAAuD,CAAC,CAAC,MAAM,2BAA2B,CAAC,kCAAkC,CAAC,6CAA6C,CAAC,uBAAuB,CAAC,0CAA0C,CAAC,yBAAyB,CAAC,WAAW,iBAAiB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,cAAc,CAAC,oDAAoD,qBAAqB,CAAC,wCAAwC,cAAc,CAAC,0BAA0B,eAAe,CAAC,kBAAkB,CAAC,8DAA8D,aAAa,CAAC,cAAc,CAAC,kBAAkB,CAAC,wIAAwI,iBAAiB,CAAC,gEAAgE,iBAAiB,CAAC,sBAAsB,iBAAiB,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,uBAAuB,CAAC,wBAAwB,CAAC,2BAA2B,iBAAiB,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,CAAC,WAAW,CAAC,gDAAgD,cAAc,CAAC,qDAAqD,iBAAiB,CAAC,2DAA2D,mBAAmB,CAAC,UAAU,CAAC,iBAAiB,CAAC,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,uCAAuC,CAAC,UAAU,CAAC,kDAAkD,wBAAwB,CAAC,kFAAkF,0BAA0B,CAAC,kMAAkM,CAAC,mDAAmD,CAAC,yCAAyC,CAAC,qDAAqD,CAAC,UAAU,CAAC,4BAA4B,CAAC,gCAAgC,CAAC,kCAAkC,CAAC,iCAAiC,uCAAuC,CAAC,mBAAmB,CAAC,uGAAuG,YAAY,CAAC,kJAAkJ,UAAU,CAAC,aAAa,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,yEAAyE,SAAS,CAAC,WAAW,CAAC,qCAAqC,mBAAmB,CAAC,oCAAoC,mBAAmB,CAAC,yEAAyE,UAAU,CAAC,UAAU,CAAC,qCAAqC,kBAAkB,CAAC,oCAAoC,kBAAkB,CAAC,wBAAwB,iBAAiB,CAAC,gCAAgC,CAAC,iCAAiC,CAAC,gDAAgD,CAAC,uCAAuC,CAAC,8BAA8B,gCAAgC,CAAC,mBAAmB,KAAK,CAAC,MAAM,CAAC,8BAA8B,CAAC,gBAAgB,CAAC,kBAAkB,KAAK,CAAC,QAAQ,CAAC,8BAA8B,CAAC,eAAe,CAAC,mBAAmB,KAAK,CAAC,OAAO,CAAC,6BAA6B,CAAC,gBAAgB,CAAC,kBAAkB,OAAO,CAAC,OAAO,CAAC,6BAA6B,CAAC,eAAe,CAAC,mBAAmB,QAAQ,CAAC,OAAO,CAAC,4BAA4B,CAAC,gBAAgB,CAAC,kBAAkB,QAAQ,CAAC,QAAQ,CAAC,6BAA6B,CAAC,eAAe,CAAC,mBAAmB,QAAQ,CAAC,MAAM,CAAC,6BAA6B,CAAC,gBAAgB,CAAC,kBAAkB,OAAO,CAAC,MAAM,CAAC,8BAA8B,CAAC,eAAe,CAAC,6CAA6C,cAAc,CAAC,qBAAqB,iBAAiB,CAAC,2BAA2B,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,8BAA8B,CAAC,0BAA0B,CAAC,2BAA2B,OAAO,CAAC,KAAK,CAAC,6BAA6B,CAAC,WAAW,CAAC,wBAAwB,CAAC,2BAA2B,QAAQ,CAAC,MAAM,CAAC,UAAU,CAAC,8BAA8B,CAAC,yBAAyB,CAAC,2BAA2B,KAAK,CAAC,MAAM,CAAC,6BAA6B,CAAC,WAAW,CAAC,yBAAyB,CAAC,iWAAiW,YAAY,CAAC,yBAAyB,wEAAwE,YAAY,CAAC,wBAAwB,uCAAuC,CAAC,wCAAwC,CAAC",sourcesContent:['@keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}:root{--rc-drag-handle-size: 12px;--rc-drag-handle-mobile-size: 24px;--rc-drag-handle-bg-colour: rgba(0, 0, 0, .2);--rc-drag-bar-size: 6px;--rc-border-color: rgba(255, 255, 255, .7);--rc-focus-color: #0088ff}.ReactCrop{position:relative;display:inline-block;cursor:crosshair;max-width:100%}.ReactCrop *,.ReactCrop *:before,.ReactCrop *:after{box-sizing:border-box}.ReactCrop--disabled,.ReactCrop--locked{cursor:inherit}.ReactCrop__child-wrapper{overflow:hidden;max-height:inherit}.ReactCrop__child-wrapper>img,.ReactCrop__child-wrapper>video{display:block;max-width:100%;max-height:inherit}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>img,.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>video{touch-action:none}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__crop-selection{touch-action:none}.ReactCrop__crop-mask{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;width:calc(100% + .5px);height:calc(100% + .5px)}.ReactCrop__crop-selection{position:absolute;top:0;left:0;transform:translateZ(0);cursor:move}.ReactCrop--disabled .ReactCrop__crop-selection{cursor:inherit}.ReactCrop--circular-crop .ReactCrop__crop-selection{border-radius:50%}.ReactCrop--circular-crop .ReactCrop__crop-selection:after{pointer-events:none;content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:1px solid var(--rc-border-color);opacity:.3}.ReactCrop--no-animate .ReactCrop__crop-selection{outline:1px dashed white}.ReactCrop__crop-selection:not(.ReactCrop--no-animate .ReactCrop__crop-selection){animation:marching-ants 1s;background-image:linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%);background-size:10px 1px,10px 1px,1px 10px,1px 10px;background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;color:#fff;animation-play-state:running;animation-timing-function:linear;animation-iteration-count:infinite}.ReactCrop__crop-selection:focus{outline:2px solid var(--rc-focus-color);outline-offset:-1px}.ReactCrop--invisible-crop .ReactCrop__crop-mask,.ReactCrop--invisible-crop .ReactCrop__crop-selection{display:none}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after,.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{content:"";display:block;position:absolute;background-color:#fff6}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after{width:1px;height:100%}.ReactCrop__rule-of-thirds-vt:before{left:33.3333333333%}.ReactCrop__rule-of-thirds-vt:after{left:66.6666666667%}.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{width:100%;height:1px}.ReactCrop__rule-of-thirds-hz:before{top:33.3333333333%}.ReactCrop__rule-of-thirds-hz:after{top:66.6666666667%}.ReactCrop__drag-handle{position:absolute;width:var(--rc-drag-handle-size);height:var(--rc-drag-handle-size);background-color:var(--rc-drag-handle-bg-colour);border:1px solid var(--rc-border-color)}.ReactCrop__drag-handle:focus{background:var(--rc-focus-color)}.ReactCrop .ord-nw{top:0;left:0;transform:translate(-50%,-50%);cursor:nw-resize}.ReactCrop .ord-n{top:0;left:50%;transform:translate(-50%,-50%);cursor:n-resize}.ReactCrop .ord-ne{top:0;right:0;transform:translate(50%,-50%);cursor:ne-resize}.ReactCrop .ord-e{top:50%;right:0;transform:translate(50%,-50%);cursor:e-resize}.ReactCrop .ord-se{bottom:0;right:0;transform:translate(50%,50%);cursor:se-resize}.ReactCrop .ord-s{bottom:0;left:50%;transform:translate(-50%,50%);cursor:s-resize}.ReactCrop .ord-sw{bottom:0;left:0;transform:translate(-50%,50%);cursor:sw-resize}.ReactCrop .ord-w{top:50%;left:0;transform:translate(-50%,-50%);cursor:w-resize}.ReactCrop__disabled .ReactCrop__drag-handle{cursor:inherit}.ReactCrop__drag-bar{position:absolute}.ReactCrop__drag-bar.ord-n{top:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(-50%)}.ReactCrop__drag-bar.ord-e{right:0;top:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(50%)}.ReactCrop__drag-bar.ord-s{bottom:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(50%)}.ReactCrop__drag-bar.ord-w{top:0;left:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(-50%)}.ReactCrop--new-crop .ReactCrop__drag-bar,.ReactCrop--new-crop .ReactCrop__drag-handle,.ReactCrop--fixed-aspect .ReactCrop__drag-bar,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w{display:none}@media (pointer: coarse){.ReactCrop .ord-n,.ReactCrop .ord-e,.ReactCrop .ord-s,.ReactCrop .ord-w{display:none}.ReactCrop__drag-handle{width:var(--rc-drag-handle-mobile-size);height:var(--rc-drag-handle-mobile-size)}}\n'],sourceRoot:""}]);const s=a},8605:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(3434),i=n.n(r),o=n(6170),a=n.n(o)()(i());a.push([e.id,".react-reset,\n.react-reset input,\n.react-reset input::placeholder,\n.react-reset textarea::placeholder,\n.react-reset button,\n.react-reset select,\n.react-reset textarea {\n font-family: var(--font-family);\n font-size: 14px;\n line-height: 1.5;\n font-weight: 400;\n}\n","",{version:3,sources:["webpack://./src/components/JRCThemeProvider/font.css"],names:[],mappings:"AAAA;;;;;;;IAOI,+BAA+B;IAC/B,eAAe;IACf,gBAAgB;IAChB,gBAAgB;AACpB",sourcesContent:[".react-reset,\n.react-reset input,\n.react-reset input::placeholder,\n.react-reset textarea::placeholder,\n.react-reset button,\n.react-reset select,\n.react-reset textarea {\n font-family: var(--font-family);\n font-size: 14px;\n line-height: 1.5;\n font-weight: 400;\n}\n"],sourceRoot:""}]);const s=a},9049:(e,t,n)=>{var r=n(8002),i=n(9363),o=n(6023),a={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;a.getBCHDigit(t)-a.getBCHDigit(a.G15)>=0;)t^=a.G15<<a.getBCHDigit(t)-a.getBCHDigit(a.G15);return(e<<10|t)^a.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;a.getBCHDigit(t)-a.getBCHDigit(a.G18)>=0;)t^=a.G18<<a.getBCHDigit(t)-a.getBCHDigit(a.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return a.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case 0:return(t+n)%2==0;case 1:return t%2==0;case 2:return n%3==0;case 3:return(t+n)%3==0;case 4:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case 5:return t*n%2+t*n%3==0;case 6:return(t*n%2+t*n%3)%2==0;case 7:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new i([1],0),n=0;n<e;n++)t=t.multiply(new i([1,o.gexp(n)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:case r.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,r=0;r<t;r++)for(var i=0;i<t;i++){for(var o=0,a=e.isDark(r,i),s=-1;s<=1;s++)if(!(r+s<0||t<=r+s))for(var l=-1;l<=1;l++)i+l<0||t<=i+l||0==s&&0==l||a==e.isDark(r+s,i+l)&&o++;o>5&&(n+=3+o-5)}for(r=0;r<t-1;r++)for(i=0;i<t-1;i++){var c=0;e.isDark(r,i)&&c++,e.isDark(r+1,i)&&c++,e.isDark(r,i+1)&&c++,e.isDark(r+1,i+1)&&c++,0!=c&&4!=c||(n+=3)}for(r=0;r<t;r++)for(i=0;i<t-6;i++)e.isDark(r,i)&&!e.isDark(r,i+1)&&e.isDark(r,i+2)&&e.isDark(r,i+3)&&e.isDark(r,i+4)&&!e.isDark(r,i+5)&&e.isDark(r,i+6)&&(n+=40);for(i=0;i<t;i++)for(r=0;r<t-6;r++)e.isDark(r,i)&&!e.isDark(r+1,i)&&e.isDark(r+2,i)&&e.isDark(r+3,i)&&e.isDark(r+4,i)&&!e.isDark(r+5,i)&&e.isDark(r+6,i)&&(n+=40);var d=0;for(i=0;i<t;i++)for(r=0;r<t;r++)e.isDark(r,i)&&d++;return n+Math.abs(100*d/t/t-50)/5*10}};e.exports=a},9363:(e,t,n)=>{var r=n(6023);function i(e,t){if(null==e.length)throw new Error(e.length+"/"+t);for(var n=0;n<e.length&&0==e[n];)n++;this.num=new Array(e.length-n+t);for(var r=0;r<e.length-n;r++)this.num[r]=e[r+n]}i.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),n=0;n<this.getLength();n++)for(var o=0;o<e.getLength();o++)t[n+o]^=r.gexp(r.glog(this.get(n))+r.glog(e.get(o)));return new i(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=r.glog(this.get(0))-r.glog(e.get(0)),n=new Array(this.getLength()),o=0;o<this.getLength();o++)n[o]=this.get(o);for(o=0;o<e.getLength();o++)n[o]^=r.gexp(r.glog(e.get(o))+t);return new i(n,0).mod(e)}},e.exports=i},9481:(e,t,n)=>{"use strict";var r=n(758),i=n(1896);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var d=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),u=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},f={};function m(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){g[e]=new m(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){g[e]=new m(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){g[e]=new m(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){g[e]=new m(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){g[e]=new m(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)});var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var i=g.hasOwnProperty(t)?g[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!u.call(f,e)||!u.call(p,e)&&(h.test(e)?f[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)}),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)});var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),C=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),E=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),M=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var I=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var O=Symbol.iterator;function L(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=O&&e[O]||e["@@iterator"])?e:null}var P,B=Object.assign;function N(e){if(void 0===P)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);P=t&&t[1]||""}return"\n"+P+e}var F=!1;function $(e,t){if(!e||F)return"";F=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s]){var l="\n"+i[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{F=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?N(e):""}function z(e){switch(e.tag){case 5:return N(e.type);case 16:return N("Lazy");case 13:return N("Suspense");case 19:return N("SuspenseList");case 0:case 2:case 15:return $(e.type,!1);case 11:return $(e.type.render,!1);case 1:return $(e.type,!0);default:return""}}function H(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case C:return"Portal";case k:return"Profiler";case A:return"StrictMode";case D:return"Suspense";case j:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case E:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:H(e.type)||"Memo";case M:t=e._payload,e=e._init;try{return H(e(t))}catch(e){}}return null}function U(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return H(t);case 8:return t===A?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function V(e){e._valueTracker||(e._valueTracker=function(e){var t=G(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=G(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return B({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Q(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Z(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function X(e,t){Z(e,t);var n=W(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function K(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+W(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return B({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:W(n)}}function oe(e,t){var n=W(t.value),r=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,de,ue=(de=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return de(e,t)})}:de);function he(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(pe).forEach(function(e){fe.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]})});var ve=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ce=null,Se=null,Ae=null;function ke(e){if(e=bi(e)){if("function"!=typeof Ce)throw Error(o(280));var t=e.stateNode;t&&(t=wi(t),Ce(e.stateNode,e.type,t))}}function _e(e){Se?Ae?Ae.push(e):Ae=[e]:Se=e}function Ee(){if(Se){var e=Se,t=Ae;if(Ae=Se=null,ke(e),t)for(e=0;e<t.length;e++)ke(t[e])}}function Te(e,t){return e(t)}function De(){}var je=!1;function Re(e,t,n){if(je)return e(t,n);je=!0;try{return Te(e,t,n)}finally{je=!1,(null!==Se||null!==Ae)&&(De(),Ee())}}function Me(e,t){var n=e.stateNode;if(null===n)return null;var r=wi(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Ie=!1;if(d)try{var Oe={};Object.defineProperty(Oe,"passive",{get:function(){Ie=!0}}),window.addEventListener("test",Oe,Oe),window.removeEventListener("test",Oe,Oe)}catch(de){Ie=!1}function Le(e,t,n,r,i,o,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var Pe=!1,Be=null,Ne=!1,Fe=null,$e={onError:function(e){Pe=!0,Be=e}};function ze(e,t,n,r,i,o,a,s,l){Pe=!1,Be=null,Le.apply($e,arguments)}function He(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ue(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function We(e){if(He(e)!==e)throw Error(o(188))}function Ge(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=He(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return We(i),e;if(a===r)return We(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?Ve(e):null}function Ve(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ve(e);if(null!==t)return t;e=e.sibling}return null}var qe=i.unstable_scheduleCallback,Ye=i.unstable_cancelCallback,Je=i.unstable_shouldYield,Qe=i.unstable_requestPaint,Ze=i.unstable_now,Xe=i.unstable_getCurrentPriorityLevel,Ke=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,nt=i.unstable_LowPriority,rt=i.unstable_IdlePriority,it=null,ot=null,at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2,ct=64,dt=4194304;function ut(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ht(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~i;0!==s?r=ut(s):0!==(o&=a)&&(r=ut(o))}else 0!==(a=n&~i)?r=ut(a):0!==o&&(r=ut(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&4194240&o))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-at(t)),r|=e[n],t&=~i;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ft(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return!(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var bt=0;function xt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var wt,Ct,St,At,kt,_t=!1,Et=[],Tt=null,Dt=null,jt=null,Rt=new Map,Mt=new Map,It=[],Ot="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Lt(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":Dt=null;break;case"mouseover":case"mouseout":jt=null;break;case"pointerover":case"pointerout":Rt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(t.pointerId)}}function Pt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&null!==(t=bi(t))&&Ct(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Bt(e){var t=yi(e.target);if(null!==t){var n=He(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void kt(e.priority,function(){St(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Nt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=bi(n))&&Ct(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);xe=r,n.target.dispatchEvent(r),xe=null,t.shift()}return!0}function Ft(e,t,n){Nt(e)&&n.delete(t)}function $t(){_t=!1,null!==Tt&&Nt(Tt)&&(Tt=null),null!==Dt&&Nt(Dt)&&(Dt=null),null!==jt&&Nt(jt)&&(jt=null),Rt.forEach(Ft),Mt.forEach(Ft)}function zt(e,t){e.blockedOn===t&&(e.blockedOn=null,_t||(_t=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,$t)))}function Ht(e){function t(t){return zt(t,e)}if(0<Et.length){zt(Et[0],e);for(var n=1;n<Et.length;n++){var r=Et[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&zt(Tt,e),null!==Dt&&zt(Dt,e),null!==jt&&zt(jt,e),Rt.forEach(t),Mt.forEach(t),n=0;n<It.length;n++)(r=It[n]).blockedOn===e&&(r.blockedOn=null);for(;0<It.length&&null===(n=It[0]).blockedOn;)Bt(n),null===n.blockedOn&&It.shift()}var Ut=x.ReactCurrentBatchConfig,Wt=!0;function Gt(e,t,n,r){var i=bt,o=Ut.transition;Ut.transition=null;try{bt=1,qt(e,t,n,r)}finally{bt=i,Ut.transition=o}}function Vt(e,t,n,r){var i=bt,o=Ut.transition;Ut.transition=null;try{bt=4,qt(e,t,n,r)}finally{bt=i,Ut.transition=o}}function qt(e,t,n,r){if(Wt){var i=Jt(e,t,n,r);if(null===i)Wr(e,t,r,Yt,n),Lt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Tt=Pt(Tt,e,t,n,r,i),!0;case"dragenter":return Dt=Pt(Dt,e,t,n,r,i),!0;case"mouseover":return jt=Pt(jt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Rt.set(o,Pt(Rt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Mt.set(o,Pt(Mt.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Lt(e,r),4&t&&-1<Ot.indexOf(e)){for(;null!==i;){var o=bi(i);if(null!==o&&wt(o),null===(o=Jt(e,t,n,r))&&Wr(e,t,r,Yt,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Wr(e,t,r,null,n)}}var Yt=null;function Jt(e,t,n,r){if(Yt=null,null!==(e=yi(e=we(r))))if(null===(t=He(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yt=e,null}function Qt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Ke:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Zt=null,Xt=null,Kt=null;function en(){if(Kt)return Kt;var e,t,n=Xt,r=n.length,i="value"in Zt?Zt.value:Zt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Kt=i.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return B(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dn=on(cn),un=B({},cn,{view:0,detail:0}),hn=on(un),pn=B({},un,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),fn=on(pn),mn=on(B({},pn,{dataTransfer:0})),gn=on(B({},un,{relatedTarget:0})),vn=on(B({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=B({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),xn=on(B({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function An(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function kn(){return An}var _n=B({},un,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Cn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),En=on(_n),Tn=on(B({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Dn=on(B({},un,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kn})),jn=on(B({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=B({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mn=on(Rn),In=[9,13,27,32],On=d&&"CompositionEvent"in window,Ln=null;d&&"documentMode"in document&&(Ln=document.documentMode);var Pn=d&&"TextEvent"in window&&!Ln,Bn=d&&(!On||Ln&&8<Ln&&11>=Ln),Nn=String.fromCharCode(32),Fn=!1;function $n(e,t){switch(e){case"keyup":return-1!==In.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1,Un={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Gn(e,t,n,r){_e(r),0<(t=Vr(t,"onChange")).length&&(n=new dn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,qn=null;function Yn(e){Nr(e,0)}function Jn(e){if(q(xi(e)))return e}function Qn(e,t){if("change"===e)return t}var Zn=!1;if(d){var Xn;if(d){var Kn="oninput"in document;if(!Kn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Kn="function"==typeof er.oninput}Xn=Kn}else Xn=!1;Zn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Vn&&(Vn.detachEvent("onpropertychange",nr),qn=Vn=null)}function nr(e){if("value"===e.propertyName&&Jn(qn)){var t=[];Gn(t,qn,e,we(e)),Re(Yn,t)}}function rr(e,t,n){"focusin"===e?(tr(),qn=n,(Vn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Jn(qn)}function or(e,t){if("click"===e)return Jn(t)}function ar(e,t){if("input"===e||"change"===e)return Jn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!u.call(t,i)||!sr(e[i],t[i]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dr(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function ur(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?ur(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function fr(e){var t=hr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ur(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=dr(n,o);var a=dr(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=d&&"documentMode"in document&&11>=document.documentMode,gr=null,vr=null,yr=null,br=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==Y(r)||(r="selectionStart"in(r=gr)&&pr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&lr(yr,r)||(yr=r,0<(r=Vr(vr,"onSelect")).length&&(t=new dn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Cr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},Sr={},Ar={};function kr(e){if(Sr[e])return Sr[e];if(!Cr[e])return e;var t,n=Cr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ar)return Sr[e]=n[t];return e}d&&(Ar=document.createElement("div").style,"AnimationEvent"in window||(delete Cr.animationend.animation,delete Cr.animationiteration.animation,delete Cr.animationstart.animation),"TransitionEvent"in window||delete Cr.transitionend.transition);var _r=kr("animationend"),Er=kr("animationiteration"),Tr=kr("animationstart"),Dr=kr("transitionend"),jr=new Map,Rr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(e,t){jr.set(e,t),l(t,[e])}for(var Ir=0;Ir<Rr.length;Ir++){var Or=Rr[Ir];Mr(Or.toLowerCase(),"on"+(Or[0].toUpperCase()+Or.slice(1)))}Mr(_r,"onAnimationEnd"),Mr(Er,"onAnimationIteration"),Mr(Tr,"onAnimationStart"),Mr("dblclick","onDoubleClick"),Mr("focusin","onFocus"),Mr("focusout","onBlur"),Mr(Dr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Pr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lr));function Br(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,a,s,l,c){if(ze.apply(this,arguments),Pe){if(!Pe)throw Error(o(198));var d=Be;Pe=!1,Be=null,Ne||(Ne=!0,Fe=d)}}(r,t,void 0,e),e.currentTarget=null}function Nr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;Br(i,s,c),o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;Br(i,s,c),o=l}}}if(Ne)throw e=Fe,Ne=!1,Fe=null,e}function Fr(e,t){var n=t[mi];void 0===n&&(n=t[mi]=new Set);var r=e+"__bubble";n.has(r)||(Ur(t,e,2,!1),n.add(r))}function $r(e,t,n){var r=0;t&&(r|=4),Ur(n,e,r,t)}var zr="_reactListening"+Math.random().toString(36).slice(2);function Hr(e){if(!e[zr]){e[zr]=!0,a.forEach(function(t){"selectionchange"!==t&&(Pr.has(t)||$r(t,!1,e),$r(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[zr]||(t[zr]=!0,$r("selectionchange",!1,t))}}function Ur(e,t,n,r){switch(Qt(t)){case 1:var i=Gt;break;case 4:i=Vt;break;default:i=qt}n=i.bind(null,t,n,e),i=void 0,!Ie||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Wr(e,t,n,r,i){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=yi(s)))return;if(5===(l=a.tag)||6===l){r=o=a;continue e}s=s.parentNode}}r=r.return}Re(function(){var r=o,i=we(n),a=[];e:{var s=jr.get(e);if(void 0!==s){var l=dn,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=En;break;case"focusin":c="focus",l=gn;break;case"focusout":c="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=fn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Dn;break;case _r:case Er:case Tr:l=vn;break;case Dr:l=jn;break;case"scroll":l=hn;break;case"wheel":l=Mn;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Tn}var d=!!(4&t),u=!d&&"scroll"===e,h=d?null!==s?s+"Capture":null:s;d=[];for(var p,f=r;null!==f;){var m=(p=f).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==h&&null!=(m=Me(f,h))&&d.push(Gr(f,m,p))),u)break;f=f.return}0<d.length&&(s=new l(s,c,null,n,i),a.push({event:s,listeners:d}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===xe||!(c=n.relatedTarget||n.fromElement)||!yi(c)&&!c[fi])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?yi(c):null)&&(c!==(u=He(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(d=fn,m="onMouseLeave",h="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(d=Tn,m="onPointerLeave",h="onPointerEnter",f="pointer"),u=null==l?s:xi(l),p=null==c?s:xi(c),(s=new d(m,f+"leave",l,n,i)).target=u,s.relatedTarget=p,m=null,yi(i)===r&&((d=new d(h,f+"enter",c,n,i)).target=p,d.relatedTarget=u,m=d),u=m,l&&c)e:{for(h=c,f=0,p=d=l;p;p=qr(p))f++;for(p=0,m=h;m;m=qr(m))p++;for(;0<f-p;)d=qr(d),f--;for(;0<p-f;)h=qr(h),p--;for(;f--;){if(d===h||null!==h&&d===h.alternate)break e;d=qr(d),h=qr(h)}d=null}else d=null;null!==l&&Yr(a,s,l,d,!1),null!==c&&null!==u&&Yr(a,u,c,d,!0)}if("select"===(l=(s=r?xi(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Qn;else if(Wn(s))if(Zn)g=ar;else{g=ir;var v=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=or);switch(g&&(g=g(e,r))?Gn(a,g,n,i):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&ee(s,"number",s.value)),v=r?xi(r):window,e){case"focusin":(Wn(v)||"true"===v.contentEditable)&&(gr=v,vr=r,yr=null);break;case"focusout":yr=vr=gr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,xr(a,n,i);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":xr(a,n,i)}var y;if(On)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Hn?$n(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Bn&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Hn&&(y=en()):(Xt="value"in(Zt=i)?Zt.value:Zt.textContent,Hn=!0)),0<(v=Vr(r,b)).length&&(b=new xn(b,e,null,n,i),a.push({event:b,listeners:v}),(y||null!==(y=zn(n)))&&(b.data=y))),(y=Pn?function(e,t){switch(e){case"compositionend":return zn(t);case"keypress":return 32!==t.which?null:(Fn=!0,Nn);case"textInput":return(e=t.data)===Nn&&Fn?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!On&&$n(e,t)?(e=en(),Kt=Xt=Zt=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Bn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Vr(r,"onBeforeInput")).length&&(i=new xn("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=y)}Nr(a,t)})}function Gr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Me(e,n))&&r.unshift(Gr(e,o,i)),null!=(o=Me(e,t))&&r.push(Gr(e,o,i))),e=e.return}return r}function qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,i?null!=(l=Me(n,o))&&a.unshift(Gr(n,l,s)):i||null!=(l=Me(n,o))&&a.push(Gr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Jr=/\r\n?/g,Qr=/\u0000|\uFFFD/g;function Zr(e){return("string"==typeof e?e:""+e).replace(Jr,"\n").replace(Qr,"")}function Xr(e,t,n){if(t=Zr(t),Zr(e)!==t&&n)throw Error(o(425))}function Kr(){}var ei=null,ti=null;function ni(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ri="function"==typeof setTimeout?setTimeout:void 0,ii="function"==typeof clearTimeout?clearTimeout:void 0,oi="function"==typeof Promise?Promise:void 0,ai="function"==typeof queueMicrotask?queueMicrotask:void 0!==oi?function(e){return oi.resolve(null).then(e).catch(si)}:ri;function si(e){setTimeout(function(){throw e})}function li(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void Ht(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Ht(t)}function ci(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function di(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var ui=Math.random().toString(36).slice(2),hi="__reactFiber$"+ui,pi="__reactProps$"+ui,fi="__reactContainer$"+ui,mi="__reactEvents$"+ui,gi="__reactListeners$"+ui,vi="__reactHandles$"+ui;function yi(e){var t=e[hi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[fi]||n[hi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=di(e);null!==e;){if(n=e[hi])return n;e=di(e)}return t}n=(e=n).parentNode}return null}function bi(e){return!(e=e[hi]||e[fi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function xi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function wi(e){return e[pi]||null}var Ci=[],Si=-1;function Ai(e){return{current:e}}function ki(e){0>Si||(e.current=Ci[Si],Ci[Si]=null,Si--)}function _i(e,t){Si++,Ci[Si]=e.current,e.current=t}var Ei={},Ti=Ai(Ei),Di=Ai(!1),ji=Ei;function Ri(e,t){var n=e.type.contextTypes;if(!n)return Ei;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Mi(e){return null!=e.childContextTypes}function Ii(){ki(Di),ki(Ti)}function Oi(e,t,n){if(Ti.current!==Ei)throw Error(o(168));_i(Ti,t),_i(Di,n)}function Li(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(o(108,U(e)||"Unknown",i));return B({},n,r)}function Pi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ei,ji=Ti.current,_i(Ti,e),_i(Di,Di.current),!0}function Bi(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Li(e,t,ji),r.__reactInternalMemoizedMergedChildContext=e,ki(Di),ki(Ti),_i(Ti,e)):ki(Di),_i(Di,n)}var Ni=null,Fi=!1,$i=!1;function zi(e){null===Ni?Ni=[e]:Ni.push(e)}function Hi(){if(!$i&&null!==Ni){$i=!0;var e=0,t=bt;try{var n=Ni;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ni=null,Fi=!1}catch(t){throw null!==Ni&&(Ni=Ni.slice(e+1)),qe(Ke,Hi),t}finally{bt=t,$i=!1}}return null}var Ui=[],Wi=0,Gi=null,Vi=0,qi=[],Yi=0,Ji=null,Qi=1,Zi="";function Xi(e,t){Ui[Wi++]=Vi,Ui[Wi++]=Gi,Gi=e,Vi=t}function Ki(e,t,n){qi[Yi++]=Qi,qi[Yi++]=Zi,qi[Yi++]=Ji,Ji=e;var r=Qi;e=Zi;var i=32-at(r)-1;r&=~(1<<i),n+=1;var o=32-at(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Qi=1<<32-at(t)+i|n<<i|r,Zi=o+e}else Qi=1<<o|n<<i|r,Zi=e}function eo(e){null!==e.return&&(Xi(e,1),Ki(e,1,0))}function to(e){for(;e===Gi;)Gi=Ui[--Wi],Ui[Wi]=null,Vi=Ui[--Wi],Ui[Wi]=null;for(;e===Ji;)Ji=qi[--Yi],qi[Yi]=null,Zi=qi[--Yi],qi[Yi]=null,Qi=qi[--Yi],qi[Yi]=null}var no=null,ro=null,io=!1,oo=null;function ao(e,t){var n=Rc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ci(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ji?{id:Qi,overflow:Zi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Rc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function lo(e){return!(!(1&e.mode)||128&e.flags)}function co(e){if(io){var t=ro;if(t){var n=t;if(!so(e,t)){if(lo(e))throw Error(o(418));t=ci(n.nextSibling);var r=no;t&&so(e,t)?ao(r,n):(e.flags=-4097&e.flags|2,io=!1,no=e)}}else{if(lo(e))throw Error(o(418));e.flags=-4097&e.flags|2,io=!1,no=e}}}function uo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function ho(e){if(e!==no)return!1;if(!io)return uo(e),io=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ni(e.type,e.memoizedProps)),t&&(t=ro)){if(lo(e))throw po(),Error(o(418));for(;t;)ao(e,t),t=ci(t.nextSibling)}if(uo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ci(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ci(e.stateNode.nextSibling):null;return!0}function po(){for(var e=ro;e;)e=ci(e.nextSibling)}function fo(){ro=no=null,io=!1}function mo(e){null===oo?oo=[e]:oo.push(e)}var go=x.ReactCurrentBatchConfig;function vo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=i.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function yo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bo(e){return(0,e._init)(e._payload)}function xo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Ic(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Bc(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===S?u(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===M&&bo(o)===t.type)?((r=i(t,n.props)).ref=vo(e,t,n),r.return=e,r):((r=Oc(n.type,n.key,n.props,null,e.mode,r)).ref=vo(e,t,n),r.return=e,r)}function d(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Nc(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function u(e,t,n,r,o){return null===t||7!==t.tag?((t=Lc(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function h(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Bc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Oc(t.type,t.key,t.props,null,e.mode,n)).ref=vo(e,null,t),n.return=e,n;case C:return(t=Nc(t,e.mode,n)).return=e,t;case M:return h(e,(0,t._init)(t._payload),n)}if(te(t)||L(t))return(t=Lc(t,e.mode,n,null)).return=e,t;yo(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===i?c(e,t,n,r):null;case C:return n.key===i?d(e,t,n,r):null;case M:return p(e,t,(i=n._init)(n._payload),r)}if(te(n)||L(n))return null!==i?null:u(e,t,n,r,null);yo(e,n)}return null}function f(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case C:return d(t,e=e.get(null===r.key?n:r.key)||null,r,i);case M:return f(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||L(r))return u(t,e=e.get(n)||null,r,i,null);yo(t,r)}return null}function m(i,o,s,l){for(var c=null,d=null,u=o,m=o=0,g=null;null!==u&&m<s.length;m++){u.index>m?(g=u,u=null):g=u.sibling;var v=p(i,u,s[m],l);if(null===v){null===u&&(u=g);break}e&&u&&null===v.alternate&&t(i,u),o=a(v,o,m),null===d?c=v:d.sibling=v,d=v,u=g}if(m===s.length)return n(i,u),io&&Xi(i,m),c;if(null===u){for(;m<s.length;m++)null!==(u=h(i,s[m],l))&&(o=a(u,o,m),null===d?c=u:d.sibling=u,d=u);return io&&Xi(i,m),c}for(u=r(i,u);m<s.length;m++)null!==(g=f(u,i,m,s[m],l))&&(e&&null!==g.alternate&&u.delete(null===g.key?m:g.key),o=a(g,o,m),null===d?c=g:d.sibling=g,d=g);return e&&u.forEach(function(e){return t(i,e)}),io&&Xi(i,m),c}function g(i,s,l,c){var d=L(l);if("function"!=typeof d)throw Error(o(150));if(null==(l=d.call(l)))throw Error(o(151));for(var u=d=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=p(i,m,y.value,c);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(i,m),s=a(b,s,g),null===u?d=b:u.sibling=b,u=b,m=v}if(y.done)return n(i,m),io&&Xi(i,g),d;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=h(i,y.value,c))&&(s=a(y,s,g),null===u?d=y:u.sibling=y,u=y);return io&&Xi(i,g),d}for(m=r(i,m);!y.done;g++,y=l.next())null!==(y=f(m,i,g,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=a(y,s,g),null===u?d=y:u.sibling=y,u=y);return e&&m.forEach(function(e){return t(i,e)}),io&&Xi(i,g),d}return function e(r,o,a,l){if("object"==typeof a&&null!==a&&a.type===S&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var c=a.key,d=o;null!==d;){if(d.key===c){if((c=a.type)===S){if(7===d.tag){n(r,d.sibling),(o=i(d,a.props.children)).return=r,r=o;break e}}else if(d.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===M&&bo(c)===d.type){n(r,d.sibling),(o=i(d,a.props)).ref=vo(r,d,a),o.return=r,r=o;break e}n(r,d);break}t(r,d),d=d.sibling}a.type===S?((o=Lc(a.props.children,r.mode,l,a.key)).return=r,r=o):((l=Oc(a.type,a.key,a.props,null,r.mode,l)).ref=vo(r,o,a),l.return=r,r=l)}return s(r);case C:e:{for(d=a.key;null!==o;){if(o.key===d){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(r,o.sibling),(o=i(o,a.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Nc(a,r.mode,l)).return=r,r=o}return s(r);case M:return e(r,o,(d=a._init)(a._payload),l)}if(te(a))return m(r,o,a,l);if(L(a))return g(r,o,a,l);yo(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,a)).return=r,r=o):(n(r,o),(o=Bc(a,r.mode,l)).return=r,r=o),s(r)):n(r,o)}}var wo=xo(!0),Co=xo(!1),So=Ai(null),Ao=null,ko=null,_o=null;function Eo(){_o=ko=Ao=null}function To(e){var t=So.current;ki(So),e._currentValue=t}function Do(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function jo(e,t){Ao=e,_o=ko=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(bs=!0),e.firstContext=null)}function Ro(e){var t=e._currentValue;if(_o!==e)if(e={context:e,memoizedValue:t,next:null},null===ko){if(null===Ao)throw Error(o(308));ko=e,Ao.dependencies={lanes:0,firstContext:e}}else ko=ko.next=e;return t}var Mo=null;function Io(e){null===Mo?Mo=[e]:Mo.push(e)}function Oo(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Io(t)):(n.next=i.next,i.next=n),t.interleaved=n,Lo(e,r)}function Lo(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Po=!1;function Bo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function No(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Fo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function $o(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Tl){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Lo(e,n)}return null===(i=r.interleaved)?(t.next=t,Io(r)):(t.next=i.next,i.next=t),r.interleaved=t,Lo(e,n)}function zo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Ho(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Uo(e,t,n,r){var i=e.updateQueue;Po=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?o=c:a.next=c,a=l;var d=e.alternate;null!==d&&(s=(d=d.updateQueue).lastBaseUpdate)!==a&&(null===s?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=l)}if(null!==o){var u=i.baseState;for(a=0,d=c=l=null,s=o;;){var h=s.lane,p=s.eventTime;if((r&h)===h){null!==d&&(d=d.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var f=e,m=s;switch(h=t,p=n,m.tag){case 1:if("function"==typeof(f=m.payload)){u=f.call(p,u,h);break e}u=f;break e;case 3:f.flags=-65537&f.flags|128;case 0:if(null==(h="function"==typeof(f=m.payload)?f.call(p,u,h):f))break e;u=B({},u,h);break e;case 2:Po=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(h=i.effects)?i.effects=[s]:h.push(s))}else p={eventTime:p,lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===d?(c=d=p,l=u):d=d.next=p,a|=h;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(h=s).next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}if(null===d&&(l=u),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=d,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);Pl|=a,e.lanes=a,e.memoizedState=u}}function Wo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(o(191,i));i.call(r)}}}var Go={},Vo=Ai(Go),qo=Ai(Go),Yo=Ai(Go);function Jo(e){if(e===Go)throw Error(o(174));return e}function Qo(e,t){switch(_i(Yo,t),_i(qo,e),_i(Vo,Go),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ki(Vo),_i(Vo,t)}function Zo(){ki(Vo),ki(qo),ki(Yo)}function Xo(e){Jo(Yo.current);var t=Jo(Vo.current),n=le(t,e.type);t!==n&&(_i(qo,e),_i(Vo,n))}function Ko(e){qo.current===e&&(ki(Vo),ki(qo))}var ea=Ai(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var na=[];function ra(){for(var e=0;e<na.length;e++)na[e]._workInProgressVersionPrimary=null;na.length=0}var ia=x.ReactCurrentDispatcher,oa=x.ReactCurrentBatchConfig,aa=0,sa=null,la=null,ca=null,da=!1,ua=!1,ha=0,pa=0;function fa(){throw Error(o(321))}function ma(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ga(e,t,n,r,i,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ia.current=null===e||null===e.memoizedState?Ka:es,e=n(r,i),ua){a=0;do{if(ua=!1,ha=0,25<=a)throw Error(o(301));a+=1,ca=la=null,t.updateQueue=null,ia.current=ts,e=n(r,i)}while(ua)}if(ia.current=Xa,t=null!==la&&null!==la.next,aa=0,ca=la=sa=null,da=!1,t)throw Error(o(300));return e}function va(){var e=0!==ha;return ha=0,e}function ya(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?sa.memoizedState=ca=e:ca=ca.next=e,ca}function ba(){if(null===la){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=la.next;var t=null===ca?sa.memoizedState:ca.next;if(null!==t)ca=t,la=e;else{if(null===e)throw Error(o(310));e={memoizedState:(la=e).memoizedState,baseState:la.baseState,baseQueue:la.baseQueue,queue:la.queue,next:null},null===ca?sa.memoizedState=ca=e:ca=ca.next=e}return ca}function xa(e,t){return"function"==typeof t?t(e):t}function wa(e){var t=ba(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=la,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(null!==i){a=i.next,r=r.baseState;var l=s=null,c=null,d=a;do{var u=d.lane;if((aa&u)===u)null!==c&&(c=c.next={lane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),r=d.hasEagerState?d.eagerState:e(r,d.action);else{var h={lane:u,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null};null===c?(l=c=h,s=r):c=c.next=h,sa.lanes|=u,Pl|=u}d=d.next}while(null!==d&&d!==a);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(bs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{a=i.lane,sa.lanes|=a,Pl|=a,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ca(e){var t=ba(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);sr(a,t.memoizedState)||(bs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Sa(){}function Aa(e,t){var n=sa,r=ba(),i=t(),a=!sr(r.memoizedState,i);if(a&&(r.memoizedState=i,bs=!0),r=r.queue,Pa(Ea.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ca&&1&ca.memoizedState.tag){if(n.flags|=2048,Ra(9,_a.bind(null,n,r,i,t),void 0,null),null===Dl)throw Error(o(349));30&aa||ka(n,t,i)}return i}function ka(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function _a(e,t,n,r){t.value=n,t.getSnapshot=r,Ta(t)&&Da(e)}function Ea(e,t,n){return n(function(){Ta(t)&&Da(e)})}function Ta(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function Da(e){var t=Lo(e,1);null!==t&&nc(t,e,1,-1)}function ja(e){var t=ya();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:xa,lastRenderedState:e},t.queue=e,e=e.dispatch=Ya.bind(null,sa,e),[t.memoizedState,e]}function Ra(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ma(){return ba().memoizedState}function Ia(e,t,n,r){var i=ya();sa.flags|=e,i.memoizedState=Ra(1|t,n,void 0,void 0===r?null:r)}function Oa(e,t,n,r){var i=ba();r=void 0===r?null:r;var o=void 0;if(null!==la){var a=la.memoizedState;if(o=a.destroy,null!==r&&ma(r,a.deps))return void(i.memoizedState=Ra(t,n,o,r))}sa.flags|=e,i.memoizedState=Ra(1|t,n,o,r)}function La(e,t){return Ia(8390656,8,e,t)}function Pa(e,t){return Oa(2048,8,e,t)}function Ba(e,t){return Oa(4,2,e,t)}function Na(e,t){return Oa(4,4,e,t)}function Fa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function $a(e,t,n){return n=null!=n?n.concat([e]):null,Oa(4,4,Fa.bind(null,t,e),n)}function za(){}function Ha(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ua(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Wa(e,t,n){return 21&aa?(sr(n,t)||(n=mt(),sa.lanes|=n,Pl|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,bs=!0),e.memoizedState=n)}function Ga(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=oa.transition;oa.transition={};try{e(!1),t()}finally{bt=n,oa.transition=r}}function Va(){return ba().memoizedState}function qa(e,t,n){var r=tc(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ja(e)?Qa(t,n):null!==(n=Oo(e,t,n,r))&&(nc(n,e,r,ec()),Za(n,t,r))}function Ya(e,t,n){var r=tc(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ja(e))Qa(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,sr(s,a)){var l=t.interleaved;return null===l?(i.next=i,Io(t)):(i.next=l.next,l.next=i),void(t.interleaved=i)}}catch(e){}null!==(n=Oo(e,t,i,r))&&(nc(n,e,r,i=ec()),Za(n,t,r))}}function Ja(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Qa(e,t){ua=da=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Za(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var Xa={readContext:Ro,useCallback:fa,useContext:fa,useEffect:fa,useImperativeHandle:fa,useInsertionEffect:fa,useLayoutEffect:fa,useMemo:fa,useReducer:fa,useRef:fa,useState:fa,useDebugValue:fa,useDeferredValue:fa,useTransition:fa,useMutableSource:fa,useSyncExternalStore:fa,useId:fa,unstable_isNewReconciler:!1},Ka={readContext:Ro,useCallback:function(e,t){return ya().memoizedState=[e,void 0===t?null:t],e},useContext:Ro,useEffect:La,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ia(4194308,4,Fa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ia(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ia(4,2,e,t)},useMemo:function(e,t){var n=ya();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ya();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=qa.bind(null,sa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ya().memoizedState=e},useState:ja,useDebugValue:za,useDeferredValue:function(e){return ya().memoizedState=e},useTransition:function(){var e=ja(!1),t=e[0];return e=Ga.bind(null,e[1]),ya().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=sa,i=ya();if(io){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Dl)throw Error(o(349));30&aa||ka(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,La(Ea.bind(null,r,a,e),[e]),r.flags|=2048,Ra(9,_a.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=ya(),t=Dl.identifierPrefix;if(io){var n=Zi;t=":"+t+"R"+(n=(Qi&~(1<<32-at(Qi)-1)).toString(32)+n),0<(n=ha++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=pa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Ro,useCallback:Ha,useContext:Ro,useEffect:Pa,useImperativeHandle:$a,useInsertionEffect:Ba,useLayoutEffect:Na,useMemo:Ua,useReducer:wa,useRef:Ma,useState:function(){return wa(xa)},useDebugValue:za,useDeferredValue:function(e){return Wa(ba(),la.memoizedState,e)},useTransition:function(){return[wa(xa)[0],ba().memoizedState]},useMutableSource:Sa,useSyncExternalStore:Aa,useId:Va,unstable_isNewReconciler:!1},ts={readContext:Ro,useCallback:Ha,useContext:Ro,useEffect:Pa,useImperativeHandle:$a,useInsertionEffect:Ba,useLayoutEffect:Na,useMemo:Ua,useReducer:Ca,useRef:Ma,useState:function(){return Ca(xa)},useDebugValue:za,useDeferredValue:function(e){var t=ba();return null===la?t.memoizedState=e:Wa(t,la.memoizedState,e)},useTransition:function(){return[Ca(xa)[0],ba().memoizedState]},useMutableSource:Sa,useSyncExternalStore:Aa,useId:Va,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=B({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:B({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var is={isMounted:function(e){return!!(e=e._reactInternals)&&He(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ec(),i=tc(e),o=Fo(r,i);o.payload=t,null!=n&&(o.callback=n),null!==(t=$o(e,o,i))&&(nc(t,e,i,r),zo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ec(),i=tc(e),o=Fo(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=$o(e,o,i))&&(nc(t,e,i,r),zo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ec(),r=tc(e),i=Fo(n,r);i.tag=2,null!=t&&(i.callback=t),null!==(t=$o(e,i,r))&&(nc(t,e,r,n),zo(t,e,r))}};function os(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&lr(n,r)&&lr(i,o))}function as(e,t,n){var r=!1,i=Ei,o=t.contextType;return"object"==typeof o&&null!==o?o=Ro(o):(i=Mi(t)?ji:Ti.current,o=(r=null!=(r=t.contextTypes))?Ri(e,i):Ei),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=is,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function ss(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&is.enqueueReplaceState(t,t.state,null)}function ls(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Bo(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=Ro(o):(o=Mi(t)?ji:Ti.current,i.context=Ri(e,o)),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(rs(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&is.enqueueReplaceState(i,i.state,null),Uo(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function cs(e,t){try{var n="",r=t;do{n+=z(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function us(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var hs="function"==typeof WeakMap?WeakMap:Map;function ps(e,t,n){(n=Fo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wl||(Wl=!0,Gl=r),us(0,t)},n}function fs(e,t,n){(n=Fo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){us(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){us(0,t),"function"!=typeof r&&(null===Vl?Vl=new Set([this]):Vl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hs;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=kc.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function vs(e,t,n,r,i){return 1&e.mode?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Fo(-1,1)).tag=2,$o(n,t,1))),n.lanes|=1),e)}var ys=x.ReactCurrentOwner,bs=!1;function xs(e,t,n,r){t.child=null===e?Co(t,null,n,r):wo(t,e.child,n,r)}function ws(e,t,n,r,i){n=n.render;var o=t.ref;return jo(t,i),r=ga(e,t,n,r,o,i),n=va(),null===e||bs?(io&&n&&eo(t),t.flags|=1,xs(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ws(e,t,i))}function Cs(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||Mc(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Oc(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ss(e,t,o,r,i))}if(o=e.child,0===(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return Ws(e,t,i)}return t.flags|=1,(e=Ic(o,r)).ref=t.ref,e.return=t,t.child=e}function Ss(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(lr(o,r)&&e.ref===t.ref){if(bs=!1,t.pendingProps=r=o,0===(e.lanes&i))return t.lanes=e.lanes,Ws(e,t,i);131072&e.flags&&(bs=!0)}}return _s(e,t,n,r,i)}function As(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_i(Il,Ml),Ml|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,_i(Il,Ml),Ml|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_i(Il,Ml),Ml|=n;else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,_i(Il,Ml),Ml|=r;return xs(e,t,i,n),t.child}function ks(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function _s(e,t,n,r,i){var o=Mi(n)?ji:Ti.current;return o=Ri(t,o),jo(t,i),n=ga(e,t,n,r,o,i),r=va(),null===e||bs?(io&&r&&eo(t),t.flags|=1,xs(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ws(e,t,i))}function Es(e,t,n,r,i){if(Mi(n)){var o=!0;Pi(t)}else o=!1;if(jo(t,i),null===t.stateNode)Us(e,t),as(t,n,r),ls(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;c="object"==typeof c&&null!==c?Ro(c):Ri(t,c=Mi(n)?ji:Ti.current);var d=n.getDerivedStateFromProps,u="function"==typeof d||"function"==typeof a.getSnapshotBeforeUpdate;u||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&ss(t,a,r,c),Po=!1;var h=t.memoizedState;a.state=h,Uo(t,r,a,i),l=t.memoizedState,s!==r||h!==l||Di.current||Po?("function"==typeof d&&(rs(t,n,d,r),l=t.memoizedState),(s=Po||os(t,n,s,r,h,l,c))?(u||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,No(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:ns(t.type,s),a.props=c,u=t.pendingProps,h=a.context,l="object"==typeof(l=n.contextType)&&null!==l?Ro(l):Ri(t,l=Mi(n)?ji:Ti.current);var p=n.getDerivedStateFromProps;(d="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==u||h!==l)&&ss(t,a,r,l),Po=!1,h=t.memoizedState,a.state=h,Uo(t,r,a,i);var f=t.memoizedState;s!==u||h!==f||Di.current||Po?("function"==typeof p&&(rs(t,n,p,r),f=t.memoizedState),(c=Po||os(t,n,c,r,h,f,l)||!1)?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Ts(e,t,n,r,o,i)}function Ts(e,t,n,r,i,o){ks(e,t);var a=!!(128&t.flags);if(!r&&!a)return i&&Bi(t,n,!1),Ws(e,t,o);r=t.stateNode,ys.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=wo(t,e.child,null,o),t.child=wo(t,null,s,o)):xs(e,t,s,o),t.memoizedState=r.state,i&&Bi(t,n,!0),t.child}function Ds(e){var t=e.stateNode;t.pendingContext?Oi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Oi(0,t.context,!1),Qo(e,t.containerInfo)}function js(e,t,n,r,i){return fo(),mo(i),t.flags|=256,xs(e,t,n,r),t.child}var Rs,Ms,Is,Os,Ls={dehydrated:null,treeContext:null,retryLane:0};function Ps(e){return{baseLanes:e,cachePool:null,transitions:null}}function Bs(e,t,n){var r,i=t.pendingProps,a=ea.current,s=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),_i(ea,1&a),null===e)return co(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=i.children,e=i.fallback,s?(i=t.mode,s=t.child,l={mode:"hidden",children:l},1&i||null===s?s=Pc(l,i,0,null):(s.childLanes=0,s.pendingProps=l),e=Lc(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ps(n),t.memoizedState=Ls,e):Ns(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,i,a,s){if(n)return 256&t.flags?(t.flags&=-257,Fs(e,t,s,r=ds(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=Pc({mode:"visible",children:r.children},i,0,null),(a=Lc(a,i,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,1&t.mode&&wo(t,e.child,null,s),t.child.memoizedState=Ps(s),t.memoizedState=Ls,a);if(!(1&t.mode))return Fs(e,t,s,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var l=r.dgst;return r=l,Fs(e,t,s,r=ds(a=Error(o(419)),r,void 0))}if(l=0!==(s&e.childLanes),bs||l){if(null!==(r=Dl)){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!==(i&(r.suspendedLanes|s))?0:i)&&i!==a.retryLane&&(a.retryLane=i,Lo(e,i),nc(r,e,i,-1))}return mc(),Fs(e,t,s,r=ds(Error(o(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Ec.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,ro=ci(i.nextSibling),no=t,io=!0,oo=null,null!==e&&(qi[Yi++]=Qi,qi[Yi++]=Zi,qi[Yi++]=Ji,Qi=e.id,Zi=e.overflow,Ji=t),(t=Ns(t,r.children)).flags|=4096,t)}(e,t,l,i,r,a,n);if(s){s=i.fallback,l=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:i.children};return 1&l||t.child===a?(i=Ic(a,c)).subtreeFlags=14680064&a.subtreeFlags:((i=t.child).childLanes=0,i.pendingProps=c,t.deletions=null),null!==r?s=Ic(r,s):(s=Lc(s,l,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,l=null===(l=e.child.memoizedState)?Ps(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ls,i}return e=(s=e.child).sibling,i=Ic(s,{mode:"visible",children:i.children}),!(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Ns(e,t){return(t=Pc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fs(e,t,n,r){return null!==r&&mo(r),wo(t,e.child,null,n),(e=Ns(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function $s(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Do(e.return,t,n)}function zs(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Hs(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(xs(e,t,r.children,n),2&(r=ea.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&$s(e,n,t);else if(19===e.tag)$s(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(_i(ea,r),1&t.mode)switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===ta(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),zs(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ta(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}zs(t,!0,n,null,o);break;case"together":zs(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Us(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ws(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Pl|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Ic(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ic(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Gs(e,t){if(!io)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Vs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function qs(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vs(t),null;case 1:case 17:return Mi(t.type)&&Ii(),Vs(t),null;case 3:return r=t.stateNode,Zo(),ki(Di),ki(Ti),ra(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(ho(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==oo&&(ac(oo),oo=null))),Ms(e,t),Vs(t),null;case 5:Ko(t);var i=Jo(Yo.current);if(n=t.type,null!==e&&null!=t.stateNode)Is(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Vs(t),null}if(e=Jo(Vo.current),ho(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[hi]=t,r[pi]=a,e=!!(1&t.mode),n){case"dialog":Fr("cancel",r),Fr("close",r);break;case"iframe":case"object":case"embed":Fr("load",r);break;case"video":case"audio":for(i=0;i<Lr.length;i++)Fr(Lr[i],r);break;case"source":Fr("error",r);break;case"img":case"image":case"link":Fr("error",r),Fr("load",r);break;case"details":Fr("toggle",r);break;case"input":Q(r,a),Fr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Fr("invalid",r);break;case"textarea":ie(r,a),Fr("invalid",r)}for(var l in ye(n,a),i=null,a)if(a.hasOwnProperty(l)){var c=a[l];"children"===l?"string"==typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Xr(r.textContent,c,e),i=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Xr(r.textContent,c,e),i=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Fr("scroll",r)}switch(n){case"input":V(r),K(r,a,!0);break;case"textarea":V(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Kr)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[hi]=t,e[pi]=r,Rs(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,r),n){case"dialog":Fr("cancel",e),Fr("close",e),i=r;break;case"iframe":case"object":case"embed":Fr("load",e),i=r;break;case"video":case"audio":for(i=0;i<Lr.length;i++)Fr(Lr[i],e);i=r;break;case"source":Fr("error",e),i=r;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),i=r;break;case"details":Fr("toggle",e),i=r;break;case"input":Q(e,r),i=J(e,r),Fr("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=B({},r,{value:void 0}),Fr("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),Fr("invalid",e)}for(a in ye(n,i),c=i)if(c.hasOwnProperty(a)){var d=c[a];"style"===a?ge(e,d):"dangerouslySetInnerHTML"===a?null!=(d=d?d.__html:void 0)&&ue(e,d):"children"===a?"string"==typeof d?("textarea"!==n||""!==d)&&he(e,d):"number"==typeof d&&he(e,""+d):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=d&&"onScroll"===a&&Fr("scroll",e):null!=d&&b(e,a,d,l))}switch(n){case"input":V(e),K(e,r,!1);break;case"textarea":V(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+W(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Kr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Vs(t),null;case 6:if(e&&null!=t.stateNode)Os(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=Jo(Yo.current),Jo(Vo.current),ho(t)){if(r=t.stateNode,n=t.memoizedProps,r[hi]=t,(a=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Xr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,!!(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[hi]=t,t.stateNode=r}return Vs(t),null;case 13:if(ki(ea),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(io&&null!==ro&&1&t.mode&&!(128&t.flags))po(),fo(),t.flags|=98560,a=!1;else if(a=ho(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(o(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(o(317));a[hi]=t}else fo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Vs(t),a=!1}else null!==oo&&(ac(oo),oo=null),a=!0;if(!a)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ea.current?0===Ol&&(Ol=3):mc())),null!==t.updateQueue&&(t.flags|=4),Vs(t),null);case 4:return Zo(),Ms(e,t),null===e&&Hr(t.stateNode.containerInfo),Vs(t),null;case 10:return To(t.type._context),Vs(t),null;case 19:if(ki(ea),null===(a=t.memoizedState))return Vs(t),null;if(r=!!(128&t.flags),null===(l=a.rendering))if(r)Gs(a,!1);else{if(0!==Ol||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=ta(e))){for(t.flags|=128,Gs(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return _i(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Ze()>Hl&&(t.flags|=128,r=!0,Gs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ta(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Gs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!io)return Vs(t),null}else 2*Ze()-a.renderingStartTime>Hl&&1073741824!==n&&(t.flags|=128,r=!0,Gs(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ze(),t.sibling=null,n=ea.current,_i(ea,r?1&n|2:1&n),t):(Vs(t),null);case 22:case 23:return uc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Ml)&&(Vs(t),6&t.subtreeFlags&&(t.flags|=8192)):Vs(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Ys(e,t){switch(to(t),t.tag){case 1:return Mi(t.type)&&Ii(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Zo(),ki(Di),ki(Ti),ra(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ko(t),null;case 13:if(ki(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));fo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ki(ea),null;case 4:return Zo(),null;case 10:return To(t.type._context),null;case 22:case 23:return uc(),null;default:return null}}Rs=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ms=function(){},Is=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Jo(Vo.current);var o,a=null;switch(n){case"input":i=J(e,i),r=J(e,r),a=[];break;case"select":i=B({},i,{value:void 0}),r=B({},r,{value:void 0}),a=[];break;case"textarea":i=re(e,i),r=re(e,r),a=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Kr)}for(d in ye(n,r),n=null,i)if(!r.hasOwnProperty(d)&&i.hasOwnProperty(d)&&null!=i[d])if("style"===d){var l=i[d];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(s.hasOwnProperty(d)?a||(a=[]):(a=a||[]).push(d,null));for(d in r){var c=r[d];if(l=null!=i?i[d]:void 0,r.hasOwnProperty(d)&&c!==l&&(null!=c||null!=l))if("style"===d)if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(a||(a=[]),a.push(d,n)),n=c;else"dangerouslySetInnerHTML"===d?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(a=a||[]).push(d,c)):"children"===d?"string"!=typeof c&&"number"!=typeof c||(a=a||[]).push(d,""+c):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(s.hasOwnProperty(d)?(null!=c&&"onScroll"===d&&Fr("scroll",e),a||l===c||(a=[])):(a=a||[]).push(d,c))}n&&(a=a||[]).push("style",n);var d=a;(t.updateQueue=d)&&(t.flags|=4)}},Os=function(e,t,n,r){n!==r&&(t.flags|=4)};var Js=!1,Qs=!1,Zs="function"==typeof WeakSet?WeakSet:Set,Xs=null;function Ks(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Ac(e,t,n)}else n.current=null}function el(e,t,n){try{n()}catch(n){Ac(e,t,n)}}var tl=!1;function nl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&el(t,n,o)}i=i.next}while(i!==r)}}function rl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function il(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function ol(e){var t=e.alternate;null!==t&&(e.alternate=null,ol(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[hi],delete t[pi],delete t[mi],delete t[gi],delete t[vi]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function al(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||al(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Kr));else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var dl=null,ul=!1;function hl(e,t,n){for(n=n.child;null!==n;)pl(e,t,n),n=n.sibling}function pl(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(it,n)}catch(e){}switch(n.tag){case 5:Qs||Ks(n,t);case 6:var r=dl,i=ul;dl=null,hl(e,t,n),ul=i,null!==(dl=r)&&(ul?(e=dl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:null!==dl&&(ul?(e=dl,n=n.stateNode,8===e.nodeType?li(e.parentNode,n):1===e.nodeType&&li(e,n),Ht(e)):li(dl,n.stateNode));break;case 4:r=dl,i=ul,dl=n.stateNode.containerInfo,ul=!0,hl(e,t,n),dl=r,ul=i;break;case 0:case 11:case 14:case 15:if(!Qs&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(2&o||4&o)&&el(n,t,a),i=i.next}while(i!==r)}hl(e,t,n);break;case 1:if(!Qs&&(Ks(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Ac(n,t,e)}hl(e,t,n);break;case 21:hl(e,t,n);break;case 22:1&n.mode?(Qs=(r=Qs)||null!==n.memoizedState,hl(e,t,n),Qs=r):hl(e,t,n);break;default:hl(e,t,n)}}function fl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zs),t.forEach(function(t){var r=Tc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:dl=l.stateNode,ul=!1;break e;case 3:case 4:dl=l.stateNode.containerInfo,ul=!0;break e}l=l.return}if(null===dl)throw Error(o(160));pl(a,s,i),dl=null,ul=!1;var c=i.alternate;null!==c&&(c.return=null),i.return=null}catch(e){Ac(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}function gl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),vl(e),4&r){try{nl(3,e,e.return),rl(3,e)}catch(t){Ac(e,e.return,t)}try{nl(5,e,e.return)}catch(t){Ac(e,e.return,t)}}break;case 1:ml(t,e),vl(e),512&r&&null!==n&&Ks(n,n.return);break;case 5:if(ml(t,e),vl(e),512&r&&null!==n&&Ks(n,n.return),32&e.flags){var i=e.stateNode;try{he(i,"")}catch(t){Ac(e,e.return,t)}}if(4&r&&null!=(i=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&Z(i,a),be(l,s);var d=be(l,a);for(s=0;s<c.length;s+=2){var u=c[s],h=c[s+1];"style"===u?ge(i,h):"dangerouslySetInnerHTML"===u?ue(i,h):"children"===u?he(i,h):b(i,u,h,d)}switch(l){case"input":X(i,a);break;case"textarea":oe(i,a);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var f=a.value;null!=f?ne(i,!!a.multiple,f,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(i,!!a.multiple,a.defaultValue,!0):ne(i,!!a.multiple,a.multiple?[]:"",!1))}i[pi]=a}catch(t){Ac(e,e.return,t)}}break;case 6:if(ml(t,e),vl(e),4&r){if(null===e.stateNode)throw Error(o(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(t){Ac(e,e.return,t)}}break;case 3:if(ml(t,e),vl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ht(t.containerInfo)}catch(t){Ac(e,e.return,t)}break;case 4:default:ml(t,e),vl(e);break;case 13:ml(t,e),vl(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,!a||null!==i.alternate&&null!==i.alternate.memoizedState||(zl=Ze())),4&r&&fl(e);break;case 22:if(u=null!==n&&null!==n.memoizedState,1&e.mode?(Qs=(d=Qs)||u,ml(t,e),Qs=d):ml(t,e),vl(e),8192&r){if(d=null!==e.memoizedState,(e.stateNode.isHidden=d)&&!u&&1&e.mode)for(Xs=e,u=e.child;null!==u;){for(h=Xs=u;null!==Xs;){switch(f=(p=Xs).child,p.tag){case 0:case 11:case 14:case 15:nl(4,p,p.return);break;case 1:Ks(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Ac(r,n,e)}}break;case 5:Ks(p,p.return);break;case 22:if(null!==p.memoizedState){wl(h);continue}}null!==f?(f.return=p,Xs=f):wl(h)}u=u.sibling}e:for(u=null,h=e;;){if(5===h.tag){if(null===u){u=h;try{i=h.stateNode,d?"function"==typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=h.stateNode,s=null!=(c=h.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",s))}catch(t){Ac(e,e.return,t)}}}else if(6===h.tag){if(null===u)try{h.stateNode.nodeValue=d?"":h.memoizedProps}catch(t){Ac(e,e.return,t)}}else if((22!==h.tag&&23!==h.tag||null===h.memoizedState||h===e)&&null!==h.child){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;null===h.sibling;){if(null===h.return||h.return===e)break e;u===h&&(u=null),h=h.return}u===h&&(u=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:ml(t,e),vl(e),4&r&&fl(e);case 21:}}function vl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(al(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(he(i,""),r.flags&=-33),cl(e,sl(e),i);break;case 3:case 4:var a=r.stateNode.containerInfo;ll(e,sl(e),a);break;default:throw Error(o(161))}}catch(t){Ac(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yl(e,t,n){Xs=e,bl(e,t,n)}function bl(e,t,n){for(var r=!!(1&e.mode);null!==Xs;){var i=Xs,o=i.child;if(22===i.tag&&r){var a=null!==i.memoizedState||Js;if(!a){var s=i.alternate,l=null!==s&&null!==s.memoizedState||Qs;s=Js;var c=Qs;if(Js=a,(Qs=l)&&!c)for(Xs=i;null!==Xs;)l=(a=Xs).child,22===a.tag&&null!==a.memoizedState?Cl(i):null!==l?(l.return=a,Xs=l):Cl(i);for(;null!==o;)Xs=o,bl(o,t,n),o=o.sibling;Xs=i,Js=s,Qs=c}xl(e)}else 8772&i.subtreeFlags&&null!==o?(o.return=i,Xs=o):xl(e)}}function xl(e){for(;null!==Xs;){var t=Xs;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Qs||rl(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Qs)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Wo(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Wo(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var d=t.alternate;if(null!==d){var u=d.memoizedState;if(null!==u){var h=u.dehydrated;null!==h&&Ht(h)}}}break;default:throw Error(o(163))}Qs||512&t.flags&&il(t)}catch(e){Ac(t,t.return,e)}}if(t===e){Xs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xs=n;break}Xs=t.return}}function wl(e){for(;null!==Xs;){var t=Xs;if(t===e){Xs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xs=n;break}Xs=t.return}}function Cl(e){for(;null!==Xs;){var t=Xs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rl(4,t)}catch(e){Ac(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){Ac(t,i,e)}}var o=t.return;try{il(t)}catch(e){Ac(t,o,e)}break;case 5:var a=t.return;try{il(t)}catch(e){Ac(t,a,e)}}}catch(e){Ac(t,t.return,e)}if(t===e){Xs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Xs=s;break}Xs=t.return}}var Sl,Al=Math.ceil,kl=x.ReactCurrentDispatcher,_l=x.ReactCurrentOwner,El=x.ReactCurrentBatchConfig,Tl=0,Dl=null,jl=null,Rl=0,Ml=0,Il=Ai(0),Ol=0,Ll=null,Pl=0,Bl=0,Nl=0,Fl=null,$l=null,zl=0,Hl=1/0,Ul=null,Wl=!1,Gl=null,Vl=null,ql=!1,Yl=null,Jl=0,Ql=0,Zl=null,Xl=-1,Kl=0;function ec(){return 6&Tl?Ze():-1!==Xl?Xl:Xl=Ze()}function tc(e){return 1&e.mode?2&Tl&&0!==Rl?Rl&-Rl:null!==go.transition?(0===Kl&&(Kl=mt()),Kl):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Qt(e.type):1}function nc(e,t,n,r){if(50<Ql)throw Ql=0,Zl=null,Error(o(185));vt(e,n,r),2&Tl&&e===Dl||(e===Dl&&(!(2&Tl)&&(Bl|=n),4===Ol&&sc(e,Rl)),rc(e,r),1===n&&0===Tl&&!(1&t.mode)&&(Hl=Ze()+500,Fi&&Hi()))}function rc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-at(o),s=1<<a,l=i[a];-1===l?0!==(s&n)&&0===(s&r)||(i[a]=pt(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=ht(e,e===Dl?Rl:0);if(0===r)null!==n&&Ye(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ye(n),1===t)0===e.tag?function(e){Fi=!0,zi(e)}(lc.bind(null,e)):zi(lc.bind(null,e)),ai(function(){!(6&Tl)&&Hi()}),n=null;else{switch(xt(r)){case 1:n=Ke;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Dc(n,ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ic(e,t){if(Xl=-1,Kl=0,6&Tl)throw Error(o(327));var n=e.callbackNode;if(Cc()&&e.callbackNode!==n)return null;var r=ht(e,e===Dl?Rl:0);if(0===r)return null;if(30&r||0!==(r&e.expiredLanes)||t)t=gc(e,r);else{t=r;var i=Tl;Tl|=2;var a=fc();for(Dl===e&&Rl===t||(Ul=null,Hl=Ze()+500,hc(e,t));;)try{yc();break}catch(t){pc(e,t)}Eo(),kl.current=a,Tl=i,null!==jl?t=0:(Dl=null,Rl=0,t=Ol)}if(0!==t){if(2===t&&0!==(i=ft(e))&&(r=i,t=oc(e,i)),1===t)throw n=Ll,hc(e,0),sc(e,r),rc(e,Ze()),n;if(6===t)sc(e,r);else{if(i=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!sr(o(),i))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)||(t=gc(e,r),2===t&&(a=ft(e),0!==a&&(r=a,t=oc(e,a))),1!==t)))throw n=Ll,hc(e,0),sc(e,r),rc(e,Ze()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:wc(e,$l,Ul);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=zl+500-Ze())){if(0!==ht(e,0))break;if(((i=e.suspendedLanes)&r)!==r){ec(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ri(wc.bind(null,e,$l,Ul),t);break}wc(e,$l,Ul);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>i&&(i=s),r&=~a}if(r=i,10<(r=(120>(r=Ze()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Al(r/1960))-r)){e.timeoutHandle=ri(wc.bind(null,e,$l,Ul),r);break}wc(e,$l,Ul);break;default:throw Error(o(329))}}}return rc(e,Ze()),e.callbackNode===n?ic.bind(null,e):null}function oc(e,t){var n=Fl;return e.current.memoizedState.isDehydrated&&(hc(e,t).flags|=256),2!==(e=gc(e,t))&&(t=$l,$l=n,null!==t&&ac(t)),e}function ac(e){null===$l?$l=e:$l.push.apply($l,e)}function sc(e,t){for(t&=~Nl,t&=~Bl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function lc(e){if(6&Tl)throw Error(o(327));Cc();var t=ht(e,0);if(!(1&t))return rc(e,Ze()),null;var n=gc(e,t);if(0!==e.tag&&2===n){var r=ft(e);0!==r&&(t=r,n=oc(e,r))}if(1===n)throw n=Ll,hc(e,0),sc(e,t),rc(e,Ze()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wc(e,$l,Ul),rc(e,Ze()),null}function cc(e,t){var n=Tl;Tl|=1;try{return e(t)}finally{0===(Tl=n)&&(Hl=Ze()+500,Fi&&Hi())}}function dc(e){null!==Yl&&0===Yl.tag&&!(6&Tl)&&Cc();var t=Tl;Tl|=1;var n=El.transition,r=bt;try{if(El.transition=null,bt=1,e)return e()}finally{bt=r,El.transition=n,!(6&(Tl=t))&&Hi()}}function uc(){Ml=Il.current,ki(Il)}function hc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ii(n)),null!==jl)for(n=jl.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ii();break;case 3:Zo(),ki(Di),ki(Ti),ra();break;case 5:Ko(r);break;case 4:Zo();break;case 13:case 19:ki(ea);break;case 10:To(r.type._context);break;case 22:case 23:uc()}n=n.return}if(Dl=e,jl=e=Ic(e.current,null),Rl=Ml=t,Ol=0,Ll=null,Nl=Bl=Pl=0,$l=Fl=null,null!==Mo){for(t=0;t<Mo.length;t++)if(null!==(r=(n=Mo[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}Mo=null}return e}function pc(e,t){for(;;){var n=jl;try{if(Eo(),ia.current=Xa,da){for(var r=sa.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}da=!1}if(aa=0,ca=la=sa=null,ua=!1,ha=0,_l.current=null,null===n||null===n.return){Ol=1,Ll=t,jl=null;break}e:{var a=e,s=n.return,l=n,c=t;if(t=Rl,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var d=c,u=l,h=u.tag;if(!(1&u.mode||0!==h&&11!==h&&15!==h)){var p=u.alternate;p?(u.updateQueue=p.updateQueue,u.memoizedState=p.memoizedState,u.lanes=p.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=gs(s);if(null!==f){f.flags&=-257,vs(f,s,l,0,t),1&f.mode&&ms(a,d,t),c=d;var m=(t=f).updateQueue;if(null===m){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}if(!(1&t)){ms(a,d,t),mc();break e}c=Error(o(426))}else if(io&&1&l.mode){var v=gs(s);if(null!==v){!(65536&v.flags)&&(v.flags|=256),vs(v,s,l,0,t),mo(cs(c,l));break e}}a=c=cs(c,l),4!==Ol&&(Ol=2),null===Fl?Fl=[a]:Fl.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Ho(a,ps(0,c,t));break e;case 1:l=c;var y=a.type,b=a.stateNode;if(!(128&a.flags||"function"!=typeof y.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Vl&&Vl.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Ho(a,fs(a,l,t));break e}}a=a.return}while(null!==a)}xc(n)}catch(e){t=e,jl===n&&null!==n&&(jl=n=n.return);continue}break}}function fc(){var e=kl.current;return kl.current=Xa,null===e?Xa:e}function mc(){0!==Ol&&3!==Ol&&2!==Ol||(Ol=4),null===Dl||!(268435455&Pl)&&!(268435455&Bl)||sc(Dl,Rl)}function gc(e,t){var n=Tl;Tl|=2;var r=fc();for(Dl===e&&Rl===t||(Ul=null,hc(e,t));;)try{vc();break}catch(t){pc(e,t)}if(Eo(),Tl=n,kl.current=r,null!==jl)throw Error(o(261));return Dl=null,Rl=0,Ol}function vc(){for(;null!==jl;)bc(jl)}function yc(){for(;null!==jl&&!Je();)bc(jl)}function bc(e){var t=Sl(e.alternate,e,Ml);e.memoizedProps=e.pendingProps,null===t?xc(e):jl=t,_l.current=null}function xc(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Ys(n,t)))return n.flags&=32767,void(jl=n);if(null===e)return Ol=6,void(jl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=qs(n,t,Ml)))return void(jl=n);if(null!==(t=t.sibling))return void(jl=t);jl=t=e}while(null!==t);0===Ol&&(Ol=5)}function wc(e,t,n){var r=bt,i=El.transition;try{El.transition=null,bt=1,function(e,t,n,r){do{Cc()}while(null!==Yl);if(6&Tl)throw Error(o(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-at(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,a),e===Dl&&(jl=Dl=null,Rl=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||ql||(ql=!0,Dc(tt,function(){return Cc(),null})),a=!!(15990&n.flags),15990&n.subtreeFlags||a){a=El.transition,El.transition=null;var s=bt;bt=1;var l=Tl;Tl|=4,_l.current=null,function(e,t){if(ei=Wt,pr(e=hr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,l=-1,c=-1,d=0,u=0,h=e,p=null;t:for(;;){for(var f;h!==n||0!==i&&3!==h.nodeType||(l=s+i),h!==a||0!==r&&3!==h.nodeType||(c=s+r),3===h.nodeType&&(s+=h.nodeValue.length),null!==(f=h.firstChild);)p=h,h=f;for(;;){if(h===e)break t;if(p===n&&++d===i&&(l=s),p===a&&++u===r&&(c=s),null!==(f=h.nextSibling))break;p=(h=p).parentNode}h=f}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ti={focusedElem:e,selectionRange:n},Wt=!1,Xs=t;null!==Xs;)if(e=(t=Xs).child,1028&t.subtreeFlags&&null!==e)e.return=t,Xs=e;else for(;null!==Xs;){t=Xs;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:ns(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(o(163))}}catch(e){Ac(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Xs=e;break}Xs=t.return}m=tl,tl=!1}(e,n),gl(n,e),fr(ti),Wt=!!ei,ti=ei=null,e.current=n,yl(n,e,i),Qe(),Tl=l,bt=s,El.transition=a}else e.current=n;if(ql&&(ql=!1,Yl=e,Jl=i),0===(a=e.pendingLanes)&&(Vl=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(it,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),rc(e,Ze()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((i=t[n]).value,{componentStack:i.stack,digest:i.digest});if(Wl)throw Wl=!1,e=Gl,Gl=null,e;!!(1&Jl)&&0!==e.tag&&Cc(),1&(a=e.pendingLanes)?e===Zl?Ql++:(Ql=0,Zl=e):Ql=0,Hi()}(e,t,n,r)}finally{El.transition=i,bt=r}return null}function Cc(){if(null!==Yl){var e=xt(Jl),t=El.transition,n=bt;try{if(El.transition=null,bt=16>e?16:e,null===Yl)var r=!1;else{if(e=Yl,Yl=null,Jl=0,6&Tl)throw Error(o(331));var i=Tl;for(Tl|=4,Xs=e.current;null!==Xs;){var a=Xs,s=a.child;if(16&Xs.flags){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var d=l[c];for(Xs=d;null!==Xs;){var u=Xs;switch(u.tag){case 0:case 11:case 15:nl(8,u,a)}var h=u.child;if(null!==h)h.return=u,Xs=h;else for(;null!==Xs;){var p=(u=Xs).sibling,f=u.return;if(ol(u),u===d){Xs=null;break}if(null!==p){p.return=f,Xs=p;break}Xs=f}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Xs=a}}if(2064&a.subtreeFlags&&null!==s)s.return=a,Xs=s;else e:for(;null!==Xs;){if(2048&(a=Xs).flags)switch(a.tag){case 0:case 11:case 15:nl(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Xs=y;break e}Xs=a.return}}var b=e.current;for(Xs=b;null!==Xs;){var x=(s=Xs).child;if(2064&s.subtreeFlags&&null!==x)x.return=s,Xs=x;else e:for(s=b;null!==Xs;){if(2048&(l=Xs).flags)try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(e){Ac(l,l.return,e)}if(l===s){Xs=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,Xs=w;break e}Xs=l.return}}if(Tl=i,Hi(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(it,e)}catch(e){}r=!0}return r}finally{bt=n,El.transition=t}}return!1}function Sc(e,t,n){e=$o(e,t=ps(0,t=cs(n,t),1),1),t=ec(),null!==e&&(vt(e,1,t),rc(e,t))}function Ac(e,t,n){if(3===e.tag)Sc(e,e,n);else for(;null!==t;){if(3===t.tag){Sc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Vl||!Vl.has(r))){t=$o(t,e=fs(t,e=cs(n,e),1),1),e=ec(),null!==t&&(vt(t,1,e),rc(t,e));break}}t=t.return}}function kc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&n,Dl===e&&(Rl&n)===n&&(4===Ol||3===Ol&&(130023424&Rl)===Rl&&500>Ze()-zl?hc(e,0):Nl|=n),rc(e,t)}function _c(e,t){0===t&&(1&e.mode?(t=dt,!(130023424&(dt<<=1))&&(dt=4194304)):t=1);var n=ec();null!==(e=Lo(e,t))&&(vt(e,t,n),rc(e,n))}function Ec(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),_c(e,n)}function Tc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),_c(e,n)}function Dc(e,t){return qe(e,t)}function jc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Rc(e,t,n,r){return new jc(e,t,n,r)}function Mc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ic(e,t){var n=e.alternate;return null===n?((n=Rc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Oc(e,t,n,r,i,a){var s=2;if(r=e,"function"==typeof e)Mc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case S:return Lc(n.children,i,a,t);case A:s=8,i|=8;break;case k:return(e=Rc(12,n,t,2|i)).elementType=k,e.lanes=a,e;case D:return(e=Rc(13,n,t,i)).elementType=D,e.lanes=a,e;case j:return(e=Rc(19,n,t,i)).elementType=j,e.lanes=a,e;case I:return Pc(n,i,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:s=10;break e;case E:s=9;break e;case T:s=11;break e;case R:s=14;break e;case M:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Rc(s,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function Lc(e,t,n,r){return(e=Rc(7,e,r,t)).lanes=n,e}function Pc(e,t,n,r){return(e=Rc(22,e,r,t)).elementType=I,e.lanes=n,e.stateNode={isHidden:!1},e}function Bc(e,t,n){return(e=Rc(6,e,null,t)).lanes=n,e}function Nc(e,t,n){return(t=Rc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fc(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function $c(e,t,n,r,i,o,a,s,l){return e=new Fc(e,t,n,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Rc(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bo(o),e}function zc(e){if(!e)return Ei;e:{if(He(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Mi(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Mi(n))return Li(e,n,t)}return t}function Hc(e,t,n,r,i,o,a,s,l){return(e=$c(n,r,!0,e,0,o,0,s,l)).context=zc(null),n=e.current,(o=Fo(r=ec(),i=tc(n))).callback=null!=t?t:null,$o(n,o,i),e.current.lanes=i,vt(e,i,r),rc(e,r),e}function Uc(e,t,n,r){var i=t.current,o=ec(),a=tc(i);return n=zc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Fo(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=$o(i,t,a))&&(nc(e,i,a,o),zo(e,i,a)),a}function Wc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Gc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Vc(e,t){Gc(e,t),(e=e.alternate)&&Gc(e,t)}Sl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Di.current)bs=!0;else{if(0===(e.lanes&n)&&!(128&t.flags))return bs=!1,function(e,t,n){switch(t.tag){case 3:Ds(t),fo();break;case 5:Xo(t);break;case 1:Mi(t.type)&&Pi(t);break;case 4:Qo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;_i(So,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(_i(ea,1&ea.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Bs(e,t,n):(_i(ea,1&ea.current),null!==(e=Ws(e,t,n))?e.sibling:null);_i(ea,1&ea.current);break;case 19:if(r=0!==(n&t.childLanes),128&e.flags){if(r)return Hs(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),_i(ea,ea.current),r)break;return null;case 22:case 23:return t.lanes=0,As(e,t,n)}return Ws(e,t,n)}(e,t,n);bs=!!(131072&e.flags)}else bs=!1,io&&1048576&t.flags&&Ki(t,Vi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Us(e,t),e=t.pendingProps;var i=Ri(t,Ti.current);jo(t,n),i=ga(null,t,r,e,i,n);var a=va();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Mi(r)?(a=!0,Pi(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Bo(t),i.updater=is,t.stateNode=i,i._reactInternals=t,ls(t,r,e,n),t=Ts(null,t,r,!0,a,n)):(t.tag=0,io&&a&&eo(t),xs(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Us(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return Mc(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===R)return 14}return 2}(r),e=ns(r,e),i){case 0:t=_s(null,t,r,e,n);break e;case 1:t=Es(null,t,r,e,n);break e;case 11:t=ws(null,t,r,e,n);break e;case 14:t=Cs(null,t,r,ns(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,_s(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 1:return r=t.type,i=t.pendingProps,Es(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 3:e:{if(Ds(t),null===e)throw Error(o(387));r=t.pendingProps,i=(a=t.memoizedState).element,No(e,t),Uo(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=js(e,t,r,n,i=cs(Error(o(423)),t));break e}if(r!==i){t=js(e,t,r,n,i=cs(Error(o(424)),t));break e}for(ro=ci(t.stateNode.containerInfo.firstChild),no=t,io=!0,oo=null,n=Co(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(fo(),r===i){t=Ws(e,t,n);break e}xs(e,t,r,n)}t=t.child}return t;case 5:return Xo(t),null===e&&co(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,ni(r,i)?s=null:null!==a&&ni(r,a)&&(t.flags|=32),ks(e,t),xs(e,t,s,n),t.child;case 6:return null===e&&co(t),null;case 13:return Bs(e,t,n);case 4:return Qo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=wo(t,null,r,n):xs(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,ws(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 7:return xs(e,t,t.pendingProps,n),t.child;case 8:case 12:return xs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,s=i.value,_i(So,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===i.children&&!Di.current){t=Ws(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=Fo(-1,n&-n)).tag=2;var d=a.updateQueue;if(null!==d){var u=(d=d.shared).pending;null===u?c.next=c:(c.next=u.next,u.next=c),d.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),Do(a.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(o(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Do(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}xs(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,jo(t,n),r=r(i=Ro(i)),t.flags|=1,xs(e,t,r,n),t.child;case 14:return i=ns(r=t.type,t.pendingProps),Cs(e,t,r,i=ns(r.type,i),n);case 15:return Ss(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ns(r,i),Us(e,t),t.tag=1,Mi(r)?(e=!0,Pi(t)):e=!1,jo(t,n),as(t,r,i),ls(t,r,i,n),Ts(null,t,r,!0,e,n);case 19:return Hs(e,t,n);case 22:return As(e,t,n)}throw Error(o(156,t.tag))};var qc="function"==typeof reportError?reportError:function(e){console.error(e)};function Yc(e){this._internalRoot=e}function Jc(e){this._internalRoot=e}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xc(){}function Kc(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if("function"==typeof i){var s=i;i=function(){var e=Wc(a);s.call(e)}}Uc(t,a,e,i)}else a=function(e,t,n,r,i){if(i){if("function"==typeof r){var o=r;r=function(){var e=Wc(a);o.call(e)}}var a=Hc(t,r,e,0,null,!1,0,"",Xc);return e._reactRootContainer=a,e[fi]=a.current,Hr(8===e.nodeType?e.parentNode:e),dc(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof r){var s=r;r=function(){var e=Wc(l);s.call(e)}}var l=$c(e,0,!1,null,0,!1,0,"",Xc);return e._reactRootContainer=l,e[fi]=l.current,Hr(8===e.nodeType?e.parentNode:e),dc(function(){Uc(t,l,n,r)}),l}(n,t,e,i,r);return Wc(a)}Jc.prototype.render=Yc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Uc(e,t,null,null)},Jc.prototype.unmount=Yc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dc(function(){Uc(null,e,null,null)}),t[fi]=null}},Jc.prototype.unstable_scheduleHydration=function(e){if(e){var t=At();e={blockedOn:null,target:e,priority:t};for(var n=0;n<It.length&&0!==t&&t<It[n].priority;n++);It.splice(n,0,e),0===n&&Bt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ut(t.pendingLanes);0!==n&&(yt(t,1|n),rc(t,Ze()),!(6&Tl)&&(Hl=Ze()+500,Hi()))}break;case 13:dc(function(){var t=Lo(e,1);if(null!==t){var n=ec();nc(t,e,1,n)}}),Vc(e,1)}},Ct=function(e){if(13===e.tag){var t=Lo(e,134217728);null!==t&&nc(t,e,134217728,ec()),Vc(e,134217728)}},St=function(e){if(13===e.tag){var t=tc(e),n=Lo(e,t);null!==n&&nc(n,e,t,ec()),Vc(e,t)}},At=function(){return bt},kt=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Ce=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=wi(r);if(!i)throw Error(o(90));q(r),X(r,i)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Te=cc,De=dc;var ed={usingClientEntryPoint:!1,Events:[bi,xi,wi,_e,Ee,cc]},td={findFiberByHostInstance:yi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nd={bundleType:td.bundleType,version:td.version,rendererPackageName:td.rendererPackageName,rendererConfig:td.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ge(e))?null:e.stateNode},findFiberByHostInstance:td.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var rd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rd.isDisabled&&rd.supportsFiber)try{it=rd.inject(nd),ot=rd}catch(de){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ed,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qc(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:C,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Qc(e))throw Error(o(299));var n=!1,r="",i=qc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=$c(e,1,!1,null,0,n,0,r,i),e[fi]=t.current,Hr(8===e.nodeType?e.parentNode:e),new Yc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return null===(e=Ge(t))?null:e.stateNode},t.flushSync=function(e){return dc(e)},t.hydrate=function(e,t,n){if(!Zc(t))throw Error(o(200));return Kc(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Qc(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,i=!1,a="",s=qc;if(null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Hc(t,null,e,1,null!=n?n:null,i,0,a,s),e[fi]=t.current,Hr(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Jc(t)},t.render=function(e,t,n){if(!Zc(t))throw Error(o(200));return Kc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zc(e))throw Error(o(40));return!!e._reactRootContainer&&(dc(function(){Kc(null,null,e,!1,function(){e._reactRootContainer=null,e[fi]=null})}),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zc(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return Kc(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},9771:function(e,t,n){!function(e,t){"use strict";function n(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function r(e){return function(){var t=this,r=arguments;return new Promise(function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,l,"next",e)}function l(e){n(a,i,o,s,l,"throw",e)}s(void 0)})}}function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function o(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function a(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var s={init:"init"},l=function(e){var t=e.value;return void 0===t?"":t},c=function(){return t.createElement(t.Fragment,null," ")},d={Cell:l,width:150,minWidth:0,maxWidth:Number.MAX_SAFE_INTEGER};function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(e,t){var n=t.style,r=t.className;return e=i({},e,{},o(t,["style","className"])),n&&(e.style=e.style?i({},e.style||{},{},n||{}):n),r&&(e.className=e.className?e.className+" "+r:r),""===e.className&&delete e.className,e},{})}var h=function(e,t){return void 0===t&&(t={}),function(n){return void 0===n&&(n={}),[].concat(e,[n]).reduce(function(e,r){return function e(t,n,r){return"function"==typeof n?e({},n(t,r)):Array.isArray(n)?u.apply(void 0,[t].concat(n)):u(t,n)}(e,r,i({},t,{userProps:n}))},{})}},p=function(e,t,n,r){return void 0===n&&(n={}),e.reduce(function(e,t){return t(e,n)},t)},f=function(e,t,n){return void 0===n&&(n={}),e.forEach(function(e){e(t,n)})};function m(e,t,n,r){e.findIndex(function(e){return e.pluginName===n}),t.forEach(function(t){e.findIndex(function(e){return e.pluginName===t})})}function g(e,t){return"function"==typeof e?e(t):e}function v(e){var n=t.useRef();return n.current=e,t.useCallback(function(){return n.current},[])}var y="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;function b(e,n){var r=t.useRef(!1);y(function(){r.current&&e(),r.current=!0},n)}function x(e,t,n){return void 0===n&&(n={}),function(r,o){void 0===o&&(o={});var a="string"==typeof r?t[r]:r;if(void 0===a)throw console.info(t),new Error("Renderer Error ☝️");return w(a,i({},e,{column:t},n,{},o))}}function w(e,n){return function(e){return"function"==typeof e&&(t=Object.getPrototypeOf(e)).prototype&&t.prototype.isReactComponent;var t}(r=e)||"function"==typeof r||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(r)?t.createElement(e,n):e;var r}function C(e,t,n){return void 0===n&&(n=0),e.map(function(e){return A(e=i({},e,{parent:t,depth:n})),e.columns&&(e.columns=C(e.columns,e,n+1)),e})}function S(e){return D(e,"columns")}function A(e){var t=e.id,n=e.accessor,r=e.Header;if("string"==typeof n){t=t||n;var i=n.split(".");n=function(e){return function(e,t){if(!t)return e;var n,r="function"==typeof t?t:JSON.stringify(t),i=_.get(r)||function(){var e=function(e){return function e(t,n){if(void 0===n&&(n=[]),Array.isArray(t))for(var r=0;r<t.length;r+=1)e(t[r],n);else n.push(t);return n}(e).map(function(e){return String(e).replace(".","_")}).join(".").replace(L,".").replace(P,"").split(".")}(t);return _.set(r,e),e}();try{n=i.reduce(function(e,t){return e[t]},e)}catch(e){}return void 0!==n?n:void 0}(e,i)}}if(!t&&"string"==typeof r&&r&&(t=r),!t&&e.columns)throw console.error(e),new Error('A column ID (or unique "Header" value) is required!');if(!t)throw console.error(e),new Error("A column ID (or string accessor) is required!");return Object.assign(e,{id:t,accessor:n}),e}function k(e,t){if(!t)throw new Error;return Object.assign(e,i({Header:c,Footer:c},d,{},t,{},e)),Object.assign(e,{originalWidth:e.width}),e}var _=new Map;function E(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0;r<t.length;r+=1)if(void 0!==t[r])return t[r]}function T(e){if("function"==typeof e)return e}function D(e,t){var n=[];return function e(r){r.forEach(function(r){r[t]?e(r[t]):n.push(r)})}(e),n}function j(e,t){var n=t.manualExpandedKey,r=t.expanded,i=t.expandSubRows,o=void 0===i||i,a=[];return e.forEach(function(e){return function e(t,i){void 0===i&&(i=!0),t.isExpanded=t.original&&t.original[n]||r[t.id],t.canExpand=t.subRows&&!!t.subRows.length,i&&a.push(t),t.subRows&&t.subRows.length&&t.isExpanded&&t.subRows.forEach(function(t){return e(t,o)})}(e)}),a}function R(e,t,n){return T(e)||t[e]||n[e]||n.text}function M(e,t,n){return e?e(t,n):void 0===t}function I(){throw new Error("React-Table: You have not called prepareRow(row) one or more rows you are attempting to render.")}var O=null,L=/\[/g,P=/\]/g,B=function(e){return i({role:"table"},e)},N=function(e){return i({role:"rowgroup"},e)},F=function(e,t){var n=t.column;return i({key:"header_"+n.id,colSpan:n.totalVisibleHeaderCount,role:"columnheader"},e)},$=function(e,t){var n=t.column;return i({key:"footer_"+n.id,colSpan:n.totalVisibleHeaderCount},e)},z=function(e,t){return i({key:"headerGroup_"+t.index,role:"row"},e)},H=function(e,t){return i({key:"footerGroup_"+t.index},e)},U=function(e,t){return i({key:"row_"+t.row.id,role:"row"},e)},W=function(e,t){var n=t.cell;return i({key:"cell_"+n.row.id+"_"+n.column.id,role:"cell"},e)};function G(){return{useOptions:[],stateReducers:[],useControlledState:[],columns:[],columnsDeps:[],allColumns:[],allColumnsDeps:[],accessValue:[],materializedColumns:[],materializedColumnsDeps:[],useInstanceAfterData:[],visibleColumns:[],visibleColumnsDeps:[],headerGroups:[],headerGroupsDeps:[],useInstanceBeforeDimensions:[],useInstance:[],prepareRow:[],getTableProps:[B],getTableBodyProps:[N],getHeaderGroupProps:[z],getFooterGroupProps:[H],getHeaderProps:[F],getFooterProps:[$],getRowProps:[U],getCellProps:[W],useFinalInstance:[]}}s.resetHiddenColumns="resetHiddenColumns",s.toggleHideColumn="toggleHideColumn",s.setHiddenColumns="setHiddenColumns",s.toggleHideAllColumns="toggleHideAllColumns";var V=function(e){e.getToggleHiddenProps=[q],e.getToggleHideAllColumnsProps=[Y],e.stateReducers.push(J),e.useInstanceBeforeDimensions.push(Q),e.headerGroupsDeps.push(function(e,t){var n=t.instance;return[].concat(e,[n.state.hiddenColumns])}),e.useInstance.push(Z)};V.pluginName="useColumnVisibility";var q=function(e,t){var n=t.column;return[e,{onChange:function(e){n.toggleHidden(!e.target.checked)},style:{cursor:"pointer"},checked:n.isVisible,title:"Toggle Column Visible"}]},Y=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleHideAllColumns(!e.target.checked)},style:{cursor:"pointer"},checked:!n.allColumnsHidden&&!n.state.hiddenColumns.length,title:"Toggle All Columns Hidden",indeterminate:!n.allColumnsHidden&&n.state.hiddenColumns.length}]};function J(e,t,n,r){if(t.type===s.init)return i({hiddenColumns:[]},e);if(t.type===s.resetHiddenColumns)return i({},e,{hiddenColumns:r.initialState.hiddenColumns||[]});if(t.type===s.toggleHideColumn){var o=(void 0!==t.value?t.value:!e.hiddenColumns.includes(t.columnId))?[].concat(e.hiddenColumns,[t.columnId]):e.hiddenColumns.filter(function(e){return e!==t.columnId});return i({},e,{hiddenColumns:o})}return t.type===s.setHiddenColumns?i({},e,{hiddenColumns:g(t.value,e.hiddenColumns)}):t.type===s.toggleHideAllColumns?i({},e,{hiddenColumns:(void 0!==t.value?t.value:!e.hiddenColumns.length)?r.allColumns.map(function(e){return e.id}):[]}):void 0}function Q(e){var n=e.headers,r=e.state.hiddenColumns;t.useRef(!1).current;var i=0;n.forEach(function(e){return i+=function e(t,n){t.isVisible=n&&!r.includes(t.id);var i=0;return t.headers&&t.headers.length?t.headers.forEach(function(n){return i+=e(n,t.isVisible)}):i=t.isVisible?1:0,t.totalVisibleHeaderCount=i,i}(e,!0)})}function Z(e){var n=e.columns,r=e.flatHeaders,i=e.dispatch,o=e.allColumns,a=e.getHooks,l=e.state.hiddenColumns,c=e.autoResetHiddenColumns,d=void 0===c||c,u=v(e),p=o.length===l.length,f=t.useCallback(function(e,t){return i({type:s.toggleHideColumn,columnId:e,value:t})},[i]),m=t.useCallback(function(e){return i({type:s.setHiddenColumns,value:e})},[i]),g=t.useCallback(function(e){return i({type:s.toggleHideAllColumns,value:e})},[i]),y=h(a().getToggleHideAllColumnsProps,{instance:u()});r.forEach(function(e){e.toggleHidden=function(t){i({type:s.toggleHideColumn,columnId:e.id,value:t})},e.getToggleHiddenProps=h(a().getToggleHiddenProps,{instance:u(),column:e})});var x=v(d);b(function(){x()&&i({type:s.resetHiddenColumns})},[i,n]),Object.assign(e,{allColumnsHidden:p,toggleHideColumn:f,setHiddenColumns:m,toggleHideAllColumns:g,getToggleHideAllColumnsProps:y})}var X={},K={},ee=function(e,t,n){return e},te=function(e,t){return e.subRows||[]},ne=function(e,t,n){return""+(n?[n.id,t].join("."):t)},re=function(e){return e};function ie(e){var t=e.initialState,n=void 0===t?X:t,r=e.defaultColumn,a=void 0===r?K:r,s=e.getSubRows,l=void 0===s?te:s,c=e.getRowId,d=void 0===c?ne:c,u=e.stateReducer,h=void 0===u?ee:u,p=e.useControlledState,f=void 0===p?re:p;return i({},o(e,["initialState","defaultColumn","getSubRows","getRowId","stateReducer","useControlledState"]),{initialState:n,defaultColumn:a,getSubRows:l,getRowId:d,stateReducer:h,useControlledState:f})}function oe(e,t){void 0===t&&(t=0);var n=0,r=0,i=0,o=0;return e.forEach(function(e){var a=e.headers;if(e.totalLeft=t,a&&a.length){var s=oe(a,t),l=s[0],c=s[1],d=s[2],u=s[3];e.totalMinWidth=l,e.totalWidth=c,e.totalMaxWidth=d,e.totalFlexWidth=u}else e.totalMinWidth=e.minWidth,e.totalWidth=Math.min(Math.max(e.minWidth,e.width),e.maxWidth),e.totalMaxWidth=e.maxWidth,e.totalFlexWidth=e.canResize?e.totalWidth:0;e.isVisible&&(t+=e.totalWidth,n+=e.totalMinWidth,r+=e.totalWidth,i+=e.totalMaxWidth,o+=e.totalFlexWidth)}),[n,r,i,o]}function ae(e){var t=e.data,n=e.rows,r=e.flatRows,i=e.rowsById,o=e.column,a=e.getRowId,s=e.getSubRows,l=e.accessValueHooks,c=e.getInstance;t.forEach(function(e,d){return function e(n,d,u,h,f){void 0===u&&(u=0);var m=n,g=a(n,d,h),v=i[g];if(v)v.subRows&&v.originalSubRows.forEach(function(t,n){return e(t,n,u+1,v)});else if((v={id:g,original:m,index:d,depth:u,cells:[{}]}).cells.map=I,v.cells.filter=I,v.cells.forEach=I,v.cells[0].getCellProps=I,v.values={},f.push(v),r.push(v),i[g]=v,v.originalSubRows=s(n,d),v.originalSubRows){var y=[];v.originalSubRows.forEach(function(t,n){return e(t,n,u+1,v,y)}),v.subRows=y}o.accessor&&(v.values[o.id]=o.accessor(n,d,v,f,t)),v.values[o.id]=p(l,v.values[o.id],{row:v,column:o,instance:c()})}(e,d,0,void 0,n)})}s.resetExpanded="resetExpanded",s.toggleRowExpanded="toggleRowExpanded",s.toggleAllRowsExpanded="toggleAllRowsExpanded";var se=function(e){e.getToggleAllRowsExpandedProps=[le],e.getToggleRowExpandedProps=[ce],e.stateReducers.push(de),e.useInstance.push(ue),e.prepareRow.push(he)};se.pluginName="useExpanded";var le=function(e,t){var n=t.instance;return[e,{onClick:function(e){n.toggleAllRowsExpanded()},style:{cursor:"pointer"},title:"Toggle All Rows Expanded"}]},ce=function(e,t){var n=t.row;return[e,{onClick:function(){n.toggleRowExpanded()},style:{cursor:"pointer"},title:"Toggle Row Expanded"}]};function de(e,t,n,r){if(t.type===s.init)return i({expanded:{}},e);if(t.type===s.resetExpanded)return i({},e,{expanded:r.initialState.expanded||{}});if(t.type===s.toggleAllRowsExpanded){var l=t.value,c=r.rowsById,d=Object.keys(c).length===Object.keys(e.expanded).length;if(void 0!==l?l:!d){var u={};return Object.keys(c).forEach(function(e){u[e]=!0}),i({},e,{expanded:u})}return i({},e,{expanded:{}})}if(t.type===s.toggleRowExpanded){var h,p=t.id,f=t.value,m=e.expanded[p],g=void 0!==f?f:!m;if(!m&&g)return i({},e,{expanded:i({},e.expanded,(h={},h[p]=!0,h))});if(m&&!g){var v=e.expanded;return v[p],i({},e,{expanded:o(v,[p].map(a))})}return e}}function ue(e){var n=e.data,r=e.rows,i=e.rowsById,o=e.manualExpandedKey,a=void 0===o?"expanded":o,l=e.paginateExpandedRows,c=void 0===l||l,d=e.expandSubRows,u=void 0===d||d,p=e.autoResetExpanded,f=void 0===p||p,g=e.getHooks,y=e.plugins,x=e.state.expanded,w=e.dispatch;m(y,["useSortBy","useGroupBy","usePivotColumns","useGlobalFilter"],"useExpanded");var C=v(f),S=Boolean(Object.keys(i).length&&Object.keys(x).length);S&&Object.keys(i).some(function(e){return!x[e]})&&(S=!1),b(function(){C()&&w({type:s.resetExpanded})},[w,n]);var A=t.useCallback(function(e,t){w({type:s.toggleRowExpanded,id:e,value:t})},[w]),k=t.useCallback(function(e){return w({type:s.toggleAllRowsExpanded,value:e})},[w]),_=t.useMemo(function(){return c?j(r,{manualExpandedKey:a,expanded:x,expandSubRows:u}):r},[c,r,a,x,u]),E=t.useMemo(function(){return function(e){var t=0;return Object.keys(e).forEach(function(e){var n=e.split(".");t=Math.max(t,n.length)}),t}(x)},[x]),T=v(e),D=h(g().getToggleAllRowsExpandedProps,{instance:T()});Object.assign(e,{preExpandedRows:r,expandedRows:_,rows:_,expandedDepth:E,isAllRowsExpanded:S,toggleRowExpanded:A,toggleAllRowsExpanded:k,getToggleAllRowsExpandedProps:D})}function he(e,t){var n=t.instance.getHooks,r=t.instance;e.toggleRowExpanded=function(t){return r.toggleRowExpanded(e.id,t)},e.getToggleRowExpandedProps=h(n().getToggleRowExpandedProps,{instance:r,row:e})}var pe=function(e,t,n){return e.filter(function(e){return t.some(function(t){var r=e.values[t];return String(r).toLowerCase().includes(String(n).toLowerCase())})})};pe.autoRemove=function(e){return!e};var fe=function(e,t,n){return e.filter(function(e){return t.some(function(t){var r=e.values[t];return void 0===r||String(r).toLowerCase()===String(n).toLowerCase()})})};fe.autoRemove=function(e){return!e};var me=function(e,t,n){return e.filter(function(e){return t.some(function(t){var r=e.values[t];return void 0===r||String(r)===String(n)})})};me.autoRemove=function(e){return!e};var ge=function(e,t,n){return e.filter(function(e){return t.some(function(t){return e.values[t].includes(n)})})};ge.autoRemove=function(e){return!e||!e.length};var ve=function(e,t,n){return e.filter(function(e){return t.some(function(t){var r=e.values[t];return r&&r.length&&n.every(function(e){return r.includes(e)})})})};ve.autoRemove=function(e){return!e||!e.length};var ye=function(e,t,n){return e.filter(function(e){return t.some(function(t){var r=e.values[t];return r&&r.length&&n.some(function(e){return r.includes(e)})})})};ye.autoRemove=function(e){return!e||!e.length};var be=function(e,t,n){return e.filter(function(e){return t.some(function(t){var r=e.values[t];return n.includes(r)})})};be.autoRemove=function(e){return!e||!e.length};var xe=function(e,t,n){return e.filter(function(e){return t.some(function(t){return e.values[t]===n})})};xe.autoRemove=function(e){return void 0===e};var we=function(e,t,n){return e.filter(function(e){return t.some(function(t){return e.values[t]==n})})};we.autoRemove=function(e){return null==e};var Ce=function(e,t,n){var r=n||[],i=r[0],o=r[1];if((i="number"==typeof i?i:-1/0)>(o="number"==typeof o?o:1/0)){var a=i;i=o,o=a}return e.filter(function(e){return t.some(function(t){var n=e.values[t];return n>=i&&n<=o})})};Ce.autoRemove=function(e){return!e||"number"!=typeof e[0]&&"number"!=typeof e[1]};var Se=Object.freeze({__proto__:null,text:pe,exactText:fe,exactTextCase:me,includes:ge,includesAll:ve,includesSome:ye,includesValue:be,exact:xe,equals:we,between:Ce});s.resetFilters="resetFilters",s.setFilter="setFilter",s.setAllFilters="setAllFilters";var Ae=function(e){e.stateReducers.push(ke),e.useInstance.push(_e)};function ke(e,t,n,r){if(t.type===s.init)return i({filters:[]},e);if(t.type===s.resetFilters)return i({},e,{filters:r.initialState.filters||[]});if(t.type===s.setFilter){var o=t.columnId,a=t.filterValue,l=r.allColumns,c=r.filterTypes,d=l.find(function(e){return e.id===o});if(!d)throw new Error("React-Table: Could not find a column with id: "+o);var u=R(d.filter,c||{},Se),h=e.filters.find(function(e){return e.id===o}),p=g(a,h&&h.value);return M(u.autoRemove,p,d)?i({},e,{filters:e.filters.filter(function(e){return e.id!==o})}):i({},e,h?{filters:e.filters.map(function(e){return e.id===o?{id:o,value:p}:e})}:{filters:[].concat(e.filters,[{id:o,value:p}])})}if(t.type===s.setAllFilters){var f=t.filters,m=r.allColumns,v=r.filterTypes;return i({},e,{filters:g(f,e.filters).filter(function(e){var t=m.find(function(t){return t.id===e.id});return!M(R(t.filter,v||{},Se).autoRemove,e.value,t)})})}}function _e(e){var n=e.data,r=e.rows,i=e.flatRows,o=e.rowsById,a=e.allColumns,l=e.filterTypes,c=e.manualFilters,d=e.defaultCanFilter,u=void 0!==d&&d,h=e.disableFilters,p=e.state.filters,f=e.dispatch,m=e.autoResetFilters,g=void 0===m||m,y=t.useCallback(function(e,t){f({type:s.setFilter,columnId:e,filterValue:t})},[f]),x=t.useCallback(function(e){f({type:s.setAllFilters,filters:e})},[f]);a.forEach(function(e){var t=e.id,n=e.accessor,r=e.defaultCanFilter,i=e.disableFilters;e.canFilter=n?E(!0!==i&&void 0,!0!==h&&void 0,!0):E(r,u,!1),e.setFilter=function(t){return y(e.id,t)};var o=p.find(function(e){return e.id===t});e.filterValue=o&&o.value});var w=t.useMemo(function(){if(c||!p.length)return[r,i,o];var e=[],t={};return[function n(r,i){void 0===i&&(i=0);var o=r;return(o=p.reduce(function(e,t){var n=t.id,r=t.value,o=a.find(function(e){return e.id===n});if(!o)return e;0===i&&(o.preFilteredRows=e);var s=R(o.filter,l||{},Se);return s?(o.filteredRows=s(e,[n],r),o.filteredRows):(console.warn("Could not find a valid 'column.filter' for column with the ID: "+o.id+"."),e)},r)).forEach(function(r){e.push(r),t[r.id]=r,r.subRows&&(r.subRows=r.subRows&&r.subRows.length>0?n(r.subRows,i+1):r.subRows)}),o}(r),e,t]},[c,p,r,i,o,a,l]),C=w[0],S=w[1],A=w[2];t.useMemo(function(){a.filter(function(e){return!p.find(function(t){return t.id===e.id})}).forEach(function(e){e.preFilteredRows=C,e.filteredRows=C})},[C,p,a]);var k=v(g);b(function(){k()&&f({type:s.resetFilters})},[f,c?null:n]),Object.assign(e,{preFilteredRows:r,preFilteredFlatRows:i,preFilteredRowsById:o,filteredRows:C,filteredFlatRows:S,filteredRowsById:A,rows:C,flatRows:S,rowsById:A,setFilter:y,setAllFilters:x})}Ae.pluginName="useFilters",s.resetGlobalFilter="resetGlobalFilter",s.setGlobalFilter="setGlobalFilter";var Ee=function(e){e.stateReducers.push(Te),e.useInstance.push(De)};function Te(e,t,n,r){if(t.type===s.resetGlobalFilter)return i({},e,{globalFilter:r.initialState.globalFilter||void 0});if(t.type===s.setGlobalFilter){var a=t.filterValue,l=r.userFilterTypes,c=R(r.globalFilter,l||{},Se),d=g(a,e.globalFilter);return M(c.autoRemove,d)?(e.globalFilter,o(e,["globalFilter"])):i({},e,{globalFilter:d})}}function De(e){var n=e.data,r=e.rows,i=e.flatRows,o=e.rowsById,a=e.allColumns,l=e.filterTypes,c=e.globalFilter,d=e.manualGlobalFilter,u=e.state.globalFilter,h=e.dispatch,p=e.autoResetGlobalFilter,f=void 0===p||p,m=e.disableGlobalFilter,g=t.useCallback(function(e){h({type:s.setGlobalFilter,filterValue:e})},[h]),y=t.useMemo(function(){if(d||void 0===u)return[r,i,o];var e=[],t={},n=R(c,l||{},Se);if(!n)return console.warn("Could not find a valid 'globalFilter' option."),r;a.forEach(function(e){var t=e.disableGlobalFilter;e.canFilter=E(!0!==t&&void 0,!0!==m&&void 0,!0)});var s=a.filter(function(e){return!0===e.canFilter});return[function r(i){return(i=n(i,s.map(function(e){return e.id}),u)).forEach(function(n){e.push(n),t[n.id]=n,n.subRows=n.subRows&&n.subRows.length?r(n.subRows):n.subRows}),i}(r),e,t]},[d,u,c,l,a,r,i,o,m]),x=y[0],w=y[1],C=y[2],S=v(f);b(function(){S()&&h({type:s.resetGlobalFilter})},[h,d?null:n]),Object.assign(e,{preGlobalFilteredRows:r,preGlobalFilteredFlatRows:i,preGlobalFilteredRowsById:o,globalFilteredRows:x,globalFilteredFlatRows:w,globalFilteredRowsById:C,rows:x,flatRows:w,rowsById:C,setGlobalFilter:g,disableGlobalFilter:m})}function je(e,t){return t.reduce(function(e,t){return e+("number"==typeof t?t:0)},0)}Ee.pluginName="useGlobalFilter";var Re=Object.freeze({__proto__:null,sum:je,min:function(e){var t=e[0]||0;return e.forEach(function(e){"number"==typeof e&&(t=Math.min(t,e))}),t},max:function(e){var t=e[0]||0;return e.forEach(function(e){"number"==typeof e&&(t=Math.max(t,e))}),t},minMax:function(e){var t=e[0]||0,n=e[0]||0;return e.forEach(function(e){"number"==typeof e&&(t=Math.min(t,e),n=Math.max(n,e))}),t+".."+n},average:function(e){return je(0,e)/e.length},median:function(e){if(!e.length)return null;var t=Math.floor(e.length/2),n=[].concat(e).sort(function(e,t){return e-t});return e.length%2!=0?n[t]:(n[t-1]+n[t])/2},unique:function(e){return Array.from(new Set(e).values())},uniqueCount:function(e){return new Set(e).size},count:function(e){return e.length}}),Me=[],Ie={};s.resetGroupBy="resetGroupBy",s.setGroupBy="setGroupBy",s.toggleGroupBy="toggleGroupBy";var Oe=function(e){e.getGroupByToggleProps=[Le],e.stateReducers.push(Pe),e.visibleColumnsDeps.push(function(e,t){var n=t.instance;return[].concat(e,[n.state.groupBy])}),e.visibleColumns.push(Be),e.useInstance.push(Fe),e.prepareRow.push($e)};Oe.pluginName="useGroupBy";var Le=function(e,t){var n=t.header;return[e,{onClick:n.canGroupBy?function(e){e.persist(),n.toggleGroupBy()}:void 0,style:{cursor:n.canGroupBy?"pointer":void 0},title:"Toggle GroupBy"}]};function Pe(e,t,n,r){if(t.type===s.init)return i({groupBy:[]},e);if(t.type===s.resetGroupBy)return i({},e,{groupBy:r.initialState.groupBy||[]});if(t.type===s.setGroupBy)return i({},e,{groupBy:t.value});if(t.type===s.toggleGroupBy){var o=t.columnId,a=t.value,l=void 0!==a?a:!e.groupBy.includes(o);return i({},e,l?{groupBy:[].concat(e.groupBy,[o])}:{groupBy:e.groupBy.filter(function(e){return e!==o})})}}function Be(e,t){var n=t.instance.state.groupBy,r=n.map(function(t){return e.find(function(e){return e.id===t})}).filter(Boolean),i=e.filter(function(e){return!n.includes(e.id)});return(e=[].concat(r,i)).forEach(function(e){e.isGrouped=n.includes(e.id),e.groupedIndex=n.indexOf(e.id)}),e}var Ne={};function Fe(e){var n=e.data,r=e.rows,o=e.flatRows,a=e.rowsById,l=e.allColumns,c=e.flatHeaders,d=e.groupByFn,u=void 0===d?ze:d,p=e.manualGroupBy,f=e.aggregations,g=void 0===f?Ne:f,y=e.plugins,x=e.state.groupBy,w=e.dispatch,C=e.autoResetGroupBy,S=void 0===C||C,A=e.disableGroupBy,k=e.defaultCanGroupBy,_=e.getHooks;m(y,["useColumnOrder","useFilters"],"useGroupBy");var T=v(e);l.forEach(function(t){var n=t.accessor,r=t.defaultGroupBy,i=t.disableGroupBy;t.canGroupBy=n?E(t.canGroupBy,!0!==i&&void 0,!0!==A&&void 0,!0):E(t.canGroupBy,r,k,!1),t.canGroupBy&&(t.toggleGroupBy=function(){return e.toggleGroupBy(t.id)}),t.Aggregated=t.Aggregated||t.Cell});var j=t.useCallback(function(e,t){w({type:s.toggleGroupBy,columnId:e,value:t})},[w]),R=t.useCallback(function(e){w({type:s.setGroupBy,value:e})},[w]);c.forEach(function(e){e.getGroupByToggleProps=h(_().getGroupByToggleProps,{instance:T(),header:e})});var M=t.useMemo(function(){if(p||!x.length)return[r,o,a,Me,Ie,o,a];var e=x.filter(function(e){return l.find(function(t){return t.id===e})}),t=[],n={},s=[],c={},d=[],h={},f=function r(o,a,p){if(void 0===a&&(a=0),a===e.length)return o.map(function(e){return i({},e,{depth:a})});var f=e[a],m=u(o,f);return Object.entries(m).map(function(i,o){var u=i[0],m=i[1],v=f+":"+u,y=r(m,a+1,v=p?p+">"+v:v),b=a?D(m,"leafRows"):m,x=function(t,n,r){var i={};return l.forEach(function(o){if(e.includes(o.id))i[o.id]=n[0]?n[0].values[o.id]:null;else{var a="function"==typeof o.aggregate?o.aggregate:g[o.aggregate]||Re[o.aggregate];if(a){var s=n.map(function(e){return e.values[o.id]}),l=t.map(function(e){var t=e.values[o.id];if(!r&&o.aggregateValue){var n="function"==typeof o.aggregateValue?o.aggregateValue:g[o.aggregateValue]||Re[o.aggregateValue];if(!n)throw console.info({column:o}),new Error("React Table: Invalid column.aggregateValue option for column listed above");t=n(t,e,o)}return t});i[o.id]=a(l,s)}else{if(o.aggregate)throw console.info({column:o}),new Error("React Table: Invalid column.aggregate option for column listed above");i[o.id]=null}}}),i}(b,m,a),w={id:v,isGrouped:!0,groupByID:f,groupByVal:u,values:x,subRows:y,leafRows:b,depth:a,index:o};return y.forEach(function(e){t.push(e),n[e.id]=e,e.isGrouped?(s.push(e),c[e.id]=e):(d.push(e),h[e.id]=e)}),w})}(r);return f.forEach(function(e){t.push(e),n[e.id]=e,e.isGrouped?(s.push(e),c[e.id]=e):(d.push(e),h[e.id]=e)}),[f,t,n,s,c,d,h]},[p,x,r,o,a,l,g,u]),I=M[0],O=M[1],L=M[2],P=M[3],B=M[4],N=M[5],F=M[6],$=v(S);b(function(){$()&&w({type:s.resetGroupBy})},[w,p?null:n]),Object.assign(e,{preGroupedRows:r,preGroupedFlatRow:o,preGroupedRowsById:a,groupedRows:I,groupedFlatRows:O,groupedRowsById:L,onlyGroupedFlatRows:P,onlyGroupedRowsById:B,nonGroupedFlatRows:N,nonGroupedRowsById:F,rows:I,flatRows:O,rowsById:L,toggleGroupBy:j,setGroupBy:R})}function $e(e){e.allCells.forEach(function(t){var n;t.isGrouped=t.column.isGrouped&&t.column.id===e.groupByID,t.isPlaceholder=!t.isGrouped&&t.column.isGrouped,t.isAggregated=!t.isGrouped&&!t.isPlaceholder&&(null==(n=e.subRows)?void 0:n.length)})}function ze(e,t){return e.reduce(function(e,n,r){var i=""+n.values[t];return e[i]=Array.isArray(e[i])?e[i]:[],e[i].push(n),e},{})}var He=/([0-9]+)/gm;function Ue(e,t){return e===t?0:e>t?1:-1}function We(e,t,n){return[e.values[n],t.values[n]]}function Ge(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}var Ve=Object.freeze({__proto__:null,alphanumeric:function(e,t,n){var r=We(e,t,n),i=r[0],o=r[1];for(i=Ge(i),o=Ge(o),i=i.split(He).filter(Boolean),o=o.split(He).filter(Boolean);i.length&&o.length;){var a=i.shift(),s=o.shift(),l=parseInt(a,10),c=parseInt(s,10),d=[l,c].sort();if(isNaN(d[0])){if(a>s)return 1;if(s>a)return-1}else{if(isNaN(d[1]))return isNaN(l)?-1:1;if(l>c)return 1;if(c>l)return-1}}return i.length-o.length},datetime:function(e,t,n){var r=We(e,t,n),i=r[0],o=r[1];return Ue(i=i.getTime(),o=o.getTime())},basic:function(e,t,n){var r=We(e,t,n);return Ue(r[0],r[1])},string:function(e,t,n){var r=We(e,t,n),i=r[0],o=r[1];for(i=i.split("").filter(Boolean),o=o.split("").filter(Boolean);i.length&&o.length;){var a=i.shift(),s=o.shift(),l=a.toLowerCase(),c=s.toLowerCase();if(l>c)return 1;if(c>l)return-1;if(a>s)return 1;if(s>a)return-1}return i.length-o.length},number:function(e,t,n){var r=We(e,t,n),i=r[0],o=r[1],a=/[^0-9.]/gi;return Ue(i=Number(String(i).replace(a,"")),o=Number(String(o).replace(a,"")))}});s.resetSortBy="resetSortBy",s.setSortBy="setSortBy",s.toggleSortBy="toggleSortBy",s.clearSortBy="clearSortBy",d.sortType="alphanumeric",d.sortDescFirst=!1;var qe=function(e){e.getSortByToggleProps=[Ye],e.stateReducers.push(Je),e.useInstance.push(Qe)};qe.pluginName="useSortBy";var Ye=function(e,t){var n=t.instance,r=t.column,i=n.isMultiSortEvent,o=void 0===i?function(e){return e.shiftKey}:i;return[e,{onClick:r.canSort?function(e){e.persist(),r.toggleSortBy(void 0,!n.disableMultiSort&&o(e))}:void 0,style:{cursor:r.canSort?"pointer":void 0},title:r.canSort?"Toggle SortBy":void 0}]};function Je(e,t,n,r){if(t.type===s.init)return i({sortBy:[]},e);if(t.type===s.resetSortBy)return i({},e,{sortBy:r.initialState.sortBy||[]});if(t.type===s.clearSortBy)return i({},e,{sortBy:e.sortBy.filter(function(e){return e.id!==t.columnId})});if(t.type===s.setSortBy)return i({},e,{sortBy:t.sortBy});if(t.type===s.toggleSortBy){var o,a=t.columnId,l=t.desc,c=t.multi,d=r.allColumns,u=r.disableMultiSort,h=r.disableSortRemove,p=r.disableMultiRemove,f=r.maxMultiSortColCount,m=void 0===f?Number.MAX_SAFE_INTEGER:f,g=e.sortBy,v=d.find(function(e){return e.id===a}).sortDescFirst,y=g.find(function(e){return e.id===a}),b=g.findIndex(function(e){return e.id===a}),x=null!=l,w=[];return"toggle"!=(o=!u&&c?y?"toggle":"add":b!==g.length-1||1!==g.length?"replace":y?"toggle":"replace")||h||x||c&&p||!(y&&y.desc&&!v||!y.desc&&v)||(o="remove"),"replace"===o?w=[{id:a,desc:x?l:v}]:"add"===o?(w=[].concat(g,[{id:a,desc:x?l:v}])).splice(0,w.length-m):"toggle"===o?w=g.map(function(e){return e.id===a?i({},e,{desc:x?l:!y.desc}):e}):"remove"===o&&(w=g.filter(function(e){return e.id!==a})),i({},e,{sortBy:w})}}function Qe(e){var n=e.data,r=e.rows,i=e.flatRows,o=e.allColumns,a=e.orderByFn,l=void 0===a?Ze:a,c=e.sortTypes,d=e.manualSortBy,u=e.defaultCanSort,p=e.disableSortBy,f=e.flatHeaders,g=e.state.sortBy,y=e.dispatch,x=e.plugins,w=e.getHooks,C=e.autoResetSortBy,S=void 0===C||C;m(x,["useFilters","useGlobalFilter","useGroupBy","usePivotColumns"],"useSortBy");var A=t.useCallback(function(e){y({type:s.setSortBy,sortBy:e})},[y]),k=t.useCallback(function(e,t,n){y({type:s.toggleSortBy,columnId:e,desc:t,multi:n})},[y]),_=v(e);f.forEach(function(e){var t=e.accessor,n=e.canSort,r=e.disableSortBy,i=e.id,o=t?E(!0!==r&&void 0,!0!==p&&void 0,!0):E(u,n,!1);e.canSort=o,e.canSort&&(e.toggleSortBy=function(t,n){return k(e.id,t,n)},e.clearSortBy=function(){y({type:s.clearSortBy,columnId:e.id})}),e.getSortByToggleProps=h(w().getSortByToggleProps,{instance:_(),column:e});var a=g.find(function(e){return e.id===i});e.isSorted=!!a,e.sortedIndex=g.findIndex(function(e){return e.id===i}),e.isSortedDesc=e.isSorted?a.desc:void 0});var D=t.useMemo(function(){if(d||!g.length)return[r,i];var e=[],t=g.filter(function(e){return o.find(function(t){return t.id===e.id})});return[function n(r){var i=l(r,t.map(function(e){var t=o.find(function(t){return t.id===e.id});if(!t)throw new Error("React-Table: Could not find a column with id: "+e.id+" while sorting");var n=t.sortType,r=T(n)||(c||{})[n]||Ve[n];if(!r)throw new Error("React-Table: Could not find a valid sortType of '"+n+"' for column '"+e.id+"'.");return function(t,n){return r(t,n,e.id,e.desc)}}),t.map(function(e){var t=o.find(function(t){return t.id===e.id});return t&&t.sortInverted?e.desc:!e.desc}));return i.forEach(function(t){e.push(t),t.subRows&&0!==t.subRows.length&&(t.subRows=n(t.subRows))}),i}(r),e]},[d,g,r,i,o,l,c]),j=D[0],R=D[1],M=v(S);b(function(){M()&&y({type:s.resetSortBy})},[d?null:n]),Object.assign(e,{preSortedRows:r,preSortedFlatRows:i,sortedRows:j,sortedFlatRows:R,rows:j,flatRows:R,setSortBy:A,toggleSortBy:k})}function Ze(e,t,n){return[].concat(e).sort(function(e,r){for(var i=0;i<t.length;i+=1){var o=t[i],a=!1===n[i]||"desc"===n[i],s=o(e,r);if(0!==s)return a?-s:s}return n[0]?e.index-r.index:r.index-e.index})}s.resetPage="resetPage",s.gotoPage="gotoPage",s.setPageSize="setPageSize";var Xe=function(e){e.stateReducers.push(Ke),e.useInstance.push(et)};function Ke(e,t,n,r){if(t.type===s.init)return i({pageSize:10,pageIndex:0},e);if(t.type===s.resetPage)return i({},e,{pageIndex:r.initialState.pageIndex||0});if(t.type===s.gotoPage){var o=r.pageCount,a=r.page,l=g(t.pageIndex,e.pageIndex),c=!1;return l>e.pageIndex?c=-1===o?a.length>=e.pageSize:l<o:l<e.pageIndex&&(c=l>-1),c?i({},e,{pageIndex:l}):e}if(t.type===s.setPageSize){var d=t.pageSize,u=e.pageSize*e.pageIndex;return i({},e,{pageIndex:Math.floor(u/d),pageSize:d})}}function et(e){var n=e.rows,r=e.autoResetPage,i=void 0===r||r,o=e.manualExpandedKey,a=void 0===o?"expanded":o,l=e.plugins,c=e.pageCount,d=e.paginateExpandedRows,u=void 0===d||d,h=e.expandSubRows,p=void 0===h||h,f=e.state,g=f.pageSize,y=f.pageIndex,x=f.expanded,w=f.globalFilter,C=f.filters,S=f.groupBy,A=f.sortBy,k=e.dispatch,_=e.data,E=e.manualPagination;m(l,["useGlobalFilter","useFilters","useGroupBy","useSortBy","useExpanded"],"usePagination");var T=v(i);b(function(){T()&&k({type:s.resetPage})},[k,E?null:_,w,C,S,A]);var D=E?c:Math.ceil(n.length/g),R=t.useMemo(function(){return D>0?[].concat(new Array(D)).fill(null).map(function(e,t){return t}):[]},[D]),M=t.useMemo(function(){var e;if(E)e=n;else{var t=g*y,r=t+g;e=n.slice(t,r)}return u?e:j(e,{manualExpandedKey:a,expanded:x,expandSubRows:p})},[p,x,a,E,y,g,u,n]),I=y>0,O=-1===D?M.length>=g:y<D-1,L=t.useCallback(function(e){k({type:s.gotoPage,pageIndex:e})},[k]),P=t.useCallback(function(){return L(function(e){return e-1})},[L]),B=t.useCallback(function(){return L(function(e){return e+1})},[L]),N=t.useCallback(function(e){k({type:s.setPageSize,pageSize:e})},[k]);Object.assign(e,{pageOptions:R,pageCount:D,page:M,canPreviousPage:I,canNextPage:O,gotoPage:L,previousPage:P,nextPage:B,setPageSize:N})}Xe.pluginName="usePagination",s.resetPivot="resetPivot",s.togglePivot="togglePivot";var tt=function(e){e.getPivotToggleProps=[rt],e.stateReducers.push(it),e.useInstanceAfterData.push(ot),e.allColumns.push(at),e.accessValue.push(st),e.materializedColumns.push(lt),e.materializedColumnsDeps.push(ct),e.visibleColumns.push(dt),e.visibleColumnsDeps.push(ut),e.useInstance.push(ht),e.prepareRow.push(pt)};tt.pluginName="usePivotColumns";var nt=[],rt=function(e,t){var n=t.header;return[e,{onClick:n.canPivot?function(e){e.persist(),n.togglePivot()}:void 0,style:{cursor:n.canPivot?"pointer":void 0},title:"Toggle Pivot"}]};function it(e,t,n,r){if(t.type===s.init)return i({pivotColumns:nt},e);if(t.type===s.resetPivot)return i({},e,{pivotColumns:r.initialState.pivotColumns||nt});if(t.type===s.togglePivot){var o=t.columnId,a=t.value,l=void 0!==a?a:!e.pivotColumns.includes(o);return i({},e,l?{pivotColumns:[].concat(e.pivotColumns,[o])}:{pivotColumns:e.pivotColumns.filter(function(e){return e!==o})})}}function ot(e){e.allColumns.forEach(function(t){t.isPivotSource=e.state.pivotColumns.includes(t.id)})}function at(e,t){var n=t.instance;return e.forEach(function(e){e.isPivotSource=n.state.pivotColumns.includes(e.id),e.uniqueValues=new Set}),e}function st(e,t){var n=t.column;return n.uniqueValues&&void 0!==e&&n.uniqueValues.add(e),e}function lt(e,t){var n=t.instance,r=n.allColumns,o=n.state;if(!o.pivotColumns.length||!o.groupBy||!o.groupBy.length)return e;var a=o.pivotColumns.map(function(e){return r.find(function(t){return t.id===e})}).filter(Boolean),s=r.filter(function(e){return!e.isPivotSource&&!o.groupBy.includes(e.id)&&!o.pivotColumns.includes(e.id)}),l=S(function e(t,n,r){void 0===t&&(t=0),void 0===r&&(r=[]);var o=a[t];return o?Array.from(o.uniqueValues).sort().map(function(a){var s=i({},o,{Header:o.PivotHeader||"string"==typeof o.header?o.Header+": "+a:a,isPivotGroup:!0,parent:n,depth:t,id:n?n.id+"."+o.id+"."+a:o.id+"."+a,pivotValue:a});return s.columns=e(t+1,s,[].concat(r,[function(e){return e.values[o.id]===a}])),s}):s.map(function(e){return i({},e,{canPivot:!1,isPivoted:!0,parent:n,depth:t,id:""+(n?n.id+"."+e.id:e.id),accessor:function(t,n,i){if(r.every(function(e){return e(i)}))return i.values[e.id]}})})}());return[].concat(e,l)}function ct(e,t){var n=t.instance.state,r=n.pivotColumns,i=n.groupBy;return[].concat(e,[r,i])}function dt(e,t){var n=t.instance.state;return e=e.filter(function(e){return!e.isPivotSource}),n.pivotColumns.length&&n.groupBy&&n.groupBy.length&&(e=e.filter(function(e){return e.isGrouped||e.isPivoted})),e}function ut(e,t){var n=t.instance;return[].concat(e,[n.state.pivotColumns,n.state.groupBy])}function ht(e){var t=e.columns,n=e.allColumns,r=e.flatHeaders,i=e.getHooks,o=e.plugins,a=e.dispatch,l=e.autoResetPivot,c=void 0===l||l,d=e.manaulPivot,u=e.disablePivot,p=e.defaultCanPivot;m(o,["useGroupBy"],"usePivotColumns");var f=v(e);n.forEach(function(t){var n=t.accessor,r=t.defaultPivot,i=t.disablePivot;t.canPivot=n?E(t.canPivot,!0!==i&&void 0,!0!==u&&void 0,!0):E(t.canPivot,r,p,!1),t.canPivot&&(t.togglePivot=function(){return e.togglePivot(t.id)}),t.Aggregated=t.Aggregated||t.Cell}),r.forEach(function(e){e.getPivotToggleProps=h(i().getPivotToggleProps,{instance:f(),header:e})});var g=v(c);b(function(){g()&&a({type:s.resetPivot})},[a,d?null:t]),Object.assign(e,{togglePivot:function(e,t){a({type:s.togglePivot,columnId:e,value:t})}})}function pt(e){e.allCells.forEach(function(e){e.isPivoted=e.column.isPivoted})}s.resetSelectedRows="resetSelectedRows",s.toggleAllRowsSelected="toggleAllRowsSelected",s.toggleRowSelected="toggleRowSelected",s.toggleAllPageRowsSelected="toggleAllPageRowsSelected";var ft=function(e){e.getToggleRowSelectedProps=[mt],e.getToggleAllRowsSelectedProps=[gt],e.getToggleAllPageRowsSelectedProps=[vt],e.stateReducers.push(yt),e.useInstance.push(bt),e.prepareRow.push(xt)};ft.pluginName="useRowSelect";var mt=function(e,t){var n=t.instance,r=t.row,i=n.manualRowSelectedKey,o=void 0===i?"isSelected":i;return[e,{onChange:function(e){r.toggleRowSelected(e.target.checked)},style:{cursor:"pointer"},checked:!(!r.original||!r.original[o])||r.isSelected,title:"Toggle Row Selected",indeterminate:r.isSomeSelected}]},gt=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllRowsSelected,title:"Toggle All Rows Selected",indeterminate:Boolean(!n.isAllRowsSelected&&Object.keys(n.state.selectedRowIds).length)}]},vt=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllPageRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllPageRowsSelected,title:"Toggle All Current Page Rows Selected",indeterminate:Boolean(!n.isAllPageRowsSelected&&n.page.some(function(e){var t=e.id;return n.state.selectedRowIds[t]}))}]};function yt(e,t,n,r){if(t.type===s.init)return i({selectedRowIds:{}},e);if(t.type===s.resetSelectedRows)return i({},e,{selectedRowIds:r.initialState.selectedRowIds||{}});if(t.type===s.toggleAllRowsSelected){var o=t.value,a=r.isAllRowsSelected,l=r.rowsById,c=r.nonGroupedRowsById,d=void 0===c?l:c,u=void 0!==o?o:!a,h=Object.assign({},e.selectedRowIds);return u?Object.keys(d).forEach(function(e){h[e]=!0}):Object.keys(d).forEach(function(e){delete h[e]}),i({},e,{selectedRowIds:h})}if(t.type===s.toggleRowSelected){var p=t.id,f=t.value,m=r.rowsById,g=r.selectSubRows,v=void 0===g||g,y=r.getSubRows,b=e.selectedRowIds[p],x=void 0!==f?f:!b;if(b===x)return e;var w=i({},e.selectedRowIds);return function e(t){var n=m[t];if(n&&(n.isGrouped||(x?w[t]=!0:delete w[t]),v&&y(n)))return y(n).forEach(function(t){return e(t.id)})}(p),i({},e,{selectedRowIds:w})}if(t.type===s.toggleAllPageRowsSelected){var C=t.value,S=r.page,A=r.rowsById,k=r.selectSubRows,_=void 0===k||k,E=r.isAllPageRowsSelected,T=r.getSubRows,D=void 0!==C?C:!E,j=i({},e.selectedRowIds);return S.forEach(function(e){return function e(t){var n=A[t];if(n.isGrouped||(D?j[t]=!0:delete j[t]),_&&T(n))return T(n).forEach(function(t){return e(t.id)})}(e.id)}),i({},e,{selectedRowIds:j})}return e}function bt(e){var n=e.data,r=e.rows,i=e.getHooks,o=e.plugins,a=e.rowsById,l=e.nonGroupedRowsById,c=void 0===l?a:l,d=e.autoResetSelectedRows,u=void 0===d||d,p=e.state.selectedRowIds,f=e.selectSubRows,g=void 0===f||f,y=e.dispatch,x=e.page,w=e.getSubRows;m(o,["useFilters","useGroupBy","useSortBy","useExpanded","usePagination"],"useRowSelect");var C=t.useMemo(function(){var e=[];return r.forEach(function(t){var n=g?function e(t,n,r){if(n[t.id])return!0;var i=r(t);if(i&&i.length){var o=!0,a=!1;return i.forEach(function(t){a&&!o||(e(t,n,r)?a=!0:o=!1)}),!!o||!!a&&null}return!1}(t,p,w):!!p[t.id];t.isSelected=!!n,t.isSomeSelected=null===n,n&&e.push(t)}),e},[r,g,p,w]),S=Boolean(Object.keys(c).length&&Object.keys(p).length),A=S;S&&Object.keys(c).some(function(e){return!p[e]})&&(S=!1),S||x&&x.length&&x.some(function(e){var t=e.id;return!p[t]})&&(A=!1);var k=v(u);b(function(){k()&&y({type:s.resetSelectedRows})},[y,n]);var _=t.useCallback(function(e){return y({type:s.toggleAllRowsSelected,value:e})},[y]),E=t.useCallback(function(e){return y({type:s.toggleAllPageRowsSelected,value:e})},[y]),T=t.useCallback(function(e,t){return y({type:s.toggleRowSelected,id:e,value:t})},[y]),D=v(e),j=h(i().getToggleAllRowsSelectedProps,{instance:D()}),R=h(i().getToggleAllPageRowsSelectedProps,{instance:D()});Object.assign(e,{selectedFlatRows:C,isAllRowsSelected:S,isAllPageRowsSelected:A,toggleRowSelected:T,toggleAllRowsSelected:_,getToggleAllRowsSelectedProps:j,getToggleAllPageRowsSelectedProps:R,toggleAllPageRowsSelected:E})}function xt(e,t){var n=t.instance;e.toggleRowSelected=function(t){return n.toggleRowSelected(e.id,t)},e.getToggleRowSelectedProps=h(n.getHooks().getToggleRowSelectedProps,{instance:n,row:e})}var wt=function(e){return{}},Ct=function(e){return{}};s.setRowState="setRowState",s.setCellState="setCellState",s.resetRowState="resetRowState";var St=function(e){e.stateReducers.push(At),e.useInstance.push(kt),e.prepareRow.push(_t)};function At(e,t,n,r){var o=r.initialRowStateAccessor,a=void 0===o?wt:o,l=r.initialCellStateAccessor,c=void 0===l?Ct:l,d=r.rowsById;if(t.type===s.init)return i({rowState:{}},e);if(t.type===s.resetRowState)return i({},e,{rowState:r.initialState.rowState||{}});if(t.type===s.setRowState){var u,h=t.rowId,p=t.value,f=void 0!==e.rowState[h]?e.rowState[h]:a(d[h]);return i({},e,{rowState:i({},e.rowState,(u={},u[h]=g(p,f),u))})}if(t.type===s.setCellState){var m,v,y,b,x,w=t.rowId,C=t.columnId,S=t.value,A=void 0!==e.rowState[w]?e.rowState[w]:a(d[w]),k=void 0!==(null==A||null==(m=A.cellState)?void 0:m[C])?A.cellState[C]:c(null==(v=d[w])||null==(y=v.cells)?void 0:y.find(function(e){return e.column.id===C}));return i({},e,{rowState:i({},e.rowState,(x={},x[w]=i({},A,{cellState:i({},A.cellState||{},(b={},b[C]=g(S,k),b))}),x))})}}function kt(e){var n=e.autoResetRowState,r=void 0===n||n,i=e.data,o=e.dispatch,a=t.useCallback(function(e,t){return o({type:s.setRowState,rowId:e,value:t})},[o]),l=t.useCallback(function(e,t,n){return o({type:s.setCellState,rowId:e,columnId:t,value:n})},[o]),c=v(r);b(function(){c()&&o({type:s.resetRowState})},[i]),Object.assign(e,{setRowState:a,setCellState:l})}function _t(e,t){var n=t.instance,r=n.initialRowStateAccessor,i=void 0===r?wt:r,o=n.initialCellStateAccessor,a=void 0===o?Ct:o,s=n.state.rowState;e&&(e.state=void 0!==s[e.id]?s[e.id]:i(e),e.setState=function(t){return n.setRowState(e.id,t)},e.cells.forEach(function(t){e.state.cellState||(e.state.cellState={}),t.state=void 0!==e.state.cellState[t.column.id]?e.state.cellState[t.column.id]:a(t),t.setState=function(r){return n.setCellState(e.id,t.column.id,r)}}))}St.pluginName="useRowState",s.resetColumnOrder="resetColumnOrder",s.setColumnOrder="setColumnOrder";var Et=function(e){e.stateReducers.push(Tt),e.visibleColumnsDeps.push(function(e,t){var n=t.instance;return[].concat(e,[n.state.columnOrder])}),e.visibleColumns.push(Dt),e.useInstance.push(jt)};function Tt(e,t,n,r){return t.type===s.init?i({columnOrder:[]},e):t.type===s.resetColumnOrder?i({},e,{columnOrder:r.initialState.columnOrder||[]}):t.type===s.setColumnOrder?i({},e,{columnOrder:g(t.columnOrder,e.columnOrder)}):void 0}function Dt(e,t){var n=t.instance.state.columnOrder;if(!n||!n.length)return e;for(var r=[].concat(n),i=[].concat(e),o=[],a=function(){var e=r.shift(),t=i.findIndex(function(t){return t.id===e});t>-1&&o.push(i.splice(t,1)[0])};i.length&&r.length;)a();return[].concat(o,i)}function jt(e){var n=e.dispatch;e.setColumnOrder=t.useCallback(function(e){return n({type:s.setColumnOrder,columnOrder:e})},[n])}Et.pluginName="useColumnOrder",d.canResize=!0,s.columnStartResizing="columnStartResizing",s.columnResizing="columnResizing",s.columnDoneResizing="columnDoneResizing",s.resetResize="resetResize";var Rt=function(e){e.getResizerProps=[Mt],e.getHeaderProps.push({style:{position:"relative"}}),e.stateReducers.push(It),e.useInstance.push(Lt),e.useInstanceBeforeDimensions.push(Ot)},Mt=function(e,t){var n=t.instance,r=t.header,i=n.dispatch,o=function(e,t){var n=!1;if("touchstart"===e.type){if(e.touches&&e.touches.length>1)return;n=!0}var r,o,a=function(e){var t=[];return function e(n){n.columns&&n.columns.length&&n.columns.map(e),t.push(n)}(e),t}(t).map(function(e){return[e.id,e.totalWidth]}),l=n?Math.round(e.touches[0].clientX):e.clientX,c=function(){window.cancelAnimationFrame(r),r=null,i({type:s.columnDoneResizing})},d=function(){window.cancelAnimationFrame(r),r=null,i({type:s.columnResizing,clientX:o})},u=function(e){o=e,r||(r=window.requestAnimationFrame(d))},h={mouse:{moveEvent:"mousemove",moveHandler:function(e){return u(e.clientX)},upEvent:"mouseup",upHandler:function(e){document.removeEventListener("mousemove",h.mouse.moveHandler),document.removeEventListener("mouseup",h.mouse.upHandler),c()}},touch:{moveEvent:"touchmove",moveHandler:function(e){return e.cancelable&&(e.preventDefault(),e.stopPropagation()),u(e.touches[0].clientX),!1},upEvent:"touchend",upHandler:function(e){document.removeEventListener(h.touch.moveEvent,h.touch.moveHandler),document.removeEventListener(h.touch.upEvent,h.touch.moveHandler),c()}}},p=n?h.touch:h.mouse,f=!!function(){if("boolean"==typeof O)return O;var e=!1;try{var t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){e=!1}return O=e}()&&{passive:!1};document.addEventListener(p.moveEvent,p.moveHandler,f),document.addEventListener(p.upEvent,p.upHandler,f),i({type:s.columnStartResizing,columnId:t.id,columnWidth:t.totalWidth,headerIdWidths:a,clientX:l})};return[e,{onMouseDown:function(e){return e.persist()||o(e,r)},onTouchStart:function(e){return e.persist()||o(e,r)},style:{cursor:"col-resize"},draggable:!1,role:"separator"}]};function It(e,t){if(t.type===s.init)return i({columnResizing:{columnWidths:{}}},e);if(t.type===s.resetResize)return i({},e,{columnResizing:{columnWidths:{}}});if(t.type===s.columnStartResizing){var n=t.clientX,r=t.columnId,o=t.columnWidth,a=t.headerIdWidths;return i({},e,{columnResizing:i({},e.columnResizing,{startX:n,headerIdWidths:a,columnWidth:o,isResizingColumn:r})})}if(t.type===s.columnResizing){var l=t.clientX,c=e.columnResizing,d=c.startX,u=c.columnWidth,h=c.headerIdWidths,p=(l-d)/u,f={};return(void 0===h?[]:h).forEach(function(e){var t=e[0],n=e[1];f[t]=Math.max(n+n*p,0)}),i({},e,{columnResizing:i({},e.columnResizing,{columnWidths:i({},e.columnResizing.columnWidths,{},f)})})}return t.type===s.columnDoneResizing?i({},e,{columnResizing:i({},e.columnResizing,{startX:null,isResizingColumn:null})}):void 0}Rt.pluginName="useResizeColumns";var Ot=function(e){var t=e.flatHeaders,n=e.disableResizing,r=e.getHooks,i=e.state.columnResizing,o=v(e);t.forEach(function(e){var t=E(!0!==e.disableResizing&&void 0,!0!==n&&void 0,!0);e.canResize=t,e.width=i.columnWidths[e.id]||e.originalWidth||e.width,e.isResizing=i.isResizingColumn===e.id,t&&(e.getResizerProps=h(r().getResizerProps,{instance:o(),header:e}))})};function Lt(e){var n=e.plugins,r=e.dispatch,i=e.autoResetResize,o=void 0===i||i,a=e.columns;m(n,["useAbsoluteLayout"],"useResizeColumns");var l=v(o);b(function(){l()&&r({type:s.resetResize})},[a]);var c=t.useCallback(function(){return r({type:s.resetResize})},[r]);Object.assign(e,{resetResizing:c})}var Pt={position:"absolute",top:0},Bt=function(e){e.getTableBodyProps.push(Nt),e.getRowProps.push(Nt),e.getHeaderGroupProps.push(Nt),e.getFooterGroupProps.push(Nt),e.getHeaderProps.push(function(e,t){var n=t.column;return[e,{style:i({},Pt,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]}),e.getCellProps.push(function(e,t){var n=t.cell;return[e,{style:i({},Pt,{left:n.column.totalLeft+"px",width:n.column.totalWidth+"px"})}]}),e.getFooterProps.push(function(e,t){var n=t.column;return[e,{style:i({},Pt,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]})};Bt.pluginName="useAbsoluteLayout";var Nt=function(e,t){return[e,{style:{position:"relative",width:t.instance.totalColumnsWidth+"px"}}]},Ft={display:"inline-block",boxSizing:"border-box"},$t=function(e,t){return[e,{style:{display:"flex",width:t.instance.totalColumnsWidth+"px"}}]},zt=function(e){e.getRowProps.push($t),e.getHeaderGroupProps.push($t),e.getFooterGroupProps.push($t),e.getHeaderProps.push(function(e,t){var n=t.column;return[e,{style:i({},Ft,{width:n.totalWidth+"px"})}]}),e.getCellProps.push(function(e,t){var n=t.cell;return[e,{style:i({},Ft,{width:n.column.totalWidth+"px"})}]}),e.getFooterProps.push(function(e,t){var n=t.column;return[e,{style:i({},Ft,{width:n.totalWidth+"px"})}]})};function Ht(e){e.getTableProps.push(Ut),e.getRowProps.push(Wt),e.getHeaderGroupProps.push(Wt),e.getFooterGroupProps.push(Wt),e.getHeaderProps.push(Gt),e.getCellProps.push(Vt),e.getFooterProps.push(qt)}zt.pluginName="useBlockLayout",Ht.pluginName="useFlexLayout";var Ut=function(e,t){return[e,{style:{minWidth:t.instance.totalColumnsMinWidth+"px"}}]},Wt=function(e,t){return[e,{style:{display:"flex",flex:"1 0 auto",minWidth:t.instance.totalColumnsMinWidth+"px"}}]},Gt=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]},Vt=function(e,t){var n=t.cell;return[e,{style:{boxSizing:"border-box",flex:n.column.totalFlexWidth+" 0 auto",minWidth:n.column.totalMinWidth+"px",width:n.column.totalWidth+"px"}}]},qt=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]};function Yt(e){e.stateReducers.push(Xt),e.getTableProps.push(Jt),e.getHeaderProps.push(Qt),e.getRowProps.push(Zt)}s.columnStartResizing="columnStartResizing",s.columnResizing="columnResizing",s.columnDoneResizing="columnDoneResizing",s.resetResize="resetResize",Yt.pluginName="useGridLayout";var Jt=function(e,t){var n=t.instance;return[e,{style:{display:"grid",gridTemplateColumns:n.visibleColumns.map(function(e){var t;return n.state.gridLayout.columnWidths[e.id]?n.state.gridLayout.columnWidths[e.id]+"px":(null==(t=n.state.columnResizing)?void 0:t.isResizingColumn)?n.state.gridLayout.startWidths[e.id]+"px":"number"==typeof e.width?e.width+"px":e.width}).join(" ")}}]},Qt=function(e,t){var n=t.column;return[e,{id:"header-cell-"+n.id,style:{position:"sticky",gridColumn:"span "+n.totalVisibleHeaderCount}}]},Zt=function(e,t){var n=t.row;return n.isExpanded?[e,{style:{gridColumn:"1 / "+(n.cells.length+1)}}]:[e,{}]};function Xt(e,t,n,r){if(t.type===s.init)return i({gridLayout:{columnWidths:{}}},e);if(t.type===s.resetResize)return i({},e,{gridLayout:{columnWidths:{}}});if(t.type===s.columnStartResizing){var o=t.columnId,a=t.headerIdWidths,l=Kt(o);if(void 0!==l){var c=r.visibleColumns.reduce(function(e,t){var n;return i({},e,((n={})[t.id]=Kt(t.id),n))},{}),d=r.visibleColumns.reduce(function(e,t){var n;return i({},e,((n={})[t.id]=t.minWidth,n))},{}),u=r.visibleColumns.reduce(function(e,t){var n;return i({},e,((n={})[t.id]=t.maxWidth,n))},{}),h=a.map(function(e){var t=e[0];return[t,Kt(t)]});return i({},e,{gridLayout:i({},e.gridLayout,{startWidths:c,minWidths:d,maxWidths:u,headerIdGridWidths:h,columnWidth:l})})}return e}if(t.type===s.columnResizing){var p=t.clientX,f=e.columnResizing.startX,m=e.gridLayout,g=m.columnWidth,v=m.minWidths,y=m.maxWidths,b=m.headerIdGridWidths,x=(p-f)/g,w={};return(void 0===b?[]:b).forEach(function(e){var t=e[0],n=e[1];w[t]=Math.min(Math.max(v[t],n+n*x),y[t])}),i({},e,{gridLayout:i({},e.gridLayout,{columnWidths:i({},e.gridLayout.columnWidths,{},w)})})}return t.type===s.columnDoneResizing?i({},e,{gridLayout:i({},e.gridLayout,{startWidths:{},minWidths:{},maxWidths:{}})}):void 0}function Kt(e){var t,n=null==(t=document.getElementById("header-cell-"+e))?void 0:t.offsetWidth;if(void 0!==n)return n}e._UNSTABLE_usePivotColumns=tt,e.actions=s,e.defaultColumn=d,e.defaultGroupByFn=ze,e.defaultOrderByFn=Ze,e.defaultRenderer=l,e.emptyRenderer=c,e.ensurePluginOrder=m,e.flexRender=w,e.functionalUpdate=g,e.loopHooks=f,e.makePropGetter=h,e.makeRenderer=x,e.reduceHooks=p,e.safeUseLayoutEffect=y,e.useAbsoluteLayout=Bt,e.useAsyncDebounce=function(e,n){void 0===n&&(n=0);var i=t.useRef({}),o=v(e),a=v(n);return t.useCallback(function(){var e=r(regeneratorRuntime.mark(function e(){var t,n,s,l=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:for(t=l.length,n=new Array(t),s=0;s<t;s++)n[s]=l[s];return i.current.promise||(i.current.promise=new Promise(function(e,t){i.current.resolve=e,i.current.reject=t})),i.current.timeout&&clearTimeout(i.current.timeout),i.current.timeout=setTimeout(r(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return delete i.current.timeout,e.prev=1,e.t0=i.current,e.next=5,o().apply(void 0,n);case 5:e.t1=e.sent,e.t0.resolve.call(e.t0,e.t1),e.next=12;break;case 9:e.prev=9,e.t2=e.catch(1),i.current.reject(e.t2);case 12:return e.prev=12,delete i.current.promise,e.finish(12);case 15:case"end":return e.stop()}},e,null,[[1,9,12,15]])})),a()),e.abrupt("return",i.current.promise);case 5:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),[o,a])},e.useBlockLayout=zt,e.useColumnOrder=Et,e.useExpanded=se,e.useFilters=Ae,e.useFlexLayout=Ht,e.useGetLatest=v,e.useGlobalFilter=Ee,e.useGridLayout=Yt,e.useGroupBy=Oe,e.useMountedLayoutEffect=b,e.usePagination=Xe,e.useResizeColumns=Rt,e.useRowSelect=ft,e.useRowState=St,e.useSortBy=qe,e.useTable=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e=ie(e),r=[V].concat(r);var a=v(t.useRef({}).current);Object.assign(a(),i({},e,{plugins:r,hooks:G()})),r.filter(Boolean).forEach(function(e){e(a().hooks)});var l=v(a().hooks);a().getHooks=l,delete a().hooks,Object.assign(a(),p(l().useOptions,ie(e)));var c=a(),d=c.data,u=c.columns,m=c.initialState,g=c.defaultColumn,y=c.getSubRows,b=c.getRowId,w=c.stateReducer,_=c.useControlledState,E=v(w),T=t.useCallback(function(e,t){if(!t.type)throw console.info({action:t}),new Error("Unknown Action 👆");return[].concat(l().stateReducers,Array.isArray(E())?E():[E()]).reduce(function(n,r){return r(n,t,e,a())||n},e)},[l,E,a]),D=t.useReducer(T,void 0,function(){return T(m,{type:s.init})}),j=D[0],R=D[1],M=p([].concat(l().useControlledState,[_]),j,{instance:a()});Object.assign(a(),{state:M,dispatch:R});var I=t.useMemo(function(){return C(p(l().columns,u,{instance:a()}))},[l,a,u].concat(p(l().columnsDeps,[],{instance:a()})));a().columns=I;var O=t.useMemo(function(){return p(l().allColumns,S(I),{instance:a()}).map(A)},[I,l,a].concat(p(l().allColumnsDeps,[],{instance:a()})));a().allColumns=O;var L=t.useMemo(function(){for(var e=[],t=[],n={},r=[].concat(O);r.length;){var i=r.shift();ae({data:d,rows:e,flatRows:t,rowsById:n,column:i,getRowId:b,getSubRows:y,accessValueHooks:l().accessValue,getInstance:a})}return[e,t,n]},[O,d,b,y,l,a]),P=L[0],B=L[1],N=L[2];Object.assign(a(),{rows:P,initialRows:[].concat(P),flatRows:B,rowsById:N}),f(l().useInstanceAfterData,a());var F=t.useMemo(function(){return p(l().visibleColumns,O,{instance:a()}).map(function(e){return k(e,g)})},[l,O,a,g].concat(p(l().visibleColumnsDeps,[],{instance:a()})));O=t.useMemo(function(){var e=[].concat(F);return O.forEach(function(t){e.find(function(e){return e.id===t.id})||e.push(t)}),e},[O,F]),a().allColumns=O;var $=t.useMemo(function(){return p(l().headerGroups,function(e,t,n){void 0===n&&(n=function(){return{}});for(var r=[],o=e,a=0,s=function(){return a++},l=function(){var e={headers:[]},a=[],l=o.some(function(e){return e.parent});o.forEach(function(r){var o,c=[].concat(a).reverse()[0];l&&(o=r.parent?i({},r.parent,{originalId:r.parent.id,id:r.parent.id+"_"+s(),headers:[r]},n(r)):k(i({originalId:r.id+"_placeholder",id:r.id+"_placeholder_"+s(),placeholderOf:r,headers:[r]},n(r)),t),c&&c.originalId===o.originalId?c.headers.push(r):a.push(o)),e.headers.push(r)}),r.push(e),o=a};o.length;)l();return r.reverse()}(F,g),a())},[l,F,g,a].concat(p(l().headerGroupsDeps,[],{instance:a()})));a().headerGroups=$;var z=t.useMemo(function(){return $.length?$[0].headers:[]},[$]);a().headers=z,a().flatHeaders=$.reduce(function(e,t){return[].concat(e,t.headers)},[]),f(l().useInstanceBeforeDimensions,a());var H=F.filter(function(e){return e.isVisible}).map(function(e){return e.id}).sort().join("_");F=t.useMemo(function(){return F.filter(function(e){return e.isVisible})},[F,H]),a().visibleColumns=F;var U=oe(z),W=U[0],q=U[1],Y=U[2];return a().totalColumnsMinWidth=W,a().totalColumnsWidth=q,a().totalColumnsMaxWidth=Y,f(l().useInstance,a()),[].concat(a().flatHeaders,a().allColumns).forEach(function(e){e.render=x(a(),e),e.getHeaderProps=h(l().getHeaderProps,{instance:a(),column:e}),e.getFooterProps=h(l().getFooterProps,{instance:a(),column:e})}),a().headerGroups=t.useMemo(function(){return $.filter(function(e,t){return e.headers=e.headers.filter(function(e){return e.headers?function e(t){return t.filter(function(t){return t.headers?e(t.headers):t.isVisible}).length}(e.headers):e.isVisible}),!!e.headers.length&&(e.getHeaderGroupProps=h(l().getHeaderGroupProps,{instance:a(),headerGroup:e,index:t}),e.getFooterGroupProps=h(l().getFooterGroupProps,{instance:a(),headerGroup:e,index:t}),!0)})},[$,a,l]),a().footerGroups=[].concat(a().headerGroups).reverse(),a().prepareRow=t.useCallback(function(e){e.getRowProps=h(l().getRowProps,{instance:a(),row:e}),e.allCells=O.map(function(t){var n=e.values[t.id],r={column:t,row:e,value:n};return r.getCellProps=h(l().getCellProps,{instance:a(),cell:r}),r.render=x(a(),t,{row:e,cell:r,value:n}),r}),e.cells=F.map(function(t){return e.allCells.find(function(e){return e.column.id===t.id})}),f(l().prepareRow,e,{instance:a()})},[l,a,O,F]),a().getTableProps=h(l().getTableProps,{instance:a()}),a().getTableBodyProps=h(l().getTableBodyProps,{instance:a()}),f(l().useFinalInstance,a()),a()},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(758))}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={id:e,exports:{}};return n[e].call(o.exports,o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);i.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;("object"==typeof s||"function"==typeof s)&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach(e=>a[e]=()=>n[e]);return a.default=()=>n,i.d(o,a),o},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),i.nc=void 0;var o={};(()=>{"use strict";i.r(o),i.d(o,{DashedFocusBorder:()=>iS,JRC404:()=>h6,JRCThemeProvider:()=>mO,JTinyMCEExtensionsBuilders:()=>m6,Resources:()=>Bm,SROnly:()=>MC,SkipToContent:()=>p_,Theme:()=>Pm,Utils:()=>Qk,components:()=>_,getColor:()=>Om,modifyColorBrightness:()=>Cm,useAbortController:()=>g_,useCancelOnUnmount:()=>GM,useDebounce:()=>oE,useDidMountEffect:()=>XO,useImageLoader:()=>GE,useKeyPress:()=>OO,useRefSize:()=>g6,useTimeout:()=>v6,useWindowSize:()=>u0});var e={};i.r(e),i.d(e,{__DO_NOT_USE__ActionTypes:()=>ce,applyMiddleware:()=>ge,bindActionCreators:()=>fe,combineReducers:()=>he,compose:()=>me,createStore:()=>de,legacy_createStore:()=>ue});var t={};i.r(t),i.d(t,{DndContext:()=>R,DndProvider:()=>ft,DragLayer:()=>En,DragPreviewImage:()=>gt,DragSource:()=>ln,DropTarget:()=>xn,useDrag:()=>Vn,useDragDropManager:()=>In,useDragLayer:()=>tr,useDrop:()=>Kn});var n={};i.r(n),i.d(n,{FILE:()=>fr,HTML:()=>vr,TEXT:()=>gr,URL:()=>mr});var r={};i.r(r),i.d(r,{HTML5Backend:()=>Lr,NativeTypes:()=>n,getEmptyImage:()=>Or});var a={};i.r(a),i.d(a,{Controller:()=>vi,Form:()=>xi,FormProvider:()=>si,Watch:()=>Ao,appendErrors:()=>wi,createFormControl:()=>uo,get:()=>Xr,set:()=>ei,useController:()=>gi,useFieldArray:()=>Co,useForm:()=>So,useFormContext:()=>ai,useFormState:()=>di,useWatch:()=>mi});var s={};i.r(s),i.d(s,{FormattedDate:()=>_l,FormattedDateParts:()=>Rl,FormattedDateTimeRange:()=>sl,FormattedDisplayName:()=>jl,FormattedList:()=>Dl,FormattedListParts:()=>Ts,FormattedMessage:()=>dl,FormattedNumber:()=>Tl,FormattedNumberParts:()=>Es,FormattedPlural:()=>hl,FormattedRelativeTime:()=>Sl,FormattedTime:()=>El,FormattedTimeParts:()=>Ml,IntlContext:()=>As,IntlProvider:()=>ml,InvalidConfigError:()=>rs,MessageFormatError:()=>as,MissingDataError:()=>is,MissingTranslationError:()=>ss,RawIntlProvider:()=>Ss,ReactIntlError:()=>ts,ReactIntlErrorCode:()=>Ka,UnsupportedFormatterError:()=>ns,createIntl:()=>ol,createIntlCache:()=>ds,defineMessage:()=>kl,defineMessages:()=>Al,injectIntl:()=>ks,useIntl:()=>_s});var l={};i.r(l),i.d(l,{Provider:()=>mc,ReactReduxContext:()=>$l,batch:()=>Pr.unstable_batchedUpdates,connect:()=>fc,createDispatchHook:()=>yc,createSelectorHook:()=>Vl,createStoreHook:()=>gc,shallowEqual:()=>lc,useDispatch:()=>bc,useSelector:()=>ql,useStore:()=>vc});var c={};i.r(c),i.d(c,{AbortedDeferredError:()=>hd,Await:()=>xh,BrowserRouter:()=>tp,Form:()=>lp,HashRouter:()=>np,Link:()=>ap,MemoryRouter:()=>fh,NavLink:()=>sp,Navigate:()=>mh,NavigationType:()=>wc,Outlet:()=>gh,Route:()=>vh,Router:()=>yh,RouterProvider:()=>Xh,Routes:()=>bh,ScrollRestoration:()=>cp,UNSAFE_DataRouterContext:()=>wu,UNSAFE_DataRouterStateContext:()=>Cu,UNSAFE_ErrorResponseImpl:()=>bd,UNSAFE_FetchersContext:()=>Vh,UNSAFE_LocationContext:()=>ku,UNSAFE_NavigationContext:()=>Au,UNSAFE_RouteContext:()=>_u,UNSAFE_ViewTransitionContext:()=>Gh,UNSAFE_useRouteId:()=>Xu,UNSAFE_useScrollRestoration:()=>Ap,createBrowserRouter:()=>zh,createHashRouter:()=>Hh,createMemoryRouter:()=>Th,createPath:()=>Mc,createRoutesFromChildren:()=>kh,createRoutesFromElements:()=>kh,createSearchParams:()=>Oh,defer:()=>md,generatePath:()=>Xc,isRouteErrorResponse:()=>xd,json:()=>ud,matchPath:()=>Kc,matchRoutes:()=>Nc,parsePath:()=>Ic,redirect:()=>gd,redirectDocument:()=>vd,renderMatches:()=>_h,replace:()=>yd,resolvePath:()=>nd,unstable_HistoryRouter:()=>rp,unstable_usePrompt:()=>_p,useActionData:()=>ih,useAsyncError:()=>sh,useAsyncValue:()=>ah,useBeforeUnload:()=>kp,useBlocker:()=>ch,useFetcher:()=>xp,useFetchers:()=>wp,useFormAction:()=>bp,useHref:()=>Tu,useInRouterContext:()=>Du,useLinkClickHandler:()=>fp,useLoaderData:()=>nh,useLocation:()=>ju,useMatch:()=>Mu,useMatches:()=>th,useNavigate:()=>Ou,useNavigation:()=>Ku,useNavigationType:()=>Ru,useOutlet:()=>Bu,useOutletContext:()=>Pu,useParams:()=>Nu,useResolvedPath:()=>Fu,useRevalidator:()=>eh,useRouteError:()=>oh,useRouteLoaderData:()=>rh,useRoutes:()=>$u,useSearchParams:()=>mp,useSubmit:()=>yp,useViewTransitionState:()=>Ep});var d={};i.r(d),i.d(d,{ServerStyleSheet:()=>cm,StyleSheetConsumer:()=>Ef,StyleSheetContext:()=>_f,StyleSheetManager:()=>If,ThemeConsumer:()=>tm,ThemeContext:()=>em,ThemeProvider:()=>nm,__PRIVATE__:()=>hm,createGlobalStyle:()=>sm,css:()=>Uf,default:()=>pm,isStyledComponent:()=>Hp,keyframes:()=>lm,useTheme:()=>um,version:()=>Wp,withTheme:()=>dm});var u={};i.r(u),i.d(u,{downloadFile:()=>fm,pad:()=>mm,sizeResize:()=>gm});var h={};i.r(h),i.d(h,{MessageColor:()=>Im,colorTransparency:()=>Tm,colorimetry:()=>Dm,getContrast50:()=>jm,getContrastYIQ:()=>Rm,isValidHexColor:()=>Mm});var p={};i.r(p),i.d(p,{arraySwapElements:()=>QA,arrayUniqueByUri:()=>JA,inArray:()=>qA,noNull:()=>XA,strArrayToggle:()=>ZA,updateArray:()=>YA});var f={};i.r(f),i.d(f,{limitSize:()=>nk,padStartTwoDigits:()=>tk,removeIfStartsWith:()=>ek,suffixIfDoesNotExist:()=>KA});var m={};i.r(m),i.d(m,{addMonth:()=>vk,dateLabel:()=>uk,extractDate:()=>rk,formatDate:()=>ik,formatDateTime:()=>ak,formatTime:()=>ok,isSameDay:()=>sk,isToday:()=>lk,isTomorrow:()=>dk,isValidDate:()=>mk,isYesterday:()=>ck,strToTimestamp:()=>hk,substractMonth:()=>gk,toHumanDate:()=>fk,toISODate:()=>pk});var g={};i.r(g),i.d(g,{getScrollParent:()=>xk,isDocumentElement:()=>yk,scrollIntoView:()=>wk,scrollTo:()=>bk});var v={};i.r(v),i.d(v,{list:()=>Ck});var y={};i.r(y),i.d(y,{getExtensionFromName:()=>Sk,getIconExtensionFile:()=>_k});var b={};i.r(b),i.d(b,{fileAvatar:()=>Hk,formatFileSize:()=>Wk});var x={};i.r(x),i.d(x,{deepEqual:()=>E.deepEqual,objectRemoveProperty:()=>Gk,parse:()=>Vk});var w={};i.r(w),i.d(w,{escapeRegExp:()=>qk});var C={};i.r(C),i.d(C,{timeToMs:()=>Yk});var S={};i.r(S),i.d(S,{Button:()=>jR,CaptionLabel:()=>RR,Chevron:()=>MR,Day:()=>IR,DayButton:()=>OR,Dropdown:()=>LR,DropdownNav:()=>PR,Footer:()=>BR,Month:()=>NR,MonthCaption:()=>FR,MonthGrid:()=>$R,Months:()=>zR,MonthsDropdown:()=>WR,Nav:()=>GR,NextMonthButton:()=>VR,Option:()=>qR,PreviousMonthButton:()=>YR,Root:()=>JR,Select:()=>QR,Week:()=>ZR,WeekNumber:()=>eM,WeekNumberHeader:()=>tM,Weekday:()=>XR,Weekdays:()=>KR,Weeks:()=>nM,YearsDropdown:()=>rM});var A={};i.r(A),i.d(A,{formatCaption:()=>oM,formatDay:()=>sM,formatMonthCaption:()=>aM,formatMonthDropdown:()=>lM,formatWeekNumber:()=>dM,formatWeekNumberHeader:()=>uM,formatWeekdayName:()=>cM,formatYearCaption:()=>pM,formatYearDropdown:()=>hM});var k={};i.r(k),i.d(k,{labelCaption:()=>bM,labelDay:()=>vM,labelDayButton:()=>gM,labelGrid:()=>yM,labelGridcell:()=>xM,labelMonthDropdown:()=>wM,labelNav:()=>CM,labelNext:()=>SM,labelPrevious:()=>AM,labelWeekNumber:()=>_M,labelWeekNumberHeader:()=>EM,labelWeekday:()=>kM,labelYearDropdown:()=>TM});var _={};i.r(_),i.d(_,{ArticleCard:()=>VA,BETA_JRCDoubleClick:()=>Nm,BETA_JRCDragAndDrop:()=>Fm,ClickAwayListener:()=>b_,Deprecated_JRCEllipsis:()=>m_,DndProvider:()=>fX,Draggable:()=>bX,Droppable:()=>wX,JRCAlbum:()=>vF,JRCAlert:()=>AF,JRCAppColumn:()=>J0,JRCAppContainer:()=>TF,JRCAppHeader:()=>RF,JRCAppLeftColumn:()=>ZF,JRCAttachments:()=>QO,JRCAudience:()=>u_,JRCAvatar:()=>i_,JRCBaseTooltip:()=>rS,JRCBasicAutoMarginContainer:()=>n1,JRCButton:()=>v_,JRCButtonDownload:()=>r$,JRCButtonDropdown:()=>B_,JRCButtonFile:()=>i$,JRCCalendar:()=>ZQ,JRCCard:()=>tj,JRCCardImg:()=>DP,JRCCheckbox:()=>AT,JRCCollapse:()=>nZ,JRCColumn:()=>q0,JRCColumnCenter:()=>rZ,JRCColumnLeft:()=>iZ,JRCColumnRight:()=>oZ,JRCCommentsBloc:()=>uX,JRCConditionalWrapper:()=>MS,JRCContainer:()=>Q0,JRCCropImage:()=>KP,JRCDate:()=>pX,JRCDisplayCard:()=>H_,JRCDndTwoLevelWithStack:()=>$X,JRCDraggingPlaceholder:()=>h_,JRCDriveDropbox:()=>uT,JRCDriveMSGraph:()=>wT,JRCDropDown:()=>aj,JRCEmptySpace:()=>GX,JRCFadeStepper:()=>d0,JRCFile:()=>eT,JRCFileAvatar:()=>nT,JRCFileOpen:()=>tK,JRCFileViewer:()=>HO,JRCFlexBox:()=>x_,JRCFolders:()=>GL,JRCGifSelector:()=>dK,JRCGrid:()=>uK,JRCH1:()=>BC,JRCH2:()=>NC,JRCH3:()=>FC,JRCH4:()=>$C,JRCH5:()=>zC,JRCHtml:()=>YB,JRCIcon:()=>LC,JRCIconButton:()=>yD,JRCImageStepper:()=>f0,JRCImg:()=>Kk,JRCInputAudience:()=>UN,JRCInputAutocomplete:()=>FN,JRCInputCheckbox:()=>tD,JRCInputCheckboxRaw:()=>eD,JRCInputColor:()=>XD,JRCInputColorRaw:()=>ZD,JRCInputCommunity:()=>zN,JRCInputDate:()=>VI,JRCInputDateTime:()=>GI,JRCInputEmail:()=>YI,JRCInputFile:()=>ZI,JRCInputFileAdvancedRaw:()=>wP,JRCInputImage:()=>cB,JRCInputNumber:()=>ED,JRCInputPassword:()=>uB,JRCInputReorderCheckbox:()=>sD,JRCInputSearchRaw:()=>uE,JRCInputSelect:()=>WN,JRCInputSelectExtended:()=>VN,JRCInputSelectHierarchicalTree:()=>YN,JRCInputSelectList:()=>JN,JRCInputSelectRaw:()=>AI,JRCInputText:()=>kD,JRCInputTextIconButton:()=>pB,JRCInputTextRaw:()=>CB,JRCInputTextarea:()=>gB,JRCInputTextareaRaw:()=>fB,JRCInputTime:()=>AB,JRCInputTinyMCE:()=>tN,JRCInputTinyMCERaw:()=>eN,JRCInputToggle:()=>uD,JRCInputToggleRaw:()=>dD,JRCInputUrl:()=>rN,JRCList:()=>wL,JRCLoader:()=>bS,JRCMainColumn:()=>i1,JRCMediaLoader:()=>pK,JRCMenu:()=>vK,JRCMessage:()=>eP,JRCModal:()=>RP,JRCModalContent:()=>uO,JRCModalContentForm:()=>CQ,JRCModalForm:()=>SQ,JRCModalImg:()=>kK,JRCModalLayout:()=>yO,JRCModalUserList:()=>EK,JRCPageNotLogged:()=>a0,JRCPagination:()=>sL,JRCPanel:()=>o1,JRCProgressBar:()=>jK,JRCPublishButton:()=>zK,JRCSidePanelModal:()=>xQ,JRCSidePanelModalForm:()=>HK,JRCSkeletonLine:()=>hS,JRCSkeletonList:()=>VK,JRCSkeletonSquare:()=>Zk,JRCStepper:()=>v0,JRCStepperPage:()=>d1,JRCStyledHref:()=>$A,JRCTabPanel:()=>sP,JRCTabs:()=>aP,JRCTag:()=>cN,JRCTemplateBase:()=>t1,JRCTemplateTwoColumns:()=>u1,JRCText:()=>WC,JRCTinyMCEFileUploadModal:()=>JB,JRCTinyMCEImageUploadModal:()=>ZB,JRCTinyMCEVideoUploadModal:()=>XB,JRCTooltip:()=>RS,JRCTypography:()=>f_,JRCUserPopup:()=>NZ,JRCValidationButton:()=>t$,JRCWidgetArticleAttachmentEditor:()=>G1,JRCWidgetArticleGallery:()=>x1,JRCWidgetArticleGalleryEditor:()=>F1,JRCWidgetArticleImageEditor:()=>v4,JRCWidgetArticleSliderEditor:()=>p5,JRCWidgetArticleText:()=>$1,JRCWidgetArticleTextEditor:()=>z1,JRCWidgetArticleTitle:()=>H1,JRCWidgetArticleTitleEditor:()=>W1,JRCWidgetAttachment:()=>YO,JRCWidgetButton:()=>Y1,JRCWidgetButtonEditor:()=>Z1,JRCWidgetCalendarCalDav:()=>r2,JRCWidgetCalendarCalDavEditor:()=>a2,JRCWidgetCheckList:()=>b2,JRCWidgetCheckListEditor:()=>L2,JRCWidgetContactCardDav:()=>$2,JRCWidgetContactCardDavEditor:()=>H2,JRCWidgetDatasourceTableEditor:()=>y3,JRCWidgetEmailsImap:()=>i4,JRCWidgetEmailsImapEditor:()=>o4,JRCWidgetEmailsImapLevel2:()=>d4,JRCWidgetEmptyInplace:()=>u4,JRCWidgetExcelDatasourceTableEditor:()=>D3,JRCWidgetIcon:()=>m4,JRCWidgetImage:()=>g1,JRCWidgetImageEditor:()=>y4,JRCWidgetLuccaAbsence:()=>k4,JRCWidgetLuccaAbsenceEditor:()=>_4,JRCWidgetPresence:()=>L4,JRCWidgetPresenceEditor:()=>N4,JRCWidgetQuickSurvey:()=>V4,JRCWidgetQuickSurveyEditor:()=>r5,JRCWidgetSlider:()=>P5,JRCWidgetTable:()=>V3,JRCWidgetTableEditor:()=>Y3,JRCWidgetUserProfile:()=>o6,JRCWidgetUserProfileEditor:()=>d6,LabelDescriptionOption:()=>GN,SkipToContent:()=>p_,StyledInput:()=>rE});var E=i(2856),T=i.n(E),D=i(758),j=i.t(D,2),R=(0,D.createContext)({dragDropManager:void 0}),M=i(6070);function I(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(!e){var o;if(void 0===t)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(o=new Error(t.replace(/%s/g,function(){return r[a++]}))).name="Invariant Violation"}throw o.framesToPop=1,o}}var O="dnd-core/INIT_COORDS",L="dnd-core/BEGIN_DRAG",P="dnd-core/PUBLISH_DRAG_SOURCE",B="dnd-core/HOVER",N="dnd-core/DROP",F="dnd-core/END_DRAG";function $(e,t){return{type:O,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}function z(e){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z(e)}function H(e){return"object"===z(e)}var U={type:O,payload:{clientOffset:null,sourceClientOffset:null}};function W(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0},r=n.publishSource,i=void 0===r||r,o=n.clientOffset,a=n.getSourceClientOffset,s=e.getMonitor(),l=e.getRegistry();e.dispatch($(o)),function(e,t,n){I(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach(function(e){I(n.getSource(e),"Expected sourceIds to be registered.")})}(t,s,l);var c=function(e,t){for(var n=null,r=e.length-1;r>=0;r--)if(t.canDragSource(e[r])){n=e[r];break}return n}(t,s);if(null!==c){var d=null;if(o){if(!a)throw new Error("getSourceClientOffset must be defined");!function(e){I("function"==typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}(a),d=a(c)}e.dispatch($(o,d));var u=l.getSource(c).beginDrag(s,c);if(null!=u){!function(e){I(H(e),"Item must be an object.")}(u),l.pinSource(c);var h=l.getSourceType(c);return{type:L,payload:{itemType:h,item:u,sourceId:c,clientOffset:o||null,sourceClientOffset:d||null,isSourcePublic:!!i}}}}else e.dispatch(U)}}function G(e){return function(){if(e.getMonitor().isDragging())return{type:P}}}function V(e,t){return null===t?null===e:Array.isArray(e)?e.some(function(e){return e===t}):e===t}function q(e){return function(t){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).clientOffset;!function(e){I(Array.isArray(e),"Expected targetIds to be an array.")}(t);var r=t.slice(0),i=e.getMonitor(),o=e.getRegistry();return function(e,t,n){I(t.isDragging(),"Cannot call hover while not dragging."),I(!t.didDrop(),"Cannot call hover after drop.");for(var r=0;r<e.length;r++){var i=e[r];I(e.lastIndexOf(i)===r,"Expected targetIds to be unique in the passed array."),I(n.getTarget(i),"Expected targetIds to be registered.")}}(r,i,o),function(e,t,n){for(var r=e.length-1;r>=0;r--){var i=e[r];V(t.getTargetType(i),n)||e.splice(r,1)}}(r,o,i.getItemType()),function(e,t,n){e.forEach(function(e){n.getTarget(e).hover(t,e)})}(r,i,o),{type:B,payload:{targetIds:r,clientOffset:n||null}}}}function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(n),!0).forEach(function(t){Q(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Z(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.getMonitor(),r=e.getRegistry();!function(e){I(e.isDragging(),"Cannot call drop while not dragging."),I(!e.didDrop(),"Cannot call drop twice during one drag operation.")}(n);var i=function(e){var t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}(n);i.forEach(function(i,o){var a=function(e,t,n,r){var i=n.getTarget(e),o=i?i.drop(r,e):void 0;return function(e){I(void 0===e||H(e),"Drop result must either be an object or undefined.")}(o),void 0===o&&(o=0===t?{}:r.getDropResult()),o}(i,o,r,n),s={type:N,payload:{dropResult:J(J({},t),a)}};e.dispatch(s)})}}function X(e){return function(){var t=e.getMonitor(),n=e.getRegistry();!function(e){I(e.isDragging(),"Cannot call endDrag while not dragging.")}(t);var r=t.getSourceId();return null!=r&&(n.getSource(r,!0).endDrag(t,r),n.unpinSource()),{type:F}}}function K(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var te=function(){function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),ee(this,"store",void 0),ee(this,"monitor",void 0),ee(this,"backend",void 0),ee(this,"isSetUp",!1),ee(this,"handleRefCountChange",function(){var e=r.store.getState().refCount>0;r.backend&&(e&&!r.isSetUp?(r.backend.setup(),r.isSetUp=!0):!e&&r.isSetUp&&(r.backend.teardown(),r.isSetUp=!1))}),this.store=t,this.monitor=n,t.subscribe(this.handleRefCountChange)}var t,n;return t=e,n=[{key:"receiveBackend",value:function(e){this.backend=e}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.monitor.registry}},{key:"getActions",value:function(){var e=this,t=this.store.dispatch,n=function(e){return{beginDrag:W(e),publishDragSource:G(e),hover:q(e),drop:Z(e),endDrag:X(e)}}(this);return Object.keys(n).reduce(function(r,i){var o,a=n[i];return r[i]=(o=a,function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=o.apply(e,r);void 0!==a&&t(a)}),r},{})}},{key:"dispatch",value:function(e){this.store.dispatch(e)}}],n&&K(t.prototype,n),e}();function ne(e){return ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ne(e)}function re(e,t,n){return(t=function(e){var t=function(e){if("object"!=ne(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ne(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ne(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach(function(t){re(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ae(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var se="function"==typeof Symbol&&Symbol.observable||"@@observable",le=function(){return Math.random().toString(36).substring(7).split("").join(".")},ce={INIT:"@@redux/INIT"+le(),REPLACE:"@@redux/REPLACE"+le(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+le()}};function de(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(ae(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(ae(1));return n(de)(e,t)}if("function"!=typeof e)throw new Error(ae(2));var i=e,o=t,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function d(){if(l)throw new Error(ae(3));return o}function u(e){if("function"!=typeof e)throw new Error(ae(4));if(l)throw new Error(ae(5));var t=!0;return c(),s.push(e),function(){if(t){if(l)throw new Error(ae(6));t=!1,c();var n=s.indexOf(e);s.splice(n,1),a=null}}}function h(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(ae(7));if(void 0===e.type)throw new Error(ae(8));if(l)throw new Error(ae(9));try{l=!0,o=i(o,e)}finally{l=!1}for(var t=a=s,n=0;n<t.length;n++)(0,t[n])();return e}return h({type:ce.INIT}),(r={dispatch:h,subscribe:u,getState:d,replaceReducer:function(e){if("function"!=typeof e)throw new Error(ae(10));i=e,h({type:ce.REPLACE})}})[se]=function(){var e,t=u;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(ae(11));function n(){e.next&&e.next(d())}return n(),{unsubscribe:t(n)}}})[se]=function(){return this},e},r}var ue=de;function he(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];"function"==typeof e[i]&&(n[i]=e[i])}var o,a=Object.keys(n);try{!function(e){Object.keys(e).forEach(function(t){var n=e[t];if(void 0===n(void 0,{type:ce.INIT}))throw new Error(ae(12));if(void 0===n(void 0,{type:ce.PROBE_UNKNOWN_ACTION()}))throw new Error(ae(13))})}(n)}catch(e){o=e}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=n[l],d=e[l],u=c(d,t);if(void 0===u)throw t&&t.type,new Error(ae(14));i[l]=u,r=r||u!==d}return(r=r||a.length!==Object.keys(e).length)?i:e}}function pe(e,t){return function(){return t(e.apply(this,arguments))}}function fe(e,t){if("function"==typeof e)return pe(e,t);if("object"!=typeof e||null===e)throw new Error(ae(16));var n={};for(var r in e){var i=e[r];"function"==typeof i&&(n[r]=pe(i,t))}return n}function me(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function ge(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(ae(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map(function(e){return e(i)});return r=me.apply(void 0,o)(n.dispatch),oe(oe({},n),{},{dispatch:r})}}}var ve=function(e,t){return e===t};function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach(function(t){xe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var we={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function Ce(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:we,r=arguments.length>1?arguments[1]:void 0,i=r.payload;switch(r.type){case O:case L:return{initialSourceClientOffset:i.sourceClientOffset,initialClientOffset:i.clientOffset,clientOffset:i.clientOffset};case B:return e=n.clientOffset,t=i.clientOffset,!e&&!t||e&&t&&e.x===t.x&&e.y===t.y?n:be(be({},n),{},{clientOffset:i.clientOffset});case F:case N:return we;default:return n}}var Se="dnd-core/ADD_SOURCE",Ae="dnd-core/ADD_TARGET",ke="dnd-core/REMOVE_SOURCE",_e="dnd-core/REMOVE_TARGET";function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(n),!0).forEach(function(t){De(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function De(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var je={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function Re(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:je,r=arguments.length>1?arguments[1]:void 0,i=r.payload;switch(r.type){case L:return Te(Te({},n),{},{itemType:i.itemType,item:i.item,sourceId:i.sourceId,isSourcePublic:i.isSourcePublic,dropResult:null,didDrop:!1});case P:return Te(Te({},n),{},{isSourcePublic:!0});case B:return Te(Te({},n),{},{targetIds:i.targetIds});case _e:return-1===n.targetIds.indexOf(i.targetId)?n:Te(Te({},n),{},{targetIds:(e=n.targetIds,t=i.targetId,e.filter(function(e){return e!==t}))});case N:return Te(Te({},n),{},{dropResult:i.dropResult,didDrop:!0,targetIds:[]});case F:return Te(Te({},n),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return n}}function Me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;switch((arguments.length>1?arguments[1]:void 0).type){case Se:case Ae:return e+1;case ke:case _e:return e-1;default:return e}}var Ie=[],Oe=[];function Le(){var e=arguments.length>1?arguments[1]:void 0;switch(e.type){case B:break;case Se:case Ae:case _e:case ke:return Ie;default:return Oe}var t=e.payload,n=t.targetIds,r=void 0===n?[]:n,i=t.prevTargetIds,o=void 0===i?[]:i,a=function(e,t){var n=new Map,r=function(e){n.set(e,n.has(e)?n.get(e)+1:1)};e.forEach(r),t.forEach(r);var i=[];return n.forEach(function(e,t){1===e&&i.push(t)}),i}(r,o),s=a.length>0||!function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ve;if(e.length!==t.length)return!1;for(var r=0;r<e.length;++r)if(!n(e[r],t[r]))return!1;return!0}(r,o);if(!s)return Ie;var l=o[o.length-1],c=r[r.length-1];return l!==c&&(l&&a.push(l),c&&a.push(c)),a}function Pe(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1}function Be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(n),!0).forEach(function(t){Fe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $e(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:Le(n.dirtyHandlerIds,{type:r.type,payload:Ne(Ne({},r.payload),{},{prevTargetIds:(e=n,t=[],"dragOperation.targetIds".split(".").reduce(function(e,n){return e&&e[n]?e[n]:t||null},e))})}),dragOffset:Ce(n.dragOffset,r),refCount:Me(n.refCount,r),dragOperation:Re(n.dragOperation,r),stateId:Pe(n.stateId)}}function ze(e,t){return{x:e.x-t.x,y:e.y-t.y}}function He(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Ie.__IS_NONE__=!0,Oe.__IS_ALL__=!0;var We,Ge=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Ue(this,"store",void 0),Ue(this,"registry",void 0),this.store=t,this.registry=n}var t,n;return t=e,n=[{key:"subscribeToStateChange",value:function(e){var t=this,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{handlerIds:void 0}).handlerIds;I("function"==typeof e,"listener must be a function."),I(void 0===n||Array.isArray(n),"handlerIds, when specified, must be an array of strings.");var r=this.store.getState().stateId;return this.store.subscribe(function(){var i=t.store.getState(),o=i.stateId;try{var a=o===r||o===r+1&&!function(e,t){if(e===Ie)return!1;if(e===Oe||void 0===t)return!0;var n,r=(n=e,t.filter(function(e){return n.indexOf(e)>-1}));return r.length>0}(i.dirtyHandlerIds,n);a||e()}finally{r=o}})}},{key:"subscribeToOffsetChange",value:function(e){var t=this;I("function"==typeof e,"listener must be a function.");var n=this.store.getState().dragOffset;return this.store.subscribe(function(){var r=t.store.getState().dragOffset;r!==n&&(n=r,e())})}},{key:"canDragSource",value:function(e){if(!e)return!1;var t=this.registry.getSource(e);return I(t,"Expected to find a valid source. sourceId=".concat(e)),!this.isDragging()&&t.canDrag(this,e)}},{key:"canDropOnTarget",value:function(e){if(!e)return!1;var t=this.registry.getTarget(e);return I(t,"Expected to find a valid target. targetId=".concat(e)),!(!this.isDragging()||this.didDrop())&&V(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e)}},{key:"isDragging",value:function(){return Boolean(this.getItemType())}},{key:"isDraggingSource",value:function(e){if(!e)return!1;var t=this.registry.getSource(e,!0);return I(t,"Expected to find a valid source. sourceId=".concat(e)),!(!this.isDragging()||!this.isSourcePublic())&&this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}},{key:"isOverTarget",value:function(e){if(!e)return!1;var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1}).shallow;if(!this.isDragging())return!1;var n=this.registry.getTargetType(e),r=this.getItemType();if(r&&!V(n,r))return!1;var i=this.getTargetIds();if(!i.length)return!1;var o=i.indexOf(e);return t?o===i.length-1:o>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return Boolean(this.store.getState().dragOperation.isSourcePublic)}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return e=this.store.getState().dragOffset,t=e.clientOffset,n=e.initialClientOffset,r=e.initialSourceClientOffset,t&&n&&r?ze(function(e,t){return{x:e.x+t.x,y:e.y+t.y}}(t,r),n):null;var e,t,n,r}},{key:"getDifferenceFromInitialOffset",value:function(){return e=this.store.getState().dragOffset,t=e.clientOffset,n=e.initialClientOffset,t&&n?ze(t,n):null;var e,t,n}}],n&&He(t.prototype,n),e}(),Ve=0;function qe(e){return qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qe(e)}function Ye(e,t){t&&Array.isArray(e)?e.forEach(function(e){return Ye(e,!1)}):I("string"==typeof e||"symbol"===qe(e),t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}!function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"}(We||(We={}));const Je="undefined"!=typeof global?global:self,Qe=Je.MutationObserver||Je.WebKitMutationObserver;function Ze(e){return function(){const t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}const Xe="function"==typeof Qe?function(e){let t=1;const n=new Qe(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}:Ze;class Ke{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}}const et=new class{enqueueTask(e){const{queue:t,requestFlush:n}=this;t.length||(n(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:e}=this;for(;this.index<e.length;){const t=this.index;if(this.index++,e[t].call(),this.index>this.capacity){for(let t=0,n=e.length-this.index;t<n;t++)e[t]=e[t+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=Xe(this.flush),this.requestErrorThrow=Ze(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}},tt=new class{create(e){const t=this.freeTasks,n=t.length?t.pop():new Ke(this.onError,e=>t[t.length]=e);return n.task=e,n}constructor(e){this.onError=e,this.freeTasks=[]}}(et.registerPendingError);function nt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function it(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ot(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ot(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ot(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function at(e){switch(e[0]){case"S":return We.SOURCE;case"T":return We.TARGET;default:I(!1,"Cannot parse handler ID: ".concat(e))}}function st(e,t){var n=e.entries(),r=!1;do{var i=n.next(),o=i.done;if(it(i.value,2)[1]===t)return!0;r=!!o}while(!r);return!1}var lt=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),rt(this,"types",new Map),rt(this,"dragSources",new Map),rt(this,"dropTargets",new Map),rt(this,"pinnedSourceId",null),rt(this,"pinnedSource",null),rt(this,"store",void 0),this.store=t}var t,n;return t=e,n=[{key:"addSource",value:function(e,t){Ye(e),function(e){I("function"==typeof e.canDrag,"Expected canDrag to be a function."),I("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),I("function"==typeof e.endDrag,"Expected endDrag to be a function.")}(t);var n=this.addHandler(We.SOURCE,e,t);return this.store.dispatch(function(e){return{type:Se,payload:{sourceId:e}}}(n)),n}},{key:"addTarget",value:function(e,t){Ye(e,!0),function(e){I("function"==typeof e.canDrop,"Expected canDrop to be a function."),I("function"==typeof e.hover,"Expected hover to be a function."),I("function"==typeof e.drop,"Expected beginDrag to be a function.")}(t);var n=this.addHandler(We.TARGET,e,t);return this.store.dispatch(function(e){return{type:Ae,payload:{targetId:e}}}(n)),n}},{key:"containsHandler",value:function(e){return st(this.dragSources,e)||st(this.dropTargets,e)}},{key:"getSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return I(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}},{key:"getTarget",value:function(e){return I(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}},{key:"getSourceType",value:function(e){return I(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}},{key:"getTargetType",value:function(e){return I(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}},{key:"isSourceId",value:function(e){return at(e)===We.SOURCE}},{key:"isTargetId",value:function(e){return at(e)===We.TARGET}},{key:"removeSource",value:function(e){var t,n=this;I(this.getSource(e),"Expected an existing source."),this.store.dispatch(function(e){return{type:ke,payload:{sourceId:e}}}(e)),t=function(){n.dragSources.delete(e),n.types.delete(e)},et.enqueueTask(tt.create(t))}},{key:"removeTarget",value:function(e){I(this.getTarget(e),"Expected an existing target."),this.store.dispatch(function(e){return{type:_e,payload:{targetId:e}}}(e)),this.dropTargets.delete(e),this.types.delete(e)}},{key:"pinSource",value:function(e){var t=this.getSource(e);I(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}},{key:"unpinSource",value:function(){I(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}},{key:"addHandler",value:function(e,t,n){var r=function(e){var t=(Ve++).toString();switch(e){case We.SOURCE:return"S".concat(t);case We.TARGET:return"T".concat(t);default:throw new Error("Unknown Handler Role: ".concat(e))}}(e);return this.types.set(r,t),e===We.SOURCE?this.dragSources.set(r,n):e===We.TARGET&&this.dropTargets.set(r,n),r}}],n&&nt(t.prototype,n),e}();function ct(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(t=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__,de($e,t&&n&&n({name:"dnd-core",instanceId:"dnd-core"}))),a=new Ge(o,new lt(o)),s=new te(o,a),l=e(s,r,i);return s.receiveBackend(l),s}var dt=["children"];function ut(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ht=0,pt=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__"),ft=(0,D.memo)(function(e){var t=e.children,n=function(e){if("manager"in e)return[{dragDropManager:e.manager},!1];var t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:mt(),n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=t;return i[pt]||(i[pt]={dragDropManager:ct(e,t,n,r)}),i[pt]}(e.backend,e.context,e.options,e.debugMode);return[t,!e.context]}(function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,dt)),r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ut(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ut(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(n,2),i=r[0],o=r[1];return(0,D.useEffect)(function(){if(o){var e=mt();return++ht,function(){0===--ht&&(e[pt]=null)}}},[]),(0,M.jsx)(R.Provider,Object.assign({value:i},{children:t}),void 0)});function mt(){return void 0!==i.g?i.g:window}var gt=(0,D.memo)(function(e){var t=e.connect,n=e.src;return(0,D.useEffect)(function(){if("undefined"!=typeof Image){var e=!1,r=new Image;return r.src=n,r.onload=function(){t(r),e=!0},function(){e&&t(null)}}}),null});function vt(e,t,n){var r=n.getRegistry(),i=r.addTarget(e,t);return[i,function(){return r.removeTarget(i)}]}function yt(e,t,n){var r=n.getRegistry(),i=r.addSource(e,t);return[i,function(){return r.removeSource(i)}]}function bt(e){var t={};return Object.keys(e).forEach(function(n){var r=e[n];if(n.endsWith("Ref"))t[n]=e[n];else{var i=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(0,D.isValidElement)(t)){var r=t;return e(r,n),r}var i=t;!function(e){if("string"!=typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+"You can either wrap ".concat(t," into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}(i);var o=n?function(t){return e(t,n)}:e;return function(e,t){var n=e.ref;return I("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),n?(0,D.cloneElement)(e,{ref:function(e){xt(n,e),xt(t,e)}}):(0,D.cloneElement)(e,{ref:t})}(i,o)}}(r);t[n]=function(){return i}}}),t}function xt(e,t){"function"==typeof e?e(t):e.current=t}function wt(e){return wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wt(e)}function Ct(e){return null!==e&&"object"===wt(e)&&Object.prototype.hasOwnProperty.call(e,"current")}function St(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var c=o[l];if(!s(c))return!1;var d=e[c],u=t[c];if(!1===(i=n?n.call(r,d,u,c):void 0)||void 0===i&&d!==u)return!1}return!0}function At(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _t=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),kt(this,"hooks",bt({dragSource:function(e,t){n.clearDragSource(),n.dragSourceOptions=t||null,Ct(e)?n.dragSourceRef=e:n.dragSourceNode=e,n.reconnectDragSource()},dragPreview:function(e,t){n.clearDragPreview(),n.dragPreviewOptions=t||null,Ct(e)?n.dragPreviewRef=e:n.dragPreviewNode=e,n.reconnectDragPreview()}})),kt(this,"handlerId",null),kt(this,"dragSourceRef",null),kt(this,"dragSourceNode",void 0),kt(this,"dragSourceOptionsInternal",null),kt(this,"dragSourceUnsubscribe",void 0),kt(this,"dragPreviewRef",null),kt(this,"dragPreviewNode",void 0),kt(this,"dragPreviewOptionsInternal",null),kt(this,"dragPreviewUnsubscribe",void 0),kt(this,"lastConnectedHandlerId",null),kt(this,"lastConnectedDragSource",null),kt(this,"lastConnectedDragSourceOptions",null),kt(this,"lastConnectedDragPreview",null),kt(this,"lastConnectedDragPreviewOptions",null),kt(this,"backend",void 0),this.backend=t}var t,n;return t=e,n=[{key:"receiveHandlerId",value:function(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}},{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(e){this.dragSourceOptionsInternal=e}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(e){this.dragPreviewOptionsInternal=e}},{key:"reconnect",value:function(){this.reconnectDragSource(),this.reconnectDragPreview()}},{key:"reconnectDragSource",value:function(){var e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();t&&this.disconnectDragSource(),this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)):this.lastConnectedDragSource=e)}},{key:"reconnectDragPreview",value:function(){var e=this.dragPreview,t=this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();t&&this.disconnectDragPreview(),this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=e,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,e,this.dragPreviewOptions)):this.lastConnectedDragPreview=e)}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didConnectedDragSourceChange",value:function(){return this.lastConnectedDragSource!==this.dragSource}},{key:"didConnectedDragPreviewChange",value:function(){return this.lastConnectedDragPreview!==this.dragPreview}},{key:"didDragSourceOptionsChange",value:function(){return!St(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}},{key:"didDragPreviewOptionsChange",value:function(){return!St(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}},{key:"disconnectDragSource",value:function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}},{key:"disconnectDragPreview",value:function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}},{key:"dragSource",get:function(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}},{key:"dragPreview",get:function(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}},{key:"clearDragSource",value:function(){this.dragSourceNode=null,this.dragSourceRef=null}},{key:"clearDragPreview",value:function(){this.dragPreviewNode=null,this.dragPreviewRef=null}}],n&&At(t.prototype,n),e}();function Et(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Dt=!1,jt=!1,Rt=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Tt(this,"internalMonitor",void 0),Tt(this,"sourceId",null),this.internalMonitor=t.getMonitor()}var t,n;return t=e,n=[{key:"receiveHandlerId",value:function(e){this.sourceId=e}},{key:"getHandlerId",value:function(){return this.sourceId}},{key:"canDrag",value:function(){I(!Dt,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return Dt=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{Dt=!1}}},{key:"isDragging",value:function(){if(!this.sourceId)return!1;I(!jt,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return jt=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{jt=!1}}},{key:"subscribeToStateChange",value:function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}},{key:"isDraggingSource",value:function(e){return this.internalMonitor.isDraggingSource(e)}},{key:"isOverTarget",value:function(e,t){return this.internalMonitor.isOverTarget(e,t)}},{key:"getTargetIds",value:function(){return this.internalMonitor.getTargetIds()}},{key:"isSourcePublic",value:function(){return this.internalMonitor.isSourcePublic()}},{key:"getSourceId",value:function(){return this.internalMonitor.getSourceId()}},{key:"subscribeToOffsetChange",value:function(e){return this.internalMonitor.subscribeToOffsetChange(e)}},{key:"canDragSource",value:function(e){return this.internalMonitor.canDragSource(e)}},{key:"canDropOnTarget",value:function(e){return this.internalMonitor.canDropOnTarget(e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}],n&&Et(t.prototype,n),e}();function Mt(e){return Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mt(e)}function It(e){var t=e.current;return null==t?null:t.decoratedRef?t.decoratedRef.current:t}function Ot(e){return(t=e)&&t.prototype&&"function"==typeof t.prototype.render||function(e){var t;return"Symbol(react.forward_ref)"===(null==e||null===(t=e.$$typeof)||void 0===t?void 0:t.toString())}(e);var t}function Lt(e){return"function"==typeof e}function Pt(){}function Bt(e){if(!function(e){return"object"===Mt(e)&&null!==e}(e))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Nt(e,t){return"string"==typeof e||"symbol"===Mt(e)||!!t&&Array.isArray(e)&&e.every(function(e){return Nt(e,!1)})}function Ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zt(e,t,n){return t&&$t(e.prototype,t),n&&$t(e,n),e}function Ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ut=function(){function e(t){Ft(this,e),Ht(this,"isDisposed",!1),Ht(this,"action",void 0),this.action=Lt(t)?t:Pt}return zt(e,[{key:"dispose",value:function(){this.isDisposed||(this.action(),this.isDisposed=!0)}}],[{key:"isDisposable",value:function(e){return Boolean(e&&Lt(e.dispose))}},{key:"_fixup",value:function(t){return e.isDisposable(t)?t:e.empty}},{key:"create",value:function(t){return new e(t)}}]),e}();Ht(Ut,"empty",{dispose:Pt});var Wt=function(){function e(){Ft(this,e),Ht(this,"isDisposed",!1),Ht(this,"disposables",void 0);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];this.disposables=n}return zt(e,[{key:"add",value:function(e){this.isDisposed?e.dispose():this.disposables.push(e)}},{key:"remove",value:function(e){var t=!1;if(!this.isDisposed){var n=this.disposables.indexOf(e);-1!==n&&(t=!0,this.disposables.splice(n,1),e.dispose())}return t}},{key:"clear",value:function(){if(!this.isDisposed){for(var e=this.disposables.length,t=new Array(e),n=0;n<e;n++)t[n]=this.disposables[n];this.disposables=[];for(var r=0;r<e;r++)t[r].dispose()}}},{key:"dispose",value:function(){if(!this.isDisposed){this.isDisposed=!0;for(var e=this.disposables.length,t=new Array(e),n=0;n<e;n++)t[n]=this.disposables[n];this.disposables=[];for(var r=0;r<e;r++)t[r].dispose()}}}]),e}(),Gt=function(){function e(){Ft(this,e),Ht(this,"isDisposed",!1),Ht(this,"current",void 0)}return zt(e,[{key:"getDisposable",value:function(){return this.current}},{key:"setDisposable",value:function(e){var t=this.isDisposed;if(!t){var n=this.current;this.current=e,n&&n.dispose()}t&&e&&e.dispose()}},{key:"dispose",value:function(){if(!this.isDisposed){this.isDisposed=!0;var e=this.current;this.current=void 0,e&&e.dispose()}}}]),e}(),Vt=i(1035),qt=i.n(Vt);function Yt(e){return Yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yt(e)}function Jt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Qt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Zt(e,t){return Zt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Zt(e,t)}function Xt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kt(e){return Kt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Kt(e)}function en(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tn(e){var t=e.DecoratedComponent,n=e.createHandler,r=e.createMonitor,i=e.createConnector,o=e.registerHandler,a=e.containerDisplayName,s=e.getType,l=e.collect,c=e.options.arePropsEqual,d=void 0===c?St:c,u=t,h=t.displayName||t.name||"Component",p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zt(e,t)}(m,e);var t,a,c,p,f=(c=m,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=Kt(c);if(p){var n=Kt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===Yt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Xt(e)}(this,e)});function m(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,m),en(Xt(t=f.call(this,e)),"decoratedRef",(0,D.createRef)()),en(Xt(t),"handlerId",void 0),en(Xt(t),"manager",void 0),en(Xt(t),"handlerMonitor",void 0),en(Xt(t),"handlerConnector",void 0),en(Xt(t),"handler",void 0),en(Xt(t),"disposable",void 0),en(Xt(t),"currentType",void 0),en(Xt(t),"handleChange",function(){var e=t.getCurrentState();St(e,t.state)||t.setState(e)}),t.disposable=new Gt,t.receiveProps(e),t.dispose(),t}return t=m,(a=[{key:"getHandlerId",value:function(){return this.handlerId}},{key:"getDecoratedComponentInstance",value:function(){return I(this.decoratedRef.current,"In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()"),this.decoratedRef.current}},{key:"shouldComponentUpdate",value:function(e,t){return!d(e,this.props)||!St(t,this.state)}},{key:"componentDidMount",value:function(){this.disposable=new Gt,this.currentType=void 0,this.receiveProps(this.props),this.handleChange()}},{key:"componentDidUpdate",value:function(e){d(this.props,e)||(this.receiveProps(this.props),this.handleChange())}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"receiveProps",value:function(e){this.handler&&(this.handler.receiveProps(e),this.receiveType(s(e)))}},{key:"receiveType",value:function(e){if(this.handlerMonitor&&this.manager&&this.handlerConnector&&e!==this.currentType){this.currentType=e;var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Jt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o(e,this.handler,this.manager),2),n=t[0],r=t[1];this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var i=this.manager.getMonitor().subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new Wt(new Ut(i),new Ut(r)))}}},{key:"dispose",value:function(){this.disposable.dispose(),this.handlerConnector&&this.handlerConnector.receiveHandlerId(null)}},{key:"getCurrentState",value:function(){return this.handlerConnector?l(this.handlerConnector.hooks,this.handlerMonitor,this.props):{}}},{key:"render",value:function(){var e=this;return(0,M.jsx)(R.Consumer,{children:function(t){var n=t.dragDropManager;return e.receiveDragDropManager(n),"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(function(){var t;return null===(t=e.handlerConnector)||void 0===t?void 0:t.reconnect()}),(0,M.jsx)(u,Object.assign({},e.props,e.getCurrentState(),{ref:Ot(u)?e.decoratedRef:null}),void 0)}},void 0)}},{key:"receiveDragDropManager",value:function(e){void 0===this.manager&&(I(void 0!==e,"Could not find the drag and drop manager in the context of %s. Make sure to render a DndProvider component in your top-level component. Read more: http://react-dnd.github.io/react-dnd/docs/troubleshooting#could-not-find-the-drag-and-drop-manager-in-the-context",h,h),void 0!==e&&(this.manager=e,this.handlerMonitor=r(e),this.handlerConnector=i(e.getBackend()),this.handler=n(this.handlerMonitor,this.decoratedRef)))}}])&&Qt(t.prototype,a),m}(D.Component);return en(p,"DecoratedComponent",t),en(p,"displayName","".concat(a,"(").concat(h,")")),qt()(p,t)}function nn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var on=["canDrag","beginDrag","isDragging","endDrag"],an=["beginDrag"],sn=function(){function e(t,n,r){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),rn(this,"props",null),rn(this,"spec",void 0),rn(this,"monitor",void 0),rn(this,"ref",void 0),rn(this,"beginDrag",function(){if(i.props)return i.spec.beginDrag(i.props,i.monitor,i.ref.current)}),this.spec=t,this.monitor=n,this.ref=r}var t,n;return t=e,(n=[{key:"receiveProps",value:function(e){this.props=e}},{key:"canDrag",value:function(){return!!this.props&&(!this.spec.canDrag||this.spec.canDrag(this.props,this.monitor))}},{key:"isDragging",value:function(e,t){return!!this.props&&(this.spec.isDragging?this.spec.isDragging(this.props,this.monitor):t===e.getSourceId())}},{key:"endDrag",value:function(){this.props&&this.spec.endDrag&&this.spec.endDrag(this.props,this.monitor,It(this.ref))}}])&&nn(t.prototype,n),e}();function ln(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=e;"function"!=typeof e&&(I(Nt(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',e),i=function(){return e}),I(Bt(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',t);var o=function(e){return Object.keys(e).forEach(function(t){I(on.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',on.join(", "),t),I("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source",t,t,e[t])}),an.forEach(function(t){I("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source",t,t,e[t])}),function(t,n){return new sn(e,t,n)}}(t);return I("function"==typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',n),I(Bt(r),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',n),function(e){return tn({containerDisplayName:"DragSource",createHandler:o,registerHandler:yt,createConnector:function(e){return new _t(e)},createMonitor:function(e){return new Rt(e)},DecoratedComponent:e,getType:i,collect:n,options:r})}}function cn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var un=!1,hn=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),dn(this,"internalMonitor",void 0),dn(this,"targetId",null),this.internalMonitor=t.getMonitor()}var t,n;return t=e,n=[{key:"receiveHandlerId",value:function(e){this.targetId=e}},{key:"getHandlerId",value:function(){return this.targetId}},{key:"subscribeToStateChange",value:function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}},{key:"canDrop",value:function(){if(!this.targetId)return!1;I(!un,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return un=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{un=!1}}},{key:"isOver",value:function(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}],n&&cn(t.prototype,n),e}();function pn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mn=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),fn(this,"hooks",bt({dropTarget:function(e,t){n.clearDropTarget(),n.dropTargetOptions=t,Ct(e)?n.dropTargetRef=e:n.dropTargetNode=e,n.reconnect()}})),fn(this,"handlerId",null),fn(this,"dropTargetRef",null),fn(this,"dropTargetNode",void 0),fn(this,"dropTargetOptionsInternal",null),fn(this,"unsubscribeDropTarget",void 0),fn(this,"lastConnectedHandlerId",null),fn(this,"lastConnectedDropTarget",null),fn(this,"lastConnectedDropTargetOptions",null),fn(this,"backend",void 0),this.backend=t}var t,n;return t=e,n=[{key:"connectTarget",get:function(){return this.dropTarget}},{key:"reconnect",value:function(){var e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();var t=this.dropTarget;this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions)):this.lastConnectedDropTarget=t)}},{key:"receiveHandlerId",value:function(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(e){this.dropTargetOptionsInternal=e}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didDropTargetChange",value:function(){return this.lastConnectedDropTarget!==this.dropTarget}},{key:"didOptionsChange",value:function(){return!St(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}},{key:"disconnectDropTarget",value:function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}},{key:"clearDropTarget",value:function(){this.dropTargetRef=null,this.dropTargetNode=null}}],n&&pn(t.prototype,n),e}();function gn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yn=["canDrop","hover","drop"],bn=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),vn(this,"props",null),vn(this,"spec",void 0),vn(this,"monitor",void 0),vn(this,"ref",void 0),this.spec=t,this.monitor=n,this.ref=r}var t,n;return t=e,(n=[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveMonitor",value:function(e){this.monitor=e}},{key:"canDrop",value:function(){return!this.spec.canDrop||this.spec.canDrop(this.props,this.monitor)}},{key:"hover",value:function(){this.spec.hover&&this.props&&this.spec.hover(this.props,this.monitor,It(this.ref))}},{key:"drop",value:function(){if(this.spec.drop)return this.spec.drop(this.props,this.monitor,this.ref.current)}}])&&gn(t.prototype,n),e}();function xn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=e;"function"!=typeof e&&(I(Nt(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',e),i=function(){return e}),I(Bt(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',t);var o=function(e){return Object.keys(e).forEach(function(t){I(yn.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',yn.join(", "),t),I("function"==typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target",t,t,e[t])}),function(t,n){return new bn(e,t,n)}}(t);return I("function"==typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',n),I(Bt(r),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',n),function(e){return tn({containerDisplayName:"DropTarget",createHandler:o,registerHandler:vt,createMonitor:function(e){return new hn(e)},createConnector:function(e){return new mn(e)},DecoratedComponent:e,getType:i,collect:n,options:r})}}function wn(e){return wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wn(e)}function Cn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sn(e,t){return Sn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Sn(e,t)}function An(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kn(e){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},kn(e)}function _n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function En(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return I("function"==typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-layer",e),I(Bt(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-layer',t),function(n){var r=n,i=t.arePropsEqual,o=void 0===i?St:i,a=r.displayName||r.name||"Component",s=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sn(e,t)}(d,t);var n,i,s,l,c=(s=d,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=kn(s);if(l){var n=kn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===wn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return An(e)}(this,e)});function d(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return _n(An(e=c.call.apply(c,[this].concat(n))),"manager",void 0),_n(An(e),"isCurrentlyMounted",!1),_n(An(e),"unsubscribeFromOffsetChange",void 0),_n(An(e),"unsubscribeFromStateChange",void 0),_n(An(e),"ref",(0,D.createRef)()),_n(An(e),"handleChange",function(){if(e.isCurrentlyMounted){var t=e.getCurrentState();St(t,e.state)||e.setState(t)}}),e}return n=d,(i=[{key:"getDecoratedComponentInstance",value:function(){return I(this.ref.current,"In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()"),this.ref.current}},{key:"shouldComponentUpdate",value:function(e,t){return!o(e,this.props)||!St(t,this.state)}},{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0,this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange&&(this.unsubscribeFromOffsetChange(),this.unsubscribeFromOffsetChange=void 0),this.unsubscribeFromStateChange&&(this.unsubscribeFromStateChange(),this.unsubscribeFromStateChange=void 0)}},{key:"render",value:function(){var e=this;return(0,M.jsx)(R.Consumer,{children:function(t){var n=t.dragDropManager;return void 0===n?null:(e.receiveDragDropManager(n),e.isCurrentlyMounted?(0,M.jsx)(r,Object.assign({},e.props,e.state,{ref:Ot(r)?e.ref:null}),void 0):null)}},void 0)}},{key:"receiveDragDropManager",value:function(e){if(void 0===this.manager){this.manager=e,I("object"===wn(e),"Could not find the drag and drop manager in the context of %s. Make sure to render a DndProvider component in your top-level component. Read more: http://react-dnd.github.io/react-dnd/docs/troubleshooting#could-not-find-the-drag-and-drop-manager-in-the-context",a,a);var t=this.manager.getMonitor();this.unsubscribeFromOffsetChange=t.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=t.subscribeToStateChange(this.handleChange)}}},{key:"getCurrentState",value:function(){if(!this.manager)return{};var t=this.manager.getMonitor();return e(t,this.props)}}])&&Cn(n.prototype,i),d}(D.Component);return _n(s,"displayName","DragLayer(".concat(a,")")),_n(s,"DecoratedComponent",n),qt()(s,n)}}var Tn="undefined"!=typeof window?D.useLayoutEffect:D.useEffect;function Dn(e){return Dn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dn(e)}function jn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mn=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Rn(this,"spec",void 0),Rn(this,"monitor",void 0),Rn(this,"connector",void 0),this.spec=t,this.monitor=n,this.connector=r}var t,n;return t=e,(n=[{key:"beginDrag",value:function(){var e,t=this.spec,n=this.monitor;return null!==(e="object"===Dn(t.item)?t.item:"function"==typeof t.item?t.item(n):{})&&void 0!==e?e:null}},{key:"canDrag",value:function(){var e=this.spec,t=this.monitor;return"boolean"==typeof e.canDrag?e.canDrag:"function"!=typeof e.canDrag||e.canDrag(t)}},{key:"isDragging",value:function(e,t){var n=this.spec,r=this.monitor,i=n.isDragging;return i?i(r):t===e.getSourceId()}},{key:"endDrag",value:function(){var e=this.spec,t=this.monitor,n=this.connector,r=e.end;r&&r(t.getItem(),t),n.reconnect()}}])&&jn(t.prototype,n),e}();function In(){var e=(0,D.useContext)(R).dragDropManager;return I(null!=e,"Expected drag drop context"),e}function On(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ln(e,t,n){var r=In(),i=function(e,t,n){var r=(0,D.useMemo)(function(){return new Mn(e,t,n)},[t,n]);return(0,D.useEffect)(function(){r.spec=e},[e]),r}(e,t,n),o=function(e){return(0,D.useMemo)(function(){var t=e.type;return I(null!=t,"spec.type must be defined"),t},[e])}(e);Tn(function(){if(null!=o){var e=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return On(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?On(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(yt(o,i,r),2),a=e[0],s=e[1];return t.receiveHandlerId(a),n.receiveHandlerId(a),s}},[r,t,n,i,o])}function Pn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Bn(e,t){var n,r=function(e){if(Array.isArray(e))return Pn(e)}(n=t||[])||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return Pn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pn(e,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();return null==t&&"function"!=typeof e&&r.push(e),(0,D.useMemo)(function(){return"function"==typeof e?e():e},r)}var Nn=i(3212),Fn=i.n(Nn);function $n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zn(e,t,n){var r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return $n(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,D.useState)(function(){return t(e)}),2),i=r[0],o=r[1],a=(0,D.useCallback)(function(){var r=t(e);Fn()(i,r)||(o(r),n&&n())},[i,e,n]);return Tn(a),[i,a]}function Hn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Un(e,t,n){return function(e,t){var r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Hn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(zn(e,t,function(){return n.reconnect()}),2),i=r[0],o=r[1];return Tn(function(){var t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(o,{handlerIds:[t]})},[e,o]),i}(t,e||function(){return{}})}function Wn(e){return(0,D.useMemo)(function(){return e.hooks.dragSource()},[e])}function Gn(e){return(0,D.useMemo)(function(){return e.hooks.dragPreview()},[e])}function Vn(e,t){var n=Bn(e,t);I(!n.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");var r,i=(r=In(),(0,D.useMemo)(function(){return new Rt(r)},[r])),o=function(e,t){var n=In(),r=(0,D.useMemo)(function(){return new _t(n.getBackend())},[n]);return Tn(function(){return r.dragSourceOptions=e||null,r.reconnect(),function(){return r.disconnectDragSource()}},[r,e]),Tn(function(){return r.dragPreviewOptions=t||null,r.reconnect(),function(){return r.disconnectDragPreview()}},[r,t]),r}(n.options,n.previewOptions);return Ln(n,i,o),[Un(n.collect,i,o),Wn(o),Gn(o)]}function qn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Jn=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Yn(this,"spec",void 0),Yn(this,"monitor",void 0),this.spec=t,this.monitor=n}var t,n;return t=e,(n=[{key:"canDrop",value:function(){var e=this.spec,t=this.monitor;return!e.canDrop||e.canDrop(t.getItem(),t)}},{key:"hover",value:function(){var e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)}},{key:"drop",value:function(){var e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)}}])&&qn(t.prototype,n),e}();function Qn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Zn(e,t,n){var r=In(),i=function(e,t){var n=(0,D.useMemo)(function(){return new Jn(e,t)},[t]);return(0,D.useEffect)(function(){n.spec=e},[e]),n}(e,t),o=function(e){var t=e.accept;return(0,D.useMemo)(function(){return I(null!=e.accept,"accept must be defined"),Array.isArray(t)?t:[t]},[t])}(e);Tn(function(){var e=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Qn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(vt(o,i,r),2),a=e[0],s=e[1];return t.receiveHandlerId(a),n.receiveHandlerId(a),s},[r,t,i,n,o.map(function(e){return e.toString()}).join("|")])}function Xn(e){return(0,D.useMemo)(function(){return e.hooks.dropTarget()},[e])}function Kn(e,t){var n,r=Bn(e,t),i=(n=In(),(0,D.useMemo)(function(){return new hn(n)},[n])),o=function(e){var t=In(),n=(0,D.useMemo)(function(){return new mn(t.getBackend())},[t]);return Tn(function(){return n.dropTargetOptions=e||null,n.reconnect(),function(){return n.disconnectDropTarget()}},[e]),n}(r.options);return Zn(r,i,o),[Un(r.collect,i,o),Xn(o)]}function er(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function tr(e){var t=In().getMonitor(),n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return er(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?er(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(zn(t,e),2),r=n[0],i=n[1];return(0,D.useEffect)(function(){return t.subscribeToOffsetChange(i)}),(0,D.useEffect)(function(){return t.subscribeToStateChange(i)}),r}function nr(e){var t=null;return function(){return null==t&&(t=e()),t}}function rr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ir(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var or=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),ir(this,"entered",[]),ir(this,"isNodeInDocument",void 0),this.isNodeInDocument=t}var t,n;return t=e,n=[{key:"enter",value:function(e){var t=this,n=this.entered.length;return this.entered=function(e,t){var n=new Set,r=function(e){return n.add(e)};e.forEach(r),t.forEach(r);var i=[];return n.forEach(function(e){return i.push(e)}),i}(this.entered.filter(function(n){return t.isNodeInDocument(n)&&(!n.contains||n.contains(e))}),[e]),0===n&&this.entered.length>0}},{key:"leave",value:function(e){var t,n,r=this.entered.length;return this.entered=(t=this.entered.filter(this.isNodeInDocument),n=e,t.filter(function(e){return e!==n})),r>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}],n&&rr(t.prototype,n),e}(),ar=nr(function(){return/firefox/i.test(navigator.userAgent)}),sr=nr(function(){return Boolean(window.safari)});function lr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dr=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),cr(this,"xs",void 0),cr(this,"ys",void 0),cr(this,"c1s",void 0),cr(this,"c2s",void 0),cr(this,"c3s",void 0);for(var r=t.length,i=[],o=0;o<r;o++)i.push(o);i.sort(function(e,n){return t[e]<t[n]?-1:1});for(var a,s,l=[],c=[],d=[],u=0;u<r-1;u++)a=t[u+1]-t[u],s=n[u+1]-n[u],c.push(a),l.push(s),d.push(s/a);for(var h=[d[0]],p=0;p<c.length-1;p++){var f=d[p],m=d[p+1];if(f*m<=0)h.push(0);else{a=c[p];var g=c[p+1],v=a+g;h.push(3*v/((v+g)/f+(v+a)/m))}}h.push(d[d.length-1]);for(var y,b=[],x=[],w=0;w<h.length-1;w++){y=d[w];var C=h[w],S=1/c[w],A=C+h[w+1]-y-y;b.push((y-C-A)*S),x.push(A*S*S)}this.xs=t,this.ys=n,this.c1s=h,this.c2s=b,this.c3s=x}var t,n;return t=e,n=[{key:"interpolate",value:function(e){var t=this.xs,n=this.ys,r=this.c1s,i=this.c2s,o=this.c3s,a=t.length-1;if(e===t[a])return n[a];for(var s,l=0,c=o.length-1;l<=c;){var d=t[s=Math.floor(.5*(l+c))];if(d<e)l=s+1;else{if(!(d>e))return n[s];c=s-1}}var u=e-t[a=Math.max(0,c)],h=u*u;return n[a]+r[a]*u+i[a]*h+o[a]*u*h}}],n&&lr(t.prototype,n),e}();function ur(e){var t=1===e.nodeType?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top;return{x:n.left,y:r}}function hr(e){return{x:e.clientX,y:e.clientY}}var pr,fr="__NATIVE_FILE__",mr="__NATIVE_URL__",gr="__NATIVE_TEXT__",vr="__NATIVE_HTML__";function yr(e,t,n){var r=t.reduce(function(t,n){return t||e.getData(n)},"");return null!=r?r:n}function br(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xr=(br(pr={},fr,{exposeProperties:{files:function(e){return Array.prototype.slice.call(e.files)},items:function(e){return e.items},dataTransfer:function(e){return e}},matchesTypes:["Files"]}),br(pr,vr,{exposeProperties:{html:function(e,t){return yr(e,t,"")},dataTransfer:function(e){return e}},matchesTypes:["Html","text/html"]}),br(pr,mr,{exposeProperties:{urls:function(e,t){return yr(e,t,"").split("\n")},dataTransfer:function(e){return e}},matchesTypes:["Url","text/uri-list"]}),br(pr,gr,{exposeProperties:{text:function(e,t){return yr(e,t,"")},dataTransfer:function(e){return e}},matchesTypes:["Text","text/plain"]}),pr);function wr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sr=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Cr(this,"item",void 0),Cr(this,"config",void 0),this.config=t,this.item={},this.initializeExposedProperties()}var t,n;return t=e,(n=[{key:"initializeExposedProperties",value:function(){var e=this;Object.keys(this.config.exposeProperties).forEach(function(t){Object.defineProperty(e.item,t,{configurable:!0,enumerable:!0,get:function(){return console.warn("Browser doesn't allow reading \"".concat(t,'" until the drop event.')),null}})})}},{key:"loadDataTransfer",value:function(e){var t=this;if(e){var n={};Object.keys(this.config.exposeProperties).forEach(function(r){n[r]={value:t.config.exposeProperties[r](e,t.config.matchesTypes),configurable:!0,enumerable:!0}}),Object.defineProperties(this.item,n)}}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}])&&wr(t.prototype,n),e}();function Ar(e){if(!e)return null;var t=Array.prototype.slice.call(e.types||[]);return Object.keys(xr).filter(function(e){return xr[e].matchesTypes.some(function(e){return t.indexOf(e)>-1})})[0]||null}function kr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Er=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),_r(this,"ownerDocument",null),_r(this,"globalContext",void 0),_r(this,"optionsArgs",void 0),this.globalContext=t,this.optionsArgs=n}var t,n;return t=e,(n=[{key:"window",get:function(){return this.globalContext?this.globalContext:"undefined"!=typeof window?window:void 0}},{key:"document",get:function(){var e;return null!==(e=this.globalContext)&&void 0!==e&&e.document?this.globalContext.document:this.window?this.window.document:void 0}},{key:"rootElement",get:function(){var e;return(null===(e=this.optionsArgs)||void 0===e?void 0:e.rootElement)||this.window}}])&&kr(t.prototype,n),e}();function Tr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Dr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tr(Object(n),!0).forEach(function(t){Rr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function jr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Rr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mr,Ir=function(){function e(t,n,r){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Rr(this,"options",void 0),Rr(this,"actions",void 0),Rr(this,"monitor",void 0),Rr(this,"registry",void 0),Rr(this,"enterLeaveCounter",void 0),Rr(this,"sourcePreviewNodes",new Map),Rr(this,"sourcePreviewNodeOptions",new Map),Rr(this,"sourceNodes",new Map),Rr(this,"sourceNodeOptions",new Map),Rr(this,"dragStartSourceIds",null),Rr(this,"dropTargetIds",[]),Rr(this,"dragEnterTargetIds",[]),Rr(this,"currentNativeSource",null),Rr(this,"currentNativeHandle",null),Rr(this,"currentDragSourceNode",null),Rr(this,"altKeyPressed",!1),Rr(this,"mouseMoveTimeoutTimer",null),Rr(this,"asyncEndDragFrameId",null),Rr(this,"dragOverTargetIds",null),Rr(this,"lastClientOffset",null),Rr(this,"hoverRafId",null),Rr(this,"getSourceClientOffset",function(e){var t=i.sourceNodes.get(e);return t&&ur(t)||null}),Rr(this,"endDragNativeItem",function(){i.isDraggingNativeItem()&&(i.actions.endDrag(),i.currentNativeHandle&&i.registry.removeSource(i.currentNativeHandle),i.currentNativeHandle=null,i.currentNativeSource=null)}),Rr(this,"isNodeInDocument",function(e){return Boolean(e&&i.document&&i.document.body&&i.document.body.contains(e))}),Rr(this,"endDragIfSourceWasRemovedFromDOM",function(){var e=i.currentDragSourceNode;null==e||i.isNodeInDocument(e)||i.clearCurrentDragSourceNode()&&i.monitor.isDragging()&&i.actions.endDrag()}),Rr(this,"handleTopDragStartCapture",function(){i.clearCurrentDragSourceNode(),i.dragStartSourceIds=[]}),Rr(this,"handleTopDragStart",function(e){if(!e.defaultPrevented){var t=i.dragStartSourceIds;i.dragStartSourceIds=null;var n=hr(e);i.monitor.isDragging()&&i.actions.endDrag(),i.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:i.getSourceClientOffset,clientOffset:n});var r=e.dataTransfer,o=Ar(r);if(i.monitor.isDragging()){if(r&&"function"==typeof r.setDragImage){var a=i.monitor.getSourceId(),s=i.sourceNodes.get(a),l=i.sourcePreviewNodes.get(a)||s;if(l){var c=i.getCurrentSourcePreviewNodeOptions(),d=function(e,t,n,r,i){var o,a,s="IMG"===(o=t).nodeName&&(ar()||!(null!==(a=document.documentElement)&&void 0!==a&&a.contains(o))),l=ur(s?e:t),c={x:n.x-l.x,y:n.y-l.y},d=e.offsetWidth,u=e.offsetHeight,h=r.anchorX,p=r.anchorY,f=function(e,t,n,r){var i=e?t.width:n,o=e?t.height:r;return sr()&&e&&(o/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:o}}(s,t,d,u),m=f.dragPreviewWidth,g=f.dragPreviewHeight,v=i.offsetX,y=i.offsetY,b=0===y||y;return{x:0===v||v?v:new dr([0,.5,1],[c.x,c.x/d*m,c.x+m-d]).interpolate(h),y:b?y:function(){var e=new dr([0,.5,1],[c.y,c.y/u*g,c.y+g-u]).interpolate(p);return sr()&&s&&(e+=(window.devicePixelRatio-1)*g),e}()}}(s,l,n,{anchorX:c.anchorX,anchorY:c.anchorY},{offsetX:c.offsetX,offsetY:c.offsetY});r.setDragImage(l,d.x,d.y)}}try{null==r||r.setData("application/json",{})}catch(e){}i.setCurrentDragSourceNode(e.target),i.getCurrentSourcePreviewNodeOptions().captureDraggingState?i.actions.publishDragSource():setTimeout(function(){return i.actions.publishDragSource()},0)}else if(o)i.beginDragNativeItem(o);else{if(r&&!r.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}}}),Rr(this,"handleTopDragEndCapture",function(){i.clearCurrentDragSourceNode()&&i.monitor.isDragging()&&i.actions.endDrag()}),Rr(this,"handleTopDragEnterCapture",function(e){if(i.dragEnterTargetIds=[],i.enterLeaveCounter.enter(e.target)&&!i.monitor.isDragging()){var t=e.dataTransfer,n=Ar(t);n&&i.beginDragNativeItem(n,t)}}),Rr(this,"handleTopDragEnter",function(e){var t=i.dragEnterTargetIds;i.dragEnterTargetIds=[],i.monitor.isDragging()&&(i.altKeyPressed=e.altKey,t.length>0&&i.actions.hover(t,{clientOffset:hr(e)}),t.some(function(e){return i.monitor.canDropOnTarget(e)})&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=i.getCurrentDropEffect())))}),Rr(this,"handleTopDragOverCapture",function(){i.dragOverTargetIds=[]}),Rr(this,"handleTopDragOver",function(e){var t=i.dragOverTargetIds;if(i.dragOverTargetIds=[],!i.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer&&(e.dataTransfer.dropEffect="none"));i.altKeyPressed=e.altKey,i.lastClientOffset=hr(e),null===i.hoverRafId&&"undefined"!=typeof requestAnimationFrame&&(i.hoverRafId=requestAnimationFrame(function(){i.monitor.isDragging()&&i.actions.hover(t||[],{clientOffset:i.lastClientOffset}),i.hoverRafId=null})),(t||[]).some(function(e){return i.monitor.canDropOnTarget(e)})?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=i.getCurrentDropEffect())):i.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))}),Rr(this,"handleTopDragLeaveCapture",function(e){i.isDraggingNativeItem()&&e.preventDefault(),i.enterLeaveCounter.leave(e.target)&&i.isDraggingNativeItem()&&setTimeout(function(){return i.endDragNativeItem()},0)}),Rr(this,"handleTopDropCapture",function(e){var t;i.dropTargetIds=[],i.isDraggingNativeItem()?(e.preventDefault(),null===(t=i.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)):Ar(e.dataTransfer)&&e.preventDefault(),i.enterLeaveCounter.reset()}),Rr(this,"handleTopDrop",function(e){var t=i.dropTargetIds;i.dropTargetIds=[],i.actions.hover(t,{clientOffset:hr(e)}),i.actions.drop({dropEffect:i.getCurrentDropEffect()}),i.isDraggingNativeItem()?i.endDragNativeItem():i.monitor.isDragging()&&i.actions.endDrag()}),Rr(this,"handleSelectStart",function(e){var t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))}),this.options=new Er(n,r),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.enterLeaveCounter=new or(this.isNodeInDocument)}var t,r;return t=e,r=[{key:"profile",value:function(){var e,t;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:(null===(e=this.dragStartSourceIds)||void 0===e?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:(null===(t=this.dragOverTargetIds)||void 0===t?void 0:t.length)||0}}},{key:"window",get:function(){return this.options.window}},{key:"document",get:function(){return this.options.document}},{key:"rootElement",get:function(){return this.options.rootElement}},{key:"setup",value:function(){var e=this.rootElement;if(void 0!==e){if(e.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}},{key:"teardown",value:function(){var e,t=this.rootElement;void 0!==t&&(t.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&(null===(e=this.window)||void 0===e||e.cancelAnimationFrame(this.asyncEndDragFrameId)))}},{key:"connectDragPreview",value:function(e,t,n){var r=this;return this.sourcePreviewNodeOptions.set(e,n),this.sourcePreviewNodes.set(e,t),function(){r.sourcePreviewNodes.delete(e),r.sourcePreviewNodeOptions.delete(e)}}},{key:"connectDragSource",value:function(e,t,n){var r=this;this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,n);var i=function(t){return r.handleDragStart(t,e)},o=function(e){return r.handleSelectStart(e)};return t.setAttribute("draggable","true"),t.addEventListener("dragstart",i),t.addEventListener("selectstart",o),function(){r.sourceNodes.delete(e),r.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",i),t.removeEventListener("selectstart",o),t.setAttribute("draggable","false")}}},{key:"connectDropTarget",value:function(e,t){var n=this,r=function(t){return n.handleDragEnter(t,e)},i=function(t){return n.handleDragOver(t,e)},o=function(t){return n.handleDrop(t,e)};return t.addEventListener("dragenter",r),t.addEventListener("dragover",i),t.addEventListener("drop",o),function(){t.removeEventListener("dragenter",r),t.removeEventListener("dragover",i),t.removeEventListener("drop",o)}}},{key:"addEventListeners",value:function(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"getCurrentSourceNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return Dr({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var e=this.monitor.getSourceId();return Dr({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}},{key:"isDraggingNativeItem",value:function(){var e=this.monitor.getItemType();return Object.keys(n).some(function(t){return n[t]===e})}},{key:"beginDragNativeItem",value:function(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(e,t){var n=new Sr(xr[e]);return n.loadDataTransfer(t),n}(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"setCurrentDragSourceNode",value:function(e){var t=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.mouseMoveTimeoutTimer=setTimeout(function(){var e;return null===(e=t.rootElement)||void 0===e?void 0:e.addEventListener("mousemove",t.endDragIfSourceWasRemovedFromDOM,!0)},1e3)}},{key:"clearCurrentDragSourceNode",value:function(){var e;return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.rootElement&&(null===(e=this.window)||void 0===e||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0)}},{key:"handleDragStart",value:function(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}},{key:"handleDragEnter",value:function(e,t){this.dragEnterTargetIds.unshift(t)}},{key:"handleDragOver",value:function(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}},{key:"handleDrop",value:function(e,t){this.dropTargetIds.unshift(t)}}],r&&jr(t.prototype,r),e}();function Or(){return Mr||((Mr=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),Mr}var Lr=function(e,t,n){return new Ir(e,t,n)},Pr=i(8143),Br=i.t(Pr,2),Nr=e=>"checkbox"===e.type,Fr=e=>e instanceof Date,$r=e=>null==e;const zr=e=>"object"==typeof e;var Hr=e=>!$r(e)&&!Array.isArray(e)&&zr(e)&&!Fr(e),Ur=e=>Hr(e)&&e.target?Nr(e.target)?e.target.checked:e.target.value:e,Wr=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),Gr=e=>{const t=e.constructor&&e.constructor.prototype;return Hr(t)&&t.hasOwnProperty("isPrototypeOf")},Vr="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function qr(e){let t;const n=Array.isArray(e),r="undefined"!=typeof FileList&&e instanceof FileList;if(e instanceof Date)t=new Date(e);else{if(Vr&&(e instanceof Blob||r)||!n&&!Hr(e))return e;if(t=n?[]:Object.create(Object.getPrototypeOf(e)),n||Gr(e))for(const n in e)e.hasOwnProperty(n)&&(t[n]=qr(e[n]));else t=e}return t}var Yr=e=>/^\w*$/.test(e),Jr=e=>void 0===e,Qr=e=>Array.isArray(e)?e.filter(Boolean):[],Zr=e=>Qr(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Xr=(e,t,n)=>{if(!t||!Hr(e))return n;const r=(Yr(t)?[t]:Zr(t)).reduce((e,t)=>$r(e)?e:e[t],e);return Jr(r)||r===e?Jr(e[t])?n:e[t]:r},Kr=e=>"boolean"==typeof e,ei=(e,t,n)=>{let r=-1;const i=Yr(t)?[t]:Zr(t),o=i.length,a=o-1;for(;++r<o;){const t=i[r];let o=n;if(r!==a){const n=e[t];o=Hr(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=o,e=e[t]}};const ti={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},ni={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},ri="pattern",ii="required",oi=D.createContext(null);oi.displayName="HookFormContext";const ai=()=>D.useContext(oi),si=e=>{const{children:t,...n}=e;return D.createElement(oi.Provider,{value:n},t)};var li=(e,t,n,r=!0)=>{const i={defaultValues:t._defaultValues};for(const o in e)Object.defineProperty(i,o,{get:()=>{const i=o;return t._proxyFormState[i]!==ni.all&&(t._proxyFormState[i]=!r||ni.all),n&&(n[i]=!0),e[i]}});return i};const ci="undefined"!=typeof window?D.useLayoutEffect:D.useEffect;function di(e){const t=ai(),{control:n=t.control,disabled:r,name:i,exact:o}=e||{},[a,s]=D.useState(n._formState),l=D.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return ci(()=>n._subscribe({name:i,formState:l.current,exact:o,callback:e=>{!r&&s({...n._formState,...e})}}),[i,r,o]),D.useEffect(()=>{l.current.isValid&&n._setValid(!0)},[n]),D.useMemo(()=>li(a,n,l.current,!1),[a,n])}var ui=e=>"string"==typeof e,hi=(e,t,n,r,i)=>ui(e)?(r&&t.watch.add(e),Xr(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),Xr(n,e))):(r&&(t.watchAll=!0),n),pi=e=>$r(e)||!zr(e);function fi(e,t,n=new WeakSet){if(pi(e)||pi(t))return e===t;if(Fr(e)&&Fr(t))return e.getTime()===t.getTime();const r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;if(n.has(e)||n.has(t))return!0;n.add(e),n.add(t);for(const o of r){const r=e[o];if(!i.includes(o))return!1;if("ref"!==o){const e=t[o];if(Fr(r)&&Fr(e)||Hr(r)&&Hr(e)||Array.isArray(r)&&Array.isArray(e)?!fi(r,e,n):r!==e)return!1}}return!0}function mi(e){const t=ai(),{control:n=t.control,name:r,defaultValue:i,disabled:o,exact:a,compute:s}=e||{},l=D.useRef(i),c=D.useRef(s),d=D.useRef(void 0);c.current=s;const u=D.useMemo(()=>n._getWatch(r,l.current),[n,r]),[h,p]=D.useState(c.current?c.current(u):u);return ci(()=>n._subscribe({name:r,formState:{values:!0},exact:a,callback:e=>{if(!o){const t=hi(r,n._names,e.values||n._formValues,!1,l.current);if(c.current){const e=c.current(t);fi(e,d.current)||(p(e),d.current=e)}else p(t)}}}),[n,o,r,a]),D.useEffect(()=>n._removeUnmounted()),h}function gi(e){const t=ai(),{name:n,disabled:r,control:i=t.control,shouldUnregister:o,defaultValue:a}=e,s=Wr(i._names.array,n),l=D.useMemo(()=>Xr(i._formValues,n,Xr(i._defaultValues,n,a)),[i,n,a]),c=mi({control:i,name:n,defaultValue:l,exact:!0}),d=di({control:i,name:n,exact:!0}),u=D.useRef(e),h=D.useRef(void 0),p=D.useRef(i.register(n,{...e.rules,value:c,...Kr(e.disabled)?{disabled:e.disabled}:{}}));u.current=e;const f=D.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Xr(d.errors,n)},isDirty:{enumerable:!0,get:()=>!!Xr(d.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!Xr(d.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!Xr(d.validatingFields,n)},error:{enumerable:!0,get:()=>Xr(d.errors,n)}}),[d,n]),m=D.useCallback(e=>p.current.onChange({target:{value:Ur(e),name:n},type:ti.CHANGE}),[n]),g=D.useCallback(()=>p.current.onBlur({target:{value:Xr(i._formValues,n),name:n},type:ti.BLUR}),[n,i._formValues]),v=D.useCallback(e=>{const t=Xr(i._fields,n);t&&e&&(t._f.ref={focus:()=>e.focus&&e.focus(),select:()=>e.select&&e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})},[i._fields,n]),y=D.useMemo(()=>({name:n,value:c,...Kr(r)||d.disabled?{disabled:d.disabled||r}:{},onChange:m,onBlur:g,ref:v}),[n,r,d.disabled,m,g,v,c]);return D.useEffect(()=>{const e=i._options.shouldUnregister||o,t=h.current;t&&t!==n&&!s&&i.unregister(t),i.register(n,{...u.current.rules,...Kr(u.current.disabled)?{disabled:u.current.disabled}:{}});const r=(e,t)=>{const n=Xr(i._fields,e);n&&n._f&&(n._f.mount=t)};if(r(n,!0),e){const e=qr(Xr(i._options.defaultValues,n,u.current.defaultValue));ei(i._defaultValues,n,e),Jr(Xr(i._formValues,n))&&ei(i._formValues,n,e)}return!s&&i.register(n),h.current=n,()=>{(s?e&&!i._state.action:e)?i.unregister(n):r(n,!1)}},[n,i,s,o]),D.useEffect(()=>{i._setDisabledField({disabled:r,name:n})},[r,n,i]),D.useMemo(()=>({field:y,formState:d,fieldState:f}),[y,d,f])}const vi=e=>e.render(gi(e)),yi=e=>{const t={};for(const n of Object.keys(e))if(zr(e[n])&&null!==e[n]){const r=yi(e[n]);for(const e of Object.keys(r))t[`${n}.${e}`]=r[e]}else t[n]=e[n];return t},bi="post";function xi(e){const t=ai(),[n,r]=D.useState(!1),{control:i=t.control,onSubmit:o,children:a,action:s,method:l=bi,headers:c,encType:d,onError:u,render:h,onSuccess:p,validateStatus:f,...m}=e,g=async t=>{let n=!1,r="";await i.handleSubmit(async e=>{const a=new FormData;let h="";try{h=JSON.stringify(e)}catch(e){}const m=yi(i._formValues);for(const e in m)a.append(e,m[e]);if(o&&await o({data:e,event:t,method:l,formData:a,formDataJson:h}),s)try{const e=[c&&c["Content-Type"],d].some(e=>e&&e.includes("json")),t=await fetch(String(s),{method:l,headers:{...c,...d&&"multipart/form-data"!==d?{"Content-Type":d}:{}},body:e?h:a});t&&(f?!f(t.status):t.status<200||t.status>=300)?(n=!0,u&&u({response:t}),r=String(t.status)):p&&p({response:t})}catch(e){n=!0,u&&u({error:e})}})(t),n&&e.control&&(e.control._subjects.state.next({isSubmitSuccessful:!1}),e.control.setError("root.server",{type:r}))};return D.useEffect(()=>{r(!0)},[]),h?D.createElement(D.Fragment,null,h({submit:g})):D.createElement("form",{noValidate:n,action:s,method:l,encType:d,onSubmit:g,...m},a)}var wi=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},Ci=e=>Array.isArray(e)?e:[e],Si=()=>{let e=[];return{get observers(){return e},next:t=>{for(const n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}};function Ai(e,t){const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r],o=t[r];if(i&&Hr(i)&&o){const e=Ai(i,o);Hr(e)&&(n[r]=e)}else e[r]&&(n[r]=o)}return n}var ki=e=>Hr(e)&&!Object.keys(e).length,_i=e=>"file"===e.type,Ei=e=>"function"==typeof e,Ti=e=>{if(!Vr)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Di=e=>"select-multiple"===e.type,ji=e=>"radio"===e.type,Ri=e=>ji(e)||Nr(e),Mi=e=>Ti(e)&&e.isConnected;function Ii(e,t){const n=Array.isArray(t)?t:Yr(t)?[t]:Zr(t),r=1===n.length?e:function(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=Jr(e)?r++:e[t[r++]];return e}(e,n),i=n.length-1,o=n[i];return r&&delete r[o],0!==i&&(Hr(r)&&ki(r)||Array.isArray(r)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!Jr(e[t]))return!1;return!0}(r))&&Ii(e,n.slice(0,-1)),e}var Oi=e=>{for(const t in e)if(Ei(e[t]))return!0;return!1};function Li(e){return Array.isArray(e)||Hr(e)&&!Oi(e)}function Pi(e,t={}){for(const n in e)Li(e[n])?(t[n]=Array.isArray(e[n])?[]:{},Pi(e[n],t[n])):Jr(e[n])||(t[n]=!0);return t}function Bi(e,t,n){n||(n=Pi(t));for(const r in e)Li(e[r])?Jr(t)||pi(n[r])?n[r]=Pi(e[r],Array.isArray(e[r])?[]:{}):Bi(e[r],$r(t)?{}:t[r],n[r]):n[r]=!fi(e[r],t[r]);return n}const Ni={value:!1,isValid:!1},Fi={value:!0,isValid:!0};var $i=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Jr(e[0].attributes.value)?Jr(e[0].value)||""===e[0].value?Fi:{value:e[0].value,isValid:!0}:Fi:Ni}return Ni},zi=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>Jr(e)?e:t?""===e?NaN:e?+e:e:n&&ui(e)?new Date(e):r?r(e):e;const Hi={isValid:!1,value:null};var Ui=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,Hi):Hi;function Wi(e){const t=e.ref;return _i(t)?t.files:ji(t)?Ui(e.refs).value:Di(t)?[...t.selectedOptions].map(({value:e})=>e):Nr(t)?$i(e.refs).value:zi(Jr(t.value)?e.ref.value:t.value,e)}var Gi=(e,t,n,r)=>{const i={};for(const n of e){const e=Xr(t,n);e&&ei(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},Vi=e=>e instanceof RegExp,qi=e=>Jr(e)?e:Vi(e)?e.source:Hr(e)?Vi(e.value)?e.value.source:e.value:e,Yi=e=>({isOnSubmit:!e||e===ni.onSubmit,isOnBlur:e===ni.onBlur,isOnChange:e===ni.onChange,isOnAll:e===ni.all,isOnTouch:e===ni.onTouched});const Ji="AsyncFunction";var Qi=e=>!!e&&!!e.validate&&!!(Ei(e.validate)&&e.validate.constructor.name===Ji||Hr(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===Ji)),Zi=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),Xi=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));const Ki=(e,t,n,r)=>{for(const i of n||Object.keys(e)){const n=Xr(e,i);if(n){const{_f:e,...o}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r)return!0;if(e.ref&&t(e.ref,e.name)&&!r)return!0;if(Ki(o,t))break}else if(Hr(o)&&Ki(o,t))break}}};function eo(e,t,n){const r=Xr(e,n);if(r||Yr(n))return{error:r,name:n};const i=n.split(".");for(;i.length;){const r=i.join("."),o=Xr(t,r),a=Xr(e,r);if(o&&!Array.isArray(o)&&n!==r)return{name:n};if(a&&a.type)return{name:r,error:a};if(a&&a.root&&a.root.type)return{name:`${r}.root`,error:a.root};i.pop()}return{name:n}}var to=(e,t,n,r)=>{n(e);const{name:i,...o}=e;return ki(o)||Object.keys(o).length>=Object.keys(t).length||Object.keys(o).find(e=>t[e]===(!r||ni.all))},no=(e,t,n)=>!e||!t||e===t||Ci(e).some(e=>e&&(n?e===t:e.startsWith(t)||t.startsWith(e))),ro=(e,t,n,r,i)=>!i.isOnAll&&(!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:!(n?r.isOnChange:i.isOnChange)||e),io=(e,t)=>!Qr(Xr(e,t)).length&&Ii(e,t),oo=(e,t,n)=>{const r=Ci(Xr(e,n));return ei(r,"root",t[n]),ei(e,n,r),e};function ao(e,t,n="validate"){if(ui(e)||Array.isArray(e)&&e.every(ui)||Kr(e)&&!e)return{type:n,message:ui(e)?e:"",ref:t}}var so=e=>Hr(e)&&!Vi(e)?e:{value:e,message:""},lo=async(e,t,n,r,i,o)=>{const{ref:a,refs:s,required:l,maxLength:c,minLength:d,min:u,max:h,pattern:p,validate:f,name:m,valueAsNumber:g,mount:v}=e._f,y=Xr(n,m);if(!v||t.has(m))return{};const b=s?s[0]:a,x=e=>{i&&b.reportValidity&&(b.setCustomValidity(Kr(e)?"":e||""),b.reportValidity())},w={},C=ji(a),S=Nr(a),A=C||S,k=(g||_i(a))&&Jr(a.value)&&Jr(y)||Ti(a)&&""===a.value||""===y||Array.isArray(y)&&!y.length,_=wi.bind(null,m,r,w),E=(e,t,n,r="maxLength",i="minLength")=>{const o=e?t:n;w[m]={type:e?r:i,message:o,ref:a,..._(e?r:i,o)}};if(o?!Array.isArray(y)||!y.length:l&&(!A&&(k||$r(y))||Kr(y)&&!y||S&&!$i(s).isValid||C&&!Ui(s).isValid)){const{value:e,message:t}=ui(l)?{value:!!l,message:l}:so(l);if(e&&(w[m]={type:ii,message:t,ref:b,..._(ii,t)},!r))return x(t),w}if(!(k||$r(u)&&$r(h))){let e,t;const n=so(h),i=so(u);if($r(y)||isNaN(y)){const r=a.valueAsDate||new Date(y),o=e=>new Date((new Date).toDateString()+" "+e),s="time"==a.type,l="week"==a.type;ui(n.value)&&y&&(e=s?o(y)>o(n.value):l?y>n.value:r>new Date(n.value)),ui(i.value)&&y&&(t=s?o(y)<o(i.value):l?y<i.value:r<new Date(i.value))}else{const r=a.valueAsNumber||(y?+y:y);$r(n.value)||(e=r>n.value),$r(i.value)||(t=r<i.value)}if((e||t)&&(E(!!e,n.message,i.message,"max","min"),!r))return x(w[m].message),w}if((c||d)&&!k&&(ui(y)||o&&Array.isArray(y))){const e=so(c),t=so(d),n=!$r(e.value)&&y.length>+e.value,i=!$r(t.value)&&y.length<+t.value;if((n||i)&&(E(n,e.message,t.message),!r))return x(w[m].message),w}if(p&&!k&&ui(y)){const{value:e,message:t}=so(p);if(Vi(e)&&!y.match(e)&&(w[m]={type:ri,message:t,ref:a,..._(ri,t)},!r))return x(t),w}if(f)if(Ei(f)){const e=ao(await f(y,n),b);if(e&&(w[m]={...e,..._("validate",e.message)},!r))return x(e.message),w}else if(Hr(f)){let e={};for(const t in f){if(!ki(e)&&!r)break;const i=ao(await f[t](y,n),b,t);i&&(e={...i,..._(t,i.message)},x(i.message),r&&(w[m]=e))}if(!ki(e)&&(w[m]={ref:b,...e},!r))return w}return x(!0),w};const co={mode:ni.onSubmit,reValidateMode:ni.onChange,shouldFocusError:!0};function uo(e={}){let t,n={...co,...e},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:Ei(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},i={},o=(Hr(n.defaultValues)||Hr(n.values))&&qr(n.defaultValues||n.values)||{},a=n.shouldUnregister?{}:qr(o),s={action:!1,mount:!1,watch:!1},l={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},c=0;const d={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let u={...d};const h={array:Si(),state:Si()},p=n.criteriaMode===ni.all,f=async e=>{if(!n.disabled&&(d.isValid||u.isValid||e)){const e=n.resolver?ki((await y()).errors):await b(i,!0);e!==r.isValid&&h.state.next({isValid:e})}},m=(e,t)=>{!n.disabled&&(d.isValidating||d.validatingFields||u.isValidating||u.validatingFields)&&((e||Array.from(l.mount)).forEach(e=>{e&&(t?ei(r.validatingFields,e,t):Ii(r.validatingFields,e))}),h.state.next({validatingFields:r.validatingFields,isValidating:!ki(r.validatingFields)}))},g=(e,t,n,r)=>{const l=Xr(i,e);if(l){const i=Xr(a,e,Jr(n)?Xr(o,e):n);Jr(i)||r&&r.defaultChecked||t?ei(a,e,t?i:Wi(l._f)):C(e,i),s.mount&&f()}},v=(e,t,i,a,s)=>{let l=!1,c=!1;const p={name:e};if(!n.disabled){if(!i||a){(d.isDirty||u.isDirty)&&(c=r.isDirty,r.isDirty=p.isDirty=x(),l=c!==p.isDirty);const n=fi(Xr(o,e),t);c=!!Xr(r.dirtyFields,e),n?Ii(r.dirtyFields,e):ei(r.dirtyFields,e,!0),p.dirtyFields=r.dirtyFields,l=l||(d.dirtyFields||u.dirtyFields)&&c!==!n}if(i){const t=Xr(r.touchedFields,e);t||(ei(r.touchedFields,e,i),p.touchedFields=r.touchedFields,l=l||(d.touchedFields||u.touchedFields)&&t!==i)}l&&s&&h.state.next(p)}return l?p:{}},y=async e=>{m(e,!0);const t=await n.resolver(a,n.context,Gi(e||l.mount,i,n.criteriaMode,n.shouldUseNativeValidation));return m(e),t},b=async(e,t,i={valid:!0})=>{for(const o in e){const s=e[o];if(s){const{_f:e,...o}=s;if(e){const o=l.array.has(e.name),c=s._f&&Qi(s._f);c&&d.validatingFields&&m([e.name],!0);const u=await lo(s,l.disabled,a,p,n.shouldUseNativeValidation&&!t,o);if(c&&d.validatingFields&&m([e.name]),u[e.name]&&(i.valid=!1,t))break;!t&&(Xr(u,e.name)?o?oo(r.errors,u,e.name):ei(r.errors,e.name,u[e.name]):Ii(r.errors,e.name))}!ki(o)&&await b(o,t,i)}}return i.valid},x=(e,t)=>!n.disabled&&(e&&t&&ei(a,e,t),!fi(T(),o)),w=(e,t,n)=>hi(e,l,{...s.mount?a:Jr(t)?o:ui(e)?{[e]:t}:t},n,t),C=(e,t,n={})=>{const r=Xr(i,e);let o=t;if(r){const n=r._f;n&&(!n.disabled&&ei(a,e,zi(t,n)),o=Ti(n.ref)&&$r(t)?"":t,Di(n.ref)?[...n.ref.options].forEach(e=>e.selected=o.includes(e.value)):n.refs?Nr(n.ref)?n.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(o)?e.checked=!!o.find(t=>t===e.value):e.checked=o===e.value||!!o)}):n.refs.forEach(e=>e.checked=e.value===o):_i(n.ref)?n.ref.value="":(n.ref.value=o,n.ref.type||h.state.next({name:e,values:qr(a)})))}(n.shouldDirty||n.shouldTouch)&&v(e,o,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&E(e)},S=(e,t,n)=>{for(const r in t){if(!t.hasOwnProperty(r))return;const o=t[r],a=e+"."+r,s=Xr(i,a);(l.array.has(e)||Hr(o)||s&&!s._f)&&!Fr(o)?S(a,o,n):C(a,o,n)}},A=(e,t,n={})=>{const c=Xr(i,e),p=l.array.has(e),f=qr(t);ei(a,e,f),p?(h.array.next({name:e,values:qr(a)}),(d.isDirty||d.dirtyFields||u.isDirty||u.dirtyFields)&&n.shouldDirty&&h.state.next({name:e,dirtyFields:Bi(o,a),isDirty:x(e,f)})):!c||c._f||$r(f)?C(e,f,n):S(e,f,n),Xi(e,l)&&h.state.next({...r,name:e}),h.state.next({name:s.mount?e:void 0,values:qr(a)})},k=async e=>{s.mount=!0;const o=e.target;let g=o.name,x=!0;const w=Xr(i,g),C=e=>{x=Number.isNaN(e)||Fr(e)&&isNaN(e.getTime())||fi(e,Xr(a,g,e))},S=Yi(n.mode),A=Yi(n.reValidateMode);if(w){let s,k;const _=o.type?Wi(w._f):Ur(e),T=e.type===ti.BLUR||e.type===ti.FOCUS_OUT,D=!Zi(w._f)&&!n.resolver&&!Xr(r.errors,g)&&!w._f.deps||ro(T,Xr(r.touchedFields,g),r.isSubmitted,A,S),j=Xi(g,l,T);ei(a,g,_),T?o&&o.readOnly||(w._f.onBlur&&w._f.onBlur(e),t&&t(0)):w._f.onChange&&w._f.onChange(e);const R=v(g,_,T),M=!ki(R)||j;if(!T&&h.state.next({name:g,type:e.type,values:qr(a)}),D)return(d.isValid||u.isValid)&&("onBlur"===n.mode?T&&f():T||f()),M&&h.state.next({name:g,...j?{}:R});if(!T&&j&&h.state.next({...r}),n.resolver){const{errors:e}=await y([g]);if(C(_),x){const t=eo(r.errors,i,g),n=eo(e,i,t.name||g);s=n.error,g=n.name,k=ki(e)}}else m([g],!0),s=(await lo(w,l.disabled,a,p,n.shouldUseNativeValidation))[g],m([g]),C(_),x&&(s?k=!1:(d.isValid||u.isValid)&&(k=await b(i,!0)));x&&(w._f.deps&&(!Array.isArray(w._f.deps)||w._f.deps.length>0)&&E(w._f.deps),((e,i,o,a)=>{const s=Xr(r.errors,e),l=(d.isValid||u.isValid)&&Kr(i)&&r.isValid!==i;var p;if(n.delayError&&o?(p=()=>((e,t)=>{ei(r.errors,e,t),h.state.next({errors:r.errors})})(e,o),t=e=>{clearTimeout(c),c=setTimeout(p,e)},t(n.delayError)):(clearTimeout(c),t=null,o?ei(r.errors,e,o):Ii(r.errors,e)),(o?!fi(s,o):s)||!ki(a)||l){const t={...a,...l&&Kr(i)?{isValid:i}:{},errors:r.errors,name:e};r={...r,...t},h.state.next(t)}})(g,k,s,R))}},_=(e,t)=>{if(Xr(r.errors,t)&&e.focus)return e.focus(),1},E=async(e,t={})=>{let o,a;const s=Ci(e);if(n.resolver){const t=await(async e=>{const{errors:t}=await y(e);if(e)for(const n of e){const e=Xr(t,n);e?ei(r.errors,n,e):Ii(r.errors,n)}else r.errors=t;return t})(Jr(e)?e:s);o=ki(t),a=e?!s.some(e=>Xr(t,e)):o}else e?(a=(await Promise.all(s.map(async e=>{const t=Xr(i,e);return await b(t&&t._f?{[e]:t}:t)}))).every(Boolean),(a||r.isValid)&&f()):a=o=await b(i);return h.state.next({...!ui(e)||(d.isValid||u.isValid)&&o!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:o}:{},errors:r.errors}),t.shouldFocus&&!a&&Ki(i,_,e?s:l.mount),a},T=(e,t)=>{let n={...s.mount?a:o};return t&&(n=Ai(t.dirtyFields?r.dirtyFields:r.touchedFields,n)),Jr(e)?n:ui(e)?Xr(n,e):e.map(e=>Xr(n,e))},D=(e,t)=>({invalid:!!Xr((t||r).errors,e),isDirty:!!Xr((t||r).dirtyFields,e),error:Xr((t||r).errors,e),isValidating:!!Xr(r.validatingFields,e),isTouched:!!Xr((t||r).touchedFields,e)}),j=(e,t,n)=>{const o=(Xr(i,e,{_f:{}})._f||{}).ref,a=Xr(r.errors,e)||{},{ref:s,message:l,type:c,...d}=a;ei(r.errors,e,{...d,...t,ref:o}),h.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&o&&o.focus&&o.focus()},R=e=>h.state.subscribe({next:t=>{no(e.name,t.name,e.exact)&&to(t,e.formState||d,F,e.reRenderRoot)&&e.callback({values:{...a},...r,...t,defaultValues:o})}}).unsubscribe,M=(e,t={})=>{for(const s of e?Ci(e):l.mount)l.mount.delete(s),l.array.delete(s),t.keepValue||(Ii(i,s),Ii(a,s)),!t.keepError&&Ii(r.errors,s),!t.keepDirty&&Ii(r.dirtyFields,s),!t.keepTouched&&Ii(r.touchedFields,s),!t.keepIsValidating&&Ii(r.validatingFields,s),!n.shouldUnregister&&!t.keepDefaultValue&&Ii(o,s);h.state.next({values:qr(a)}),h.state.next({...r,...t.keepDirty?{isDirty:x()}:{}}),!t.keepIsValid&&f()},I=({disabled:e,name:t})=>{(Kr(e)&&s.mount||e||l.disabled.has(t))&&(e?l.disabled.add(t):l.disabled.delete(t))},O=(e,t={})=>{let r=Xr(i,e);const a=Kr(t.disabled)||Kr(n.disabled);return ei(i,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),l.mount.add(e),r?I({disabled:Kr(t.disabled)?t.disabled:n.disabled,name:e}):g(e,!0,t.value),{...a?{disabled:t.disabled||n.disabled}:{},...n.progressive?{required:!!t.required,min:qi(t.min),max:qi(t.max),minLength:qi(t.minLength),maxLength:qi(t.maxLength),pattern:qi(t.pattern)}:{},name:e,onChange:k,onBlur:k,ref:a=>{if(a){O(e,t),r=Xr(i,e);const n=Jr(a.value)&&a.querySelectorAll&&a.querySelectorAll("input,select,textarea")[0]||a,s=Ri(n),l=r._f.refs||[];if(s?l.find(e=>e===n):n===r._f.ref)return;ei(i,e,{_f:{...r._f,...s?{refs:[...l.filter(Mi),n,...Array.isArray(Xr(o,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),g(e,!1,void 0,n)}else r=Xr(i,e,{}),r._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&(!Wr(l.array,e)||!s.action)&&l.unMount.add(e)}}},L=()=>n.shouldFocusError&&Ki(i,_,l.mount),P=(e,t)=>async o=>{let s;o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let c=qr(a);if(h.state.next({isSubmitting:!0}),n.resolver){const{errors:e,values:t}=await y();r.errors=e,c=qr(t)}else await b(i);if(l.disabled.size)for(const e of l.disabled)Ii(c,e);if(Ii(r.errors,"root"),ki(r.errors)){h.state.next({errors:{}});try{await e(c,o)}catch(e){s=e}}else t&&await t({...r.errors},o),L(),setTimeout(L);if(h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ki(r.errors)&&!s,submitCount:r.submitCount+1,errors:r.errors}),s)throw s},B=(e,t={})=>{const c=e?qr(e):o,u=qr(c),p=ki(e),f=p?o:u;if(t.keepDefaultValues||(o=c),!t.keepValues){if(t.keepDirtyValues){const e=new Set([...l.mount,...Object.keys(Bi(o,a))]);for(const t of Array.from(e))Xr(r.dirtyFields,t)?ei(f,t,Xr(a,t)):A(t,Xr(f,t))}else{if(Vr&&Jr(e))for(const e of l.mount){const t=Xr(i,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(Ti(e)){const t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(const e of l.mount)A(e,Xr(f,e));else i={}}a=n.shouldUnregister?t.keepDefaultValues?qr(o):{}:qr(f),h.array.next({values:{...f}}),h.state.next({values:{...f}})}l={mount:t.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},s.mount=!d.isValid||!!t.keepIsValid||!!t.keepDirtyValues,s.watch=!!n.shouldUnregister,h.state.next({submitCount:t.keepSubmitCount?r.submitCount:0,isDirty:!p&&(t.keepDirty?r.isDirty:!(!t.keepDefaultValues||fi(e,o))),isSubmitted:!!t.keepIsSubmitted&&r.isSubmitted,dirtyFields:p?{}:t.keepDirtyValues?t.keepDefaultValues&&a?Bi(o,a):r.dirtyFields:t.keepDefaultValues&&e?Bi(o,e):t.keepDirty?r.dirtyFields:{},touchedFields:t.keepTouched?r.touchedFields:{},errors:t.keepErrors?r.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1,defaultValues:o})},N=(e,t)=>B(Ei(e)?e(a):e,t),F=e=>{r={...r,...e}},$={control:{register:O,unregister:M,getFieldState:D,handleSubmit:P,setError:j,_subscribe:R,_runSchema:y,_focusError:L,_getWatch:w,_getDirty:x,_setValid:f,_setFieldArray:(e,t=[],l,c,p=!0,f=!0)=>{if(c&&l&&!n.disabled){if(s.action=!0,f&&Array.isArray(Xr(i,e))){const t=l(Xr(i,e),c.argA,c.argB);p&&ei(i,e,t)}if(f&&Array.isArray(Xr(r.errors,e))){const t=l(Xr(r.errors,e),c.argA,c.argB);p&&ei(r.errors,e,t),io(r.errors,e)}if((d.touchedFields||u.touchedFields)&&f&&Array.isArray(Xr(r.touchedFields,e))){const t=l(Xr(r.touchedFields,e),c.argA,c.argB);p&&ei(r.touchedFields,e,t)}(d.dirtyFields||u.dirtyFields)&&(r.dirtyFields=Bi(o,a)),h.state.next({name:e,isDirty:x(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else ei(a,e,t)},_setDisabledField:I,_setErrors:e=>{r.errors=e,h.state.next({errors:r.errors,isValid:!1})},_getFieldArray:e=>Qr(Xr(s.mount?a:o,e,n.shouldUnregister?Xr(o,e,[]):[])),_reset:B,_resetDefaultValues:()=>Ei(n.defaultValues)&&n.defaultValues().then(e=>{N(e,n.resetOptions),h.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(const e of l.unMount){const t=Xr(i,e);t&&(t._f.refs?t._f.refs.every(e=>!Mi(e)):!Mi(t._f.ref))&&M(e)}l.unMount=new Set},_disableForm:e=>{Kr(e)&&(h.state.next({disabled:e}),Ki(i,(t,n)=>{const r=Xr(i,n);r&&(t.disabled=r._f.disabled||e,Array.isArray(r._f.refs)&&r._f.refs.forEach(t=>{t.disabled=r._f.disabled||e}))},0,!1))},_subjects:h,_proxyFormState:d,get _fields(){return i},get _formValues(){return a},get _state(){return s},set _state(e){s=e},get _defaultValues(){return o},get _names(){return l},set _names(e){l=e},get _formState(){return r},get _options(){return n},set _options(e){n={...n,...e}}},subscribe:e=>(s.mount=!0,u={...u,...e.formState},R({...e,formState:u})),trigger:E,register:O,handleSubmit:P,watch:(e,t)=>Ei(e)?h.state.subscribe({next:n=>"values"in n&&e(w(void 0,t),n)}):w(e,t,!0),setValue:A,getValues:T,reset:N,resetField:(e,t={})=>{Xr(i,e)&&(Jr(t.defaultValue)?A(e,qr(Xr(o,e))):(A(e,t.defaultValue),ei(o,e,qr(t.defaultValue))),t.keepTouched||Ii(r.touchedFields,e),t.keepDirty||(Ii(r.dirtyFields,e),r.isDirty=t.defaultValue?x(e,qr(Xr(o,e))):x()),t.keepError||(Ii(r.errors,e),d.isValid&&f()),h.state.next({...r}))},clearErrors:e=>{e&&Ci(e).forEach(e=>Ii(r.errors,e)),h.state.next({errors:e?r.errors:{}})},unregister:M,setError:j,setFocus:(e,t={})=>{const n=Xr(i,e),r=n&&n._f;if(r){const e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&Ei(e.select)&&e.select())}},getFieldState:D};return{...$,formControl:$}}var ho=()=>{if("undefined"!=typeof crypto&&crypto.randomUUID)return crypto.randomUUID();const e="undefined"==typeof performance?Date.now():1e3*performance.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{const n=(16*Math.random()+e)%16|0;return("x"==t?n:3&n|8).toString(16)})},po=(e,t,n={})=>n.shouldFocus||Jr(n.shouldFocus)?n.focusName||`${e}.${Jr(n.focusIndex)?t:n.focusIndex}.`:"",fo=(e,t)=>[...e,...Ci(t)],mo=e=>Array.isArray(e)?e.map(()=>{}):void 0;function go(e,t,n){return[...e.slice(0,t),...Ci(n),...e.slice(t)]}var vo=(e,t,n)=>Array.isArray(e)?(Jr(e[n])&&(e[n]=void 0),e.splice(n,0,e.splice(t,1)[0]),e):[],yo=(e,t)=>[...Ci(t),...Ci(e)],bo=(e,t)=>Jr(t)?[]:function(e,t){let n=0;const r=[...e];for(const e of t)r.splice(e-n,1),n++;return Qr(r).length?r:[]}(e,Ci(t).sort((e,t)=>e-t)),xo=(e,t,n)=>{[e[t],e[n]]=[e[n],e[t]]},wo=(e,t,n)=>(e[t]=n,e);function Co(e){const t=ai(),{control:n=t.control,name:r,keyName:i="id",shouldUnregister:o,rules:a}=e,[s,l]=D.useState(n._getFieldArray(r)),c=D.useRef(n._getFieldArray(r).map(ho)),d=D.useRef(!1);n._names.array.add(r),D.useMemo(()=>a&&s.length>=0&&n.register(r,a),[n,r,s.length,a]),ci(()=>n._subjects.array.subscribe({next:({values:e,name:t})=>{if(t===r||!t){const t=Xr(e,r);Array.isArray(t)&&(l(t),c.current=t.map(ho))}}}).unsubscribe,[n,r]);const u=D.useCallback(e=>{d.current=!0,n._setFieldArray(r,e)},[n,r]);return D.useEffect(()=>{if(n._state.action=!1,Xi(r,n._names)&&n._subjects.state.next({...n._formState}),d.current&&(!Yi(n._options.mode).isOnSubmit||n._formState.isSubmitted)&&!Yi(n._options.reValidateMode).isOnSubmit)if(n._options.resolver)n._runSchema([r]).then(e=>{const t=Xr(e.errors,r),i=Xr(n._formState.errors,r);(i?!t&&i.type||t&&(i.type!==t.type||i.message!==t.message):t&&t.type)&&(t?ei(n._formState.errors,r,t):Ii(n._formState.errors,r),n._subjects.state.next({errors:n._formState.errors}))});else{const e=Xr(n._fields,r);!e||!e._f||Yi(n._options.reValidateMode).isOnSubmit&&Yi(n._options.mode).isOnSubmit||lo(e,n._names.disabled,n._formValues,n._options.criteriaMode===ni.all,n._options.shouldUseNativeValidation,!0).then(e=>!ki(e)&&n._subjects.state.next({errors:oo(n._formState.errors,e,r)}))}n._subjects.state.next({name:r,values:qr(n._formValues)}),n._names.focus&&Ki(n._fields,(e,t)=>{if(n._names.focus&&t.startsWith(n._names.focus)&&e.focus)return e.focus(),1}),n._names.focus="",n._setValid(),d.current=!1},[s,r,n]),D.useEffect(()=>(!Xr(n._formValues,r)&&n._setFieldArray(r),()=>{n._options.shouldUnregister||o?n.unregister(r):(e=>{const t=Xr(n._fields,e);t&&t._f&&(t._f.mount=!1)})(r)}),[r,n,i,o]),{swap:D.useCallback((e,t)=>{const i=n._getFieldArray(r);xo(i,e,t),xo(c.current,e,t),u(i),l(i),n._setFieldArray(r,i,xo,{argA:e,argB:t},!1)},[u,r,n]),move:D.useCallback((e,t)=>{const i=n._getFieldArray(r);vo(i,e,t),vo(c.current,e,t),u(i),l(i),n._setFieldArray(r,i,vo,{argA:e,argB:t},!1)},[u,r,n]),prepend:D.useCallback((e,t)=>{const i=Ci(qr(e)),o=yo(n._getFieldArray(r),i);n._names.focus=po(r,0,t),c.current=yo(c.current,i.map(ho)),u(o),l(o),n._setFieldArray(r,o,yo,{argA:mo(e)})},[u,r,n]),append:D.useCallback((e,t)=>{const i=Ci(qr(e)),o=fo(n._getFieldArray(r),i);n._names.focus=po(r,o.length-1,t),c.current=fo(c.current,i.map(ho)),u(o),l(o),n._setFieldArray(r,o,fo,{argA:mo(e)})},[u,r,n]),remove:D.useCallback(e=>{const t=bo(n._getFieldArray(r),e);c.current=bo(c.current,e),u(t),l(t),!Array.isArray(Xr(n._fields,r))&&ei(n._fields,r,void 0),n._setFieldArray(r,t,bo,{argA:e})},[u,r,n]),insert:D.useCallback((e,t,i)=>{const o=Ci(qr(t)),a=go(n._getFieldArray(r),e,o);n._names.focus=po(r,e,i),c.current=go(c.current,e,o.map(ho)),u(a),l(a),n._setFieldArray(r,a,go,{argA:e,argB:mo(t)})},[u,r,n]),update:D.useCallback((e,t)=>{const i=qr(t),o=wo(n._getFieldArray(r),e,i);c.current=[...o].map((t,n)=>t&&n!==e?c.current[n]:ho()),u(o),l([...o]),n._setFieldArray(r,o,wo,{argA:e,argB:i},!0,!1)},[u,r,n]),replace:D.useCallback(e=>{const t=Ci(qr(e));c.current=t.map(ho),u([...t]),l([...t]),n._setFieldArray(r,[...t],e=>e,{},!0,!1)},[u,r,n]),fields:D.useMemo(()=>s.map((e,t)=>({...e,[i]:c.current[t]||ho()})),[s,i])}}function So(e={}){const t=D.useRef(void 0),n=D.useRef(void 0),[r,i]=D.useState({isDirty:!1,isValidating:!1,isLoading:Ei(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:Ei(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:r},e.defaultValues&&!Ei(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:n,...i}=uo(e);t.current={...i,formState:r}}const o=t.current.control;return o._options=e,ci(()=>{const e=o._subscribe({formState:o._proxyFormState,callback:()=>i({...o._formState}),reRenderRoot:!0});return i(e=>({...e,isReady:!0})),o._formState.isReady=!0,e},[o]),D.useEffect(()=>o._disableForm(e.disabled),[o,e.disabled]),D.useEffect(()=>{e.mode&&(o._options.mode=e.mode),e.reValidateMode&&(o._options.reValidateMode=e.reValidateMode)},[o,e.mode,e.reValidateMode]),D.useEffect(()=>{e.errors&&(o._setErrors(e.errors),o._focusError())},[o,e.errors]),D.useEffect(()=>{e.shouldUnregister&&o._subjects.state.next({values:o._getWatch()})},[o,e.shouldUnregister]),D.useEffect(()=>{if(o._proxyFormState.isDirty){const e=o._getDirty();e!==r.isDirty&&o._subjects.state.next({isDirty:e})}},[o,r.isDirty]),D.useEffect(()=>{e.values&&!fi(e.values,n.current)?(o._reset(e.values,{keepFieldsRef:!0,...o._options.resetOptions}),n.current=e.values,i(e=>({...e}))):o._resetDefaultValues()},[o,e.values]),D.useEffect(()=>{o._state.mount||(o._setValid(),o._state.mount=!0),o._state.watch&&(o._state.watch=!1,o._subjects.state.next({...o._formState})),o._removeUnmounted()}),t.current.formState=li(r,o),t.current}const Ao=({control:e,names:t,render:n})=>n(mi({control:e,name:t}));var ko=function(e,t){return ko=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},ko(e,t)};function _o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ko(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Eo=function(){return Eo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Eo.apply(this,arguments)};function To(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function Do(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function jo(e,t){var n=t&&t.cache?t.cache:zo,r=t&&t.serializer?t.serializer:Fo;return(t&&t.strategy?t.strategy:Oo)(e,{cache:n,serializer:r})}function Ro(e,t,n,r){var i,o=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),a=t.get(o);return void 0===a&&(a=e.call(this,r),t.set(o,a)),a}function Mo(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return void 0===o&&(o=e.apply(this,r),t.set(i,o)),o}function Io(e,t,n,r,i){return n.bind(t,e,r,i)}function Oo(e,t){return Io(e,this,1===e.length?Ro:Mo,t.cache.create(),t.serializer)}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var Lo,Po,Bo,No,Fo=function(){return JSON.stringify(arguments)},$o=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),zo={create:function(){return new $o}},Ho={variadic:function(e,t){return Io(e,this,Mo,t.cache.create(),t.serializer)},monadic:function(e,t){return Io(e,this,Ro,t.cache.create(),t.serializer)}};function Uo(e){return e.type===Po.literal}function Wo(e){return e.type===Po.argument}function Go(e){return e.type===Po.number}function Vo(e){return e.type===Po.date}function qo(e){return e.type===Po.time}function Yo(e){return e.type===Po.select}function Jo(e){return e.type===Po.plural}function Qo(e){return e.type===Po.pound}function Zo(e){return e.type===Po.tag}function Xo(e){return!(!e||"object"!=typeof e||e.type!==Bo.number)}function Ko(e){return!(!e||"object"!=typeof e||e.type!==Bo.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(Lo||(Lo={})),(No=Po||(Po={}))[No.literal=0]="literal",No[No.argument=1]="argument",No[No.number=2]="number",No[No.date=3]="date",No[No.time=4]="time",No[No.select=5]="select",No[No.plural=6]="plural",No[No.pound=7]="pound",No[No.tag=8]="tag",function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Bo||(Bo={}));var ea=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ta=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function na(e){var t={};return e.replace(ta,function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"long":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var ra=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function ia(e){return e.replace(/^(.*?)-/,"")}var oa=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,aa=/^(@+)?(\+|#+)?[rs]?$/g,sa=/(\*)(0+)|(#+)(0+)|(0+)/g,la=/^(0+)$/;function ca(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(aa,function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""}),t}function da(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function ua(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!la.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function ha(e){return da(e)||{}}function pa(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=ia(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=Eo(Eo(Eo({},t),{notation:"scientific"}),i.options.reduce(function(e,t){return Eo(Eo({},e),ha(t))},{}));continue;case"engineering":t=Eo(Eo(Eo({},t),{notation:"engineering"}),i.options.reduce(function(e,t){return Eo(Eo({},e),ha(t))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(sa,function(e,n,r,i,o,a){if(n)t.minimumIntegerDigits=r.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(la.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(oa.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(oa,function(e,n,r,i,o,a){return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""});var o=i.options[0];"w"===o?t=Eo(Eo({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=Eo(Eo({},t),ca(o)))}else if(aa.test(i.stem))t=Eo(Eo({},t),ca(i.stem));else{var a=da(i.stem);a&&(t=Eo(Eo({},t),a));var s=ua(i.stem);s&&(t=Eo(Eo({},t),s))}}return t}var fa,ma={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function ga(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(ma[n||""]||ma[r||""]||ma["".concat(r,"-001")]||ma["001"])[0]}var va=new RegExp("^".concat(ea.source,"*")),ya=new RegExp("".concat(ea.source,"*$"));function ba(e,t){return{start:e,end:t}}var xa=!!String.prototype.startsWith&&"_a".startsWith("a",1),wa=!!String.fromCodePoint,Ca=!!Object.fromEntries,Sa=!!String.prototype.codePointAt,Aa=!!String.prototype.trimStart,ka=!!String.prototype.trimEnd,_a=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ea=!0;try{Ea="a"===(null===(fa=La("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===fa?void 0:fa[0])}catch(Hp){Ea=!1}var Ta,Da=xa?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},ja=wa?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;i>o;){if((n=e[o++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Ra=Ca?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],a=i[1];t[o]=a}return t},Ma=Sa?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},Ia=Aa?function(e){return e.trimStart()}:function(e){return e.replace(va,"")},Oa=ka?function(e){return e.trimEnd()}:function(e){return e.replace(ya,"")};function La(e,t){return new RegExp(e,t)}if(Ea){var Pa=La("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ta=function(e,t){var n;return Pa.lastIndex=t,null!==(n=Pa.exec(e)[1])&&void 0!==n?n:""}}else Ta=function(e,t){for(var n=[];;){var r=Ma(e,t);if(void 0===r||za(r)||Ha(r))break;n.push(r),t+=r>=65536?2:1}return ja.apply(void 0,n)};var Ba,Na=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(123===i){if((o=this.parseArgument(e,n)).err)return o;r.push(o.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Lo.UNMATCHED_CLOSING_TAG,ba(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Fa(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{var a=this.clonePosition();this.bump(),r.push({type:Po.pound,location:ba(a,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Po.literal,value:"<".concat(r,"/>"),location:ba(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Fa(this.char()))return this.error(Lo.INVALID_TAG,ba(a,this.clonePosition()));var s=this.clonePosition();return r!==this.parseTagName()?this.error(Lo.UNMATCHED_CLOSING_TAG,ba(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Po.tag,value:r,children:o,location:ba(n,this.clonePosition())},err:null}:this.error(Lo.INVALID_TAG,ba(a,this.clonePosition())))}return this.error(Lo.UNCLOSED_TAG,ba(n,this.clonePosition()))}return this.error(Lo.INVALID_TAG,ba(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&$a(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{var o=this.tryParseUnquoted(e,t);if(o)r+=o;else{var a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}var s=ba(n,this.clonePosition());return{val:{type:Po.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Fa(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return ja.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),ja(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Lo.EXPECT_ARGUMENT_CLOSING_BRACE,ba(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Lo.EMPTY_ARGUMENT,ba(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Lo.MALFORMED_ARGUMENT,ba(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Lo.EXPECT_ARGUMENT_CLOSING_BRACE,ba(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Po.argument,value:r,location:ba(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Lo.EXPECT_ARGUMENT_CLOSING_BRACE,ba(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Lo.MALFORMED_ARGUMENT,ba(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Ta(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:ba(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(Lo.EXPECT_ARGUMENT_TYPE,ba(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((v=this.parseSimpleArgStyleIfPossible()).err)return v;if(0===(p=Oa(v.val)).length)return this.error(Lo.EXPECT_ARGUMENT_STYLE,ba(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:ba(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(r)).err)return y;var d=ba(r,this.clonePosition());if(l&&Da(null==l?void 0:l.style,"::",0)){var u=Ia(l.style.slice(2));if("number"===a)return(v=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?v:{val:{type:Po.number,value:n,location:d,style:v.val},err:null};if(0===u.length)return this.error(Lo.EXPECT_DATE_TIME_SKELETON,d);var h=u;this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var a=1+(1&o),s=o<2?1:3+(o>>1),l=ga(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)n+="a";for(;a-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(u,this.locale));var p={type:Bo.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?na(h):{}};return{val:{type:"date"===a?Po.date:Po.time,value:n,location:d,style:p},err:null}}return{val:{type:"number"===a?Po.number:"date"===a?Po.date:Po.time,value:n,location:d,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Lo.EXPECT_SELECT_ARGUMENT_OPTIONS,ba(f,Eo({},f)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),g=0;if("select"!==a&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(Lo.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ba(this.clonePosition(),this.clonePosition()));var v;if(this.bumpSpace(),(v=this.tryParseDecimalInteger(Lo.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Lo.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return v;this.bumpSpace(),m=this.parseIdentifierIfPossible(),g=v.val}var y,b=this.tryParsePluralOrSelectOptions(e,a,t,m);if(b.err)return b;if((y=this.tryParseArgumentClose(r)).err)return y;var x=ba(r,this.clonePosition());return"select"===a?{val:{type:Po.select,value:n,options:Ra(b.val),location:x},err:null}:{val:{type:Po.plural,value:n,options:Ra(b.val),offset:g,pluralType:"plural"===a?"cardinal":"ordinal",location:x},err:null};default:return this.error(Lo.INVALID_ARGUMENT_TYPE,ba(o,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Lo.EXPECT_ARGUMENT_CLOSING_BRACE,ba(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Lo.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ba(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=e.split(ra).filter(function(e){return e.length>0}),n=[],r=0,i=t;r<i.length;r++){var o=i[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var a=o[0],s=o.slice(1),l=0,c=s;l<c.length;l++)if(0===c[l].length)throw new Error("Invalid number skeleton");n.push({stem:a,options:s})}return n}(e)}catch(e){return this.error(Lo.INVALID_NUMBER_SKELETON,t)}return{val:{type:Bo.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?pa(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i,o=!1,a=[],s=new Set,l=r.value,c=r.location;;){if(0===l.length){var d=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(Lo.EXPECT_PLURAL_ARGUMENT_SELECTOR,Lo.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;c=ba(d,this.clonePosition()),l=this.message.slice(d.offset,this.offset())}if(s.has(l))return this.error("select"===t?Lo.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Lo.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Lo.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Lo.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,ba(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(e+1,t,n);if(p.err)return p;var f=this.tryParseArgumentClose(h);if(f.err)return f;a.push([l,{value:p.val,location:ba(h,this.clonePosition())}]),s.add(l),this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===a.length?this.error("select"===t?Lo.EXPECT_SELECT_ARGUMENT_SELECTOR:Lo.EXPECT_PLURAL_ARGUMENT_SELECTOR,ba(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(Lo.MISSING_OTHER_CLAUSE,ba(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;i=!0,o=10*o+(a-48),this.bump()}var s=ba(r,this.clonePosition());return i?_a(o*=n)?{val:o,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ma(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Da(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&za(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function Fa(e){return e>=97&&e<=122||e>=65&&e<=90}function $a(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function za(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Ha(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Ua(e){e.forEach(function(e){if(delete e.location,Yo(e)||Jo(e))for(var t in e.options)delete e.options[t].location,Ua(e.options[t].value);else Go(e)&&Xo(e.style)||(Vo(e)||qo(e))&&Ko(e.style)?delete e.style.location:Zo(e)&&Ua(e.children)})}function Wa(e,t){void 0===t&&(t={}),t=Eo({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Na(e,t).parse();if(n.err){var r=SyntaxError(Lo[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||Ua(n.val),n.val}!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(Ba||(Ba={}));var Ga,Va=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return _o(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),qa=function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Ba.INVALID_VALUE,i)||this}return _o(t,e),t}(Va),Ya=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Ba.INVALID_VALUE,r)||this}return _o(t,e),t}(Va),Ja=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),Ba.MISSING_VALUE,n)||this}return _o(t,e),t}(Va);function Qa(e){return"function"==typeof e}function Za(e,t,n,r,i,o,a){if(1===e.length&&Uo(e[0]))return[{type:Ga.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(Uo(d))s.push({type:Ga.literal,value:d.value});else if(Qo(d))"number"==typeof o&&s.push({type:Ga.literal,value:n.getNumberFormat(t).format(o)});else{var u=d.value;if(!i||!(u in i))throw new Ja(u,a);var h=i[u];if(Wo(d))h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?Ga.literal:Ga.object,value:h});else if(Vo(d)){var p="string"==typeof d.style?r.date[d.style]:Ko(d.style)?d.style.parsedOptions:void 0;s.push({type:Ga.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(qo(d))p="string"==typeof d.style?r.time[d.style]:Ko(d.style)?d.style.parsedOptions:r.time.medium,s.push({type:Ga.literal,value:n.getDateTimeFormat(t,p).format(h)});else if(Go(d))(p="string"==typeof d.style?r.number[d.style]:Xo(d.style)?d.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:Ga.literal,value:n.getNumberFormat(t,p).format(h)});else{if(Zo(d)){var f=d.children,m=d.value,g=i[m];if(!Qa(g))throw new Ya(m,"function",a);var v=g(Za(f,t,n,r,i,o).map(function(e){return e.value}));Array.isArray(v)||(v=[v]),s.push.apply(s,v.map(function(e){return{type:"string"==typeof e?Ga.literal:Ga.object,value:e}}))}if(Yo(d)){if(!(y=d.options[h]||d.options.other))throw new qa(d.value,h,Object.keys(d.options),a);s.push.apply(s,Za(y.value,t,n,r,i))}else if(Jo(d)){var y;if(!(y=d.options["=".concat(h)])){if(!Intl.PluralRules)throw new Va('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ba.MISSING_INTL_API,a);var b=n.getPluralRules(t,{type:d.pluralType}).select(h-(d.offset||0));y=d.options[b]||d.options.other}if(!y)throw new qa(d.value,h,Object.keys(d.options),a);s.push.apply(s,Za(y.value,t,n,r,i,h-(d.offset||0)))}}}}return(x=s).length<2?x:x.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Ga.literal&&t.type===Ga.literal?n.value+=t.value:e.push(t),e},[]);var x}function Xa(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Ga||(Ga={}));var Ka,es=function(){function e(t,n,r,i){void 0===n&&(n=e.defaultLocale);var o,a,s,l=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=l.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce(function(e,t){return e.length&&t.type===Ga.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return Za(l.ast,l.locales,l.formatters,l.formats,e,void 0,l.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=l.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(l.locales)[0]}},this.getAst=function(){return l.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var c=i||{},d=(c.formatters,To(c,["formatters"]));this.ast=e.__parse(t,Eo(Eo({},d),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(a=e.formats,(s=r)?Object.keys(a).reduce(function(e,t){var n,r;return e[t]=(n=a[t],(r=s[t])?Eo(Eo(Eo({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=Eo(Eo({},n[t]),r[t]||{}),e},{})):n),e},Eo({},a)):a),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:jo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Do([void 0],t,!1)))},{cache:Xa(o.number),strategy:Ho.variadic}),getDateTimeFormat:jo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Do([void 0],t,!1)))},{cache:Xa(o.dateTime),strategy:Ho.variadic}),getPluralRules:jo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Do([void 0],t,!1)))},{cache:Xa(o.pluralRules),strategy:Ho.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=Wa,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(Ka||(Ka={}));var ts=function(e){function t(n,r,i){var o=this,a=i?i instanceof Error?i:new Error(String(i)):void 0;return(o=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return _o(t,e),t}(Error),ns=function(e){function t(t,n){return e.call(this,Ka.UNSUPPORTED_FORMATTER,t,n)||this}return _o(t,e),t}(ts),rs=function(e){function t(t,n){return e.call(this,Ka.INVALID_CONFIG,t,n)||this}return _o(t,e),t}(ts),is=function(e){function t(t,n){return e.call(this,Ka.MISSING_DATA,t,n)||this}return _o(t,e),t}(ts),os=function(e){function t(t,n,r){var i=e.call(this,Ka.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),r)||this;return i.locale=n,i}return _o(t,e),t}(ts),as=function(e){function t(t,n,r,i){var o=e.call(this,"".concat(t,"\nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description,"\n"),n,i)||this;return o.descriptor=r,o.locale=n,o}return _o(t,e),t}(os),ss=function(e){function t(t,n){var r=e.call(this,Ka.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map(function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)}).join(),")"):"id"," as fallback."))||this;return r.descriptor=t,r}return _o(t,e),t}(ts);function ls(e,t,n){return void 0===n&&(n={}),t.reduce(function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t},{})}var cs={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function ds(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function us(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function hs(e,t,n,r){var i,o=e&&e[t];if(o&&(i=o[n]),i)return i;r(new ns("No ".concat(t," format named: ").concat(n)))}function ps(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function fs(e){ps(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var ms=Eo(Eo({},cs),{textComponent:D.Fragment}),gs={key:42},vs=function(e){return D.isValidElement(e)?D.createElement(D.Fragment,gs,e):e};function ys(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(var o=0;o<i;o++){var a=n[o];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}var bs,xs,ws="undefined"==typeof window||window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?D.createContext(null):window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=D.createContext(null)),Cs=ws.Consumer,Ss=ws.Provider,As=ws;function ks(e,t){var n,r=t||{},i=r.intlPropName,o=void 0===i?"intl":i,a=r.forwardRef,s=void 0!==a&&a,l=r.enforceContext,c=void 0===l||l,d=function(t){return D.createElement(Cs,null,function(n){var r;c&&fs(n);var i=((r={})[o]=n,r);return D.createElement(e,Eo({},t,i,{ref:s?t.forwardedRef:null}))})};return d.displayName="injectIntl(".concat((n=e).displayName||n.name||"Component",")"),d.WrappedComponent=e,s?qt()(D.forwardRef(function(e,t){return D.createElement(d,Eo({},e,{forwardedRef:t}))}),e):qt()(d,e)}function _s(){var e=D.useContext(As);return fs(e),e}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(bs||(bs={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(xs||(xs={}));var Es=function(e){var t=_s(),n=e.value,r=e.children,i=To(e,["value","children"]);return r(t.formatNumberToParts(n,i))};Es.displayName="FormattedNumberParts";var Ts=function(e){var t=_s(),n=e.value,r=e.children,i=To(e,["value","children"]);return r(t.formatListToParts(n,i))};function Ds(e){var t=function(t){var n=_s(),r=t.value,i=t.children,o=To(t,["value","children"]),a="string"==typeof r?new Date(r||0):r;return i("formatDate"===e?n.formatDateToParts(a,o):n.formatTimeToParts(a,o))};return t.displayName=xs[e],t}function js(e){var t=function(t){var n=_s(),r=t.value,i=t.children,o=To(t,["value","children"]),a=n[e](r,o);if("function"==typeof i)return i(a);var s=n.textComponent||D.Fragment;return D.createElement(s,null,a)};return t.displayName=bs[e],t}function Rs(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=Eo({timeZone:t},e[r]),n},{})}function Ms(e,t){return Object.keys(Eo(Eo({},e),t)).reduce(function(n,r){return n[r]=Eo(Eo({},e[r]||{}),t[r]||{}),n},{})}function Is(e,t){if(!t)return e;var n=es.formats;return Eo(Eo(Eo({},n),e),{date:Ms(Rs(n.date,t),Rs(e.date||{},t)),time:Ms(Rs(n.time,t),Rs(e.time||{},t))})}Es.displayName="FormattedNumberParts";var Os=function(e,t,n,r,i){var o=e.locale,a=e.formats,s=e.messages,l=e.defaultLocale,c=e.defaultFormats,d=e.fallbackOnEmptyString,u=e.onError,h=e.timeZone,p=e.defaultRichTextElements;void 0===n&&(n={id:""});var f=n.id,m=n.defaultMessage;!function(e,t,n){if(void 0===n&&(n=Error),!e)throw new n("[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue")}(!!f);var g=String(f),v=s&&Object.prototype.hasOwnProperty.call(s,g)&&s[g];if(Array.isArray(v)&&1===v.length&&v[0].type===Po.literal)return v[0].value;if(!r&&v&&"string"==typeof v&&!p)return v.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=Eo(Eo({},p),r||{}),a=Is(a,h),c=Is(c,h),!v){if(!1===d&&""===v)return v;if((!m||o&&o.toLowerCase()!==l.toLowerCase())&&u(new ss(n,o)),m)try{return t.getMessageFormat(m,l,c,i).format(r)}catch(e){return u(new as('Error formatting default message for: "'.concat(g,'", rendering default message verbatim'),o,n,e)),"string"==typeof m?m:g}return g}try{return t.getMessageFormat(v,o,a,Eo({formatters:t},i||{})).format(r)}catch(e){u(new as('Error formatting message: "'.concat(g,'", using ').concat(m?"default message":"id"," as fallback."),o,n,e))}if(m)try{return t.getMessageFormat(m,l,c,i).format(r)}catch(e){u(new as('Error formatting the default message for: "'.concat(g,'", rendering message verbatim'),o,n,e))}return"string"==typeof v?v:"string"==typeof m?m:g},Ls=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function Ps(e,t,n,r){var i=e.locale,o=e.formats,a=e.onError,s=e.timeZone;void 0===r&&(r={});var l=r.format,c=Eo(Eo({},s&&{timeZone:s}),l&&hs(o,t,l,a)),d=ls(r,Ls,c);return"time"!==t||d.hour||d.minute||d.second||d.timeStyle||d.dateStyle||(d=Eo(Eo({},d),{hour:"numeric",minute:"numeric"})),n(i,d)}function Bs(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Ps(e,"date",t,a).format(s)}catch(t){e.onError(new os("Error formatting date.",e.locale,t))}return String(s)}function Ns(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Ps(e,"time",t,a).format(s)}catch(t){e.onError(new os("Error formatting time.",e.locale,t))}return String(s)}function Fs(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=n[2],s=void 0===a?{}:a,l="string"==typeof i?new Date(i||0):i,c="string"==typeof o?new Date(o||0):o;try{return Ps(e,"dateTimeRange",t,s).formatRange(l,c)}catch(t){e.onError(new os("Error formatting date time range.",e.locale,t))}return String(l)}function $s(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Ps(e,"date",t,a).formatToParts(s)}catch(t){e.onError(new os("Error formatting date.",e.locale,t))}return[]}function zs(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Ps(e,"time",t,a).formatToParts(s)}catch(t){e.onError(new os("Error formatting time.",e.locale,t))}return[]}var Hs=["style","type","fallback","languageDisplay"];function Us(e,t,n,r){var i=e.locale,o=e.onError;Intl.DisplayNames||o(new Va('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Ba.MISSING_INTL_API));var a=ls(r,Hs);try{return t(i,a).of(n)}catch(e){o(new os("Error formatting display name.",i,e))}}var Ws=["type","style"],Gs=Date.now();function Vs(e,t,n,r){void 0===r&&(r={});var i=qs(e,t,n,r).reduce(function(e,t){var n=t.value;return"string"!=typeof n?e.push(n):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e},[]);return 1===i.length?i[0]:0===i.length?"":i}function qs(e,t,n,r){var i=e.locale,o=e.onError;void 0===r&&(r={}),Intl.ListFormat||o(new Va('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Ba.MISSING_INTL_API));var a=ls(r,Ws);try{var s={},l=n.map(function(e,t){if("object"==typeof e){var n=function(e){return"".concat(Gs,"_").concat(e,"_").concat(Gs)}(t);return s[n]=e,n}return String(e)});return t(i,a).formatToParts(l).map(function(e){return"literal"===e.type?e:Eo(Eo({},e),{value:s[e.value]||e.value})})}catch(e){o(new os("Error formatting list.",i,e))}return n}var Ys=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function Js(e,t,n){var r=e.locale,i=e.formats,o=e.onError;void 0===n&&(n={});var a=n.format,s=a&&hs(i,"number",a,o)||{};return t(r,ls(n,Ys,s))}function Qs(e,t,n,r){void 0===r&&(r={});try{return Js(e,t,r).format(n)}catch(t){e.onError(new os("Error formatting number.",e.locale,t))}return String(n)}function Zs(e,t,n,r){void 0===r&&(r={});try{return Js(e,t,r).formatToParts(n)}catch(t){e.onError(new os("Error formatting number.",e.locale,t))}return[]}var Xs=["type"];function Ks(e,t,n,r){var i=e.locale,o=e.onError;void 0===r&&(r={}),Intl.PluralRules||o(new Va('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ba.MISSING_INTL_API));var a=ls(r,Xs);try{return t(i,a).select(n)}catch(e){o(new os("Error formatting plural.",i,e))}return"other"}var el=["numeric","style"];function tl(e,t,n,r,i){void 0===i&&(i={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new Va('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Ba.MISSING_INTL_API));try{return function(e,t,n){var r=e.locale,i=e.formats,o=e.onError;void 0===n&&(n={});var a=n.format,s=!!a&&hs(i,"relative",a,o)||{};return t(r,ls(n,el,s))}(e,t,i).format(n,r)}catch(t){e.onError(new os("Error formatting relative time.",e.locale,t))}return String(n)}function nl(e,t){var n=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,i=jo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Do([void 0],t,!1)))},{cache:us(e.dateTime),strategy:Ho.variadic}),o=jo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Do([void 0],t,!1)))},{cache:us(e.number),strategy:Ho.variadic}),a=jo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Do([void 0],t,!1)))},{cache:us(e.pluralRules),strategy:Ho.variadic});return{getDateTimeFormat:i,getNumberFormat:o,getMessageFormat:jo(function(e,t,n,r){return new es(e,t,n,Eo({formatters:{getNumberFormat:o,getDateTimeFormat:i,getPluralRules:a}},r||{}))},{cache:us(e.message),strategy:Ho.variadic}),getRelativeTimeFormat:jo(function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,Do([void 0],e,!1)))},{cache:us(e.relativeTime),strategy:Ho.variadic}),getPluralRules:a,getListFormat:jo(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,Do([void 0],e,!1)))},{cache:us(e.list),strategy:Ho.variadic}),getDisplayNames:jo(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,Do([void 0],e,!1)))},{cache:us(e.displayNames),strategy:Ho.variadic})}}(t),r=Eo(Eo({},cs),e),i=r.locale,o=r.defaultLocale,a=r.onError;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&a?a(new is('Missing locale data for locale: "'.concat(i,'" in Intl.NumberFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&a&&a(new is('Missing locale data for locale: "'.concat(i,'" in Intl.DateTimeFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):(a&&a(new rs('"locale" was not configured, using "'.concat(o,'" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),function(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.github.io/docs/getting-started/message-distribution')}(r),Eo(Eo({},r),{formatters:n,formatNumber:Qs.bind(null,r,n.getNumberFormat),formatNumberToParts:Zs.bind(null,r,n.getNumberFormat),formatRelativeTime:tl.bind(null,r,n.getRelativeTimeFormat),formatDate:Bs.bind(null,r,n.getDateTimeFormat),formatDateToParts:$s.bind(null,r,n.getDateTimeFormat),formatTime:Ns.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:Fs.bind(null,r,n.getDateTimeFormat),formatTimeToParts:zs.bind(null,r,n.getDateTimeFormat),formatPlural:Ks.bind(null,r,n.getPluralRules),formatMessage:Os.bind(null,r,n),$t:Os.bind(null,r,n),formatList:Vs.bind(null,r,n.getListFormat),formatListToParts:qs.bind(null,r,n.getListFormat),formatDisplayName:Us.bind(null,r,n.getDisplayNames)})}function rl(e){return e?Object.keys(e).reduce(function(t,n){var r,i=e[n];return t[n]=Qa(i)?(r=i,function(e){return r(D.Children.toArray(e))}):i,t},{}):e}var il=function(e,t,n,r){for(var i=[],o=4;o<arguments.length;o++)i[o-4]=arguments[o];var a=rl(r),s=Os.apply(void 0,Do([e,t,n,a],i,!1));return Array.isArray(s)?function(e){var t;return null!==(t=D.Children.map(e,vs))&&void 0!==t?t:[]}(s):s},ol=function(e,t){var n=e.defaultRichTextElements,r=To(e,["defaultRichTextElements"]),i=rl(n),o=nl(Eo(Eo(Eo({},ms),r),{defaultRichTextElements:i}),t),a={locale:o.locale,timeZone:o.timeZone,fallbackOnEmptyString:o.fallbackOnEmptyString,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:i};return Eo(Eo({},o),{formatMessage:il.bind(null,a,o.formatters),$t:il.bind(null,a,o.formatters)})},al=function(e){var t=_s(),n=e.from,r=e.to,i=e.children,o=To(e,["from","to","children"]),a=t.formatDateTimeRange(n,r,o);if("function"==typeof i)return i(a);var s=t.textComponent||D.Fragment;return D.createElement(s,null,a)};al.displayName="FormattedDateTimeRange";const sl=al;function ll(e){var t=_s(),n=t.formatMessage,r=t.textComponent,i=void 0===r?D.Fragment:r,o=e.id,a=e.description,s=e.defaultMessage,l=e.values,c=e.children,d=e.tagName,u=void 0===d?i:d,h=n({id:o,description:a,defaultMessage:s},l,{ignoreTag:e.ignoreTag});return"function"==typeof c?c(Array.isArray(h)?h:[h]):u?D.createElement(u,null,h):D.createElement(D.Fragment,null,h)}ll.displayName="FormattedMessage";var cl=D.memo(ll,function(e,t){var n=e.values,r=To(e,["values"]),i=t.values,o=To(t,["values"]);return ys(i,n)&&ys(r,o)});cl.displayName="MemoizedFormattedMessage";const dl=cl;var ul=function(e){var t=_s(),n=t.formatPlural,r=t.textComponent,i=e.value,o=e.other,a=e.children,s=e[n(i,e)]||o;return"function"==typeof a?a(s):r?D.createElement(r,null,s):s};ul.displayName="FormattedPlural";const hl=ul;function pl(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}var fl=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:ol(pl(t.props),t.cache),prevConfig:pl(t.props)},t}return _o(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,r=t.cache,i=pl(e);return ys(n,i)?null:{intl:ol(i,r),prevConfig:i}},t.prototype.render=function(){return fs(this.state.intl),D.createElement(Ss,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=ms,t}(D.PureComponent);const ml=fl;var gl=3600;function vl(e){var t=Math.abs(e);return t<60?"second":t<gl?"minute":t<86400?"hour":"day"}function yl(e){switch(e){case"second":return 1;case"minute":return 60;case"hour":return gl;default:return 86400}}var bl=["second","minute","hour"];function xl(e){return void 0===e&&(e="second"),bl.indexOf(e)>-1}var wl=function(e){var t=_s(),n=t.formatRelativeTime,r=t.textComponent,i=e.children,o=n(e.value||0,e.unit,To(e,["children","value","unit"]));return"function"==typeof i?i(o):r?D.createElement(r,null,o):D.createElement(D.Fragment,null,o)},Cl=function(e){var t=e.value,n=void 0===t?0:t,r=e.unit,i=void 0===r?"second":r,o=e.updateIntervalInSeconds,a=To(e,["value","unit","updateIntervalInSeconds"]);ps(!o||!(!o||!xl(i)),"Cannot schedule update with unit longer than hour");var s,l=D.useState(),c=l[0],d=l[1],u=D.useState(0),h=u[0],p=u[1],f=D.useState(0),m=f[0],g=f[1];i===c&&n===h||(p(n||0),d(i),g(xl(i)?function(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return 60*e;default:return e*gl}}(n,i):0)),D.useEffect(function(){function e(){clearTimeout(s)}if(e(),!o||!xl(i))return e;var t=m-o,n=vl(t);if("day"===n)return e;var r=yl(n),a=t-t%r,l=a>=m?a-r:a,c=Math.abs(l-m);return m!==l&&(s=setTimeout(function(){return g(l)},1e3*c)),e},[m,o,i]);var v=n||0,y=i;if(xl(i)&&"number"==typeof m&&o){var b=yl(y=vl(m));v=Math.round(m/b)}return D.createElement(wl,Eo({value:v,unit:y},a))};Cl.displayName="FormattedRelativeTime";const Sl=Cl;function Al(e){return e}function kl(e){return e}var _l=js("formatDate"),El=js("formatTime"),Tl=js("formatNumber"),Dl=js("formatList"),jl=js("formatDisplayName"),Rl=Ds("formatDate"),Ml=Ds("formatTime"),Il=i(809),Ol=i(6007);let Ll=function(e){e()};const Pl=()=>Ll,Bl=Symbol.for("react-redux-context"),Nl="undefined"!=typeof globalThis?globalThis:{};function Fl(){var e;if(!D.createContext)return{};const t=null!=(e=Nl[Bl])?e:Nl[Bl]=new Map;let n=t.get(D.createContext);return n||(n=D.createContext(null),t.set(D.createContext,n)),n}const $l=Fl();function zl(e=$l){return function(){return(0,D.useContext)(e)}}const Hl=zl(),Ul=()=>{throw new Error("uSES not initialized!")};let Wl=Ul;const Gl=(e,t)=>e===t;function Vl(e=$l){const t=e===$l?Hl:zl(e);return function(e,n={}){const{equalityFn:r=Gl,stabilityCheck:i,noopCheck:o}="function"==typeof n?{equalityFn:n}:n,{store:a,subscription:s,getServerState:l,stabilityCheck:c,noopCheck:d}=t(),u=((0,D.useRef)(!0),(0,D.useCallback)({[e.name]:t=>e(t)}[e.name],[e,c,i])),h=Wl(s.addNestedSub,a.getState,l||a.getState,u,r);return(0,D.useDebugValue)(h),h}}const ql=Vl();function Yl(){return Yl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yl.apply(null,arguments)}function Jl(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var Ql=i(4276);const Zl=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Xl(e,t,n,r,{areStatesEqual:i,areOwnPropsEqual:o,areStatePropsEqual:a}){let s,l,c,d,u,h=!1;return function(p,f){return h?function(h,p){const f=!o(p,l),m=!i(h,s,p,l);return s=h,l=p,f&&m?(c=e(s,l),t.dependsOnOwnProps&&(d=t(r,l)),u=n(c,d,l),u):f?(e.dependsOnOwnProps&&(c=e(s,l)),t.dependsOnOwnProps&&(d=t(r,l)),u=n(c,d,l),u):m?function(){const t=e(s,l),r=!a(t,c);return c=t,r&&(u=n(c,d,l)),u}():u}(p,f):(s=p,l=f,c=e(s,l),d=t(r,l),u=n(c,d,l),h=!0,u)}}function Kl(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function ec(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function tc(e,t){return function(t,{displayName:n}){const r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=ec(e);let i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=ec(i),i=r(t,n)),i},r}}function nc(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function rc(e,t,n){return Yl({},n,e,t)}const ic={notify(){},get:()=>[]};function oc(e,t){let n,r=ic,i=0,o=!1;function a(){c.onStateChange&&c.onStateChange()}function s(){i++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){const e=Pl();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let e=t;for(;e;)e.callback(),e=e.next})},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}function l(){i--,n&&0===i&&(n(),n=void 0,r.clear(),r=ic)}const c={addNestedSub:function(e){s();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),l())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,s())},tryUnsubscribe:function(){o&&(o=!1,l())},getListeners:()=>r};return c}const ac="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?D.useLayoutEffect:D.useEffect;function sc(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function lc(e,t){if(sc(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!sc(e[n[r]],t[n[r]]))return!1;return!0}const cc=["reactReduxForwardedRef"];let dc=Ul;const uc=[null,null];function hc(e,t,n,r,i,o){e.current=r,n.current=!1,i.current&&(i.current=null,o())}function pc(e,t){return e===t}const fc=function(e,t,n,{pure:r,areStatesEqual:i=pc,areOwnPropsEqual:o=lc,areStatePropsEqual:a=lc,areMergedPropsEqual:s=lc,forwardRef:l=!1,context:c=$l}={}){const d=c,u=function(e){return e?"function"==typeof e?tc(e):nc(e,"mapStateToProps"):Kl(()=>({}))}(e),h=function(e){return e&&"object"==typeof e?Kl(t=>function(e,t){const n={};for(const r in e){const i=e[r];"function"==typeof i&&(n[r]=(...e)=>t(i(...e)))}return n}(e,t)):e?"function"==typeof e?tc(e):nc(e,"mapDispatchToProps"):Kl(e=>({dispatch:e}))}(t),p=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let i,o=!1;return function(t,n,a){const s=e(t,n,a);return o?r(s,i)||(i=s):(o=!0,i=s),i}}}(e):nc(e,"mergeProps"):()=>rc}(n),f=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",n=`Connect(${t})`,r={shouldHandleStateChanges:f,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:u,initMapDispatchToProps:h,initMergeProps:p,areStatesEqual:i,areStatePropsEqual:a,areOwnPropsEqual:o,areMergedPropsEqual:s};function c(t){const[n,i,o]=D.useMemo(()=>{const{reactReduxForwardedRef:e}=t,n=Jl(t,cc);return[t.context,e,n]},[t]),a=D.useMemo(()=>n&&n.Consumer&&(0,Ql.isContextConsumer)(D.createElement(n.Consumer,null))?n:d,[n,d]),s=D.useContext(a),l=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),c=Boolean(s)&&Boolean(s.store),u=l?t.store:s.store,h=c?s.getServerState:u.getState,p=D.useMemo(()=>function(e,t){let{initMapStateToProps:n,initMapDispatchToProps:r,initMergeProps:i}=t,o=Jl(t,Zl);return Xl(n(e,o),r(e,o),i(e,o),e,o)}(u.dispatch,r),[u]),[m,g]=D.useMemo(()=>{if(!f)return uc;const e=oc(u,l?void 0:s.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[u,l,s]),v=D.useMemo(()=>l?s:Yl({},s,{subscription:m}),[l,s,m]),y=D.useRef(),b=D.useRef(o),x=D.useRef(),w=D.useRef(!1),C=(D.useRef(!1),D.useRef(!1)),S=D.useRef();ac(()=>(C.current=!0,()=>{C.current=!1}),[]);const A=D.useMemo(()=>()=>x.current&&o===b.current?x.current:p(u.getState(),o),[u,o]),k=D.useMemo(()=>e=>m?function(e,t,n,r,i,o,a,s,l,c,d){if(!e)return()=>{};let u=!1,h=null;const p=()=>{if(u||!s.current)return;const e=t.getState();let n,p;try{n=r(e,i.current)}catch(e){p=e,h=e}p||(h=null),n===o.current?a.current||c():(o.current=n,l.current=n,a.current=!0,d())};return n.onStateChange=p,n.trySubscribe(),p(),()=>{if(u=!0,n.tryUnsubscribe(),n.onStateChange=null,h)throw h}}(f,u,m,p,b,y,w,C,x,g,e):()=>{},[m]);var _,E;let T;_=hc,E=[b,y,w,o,x,g],ac(()=>_(...E),undefined);try{T=dc(k,A,h?()=>p(h(),o):A)}catch(e){throw S.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${S.current.stack}\n\n`),e}ac(()=>{S.current=void 0,x.current=void 0,y.current=T});const j=D.useMemo(()=>D.createElement(e,Yl({},T,{ref:i})),[i,e,T]);return D.useMemo(()=>f?D.createElement(a.Provider,{value:v},j):j,[a,j,v])}const m=D.memo(c);if(m.WrappedComponent=e,m.displayName=c.displayName=n,l){const t=D.forwardRef(function(e,t){return D.createElement(m,Yl({},e,{reactReduxForwardedRef:t}))});return t.displayName=n,t.WrappedComponent=e,qt()(t,e)}return qt()(m,e)}},mc=function({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",noopCheck:o="once"}){const a=D.useMemo(()=>{const t=oc(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:i,noopCheck:o}},[e,r,i,o]),s=D.useMemo(()=>e.getState(),[e]);ac(()=>{const{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}},[a,s]);const l=t||$l;return D.createElement(l.Provider,{value:a},n)};function gc(e=$l){const t=e===$l?Hl:zl(e);return function(){const{store:e}=t();return e}}const vc=gc();function yc(e=$l){const t=e===$l?vc:gc(e);return function(){return t().dispatch}}const bc=yc();var xc,wc,Cc;function Sc(){return Sc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sc.apply(this,arguments)}Cc=Ol.useSyncExternalStoreWithSelector,Wl=Cc,(e=>{dc=e})(Il.useSyncExternalStore),xc=Pr.unstable_batchedUpdates,Ll=xc,function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(wc||(wc={}));const Ac="popstate";function kc(e){void 0===e&&(e={});let t,{initialEntries:n=["/"],initialIndex:r,v5Compat:i=!1}=e;t=n.map((e,t)=>d(e,"string"==typeof e?null:e.state,0===t?"default":void 0));let o=l(null==r?t.length-1:r),a=wc.Pop,s=null;function l(e){return Math.min(Math.max(e,0),t.length-1)}function c(){return t[o]}function d(e,n,r){void 0===n&&(n=null);let i=Rc(t?c().pathname:"/",e,n,r);return Dc("/"===i.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),i}function u(e){return"string"==typeof e?e:Mc(e)}let h={get index(){return o},get action(){return a},get location(){return c()},createHref:u,createURL:e=>new URL(u(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?Ic(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,n){a=wc.Push;let r=d(e,n);o+=1,t.splice(o,t.length,r),i&&s&&s({action:a,location:r,delta:1})},replace(e,n){a=wc.Replace;let r=d(e,n);t[o]=r,i&&s&&s({action:a,location:r,delta:0})},go(e){a=wc.Pop;let n=l(o+e),r=t[n];o=n,s&&s({action:a,location:r,delta:e})},listen:e=>(s=e,()=>{s=null})};return h}function _c(e){return void 0===e&&(e={}),Oc(function(e,t){let{pathname:n,search:r,hash:i}=e.location;return Rc("",{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:Mc(t)},null,e)}function Ec(e){return void 0===e&&(e={}),Oc(function(e,t){let{pathname:n="/",search:r="",hash:i=""}=Ic(e.location.hash.substr(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),Rc("",{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:Mc(t))},function(e,t){Dc("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")},e)}function Tc(e,t){if(!1===e||null==e)throw new Error(t)}function Dc(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function jc(e,t){return{usr:e.state,key:e.key,idx:t}}function Rc(e,t,n,r){return void 0===n&&(n=null),Sc({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?Ic(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function Mc(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function Ic(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Oc(e,t,n,r){void 0===r&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,s=wc.Pop,l=null,c=d();function d(){return(a.state||{idx:null}).idx}function u(){s=wc.Pop;let e=d(),t=null==e?null:e-c;c=e,l&&l({action:s,location:p.location,delta:t})}function h(e){let t="null"!==i.location.origin?i.location.origin:i.location.href,n="string"==typeof e?e:Mc(e);return n=n.replace(/ $/,"%20"),Tc(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==c&&(c=0,a.replaceState(Sc({},a.state,{idx:c}),""));let p={get action(){return s},get location(){return e(i,a)},listen(e){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Ac,u),l=e,()=>{i.removeEventListener(Ac,u),l=null}},createHref:e=>t(i,e),createURL:h,encodeLocation(e){let t=h(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s=wc.Push;let r=Rc(p.location,e,t);n&&n(r,e),c=d()+1;let u=jc(r,c),h=p.createHref(r);try{a.pushState(u,"",h)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;i.location.assign(h)}o&&l&&l({action:s,location:p.location,delta:1})},replace:function(e,t){s=wc.Replace;let r=Rc(p.location,e,t);n&&n(r,e),c=d();let i=jc(r,c),u=p.createHref(r);a.replaceState(i,"",u),o&&l&&l({action:s,location:p.location,delta:0})},go:e=>a.go(e)};return p}var Lc;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(Lc||(Lc={}));const Pc=new Set(["lazy","caseSensitive","path","id","index","children"]);function Bc(e,t,n,r){return void 0===n&&(n=[]),void 0===r&&(r={}),e.map((e,i)=>{let o=[...n,String(i)],a="string"==typeof e.id?e.id:o.join("-");if(Tc(!0!==e.index||!e.children,"Cannot specify children on an index route"),Tc(!r[a],'Found a route id collision on id "'+a+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let n=Sc({},e,t(e),{id:a});return r[a]=n,n}{let n=Sc({},e,t(e),{id:a,children:void 0});return r[a]=n,e.children&&(n.children=Bc(e.children,t,o,r)),n}})}function Nc(e,t,n){return void 0===n&&(n="/"),Fc(e,t,n,!1)}function Fc(e,t,n,r){let i=td(("string"==typeof t?Ic(t):t).pathname||"/",n);if(null==i)return null;let o=zc(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n]);return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(o);let a=null;for(let e=0;null==a&&e<o.length;++e){let t=ed(i);a=Zc(o[e],t,r)}return a}function $c(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],handle:n.handle}}function zc(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");let i=(e,i,o)=>{let a={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};a.relativePath.startsWith("/")&&(Tc(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let s=sd([r,a.relativePath]),l=n.concat(a);e.children&&e.children.length>0&&(Tc(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),zc(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:Qc(s,e.index),routesMeta:l})};return e.forEach((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let n of Hc(e.path))i(e,t,n);else i(e,t)}),t}function Hc(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===r.length)return i?[o,""]:[o];let a=Hc(r.join("/")),s=[];return s.push(...a.map(e=>""===e?o:[o,e].join("/"))),i&&s.push(...a),s.map(t=>e.startsWith("/")&&""===t?"/":t)}const Uc=/^:[\w-]+$/,Wc=3,Gc=2,Vc=1,qc=10,Yc=-2,Jc=e=>"*"===e;function Qc(e,t){let n=e.split("/"),r=n.length;return n.some(Jc)&&(r+=Yc),t&&(r+=Gc),n.filter(e=>!Jc(e)).reduce((e,t)=>e+(Uc.test(t)?Wc:""===t?Vc:qc),r)}function Zc(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,i={},o="/",a=[];for(let e=0;e<r.length;++e){let s=r[e],l=e===r.length-1,c="/"===o?t:t.slice(o.length)||"/",d=Kc({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},c),u=s.route;if(!d&&l&&n&&!r[r.length-1].route.index&&(d=Kc({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},c)),!d)return null;Object.assign(i,d.params),a.push({params:i,pathname:sd([o,d.pathname]),pathnameBase:ld(sd([o,d.pathnameBase])),route:u}),"/"!==d.pathnameBase&&(o=sd([o,d.pathnameBase]))}return a}function Xc(e,t){void 0===t&&(t={});let n=e;n.endsWith("*")&&"*"!==n&&!n.endsWith("/*")&&(Dc(!1,'Route path "'+n+'" will be treated as if it were "'+n.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+n.replace(/\*$/,"/*")+'".'),n=n.replace(/\*$/,"/*"));const r=n.startsWith("/")?"/":"",i=e=>null==e?"":"string"==typeof e?e:String(e),o=n.split(/\/+/).map((e,n,r)=>{if(n===r.length-1&&"*"===e)return i(t["*"]);const o=e.match(/^:([\w-]+)(\??)$/);if(o){const[,e,n]=o;let r=t[e];return Tc("?"===n||null!=r,'Missing ":'+e+'" param'),i(r)}return e.replace(/\?$/g,"")}).filter(e=>!!e);return r+o.join("/")}function Kc(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),Dc("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],a=o.replace(/(.)\/+$/,"$1"),s=i.slice(1),l=r.reduce((e,t,n)=>{let{paramName:r,isOptional:i}=t;if("*"===r){let e=s[n]||"";a=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[n];return e[r]=i&&!l?void 0:(l||"").replace(/%2F/g,"/"),e},{});return{params:l,pathname:o,pathnameBase:a,pattern:e}}function ed(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return Dc(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function td(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function nd(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:i=""}="string"==typeof e?Ic(e):e,o=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:o,search:cd(r),hash:dd(i)}}function rd(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function id(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function od(e,t){let n=id(e);return t?n.map((e,t)=>t===n.length-1?e.pathname:e.pathnameBase):n.map(e=>e.pathnameBase)}function ad(e,t,n,r){let i;void 0===r&&(r=!1),"string"==typeof e?i=Ic(e):(i=Sc({},e),Tc(!i.pathname||!i.pathname.includes("?"),rd("?","pathname","search",i)),Tc(!i.pathname||!i.pathname.includes("#"),rd("#","pathname","hash",i)),Tc(!i.search||!i.search.includes("#"),rd("#","search","hash",i)));let o,a=""===e||""===i.pathname,s=a?"/":i.pathname;if(null==s)o=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}o=e>=0?t[e]:"/"}let l=nd(i,o),c=s&&"/"!==s&&s.endsWith("/"),d=(a||"."===s)&&n.endsWith("/");return l.pathname.endsWith("/")||!c&&!d||(l.pathname+="/"),l}const sd=e=>e.join("/").replace(/\/\/+/g,"/"),ld=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),cd=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",dd=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",ud=function(e,t){void 0===t&&(t={});let n="number"==typeof t?{status:t}:t,r=new Headers(n.headers);return r.has("Content-Type")||r.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(e),Sc({},n,{headers:r}))};class hd extends Error{}class pd{constructor(e,t){let n;this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Tc(e&&"object"==typeof e&&!Array.isArray(e),"defer() only accepts plain objects"),this.abortPromise=new Promise((e,t)=>n=t),this.controller=new AbortController;let r=()=>n(new hd("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",r),this.controller.signal.addEventListener("abort",r),this.data=Object.entries(e).reduce((e,t)=>{let[n,r]=t;return Object.assign(e,{[n]:this.trackPromise(n,r)})},{}),this.done&&this.unlistenAbortSignal(),this.init=t}trackPromise(e,t){if(!(t instanceof Promise))return t;this.deferredKeys.push(e),this.pendingKeysSet.add(e);let n=Promise.race([t,this.abortPromise]).then(t=>this.onSettle(n,e,void 0,t),t=>this.onSettle(n,e,t));return n.catch(()=>{}),Object.defineProperty(n,"_tracked",{get:()=>!0}),n}onSettle(e,t,n,r){if(this.controller.signal.aborted&&n instanceof hd)return this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:()=>n}),Promise.reject(n);if(this.pendingKeysSet.delete(t),this.done&&this.unlistenAbortSignal(),void 0===n&&void 0===r){let n=new Error('Deferred data for key "'+t+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(e,"_error",{get:()=>n}),this.emit(!1,t),Promise.reject(n)}return void 0===r?(Object.defineProperty(e,"_error",{get:()=>n}),this.emit(!1,t),Promise.reject(n)):(Object.defineProperty(e,"_data",{get:()=>r}),this.emit(!1,t),r)}emit(e,t){this.subscribers.forEach(n=>n(e,t))}subscribe(e){return this.subscribers.add(e),()=>this.subscribers.delete(e)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((e,t)=>this.pendingKeysSet.delete(t)),this.emit(!0)}async resolveData(e){let t=!1;if(!this.done){let n=()=>this.cancel();e.addEventListener("abort",n),t=await new Promise(t=>{this.subscribe(r=>{e.removeEventListener("abort",n),(r||this.done)&&t(r)})})}return t}get done(){return 0===this.pendingKeysSet.size}get unwrappedData(){return Tc(null!==this.data&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((e,t)=>{let[n,r]=t;return Object.assign(e,{[n]:fd(r)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function fd(e){if(!function(e){return e instanceof Promise&&!0===e._tracked}(e))return e;if(e._error)throw e._error;return e._data}const md=function(e,t){return void 0===t&&(t={}),new pd(e,"number"==typeof t?{status:t}:t)},gd=function(e,t){void 0===t&&(t=302);let n=t;"number"==typeof n?n={status:n}:void 0===n.status&&(n.status=302);let r=new Headers(n.headers);return r.set("Location",e),new Response(null,Sc({},n,{headers:r}))},vd=(e,t)=>{let n=gd(e,t);return n.headers.set("X-Remix-Reload-Document","true"),n},yd=(e,t)=>{let n=gd(e,t);return n.headers.set("X-Remix-Replace","true"),n};class bd{constructor(e,t,n,r){void 0===r&&(r=!1),this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function xd(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const wd=["post","put","patch","delete"],Cd=new Set(wd),Sd=["get",...wd],Ad=new Set(Sd),kd=new Set([301,302,303,307,308]),_d=new Set([307,308]),Ed={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Td={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Dd={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},jd=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Rd=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),Md="remix-router-transitions";function Id(e){const t=e.window?e.window:"undefined"!=typeof window?window:void 0,n=void 0!==t&&void 0!==t.document&&void 0!==t.document.createElement,r=!n;let i;if(Tc(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let t=e.detectErrorBoundary;i=e=>({hasErrorBoundary:t(e)})}else i=Rd;let o,a,s,l={},c=Bc(e.routes,i,void 0,l),d=e.basename||"/",u=e.dataStrategy||Ud,h=e.patchRoutesOnNavigation,p=Sc({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),f=null,m=new Set,g=null,v=null,y=null,b=null!=e.hydrationData,x=Nc(c,e.history.location,d),w=!1,C=null;if(null==x&&!h){let t=tu(404,{pathname:e.history.location.pathname}),{matches:n,route:r}=eu(c);x=n,C={[r.id]:t}}if(x&&!e.hydrationData&&fe(x,c,e.history.location.pathname).active&&(x=null),x)if(x.some(e=>e.route.lazy))a=!1;else if(x.some(e=>e.route.loader))if(p.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,n=e.hydrationData?e.hydrationData.errors:null;if(n){let e=x.findIndex(e=>void 0!==n[e.route.id]);a=x.slice(0,e+1).every(e=>!Nd(e.route,t,n))}else a=x.every(e=>!Nd(e.route,t,n))}else a=null!=e.hydrationData;else a=!0;else if(a=!1,x=[],p.v7_partialHydration){let t=fe(null,c,e.history.location.pathname);t.active&&t.matches&&(w=!0,x=t.matches)}let S,A,k={historyAction:e.history.action,location:e.history.location,matches:x,initialized:a,navigation:Ed,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||C,fetchers:new Map,blockers:new Map},_=wc.Pop,E=!1,T=!1,D=new Map,j=null,R=!1,M=!1,I=[],O=new Set,L=new Map,P=0,B=-1,N=new Map,F=new Set,$=new Map,z=new Map,H=new Set,U=new Map,W=new Map;function G(e,t){void 0===t&&(t={}),k=Sc({},k,e);let n=[],r=[];p.v7_fetcherPersist&&k.fetchers.forEach((e,t)=>{"idle"===e.state&&(H.has(t)?r.push(t):n.push(t))}),H.forEach(e=>{k.fetchers.has(e)||L.has(e)||r.push(e)}),[...m].forEach(e=>e(k,{deletedFetchers:r,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync})),p.v7_fetcherPersist?(n.forEach(e=>k.fetchers.delete(e)),r.forEach(e=>ne(e))):r.forEach(e=>H.delete(e))}function V(t,n,r){var i,a;let s,{flushSync:l}=void 0===r?{}:r,d=null!=k.actionData&&null!=k.navigation.formMethod&&du(k.navigation.formMethod)&&"loading"===k.navigation.state&&!0!==(null==(i=t.state)?void 0:i._isRedirect);s=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:d?k.actionData:null;let u=n.loaderData?Zd(k.loaderData,n.loaderData,n.matches||[],n.errors):k.loaderData,h=k.blockers;h.size>0&&(h=new Map(h),h.forEach((e,t)=>h.set(t,Dd)));let p,f=!0===E||null!=k.navigation.formMethod&&du(k.navigation.formMethod)&&!0!==(null==(a=t.state)?void 0:a._isRedirect);if(o&&(c=o,o=void 0),R||_===wc.Pop||(_===wc.Push?e.history.push(t,t.state):_===wc.Replace&&e.history.replace(t,t.state)),_===wc.Pop){let e=D.get(k.location.pathname);e&&e.has(t.pathname)?p={currentLocation:k.location,nextLocation:t}:D.has(t.pathname)&&(p={currentLocation:t,nextLocation:k.location})}else if(T){let e=D.get(k.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),D.set(k.location.pathname,e)),p={currentLocation:k.location,nextLocation:t}}G(Sc({},n,{actionData:s,loaderData:u,historyAction:_,location:t,initialized:!0,navigation:Ed,revalidation:"idle",restoreScrollPosition:pe(t,n.matches||k.matches),preventScrollReset:f,blockers:h}),{viewTransitionOpts:p,flushSync:!0===l}),_=wc.Pop,E=!1,T=!1,R=!1,M=!1,I=[]}async function q(t,n,r){S&&S.abort(),S=null,_=t,R=!0===(r&&r.startUninterruptedRevalidation),function(e,t){if(g&&y){let n=he(e,t);g[n]=y()}}(k.location,k.matches),E=!0===(r&&r.preventScrollReset),T=!0===(r&&r.enableViewTransition);let i=o||c,a=r&&r.overrideNavigation,s=null!=r&&r.initialHydration&&k.matches&&k.matches.length>0&&!w?k.matches:Nc(i,n,d),l=!0===(r&&r.flushSync);if(s&&k.initialized&&!M&&function(e,t){return e.pathname===t.pathname&&e.search===t.search&&(""===e.hash?""!==t.hash:e.hash===t.hash||""!==t.hash)}(k.location,n)&&!(r&&r.submission&&du(r.submission.formMethod)))return void V(n,{matches:s},{flushSync:l});let u=fe(s,i,n.pathname);if(u.active&&u.matches&&(s=u.matches),!s){let{error:e,notFoundMatches:t,route:r}=de(n.pathname);return void V(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:l})}S=new AbortController;let h,f=qd(e.history,n,S.signal,r&&r.submission);if(r&&r.pendingError)h=[Kd(s).route.id,{type:Lc.error,error:r.pendingError}];else if(r&&r.submission&&du(r.submission.formMethod)){let t=await async function(e,t,n,r,i,o){void 0===o&&(o={}),X();let a,s=function(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}(t,n);if(G({navigation:s},{flushSync:!0===o.flushSync}),i){let n=await me(r,t.pathname,e.signal);if("aborted"===n.type)return{shortCircuited:!0};if("error"===n.type){let e=Kd(n.partialMatches).route.id;return{matches:n.partialMatches,pendingActionResult:[e,{type:Lc.error,error:n.error}]}}if(!n.matches){let{notFoundMatches:e,error:n,route:r}=de(t.pathname);return{matches:e,pendingActionResult:[r.id,{type:Lc.error,error:n}]}}r=n.matches}let l=mu(r,t);if(l.route.action||l.route.lazy){if(a=(await Q("action",k,e,[l],r,null))[l.route.id],e.signal.aborted)return{shortCircuited:!0}}else a={type:Lc.error,error:tu(405,{method:e.method,pathname:t.pathname,routeId:l.route.id})};if(su(a)){let t;return t=o&&null!=o.replace?o.replace:Vd(a.response.headers.get("Location"),new URL(e.url),d)===k.location.pathname+k.location.search,await J(e,a,!0,{submission:n,replace:t}),{shortCircuited:!0}}if(ou(a))throw tu(400,{type:"defer-action"});if(au(a)){let e=Kd(r,l.route.id);return!0!==(o&&o.replace)&&(_=wc.Push),{matches:r,pendingActionResult:[e.route.id,a]}}return{matches:r,pendingActionResult:[l.route.id,a]}}(f,n,r.submission,s,u.active,{replace:r.replace,flushSync:l});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,r]=t.pendingActionResult;if(au(r)&&xd(r.error)&&404===r.error.status)return S=null,void V(n,{matches:t.matches,loaderData:{},errors:{[e]:r.error}})}s=t.matches||s,h=t.pendingActionResult,a=vu(n,r.submission),l=!1,u.active=!1,f=qd(e.history,f.url,f.signal)}let{shortCircuited:m,matches:v,loaderData:b,errors:x}=await async function(t,n,r,i,a,s,l,u,h,f,m){let g=a||vu(n,s),v=s||l||gu(g),y=!(R||p.v7_partialHydration&&h);if(i){if(y){let e=Y(m);G(Sc({navigation:g},void 0!==e?{actionData:e}:{}),{flushSync:f})}let e=await me(r,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=Kd(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(!e.matches){let{error:e,notFoundMatches:t,route:r}=de(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}r=e.matches}let b=o||c,[x,w]=Bd(e.history,k,r,v,n,p.v7_partialHydration&&!0===h,p.v7_skipActionErrorRevalidation,M,I,O,H,$,F,b,d,m);if(ue(e=>!(r&&r.some(t=>t.route.id===e))||x&&x.some(t=>t.route.id===e)),B=++P,0===x.length&&0===w.length){let e=oe();return V(n,Sc({matches:r,loaderData:{},errors:m&&au(m[1])?{[m[0]]:m[1].error}:null},Xd(m),e?{fetchers:new Map(k.fetchers)}:{}),{flushSync:f}),{shortCircuited:!0}}if(y){let e={};if(!i){e.navigation=g;let t=Y(m);void 0!==t&&(e.actionData=t)}w.length>0&&(e.fetchers=function(e){return e.forEach(e=>{let t=k.fetchers.get(e.key),n=yu(void 0,t?t.data:void 0);k.fetchers.set(e.key,n)}),new Map(k.fetchers)}(w)),G(e,{flushSync:f})}w.forEach(e=>{re(e.key),e.controller&&L.set(e.key,e.controller)});let C=()=>w.forEach(e=>re(e.key));S&&S.signal.addEventListener("abort",C);let{loaderResults:A,fetcherResults:_}=await Z(k,r,x,w,t);if(t.signal.aborted)return{shortCircuited:!0};S&&S.signal.removeEventListener("abort",C),w.forEach(e=>L.delete(e.key));let E=nu(A);if(E)return await J(t,E.result,!0,{replace:u}),{shortCircuited:!0};if(E=nu(_),E)return F.add(E.key),await J(t,E.result,!0,{replace:u}),{shortCircuited:!0};let{loaderData:T,errors:D}=Qd(k,r,A,m,w,_,U);U.forEach((e,t)=>{e.subscribe(n=>{(n||e.done)&&U.delete(t)})}),p.v7_partialHydration&&h&&k.errors&&(D=Sc({},k.errors,D));let j=oe(),N=ae(B),z=j||N||w.length>0;return Sc({matches:r,loaderData:T,errors:D},z?{fetchers:new Map(k.fetchers)}:{})}(f,n,s,u.active,a,r&&r.submission,r&&r.fetcherSubmission,r&&r.replace,r&&!0===r.initialHydration,l,h);m||(S=null,V(n,Sc({matches:v||s},Xd(h),{loaderData:b,errors:x})))}function Y(e){return e&&!au(e[1])?{[e[0]]:e[1].data}:k.actionData?0===Object.keys(k.actionData).length?null:k.actionData:void 0}async function J(r,i,o,a){let{submission:s,fetcherSubmission:l,preventScrollReset:c,replace:u}=void 0===a?{}:a;i.response.headers.has("X-Remix-Revalidate")&&(M=!0);let h=i.response.headers.get("Location");Tc(h,"Expected a Location header on the redirect Response"),h=Vd(h,new URL(r.url),d);let p=Rc(k.location,h,{_isRedirect:!0});if(n){let n=!1;if(i.response.headers.has("X-Remix-Reload-Document"))n=!0;else if(jd.test(h)){const r=e.history.createURL(h);n=r.origin!==t.location.origin||null==td(r.pathname,d)}if(n)return void(u?t.location.replace(h):t.location.assign(h))}S=null;let f=!0===u||i.response.headers.has("X-Remix-Replace")?wc.Replace:wc.Push,{formMethod:m,formAction:g,formEncType:v}=k.navigation;!s&&!l&&m&&g&&v&&(s=gu(k.navigation));let y=s||l;if(_d.has(i.response.status)&&y&&du(y.formMethod))await q(f,p,{submission:Sc({},y,{formAction:h}),preventScrollReset:c||E,enableViewTransition:o?T:void 0});else{let e=vu(p,s);await q(f,p,{overrideNavigation:e,fetcherSubmission:l,preventScrollReset:c||E,enableViewTransition:o?T:void 0})}}async function Q(e,t,n,r,o,a){let s,c={};try{s=await async function(e,t,n,r,i,o,a,s,l,c){let d=o.map(e=>e.route.lazy?async function(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];Tc(i,"No route found in manifest");let o={};for(let e in r){let t=void 0!==i[e]&&"hasErrorBoundary"!==e;Dc(!t,'Route "'+i.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||Pc.has(e)||(o[e]=r[e])}Object.assign(i,o),Object.assign(i,Sc({},t(i),{lazy:void 0}))}(e.route,l,s):void 0),u=o.map((e,n)=>{let o=d[n],a=i.some(t=>t.route.id===e.route.id);return Sc({},e,{shouldLoad:a,resolve:async n=>(n&&"GET"===r.method&&(e.route.lazy||e.route.loader)&&(a=!0),a?async function(e,t,n,r,i,o){let a,s,l=r=>{let a,l=new Promise((e,t)=>a=t);s=()=>a(),t.signal.addEventListener("abort",s);let c=i=>"function"!=typeof r?Promise.reject(new Error('You cannot call the handler for a route which defines a boolean "'+e+'" [routeId: '+n.route.id+"]")):r({request:t,params:n.params,context:o},...void 0!==i?[i]:[]),d=(async()=>{try{return{type:"data",result:await(i?i(e=>c(e)):c())}}catch(e){return{type:"error",result:e}}})();return Promise.race([d,l])};try{let i=n.route[e];if(r)if(i){let e,[t]=await Promise.all([l(i).catch(t=>{e=t}),r]);if(void 0!==e)throw e;a=t}else{if(await r,i=n.route[e],!i){if("action"===e){let e=new URL(t.url),r=e.pathname+e.search;throw tu(405,{method:t.method,pathname:r,routeId:n.route.id})}return{type:Lc.data,result:void 0}}a=await l(i)}else{if(!i){let e=new URL(t.url);throw tu(404,{pathname:e.pathname+e.search})}a=await l(i)}Tc(void 0!==a.result,"You defined "+("action"===e?"an action":"a loader")+' for route "'+n.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){return{type:Lc.error,result:e}}finally{s&&t.signal.removeEventListener("abort",s)}return a}(t,r,e,o,n,c):Promise.resolve({type:Lc.data,result:void 0}))})}),h=await e({matches:u,request:r,params:o[0].params,fetcherKey:a,context:c});try{await Promise.all(d)}catch(e){}return h}(u,e,0,n,r,o,a,l,i)}catch(e){return r.forEach(t=>{c[t.route.id]={type:Lc.error,error:e}}),c}for(let[e,t]of Object.entries(s))if(iu(t)){let r=t.result;c[e]={type:Lc.redirect,response:Gd(r,n,e,o,d,p.v7_relativeSplatPath)}}else c[e]=await Wd(t);return c}async function Z(t,n,r,i,o){let a=t.matches,s=Q("loader",0,o,r,n,null),l=Promise.all(i.map(async t=>{if(t.matches&&t.match&&t.controller){let n=(await Q("loader",0,qd(e.history,t.path,t.controller.signal),[t.match],t.matches,t.key))[t.match.route.id];return{[t.key]:n}}return Promise.resolve({[t.key]:{type:Lc.error,error:tu(404,{pathname:t.path})}})})),c=await s,d=(await l).reduce((e,t)=>Object.assign(e,t),{});return await Promise.all([uu(n,c,o.signal,a,t.loaderData),hu(n,d,i)]),{loaderResults:c,fetcherResults:d}}function X(){M=!0,I.push(...ue()),$.forEach((e,t)=>{L.has(t)&&O.add(t),re(t)})}function K(e,t,n){void 0===n&&(n={}),k.fetchers.set(e,t),G({fetchers:new Map(k.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function ee(e,t,n,r){void 0===r&&(r={});let i=Kd(k.matches,t);ne(e),G({errors:{[i.route.id]:n},fetchers:new Map(k.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function te(e){return z.set(e,(z.get(e)||0)+1),H.has(e)&&H.delete(e),k.fetchers.get(e)||Td}function ne(e){let t=k.fetchers.get(e);!L.has(e)||t&&"loading"===t.state&&N.has(e)||re(e),$.delete(e),N.delete(e),F.delete(e),p.v7_fetcherPersist&&H.delete(e),O.delete(e),k.fetchers.delete(e)}function re(e){let t=L.get(e);t&&(t.abort(),L.delete(e))}function ie(e){for(let t of e){let e=bu(te(t).data);k.fetchers.set(t,e)}}function oe(){let e=[],t=!1;for(let n of F){let r=k.fetchers.get(n);Tc(r,"Expected fetcher: "+n),"loading"===r.state&&(F.delete(n),e.push(n),t=!0)}return ie(e),t}function ae(e){let t=[];for(let[n,r]of N)if(r<e){let e=k.fetchers.get(n);Tc(e,"Expected fetcher: "+n),"loading"===e.state&&(re(n),N.delete(n),t.push(n))}return ie(t),t.length>0}function se(e){k.blockers.delete(e),W.delete(e)}function le(e,t){let n=k.blockers.get(e)||Dd;Tc("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,"Invalid blocker state transition: "+n.state+" -> "+t.state);let r=new Map(k.blockers);r.set(e,t),G({blockers:r})}function ce(e){let{currentLocation:t,nextLocation:n,historyAction:r}=e;if(0===W.size)return;W.size>1&&Dc(!1,"A router only supports one blocker at a time");let i=Array.from(W.entries()),[o,a]=i[i.length-1],s=k.blockers.get(o);return s&&"proceeding"===s.state?void 0:a({currentLocation:t,nextLocation:n,historyAction:r})?o:void 0}function de(e){let t=tu(404,{pathname:e}),n=o||c,{matches:r,route:i}=eu(n);return ue(),{notFoundMatches:r,route:i,error:t}}function ue(e){let t=[];return U.forEach((n,r)=>{e&&!e(r)||(n.cancel(),t.push(r),U.delete(r))}),t}function he(e,t){if(v){let n=v(e,t.map(e=>$c(e,k.loaderData)));return n||e.key}return e.key}function pe(e,t){if(g){let n=he(e,t),r=g[n];if("number"==typeof r)return r}return null}function fe(e,t,n){if(h){if(!e)return{active:!0,matches:Fc(t,n,d,!0)||[]};if(Object.keys(e[0].params).length>0)return{active:!0,matches:Fc(t,n,d,!0)}}return{active:!1,matches:null}}async function me(e,t,n,r){if(!h)return{type:"success",matches:e};let a=e;for(;;){let e=null==o,s=o||c,u=l;try{await h({signal:n,path:t,matches:a,fetcherKey:r,patch:(e,t)=>{n.aborted||zd(e,t,s,u,i)}})}catch(e){return{type:"error",error:e,partialMatches:a}}finally{e&&!n.aborted&&(c=[...c])}if(n.aborted)return{type:"aborted"};let p=Nc(s,t,d);if(p)return{type:"success",matches:p};let f=Fc(s,t,d,!0);if(!f||a.length===f.length&&a.every((e,t)=>e.route.id===f[t].route.id))return{type:"success",matches:null};a=f}}return s={get basename(){return d},get future(){return p},get state(){return k},get routes(){return c},get window(){return t},initialize:function(){if(f=e.history.listen(t=>{let{action:n,location:r,delta:i}=t;if(A)return A(),void(A=void 0);Dc(0===W.size||null!=i,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let o=ce({currentLocation:k.location,nextLocation:r,historyAction:n});if(o&&null!=i){let t=new Promise(e=>{A=e});return e.history.go(-1*i),void le(o,{state:"blocked",location:r,proceed(){le(o,{state:"proceeding",proceed:void 0,reset:void 0,location:r}),t.then(()=>e.history.go(i))},reset(){let e=new Map(k.blockers);e.set(o,Dd),G({blockers:e})}})}return q(n,r)}),n){!function(e,t){try{let n=e.sessionStorage.getItem(Md);if(n){let e=JSON.parse(n);for(let[n,r]of Object.entries(e||{}))r&&Array.isArray(r)&&t.set(n,new Set(r||[]))}}catch(e){}}(t,D);let e=()=>function(e,t){if(t.size>0){let n={};for(let[e,r]of t)n[e]=[...r];try{e.sessionStorage.setItem(Md,JSON.stringify(n))}catch(e){Dc(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}}(t,D);t.addEventListener("pagehide",e),j=()=>t.removeEventListener("pagehide",e)}return k.initialized||q(wc.Pop,k.location,{initialHydration:!0}),s},subscribe:function(e){return m.add(e),()=>m.delete(e)},enableScrollRestoration:function(e,t,n){if(g=e,y=t,v=n||null,!b&&k.navigation===Ed){b=!0;let e=pe(k.location,k.matches);null!=e&&G({restoreScrollPosition:e})}return()=>{g=null,y=null,v=null}},navigate:async function t(n,r){if("number"==typeof n)return void e.history.go(n);let i=Od(k.location,k.matches,d,p.v7_prependBasename,n,p.v7_relativeSplatPath,null==r?void 0:r.fromRouteId,null==r?void 0:r.relative),{path:o,submission:a,error:s}=Ld(p.v7_normalizeFormMethod,!1,i,r),l=k.location,c=Rc(k.location,o,r&&r.state);c=Sc({},c,e.history.encodeLocation(c));let u=r&&null!=r.replace?r.replace:void 0,h=wc.Push;!0===u?h=wc.Replace:!1===u||null!=a&&du(a.formMethod)&&a.formAction===k.location.pathname+k.location.search&&(h=wc.Replace);let f=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,m=!0===(r&&r.flushSync),g=ce({currentLocation:l,nextLocation:c,historyAction:h});if(!g)return await q(h,c,{submission:a,pendingError:s,preventScrollReset:f,replace:r&&r.replace,enableViewTransition:r&&r.viewTransition,flushSync:m});le(g,{state:"blocked",location:c,proceed(){le(g,{state:"proceeding",proceed:void 0,reset:void 0,location:c}),t(n,r)},reset(){let e=new Map(k.blockers);e.set(g,Dd),G({blockers:e})}})},fetch:function(t,n,i,a){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");re(t);let s=!0===(a&&a.flushSync),l=o||c,u=Od(k.location,k.matches,d,p.v7_prependBasename,i,p.v7_relativeSplatPath,n,null==a?void 0:a.relative),h=Nc(l,u,d),f=fe(h,l,u);if(f.active&&f.matches&&(h=f.matches),!h)return void ee(t,n,tu(404,{pathname:u}),{flushSync:s});let{path:m,submission:g,error:v}=Ld(p.v7_normalizeFormMethod,!0,u,a);if(v)return void ee(t,n,v,{flushSync:s});let y=mu(h,m),b=!0===(a&&a.preventScrollReset);g&&du(g.formMethod)?async function(t,n,r,i,a,s,l,u,h){function f(e){if(!e.route.action&&!e.route.lazy){let e=tu(405,{method:h.formMethod,pathname:r,routeId:n});return ee(t,n,e,{flushSync:l}),!0}return!1}if(X(),$.delete(t),!s&&f(i))return;let m=k.fetchers.get(t);K(t,function(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}(h,m),{flushSync:l});let g=new AbortController,v=qd(e.history,r,g.signal,h);if(s){let e=await me(a,new URL(v.url).pathname,v.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void ee(t,n,e.error,{flushSync:l});if(!e.matches)return void ee(t,n,tu(404,{pathname:r}),{flushSync:l});if(f(i=mu(a=e.matches,r)))return}L.set(t,g);let y=P,b=(await Q("action",0,v,[i],a,t))[i.route.id];if(v.signal.aborted)return void(L.get(t)===g&&L.delete(t));if(p.v7_fetcherPersist&&H.has(t)){if(su(b)||au(b))return void K(t,bu(void 0))}else{if(su(b))return L.delete(t),B>y?void K(t,bu(void 0)):(F.add(t),K(t,yu(h)),J(v,b,!1,{fetcherSubmission:h,preventScrollReset:u}));if(au(b))return void ee(t,n,b.error)}if(ou(b))throw tu(400,{type:"defer-action"});let x=k.navigation.location||k.location,w=qd(e.history,x,g.signal),C=o||c,A="idle"!==k.navigation.state?Nc(C,k.navigation.location,d):k.matches;Tc(A,"Didn't find any matches after fetcher action");let E=++P;N.set(t,E);let T=yu(h,b.data);k.fetchers.set(t,T);let[D,j]=Bd(e.history,k,A,h,x,!1,p.v7_skipActionErrorRevalidation,M,I,O,H,$,F,C,d,[i.route.id,b]);j.filter(e=>e.key!==t).forEach(e=>{let t=e.key,n=k.fetchers.get(t),r=yu(void 0,n?n.data:void 0);k.fetchers.set(t,r),re(t),e.controller&&L.set(t,e.controller)}),G({fetchers:new Map(k.fetchers)});let R=()=>j.forEach(e=>re(e.key));g.signal.addEventListener("abort",R);let{loaderResults:z,fetcherResults:W}=await Z(k,A,D,j,w);if(g.signal.aborted)return;g.signal.removeEventListener("abort",R),N.delete(t),L.delete(t),j.forEach(e=>L.delete(e.key));let q=nu(z);if(q)return J(w,q.result,!1,{preventScrollReset:u});if(q=nu(W),q)return F.add(q.key),J(w,q.result,!1,{preventScrollReset:u});let{loaderData:Y,errors:te}=Qd(k,A,z,void 0,j,W,U);if(k.fetchers.has(t)){let e=bu(b.data);k.fetchers.set(t,e)}ae(E),"loading"===k.navigation.state&&E>B?(Tc(_,"Expected pending action"),S&&S.abort(),V(k.navigation.location,{matches:A,loaderData:Y,errors:te,fetchers:new Map(k.fetchers)})):(G({errors:te,loaderData:Zd(k.loaderData,Y,A,te),fetchers:new Map(k.fetchers)}),M=!1)}(t,n,m,y,h,f.active,s,b,g):($.set(t,{routeId:n,path:m}),async function(t,n,r,i,o,a,s,l,c){let d=k.fetchers.get(t);K(t,yu(c,d?d.data:void 0),{flushSync:s});let u=new AbortController,h=qd(e.history,r,u.signal);if(a){let e=await me(o,new URL(h.url).pathname,h.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void ee(t,n,e.error,{flushSync:s});if(!e.matches)return void ee(t,n,tu(404,{pathname:r}),{flushSync:s});i=mu(o=e.matches,r)}L.set(t,u);let p=P,f=(await Q("loader",0,h,[i],o,t))[i.route.id];if(ou(f)&&(f=await pu(f,h.signal,!0)||f),L.get(t)===u&&L.delete(t),!h.signal.aborted){if(!H.has(t))return su(f)?B>p?void K(t,bu(void 0)):(F.add(t),void await J(h,f,!1,{preventScrollReset:l})):void(au(f)?ee(t,n,f.error):(Tc(!ou(f),"Unhandled fetcher deferred data"),K(t,bu(f.data))));K(t,bu(void 0))}}(t,n,m,y,h,f.active,s,b,g))},revalidate:function(){X(),G({revalidation:"loading"}),"submitting"!==k.navigation.state&&("idle"!==k.navigation.state?q(_||k.historyAction,k.navigation.location,{overrideNavigation:k.navigation,enableViewTransition:!0===T}):q(k.historyAction,k.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:te,deleteFetcher:function(e){let t=(z.get(e)||0)-1;t<=0?(z.delete(e),H.add(e),p.v7_fetcherPersist||ne(e)):z.set(e,t),G({fetchers:new Map(k.fetchers)})},dispose:function(){f&&f(),j&&j(),m.clear(),S&&S.abort(),k.fetchers.forEach((e,t)=>ne(t)),k.blockers.forEach((e,t)=>se(t))},getBlocker:function(e,t){let n=k.blockers.get(e)||Dd;return W.get(e)!==t&&W.set(e,t),n},deleteBlocker:se,patchRoutes:function(e,t){let n=null==o;zd(e,t,o||c,l,i),n&&(c=[...c],G({}))},_internalFetchControllers:L,_internalActiveDeferreds:U,_internalSetRoutes:function(e){l={},o=Bc(e,i,void 0,l)}},s}function Od(e,t,n,r,i,o,a,s){let l,c;if(a){l=[];for(let e of t)if(l.push(e),e.route.id===a){c=e;break}}else l=t,c=t[t.length-1];let d=ad(i||".",od(l,o),td(e.pathname,n)||e.pathname,"path"===s);if(null==i&&(d.search=e.search,d.hash=e.hash),(null==i||""===i||"."===i)&&c){let e=fu(d.search);if(c.route.index&&!e)d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index";else if(!c.route.index&&e){let e=new URLSearchParams(d.search),t=e.getAll("index");e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();d.search=n?"?"+n:""}}return r&&"/"!==n&&(d.pathname="/"===d.pathname?n:sd([n,d.pathname])),Mc(d)}function Ld(e,t,n,r){if(!r||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(r))return{path:n};if(r.formMethod&&(i=r.formMethod,!Ad.has(i.toLowerCase())))return{path:n,error:tu(405,{method:r.formMethod})};var i;let o,a,s=()=>({path:n,error:tu(400,{type:"invalid-body"})}),l=r.formMethod||"get",c=e?l.toUpperCase():l.toLowerCase(),d=ru(n);if(void 0!==r.body){if("text/plain"===r.formEncType){if(!du(c))return s();let e="string"==typeof r.body?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((e,t)=>{let[n,r]=t;return""+e+n+"="+r+"\n"},""):String(r.body);return{path:n,submission:{formMethod:c,formAction:d,formEncType:r.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===r.formEncType){if(!du(c))return s();try{let e="string"==typeof r.body?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:c,formAction:d,formEncType:r.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return s()}}}if(Tc("function"==typeof FormData,"FormData is not available in this environment"),r.formData)o=Yd(r.formData),a=r.formData;else if(r.body instanceof FormData)o=Yd(r.body),a=r.body;else if(r.body instanceof URLSearchParams)o=r.body,a=Jd(o);else if(null==r.body)o=new URLSearchParams,a=new FormData;else try{o=new URLSearchParams(r.body),a=Jd(o)}catch(e){return s()}let u={formMethod:c,formAction:d,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:a,json:void 0,text:void 0};if(du(u.formMethod))return{path:n,submission:u};let h=Ic(n);return t&&h.search&&fu(h.search)&&o.append("index",""),h.search="?"+o,{path:Mc(h),submission:u}}function Pd(e,t,n){void 0===n&&(n=!1);let r=e.findIndex(e=>e.route.id===t);return r>=0?e.slice(0,n?r+1:r):e}function Bd(e,t,n,r,i,o,a,s,l,c,d,u,h,p,f,m){let g=m?au(m[1])?m[1].error:m[1].data:void 0,v=e.createURL(t.location),y=e.createURL(i),b=n;o&&t.errors?b=Pd(n,Object.keys(t.errors)[0],!0):m&&au(m[1])&&(b=Pd(n,m[0]));let x=m?m[1].statusCode:void 0,w=a&&x&&x>=400,C=b.filter((e,n)=>{let{route:i}=e;if(i.lazy)return!0;if(null==i.loader)return!1;if(o)return Nd(i,t.loaderData,t.errors);if(function(e,t,n){let r=!t||n.route.id!==t.route.id,i=void 0===e[n.route.id];return r||i}(t.loaderData,t.matches[n],e)||l.some(t=>t===e.route.id))return!0;let a=t.matches[n],c=e;return $d(e,Sc({currentUrl:v,currentParams:a.params,nextUrl:y,nextParams:c.params},r,{actionResult:g,actionStatus:x,defaultShouldRevalidate:!w&&(s||v.pathname+v.search===y.pathname+y.search||v.search!==y.search||Fd(a,c))}))}),S=[];return u.forEach((e,i)=>{if(o||!n.some(t=>t.route.id===e.routeId)||d.has(i))return;let a=Nc(p,e.path,f);if(!a)return void S.push({key:i,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let l=t.fetchers.get(i),u=mu(a,e.path),m=!1;h.has(i)?m=!1:c.has(i)?(c.delete(i),m=!0):m=l&&"idle"!==l.state&&void 0===l.data?s:$d(u,Sc({currentUrl:v,currentParams:t.matches[t.matches.length-1].params,nextUrl:y,nextParams:n[n.length-1].params},r,{actionResult:g,actionStatus:x,defaultShouldRevalidate:!w&&s})),m&&S.push({key:i,routeId:e.routeId,path:e.path,matches:a,match:u,controller:new AbortController})}),[C,S]}function Nd(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let r=null!=t&&void 0!==t[e.id],i=null!=n&&void 0!==n[e.id];return!(!r&&i)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!r&&!i)}function Fd(e,t){let n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function $d(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if("boolean"==typeof n)return n}return t.defaultShouldRevalidate}function zd(e,t,n,r,i){var o;let a;if(e){let t=r[e];Tc(t,"No route found to patch children into: routeId = "+e),t.children||(t.children=[]),a=t.children}else a=n;let s=Bc(t.filter(e=>!a.some(t=>Hd(e,t))),i,[e||"_","patch",String((null==(o=a)?void 0:o.length)||"0")],r);a.push(...s)}function Hd(e,t){return"id"in e&&"id"in t&&e.id===t.id||e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive&&(!(e.children&&0!==e.children.length||t.children&&0!==t.children.length)||e.children.every((e,n)=>{var r;return null==(r=t.children)?void 0:r.some(t=>Hd(e,t))}))}async function Ud(e){let{matches:t}=e,n=t.filter(e=>e.shouldLoad),r=await Promise.all(n.map(e=>e.resolve()));return r.reduce((e,t,r)=>Object.assign(e,{[n[r].route.id]:t}),{})}async function Wd(e){let{result:t,type:n}=e;if(cu(t)){let e;try{let n=t.headers.get("Content-Type");e=n&&/\bapplication\/json\b/.test(n)?null==t.body?null:await t.json():await t.text()}catch(e){return{type:Lc.error,error:e}}return n===Lc.error?{type:Lc.error,error:new bd(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:Lc.data,data:e,statusCode:t.status,headers:t.headers}}var r,i,o,a,s,l,c,d;return n===Lc.error?lu(t)?t.data instanceof Error?{type:Lc.error,error:t.data,statusCode:null==(o=t.init)?void 0:o.status,headers:null!=(a=t.init)&&a.headers?new Headers(t.init.headers):void 0}:{type:Lc.error,error:new bd((null==(r=t.init)?void 0:r.status)||500,void 0,t.data),statusCode:xd(t)?t.status:void 0,headers:null!=(i=t.init)&&i.headers?new Headers(t.init.headers):void 0}:{type:Lc.error,error:t,statusCode:xd(t)?t.status:void 0}:function(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}(t)?{type:Lc.deferred,deferredData:t,statusCode:null==(s=t.init)?void 0:s.status,headers:(null==(l=t.init)?void 0:l.headers)&&new Headers(t.init.headers)}:lu(t)?{type:Lc.data,data:t.data,statusCode:null==(c=t.init)?void 0:c.status,headers:null!=(d=t.init)&&d.headers?new Headers(t.init.headers):void 0}:{type:Lc.data,data:t}}function Gd(e,t,n,r,i,o){let a=e.headers.get("Location");if(Tc(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!jd.test(a)){let s=r.slice(0,r.findIndex(e=>e.route.id===n)+1);a=Od(new URL(t.url),s,i,!0,a,o),e.headers.set("Location",a)}return e}function Vd(e,t,n){if(jd.test(e)){let r=e,i=r.startsWith("//")?new URL(t.protocol+r):new URL(r),o=null!=td(i.pathname,n);if(i.origin===t.origin&&o)return i.pathname+i.search+i.hash}return e}function qd(e,t,n,r){let i=e.createURL(ru(t)).toString(),o={signal:n};if(r&&du(r.formMethod)){let{formMethod:e,formEncType:t}=r;o.method=e.toUpperCase(),"application/json"===t?(o.headers=new Headers({"Content-Type":t}),o.body=JSON.stringify(r.json)):"text/plain"===t?o.body=r.text:"application/x-www-form-urlencoded"===t&&r.formData?o.body=Yd(r.formData):o.body=r.formData}return new Request(i,o)}function Yd(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,"string"==typeof r?r:r.name);return t}function Jd(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function Qd(e,t,n,r,i,o,a){let{loaderData:s,errors:l}=function(e,t,n,r,i){let o,a={},s=null,l=!1,c={},d=n&&au(n[1])?n[1].error:void 0;return e.forEach(n=>{if(!(n.route.id in t))return;let u=n.route.id,h=t[u];if(Tc(!su(h),"Cannot handle redirect results in processLoaderData"),au(h)){let t=h.error;if(void 0!==d&&(t=d,d=void 0),s=s||{},i)s[u]=t;else{let n=Kd(e,u);null==s[n.route.id]&&(s[n.route.id]=t)}a[u]=void 0,l||(l=!0,o=xd(h.error)?h.error.status:500),h.headers&&(c[u]=h.headers)}else ou(h)?(r.set(u,h.deferredData),a[u]=h.deferredData.data,null==h.statusCode||200===h.statusCode||l||(o=h.statusCode),h.headers&&(c[u]=h.headers)):(a[u]=h.data,h.statusCode&&200!==h.statusCode&&!l&&(o=h.statusCode),h.headers&&(c[u]=h.headers))}),void 0!==d&&n&&(s={[n[0]]:d},a[n[0]]=void 0),{loaderData:a,errors:s,statusCode:o||200,loaderHeaders:c}}(t,n,r,a,!1);return i.forEach(t=>{let{key:n,match:r,controller:i}=t,a=o[n];if(Tc(a,"Did not find corresponding fetcher result"),!i||!i.signal.aborted)if(au(a)){let t=Kd(e.matches,null==r?void 0:r.route.id);l&&l[t.route.id]||(l=Sc({},l,{[t.route.id]:a.error})),e.fetchers.delete(n)}else if(su(a))Tc(!1,"Unhandled fetcher revalidation redirect");else if(ou(a))Tc(!1,"Unhandled fetcher deferred data");else{let t=bu(a.data);e.fetchers.set(n,t)}}),{loaderData:s,errors:l}}function Zd(e,t,n,r){let i=Sc({},t);for(let o of n){let n=o.route.id;if(t.hasOwnProperty(n)?void 0!==t[n]&&(i[n]=t[n]):void 0!==e[n]&&o.route.loader&&(i[n]=e[n]),r&&r.hasOwnProperty(n))break}return i}function Xd(e){return e?au(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Kd(e,t){let n=t?e.slice(0,e.findIndex(e=>e.route.id===t)+1):[...e];return n.reverse().find(e=>!0===e.route.hasErrorBoundary)||e[0]}function eu(e){let t=1===e.length?e[0]:e.find(e=>e.index||!e.path||"/"===e.path)||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function tu(e,t){let{pathname:n,routeId:r,method:i,type:o,message:a}=void 0===t?{}:t,s="Unknown Server Error",l="Unknown @remix-run/router error";return 400===e?(s="Bad Request",i&&n&&r?l="You made a "+i+' request to "'+n+'" but did not provide a `loader` for route "'+r+'", so there is no way to handle the request.':"defer-action"===o?l="defer() is not supported in actions":"invalid-body"===o&&(l="Unable to encode submission body")):403===e?(s="Forbidden",l='Route "'+r+'" does not match URL "'+n+'"'):404===e?(s="Not Found",l='No route matches URL "'+n+'"'):405===e&&(s="Method Not Allowed",i&&n&&r?l="You made a "+i.toUpperCase()+' request to "'+n+'" but did not provide an `action` for route "'+r+'", so there is no way to handle the request.':i&&(l='Invalid request method "'+i.toUpperCase()+'"')),new bd(e||500,s,new Error(l),!0)}function nu(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[n,r]=t[e];if(su(r))return{key:n,result:r}}}function ru(e){return Mc(Sc({},"string"==typeof e?Ic(e):e,{hash:""}))}function iu(e){return cu(e.result)&&kd.has(e.result.status)}function ou(e){return e.type===Lc.deferred}function au(e){return e.type===Lc.error}function su(e){return(e&&e.type)===Lc.redirect}function lu(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function cu(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function du(e){return Cd.has(e.toLowerCase())}async function uu(e,t,n,r,i){let o=Object.entries(t);for(let a=0;a<o.length;a++){let[s,l]=o[a],c=e.find(e=>(null==e?void 0:e.route.id)===s);if(!c)continue;let d=r.find(e=>e.route.id===c.route.id),u=null!=d&&!Fd(d,c)&&void 0!==(i&&i[c.route.id]);ou(l)&&u&&await pu(l,n,!1).then(e=>{e&&(t[s]=e)})}}async function hu(e,t,n){for(let r=0;r<n.length;r++){let{key:i,routeId:o,controller:a}=n[r],s=t[i],l=e.find(e=>(null==e?void 0:e.route.id)===o);l&&ou(s)&&(Tc(a,"Expected an AbortController for revalidating fetcher deferred result"),await pu(s,a.signal,!0).then(e=>{e&&(t[i]=e)}))}}async function pu(e,t,n){if(void 0===n&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:Lc.data,data:e.deferredData.unwrappedData}}catch(e){return{type:Lc.error,error:e}}return{type:Lc.data,data:e.deferredData.data}}}function fu(e){return new URLSearchParams(e).getAll("index").some(e=>""===e)}function mu(e,t){let n="string"==typeof t?Ic(t).search:t.search;if(e[e.length-1].route.index&&fu(n||""))return e[e.length-1];let r=id(e);return r[r.length-1]}function gu(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:o,json:a}=e;if(t&&n&&r)return null!=i?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i}:null!=o?{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0}:void 0!==a?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:a,text:void 0}:void 0}function vu(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function yu(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function bu(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function xu(){return xu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xu.apply(this,arguments)}Symbol("deferred");const wu=D.createContext(null),Cu=D.createContext(null),Su=D.createContext(null),Au=D.createContext(null),ku=D.createContext(null),_u=D.createContext({outlet:null,matches:[],isDataRoute:!1}),Eu=D.createContext(null);function Tu(e,t){let{relative:n}=void 0===t?{}:t;Du()||Tc(!1);let{basename:r,navigator:i}=D.useContext(Au),{hash:o,pathname:a,search:s}=Fu(e,{relative:n}),l=a;return"/"!==r&&(l="/"===a?r:sd([r,a])),i.createHref({pathname:l,search:s,hash:o})}function Du(){return null!=D.useContext(ku)}function ju(){return Du()||Tc(!1),D.useContext(ku).location}function Ru(){return D.useContext(ku).navigationType}function Mu(e){Du()||Tc(!1);let{pathname:t}=ju();return D.useMemo(()=>Kc(e,ed(t)),[t,e])}function Iu(e){D.useContext(Au).static||D.useLayoutEffect(e)}function Ou(){let{isDataRoute:e}=D.useContext(_u);return e?function(){let{router:e}=Ju(qu.UseNavigateStable),t=Zu(Yu.UseNavigateStable),n=D.useRef(!1);Iu(()=>{n.current=!0});let r=D.useCallback(function(r,i){void 0===i&&(i={}),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,xu({fromRouteId:t},i)))},[e,t]);return r}():function(){Du()||Tc(!1);let e=D.useContext(wu),{basename:t,future:n,navigator:r}=D.useContext(Au),{matches:i}=D.useContext(_u),{pathname:o}=ju(),a=JSON.stringify(od(i,n.v7_relativeSplatPath)),s=D.useRef(!1);Iu(()=>{s.current=!0});let l=D.useCallback(function(n,i){if(void 0===i&&(i={}),!s.current)return;if("number"==typeof n)return void r.go(n);let l=ad(n,JSON.parse(a),o,"path"===i.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:sd([t,l.pathname])),(i.replace?r.replace:r.push)(l,i.state,i)},[t,r,a,o,e]);return l}()}const Lu=D.createContext(null);function Pu(){return D.useContext(Lu)}function Bu(e){let t=D.useContext(_u).outlet;return t?D.createElement(Lu.Provider,{value:e},t):t}function Nu(){let{matches:e}=D.useContext(_u),t=e[e.length-1];return t?t.params:{}}function Fu(e,t){let{relative:n}=void 0===t?{}:t,{future:r}=D.useContext(Au),{matches:i}=D.useContext(_u),{pathname:o}=ju(),a=JSON.stringify(od(i,r.v7_relativeSplatPath));return D.useMemo(()=>ad(e,JSON.parse(a),o,"path"===n),[e,a,o,n])}function $u(e,t){return zu(e,t)}function zu(e,t,n,r){Du()||Tc(!1);let{navigator:i}=D.useContext(Au),{matches:o}=D.useContext(_u),a=o[o.length-1],s=a?a.params:{},l=(a&&a.pathname,a?a.pathnameBase:"/");a&&a.route;let c,d=ju();if(t){var u;let e="string"==typeof t?Ic(t):t;"/"===l||(null==(u=e.pathname)?void 0:u.startsWith(l))||Tc(!1),c=e}else c=d;let h=c.pathname||"/",p=h;if("/"!==l){let e=l.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(e.length).join("/")}let f=Nc(e,{pathname:p}),m=Vu(f&&f.map(e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:sd([l,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?l:sd([l,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),o,n,r);return t&&m?D.createElement(ku.Provider,{value:{location:xu({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:wc.Pop}},m):m}function Hu(){let e=oh(),t=xd(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return D.createElement(D.Fragment,null,D.createElement("h2",null,"Unexpected Application Error!"),D.createElement("h3",{style:{fontStyle:"italic"}},t),n?D.createElement("pre",{style:r},n):null,null)}const Uu=D.createElement(Hu,null);class Wu extends D.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?D.createElement(_u.Provider,{value:this.props.routeContext},D.createElement(Eu.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Gu(e){let{routeContext:t,match:n,children:r}=e,i=D.useContext(wu);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),D.createElement(_u.Provider,{value:t},r)}function Vu(e,t,n,r){var i;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===r&&(r=null),null==e){var o;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(o=r)&&o.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let a=e,s=null==(i=n)?void 0:i.errors;if(null!=s){let e=a.findIndex(e=>e.route.id&&void 0!==(null==s?void 0:s[e.route.id]));e>=0||Tc(!1),a=a.slice(0,Math.min(a.length,e+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let e=0;e<a.length;e++){let t=a[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(c=e),t.route.id){let{loaderData:e,errors:r}=n,i=t.route.loader&&void 0===e[t.route.id]&&(!r||void 0===r[t.route.id]);if(t.route.lazy||i){l=!0,a=c>=0?a.slice(0,c+1):[a[0]];break}}}return a.reduceRight((e,r,i)=>{let o,d=!1,u=null,h=null;var p;n&&(o=s&&r.route.id?s[r.route.id]:void 0,u=r.route.errorElement||Uu,l&&(c<0&&0===i?(dh[p="route-fallback"]||(dh[p]=!0),d=!0,h=null):c===i&&(d=!0,h=r.route.hydrateFallbackElement||null)));let f=t.concat(a.slice(0,i+1)),m=()=>{let t;return t=o?u:d?h:r.route.Component?D.createElement(r.route.Component,null):r.route.element?r.route.element:e,D.createElement(Gu,{match:r,routeContext:{outlet:e,matches:f,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===i)?D.createElement(Wu,{location:n.location,revalidation:n.revalidation,component:u,error:o,children:m(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):m()},null)}var qu=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(qu||{}),Yu=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Yu||{});function Ju(e){let t=D.useContext(wu);return t||Tc(!1),t}function Qu(e){let t=D.useContext(Cu);return t||Tc(!1),t}function Zu(e){let t=function(){let e=D.useContext(_u);return e||Tc(!1),e}(),n=t.matches[t.matches.length-1];return n.route.id||Tc(!1),n.route.id}function Xu(){return Zu(Yu.UseRouteId)}function Ku(){return Qu(Yu.UseNavigation).navigation}function eh(){let e=Ju(qu.UseRevalidator),t=Qu(Yu.UseRevalidator);return D.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])}function th(){let{matches:e,loaderData:t}=Qu(Yu.UseMatches);return D.useMemo(()=>e.map(e=>$c(e,t)),[e,t])}function nh(){let e=Qu(Yu.UseLoaderData),t=Zu(Yu.UseLoaderData);if(!e.errors||null==e.errors[t])return e.loaderData[t];console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")")}function rh(e){return Qu(Yu.UseRouteLoaderData).loaderData[e]}function ih(){let e=Qu(Yu.UseActionData),t=Zu(Yu.UseLoaderData);return e.actionData?e.actionData[t]:void 0}function oh(){var e;let t=D.useContext(Eu),n=Qu(Yu.UseRouteError),r=Zu(Yu.UseRouteError);return void 0!==t?t:null==(e=n.errors)?void 0:e[r]}function ah(){let e=D.useContext(Su);return null==e?void 0:e._data}function sh(){let e=D.useContext(Su);return null==e?void 0:e._error}let lh=0;function ch(e){let{router:t,basename:n}=Ju(qu.UseBlocker),r=Qu(Yu.UseBlocker),[i,o]=D.useState(""),a=D.useCallback(t=>{if("function"!=typeof e)return!!e;if("/"===n)return e(t);let{currentLocation:r,nextLocation:i,historyAction:o}=t;return e({currentLocation:xu({},r,{pathname:td(r.pathname,n)||r.pathname}),nextLocation:xu({},i,{pathname:td(i.pathname,n)||i.pathname}),historyAction:o})},[n,e]);return D.useEffect(()=>{let e=String(++lh);return o(e),()=>t.deleteBlocker(e)},[t]),D.useEffect(()=>{""!==i&&t.getBlocker(i,a)},[t,i,a]),i&&r.blockers.has(i)?r.blockers.get(i):Dd}const dh={},uh=(e,t,n)=>{};function hh(e,t){void 0===(null==e?void 0:e.v7_startTransition)&&uh("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),void 0!==(null==e?void 0:e.v7_relativeSplatPath)||t&&void 0!==t.v7_relativeSplatPath||uh("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),t&&(void 0===t.v7_fetcherPersist&&uh("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),void 0===t.v7_normalizeFormMethod&&uh("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),void 0===t.v7_partialHydration&&uh("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),void 0===t.v7_skipActionErrorRevalidation&&uh("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}const ph=j.startTransition;function fh(e){let{basename:t,children:n,initialEntries:r,initialIndex:i,future:o}=e,a=D.useRef();null==a.current&&(a.current=kc({initialEntries:r,initialIndex:i,v5Compat:!0}));let s=a.current,[l,c]=D.useState({action:s.action,location:s.location}),{v7_startTransition:d}=o||{},u=D.useCallback(e=>{d&&ph?ph(()=>c(e)):c(e)},[c,d]);return D.useLayoutEffect(()=>s.listen(u),[s,u]),D.useEffect(()=>hh(o),[o]),D.createElement(yh,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s,future:o})}function mh(e){let{to:t,replace:n,state:r,relative:i}=e;Du()||Tc(!1);let{future:o,static:a}=D.useContext(Au),{matches:s}=D.useContext(_u),{pathname:l}=ju(),c=Ou(),d=ad(t,od(s,o.v7_relativeSplatPath),l,"path"===i),u=JSON.stringify(d);return D.useEffect(()=>c(JSON.parse(u),{replace:n,state:r,relative:i}),[c,u,i,n,r]),null}function gh(e){return Bu(e.context)}function vh(e){Tc(!1)}function yh(e){let{basename:t="/",children:n=null,location:r,navigationType:i=wc.Pop,navigator:o,static:a=!1,future:s}=e;Du()&&Tc(!1);let l=t.replace(/^\/*/,"/"),c=D.useMemo(()=>({basename:l,navigator:o,static:a,future:xu({v7_relativeSplatPath:!1},s)}),[l,s,o,a]);"string"==typeof r&&(r=Ic(r));let{pathname:d="/",search:u="",hash:h="",state:p=null,key:f="default"}=r,m=D.useMemo(()=>{let e=td(d,l);return null==e?null:{location:{pathname:e,search:u,hash:h,state:p,key:f},navigationType:i}},[l,d,u,h,p,f,i]);return null==m?null:D.createElement(Au.Provider,{value:c},D.createElement(ku.Provider,{children:n,value:m}))}function bh(e){let{children:t,location:n}=e;return $u(kh(t),n)}function xh(e){let{children:t,errorElement:n,resolve:r}=e;return D.createElement(Sh,{resolve:r,errorElement:n},D.createElement(Ah,null,t))}var wh=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(wh||{});const Ch=new Promise(()=>{});class Sh extends D.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:n}=this.props,r=null,i=wh.pending;if(n instanceof Promise)if(this.state.error){i=wh.error;let e=this.state.error;r=Promise.reject().catch(()=>{}),Object.defineProperty(r,"_tracked",{get:()=>!0}),Object.defineProperty(r,"_error",{get:()=>e})}else n._tracked?(r=n,i="_error"in r?wh.error:"_data"in r?wh.success:wh.pending):(i=wh.pending,Object.defineProperty(n,"_tracked",{get:()=>!0}),r=n.then(e=>Object.defineProperty(n,"_data",{get:()=>e}),e=>Object.defineProperty(n,"_error",{get:()=>e})));else i=wh.success,r=Promise.resolve(),Object.defineProperty(r,"_tracked",{get:()=>!0}),Object.defineProperty(r,"_data",{get:()=>n});if(i===wh.error&&r._error instanceof hd)throw Ch;if(i===wh.error&&!t)throw r._error;if(i===wh.error)return D.createElement(Su.Provider,{value:r,children:t});if(i===wh.success)return D.createElement(Su.Provider,{value:r,children:e});throw r}}function Ah(e){let{children:t}=e,n=ah(),r="function"==typeof t?t(n):t;return D.createElement(D.Fragment,null,r)}function kh(e,t){void 0===t&&(t=[]);let n=[];return D.Children.forEach(e,(e,r)=>{if(!D.isValidElement(e))return;let i=[...t,r];if(e.type===D.Fragment)return void n.push.apply(n,kh(e.props.children,i));e.type!==vh&&Tc(!1),e.props.index&&e.props.children&&Tc(!1);let o={id:e.props.id||i.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=kh(e.props.children,i)),n.push(o)}),n}function _h(e){return Vu(e)}function Eh(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:D.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:D.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:D.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function Th(e,t){return Id({basename:null==t?void 0:t.basename,future:xu({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:kc({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:Eh,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()}function Dh(){return Dh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dh.apply(this,arguments)}function jh(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}const Rh="get",Mh="application/x-www-form-urlencoded";function Ih(e){return null!=e&&"string"==typeof e.tagName}function Oh(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}let Lh=null;const Ph=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Bh(e){return null==e||Ph.has(e)?e:null}const Nh=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Fh=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],$h=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(p$){}function zh(e,t){return Id({basename:null==t?void 0:t.basename,future:Dh({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:_c({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||Uh(),routes:e,mapRouteProperties:Eh,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function Hh(e,t){return Id({basename:null==t?void 0:t.basename,future:Dh({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:Ec({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||Uh(),routes:e,mapRouteProperties:Eh,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function Uh(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=Dh({},t,{errors:Wh(t.errors)})),t}function Wh(e){if(!e)return null;let t=Object.entries(e),n={};for(let[e,r]of t)if(r&&"RouteErrorResponse"===r.__type)n[e]=new bd(r.status,r.statusText,r.data,!0===r.internal);else if(r&&"Error"===r.__type){if(r.__subType){let t=window[r.__subType];if("function"==typeof t)try{let i=new t(r.message);i.stack="",n[e]=i}catch(e){}}if(null==n[e]){let t=new Error(r.message);t.stack="",n[e]=t}}else n[e]=r;return n}const Gh=D.createContext({isTransitioning:!1}),Vh=D.createContext(new Map),qh=j.startTransition,Yh=Br.flushSync,Jh=j.useId;function Qh(e){Yh?Yh(e):e()}class Zh{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}})}}function Xh(e){let{fallbackElement:t,router:n,future:r}=e,[i,o]=D.useState(n.state),[a,s]=D.useState(),[l,c]=D.useState({isTransitioning:!1}),[d,u]=D.useState(),[h,p]=D.useState(),[f,m]=D.useState(),g=D.useRef(new Map),{v7_startTransition:v}=r||{},y=D.useCallback(e=>{v?function(e){qh?qh(e):e()}(e):e()},[v]),b=D.useCallback((e,t)=>{let{deletedFetchers:r,flushSync:i,viewTransitionOpts:a}=t;e.fetchers.forEach((e,t)=>{void 0!==e.data&&g.current.set(t,e.data)}),r.forEach(e=>g.current.delete(e));let l=null==n.window||null==n.window.document||"function"!=typeof n.window.document.startViewTransition;if(a&&!l){if(i){Qh(()=>{h&&(d&&d.resolve(),h.skipTransition()),c({isTransitioning:!0,flushSync:!0,currentLocation:a.currentLocation,nextLocation:a.nextLocation})});let t=n.window.document.startViewTransition(()=>{Qh(()=>o(e))});return t.finished.finally(()=>{Qh(()=>{u(void 0),p(void 0),s(void 0),c({isTransitioning:!1})})}),void Qh(()=>p(t))}h?(d&&d.resolve(),h.skipTransition(),m({state:e,currentLocation:a.currentLocation,nextLocation:a.nextLocation})):(s(e),c({isTransitioning:!0,flushSync:!1,currentLocation:a.currentLocation,nextLocation:a.nextLocation}))}else i?Qh(()=>o(e)):y(()=>o(e))},[n.window,h,d,g,y]);D.useLayoutEffect(()=>n.subscribe(b),[n,b]),D.useEffect(()=>{l.isTransitioning&&!l.flushSync&&u(new Zh)},[l]),D.useEffect(()=>{if(d&&a&&n.window){let e=a,t=d.promise,r=n.window.document.startViewTransition(async()=>{y(()=>o(e)),await t});r.finished.finally(()=>{u(void 0),p(void 0),s(void 0),c({isTransitioning:!1})}),p(r)}},[y,a,d,n.window]),D.useEffect(()=>{d&&a&&i.location.key===a.location.key&&d.resolve()},[d,h,i.location,a]),D.useEffect(()=>{!l.isTransitioning&&f&&(s(f.state),c({isTransitioning:!0,flushSync:!1,currentLocation:f.currentLocation,nextLocation:f.nextLocation}),m(void 0))},[l.isTransitioning,f]),D.useEffect(()=>{},[]);let x=D.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,r)=>n.navigate(e,{state:t,preventScrollReset:null==r?void 0:r.preventScrollReset}),replace:(e,t,r)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})}),[n]),w=n.basename||"/",C=D.useMemo(()=>({router:n,navigator:x,static:!1,basename:w}),[n,x,w]),S=D.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return D.useEffect(()=>hh(r,n.future),[r,n.future]),D.createElement(D.Fragment,null,D.createElement(wu.Provider,{value:C},D.createElement(Cu.Provider,{value:i},D.createElement(Vh.Provider,{value:g.current},D.createElement(Gh.Provider,{value:l},D.createElement(yh,{basename:w,location:i.location,navigationType:i.historyAction,navigator:x,future:S},i.initialized||n.future.v7_partialHydration?D.createElement(Kh,{routes:n.routes,future:n.future,state:i}):t))))),null)}const Kh=D.memo(ep);function ep(e){let{routes:t,future:n,state:r}=e;return zu(t,void 0,r,n)}function tp(e){let{basename:t,children:n,future:r,window:i}=e,o=D.useRef();null==o.current&&(o.current=_c({window:i,v5Compat:!0}));let a=o.current,[s,l]=D.useState({action:a.action,location:a.location}),{v7_startTransition:c}=r||{},d=D.useCallback(e=>{c&&qh?qh(()=>l(e)):l(e)},[l,c]);return D.useLayoutEffect(()=>a.listen(d),[a,d]),D.useEffect(()=>hh(r),[r]),D.createElement(yh,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a,future:r})}function np(e){let{basename:t,children:n,future:r,window:i}=e,o=D.useRef();null==o.current&&(o.current=Ec({window:i,v5Compat:!0}));let a=o.current,[s,l]=D.useState({action:a.action,location:a.location}),{v7_startTransition:c}=r||{},d=D.useCallback(e=>{c&&qh?qh(()=>l(e)):l(e)},[l,c]);return D.useLayoutEffect(()=>a.listen(d),[a,d]),D.useEffect(()=>hh(r),[r]),D.createElement(yh,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a,future:r})}function rp(e){let{basename:t,children:n,future:r,history:i}=e,[o,a]=D.useState({action:i.action,location:i.location}),{v7_startTransition:s}=r||{},l=D.useCallback(e=>{s&&qh?qh(()=>a(e)):a(e)},[a,s]);return D.useLayoutEffect(()=>i.listen(l),[i,l]),D.useEffect(()=>hh(r),[r]),D.createElement(yh,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:i,future:r})}const ip="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,op=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ap=D.forwardRef(function(e,t){let n,{onClick:r,relative:i,reloadDocument:o,replace:a,state:s,target:l,to:c,preventScrollReset:d,viewTransition:u}=e,h=jh(e,Nh),{basename:p}=D.useContext(Au),f=!1;if("string"==typeof c&&op.test(c)&&(n=c,ip))try{let e=new URL(window.location.href),t=c.startsWith("//")?new URL(e.protocol+c):new URL(c),n=td(t.pathname,p);t.origin===e.origin&&null!=n?c=n+t.search+t.hash:f=!0}catch(e){}let m=Tu(c,{relative:i}),g=fp(c,{replace:a,state:s,target:l,preventScrollReset:d,relative:i,viewTransition:u});return D.createElement("a",Dh({},h,{href:n||m,onClick:f||o?r:function(e){r&&r(e),e.defaultPrevented||g(e)},ref:t,target:l}))}),sp=D.forwardRef(function(e,t){let{"aria-current":n="page",caseSensitive:r=!1,className:i="",end:o=!1,style:a,to:s,viewTransition:l,children:c}=e,d=jh(e,Fh),u=Fu(s,{relative:d.relative}),h=ju(),p=D.useContext(Cu),{navigator:f,basename:m}=D.useContext(Au),g=null!=p&&Ep(u)&&!0===l,v=f.encodeLocation?f.encodeLocation(u).pathname:u.pathname,y=h.pathname,b=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;r||(y=y.toLowerCase(),b=b?b.toLowerCase():null,v=v.toLowerCase()),b&&m&&(b=td(b,m)||b);const x="/"!==v&&v.endsWith("/")?v.length-1:v.length;let w,C=y===v||!o&&y.startsWith(v)&&"/"===y.charAt(x),S=null!=b&&(b===v||!o&&b.startsWith(v)&&"/"===b.charAt(v.length)),A={isActive:C,isPending:S,isTransitioning:g},k=C?n:void 0;w="function"==typeof i?i(A):[i,C?"active":null,S?"pending":null,g?"transitioning":null].filter(Boolean).join(" ");let _="function"==typeof a?a(A):a;return D.createElement(ap,Dh({},d,{"aria-current":k,className:w,ref:t,style:_,to:s,viewTransition:l}),"function"==typeof c?c(A):c)}),lp=D.forwardRef((e,t)=>{let{fetcherKey:n,navigate:r,reloadDocument:i,replace:o,state:a,method:s=Rh,action:l,onSubmit:c,relative:d,preventScrollReset:u,viewTransition:h}=e,p=jh(e,$h),f=yp(),m=bp(l,{relative:d}),g="get"===s.toLowerCase()?"get":"post";return D.createElement("form",Dh({ref:t,method:g,action:m,onSubmit:i?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,i=(null==t?void 0:t.getAttribute("formmethod"))||s;f(t||e.currentTarget,{fetcherKey:n,method:i,navigate:r,replace:o,state:a,relative:d,preventScrollReset:u,viewTransition:h})}},p))});function cp(e){let{getKey:t,storageKey:n}=e;return Ap({getKey:t,storageKey:n}),null}var dp,up;function hp(e){let t=D.useContext(wu);return t||Tc(!1),t}function pp(e){let t=D.useContext(Cu);return t||Tc(!1),t}function fp(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:a,viewTransition:s}=void 0===t?{}:t,l=Ou(),c=ju(),d=Fu(e,{relative:a});return D.useCallback(t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==r?r:Mc(c)===Mc(d);l(e,{replace:n,state:i,preventScrollReset:o,relative:a,viewTransition:s})}},[c,l,d,r,i,n,e,o,a,s])}function mp(e){let t=D.useRef(Oh(e)),n=D.useRef(!1),r=ju(),i=D.useMemo(()=>function(e,t){let n=Oh(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}(r.search,n.current?null:t.current),[r.search]),o=Ou(),a=D.useCallback((e,t)=>{const r=Oh("function"==typeof e?e(i):e);n.current=!0,o("?"+r,t)},[o,i]);return[i,a]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(dp||(dp={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(up||(up={}));let gp=0,vp=()=>"__"+String(++gp)+"__";function yp(){let{router:e}=hp(dp.UseSubmit),{basename:t}=D.useContext(Au),n=Xu();return D.useCallback(function(r,i){void 0===i&&(i={}),function(){if("undefined"==typeof document)throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}();let{action:o,method:a,encType:s,formData:l,body:c}=function(e,t){let n,r,i,o,a;if(Ih(s=e)&&"form"===s.tagName.toLowerCase()){let a=e.getAttribute("action");r=a?td(a,t):null,n=e.getAttribute("method")||Rh,i=Bh(e.getAttribute("enctype"))||Mh,o=new FormData(e)}else if(function(e){return Ih(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return Ih(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let a=e.form;if(null==a)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||a.getAttribute("action");if(r=s?td(s,t):null,n=e.getAttribute("formmethod")||a.getAttribute("method")||Rh,i=Bh(e.getAttribute("formenctype"))||Bh(a.getAttribute("enctype"))||Mh,o=new FormData(a,e),!function(){if(null===Lh)try{new FormData(document.createElement("form"),0),Lh=!1}catch(e){Lh=!0}return Lh}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?t+".":"";o.append(e+"x","0"),o.append(e+"y","0")}else t&&o.append(t,r)}}else{if(Ih(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Rh,r=null,i=Mh,a=e}var s;return o&&"text/plain"===i&&(a=o,o=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:o,body:a}}(r,t);if(!1===i.navigate){let t=i.fetcherKey||vp();e.fetch(t,n,i.action||o,{preventScrollReset:i.preventScrollReset,formData:l,body:c,formMethod:i.method||a,formEncType:i.encType||s,flushSync:i.flushSync})}else e.navigate(i.action||o,{preventScrollReset:i.preventScrollReset,formData:l,body:c,formMethod:i.method||a,formEncType:i.encType||s,replace:i.replace,state:i.state,fromRouteId:n,flushSync:i.flushSync,viewTransition:i.viewTransition})},[e,t,n])}function bp(e,t){let{relative:n}=void 0===t?{}:t,{basename:r}=D.useContext(Au),i=D.useContext(_u);i||Tc(!1);let[o]=i.matches.slice(-1),a=Dh({},Fu(e||".",{relative:n})),s=ju();if(null==e){a.search=s.search;let e=new URLSearchParams(a.search),t=e.getAll("index"),n=t.some(e=>""===e);if(n){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();a.search=n?"?"+n:""}}return e&&"."!==e||!o.route.index||(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),"/"!==r&&(a.pathname="/"===a.pathname?r:sd([r,a.pathname])),Mc(a)}function xp(e){var t;let{key:n}=void 0===e?{}:e,{router:r}=hp(dp.UseFetcher),i=pp(up.UseFetcher),o=D.useContext(Vh),a=D.useContext(_u),s=null==(t=a.matches[a.matches.length-1])?void 0:t.route.id;o||Tc(!1),a||Tc(!1),null==s&&Tc(!1);let l=Jh?Jh():"",[c,d]=D.useState(n||l);n&&n!==c?d(n):c||d(vp()),D.useEffect(()=>(r.getFetcher(c),()=>{r.deleteFetcher(c)}),[r,c]);let u=D.useCallback((e,t)=>{s||Tc(!1),r.fetch(c,s,e,t)},[c,s,r]),h=yp(),p=D.useCallback((e,t)=>{h(e,Dh({},t,{navigate:!1,fetcherKey:c}))},[c,h]),f=D.useMemo(()=>D.forwardRef((e,t)=>D.createElement(lp,Dh({},e,{navigate:!1,fetcherKey:c,ref:t}))),[c]),m=i.fetchers.get(c)||Td,g=o.get(c);return D.useMemo(()=>Dh({Form:f,submit:p,load:u},m,{data:g}),[f,p,u,m,g])}function wp(){let e=pp(up.UseFetchers);return Array.from(e.fetchers.entries()).map(e=>{let[t,n]=e;return Dh({},n,{key:t})})}const Cp="react-router-scroll-positions";let Sp={};function Ap(e){let{getKey:t,storageKey:n}=void 0===e?{}:e,{router:r}=hp(dp.UseScrollRestoration),{restoreScrollPosition:i,preventScrollReset:o}=pp(up.UseScrollRestoration),{basename:a}=D.useContext(Au),s=ju(),l=th(),c=Ku();D.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),function(e){let{capture:t}={};D.useEffect(()=>{let n=null!=t?{capture:t}:void 0;return window.addEventListener("pagehide",e,n),()=>{window.removeEventListener("pagehide",e,n)}},[e,t])}(D.useCallback(()=>{if("idle"===c.state){let e=(t?t(s,l):null)||s.key;Sp[e]=window.scrollY}try{sessionStorage.setItem(n||Cp,JSON.stringify(Sp))}catch(e){}window.history.scrollRestoration="auto"},[n,t,c.state,s,l])),"undefined"!=typeof document&&(D.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(n||Cp);e&&(Sp=JSON.parse(e))}catch(e){}},[n]),D.useLayoutEffect(()=>{let e=t&&"/"!==a?(e,n)=>t(Dh({},e,{pathname:td(e.pathname,a)||e.pathname}),n):t,n=null==r?void 0:r.enableScrollRestoration(Sp,()=>window.scrollY,e);return()=>n&&n()},[r,a,t]),D.useLayoutEffect(()=>{if(!1!==i)if("number"!=typeof i){if(s.hash){let e=document.getElementById(decodeURIComponent(s.hash.slice(1)));if(e)return void e.scrollIntoView()}!0!==o&&window.scrollTo(0,0)}else window.scrollTo(0,i)},[s,i,o]))}function kp(e,t){let{capture:n}=t||{};D.useEffect(()=>{let t=null!=n?{capture:n}:void 0;return window.addEventListener("beforeunload",e,t),()=>{window.removeEventListener("beforeunload",e,t)}},[e,n])}function _p(e){let{when:t,message:n}=e,r=ch(t);D.useEffect(()=>{"blocked"===r.state&&(window.confirm(n)?setTimeout(r.proceed,0):r.reset())},[r,n]),D.useEffect(()=>{"blocked"!==r.state||t||r.reset()},[r,t])}function Ep(e,t){void 0===t&&(t={});let n=D.useContext(Gh);null==n&&Tc(!1);let{basename:r}=hp(dp.useViewTransitionState),i=Fu(e,{relative:t.relative});if(!n.isTransitioning)return!1;let o=td(n.currentLocation.pathname,r)||n.currentLocation.pathname,a=td(n.nextLocation.pathname,r)||n.nextLocation.pathname;return null!=Kc(i.pathname,a)||null!=Kc(i.pathname,o)}var Tp=i(2945),Dp=i.n(Tp);const jp=function(e){function t(e,r,l,c,h){for(var p,f,m,g,x,C=0,S=0,A=0,k=0,_=0,M=0,O=m=p=0,P=0,B=0,N=0,F=0,$=l.length,z=$-1,H="",U="",W="",G="";P<$;){if(f=l.charCodeAt(P),P===z&&0!==S+k+A+C&&(0!==S&&(f=47===S?10:47),k=A=C=0,$++,z++),0===S+k+A+C){if(P===z&&(0<B&&(H=H.replace(u,"")),0<H.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:H+=l.charAt(P)}f=59}switch(f){case 123:for(p=(H=H.trim()).charCodeAt(0),m=1,F=++P;P<$;){switch(f=l.charCodeAt(P)){case 123:m++;break;case 125:m--;break;case 47:switch(f=l.charCodeAt(P+1)){case 42:case 47:e:{for(O=P+1;O<z;++O)switch(l.charCodeAt(O)){case 47:if(42===f&&42===l.charCodeAt(O-1)&&P+2!==O){P=O+1;break e}break;case 10:if(47===f){P=O+1;break e}}P=O}}break;case 91:f++;case 40:f++;case 34:case 39:for(;P++<z&&l.charCodeAt(P)!==f;);}if(0===m)break;P++}if(m=l.substring(F,P),0===p&&(p=(H=H.replace(d,"").trim()).charCodeAt(0)),64===p){switch(0<B&&(H=H.replace(u,"")),f=H.charCodeAt(1)){case 100:case 109:case 115:case 45:B=r;break;default:B=R}if(F=(m=t(r,B,m,f,h+1)).length,0<I&&(x=s(3,m,B=n(R,H,N),r,T,E,F,f,h,c),H=B.join(""),void 0!==x&&0===(F=(m=x.trim()).length)&&(f=0,m="")),0<F)switch(f){case 115:H=H.replace(w,a);case 100:case 109:case 45:m=H+"{"+m+"}";break;case 107:m=(H=H.replace(v,"$1 $2"))+"{"+m+"}",m=1===j||2===j&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=H+m,112===c&&(U+=m,m="")}else m=""}else m=t(r,n(r,H,N),m,c,h+1);W+=m,m=N=B=O=p=0,H="",f=l.charCodeAt(++P);break;case 125:case 59:if(1<(F=(H=(0<B?H.replace(u,""):H).trim()).length))switch(0===O&&(p=H.charCodeAt(0),45===p||96<p&&123>p)&&(F=(H=H.replace(" ",":")).length),0<I&&void 0!==(x=s(1,H,r,e,T,E,U.length,c,h,c))&&0===(F=(H=x.trim()).length)&&(H="\0\0"),p=H.charCodeAt(0),f=H.charCodeAt(1),p){case 0:break;case 64:if(105===f||99===f){G+=H+l.charAt(P);break}default:58!==H.charCodeAt(F-1)&&(U+=i(H,p,f,H.charCodeAt(2)))}N=B=O=p=0,H="",f=l.charCodeAt(++P)}}switch(f){case 13:case 10:47===S?S=0:0===1+p&&107!==c&&0<H.length&&(B=1,H+="\0"),0<I*L&&s(0,H,r,e,T,E,U.length,c,h,c),E=1,T++;break;case 59:case 125:if(0===S+k+A+C){E++;break}default:switch(E++,g=l.charAt(P),f){case 9:case 32:if(0===k+C+S)switch(_){case 44:case 58:case 9:case 32:g="";break;default:32!==f&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===k+S+C&&(B=N=1,g="\f"+g);break;case 108:if(0===k+S+C+D&&0<O)switch(P-O){case 2:112===_&&58===l.charCodeAt(P-3)&&(D=_);case 8:111===M&&(D=M)}break;case 58:0===k+S+C&&(O=P);break;case 44:0===S+A+k+C&&(B=1,g+="\r");break;case 34:case 39:0===S&&(k=k===f?0:0===k?f:k);break;case 91:0===k+S+A&&C++;break;case 93:0===k+S+A&&C--;break;case 41:0===k+S+C&&A--;break;case 40:0===k+S+C&&(0===p&&(2*_+3*M==533||(p=1)),A++);break;case 64:0===S+A+k+C+O+m&&(m=1);break;case 42:case 47:if(!(0<k+C+A))switch(S){case 0:switch(2*f+3*l.charCodeAt(P+1)){case 235:S=47;break;case 220:F=P,S=42}break;case 42:47===f&&42===_&&F+2!==P&&(33===l.charCodeAt(F+2)&&(U+=l.substring(F,P+1)),g="",S=0)}}0===S&&(H+=g)}M=_,_=f,P++}if(0<(F=U.length)){if(B=r,0<I&&void 0!==(x=s(2,U,B,e,T,E,F,c,h,c))&&0===(U=x).length)return G+U+W;if(U=B.join(",")+"{"+U+"}",0!==j*D){switch(2!==j||o(U,2)||(D=0),D){case 111:U=U.replace(b,":-moz-$1")+U;break;case 112:U=U.replace(y,"::-webkit-input-$1")+U.replace(y,"::-moz-$1")+U.replace(y,":-ms-input-$1")+U}D=0}}return G+U+W}function n(e,t,n){var i=t.trim().split(m);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=r(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<o;++s)for(var c=0;c<a;++c)t[l++]=r(e[c]+" ",i[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===j||2===j&&o(l,1)?"-webkit-"+l+l:l}if(0===j||2===j&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(_,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return p.test(a)?a.replace(h,":-webkit-")+a.replace(h,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(x,"tb");break;case 232:l=a.replace(x,"tb-rl");break;case 220:l=a.replace(x,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(S,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(S,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),O(2!==t?r:r.replace(A,"$1"),n,t)}function a(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(C," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,i,o,a,s,l,d){for(var u,h=0,p=t;h<I;++h)switch(u=M[h].call(c,e,p,n,r,i,o,a,s,l,d)){case void 0:case!1:case!0:case null:break;default:p=u}if(p!==t)return p}function l(e){return void 0!==(e=e.prefix)&&(O=null,e?"function"!=typeof e?j=1:(j=2,O=e):j=0),l}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<I){var i=s(-1,n,r,r,T,E,0,0,0,0);void 0!==i&&"string"==typeof i&&(n=i)}var o=t(R,r,n,0,0);return 0<I&&void 0!==(i=s(-2,o,r,r,T,E,o.length,0,0,0))&&(o=i),D=0,E=T=1,o}var d=/^\0+/g,u=/[\0\r\f]/g,h=/: */g,p=/zoo|gra/,f=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,x=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,C=/([\s\S]*?);/g,S=/-self|flex-/g,A=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,_=/([^-])(image-set\()/,E=1,T=1,D=0,j=1,R=[],M=[],I=0,O=null,L=0;return c.use=function e(t){switch(t){case void 0:case null:I=M.length=0;break;default:if("function"==typeof t)M[I++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else L=0|!!t}return e},c.set=l,void 0!==e&&l(e),c},Rp={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Mp(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Ip=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|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|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|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|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|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)-.*))$/,Op=Mp(function(e){return Ip.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91});function Lp(){return(Lp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Pp=function(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n},Bp=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,Ql.typeOf)(e)},Np=Object.freeze([]),Fp=Object.freeze({});function $p(e){return"function"==typeof e}function zp(e){return e.displayName||e.name||"Component"}function Hp(e){return e&&"string"==typeof e.styledComponentId}var Up="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Wp="5.3.11",Gp="undefined"!=typeof window&&"HTMLElement"in window,Vp=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&(void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY)),qp={};function Yp(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var Jp=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)(i<<=1)<0&&Yp(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=0,l=t.length;s<l;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),Qp=new Map,Zp=new Map,Xp=1,Kp=function(e){if(Qp.has(e))return Qp.get(e);for(;Zp.has(Xp);)Xp++;var t=Xp++;return Qp.set(e,t),Zp.set(t,e),t},ef=function(e){return Zp.get(e)},tf=function(e,t){t>=Xp&&(Xp=t+1),Qp.set(e,t),Zp.set(t,e)},nf="style["+Up+'][data-styled-version="5.3.11"]',rf=new RegExp("^"+Up+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),of=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},af=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],i=0,o=n.length;i<o;i++){var a=n[i].trim();if(a){var s=a.match(rf);if(s){var l=0|parseInt(s[1],10),c=s[2];0!==l&&(tf(c,l),of(e,c,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},sf=function(){return i.nc},lf=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(Up))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(Up,"active"),r.setAttribute("data-styled-version","5.3.11");var a=sf();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},cf=function(){function e(e){var t=this.element=lf(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}Yp(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),df=function(){function e(e){var t=this.element=lf(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),uf=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),hf=Gp,pf={isServer:!Gp,useCSSOMInjection:!Vp},ff=function(){function e(e,t,n){void 0===e&&(e=Fp),void 0===t&&(t={}),this.options=Lp({},pf,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Gp&&hf&&(hf=!1,function(e){for(var t=document.querySelectorAll(nf),n=0,r=t.length;n<r;n++){var i=t[n];i&&"active"!==i.getAttribute(Up)&&(af(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return Kp(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(Lp({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,i=t.target,e=n?new uf(i):r?new cf(i):new df(i),new Jp(e)));var e,t,n,r,i},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(Kp(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Kp(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(Kp(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=0;i<n;i++){var o=ef(i);if(void 0!==o){var a=e.names.get(o),s=t.getGroup(i);if(a&&s&&a.size){var l=Up+".g"+i+'[id="'+o+'"]',c="";void 0!==a&&a.forEach(function(e){e.length>0&&(c+=e+",")}),r+=""+s+l+'{content:"'+c+'"}/*!sc*/\n'}}}return r}(this)},e}(),mf=/(a)(d)/gi,gf=function(e){return String.fromCharCode(e+(e>25?39:97))};function vf(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=gf(t%52)+n;return(gf(t%52)+n).replace(mf,"$1-$2")}var yf=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},bf=function(e){return yf(5381,e)};function xf(e){for(var t=0;t<e.length;t+=1){var n=e[t];if($p(n)&&!Hp(n))return!1}return!0}var wf=bf("5.3.11"),Cf=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&xf(e),this.componentId=t,this.baseHash=yf(wf,t),this.baseStyle=n,ff.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))i.push(this.staticRulesId);else{var o=zf(this.rules,e,t,n).join(""),a=vf(yf(this.baseHash,o)>>>0);if(!t.hasNameForId(r,a)){var s=n(o,"."+a,void 0,r);t.insertRules(r,a,s)}i.push(a),this.staticRulesId=a}else{for(var l=this.rules.length,c=yf(this.baseHash,n.hash),d="",u=0;u<l;u++){var h=this.rules[u];if("string"==typeof h)d+=h;else if(h){var p=zf(h,e,t,n),f=Array.isArray(p)?p.join(""):p;c=yf(c,f+u),d+=f}}if(d){var m=vf(c>>>0);if(!t.hasNameForId(r,m)){var g=n(d,"."+m,void 0,r);t.insertRules(r,m,g)}i.push(m)}}return i.join(" ")},e}(),Sf=/^\s*\/\/.*$/gm,Af=[":","[",".","#"];function kf(e){var t,n,r,i,o=void 0===e?Fp:e,a=o.options,s=void 0===a?Fp:a,l=o.plugins,c=void 0===l?Np:l,d=new jp(s),u=[],h=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,o,a,s,l,c,d,u){switch(n){case 1:if(0===d&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(i[0]+r),"";default:return r+(0===u?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}(function(e){u.push(e)}),p=function(e,r,o){return 0===r&&-1!==Af.indexOf(o[n.length])||o.match(i)?e:"."+t};function f(e,o,a,s){void 0===s&&(s="&");var l=e.replace(Sf,""),c=o&&a?a+" "+o+" { "+l+" }":l;return t=s,n=o,r=new RegExp("\\"+n+"\\b","g"),i=new RegExp("(\\"+n+"\\b){2,}"),d(a||!o?"":o,c)}return d.use([].concat(c,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,p))},h,function(e){if(-2===e){var t=u;return u=[],t}}])),f.hash=c.length?c.reduce(function(e,t){return t.name||Yp(15),yf(e,t.name)},5381).toString():"",f}var _f=D.createContext(),Ef=_f.Consumer,Tf=D.createContext(),Df=(Tf.Consumer,new ff),jf=kf();function Rf(){return(0,D.useContext)(_f)||Df}function Mf(){return(0,D.useContext)(Tf)||jf}function If(e){var t=(0,D.useState)(e.stylisPlugins),n=t[0],r=t[1],i=Rf(),o=(0,D.useMemo)(function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target]),a=(0,D.useMemo)(function(){return kf({options:{prefix:!e.disableVendorPrefixes},plugins:n})},[e.disableVendorPrefixes,n]);return(0,D.useEffect)(function(){Dp()(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]),D.createElement(_f.Provider,{value:o},D.createElement(Tf.Provider,{value:a},e.children))}var Of=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=jf);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return Yp(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=jf),this.name+e.hash},e}(),Lf=/([A-Z])/,Pf=/([A-Z])/g,Bf=/^ms-/,Nf=function(e){return"-"+e.toLowerCase()};function Ff(e){return Lf.test(e)?e.replace(Pf,Nf).replace(Bf,"-ms-"):e}var $f=function(e){return null==e||!1===e||""===e};function zf(e,t,n,r){if(Array.isArray(e)){for(var i,o=[],a=0,s=e.length;a<s;a+=1)""!==(i=zf(e[a],t,n,r))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}return $f(e)?"":Hp(e)?"."+e.styledComponentId:$p(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:zf(e(t),t,n,r):e instanceof Of?n?(e.inject(n,r),e.getName(r)):e:Bp(e)?function e(t,n){var r,i,o=[];for(var a in t)t.hasOwnProperty(a)&&!$f(t[a])&&(Array.isArray(t[a])&&t[a].isCss||$p(t[a])?o.push(Ff(a)+":",t[a],";"):Bp(t[a])?o.push.apply(o,e(t[a],a)):o.push(Ff(a)+": "+(r=a,(null==(i=t[a])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||r in Rp||r.startsWith("--")?String(i).trim():i+"px")+";")));return n?[n+" {"].concat(o,["}"]):o}(e):e.toString();var l}var Hf=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Uf(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return $p(e)||Bp(e)?Hf(zf(Pp(Np,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:Hf(zf(Pp(e,n)))}new Set;var Wf=function(e,t,n){return void 0===n&&(n=Fp),e.theme!==n.theme&&e.theme||t||n.theme},Gf=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Vf=/(^-|-$)/g;function qf(e){return e.replace(Gf,"-").replace(Vf,"")}var Yf=function(e){return vf(bf(e)>>>0)};function Jf(e){return"string"==typeof e&&!0}var Qf=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Zf=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Xf(e,t,n){var r=e[n];Qf(t)&&Qf(r)?Kf(r,t):e[n]=t}function Kf(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];if(Qf(a))for(var s in a)Zf(s)&&Xf(e,a[s],s)}return e}var em=D.createContext(),tm=em.Consumer;function nm(e){var t=(0,D.useContext)(em),n=(0,D.useMemo)(function(){return function(e,t){return e?$p(e)?e(t):Array.isArray(e)||"object"!=typeof e?Yp(8):t?Lp({},t,{},e):e:Yp(14)}(e.theme,t)},[e.theme,t]);return e.children?D.createElement(em.Provider,{value:n},e.children):null}var rm={};function im(e,t,n){var r=Hp(e),i=!Jf(e),o=t.attrs,a=void 0===o?Np:o,s=t.componentId,l=void 0===s?function(e,t){var n="string"!=typeof e?"sc":qf(e);rm[n]=(rm[n]||0)+1;var r=n+"-"+Yf("5.3.11"+n+rm[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):s,c=t.displayName,d=void 0===c?function(e){return Jf(e)?"styled."+e:"Styled("+zp(e)+")"}(e):c,u=t.displayName&&t.componentId?qf(t.displayName)+"-"+t.componentId:t.componentId||l,h=r&&e.attrs?Array.prototype.concat(e.attrs,a).filter(Boolean):a,p=t.shouldForwardProp;r&&e.shouldForwardProp&&(p=t.shouldForwardProp?function(n,r,i){return e.shouldForwardProp(n,r,i)&&t.shouldForwardProp(n,r,i)}:e.shouldForwardProp);var f,m=new Cf(n,u,r?e.componentStyle:void 0),g=m.isStatic&&0===a.length,v=function(e,t){return function(e,t,n,r){var i=e.attrs,o=e.componentStyle,a=e.defaultProps,s=e.foldedComponentIds,l=e.shouldForwardProp,c=e.styledComponentId,d=e.target,u=function(e,t,n){void 0===e&&(e=Fp);var r=Lp({},t,{theme:e}),i={};return n.forEach(function(e){var t,n,o,a=e;for(t in $p(a)&&(a=a(r)),a)r[t]=i[t]="className"===t?(n=i[t],o=a[t],n&&o?n+" "+o:n||o):a[t]}),[r,i]}(Wf(t,(0,D.useContext)(em),a)||Fp,t,i),h=u[0],p=u[1],f=function(e,t,n){var r=Rf(),i=Mf();return t?e.generateAndInjectStyles(Fp,r,i):e.generateAndInjectStyles(n,r,i)}(o,r,h),m=n,g=p.$as||t.$as||p.as||t.as||d,v=Jf(g),y=p!==t?Lp({},t,{},p):t,b={};for(var x in y)"$"!==x[0]&&"as"!==x&&("forwardedAs"===x?b.as=y[x]:(l?l(x,Op,g):!v||Op(x))&&(b[x]=y[x]));return t.style&&p.style!==t.style&&(b.style=Lp({},t.style,{},p.style)),b.className=Array.prototype.concat(s,c,f!==c?f:null,t.className,p.className).filter(Boolean).join(" "),b.ref=m,(0,D.createElement)(g,b)}(f,e,t,g)};return v.displayName=d,(f=D.forwardRef(v)).attrs=h,f.componentStyle=m,f.displayName=d,f.shouldForwardProp=p,f.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Np,f.styledComponentId=u,f.target=r?e.target:e,f.withComponent=function(e){var r=t.componentId,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(t,["componentId"]),o=r&&r+"-"+(Jf(e)?e:qf(zp(e)));return im(e,Lp({},i,{attrs:h,componentId:o}),n)},Object.defineProperty(f,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Kf({},e.defaultProps,t):t}}),Object.defineProperty(f,"toString",{value:function(){return"."+f.styledComponentId}}),i&&qt()(f,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),f}var om=function(e){return function e(t,n,r){if(void 0===r&&(r=Fp),!(0,Ql.isValidElementType)(n))return Yp(1,String(n));var i=function(){return t(n,r,Uf.apply(void 0,arguments))};return i.withConfig=function(i){return e(t,n,Lp({},r,{},i))},i.attrs=function(i){return e(t,n,Lp({},r,{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},i}(im,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){om[e]=om(e)});var am=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=xf(e),ff.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var i=r(zf(this.rules,t,n,r).join(""),""),o=this.componentId+e;n.insertRules(o,o,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&ff.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function sm(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Uf.apply(void 0,[e].concat(n)),o="sc-global-"+Yf(JSON.stringify(i)),a=new am(i,o);function s(e){var t=Rf(),n=Mf(),r=(0,D.useContext)(em),i=(0,D.useRef)(t.allocateGSInstance(o)).current;return t.server&&l(i,e,t,r,n),(0,D.useLayoutEffect)(function(){if(!t.server)return l(i,e,t,r,n),function(){return a.removeStyles(i,t)}},[i,e,t,r,n]),null}function l(e,t,n,r,i){if(a.isStatic)a.renderStyles(e,qp,n,i);else{var o=Lp({},t,{theme:Wf(t,r,s.defaultProps)});a.renderStyles(e,o,n,i)}}return D.memo(s)}function lm(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Uf.apply(void 0,[e].concat(n)).join(""),o=Yf(i);return new Of(o,i)}var cm=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=sf();return"<style "+[n&&'nonce="'+n+'"',Up+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?Yp(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return Yp(2);var n=((t={})[Up]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=sf();return r&&(n.nonce=r),[D.createElement("style",Lp({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ff({isServer:!0}),this.sealed=!1}var t=e.prototype;return t.collectStyles=function(e){return this.sealed?Yp(2):D.createElement(If,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return Yp(3)},e}(),dm=function(e){var t=D.forwardRef(function(t,n){var r=(0,D.useContext)(em),i=e.defaultProps,o=Wf(t,r,i);return D.createElement(e,Lp({},t,{theme:o,ref:n}))});return qt()(t,e),t.displayName="WithTheme("+zp(e)+")",t},um=function(){return(0,D.useContext)(em)},hm={StyleSheet:ff,masterSheet:Df};const pm=om;function fm(e){const t=document.createElement("a");t.href=`/downloadFile.php?id=${e}`,t.click(),t.remove()}function mm(e){return String(e).padStart(2,"0")}function gm(e,t,n=0,r=0){let i=e,o=t,a=1;return e>n&&0!==n&&(a=n/e,i=n,o=Math.round(t*a)),t>r&&0!==r&&(a=r/t,i=Math.round(e*a),o=r),{width:i,height:o}}const vm=e=>parseInt(e,16),ym=e=>Math.round(e).toString(16).padStart(2,"0"),bm=e=>({r:vm(e.substring(1,3)),g:vm(e.substring(3,5)),b:vm(e.substring(5,7))}),xm=(e,t)=>(({r:e,g:t,b:n},r)=>`#${ym((1-r)*e)}${ym((1-r)*t)}${ym((1-r)*n)}`)(bm(e),t),wm=(e,t)=>(({r:e,g:t,b:n},r)=>`#${ym(e+(255-e)*r)}${ym(t+(255-t)*r)}${ym(n+(255-n)*r)}`)(bm(e),t),Cm=function(e,t){try{if(t<-1||t>1||"#"!==e[0]||4!==e.length&&7!==e.length)return;let n=e.slice(1);3==n.length&&(n=`${n[0]}${n[0]}${n[1]}${n[1]}${n[2]}${n[2]}`);const r=n.match(new RegExp("[0-9a-fA-F]{2}","g"));if(!r||3!==r.length)return;const i=r.map(e=>{const n=parseInt(e,16),r=t<0?n:255-n;return(n+Math.ceil(r*t)).toString(16).toUpperCase().padStart(2,"0")});return i.reduce((e,t)=>`${e}${t}`,"#")}catch{return}},Sm=(e,t,n)=>{const r=t=>(t+e/60)%6,i=e=>n*(1-t*Math.max(0,Math.min(r(e),4-r(e),1)));return[Math.round(255*i(5)),Math.round(255*i(3)),Math.round(255*i(1))]},Am=(e,t,n)=>{e/=255,t/=255,n/=255;const r=Math.max(e,t,n),i=r-Math.min(e,t,n),o=0===i?0:i&&r===e?(t-n)/i:r===t?2+(n-e)/i:4+(e-t)/i;return[Math.round(60*(o<0?o+6:o)),Math.round(r&&i/r*100),Math.round(100*r)]},km=e=>{let t=0,n=0,r=0;4==e.length?(t="0x"+e[1]+e[1],n="0x"+e[2]+e[2],r="0x"+e[3]+e[3]):7==e.length&&(t="0x"+e[1]+e[2],n="0x"+e[3]+e[4],r="0x"+e[5]+e[6]),t/=255,n/=255,r/=255;let i=Math.min(t,n,r),o=Math.max(t,n,r),a=o-i,s=0,l=0,c=0;return s=0==a?0:o==t?(n-r)/a%6:o==n?(r-t)/a+2:(t-n)/a+4,s=Math.round(60*s),s<0&&(s+=360),c=(o+i)/2,l=0==a?0:a/(1-Math.abs(2*c-1)),l=+(100*l).toFixed(1),c=+(100*c).toFixed(1),[s,l,c]};function _m(e,t,n){t/=100,n/=100;const r=(1-Math.abs(2*n-1))*t,i=r*(1-Math.abs(e/60%2-1)),o=n-r/2;let a=0,s=0,l=0;return 0<=e&&e<60?(a=r,s=i,l=0):60<=e&&e<120?(a=i,s=r,l=0):120<=e&&e<180?(a=0,s=r,l=i):180<=e&&e<240?(a=0,s=i,l=r):240<=e&&e<300?(a=i,s=0,l=r):300<=e&&e<360&&(a=r,s=0,l=i),[mm(Math.round(255*(a+o)).toString(16)),mm(Math.round(255*(s+o)).toString(16)),mm(Math.round(255*(l+o)).toString(16))]}const Em=e=>{const t=new RegExp("^#(?:[A-Fa-f0-9]{3}){1,2}$"),n=new RegExp("^rgb\\(\\s*(25[0-5]|2[0-4][0-9]|1?\\d{1,2})\\s*,\\s*(25[0-5]|2[0-4][0-9]|1?\\d{1,2})\\s*,\\s*(25[0-5]|2[0-4][0-9]|1?\\d{1,2})\\s*\\)$|^rgb\\(\\s*(\\d{1,3}(?:\\.\\d+)?%)\\s*,\\s*(\\d{1,3}(?:\\.\\d+)?%)\\s*,\\s*(\\d{1,3}(?:\\.\\d+)?%)\\s*\\)$"),r=new RegExp("^hsl\\(\\s*(3[0-5][0-9]|360|[12]?\\d{1,2})\\s*,\\s*(100(?:\\.0+)?|\\d{1,2}(?:\\.\\d+)?)%\\s*,\\s*(100(?:\\.0+)?|\\d{1,2}(?:\\.\\d+)?)%\\s*\\)$"),i=t.test(e)?km(e):n.test(e)?(e=>{const t=e.indexOf(",")>-1?",":" ",n=e.substring(4).split(")")[0].split(t),r=[0,0,0];for(const e in n){n[e]=n[e].trim();const t=n[e];t.indexOf("%")>-1?r[e]=Math.round(+t.substring(0,t.length-1)/100*255):r[e]=+n[e]}const i=r[0]/255,o=r[1]/255,a=r[2]/255;let s=Math.min(i,o,a),l=Math.max(i,o,a),c=l-s,d=0,u=0;return u=(l+s)/2,d=0==c?0:c/(1-Math.abs(2*u-1)),d=+(100*d).toFixed(1),u=+(100*u).toFixed(1),[0,d,u]})(e):r.test(e)&&r.exec(e)?.slice(1);let o="";return i&&i[2]&&parseInt(i[2])>50?o="hsl("+i[0]+","+i[1]+"%,"+(parseInt(i[2])-10)+"%)":(i&&i[2]&&parseInt(i[2])<50||i&&i[2]&&50===parseInt(i[2]))&&(o="hsl("+i[0]+","+i[1]+"%,"+(parseInt(i[2])+10)+"%)"),o};function Tm(e,t){return`${e}${{10:"1a",20:"33",30:"4d",40:"66",50:"80",60:"99",70:"b3",80:"cc",90:"e6"}[t]}`}const Dm={isValid:Mm,rgb:(e,t,n)=>({toHex:()=>({string:()=>"#"+mm(e.toString(16))+mm(t.toString(16))+mm(n.toString(16))}),toHsb:()=>({values:()=>Am(e,t,n),hue:()=>Am(e,t,n)[0],staturation:()=>Am(e,t,n)[1],brightness:()=>Am(e,t,n)[2]})}),hsl:(e,t,n)=>({toHex:()=>({values:()=>_m(e,t,n),string:()=>{const r=_m(e,t,n);return"#"+r[0]+r[1]+r[2]}})}),hsb:(e,t,n)=>({toRgb:()=>({values:()=>Sm(e,t,n),red:()=>Sm(e,t,n)[0],green:()=>Sm(e,t,n)[1],blue:()=>Sm(e,t,n)[2]})}),hex:e=>({toRgbaColor:t=>`rgba(${String(bm(e).r).padStart(2,"0")},${String(bm(e).g).padStart(2,"0")},${String(bm(e).b).padStart(2,"0")},${String(t)})`,toRgbColor:()=>`rgb(${String(bm(e).r).padStart(2,"0")},${String(bm(e).g).padStart(2,"0")},${String(bm(e).b).padStart(2,"0")})`,toRgb:()=>({values:()=>bm(e),red:()=>bm(e).r,green:()=>bm(e).g,blue:()=>bm(e).b}),toHsl:()=>({values:()=>km(e),hue:()=>km(e)[0],saturation:()=>Math.round(km(e)[1]),luminance:()=>Math.round(km(e)[2]),string:()=>{const t=km(e);return"hsl("+t[0]+","+Math.round(t[1])+"%,"+Math.round(t[2])+"%)"}})})},jm=e=>{const t=e.replace("#","");return parseInt(t,16)>8388607.5?"black":"white"},Rm=e=>{const t=e.replace("#","");return(299*parseInt(t.substring(0,2),16)+587*parseInt(t.substring(2,4),16)+114*parseInt(t.substring(4,6),16))/1e3>=125?"black":"white"};function Mm(e){return String(e).startsWith("#")&&String(e).length>=4&&String(e).length<=7}const Im={success:"green",error:"orange",warning:"yellow"};function Om(e,t){return t in e.color?e.color[t]:t}const Lm={config:void 0,get:function(){return this.config?this.config:this.initTheme()},initTheme:function(e=t){const t={primary:e.buttonColor,primaryLight:Dm.hsl(Dm.hex(e.buttonColor).toHsl().hue(),60,35).toHex().string(),primaryTextLight:Dm.hsl(Dm.hex(e.buttonColor).toHsl().hue(),60,35).toHex().string(),secondary:e.linkColor,headerColor:e&&e.headerColor||"",headerTextColor:e&&e.headerTextColor,headerUserBackground:e&&e.headerUserBackground,headerUserTextColor:e&&e.headerUserTextColor,headerSearchBarTextColor:e.headerSearchBarTextColor,headerSearchBarBackgroundColor:e?.headerSearchBarBackgroundColor??(e?.headerColor?Em(e.headerColor):"#313941"),navBackground:e&&e.navBackground,navTextColor:e.navTextColor,lavender:"#8F7CEA",orange:"#E12B43",orangeLight:Dm.hsl(Dm.hex("#E12B43").toHsl().hue(),60,35).toHex().string(),orangeTextLight:Dm.hsl(Dm.hex("#E12B43").toHsl().hue(),60,35).toHex().string(),yellow:"#FFBB54",navy:"#131E4B",overseas:"#392994",green:"#0D846B",greenLight:Dm.hsl(Dm.hex("#0D846B").toHsl().hue(),60,35).toHex().string(),greenTextLight:Dm.hsl(Dm.hex("#0D846B").toHsl().hue(),60,35).toHex().string(),raspberry:"#E12B43",night1:"#2B3870",night2:"#10162D",sand:"#FFEED7",sandLight:"#FFF8F0",forest:e.forest,sky:"#9CC9FF",sky15:"#9CC9FF26",black:"#000000",black10:"#00000019",black15:"#00000026",black20:"#00000033",grey6:"#2E2E33",grey5:"#4A4A52",grey4:"#848491",grey3:"#BEBED1",grey2:"#DADAF0",grey1:"#EFEFFF",grey0:"#F8F8FF",white:"#FFFFFF",transparent:"transparent",transparentHexa:"#ffffff00"},n=Dm.hsl(Dm.hex(t.primary).toHsl().hue(),Dm.hex(t.primary).toHsl().saturation(),95).toHex().string(),r=Dm.hsl(Dm.hex(t.green).toHsl().hue(),Dm.hex(t.green).toHsl().saturation(),95).toHex().string(),i=Dm.hsl(Dm.hex(t.orange).toHsl().hue(),Dm.hex(t.orange).toHsl().saturation(),95).toHex().string(),o={primaryD20:xm(t.primary,.2),primaryL15:wm(t.primary,.15),primaryL80:wm(t.primary,.8),primaryL90:wm(t.primary,.9),primaryLight:n,primaryLightHover:Dm.hsl(Dm.hex(n).toHsl().hue(),Dm.hex(n).toHsl().saturation()+5,Dm.hex(n).toHsl().luminance()-5).toHex().string(),secondaryD20:xm(t.secondary,.2),secondaryL15:wm(t.secondary,.15),secondaryL80:wm(t.secondary,.8),secondaryL90:wm(t.secondary,.9),greenD20:xm(t.green,.2),greenL20:wm(t.green,.2),greenL80:wm(t.green,.8),greenL90:wm(t.green,.9),greenLight:r,greenLightHover:Dm.hsl(Dm.hex(r).toHsl().hue(),Dm.hex(r).toHsl().saturation()+5,Dm.hex(r).toHsl().luminance()-5).toHex().string(),orangeD20:xm(t.orange,.2),orangeL15:wm(t.orange,.15),orangeL80:wm(t.orange,.8),orangeL90:wm(t.orange,.9),orangeLight:i,orangeLightHover:Dm.hsl(Dm.hex(i).toHsl().hue(),Dm.hex(i).toHsl().saturation()+5,Dm.hex(i).toHsl().luminance()-5).toHex().string(),raspberryL95:wm(t.raspberry,.95),yellowL80:wm(t.yellow,.8),yellowL90:wm(t.yellow,.9)};return this.config={dpr:Math.ceil(window?.devicePixelRatio||2),fallbackUrl:{article:"/imagestatic/30x30/icons/article.png"},font:{family:e?.fontFamily?`'${e.fontFamily}', sans-serif`:"'Poppins', sans-serif",color:t.grey5,hrefColor:t.secondary,size:"16px",lineHeight:"1.5em",weight:{light:300,normal:400,medium:500,semiBold:600,bold:700}},color:{...t,...o},zIndex:{toaster:1e6,forceTop:1e5,tooltip:50030,tinyMCEModal:50020,modal:1100,dropdown:1e3,sidePanelModal:5,fullScreenContainer:3,dropdownModal:10,dropDownModalIcon:11},space:{xs:4,sm:8,md:16,l:24,xl:32},size:{xs:4,sm:8,md:16,l:24,xl:32}},this.config}},Pm=Lm,Bm=JSON.parse('{"en":{"ACTIVITY_Can_Not_comment_Desc":"You cannot comment on this content. Several reasons are possible:<p>- You are not part of the audience of the content</p><p>- You do not have sufficient rights according to the group settings</p><p>- A solar storm creates interference (less likely, but you never know)","ADD_FAVORITE":"Add to favorites","APP_Animated_Meeting":"Diapazone","APP_Bookmark_Bookmarks":"favorites","APP_FileIntegrity_Quarantine_Files_Message":"{ count } file(s) in quarantine","APP_SurveyDate":"Sondage de date","APP_SurveyDate_Over":"The survey is closed","ARTICLE_Nb_Elements":"Documents","ARTICLE_Nb_Selected_Elements":"Elements sélectionés","ATTACHMENTS_No_Download":"No download","ATTACHMENTS_Preview_Successfully_Recomputed":"Preview successfully recomputed","ATTACHMENTS_Recompute_Preview":"Recompute preview","ATTACHMENTS_See_Downloads":"See downloads","AppLeftColumn_App_Navigation":"Application navigation menu","AppLeftColumn_Close_Panel":"Reduces the size of the menu","AppLeftColumn_Open_Panel":"Expands the menu","BUTTON_Title_Add_Image":"Add image","BUTTON_Title_Add_New_Task":"Add new task","BUTTON_Title_Add_Uri":"Add link to task","BUTTON_Title_Open_Edit_Panel":"Button that open the edit panel","BUTTON_Title_Open_Remove_Widget":"Button that remove the widget entirely","BUTTON_Title_Remove_Item":"Remove task","BUTTON_Title_Remove_Uri":"Remove link","CALENDAR_All_Day":"All day","CALENDAR_Answer":"Répondre","CALENDAR_BoardCard":"Board card","CALENDAR_Event":"Evénement","CALENDAR_Event_Date":"Le {date}, {time}","CALENDAR_Event_Date_All_Day":"Le {date}","CALENDAR_Event_Date_Start_End":"Du {dateStart}, {timeStart} au {dateEnd}, {timeEnd}","CALENDAR_Event_Date_Start_End_All_Day":"Du {dateStart} au {dateEnd}","CALENDAR_Event_Date_Start_End_Same_Day":"Le {dateStart}, de {timeStart} à {timeEnd}","CALENDAR_Event_Date_Start_End_Same_Day_All_Day":"Le {dateStart}","CALENDAR_Event_Remaining_Seats":"places restantes","CALENDAR_Event_Report":"Compte rendu","CALENDAR_Event_Revive":"Relancer","CALENDAR_Event_Revive_All":"Tous","CALENDAR_Event_Revive_Available":"Participant(s)","CALENDAR_Event_Revive_Message_Description":"Quel message souhaitez vous envoyer ?","CALENDAR_Event_Revive_Message_Label":"Message","CALENDAR_Event_Revive_On_Spot":"En présentiel","CALENDAR_Event_Revive_Select_Description":"Qui souhaitez vous relancer ?","CALENDAR_Event_Revive_Unavailable":"Indisponible(s)","CALENDAR_Event_Revive_Visio":"En distanciel","CALENDAR_Event_Revive_Waiting":"En attente","CALENDAR_Event_Visio_Url":"Rejoindre la web conférence","CALENDAR_Join":"Je participe","CALENDAR_Meeting":"Meeting","CALENDAR_Reject":"Je ne participe pas","CALENDAR_Status_Available":"Vous participez","CALENDAR_Status_OnSpot":"En présentiel","CALENDAR_Status_Unavailable":"Vous ne participez pas","CALENDAR_Status_Unknown":"En attente","CALENDAR_Status_Visio":"En distanciel","CALENDAR_Today":"Today","CALENDAR_dayGridMonth":"Month","CALENDAR_listWeek":"List","CALENDAR_timeGridDay":"Day","CALENDAR_timeGridWeek":"Week","CLIPBOARD_Copy_Success":"Copied to clipboard","COLOR_PICKER_recent_colors":"Recent colors","COMMENT_Add_Comment":"Add comment","COMMENT_Add_Widget":"Add widget","COMMENT_Answer":"Answer","COMMENT_Choose_Response":"Choose","COMMENT_Chosen_Response":"Chosen response","COMMENT_Comments":"comment(s)","COMMENT_Delete_Comment":"Delete comment ?","COMMENT_Display_More":"Display more comments","COMMENT_Just_Now":"just now","COMMENT_Last_Comment":"Last comment","COMMENT_Minutes_Ago":"{minutes} minutes ago","COMMENT_No_Comment":"No comment...","COMMENT_Placeholder":"Write a comment","COMMENT_Unselect_Response":"Unselect response","COMMENT_WIDGET_CHECKLIST_Add_New_Task":"Add new task","COMMENT_WIDGET_CHECKLIST_Add_Uri":"Add an uri","COMMENT_WIDGET_CHECKLIST_New_Task":"New task","COMMENT_WIDGET_CHECKLIST_Title":"Title","COMMENT_WIDGET_CHECKLIST_Uri_Link":"Button link","COMMENT_WIDGET_CHECKLIST_Uri_New_Page":"New page","COMMENT_WIDGET_CHECKLIST_Uri_Same_Page":"Same page","COMMENT_WIDGET_CHECKLIST_Uri_Target":"open","COMMENT_WIDGET_Configure":"Configure","COMMENT_WIDGET_Delete_Widget":"Delete comment ?","CONFIRMATION_MODAL_Default_Title":"Confirm action","CONTACT_Pro_Members":"Business Contacts","CROP_Crop":"Crop","CROP_Rotate_Left":"Rotate left","CROP_Rotate_Right":"Rotate Right","CROP_Title":"Crop the image","CRPT_Add_Report":"Report content","CRPT_Comment_Of":"Comment of","CRPT_Report_Description_Required":"La description est obligatoire","CRPT_Report_Sent":"Report sent","DRIVE_Access_Denied":"Vous n\'avez pas accès à ces documents.","DND_NEW_SECTION_LABEL":"New Section","DND_STACK_TITLE":"Active Buttons","DND_SECTIONS_TITLE":"Sections","DND_ADD_SECTION":"+ Add section","DRIVE_Google_Not_Available":"This service is temporarily unavailable. Our team is currently working on a solution. We apologize for the inconvenience.","DRIVE_Input_Search_Group_Item":"Rechercher parmis les dossiers et documents","DRIVE_Input_Search_Groupe":"Rechercher un groupe","DRIVE_Is_Empty":"Nous n\'avons trouvé aucun documents","DRIVE_MS_Accounts":"Accounts","DRIVE_MS_Default":"Default","DRIVE_MS_Error_Personal_Account":"Personal accounts are not supported","DRIVE_MS_Group_Filters":"Filtres","DRIVE_MS_Group_Filters_All":"Tous les groupes","DRIVE_MS_Group_Filters_Member_Of":"Seulement les groupes ou je suis membre","DRIVE_MS_Logout":"Logout","DRIVE_MS_Need_Login":"Please login to access your files","DRIVE_MS_Other_Account":"Add another account","DRIVE_MS_Set_Default_Account":"Set as default account","DRIVE_Private":"Private","DRIVE_Private_Group":"Ce groupe est privé","DRIVE_Public":"Public","DRIVE_Root":"Microsoft 365","DRIVE_Select_Document":"Sélectionner ce document","DRIVE_Select_Folder":"Sélectionner ce dossier","ERROR404_Msg":"Hum...There is nothing here...","ERROR404_MsgDetail":"This page does not exist, or its content has been deleted. Go back to home?","ERROR404_Wall":"Go back home","ERROR_Mail_Invalid":"Invalid email.","EVENT_Export_Calendar_ICalendar_Format":"Export to iCalendar format","EVENT_ICalendar_Export_Url":"Sync all events","EVENT_ICalendar_Export_Url_Explanation":"Copy url in your mail client","EVENT_ICalendar_Export_Url_Subscribed":"Sync accepted events","EVENT_I_Register":"Je participe","FIELDS_Add_Option":"Add a response","FILE_Existing_Files_Label":"Added files","FILE_Upload_Label":"Drop or select files","FILE_Viewer_Open_With":"Ouvrir avec","FILE_Viewer_Preview":"Aperçu","FOLDER_Nb_Elements":"Documents","GLOBAL_A11Y_APP_NAV":"Menu of the application {appName}","GLOBAL_Action_Missing_License":"🔐 The license of the app is not active on your platform!","GLOBAL_Add":"Add","GLOBAL_Add_File":"Add file","GLOBAL_Add_Image":"Add image","GLOBAL_Add_Video":"Add video","GLOBAL_Alert_Author":"Recevoir une copie","GLOBAL_Animated_Meeting":"Diapazone","GLOBAL_Attachments":"Pièces jointes","GLOBAL_BACK_PREVIOUS_SECTION":"back to the previous section","GLOBAL_CHECK_BOXES":"Check the boxes","GLOBAL_CHECK_FIRST_BOXE":"It\'s empty! Check your first tag.","GLOBAL_Cancel":"Cancel","GLOBAL_Close":"Close","GLOBAL_Comments":"Comments","GLOBAL_Confirm":"Confirm","GLOBAL_Continue":"Continue","GLOBAL_Creation_Date":"Creation date","GLOBAL_Creator":"Creator","GLOBAL_Delete":"Delete","GLOBAL_Delete_Confirm":"Confirm delete","GLOBAL_Delete_Confirmation":"Please confirm suppression","GLOBAL_Download":"Download","GLOBAL_Downloads":"Downloads","GLOBAL_Edit":"Edit","GLOBAL_File":"File","GLOBAL_File_Bank":"Document bank","GLOBAL_Files":"Files","GLOBAL_Filter":"Filter","GLOBAL_Form_Characters":"characters","GLOBAL_Form_Controls_Date":"Date must be formatted dd/mm/yyyy","GLOBAL_Form_Controls_MaxLength":"Must be {max} characters or less","GLOBAL_Form_Controls_MaxValue":"Must be at max {max}","GLOBAL_Form_Controls_MinLength":"Must be {min} characters or more","GLOBAL_Form_Controls_MinValue":"Must be at least {min}","GLOBAL_Form_Controls_Number":"Must be a number","GLOBAL_Form_Controls_Pattern":"Must follow the specified pattern {pattern}","GLOBAL_Form_Controls_Required":"Required","GLOBAL_Form_Controls_Url":"Invalid url address","GLOBAL_Form_Description":"Les champs obligatoires sont identifiés par un *","GLOBAL_Form_No_Options":"No option","GLOBAL_Form_SendAlert":"Send the alert email to those who have requested it","GLOBAL_Go_To_Content":"Go to content","GLOBAL_Groups":"Groups","GLOBAL_Image":"Image","GLOBAL_Import":"Import","GLOBAL_Insert":"Insert","GLOBAL_Load_More":"Load more results","GLOBAL_Loading":"Loading","GLOBAL_Login":"Login","GLOBAL_Move":"Move","GLOBAL_Next":"Next","GLOBAL_No_Result":"No result","GLOBAL_Object_Link":"Objet lié","GLOBAL_Ok":"OK","GLOBAL_Options":"Options","GLOBAL_Platform_Color":"Platform colors","GLOBAL_Provide_Missing_Token":"A token must be provided to use this widget","GLOBAL_Public_Groups":"Public groups","GLOBAL_Publish":"Publish","GLOBAL_Recommended":"recommended","GLOBAL_Redirect_To_User_Profile_React":"Redirection to the profile page of {username}","GLOBAL_Reset":"Réinitialiser","GLOBAL_Save":"Save","GLOBAL_Schedule":"Schedule","GLOBAL_Search":"Search","GLOBAL_Search_Loading":"Searching...","GLOBAL_See_Less":"See less","GLOBAL_See_More":"See more","GLOBAL_Select":"Select","GLOBAL_Select_Date_In_Calendar":"Select a date in the calendar","GLOBAL_Select_Time":"Select time","GLOBAL_Send_Alert":"Envoyer le mail de notification à ceux qui l’ont demandé","GLOBAL_Sent":"Envoyé","GLOBAL_Start_typing":"Start typing to search","GLOBAL_Successffully_Deleted":"Successfully deleted","GLOBAL_Today":"Today","GLOBAL_Unsuccessfully_Deleted":"An error occured while deleting your content","GLOBAL_Unsuported_File_Format":"Unsupported file format","GLOBAL_Users":"Users","GLOBAL_Validation":"Confirm","GLOBAL_Video_Player":"Video player","GLOBAL_Yesterday":"Yesterday","HIERARCHICAL_TAXONOMY_DESCRIPTION":"Browse and select options by checking the boxes. You can select an unlimited number of options.","HOMEUSER_Home":"Home","INPUT_FILE_ADVANCED_Dropbox":"Dropbox","INPUT_FILE_ADVANCED_FileBank":"Filebank","INPUT_FILE_ADVANCED_Google_Drive":"Google Drive","INPUT_FILE_ADVANCED_Microsoft_365":"Microsoft 365","INPUT_RichText_Html_Modal_Label":"HTML content","INPUT_RichText_Html_Modal_Title":"Edit HTML content","INPUT_SELECT_Has_Reached_Limit":"You reached the limit of {limit} items","JIA_TINY_BUTTON_TOOLTIP":"AI features to help you write","JIA_TINY_DEVELOP":"Develop","JIA_TINY_SUMMARIZE":"Summarize","JIA_TINY_TLDR":"TLDR","OfficeHook_Conf_CalDav_Calendar":"Agenda","OfficeHook_Conf_CardDav_Address_Book":"Adress book","OfficeHook_Conf_IMap_Hostname":"Hostname","OfficeHook_Conf_IMap_Mailbox":"Mailbox","OfficeHook_Conf_Password":"Password","OfficeHook_Conf_Prompt_Submit":"Submit","OfficeHook_Conf_Provider":"Provider","OfficeHook_Conf_Select_Connection_Security":"Connection security","OfficeHook_Conf_Select_Provider":"Select a provider","OfficeHook_Conf_Url":"Url","OfficeHook_Conf_Username":"Username","OfficeHook_Settings":"Paramètres généraux","Office_No_Providers":"Aucun fournisseur disponible, contactez un administrateur","Office_Set_Configuration":"Connectez-vous","PANEL_Background_Color":"Couleur du fond","PANEL_Edit_Slide_Background_Color":"Background color","PANEL_Edit_Slide_Background_Opacity_Filter":"Background opacity filter","PANEL_Image_Size":"Taille de l\'image","PANEL_Size_Small":"Petit","PANEL_Size_Medium":"Moyen","PANEL_Size_Large":"Grand","PANEL_Title":"Titre","PANEL_Text_Color":"Couleur du texte","PANEL_Text_Size":"Taille du texte","PANEL_Widget_Empty_Setting":"Il n\'y a rien à configurer","PANEL_Widget_Level":"Niveau d\'affichage","PANEL_Widget_Selection":"Style & décorations","PANEL_Widget_Settings":"Configuration du widget","PLUGIN_Manager_CalDav_Prompt":"Tester la connexion CalDav","PLUGIN_Manager_CardDav_Prompt":"Tester la connexion CardDav","PLUGIN_Manager_Connection_Error":"Connexion impossible. Vérifiez vos identifiants","PLUGIN_Manager_IMap_Prompt":"Tester la connexion IMAP","POLL_See_Response_After":"Hidden answers","POWERED_BY":"Powered by","POWERED_BY_Link":"https://www.jamespot.com/","POWERED_BY_See_More":"Know more","PUBLISH_To":"Publish for","REMOVE_FAVORITE":"Remove from favorites","SEARCH_File":"Search file","SLIDER_IMAGE_Empty_Des":"Ajoutez une image pour illustrer votre widget !","SOCIALPOLL_Anonymous":"Anonymous answers","SPOTIT_Receive_A_Copy":"Receive a copy","SPOTLIGHT_Send_Alert_To_Subscribers":"Send notification mail to those who have requested it","STYLE_Background_Color":"Couleur de fond","STYLE_Border_Style":"Style de bordure","STYLE_Border_Style_Dashed":"Bordure discontinue","STYLE_Border_Style_Dotted":"Bordure en pointillés","STYLE_Border_Style_None":"Aucune bordure","STYLE_Border_Style_Solid":"Bordure continue","STYLE_Border_Width":"Taille de la bordure","STYLE_Font_Weight":"Epaisseur du texte","STYLE_Font_Weight_Bold":"Bold","STYLE_Font_Weight_Medium":"Medium","STYLE_Font_Weight_Normal":"Normal","STYLE_Padding":"Marge interne","STYLE_Radius":"Arrondi","STYLE_Text_Align":"Alignement du texte","STYLE_Text_Align_Center":"Center","STYLE_Text_Align_Justify":"Justify","STYLE_Text_Align_Left":"Left","STYLE_Text_Align_Right":"Right","STYLE_Text_Color":"Couleur du texte","STYLE_Text_Size":"Taille du texte","TINY_MCE_Insert_Markdown":"Insert Markdown","TINY_MCE_Markdown_Shortcuts":"Markdown shortcuts","WIDGET_Agenda":"Agenda","WIDGET_Agenda_Accepted":"You participate","WIDGET_Agenda_Declined":"You don\'t participate","WIDGET_Agenda_Pending":"You haven\'t responded yet","WIDGET_Builder":"Widget Builder","WIDGET_Button_Empty_Text":"Ajouter un label","WIDGET_Calendar_CalDav":"Office Agenda","WIDGET_Cannot_Display":"A widget is available but cannot be displayed here for now... ({widget})","WIDGET_Check_List_Description":"Add a checklist to keep track of progress","WIDGET_Check_List_Help":"Collaboration mode allows users with access to this widget to modify it","WIDGET_Collaboration":"Collaboration","WIDGET_Contact_CardDav":"Office Contacts","WIDGET_Contacts":"Contacts","WIDGET_Datasource_Cancel":"Annuler","WIDGET_Datasource_Excel_Broken_Model":"Les premières cellules de vos colonnes ne peuvent pas être vide. Corrigez votre fichier pour mettre à jour votre widget. ","WIDGET_Datasource_Object":"Source de donnée","WIDGET_Datasource_Select_Document":"Sélectionner depuis la banque documentaire","WIDGET_Datasource_Select_Wedoc_File":"Sélectionner depuis wedoc","WIDGET_Datasource_Spreadsheet_Header_Error":"Cette feuille contient au moins une colonne sans titre","WIDGET_Display_Level_1":"Icône","WIDGET_Display_Level_2":"Icône + Pastille","WIDGET_Display_Level_3":"Contenus","WIDGET_Display_Level_4":"Contenus + Interactions","WIDGET_Display_Level_Select":"Sélectionner un mode d\'affichage","WIDGET_Email_IMAP":"Office Mails","WIDGET_Lucca_Absence":"Absence (Timmi)","WIDGET_Lucca_Absence_No_Result":"Aucun resultat","WIDGET_Lucca_Absence_Text":"Affichez les absents renseignés depuis votre outil RH Timmi pour une meilleure communication interne.","WIDGET_Lucca_Absence_Url":"Url","WIDGET_Lucca_Absence_Url_Error":"Une erreur s\'est produite","WIDGET_Lucca_Absent_Until":"Absent jusqu\'au","WIDGET_Lucca_Absent_Until_Today":"Absent jusqu\'a aujourd\'hui","WIDGET_Lucca_Absent_Until_Tomorrow":"Absent jusqu\'a demain","WIDGET_Presence_Availability":"{max} places disponibles","WIDGET_Presence_Is_Closed":"Il n\'est plus possible de répondre à ce sondage","WIDGET_Presence_Limit":"Limiter le nombre de places","WIDGET_Presence_Limit_Response_Error":"Il n y a plus de place disponible","WIDGET_Presence_Limit_Value":"Présence maximum","WIDGET_Prompt_Dropdown":"Configurer","WIDGET_Prompt_Logout":"Se déconnecter","WIDGET_Quick_Survey":"Add a survey to collect feedback","WIDGET_Quick_Survey_Text":"Add a survey to collect feedback","WIDGET_Set_Widget":"Configurer","WIDGET_Survey_After_Help":"Respondents will only see the results once after they respond. They will no longer be able to edit their answer.","WIDGET_Survey_Anonymize_Help":"Les réponses de ce sondage seront anonymes : personne ne pourra savoir qui a répondu quoi, seulement les pourcentages.","WIDGET_Survey_Close_Survey":"Close the survey","WIDGET_Survey_Close_Survey_Description":"do you really want to finish this survey?","WIDGET_Survey_Closing":"Enable closing","WIDGET_Survey_Closing_Help":"Display closing button","WIDGET_Survey_Multiple":"Multiple response","WIDGET_Survey_Multiple_Help":"Allow multiple responses","WIDGET_Survey_Open":"Open survey","WIDGET_Survey_Open_Help":"Allows other users to add suggestion","WIDGET_USER_PROFILE_Font_Weight_Label":"Gras","WIDGET_USER_PROFILE_Display_Mode_Label":"Affichage du nom","WIDGET_USER_PROFILE_Only_Picture":"Image seule","WIDGET_USER_PROFILE_Picture_Alt_Label":"Image de l\'utilisateur","WIDGET_USER_PROFILE_Picture_FirstName":"Avec prénom","WIDGET_USER_PROFILE_Picture_FirstName_LastName":"Avec prénom + nom","AUDIENCE_GROUPS_AND_USERS":"{groups} group(s) and {users} users(s)","AUDIENCE_GROUPS_ONLY":"{groups} group(s)","AUDIENCE_USERS_ONLY":"{users} user(s)","AUDIENCE_ONLY_ME":"Only me"}}'),Nm=({children:e,onDoubleTap:t,onDoubleTapMsDelay:n=400})=>{const[r,i]=(0,D.useState)(0);return(0,D.useEffect)(()=>{r>1&&(t(),i(0))},[r,t]),(0,M.jsx)("div",{onClick:()=>{i(r+1),setTimeout(()=>{i(0)},n)},children:e})},Fm=({elms:e,renderEl:t,onDrag:n,onDrop:r,isFullWidth:i=!1})=>(0,M.jsx)(ft,{backend:Lr,children:e.map((e,o)=>(0,M.jsx)($m,{onDrag:n,onDrop:r,index:o,isFullWidth:i,children:(0,M.jsx)(M.Fragment,{children:t(e,o)})},o))}),$m=({children:e,index:t,onDrag:n,onDrop:r,isFullWidth:i})=>{const o=(0,D.useRef)(null),[,a]=Kn({accept:"div",drop(e){if(!o.current)return;if(!r)return;const t=e.index;r(t,0)},hover(e,r){if(!o.current)return;const i=e.index,a=t;if(i===a)return;const s=o.current?.getBoundingClientRect(),l=(s.bottom-s.top)/2,c=r.getClientOffset().y-s.top;i<a&&c<l||i>a&&c>l||(n(i,a),e.index=a)}}),[{isDragging:s},l]=Vn({type:"div",item:()=>({index:t}),collect:e=>({isDragging:e.isDragging()})}),c=(0,D.useMemo)(()=>({opacity:s?.4:1,width:i?"100%":"auto"}),[s,i]);return l(a(o)),(0,M.jsx)("div",{ref:o,style:c,children:e})};var zm=i(2736),Hm=i.n(zm),Um="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),Wm=new Uint8Array(16);function Gm(){if(!Um)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Um(Wm)}for(var Vm=[],qm=0;qm<256;++qm)Vm[qm]=(qm+256).toString(16).substr(1);const Ym=function(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||Gm)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var o=0;o<16;++o)t[r+o]=i[o];return t||function(e,t){var n=t||0,r=Vm;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")}(i)};function Jm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Qm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jm(Object(n),!0).forEach(function(t){Xm(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jm(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Zm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Km(){return Km=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Km.apply(this,arguments)}function eg(e){return eg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},eg(e)}function tg(e,t){return tg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},tg(e,t)}function ng(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=eg(e);if(t){var i=eg(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function rg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ig="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==i.g?i.g:"undefined"!=typeof self?self:{},og=function(e){return e&&e.Math==Math&&e},ag=og("object"==typeof globalThis&&globalThis)||og("object"==typeof window&&window)||og("object"==typeof self&&self)||og("object"==typeof ig&&ig)||function(){return this}()||Function("return this")(),sg={},lg=function(e){try{return!!e()}catch(e){return!0}},cg=!lg(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),dg=!lg(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),ug=dg,hg=Function.prototype.call,pg=ug?hg.bind(hg):function(){return hg.apply(hg,arguments)},fg={},mg={}.propertyIsEnumerable,gg=Object.getOwnPropertyDescriptor,vg=gg&&!mg.call({1:2},1);fg.f=vg?function(e){var t=gg(this,e);return!!t&&t.enumerable}:mg;var yg,bg,xg=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},wg=dg,Cg=Function.prototype,Sg=Cg.call,Ag=wg&&Cg.bind.bind(Sg,Sg),kg=function(e){return wg?Ag(e):function(){return Sg.apply(e,arguments)}},_g=kg,Eg=_g({}.toString),Tg=_g("".slice),Dg=function(e){return Tg(Eg(e),8,-1)},jg=Dg,Rg=kg,Mg=function(e){if("Function"===jg(e))return Rg(e)},Ig=lg,Og=Dg,Lg=Object,Pg=Mg("".split),Bg=Ig(function(){return!Lg("z").propertyIsEnumerable(0)})?function(e){return"String"==Og(e)?Pg(e,""):Lg(e)}:Lg,Ng=function(e){return null==e},Fg=Ng,$g=TypeError,zg=function(e){if(Fg(e))throw $g("Can't call method on "+e);return e},Hg=Bg,Ug=zg,Wg=function(e){return Hg(Ug(e))},Gg="object"==typeof document&&document.all,Vg={all:Gg,IS_HTMLDDA:void 0===Gg&&void 0!==Gg},qg=Vg.all,Yg=Vg.IS_HTMLDDA?function(e){return"function"==typeof e||e===qg}:function(e){return"function"==typeof e},Jg=Yg,Qg=Vg.all,Zg=Vg.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Jg(e)||e===Qg}:function(e){return"object"==typeof e?null!==e:Jg(e)},Xg=ag,Kg=Yg,ev=function(e,t){return arguments.length<2?(n=Xg[e],Kg(n)?n:void 0):Xg[e]&&Xg[e][t];var n},tv=Mg({}.isPrototypeOf),nv=ag,rv=ev("navigator","userAgent")||"",iv=nv.process,ov=nv.Deno,av=iv&&iv.versions||ov&&ov.version,sv=av&&av.v8;sv&&(bg=(yg=sv.split("."))[0]>0&&yg[0]<4?1:+(yg[0]+yg[1])),!bg&&rv&&(!(yg=rv.match(/Edge\/(\d+)/))||yg[1]>=74)&&(yg=rv.match(/Chrome\/(\d+)/))&&(bg=+yg[1]);var lv=bg,cv=lg,dv=!!Object.getOwnPropertySymbols&&!cv(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&lv&&lv<41}),uv=dv&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,hv=ev,pv=Yg,fv=tv,mv=Object,gv=uv?function(e){return"symbol"==typeof e}:function(e){var t=hv("Symbol");return pv(t)&&fv(t.prototype,mv(e))},vv=String,yv=Yg,bv=TypeError,xv=function(e){if(yv(e))return e;throw bv(function(e){try{return vv(e)}catch(e){return"Object"}}(e)+" is not a function")},wv=xv,Cv=Ng,Sv=pg,Av=Yg,kv=Zg,_v=TypeError,Ev={exports:{}},Tv=ag,Dv=Object.defineProperty,jv=function(e,t){try{Dv(Tv,e,{value:t,configurable:!0,writable:!0})}catch(n){Tv[e]=t}return t},Rv=jv,Mv="__core-js_shared__",Iv=ag[Mv]||Rv(Mv,{}),Ov=Iv;(Ev.exports=function(e,t){return Ov[e]||(Ov[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.25.5",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"});var Lv=zg,Pv=Object,Bv=function(e){return Pv(Lv(e))},Nv=Bv,Fv=Mg({}.hasOwnProperty),$v=Object.hasOwn||function(e,t){return Fv(Nv(e),t)},zv=Mg,Hv=0,Uv=Math.random(),Wv=zv(1..toString),Gv=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Wv(++Hv+Uv,36)},Vv=ag,qv=Ev.exports,Yv=$v,Jv=Gv,Qv=dv,Zv=uv,Xv=qv("wks"),Kv=Vv.Symbol,ey=Kv&&Kv.for,ty=Zv?Kv:Kv&&Kv.withoutSetter||Jv,ny=function(e){if(!Yv(Xv,e)||!Qv&&"string"!=typeof Xv[e]){var t="Symbol."+e;Qv&&Yv(Kv,e)?Xv[e]=Kv[e]:Xv[e]=Zv&&ey?ey(t):ty(t)}return Xv[e]},ry=pg,iy=Zg,oy=gv,ay=TypeError,sy=ny("toPrimitive"),ly=function(e,t){if(!iy(e)||oy(e))return e;var n,r=function(e,t){var n=e[t];return Cv(n)?void 0:wv(n)}(e,sy);if(r){if(void 0===t&&(t="default"),n=ry(r,e,t),!iy(n)||oy(n))return n;throw ay("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&Av(n=e.toString)&&!kv(r=Sv(n,e)))return r;if(Av(n=e.valueOf)&&!kv(r=Sv(n,e)))return r;if("string"!==t&&Av(n=e.toString)&&!kv(r=Sv(n,e)))return r;throw _v("Can't convert object to primitive value")}(e,t)},cy=gv,dy=function(e){var t=ly(e,"string");return cy(t)?t:t+""},uy=Zg,hy=ag.document,py=uy(hy)&&uy(hy.createElement),fy=function(e){return py?hy.createElement(e):{}},my=fy,gy=!cg&&!lg(function(){return 7!=Object.defineProperty(my("div"),"a",{get:function(){return 7}}).a}),vy=cg,yy=pg,by=fg,xy=xg,wy=Wg,Cy=dy,Sy=$v,Ay=gy,ky=Object.getOwnPropertyDescriptor;sg.f=vy?ky:function(e,t){if(e=wy(e),t=Cy(t),Ay)try{return ky(e,t)}catch(e){}if(Sy(e,t))return xy(!yy(by.f,e,t),e[t])};var _y={},Ey=cg&&lg(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),Ty=Zg,Dy=String,jy=TypeError,Ry=function(e){if(Ty(e))return e;throw jy(Dy(e)+" is not an object")},My=cg,Iy=gy,Oy=Ey,Ly=Ry,Py=dy,By=TypeError,Ny=Object.defineProperty,Fy=Object.getOwnPropertyDescriptor,$y="enumerable",zy="configurable",Hy="writable";_y.f=My?Oy?function(e,t,n){if(Ly(e),t=Py(t),Ly(n),"function"==typeof e&&"prototype"===t&&"value"in n&&Hy in n&&!n[Hy]){var r=Fy(e,t);r&&r[Hy]&&(e[t]=n.value,n={configurable:zy in n?n[zy]:r[zy],enumerable:$y in n?n[$y]:r[$y],writable:!1})}return Ny(e,t,n)}:Ny:function(e,t,n){if(Ly(e),t=Py(t),Ly(n),Iy)try{return Ny(e,t,n)}catch(e){}if("get"in n||"set"in n)throw By("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var Uy=_y,Wy=xg,Gy=cg?function(e,t,n){return Uy.f(e,t,Wy(1,n))}:function(e,t,n){return e[t]=n,e},Vy={exports:{}},qy=cg,Yy=$v,Jy=Function.prototype,Qy=qy&&Object.getOwnPropertyDescriptor,Zy=Yy(Jy,"name"),Xy={EXISTS:Zy,PROPER:Zy&&"something"===function(){}.name,CONFIGURABLE:Zy&&(!qy||qy&&Qy(Jy,"name").configurable)},Ky=Yg,eb=Iv,tb=Mg(Function.toString);Ky(eb.inspectSource)||(eb.inspectSource=function(e){return tb(e)});var nb,rb,ib,ob=eb.inspectSource,ab=Yg,sb=ag.WeakMap,lb=ab(sb)&&/native code/.test(String(sb)),cb=Ev.exports,db=Gv,ub=cb("keys"),hb=function(e){return ub[e]||(ub[e]=db(e))},pb={},fb=lb,mb=ag,gb=Zg,vb=Gy,yb=$v,bb=Iv,xb=hb,wb=pb,Cb="Object already initialized",Sb=mb.TypeError,Ab=mb.WeakMap;if(fb||bb.state){var kb=bb.state||(bb.state=new Ab);kb.get=kb.get,kb.has=kb.has,kb.set=kb.set,nb=function(e,t){if(kb.has(e))throw Sb(Cb);return t.facade=e,kb.set(e,t),t},rb=function(e){return kb.get(e)||{}},ib=function(e){return kb.has(e)}}else{var _b=xb("state");wb[_b]=!0,nb=function(e,t){if(yb(e,_b))throw Sb(Cb);return t.facade=e,vb(e,_b,t),t},rb=function(e){return yb(e,_b)?e[_b]:{}},ib=function(e){return yb(e,_b)}}var Eb={set:nb,get:rb,has:ib,enforce:function(e){return ib(e)?rb(e):nb(e,{})},getterFor:function(e){return function(t){var n;if(!gb(t)||(n=rb(t)).type!==e)throw Sb("Incompatible receiver, "+e+" required");return n}}},Tb=lg,Db=Yg,jb=$v,Rb=cg,Mb=Xy.CONFIGURABLE,Ib=ob,Ob=Eb.enforce,Lb=Eb.get,Pb=Object.defineProperty,Bb=Rb&&!Tb(function(){return 8!==Pb(function(){},"length",{value:8}).length}),Nb=String(String).split("String"),Fb=Vy.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!jb(e,"name")||Mb&&e.name!==t)&&(Rb?Pb(e,"name",{value:t,configurable:!0}):e.name=t),Bb&&n&&jb(n,"arity")&&e.length!==n.arity&&Pb(e,"length",{value:n.arity});try{n&&jb(n,"constructor")&&n.constructor?Rb&&Pb(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=Ob(e);return jb(r,"source")||(r.source=Nb.join("string"==typeof t?t:"")),e};Function.prototype.toString=Fb(function(){return Db(this)&&Lb(this).source||Ib(this)},"toString");var $b=Yg,zb=_y,Hb=Vy.exports,Ub=jv,Wb={},Gb=Math.ceil,Vb=Math.floor,qb=Math.trunc||function(e){var t=+e;return(t>0?Vb:Gb)(t)},Yb=qb,Jb=function(e){var t=+e;return t!=t||0===t?0:Yb(t)},Qb=Jb,Zb=Math.max,Xb=Math.min,Kb=Jb,ex=Math.min,tx=function(e){return(t=e.length)>0?ex(Kb(t),9007199254740991):0;var t},nx=Wg,rx=tx,ix=function(e){return function(t,n,r){var i,o=nx(t),a=rx(o),s=function(e,t){var n=Qb(e);return n<0?Zb(n+t,0):Xb(n,t)}(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},ox={includes:ix(!0),indexOf:ix(!1)},ax=$v,sx=Wg,lx=ox.indexOf,cx=pb,dx=Mg([].push),ux=function(e,t){var n,r=sx(e),i=0,o=[];for(n in r)!ax(cx,n)&&ax(r,n)&&dx(o,n);for(;t.length>i;)ax(r,n=t[i++])&&(~lx(o,n)||dx(o,n));return o},hx=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],px=ux,fx=hx.concat("length","prototype");Wb.f=Object.getOwnPropertyNames||function(e){return px(e,fx)};var mx={};mx.f=Object.getOwnPropertySymbols;var gx=ev,vx=Wb,yx=mx,bx=Ry,xx=Mg([].concat),wx=gx("Reflect","ownKeys")||function(e){var t=vx.f(bx(e)),n=yx.f;return n?xx(t,n(e)):t},Cx=$v,Sx=wx,Ax=sg,kx=_y,_x=lg,Ex=Yg,Tx=/#|\.prototype\./,Dx=function(e,t){var n=Rx[jx(e)];return n==Ix||n!=Mx&&(Ex(t)?_x(t):!!t)},jx=Dx.normalize=function(e){return String(e).replace(Tx,".").toLowerCase()},Rx=Dx.data={},Mx=Dx.NATIVE="N",Ix=Dx.POLYFILL="P",Ox=Dx,Lx=ag,Px=sg.f,Bx=Gy,Nx=function(e,t,n,r){r||(r={});var i=r.enumerable,o=void 0!==r.name?r.name:t;if($b(n)&&Hb(n,o,r),r.global)i?e[t]=n:Ub(t,n);else{try{r.unsafe?e[t]&&(i=!0):delete e[t]}catch(e){}i?e[t]=n:zb.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},Fx=jv,$x=function(e,t,n){for(var r=Sx(t),i=kx.f,o=Ax.f,a=0;a<r.length;a++){var s=r[a];Cx(e,s)||n&&Cx(n,s)||i(e,s,o(t,s))}},zx=Ox,Hx=xv,Ux=dg,Wx=Mg(Mg.bind),Gx=Dg,Vx=Array.isArray||function(e){return"Array"==Gx(e)},qx={};qx[ny("toStringTag")]="z";var Yx="[object z]"===String(qx),Jx=Yg,Qx=Dg,Zx=ny("toStringTag"),Xx=Object,Kx="Arguments"==Qx(function(){return arguments}()),ew=Yx?Qx:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Xx(e),Zx))?n:Kx?Qx(t):"Object"==(r=Qx(t))&&Jx(t.callee)?"Arguments":r},tw=Mg,nw=lg,rw=Yg,iw=ew,ow=ob,aw=function(){},sw=[],lw=ev("Reflect","construct"),cw=/^\s*(?:class|function)\b/,dw=tw(cw.exec),uw=!cw.exec(aw),hw=function(e){if(!rw(e))return!1;try{return lw(aw,sw,e),!0}catch(e){return!1}},pw=function(e){if(!rw(e))return!1;switch(iw(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return uw||!!dw(cw,ow(e))}catch(e){return!0}};pw.sham=!0;var fw=!lw||nw(function(){var e;return hw(hw.call)||!hw(Object)||!hw(function(){e=!0})||e})?pw:hw,mw=Vx,gw=fw,vw=Zg,yw=ny("species"),bw=Array,xw=Bg,ww=Bv,Cw=tx,Sw=function(e,t){return new(function(e){var t;return mw(e)&&(t=e.constructor,(gw(t)&&(t===bw||mw(t.prototype))||vw(t)&&null===(t=t[yw]))&&(t=void 0)),void 0===t?bw:t}(e))(0===t?0:t)},Aw=Mg([].push),kw=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,o=6==e,a=7==e,s=5==e||o;return function(l,c,d,u){for(var h,p,f=ww(l),m=xw(f),g=function(e,t){return Hx(e),void 0===t?e:Ux?Wx(e,t):function(){return e.apply(t,arguments)}}(c,d),v=Cw(m),y=0,b=u||Sw,x=t?b(l,v):n||a?b(l,0):void 0;v>y;y++)if((s||y in m)&&(p=g(h=m[y],y,f),e))if(t)x[y]=p;else if(p)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:Aw(x,h)}else switch(e){case 4:return!1;case 7:Aw(x,h)}return o?-1:r||i?i:x}},_w={forEach:kw(0),map:kw(1),filter:kw(2),some:kw(3),every:kw(4),find:kw(5),findIndex:kw(6),filterReject:kw(7)},Ew={},Tw=ux,Dw=hx,jw=Object.keys||function(e){return Tw(e,Dw)},Rw=cg,Mw=Ey,Iw=_y,Ow=Ry,Lw=Wg,Pw=jw;Ew.f=Rw&&!Mw?Object.defineProperties:function(e,t){Ow(e);for(var n,r=Lw(t),i=Pw(t),o=i.length,a=0;o>a;)Iw.f(e,n=i[a++],r[n]);return e};var Bw,Nw=ev("document","documentElement"),Fw=Ry,$w=Ew,zw=hx,Hw=pb,Uw=Nw,Ww=fy,Gw="prototype",Vw="script",qw=hb("IE_PROTO"),Yw=function(){},Jw=function(e){return"<"+Vw+">"+e+"</"+Vw+">"},Qw=function(e){e.write(Jw("")),e.close();var t=e.parentWindow.Object;return e=null,t},Zw=function(){try{Bw=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;Zw="undefined"!=typeof document?document.domain&&Bw?Qw(Bw):(t=Ww("iframe"),n="java"+Vw+":",t.style.display="none",Uw.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(Jw("document.F=Object")),e.close(),e.F):Qw(Bw);for(var r=zw.length;r--;)delete Zw[Gw][zw[r]];return Zw()};Hw[qw]=!0;var Xw=ny,Kw=Object.create||function(e,t){var n;return null!==e?(Yw[Gw]=Fw(e),n=new Yw,Yw[Gw]=null,n[qw]=e):n=Zw(),void 0===t?n:$w.f(n,t)},eC=_y.f,tC=Xw("unscopables"),nC=Array.prototype;null==nC[tC]&&eC(nC,tC,{configurable:!0,value:Kw(null)});var rC,iC=_w.find,oC="find",aC=!0;oC in[]&&Array(1)[oC](function(){aC=!1}),function(e,t){var n,r,i,o,a,s=e.target,l=e.global,c=e.stat;if(n=l?Lx:c?Lx[s]||Fx(s,{}):(Lx[s]||{}).prototype)for(r in t){if(o=t[r],i=e.dontCallGetSet?(a=Px(n,r))&&a.value:n[r],!zx(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;$x(o,i)}(e.sham||i&&i.sham)&&Bx(o,"sham",!0),Nx(n,r,o,e)}}({target:"Array",proto:!0,forced:aC},{find:function(e){return iC(this,e,arguments.length>1?arguments[1]:void 0)}}),rC=oC,nC[tC][rC]=!0;var sC="__react_tooltip_hide_event",lC="__react_tooltip_rebuild_event",cC="__react_tooltip_show_event",dC=function(e,t){var n;"function"==typeof window.CustomEvent?n=new window.CustomEvent(e,{detail:t}):(n=document.createEvent("Event")).initEvent(e,!1,!0,t),window.dispatchEvent(n)},uC=function(e,t){var n=this.state.show,r=this.props.id,i=this.isCapture(t.currentTarget),o=t.currentTarget.getAttribute("currentItem");i||t.stopPropagation(),n&&"true"===o?e||this.hideTooltip(t):(t.currentTarget.setAttribute("currentItem","true"),hC(t.currentTarget,this.getTargetArray(r)),this.showTooltip(t))},hC=function(e,t){for(var n=0;n<t.length;n++)e!==t[n]?t[n].setAttribute("currentItem","false"):t[n].setAttribute("currentItem","true")},pC={id:"9b69f92e-d3fe-498b-b1b4-c5e63a51b0cf",set:function(e,t,n){this.id in e?e[this.id][t]=n:Object.defineProperty(e,this.id,{configurable:!0,value:Xm({},t,n)})},get:function(e,t){var n=e[this.id];if(void 0!==n)return n[t]}},fC=function(e,t,n){for(var r,i,o=t.respectEffect,a=void 0!==o&&o,s=t.customEvent,l=void 0!==s&&s,c=this.props.id,d=null,u=n.target;null===d&&null!==u;)i=u,d=u.getAttribute("data-tip")||null,r=u.getAttribute("data-for")||null,u=u.parentElement;if(u=i||n.target,!this.isCustomEvent(u)||l){var h=null==c&&null==r||r===c;if(null!=d&&(!a||"float"===this.getEffect(u))&&h){var p=function(e){var t={};for(var n in e)"function"==typeof e[n]?t[n]=e[n].bind(e):t[n]=e[n];return t}(n);p.currentTarget=u,e(p)}}},mC=function(e,t){var n={};return e.forEach(function(e){var r=e.getAttribute(t);r&&r.split(" ").forEach(function(e){return n[e]=!0})}),n},gC=function(){return document.getElementsByTagName("body")[0]};function vC(e,t,n,r,i,o,a){var s,l=yC(n),c=l.width,d=l.height,u=yC(t),h=u.width,p=u.height,f=bC(e,t,o),m=f.mouseX,g=f.mouseY,v=xC(o,h,p,c,d),y=wC(a),b=y.extraOffsetX,x=y.extraOffsetY,w=window.innerWidth,C=window.innerHeight,S=CC(n),A=S.parentTop,k=S.parentLeft,_=function(e){var t=v[e].l;return m+t+b},E=function(e){var t=v[e].t;return g+t+x},T=function(e){return function(e){return _(e)<0}(e)||function(e){return function(e){var t=v[e].r;return m+t+b}(e)>w}(e)||function(e){return E(e)<0}(e)||function(e){return function(e){var t=v[e].b;return g+t+x}(e)>C}(e)},D=function(e){return!T(e)},j={top:D("top"),bottom:D("bottom"),left:D("left"),right:D("right")},R=function(){var e,t=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return rg(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rg(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(i.split(",").concat(r,["top","bottom","left","right"]));try{for(t.s();!(e=t.n()).done;){var n=e.value;if(j[n])return n}}catch(e){t.e(e)}finally{t.f()}return r}(),M=!1;return R&&R!==r&&(M=!0,s=R),M?{isNewState:!0,newState:{place:s}}:{isNewState:!1,position:{left:parseInt(_(r)-k,10),top:parseInt(E(r)-A,10)}}}var yC=function(e){var t=e.getBoundingClientRect(),n=t.height,r=t.width;return{height:parseInt(n,10),width:parseInt(r,10)}},bC=function(e,t,n){var r=t.getBoundingClientRect(),i=r.top,o=r.left,a=yC(t),s=a.width,l=a.height;return"float"===n?{mouseX:e.clientX,mouseY:e.clientY}:{mouseX:o+s/2,mouseY:i+l/2}},xC=function(e,t,n,r,i){var o,a,s,l;return"float"===e?(o={l:-r/2,r:r/2,t:-(i+3+2),b:-3},s={l:-r/2,r:r/2,t:15,b:i+3+2+12},l={l:-(r+3+2),r:-3,t:-i/2,b:i/2},a={l:3,r:r+3+2,t:-i/2,b:i/2}):"solid"===e&&(o={l:-r/2,r:r/2,t:-(n/2+i+2),b:-n/2},s={l:-r/2,r:r/2,t:n/2,b:n/2+i+2},l={l:-(r+t/2+2),r:-t/2,t:-i/2,b:i/2},a={l:t/2,r:r+t/2+2,t:-i/2,b:i/2}),{top:o,bottom:s,left:l,right:a}},wC=function(e){var t=0,n=0;for(var r in"[object String]"===Object.prototype.toString.apply(e)&&(e=JSON.parse(e.toString().replace(/'/g,'"'))),e)"top"===r?n-=parseInt(e[r],10):"bottom"===r?n+=parseInt(e[r],10):"left"===r?t-=parseInt(e[r],10):"right"===r&&(t+=parseInt(e[r],10));return{extraOffsetX:t,extraOffsetY:n}},CC=function(e){for(var t=e;t;){var n=window.getComputedStyle(t);if("none"!==n.getPropertyValue("transform")||"transform"===n.getPropertyValue("will-change"))break;t=t.parentElement}return{parentTop:t&&t.getBoundingClientRect().top||0,parentLeft:t&&t.getBoundingClientRect().left||0}};function SC(e,t,n,r){if(t)return t;if(null!=n)return n;if(null===n)return null;var i=/<br\s*\/?>/;return r&&"false"!==r&&i.test(e)?e.split(i).map(function(e,t){return D.createElement("span",{key:t,className:"multi-line"},e)}):e}function AC(e){var t={};return Object.keys(e).filter(function(e){return/(^aria-\w+$|^role$)/.test(e)}).forEach(function(n){t[n]=e[n]}),t}function kC(e){var t=e.length;return e.hasOwnProperty?Array.prototype.slice.call(e):new Array(t).fill().map(function(t){return e[t]})}var _C,EC,TC={dark:{text:"#fff",background:"#222",border:"transparent",arrow:"#222"},success:{text:"#fff",background:"#8DC572",border:"transparent",arrow:"#8DC572"},warning:{text:"#fff",background:"#F0AD4E",border:"transparent",arrow:"#F0AD4E"},error:{text:"#fff",background:"#BE6464",border:"transparent",arrow:"#BE6464"},info:{text:"#fff",background:"#337AB7",border:"transparent",arrow:"#337AB7"},light:{text:"#222",background:"#fff",border:"transparent",arrow:"#fff"}},DC={tooltip:3,arrow:0};var jC,RC=function(e){e.hide=function(e){dC(sC,{target:e})},e.rebuild=function(){dC(lC)},e.show=function(e){dC(cC,{target:e})},e.prototype.globalRebuild=function(){this.mount&&(this.unbindListener(),this.bindListener())},e.prototype.globalShow=function(e){if(this.mount){var t=!!(e&&e.detail&&e.detail.target);this.showTooltip({currentTarget:t&&e.detail.target},!0)}},e.prototype.globalHide=function(e){if(this.mount){var t=!!(e&&e.detail&&e.detail.target);this.hideTooltip({currentTarget:t&&e.detail.target},t)}}}(_C=function(e){e.prototype.bindWindowEvents=function(e){window.removeEventListener(sC,this.globalHide),window.addEventListener(sC,this.globalHide,!1),window.removeEventListener(lC,this.globalRebuild),window.addEventListener(lC,this.globalRebuild,!1),window.removeEventListener(cC,this.globalShow),window.addEventListener(cC,this.globalShow,!1),e&&(window.removeEventListener("resize",this.onWindowResize),window.addEventListener("resize",this.onWindowResize,!1))},e.prototype.unbindWindowEvents=function(){window.removeEventListener(sC,this.globalHide),window.removeEventListener(lC,this.globalRebuild),window.removeEventListener(cC,this.globalShow),window.removeEventListener("resize",this.onWindowResize)},e.prototype.onWindowResize=function(){this.mount&&this.hideTooltip()}}(_C=function(e){e.prototype.isCustomEvent=function(e){return this.state.event||!!e.getAttribute("data-event")},e.prototype.customBindListener=function(e){var t=this,n=this.state,r=n.event,i=n.eventOff,o=e.getAttribute("data-event")||r,a=e.getAttribute("data-event-off")||i;o.split(" ").forEach(function(n){e.removeEventListener(n,pC.get(e,n));var r=uC.bind(t,a);pC.set(e,n,r),e.addEventListener(n,r,!1)}),a&&a.split(" ").forEach(function(n){e.removeEventListener(n,t.hideTooltip),e.addEventListener(n,t.hideTooltip,!1)})},e.prototype.customUnbindListener=function(e){var t=this.state,n=t.event,r=t.eventOff,i=n||e.getAttribute("data-event"),o=r||e.getAttribute("data-event-off");e.removeEventListener(i,pC.get(e,n)),o&&e.removeEventListener(o,this.hideTooltip)}}(_C=function(e){e.prototype.isCapture=function(e){return e&&"true"===e.getAttribute("data-iscapture")||this.props.isCapture||!1}}(_C=function(e){e.prototype.getEffect=function(e){return e.getAttribute("data-effect")||this.props.effect||"float"}}(_C=function(e){e.prototype.isBodyMode=function(){return!!this.props.bodyMode},e.prototype.bindBodyListener=function(e){var t=this,n=this.state,r=n.event,i=n.eventOff,o=n.possibleCustomEvents,a=n.possibleCustomEventsOff,s=gC(),l=mC(e,"data-event"),c=mC(e,"data-event-off");null!=r&&(l[r]=!0),null!=i&&(c[i]=!0),o.split(" ").forEach(function(e){return l[e]=!0}),a.split(" ").forEach(function(e){return c[e]=!0}),this.unbindBodyListener(s);var d=this.bodyModeListeners={};for(var u in null==r&&(d.mouseover=fC.bind(this,this.showTooltip,{}),d.mousemove=fC.bind(this,this.updateTooltip,{respectEffect:!0}),d.mouseout=fC.bind(this,this.hideTooltip,{})),l)d[u]=fC.bind(this,function(e){var n=e.currentTarget.getAttribute("data-event-off")||i;uC.call(t,n,e)},{customEvent:!0});for(var h in c)d[h]=fC.bind(this,this.hideTooltip,{customEvent:!0});for(var p in d)s.addEventListener(p,d[p])},e.prototype.unbindBodyListener=function(e){e=e||gC();var t=this.bodyModeListeners;for(var n in t)e.removeEventListener(n,t[n])}}((EC=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&tg(e,t)}(o,e);var t,n,r,i=ng(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),(t=i.call(this,e)).state={uuid:e.uuid||"t"+Ym(),place:e.place||"top",desiredPlace:e.place||"top",type:e.type||"dark",effect:e.effect||"float",show:!1,border:!1,borderClass:"border",customColors:{},customRadius:{},offset:{},padding:e.padding,extraClass:"",html:!1,delayHide:0,delayShow:0,event:e.event||null,eventOff:e.eventOff||null,currentEvent:null,currentTarget:null,ariaProps:AC(e),isEmptyTip:!1,disable:!1,possibleCustomEvents:e.possibleCustomEvents||"",possibleCustomEventsOff:e.possibleCustomEventsOff||"",originTooltip:null,isMultiline:!1},t.bind(["showTooltip","updateTooltip","hideTooltip","hideTooltipOnScroll","getTooltipContent","globalRebuild","globalShow","globalHide","onWindowResize","mouseOnToolTip"]),t.mount=!0,t.delayShowLoop=null,t.delayHideLoop=null,t.delayReshow=null,t.intervalUpdateContent=null,t}return t=o,n=[{key:"bind",value:function(e){var t=this;e.forEach(function(e){t[e]=t[e].bind(t)})}},{key:"componentDidMount",value:function(){var e=this.props;e.insecure;var t=e.resizeHide,n=e.disableInternalStyle;this.mount=!0,this.bindListener(),this.bindWindowEvents(t),n||this.injectStyles()}},{key:"componentWillUnmount",value:function(){this.mount=!1,this.clearTimer(),this.unbindListener(),this.removeScrollListener(this.state.currentTarget),this.unbindWindowEvents()}},{key:"injectStyles",value:function(){var e=this.tooltipRef;if(e){for(var t,n=e.parentNode;n.parentNode;)n=n.parentNode;switch(n.constructor.name){case"Document":case"HTMLDocument":case void 0:t=n.head;break;default:t=n}if(!t.querySelector("style[data-react-tooltip]")){var r=document.createElement("style");r.textContent='.__react_component_tooltip {\n border-radius: 3px;\n display: inline-block;\n font-size: 13px;\n left: -999em;\n opacity: 0;\n position: fixed;\n pointer-events: none;\n transition: opacity 0.3s ease-out;\n top: -999em;\n visibility: hidden;\n z-index: 999;\n}\n.__react_component_tooltip.allow_hover, .__react_component_tooltip.allow_click {\n pointer-events: auto;\n}\n.__react_component_tooltip::before, .__react_component_tooltip::after {\n content: "";\n width: 0;\n height: 0;\n position: absolute;\n}\n.__react_component_tooltip.show {\n opacity: 0.9;\n margin-top: 0;\n margin-left: 0;\n visibility: visible;\n}\n.__react_component_tooltip.place-top::before {\n bottom: 0;\n left: 50%;\n margin-left: -11px;\n}\n.__react_component_tooltip.place-bottom::before {\n top: 0;\n left: 50%;\n margin-left: -11px;\n}\n.__react_component_tooltip.place-left::before {\n right: 0;\n top: 50%;\n margin-top: -9px;\n}\n.__react_component_tooltip.place-right::before {\n left: 0;\n top: 50%;\n margin-top: -9px;\n}\n.__react_component_tooltip .multi-line {\n display: block;\n padding: 2px 0;\n text-align: center;\n}',r.setAttribute("data-react-tooltip","true"),t.appendChild(r)}}}},{key:"mouseOnToolTip",value:function(){return!(!this.state.show||!this.tooltipRef)&&(this.tooltipRef.matches||(this.tooltipRef.msMatchesSelector?this.tooltipRef.matches=this.tooltipRef.msMatchesSelector:this.tooltipRef.matches=this.tooltipRef.mozMatchesSelector),this.tooltipRef.matches(":hover"))}},{key:"getTargetArray",value:function(e){var t,n=[];if(e){var r=e.replace(/\\/g,"\\\\").replace(/"/g,'\\"');t='[data-tip][data-for="'.concat(r,'"]')}else t="[data-tip]:not([data-for])";return kC(document.getElementsByTagName("*")).filter(function(e){return e.shadowRoot}).forEach(function(e){n=n.concat(kC(e.shadowRoot.querySelectorAll(t)))}),n.concat(kC(document.querySelectorAll(t)))}},{key:"bindListener",value:function(){var e=this,t=this.props,n=t.id,r=t.globalEventOff,i=t.isCapture,o=this.getTargetArray(n);o.forEach(function(t){null===t.getAttribute("currentItem")&&t.setAttribute("currentItem","false"),e.unbindBasicListener(t),e.isCustomEvent(t)&&e.customUnbindListener(t)}),this.isBodyMode()?this.bindBodyListener(o):o.forEach(function(t){var n=e.isCapture(t),r=e.getEffect(t);e.isCustomEvent(t)?e.customBindListener(t):(t.addEventListener("mouseenter",e.showTooltip,n),t.addEventListener("focus",e.showTooltip,n),"float"===r&&t.addEventListener("mousemove",e.updateTooltip,n),t.addEventListener("mouseleave",e.hideTooltip,n),t.addEventListener("blur",e.hideTooltip,n))}),r&&(window.removeEventListener(r,this.hideTooltip),window.addEventListener(r,this.hideTooltip,i)),this.bindRemovalTracker()}},{key:"unbindListener",value:function(){var e=this,t=this.props,n=t.id,r=t.globalEventOff;this.isBodyMode()?this.unbindBodyListener():this.getTargetArray(n).forEach(function(t){e.unbindBasicListener(t),e.isCustomEvent(t)&&e.customUnbindListener(t)}),r&&window.removeEventListener(r,this.hideTooltip),this.unbindRemovalTracker()}},{key:"unbindBasicListener",value:function(e){var t=this.isCapture(e);e.removeEventListener("mouseenter",this.showTooltip,t),e.removeEventListener("mousemove",this.updateTooltip,t),e.removeEventListener("mouseleave",this.hideTooltip,t)}},{key:"getTooltipContent",value:function(){var e,t=this.props,n=t.getContent,r=t.children;return n&&(e=Array.isArray(n)?n[0]&&n[0](this.state.originTooltip):n(this.state.originTooltip)),SC(this.state.originTooltip,r,e,this.state.isMultiline)}},{key:"isEmptyTip",value:function(e){return"string"==typeof e&&""===e||null===e}},{key:"showTooltip",value:function(e,t){if(this.tooltipRef){if(t&&!this.getTargetArray(this.props.id).some(function(t){return t===e.currentTarget}))return;var n=this.props,r=n.multiline,i=n.getContent,o=e.currentTarget.getAttribute("data-tip"),a=e.currentTarget.getAttribute("data-multiline")||r||!1,s=e instanceof window.FocusEvent||t,l=!0;e.currentTarget.getAttribute("data-scroll-hide")?l="true"===e.currentTarget.getAttribute("data-scroll-hide"):null!=this.props.scrollHide&&(l=this.props.scrollHide),e&&e.currentTarget&&e.currentTarget.setAttribute&&e.currentTarget.setAttribute("aria-describedby",this.props.id||this.state.uuid);var c=e.currentTarget.getAttribute("data-place")||this.props.place||"top",d=s?"solid":this.getEffect(e.currentTarget),u=e.currentTarget.getAttribute("data-offset")||this.props.offset||{},h=vC(e,e.currentTarget,this.tooltipRef,c.split(",")[0],c,d,u);h.position&&this.props.overridePosition&&(h.position=this.props.overridePosition(h.position,e,e.currentTarget,this.tooltipRef,c,c,d,u));var p=h.isNewState?h.newState.place:c.split(",")[0];this.clearTimer();var f=e.currentTarget,m=this.state.show?f.getAttribute("data-delay-update")||this.props.delayUpdate:0,g=this,v=function(){g.setState({originTooltip:o,isMultiline:a,desiredPlace:c,place:p,type:f.getAttribute("data-type")||g.props.type||"dark",customColors:{text:f.getAttribute("data-text-color")||g.props.textColor||null,background:f.getAttribute("data-background-color")||g.props.backgroundColor||null,border:f.getAttribute("data-border-color")||g.props.borderColor||null,arrow:f.getAttribute("data-arrow-color")||g.props.arrowColor||null},customRadius:{tooltip:f.getAttribute("data-tooltip-radius")||g.props.tooltipRadius||"3",arrow:f.getAttribute("data-arrow-radius")||g.props.arrowRadius||"0"},effect:d,offset:u,padding:f.getAttribute("data-padding")||g.props.padding,html:(f.getAttribute("data-html")?"true"===f.getAttribute("data-html"):g.props.html)||!1,delayShow:f.getAttribute("data-delay-show")||g.props.delayShow||0,delayHide:f.getAttribute("data-delay-hide")||g.props.delayHide||0,delayUpdate:f.getAttribute("data-delay-update")||g.props.delayUpdate||0,border:(f.getAttribute("data-border")?"true"===f.getAttribute("data-border"):g.props.border)||!1,borderClass:f.getAttribute("data-border-class")||g.props.borderClass||"border",extraClass:f.getAttribute("data-class")||g.props.class||g.props.className||"",disable:(f.getAttribute("data-tip-disable")?"true"===f.getAttribute("data-tip-disable"):g.props.disable)||!1,currentTarget:f},function(){l&&g.addScrollListener(g.state.currentTarget),g.updateTooltip(e),i&&Array.isArray(i)&&(g.intervalUpdateContent=setInterval(function(){if(g.mount){var e=g.props.getContent,t=SC(o,"",e[0](),a),n=g.isEmptyTip(t);g.setState({isEmptyTip:n}),g.updatePosition()}},i[1]))})};m?this.delayReshow=setTimeout(v,m):v()}}},{key:"updateTooltip",value:function(e){var t=this,n=this.state,r=n.delayShow,i=n.disable,o=this.props,a=o.afterShow,s=o.disable,l=this.getTooltipContent(),c=e.currentTarget||e.target;if(!this.mouseOnToolTip()&&!(this.isEmptyTip(l)||i||s)){var d=this.state.show?0:parseInt(r,10),u=function(){if(Array.isArray(l)&&l.length>0||l){var n=!t.state.show;t.setState({currentEvent:e,currentTarget:c,show:!0},function(){t.updatePosition(function(){n&&a&&a(e)})})}};this.delayShowLoop&&clearTimeout(this.delayShowLoop),d?this.delayShowLoop=setTimeout(u,d):(this.delayShowLoop=null,u())}}},{key:"listenForTooltipExit",value:function(){this.state.show&&this.tooltipRef&&this.tooltipRef.addEventListener("mouseleave",this.hideTooltip)}},{key:"removeListenerForTooltipExit",value:function(){this.state.show&&this.tooltipRef&&this.tooltipRef.removeEventListener("mouseleave",this.hideTooltip)}},{key:"hideTooltip",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isScroll:!1},i=this.state.disable,o=r.isScroll?0:this.state.delayHide,a=this.props,s=a.afterHide,l=a.disable,c=this.getTooltipContent();if(this.mount&&!(this.isEmptyTip(c)||i||l)){if(t&&(!this.getTargetArray(this.props.id).some(function(t){return t===e.currentTarget})||!this.state.show))return;e&&e.currentTarget&&e.currentTarget.removeAttribute&&e.currentTarget.removeAttribute("aria-describedby");var d=function(){var t=n.state.show;n.mouseOnToolTip()?n.listenForTooltipExit():(n.removeListenerForTooltipExit(),n.setState({show:!1},function(){n.removeScrollListener(n.state.currentTarget),t&&s&&s(e)}))};this.clearTimer(),o?this.delayHideLoop=setTimeout(d,parseInt(o,10)):d()}}},{key:"hideTooltipOnScroll",value:function(e,t){this.hideTooltip(e,t,{isScroll:!0})}},{key:"addScrollListener",value:function(e){var t=this.isCapture(e);window.addEventListener("scroll",this.hideTooltipOnScroll,t)}},{key:"removeScrollListener",value:function(e){var t=this.isCapture(e);window.removeEventListener("scroll",this.hideTooltipOnScroll,t)}},{key:"updatePosition",value:function(e){var t=this,n=this.state,r=n.currentEvent,i=n.currentTarget,o=n.place,a=n.desiredPlace,s=n.effect,l=n.offset,c=this.tooltipRef,d=vC(r,i,c,o,a,s,l);if(d.position&&this.props.overridePosition&&(d.position=this.props.overridePosition(d.position,r,i,c,o,a,s,l)),d.isNewState)return this.setState(d.newState,function(){t.updatePosition(e)});e&&"function"==typeof e&&e(),c.style.left=d.position.left+"px",c.style.top=d.position.top+"px"}},{key:"clearTimer",value:function(){this.delayShowLoop&&(clearTimeout(this.delayShowLoop),this.delayShowLoop=null),this.delayHideLoop&&(clearTimeout(this.delayHideLoop),this.delayHideLoop=null),this.delayReshow&&(clearTimeout(this.delayReshow),this.delayReshow=null),this.intervalUpdateContent&&(clearInterval(this.intervalUpdateContent),this.intervalUpdateContent=null)}},{key:"hasCustomColors",value:function(){var e=this;return Boolean(Object.keys(this.state.customColors).find(function(t){return"border"!==t&&e.state.customColors[t]})||this.state.border&&this.state.customColors.border)}},{key:"render",value:function(){var e=this,t=this.state,n=t.extraClass,r=t.html,i=t.ariaProps,a=t.disable,s=t.uuid,l=this.getTooltipContent(),c=this.isEmptyTip(l),d=this.props.disableInternalStyle?"":function(e,t,n,r,i,o){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"8px 21px",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:DC,i=t.text,o=t.background,a=t.border,s=t.arrow,l=r.arrow,c=r.tooltip;return"\n \t.".concat(e," {\n\t color: ").concat(i,";\n\t background: ").concat(o,";\n\t border: 1px solid ").concat(a,";\n\t border-radius: ").concat(c,"px;\n\t padding: ").concat(n,";\n \t}\n\n \t.").concat(e,".place-top {\n margin-top: -10px;\n }\n .").concat(e,'.place-top::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: 2;\n width: 20px;\n height: 12px;\n }\n .').concat(e,'.place-top::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ').concat(l,"px;\n border: 1px solid ").concat(a,";\n background-color: ").concat(s,";\n z-index: -2;\n bottom: -6px;\n left: 50%;\n margin-left: -6px;\n transform: rotate(135deg);\n }\n\n .").concat(e,".place-bottom {\n margin-top: 10px;\n }\n .").concat(e,'.place-bottom::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: -1;\n width: 18px;\n height: 10px;\n }\n .').concat(e,'.place-bottom::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ').concat(l,"px;\n border: 1px solid ").concat(a,";\n background-color: ").concat(s,";\n z-index: -2;\n top: -6px;\n left: 50%;\n margin-left: -6px;\n transform: rotate(45deg);\n }\n\n .").concat(e,".place-left {\n margin-left: -10px;\n }\n .").concat(e,'.place-left::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: -1;\n width: 10px;\n height: 18px;\n }\n .').concat(e,'.place-left::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ').concat(l,"px;\n border: 1px solid ").concat(a,";\n background-color: ").concat(s,";\n z-index: -2;\n right: -6px;\n top: 50%;\n margin-top: -6px;\n transform: rotate(45deg);\n }\n\n .").concat(e,".place-right {\n margin-left: 10px;\n }\n .").concat(e,'.place-right::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: -1;\n width: 10px;\n height: 18px;\n }\n .').concat(e,'.place-right::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ').concat(l,"px;\n border: 1px solid ").concat(a,";\n background-color: ").concat(s,";\n z-index: -2;\n left: -6px;\n top: 50%;\n margin-top: -6px;\n transform: rotate(-135deg);\n }\n ")}(e,function(e,t,n){var r=e.text,i=e.background,o=e.border,a=e.arrow?e.arrow:e.background,s=function(e){return TC[e]?Qm({},TC[e]):void 0}(t);return r&&(s.text=r),i&&(s.background=i),n&&(s.border=o||("light"===t?"black":"white")),a&&(s.arrow=a),s}(t,n,r),i,o)}(this.state.uuid,this.state.customColors,this.state.type,this.state.border,this.state.padding,this.state.customRadius),u="__react_component_tooltip"+" ".concat(this.state.uuid)+(!this.state.show||a||c?"":" show")+(this.state.border?" "+this.state.borderClass:"")+" place-".concat(this.state.place)+" type-".concat(this.hasCustomColors()?"custom":this.state.type)+(this.props.delayUpdate?" allow_hover":"")+(this.props.clickable?" allow_click":""),h=this.props.wrapper;o.supportedWrappers.indexOf(h)<0&&(h=o.defaultProps.wrapper);var p=[u,n].filter(Boolean).join(" ");if(r){var f="".concat(l).concat(d?'\n<style aria-hidden="true">'.concat(d,"</style>"):"");return D.createElement(h,Km({className:"".concat(p),id:this.props.id||s,ref:function(t){return e.tooltipRef=t}},i,{"data-id":"tooltip",dangerouslySetInnerHTML:{__html:f}}))}return D.createElement(h,Km({className:"".concat(p),id:this.props.id||s},i,{ref:function(t){return e.tooltipRef=t},"data-id":"tooltip"}),d&&D.createElement("style",{dangerouslySetInnerHTML:{__html:d},"aria-hidden":"true"}),l)}}],r=[{key:"propTypes",get:function(){return{uuid:Hm().string,children:Hm().any,place:Hm().string,type:Hm().string,effect:Hm().string,offset:Hm().object,padding:Hm().string,multiline:Hm().bool,border:Hm().bool,borderClass:Hm().string,textColor:Hm().string,backgroundColor:Hm().string,borderColor:Hm().string,arrowColor:Hm().string,arrowRadius:Hm().string,tooltipRadius:Hm().string,insecure:Hm().bool,class:Hm().string,className:Hm().string,id:Hm().string,html:Hm().bool,delayHide:Hm().number,delayUpdate:Hm().number,delayShow:Hm().number,event:Hm().string,eventOff:Hm().string,isCapture:Hm().bool,globalEventOff:Hm().string,getContent:Hm().any,afterShow:Hm().func,afterHide:Hm().func,overridePosition:Hm().func,disable:Hm().bool,scrollHide:Hm().bool,resizeHide:Hm().bool,wrapper:Hm().string,bodyMode:Hm().bool,possibleCustomEvents:Hm().string,possibleCustomEventsOff:Hm().string,clickable:Hm().bool,disableInternalStyle:Hm().bool}}},{key:"getDerivedStateFromProps",value:function(e,t){var n=t.ariaProps,r=AC(e);return Object.keys(r).some(function(e){return r[e]!==n[e]})?Qm(Qm({},t),{},{ariaProps:r}):null}}],n&&Zm(t.prototype,n),r&&Zm(t,r),Object.defineProperty(t,"prototype",{writable:!1}),o}(D.Component),Xm(EC,"defaultProps",{insecure:!0,resizeHide:!0,wrapper:"div",clickable:!1}),Xm(EC,"supportedWrappers",["div","span"]),Xm(EC,"displayName","ReactTooltip"),(jC=_C=EC).prototype.bindRemovalTracker=function(){var e=this,t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(null!=t){var n=new t(function(t){for(var n=0;n<t.length;n++)for(var r=t[n],i=0;i<r.removedNodes.length;i++)if(r.removedNodes[i]===e.state.currentTarget)return void e.hideTooltip()});n.observe(window.document,{childList:!0,subtree:!0}),this.removalTracker=n}},_C=void(jC.prototype.unbindRemovalTracker=function(){this.removalTracker&&(this.removalTracker.disconnect(),this.removalTracker=null)})||_C))||_C)||_C)||_C)||_C)||_C)||_C;const MC=Uf`
2
+ (()=>{var e,t,n={415:(e,t,n)=>{var r=n(2516),i=n(1474);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},682:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=s(n(2736)),o=n(758),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}var l={bgColor:i.default.oneOfType([i.default.object,i.default.string]).isRequired,bgD:i.default.string.isRequired,fgColor:i.default.oneOfType([i.default.object,i.default.string]).isRequired,fgD:i.default.string.isRequired,size:i.default.number.isRequired,title:i.default.string,viewBoxSize:i.default.number.isRequired,xmlns:i.default.string},c=(0,o.forwardRef)(function(e,t){var n=e.bgColor,i=e.bgD,o=e.fgD,s=e.fgColor,l=e.size,c=e.title,d=e.viewBoxSize,u=e.xmlns,h=void 0===u?"http://www.w3.org/2000/svg":u,p=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["bgColor","bgD","fgD","fgColor","size","title","viewBoxSize","xmlns"]);return a.default.createElement("svg",r({},p,{height:l,ref:t,viewBox:"0 0 "+d+" "+d,width:l,xmlns:h}),c?a.default.createElement("title",null,c):null,a.default.createElement("path",{d:i,fill:n}),a.default.createElement("path",{d:o,fill:s}))});c.displayName="QRCodeSvg",c.propTypes=l,t.default=c},758:(e,t,n)=>{"use strict";e.exports=n(2713)},809:(e,t,n)=>{"use strict";e.exports=n(3278)},1035:(e,t,n)=>{"use strict";var r=n(5959),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,d=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(f){var i=p(n);i&&i!==f&&e(t,i,r)}var a=d(n);u&&(a=a.concat(u(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!(o[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=h(n,v);try{c(t,v,y)}catch(e){}}}}return t}},1135:(e,t,n)=>{var r=n(5616),i=n(3249),o=n(7304),a=n(9049),s=n(9363);function l(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}var c=l.prototype;c.addData=function(e){var t=new r(e);this.dataList.push(t),this.dataCache=null},c.isDark=function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},c.getModuleCount=function(){return this.moduleCount},c.make=function(){if(this.typeNumber<1){var e=1;for(e=1;e<40;e++){for(var t=i.getRSBlocks(e,this.errorCorrectLevel),n=new o,r=0,s=0;s<t.length;s++)r+=t[s].dataCount;for(s=0;s<this.dataList.length;s++){var l=this.dataList[s];n.put(l.mode,4),n.put(l.getLength(),a.getLengthInBits(l.mode,e)),l.write(n)}if(n.getLengthInBits()<=8*r)break}this.typeNumber=e}this.makeImpl(!1,this.getBestMaskPattern())},c.makeImpl=function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++)this.modules[n][r]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=l.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},c.setupPositionProbePattern=function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},c.getBestMaskPattern=function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=a.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},c.createMovieClip=function(e,t,n){var r=e.createEmptyMovieClip(t,n);this.make();for(var i=0;i<this.modules.length;i++)for(var o=1*i,a=0;a<this.modules[i].length;a++){var s=1*a;this.modules[i][a]&&(r.beginFill(0,100),r.moveTo(s,o),r.lineTo(s+1,o),r.lineTo(s+1,o+1),r.lineTo(s,o+1),r.endFill())}return r},c.setupTimingPattern=function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},c.setupPositionAdjustPattern=function(){for(var e=a.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var r=e[t],i=e[n];if(null==this.modules[r][i])for(var o=-2;o<=2;o++)for(var s=-2;s<=2;s++)this.modules[r+o][i+s]=-2==o||2==o||-2==s||2==s||0==o&&0==s}},c.setupTypeNumber=function(e){for(var t=a.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++)r=!e&&1==(t>>n&1),this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r},c.setupTypeInfo=function(e,t){for(var n=this.errorCorrectLevel<<3|t,r=a.getBCHTypeInfo(n),i=0;i<15;i++){var o=!e&&1==(r>>i&1);i<6?this.modules[i][8]=o:i<8?this.modules[i+1][8]=o:this.modules[this.moduleCount-15+i][8]=o}for(i=0;i<15;i++)o=!e&&1==(r>>i&1),i<8?this.modules[8][this.moduleCount-i-1]=o:i<9?this.modules[8][15-i-1+1]=o:this.modules[8][15-i-1]=o;this.modules[this.moduleCount-8][8]=!e},c.mapData=function(e,t){for(var n=-1,r=this.moduleCount-1,i=7,o=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var l=0;l<2;l++)if(null==this.modules[r][s-l]){var c=!1;o<e.length&&(c=1==(e[o]>>>i&1)),a.getMask(t,r,s-l)&&(c=!c),this.modules[r][s-l]=c,-1==--i&&(o++,i=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}},l.PAD0=236,l.PAD1=17,l.createData=function(e,t,n){for(var r=i.getRSBlocks(e,t),s=new o,c=0;c<n.length;c++){var d=n[c];s.put(d.mode,4),s.put(d.getLength(),a.getLengthInBits(d.mode,e)),d.write(s)}var u=0;for(c=0;c<r.length;c++)u+=r[c].dataCount;if(s.getLengthInBits()>8*u)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*u+")");for(s.getLengthInBits()+4<=8*u&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;!(s.getLengthInBits()>=8*u||(s.put(l.PAD0,8),s.getLengthInBits()>=8*u));)s.put(l.PAD1,8);return l.createBytes(s,r)},l.createBytes=function(e,t){for(var n=0,r=0,i=0,o=new Array(t.length),l=new Array(t.length),c=0;c<t.length;c++){var d=t[c].dataCount,u=t[c].totalCount-d;r=Math.max(r,d),i=Math.max(i,u),o[c]=new Array(d);for(var h=0;h<o[c].length;h++)o[c][h]=255&e.buffer[h+n];n+=d;var p=a.getErrorCorrectPolynomial(u),f=new s(o[c],p.getLength()-1).mod(p);for(l[c]=new Array(p.getLength()-1),h=0;h<l[c].length;h++){var m=h+f.getLength()-l[c].length;l[c][h]=m>=0?f.get(m):0}}var g=0;for(h=0;h<t.length;h++)g+=t[h].totalCount;var v=new Array(g),y=0;for(h=0;h<r;h++)for(c=0;c<t.length;c++)h<o[c].length&&(v[y++]=o[c][h]);for(h=0;h<i;h++)for(c=0;c<t.length;c++)h<l[c].length&&(v[y++]=l[c][h]);return v},e.exports=l},1474:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(3434),i=n.n(r),o=n(6170),a=n.n(o)()(i());a.push([e.id,".react-reset {\n --scrollbarTrack: white;\n --scrollbarThumb: #bebed1;\n}\n.react-reset * {\n scrollbar-width: thin;\n scrollbar-color: var(--scrollbarThumb) var(--scrollbarTrack);\n scroll-behavior: smooth;\n}\n.react-reset *::-webkit-scrollbar-track {\n background: var(--scrollbarTrack);\n}\n.react-reset *::-webkit-scrollbar-thumb {\n background-color: var(--scrollbarThumb);\n}\n.react-reset *::-webkit-scrollbar {\n width: 8px;\n}\n","",{version:3,sources:["webpack://./src/components/JRCThemeProvider/scrollbar.css"],names:[],mappings:"AAAA;IACI,uBAAuB;IACvB,yBAAyB;AAC7B;AACA;IACI,qBAAqB;IACrB,4DAA4D;IAC5D,uBAAuB;AAC3B;AACA;IACI,iCAAiC;AACrC;AACA;IACI,uCAAuC;AAC3C;AACA;IACI,UAAU;AACd",sourcesContent:[".react-reset {\n --scrollbarTrack: white;\n --scrollbarThumb: #bebed1;\n}\n.react-reset * {\n scrollbar-width: thin;\n scrollbar-color: var(--scrollbarThumb) var(--scrollbarTrack);\n scroll-behavior: smooth;\n}\n.react-reset *::-webkit-scrollbar-track {\n background: var(--scrollbarTrack);\n}\n.react-reset *::-webkit-scrollbar-thumb {\n background-color: var(--scrollbarThumb);\n}\n.react-reset *::-webkit-scrollbar {\n width: 8px;\n}\n"],sourceRoot:""}]);const s=a},1630:e=>{(()=>{"use strict";var t={d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};t.r(n),t.d(n,{ACCESS_REQUEST_ACCEPT:()=>ym,ACCESS_REQUEST_DENY:()=>bm,AdminAdvancedApi:()=>i,AdminLicenseApi:()=>Kd,AdminLogApi:()=>eu,AdminStoreApi:()=>tu,AdminUtilsApi:()=>nu,BookmarkType:()=>Ru,ContentReportStatus:()=>ms,DateFormatSchema:()=>Ai,DiapazoneExtraFieldsSchema:()=>ks,FREQUENCY_DAILY:()=>Nn,FREQUENCY_GROUP:()=>Bn,FREQUENCY_INHERIT:()=>Ln,FREQUENCY_NEVER:()=>$n,FREQUENCY_NOW:()=>Pn,FREQUENCY_WEEKLY:()=>Fn,Format:()=>Zn,GroupModerateStatus:()=>ar,GroupPrivacy:()=>lr,ImapConnection:()=>jf,JApplicationApi:()=>yu,JArticleApi:()=>bu,JAssetReservation:()=>xu,JAudienceApi:()=>wu,JBaseApi:()=>r,JBbbApi:()=>Cu,JBookmarkApi:()=>Su,JBusinessNetworkingApi:()=>Au,JCalendarApi:()=>ku,JCommunityApi:()=>_u,JContentFactory:()=>Em,JContentReportApi:()=>jm,JDatasourceApi:()=>Rm,JDiapazoneApi:()=>Mm,JDriveApi:()=>Im,JExternalAppApi:()=>Om,JExtraBotApi:()=>Lm,JFaqApi:()=>Pm,JFileApi:()=>Bm,JFileIntegrity:()=>Fm,JFilebankApi:()=>Nm,JGlobalApi:()=>$m,JGroupApi:()=>zm,JIAApi:()=>Ym,JJamespotApi:()=>Hm,JLandApi:()=>Qm,JLandMapCreationSchema:()=>il,JLuccaApi:()=>Zm,JMeetingApi:()=>eg,JModuleApi:()=>rg,JObjectApi:()=>ig,JOrgchartsApi:()=>sg,JPublishButtonApi:()=>lg,JQuestionAnswerApi:()=>cg,JSearchApi:()=>dg,JShareApi:()=>ug,JSocialEventApi:()=>hg,JTaxonomyApi:()=>pg,JTeamWorkApi:()=>fg,JUserApi:()=>vg,JWedocApi:()=>bg,JWidgetApi:()=>xg,JamespotUserApi:()=>wg,JamespotUserApiInstance:()=>Ag,JitsiApi:()=>Jm,LanguagesList:()=>o,LanguagesSchema:()=>nn,Network:()=>Td,NumberFormatSchema:()=>ki,OAuth2ServerHookSchema:()=>fu,OfficeProviderSchema:()=>Pf,OrgChartConfigSchema:()=>Kl,OrgChartConfigurationSchema:()=>oc,OrgChartLinkSchema:()=>Ql,OrgChartNodeSchema:()=>Xl,OrgChartUpdateMetasFormSchema:()=>ic,PublishButtonConfigurationCustomSectionSchema:()=>Ch,PublishButtonConfigurationSchema:()=>Sh,PublishButtonSectionEntrySchema:()=>rp,PublishButtonSectionSchema:()=>ip,PublishButtonSectionsSchema:()=>op,StudioApplicationStatus:()=>vu,SurveyFieldName:()=>va,TVChannelCustomSchema:()=>Ac,TVDisplayApi:()=>mg,TwoFactorAuthenticationDailyActivationStatisticsSchema:()=>hm,TwoFactorAuthenticationGenerateConfigurationSchema:()=>um,TwoFactorAuthenticationStatisticsSchema:()=>dm,UserLevel:()=>mn,UserNotificationsConfigurationSchema:()=>zn,UserVariant:()=>gn,WIDGET_LEVEL_1:()=>ho,WIDGET_LEVEL_2:()=>po,WIDGET_LEVEL_3:()=>fo,WIDGET_LEVEL_4:()=>mo,WRITE_RIGHT_ADMIN:()=>bh,WRITE_RIGHT_ALL:()=>yh,WRITE_RIGHT_CUSTOM:()=>xh,WRITE_RIGHT_PUBLIC:()=>wh,WidgetPresenceResponseUserListSchema:()=>to,WidgetQuickSurveyContentArrSchema:()=>no,WidgetQuickSurveyResponseSchema:()=>ao,WidgetQuickSurveyResponseUserListSchema:()=>so,WidgetsName:()=>Nr,WindowBrowser:()=>Cg,accessRequestStatusValuesSchema:()=>xm,actionParamsSchema:()=>ua,actionVerbSchema:()=>sa,addCommentParamsSchema:()=>No,addFaqEntrySchema:()=>qs,adminAppSchema:()=>Lh,adminAppTabSchema:()=>Oh,adminAppsSchema:()=>Ph,adminLicenseStatsSchema:()=>Ah,adminLicensesAssignedSchema:()=>Eh,adminLicensesNotAssignedSchema:()=>_h,adminLogNavigationSchema:()=>Dh,adminLogObjectSchema:()=>jh,adminLogSearchSchema:()=>Rh,animationConfigurationTypeSchema:()=>Nh,animationStatsRowSchema:()=>Fh,animationStatsSchema:()=>zh,animationVariantSchema:()=>Bh,api:()=>_g,applicationActionBaseSchema:()=>ru,applicationBaseSchema:()=>iu,applicationDefaultSchema:()=>au,applicationExtraPropertiesSchema:()=>ou,applicationIframeSchema:()=>lu,applicationIntranetHookSchema:()=>pu,applicationLinkSchema:()=>su,applicationSchema:()=>mu,applicationTabSchema:()=>cu,applicationWithTabsSchema:()=>hu,articleCreationSchema:()=>Lo,articleDisplayModeSchema:()=>Jr,articleGetConfigSchema:()=>Oo,articleListConfigSchema:()=>Io,articleTranslationGetSchema:()=>Wh,articleTranslationLanguageSchema:()=>Hh,articleTranslationTranslateSchema:()=>Uh,aseiGroupsSchema:()=>Yo,aseiRightsSchema:()=>Jo,aseiTicketStatusSchema:()=>Uo,assetReservationConfigurationSchema:()=>Qo,audienceAutocompleteSchema:()=>Zt,audienceSchema:()=>Br,autocompleteLittleSchema:()=>Kt,baseArticleSchema:()=>Po,baseAutocompleteSchema:()=>qt,bookmarkCustomSchema:()=>Ou,bookmarkLinkSchema:()=>Mu,bookmarkTypesSchema:()=>Iu,businessContactSchema:()=>Mn,calendarEventAdditionalSchema:()=>Xh,calendarEventListAbstractTypeSchema:()=>ep,calendarEventLittleAbstractTypeSchema:()=>Kh,calendarEventViewAbstractTypeSchema:()=>tp,calendarEventsExtension:()=>Zh,calendarOldEventSchema:()=>Jh,categorySchema:()=>wr,checkProperties:()=>Ed,combineFormat:()=>Od,combinedContentFactoryDataSchema:()=>ss,combinedSurveyFieldOptionsSchema:()=>Fa,combinedSurveyFieldSchema:()=>Xa,combinedSurveyFieldTypeSchema:()=>ja,combinedWidgetContentSchema:()=>yo,combinedWidgetTypeSchema:()=>uo,communitySchema:()=>Xt,contentFactoryDefaultDataSchema:()=>os,contentFactorySurveyDataSchema:()=>as,contentFactoryTypes:()=>is,createFaqCategorySchema:()=>Ns,createFaqEntrySchema:()=>Vs,createFaqThemeSchema:()=>Us,createGroupSchema:()=>tr,createReportParamsSchema:()=>bs,cssBackgroundPositionSchema:()=>Ur,cssBackgroundSizeSchema:()=>Wr,cssTextAlignTypeSchema:()=>Hr,davAddressBookContactSchema:()=>Lf,davCalendarEventSchema:()=>Of,deepEqual:()=>Md,default:()=>kg,deleteFaqThemeSchema:()=>Ws,driveAccountSchema:()=>mp,driveGetAccountParamsSchema:()=>Cp,driveGetAccountSchema:()=>Sp,driveGetDocumentParamsSchema:()=>xp,driveGetGroupsParamsSchema:()=>Tp,driveGetTenantsParamsSchema:()=>kp,driveItemTypeSchema:()=>gp,driveLogoutParamsSchema:()=>wp,driveSetDefaultAccountParamsSchema:()=>Ap,driveTmpFileSchema:()=>bp,dropboxDocumentEntitySchema:()=>pp,dropboxDocumentParamsSchema:()=>yp,dropboxGetDocumentsParamsSchema:()=>Ep,editFaqCategorySchema:()=>Fs,editFaqEntrySchema:()=>Ys,editFaqThemeSchema:()=>Gs,ensureApplication:()=>gu,ensureApplicationTabs:()=>uu,ensureIsCalendarOldEvent:()=>Qh,ensureIsMeetingList:()=>Ol,ensureIsSocialEventList:()=>_l,ensureIsSurveyData:()=>Tm,ensureIsViewEvent:()=>Ld,ensureTVGetConfigureDynamicChannelResponse:()=>Vc,ensureTVGetConfigureSlideshowChannelResponse:()=>Jc,ensureWidgetArticleAttachmentType:()=>Bd,ensureWidgetArticleButtonType:()=>Nd,ensureWidgetArticleGalleryType:()=>$d,ensureWidgetArticleImageType:()=>zd,ensureWidgetArticleSliderType:()=>Hd,ensureWidgetArticleTextType:()=>Ud,ensureWidgetArticleTitleType:()=>Wd,ensureWidgetCalendarCalDavType:()=>Jd,ensureWidgetCheckListType:()=>Gd,ensureWidgetContactCardDavType:()=>Qd,ensureWidgetContent:()=>Zr,ensureWidgetDatasourceTableType:()=>Vd,ensureWidgetDefinitionProps:()=>Kc,ensureWidgetEmailsImapType:()=>Zd,ensureWidgetExcelDatasourceTableType:()=>qd,ensureWidgetLuccaAbsenceType:()=>Fd,ensureWidgetObjectHasMinimumProperties:()=>ed,ensureWidgetPresenceContent:()=>Yi,ensureWidgetPresenceResponse:()=>eo,ensureWidgetPresenceResponsePayload:()=>Xi,ensureWidgetPresenceType:()=>Qi,ensureWidgetQuickSurveyType:()=>Yd,ensureWidgetType:()=>Qr,ensureWidgetUserProfileType:()=>Xd,ensureWidgetWrapperProps:()=>Pd,eventStatusFilterSchema:()=>np,extendSchema:()=>Rp,extensions:()=>kt,extractFlattenTaxonomiesFromObject:()=>Sd,extractTaxonomiesFromObject:()=>Cd,extractTaxonomiesFromObjectAndMapProperty:()=>Ad,extractTaxonomiesFromObjectAndMapUri:()=>kd,facetModeSchema:()=>Hf,faqAccessSchema:()=>Hs,faqContentItemSchema:()=>Ts,faqHookPropertiesSchema:()=>zs,faqTaxonomySchema:()=>$s,fileCropConfigSchema:()=>sn,fileSyncAdminSpotSchema:()=>Lp,fileSyncAdminSpotsPropsSchema:()=>Pp,fileSyncFileBankSchema:()=>Ip,fileSyncUserQuotaSchema:()=>Op,filterSchema:()=>qn,filterValueSchema:()=>Wn,filtersSchema:()=>Jn,formatExtensionSchema:()=>Mp,formatImgUrl:()=>St,formatListSchema:()=>Kn,formats:()=>yd,getArgs:()=>bt,getCommentsParamsSchema:()=>Bo,getExtensionFromName:()=>Dt,getFileExtensionFromMimetype:()=>Tt,getFileFamily:()=>Lt,getFileFamilyFromName:()=>It,getFormat:()=>wt,getFrom:()=>vt,getLicenseArticlesParamsSchema:()=>_f,getLicenseKindUsersParamsSchema:()=>Af,getMimetypeFromExtension:()=>Et,getMimetypeFromName:()=>jt,getReportsParamsSchema:()=>ys,getSize:()=>xt,getTimestamp:()=>yt,getUnclassifiedFilesParamsSchema:()=>bl,getUri:()=>gt,getUrl:()=>Ct,gifSchema:()=>wf,groupCategoriesConfigurationSchema:()=>jr,groupCustomWidgetSchema:()=>pr,groupListConfigSchema:()=>Dr,groupMemberLevelSchema:()=>ir,groupMemberSchema:()=>dr,groupModerateStatusSchema:()=>sr,groupPrivacy:()=>cr,groupPropertiesOptionsSchema:()=>fr,groupPropertiesSchema:()=>gr,groupUserLevelSchema:()=>rr,groupWidgetLittleSchema:()=>hr,groupWidgetSchema:()=>xr,groupWidgetsSchema:()=>vr,hookListTypeSchema:()=>xf,imageFormValueSchema:()=>an,imageSizeSchema:()=>on,imapInboxMailSchema:()=>If,inferActionUpdateParamsSchema:()=>ha,inferBookmarkListSchema:()=>ju,inferBookmarkRawListSchema:()=>Du,inferExtendedFaqCategory:()=>Is,inferJInternalDraftView:()=>Mo,inferJLinkListSchema:()=>Tu,inferMaybeWithToken:()=>Qn,inferSearchQueryResultSchema:()=>em,inferUserLicenseSchema:()=>kf,isKnownArticle:()=>bd,isKnownComment:()=>xd,jArticleListSchema:()=>ko,jArticleListShapeTmp:()=>Ao,jArticleLittleSchema:()=>So,jArticleViewSchema:()=>Eo,jArticleWidgetLittleSchema:()=>nd,jArticleWidgetViewSchema:()=>vd,jAseiInstitutionViewSchema:()=>qo,jAseiTicketViewSchema:()=>Go,jBookableAssetListSchema:()=>Xo,jBookableAssetViewSchema:()=>ea,jBusinessContactListSchema:()=>aa,jBusinessContactLittleSchema:()=>ia,jCommentListSchema:()=>ga,jCommentLittleSchema:()=>fa,jContentFactoryDefaultTemplateViewSchema:()=>ps,jContentFactorySurveyTemplateViewSchema:()=>us,jContentFactoryTemplateListSchema:()=>cs,jContentFactoryTemplateViewSchema:()=>fs,jContentReportListSchema:()=>vs,jDiapazoneListSchema:()=>Cs,jDiapazoneViewSchema:()=>As,jEnsure:()=>l,jExtraBotViewSchema:()=>Es,jFaqItemListSchema:()=>Ls,jFaqItemViewSchema:()=>Bs,jFaqListSchema:()=>js,jFaqViewSchema:()=>Ms,jFileLittleCropSchema:()=>hn,jFileLittleSchema:()=>cn,jFileRenditionSchema:()=>pn,jFolderListSchema:()=>Ho,jFolderLittleSchema:()=>Pr,jGroupListSchema:()=>kr,jGroupLittleSchema:()=>Sr,jGroupViewSchema:()=>Er,jHrefSchema:()=>Hn,jIACapabilitiesSchema:()=>Cf,jInternalDraftListSchema:()=>Do,jInternalDraftViewSchema:()=>Ro,jLandLogSchema:()=>el,jLandMapFlavorSchema:()=>nl,jLandMapKindSchema:()=>rl,jLandMapListSchema:()=>ll,jLandMapLittleSchema:()=>al,jLandMapViewSchema:()=>dl,jLandStatSchema:()=>tl,jLinkLittleSchema:()=>Eu,jMediaLibraryFileListSchema:()=>fl,jMediaLibraryFileLittleSchema:()=>hl,jMediaLibraryFolderListSchema:()=>yl,jMediaLibraryFolderLittleSchema:()=>gl,jMeetingListSchema:()=>Il,jMeetingViewSchema:()=>Pl,jMessengerDiscussionGroupListSchema:()=>Jl,jMessengerDiscussionGroupLittleSchema:()=>ql,jMessengerDiscussionUserListSchema:()=>Gl,jMessengerDiscussionUserLittleSchema:()=>Ul,jMessengerMessageLittleSchema:()=>$l,jObjectAutocompleteSchema:()=>Yt,jObjectBaseSchema:()=>Ut,jObjectListSchema:()=>Ir,jObjectLittleSchema:()=>Gt,jOrgChartListSchema:()=>tc,jOrgChartViewSchema:()=>rc,jPollSurveyListSchema:()=>ts,jPollSurveyViewSchema:()=>rs,jQuarantineListSchema:()=>Ks,jQuarantineLittleSchema:()=>Zs,jQuizzListSchema:()=>sc,jQuizzListShapeTmp:()=>ac,jQuizzViewSchema:()=>cc,jReservationListSchema:()=>na,jSocialEventListSchema:()=>kl,jSocialEventViewSchema:()=>Tl,jSpotAutocompleteSchema:()=>Qt,jSupportListSchema:()=>mc,jSupportViewSchema:()=>vc,jSupportViewShapeTmp:()=>gc,jSurveyDateListSchema:()=>bc,jSurveyDateViewSchema:()=>wc,jTvChannelDynamicListSchema:()=>Mc,jTvChannelListSchema:()=>Lc,jTvChannelLittleSchema:()=>jc,jTvChannelSlideshowListSchema:()=>Oc,jUserAutocompleteSchema:()=>Jt,jUserListSchema:()=>xn,jUserLittleSchema:()=>yn,jUserValuesSchema:()=>En,jUserViewSchema:()=>Cn,licenseSchema:()=>Th,mediaLibraryFilesStatsSchema:()=>xl,mediaLibraryFolderStatsSchema:()=>wl,mediaLibraryStatsSchema:()=>Cl,meetingCreationSchema:()=>Bl,meetingUpdateSchema:()=>Nl,mimetypeToExt:()=>_t,mimetypes:()=>At,moduleRestrictionMode:()=>Ef,moveFaqEntrySchema:()=>Js,moveFaqThemeSchema:()=>Qs,moveMediaLibraryFileParamsSchema:()=>Sl,msDocumentEntitySchema:()=>hp,msDocumentParamsSchema:()=>vp,msGetDocumentsParamsSchema:()=>_p,msGroupEntitySchema:()=>dp,msSiteEntitySchema:()=>cp,msTenantEntitySchema:()=>lp,msTenantsSchema:()=>ap,msUnifiedEntitySchema:()=>fp,network:()=>Sg,networkTypeSchema:()=>Tf,objectListPropsSchema:()=>er,objectTimestamp:()=>Rt,objectWithoutLicenseFilterSchema:()=>kh,officeProviderBaseUrlsSchema:()=>Df,officeSetConfigurationPayloadSchema:()=>Mf,officeUserConfigurationSchema:()=>Rf,onlyOfficeFileSchema:()=>Nf,onyOfficeFileInfoSchema:()=>Bf,openingTypeAnchorSchema:()=>ti,openingTypeLinkSchema:()=>ei,openingTypePopupSchema:()=>ni,openingTypeSchema:()=>qr,orderSchema:()=>Un,ordersSchema:()=>Yn,padStartTwoDigits:()=>u,prepareGroupForUpdate:()=>_d,publicWebinarData:()=>Yh,publicWebinarFullnameRequestSchema:()=>Gh,publicWebinarGetDateRequestSchema:()=>qh,publicWebinarUrlSchema:()=>Vh,questionAnswerSelectResponseParamsSchema:()=>Ff,questionAnswerUnselectResponseParamsSchema:()=>$f,quizFieldSchema:()=>pc,quizResponseSchema:()=>dc,removeIfStartsWith:()=>d,replacePropertiesWithTypes:()=>Id,resetNotificationConfigurationSchema:()=>Tr,resolveFileFamily:()=>Nt,resolveFileMimetype:()=>Bt,resolveFilePath:()=>Mt,resolveFileUrl:()=>Pt,rightsSchema:()=>en,rssTypeSchema:()=>mr,searchCategoryModelSchema:()=>Wf,searchCategoryValueSchema:()=>zf,searchConfigSchema:()=>Qf,searchFacetModelSchema:()=>Uf,searchFacetValueModelSchema:()=>Vf,searchFacetValuesSchema:()=>Gf,searchLastQuerySchema:()=>tm,searchQueryFilterModelSchema:()=>qf,searchQueryOptionSchema:()=>Jf,searchQuerySchema:()=>Kf,searchQuerySortModelSchema:()=>Yf,searchResultCatPropsSchema:()=>rm,searchResultPropsAppSchema:()=>Zf,searchResultPropsObjectSchema:()=>Xf,searchResultPropsSchema:()=>nm,shareAccessPropsSchema:()=>am,shareGeneralAccessRulesSchema:()=>im,shareOptionObjectSchema:()=>om,socialActionSchema:()=>da,socialActionSchema_deprecated:()=>ca,socialActionStructSchema_deprecated:()=>la,socialEventCreationSchema:()=>jl,socialEventUpdateSchema:()=>Rl,spotBannerImageSchema:()=>nr,storeFinalizeSchema:()=>Ih,storeItemSchema:()=>Mh,suffixIfDoesNotExist:()=>c,surveyDateResponsesSchema:()=>Cc,surveyFieldBaseSchema:()=>$a,surveyFieldBinaryDataSchema:()=>ba,surveyFieldBinarySchema:()=>za,surveyFieldCheckDataSchema:()=>Ca,surveyFieldCheckSchema:()=>Wa,surveyFieldFileUploadDataSchema:()=>Ea,surveyFieldFileUploadSchema:()=>Ja,surveyFieldGridCheckDataSchema:()=>Da,surveyFieldGridCheckSchema:()=>Za,surveyFieldGridRadioDataSchema:()=>Ta,surveyFieldGridRadioSchema:()=>Qa,surveyFieldKeysSchema:()=>ya,surveyFieldOptionCheckSchema:()=>Ra,surveyFieldOptionFileUploadSchema:()=>Pa,surveyFieldOptionGridCheckSchema:()=>Ba,surveyFieldOptionGridRadioSchema:()=>Na,surveyFieldOptionRateSchema:()=>Ma,surveyFieldOptionScaleSchema:()=>Ia,surveyFieldOptionTextSchema:()=>Oa,surveyFieldOptionTextareaSchema:()=>La,surveyFieldRadioDataSchema:()=>wa,surveyFieldRadioSchema:()=>Ua,surveyFieldRateDataSchema:()=>Sa,surveyFieldRateSchema:()=>Ga,surveyFieldScaleDataSchema:()=>Aa,surveyFieldScaleSchema:()=>Va,surveyFieldSelectDataSchema:()=>xa,surveyFieldSelectSchema:()=>Ha,surveyFieldTextDataSchema:()=>ka,surveyFieldTextSchema:()=>qa,surveyFieldTextareaDataSchema:()=>_a,surveyFieldTextareaSchema:()=>Ya,surveySectionSchema:()=>Ka,textEnhanceResponseSchema:()=>Sf,tinyMCECommonOptionsSchema:()=>lm,tinyMCEDynamicOptionsSchema:()=>sm,tinymceExtendedOptionsSchema:()=>cm,tvChannelCreatePayloadSchema:()=>Bc,tvChannelCreationSchema:()=>Pc,tvChannelDynamicArticleSchema:()=>zc,tvChannelDynamicCommentSchema:()=>Fc,tvChannelSlideshowFileSchema:()=>Uc,tvChannelTypeSchema:()=>Sc,tvGetChannelResponseSchema:()=>Zc,tvGetConfigureDynamicChannelResponse:()=>Gc,tvGetConfigureSlideshowChannelResponse:()=>Yc,updateCommentParamsSchema:()=>Fo,updateGroupSchema:()=>br,updateReportStatusParamsSchema:()=>xs,uploadConfigSchema:()=>rn,userDefaultFieldsTypeSchema:()=>_n,userDirectoryConfigurationSchema:()=>In,userDownloadSchema:()=>fn,userFieldSchema:()=>Dn,userFieldsConfigurationTypeSchema:()=>Tn,userFieldsSchema:()=>jn,userLevelSpotSchema:()=>or,userMapModelSchema:()=>An,userReadSchema:()=>$o,userResponseStatusSchema:()=>Dp,userValuesSchema:()=>Rn,validateIsFormatFileLittle:()=>dn,validateIsFormatObjectList:()=>Or,validateIsFormatObjectLittle:()=>Vt,validateIsFormatRights:()=>tn,validateIsFormatSocialEvent:()=>Dl,validateIsFormatUserDirectoryConfiguration:()=>On,validateIsFormatUserLevelSpot:()=>Rr,validateIsFormatUserList:()=>wn,validateIsFormatUserMapModel:()=>kn,validateIsFormatUserView:()=>Sn,validateTemplateData:()=>Dm,valueLabelSchema:()=>ur,variantSizeTypeSchema:()=>Gr,variantTypeSchema:()=>Vr,videoRecordingSchema:()=>pm,visioConnectStatisticsRoomSchema:()=>fm,visioConnectStatisticsRoomSessionsSchema:()=>vm,visioConnectStatisticsSchema:()=>mm,weDocTemplateSchema:()=>Gp,wedocEmptyTypeSchema:()=>km,wedocFileAudienceTypeSchema:()=>wm,wedocQueryResultsSchema:()=>Sm,wedocQueryTypeSchema:()=>Am,wedocTemplateSchema:()=>Cm,widgetActiveValueSchema:()=>Yu,widgetArticleAttachmentContentSchema:()=>Xr,widgetArticleAttachmentTypeSchema:()=>Kr,widgetArticleButtonContentSchema:()=>ii,widgetArticleButtonTypeSchema:()=>oi,widgetArticleCheckListTypeForFrontSchema:()=>ld,widgetArticleGalleryContentSchema:()=>ai,widgetArticleGalleryTypeSchema:()=>si,widgetArticleImageContentSchema:()=>li,widgetArticleImageTypeSchema:()=>ci,widgetArticleSliderContentSchema:()=>ui,widgetArticleSliderTypeSchema:()=>hi,widgetArticleTextContentSchema:()=>pi,widgetArticleTextTypeSchema:()=>fi,widgetArticleTitleContentSchema:()=>mi,widgetArticleTitleTypeSchema:()=>gi,widgetAudienceSchema:()=>Ju,widgetBaseSchema:()=>zr,widgetButtonPropsSchema:()=>ri,widgetCalendarCalDavContentSchema:()=>vi,widgetCalendarCalDavTypeSchema:()=>yi,widgetCheckListContentArrForFrontSchema:()=>ad,widgetCheckListContentArrSchema:()=>bi,widgetCheckListContentForFrontSchema:()=>sd,widgetCheckListContentSchema:()=>xi,widgetCheckListTypeSchema:()=>wi,widgetCheckboxSchema:()=>dh,widgetColorSchema:()=>zu,widgetContactCardDavContentSchema:()=>Ci,widgetContactCardDavTypeSchema:()=>Si,widgetContentKeysSchema:()=>xo,widgetContextSchema:()=>hd,widgetDatasourceTableContentSchema:()=>Bi,widgetDatasourceTableTypeSchema:()=>Ni,widgetDatePickerSchema:()=>Vu,widgetDatePickerValueSchema:()=>qu,widgetDateSchema:()=>Hu,widgetDateValueSchema:()=>Uu,widgetDatetimeSchema:()=>Wu,widgetDatetimeValueSchema:()=>Gu,widgetDefaultProps:()=>od,widgetDefinitionPropsSchema:()=>Xc,widgetDisplayModeSchema:()=>id,widgetEmailSchema:()=>nh,widgetEmailValueSchema:()=>rh,widgetEmailsImapContentSchema:()=>Fi,widgetEmailsImapTypeSchema:()=>$i,widgetEmbedSchema:()=>th,widgetExcelDatasourceTableContentSchema:()=>zi,widgetExcelDatasourceTableTypeSchema:()=>Hi,widgetFileSchema:()=>Xu,widgetImageSchema:()=>Ku,widgetKeysSchema:()=>Fr,widgetLayerSchema:()=>rd,widgetLegacyMixedBooleanSchema:()=>Vi,widgetLinkSchema:()=>Qu,widgetLuccaAbsenceContentSchema:()=>Wi,widgetLuccaAbsenceTypeSchema:()=>Gi,widgetLuccaAbsenceUserSchema:()=>Ui,widgetMultiattributeSchema:()=>Zu,widgetNumberSchema:()=>Fu,widgetNumberValueSchema:()=>$u,widgetOrientedlinksSchema:()=>fh,widgetPlaceSchema:()=>ah,widgetPresenceContentSchema:()=>qi,widgetPresenceRespondPayloadSchema:()=>Zi,widgetPresenceResponseSchema:()=>Ki,widgetPresenceTypeSchema:()=>Ji,widgetQuickSurveyContentSchema:()=>ro,widgetQuickSurveyTypeSchema:()=>io,widgetRadioSchema:()=>ch,widgetRefUserSchema:()=>sh,widgetRtObjectSchema:()=>dd,widgetSchema:()=>gh,widgetSelectSchema:()=>eh,widgetSlideSchema:()=>di,widgetStatePropsSchema:()=>wo,widgetStylesSchema:()=>ud,widgetTableColumnDataSchema:()=>Mi,widgetTableColumnSchema:()=>Li,widgetTableColumnTypesSchema:()=>Oi,widgetTableColumnWidgetDateSchema:()=>ji,widgetTableColumnWidgetDefaulSchema:()=>_i,widgetTableColumnWidgetSelectOptionSchema:()=>Ti,widgetTableColumnWidgetSelectSchema:()=>Di,widgetTableColumnWidgetTextSchema:()=>Ei,widgetTableColumnWidgetsSchema:()=>Ri,widgetTableColumnsData:()=>Ii,widgetTableContentSchema:()=>Pi,widgetTaxonomySchema:()=>uh,widgetTelSchema:()=>hh,widgetTextSchema:()=>Lu,widgetTextValueSchema:()=>Pu,widgetTextareaSchema:()=>Bu,widgetTextareaValueSchema:()=>Nu,widgetToggleSchema:()=>ph,widgetTransientSchema:()=>lh,widgetTypeKeysSchema:()=>bo,widgetUriSchema:()=>mh,widgetUrlSchema:()=>ih,widgetUrlValueSchema:()=>oh,widgetUserProfileContentSchema:()=>lo,widgetUserProfileTypeSchema:()=>co,widgetVectorSchema:()=>Yr,widgetWrapperLevelSchema:()=>go,widgetWrapperPropsSchema:()=>vo,widgetsRootStateSchema:()=>md,widgetsStateSchema:()=>fd,widgetsValueSchema:()=>vh,withExtensionsSchema:()=>_m,zObject:()=>Ft,zPassThrough:()=>Ht,zPreprocess:()=>zt,zSchema:()=>$t});class r{jApi;network;constructor(e){this.jApi=e,this.network=e.network}}class i extends r{getPublishButtonConfiguration(e){return this.network.post({o:"adminAdvanced",f:"getPublishButtonConfiguration"},e)}setPublishButtonConfiguration(e){return this.network.postCSRF({o:"adminAdvanced",f:"setPublishButtonConfiguration",publishButtonConfiguration:e})}}const o=["de","en","es","fl","fr","it","nl","pl","pt","ro","tr"];function a(e){const t=e;return t&&"number"==typeof t.id&&"number"==typeof t.targetId}const s={bookmarkLink:a},l={isBookmarkLink:function(e){return"targetId"in e&&!!e.targetId},isBookmarkCustom:function(e){const t=e;return void 0!==t.bookmarkLabel||void 0!==t.bookmarkMeta||void 0!==t.bookmarkUrl},isBookmarkRawList:a,isTVChannelType:function(e,t){return"tvChannelType"in e&&e.tvChannelType===t},objectIsType:function(e,t){return null!=t&&s[e](t)},isStandardApiError:e=>"object"==typeof e&&null!==e&&"error"in e&&"errorMsg"in e&&"messages"in e&&"number"==typeof e.error&&"string"==typeof e.errorMsg&&Array.isArray(e.messages),isAbortApiError:e=>null!==e&&"object"==typeof e&&"error"in e&&"aborted"in e&&-1===e.error&&!0===e.aborted};function c(e,t){return e&&!e.endsWith(t)?`${e}${t}`:e}function d(e,t){return e&&e.startsWith(t)?e.split("").slice(t.length).join(""):e}function u(e){return e.toString().padStart(2,"0")}var h,p;!function(e){e.assertEqual=e=>{},e.assertIs=function(e){},e.assertNever=function(e){throw new Error},e.arrayToEnum=e=>{const t={};for(const n of e)t[n]=n;return t},e.getValidEnumValues=t=>{const n=e.objectKeys(t).filter(e=>"number"!=typeof t[t[e]]),r={};for(const e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{const t=[];for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(const n of e)if(t(n))return n},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&Number.isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(h||(h={})),function(e){e.mergeShapes=(e,t)=>({...e,...t})}(p||(p={}));const f=h.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),m=e=>{switch(typeof e){case"undefined":return f.undefined;case"string":return f.string;case"number":return Number.isNaN(e)?f.nan:f.number;case"boolean":return f.boolean;case"function":return f.function;case"bigint":return f.bigint;case"symbol":return f.symbol;case"object":return Array.isArray(e)?f.array:null===e?f.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?f.promise:"undefined"!=typeof Map&&e instanceof Map?f.map:"undefined"!=typeof Set&&e instanceof Set?f.set:"undefined"!=typeof Date&&e instanceof Date?f.date:f.object;default:return f.unknown}},g=h.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class v extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){const t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(const i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(r);else if("invalid_return_type"===i.code)r(i.returnTypeError);else if("invalid_arguments"===i.code)r(i.argumentsError);else if(0===i.path.length)n._errors.push(t(i));else{let e=n,r=0;for(;r<i.path.length;){const n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}static assert(e){if(!(e instanceof v))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,h.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){const t={},n=[];for(const r of this.issues)if(r.path.length>0){const n=r.path[0];t[n]=t[n]||[],t[n].push(e(r))}else n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}v.create=e=>new v(e);const y=(e,t)=>{let n;switch(e.code){case g.invalid_type:n=e.received===f.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case g.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,h.jsonStringifyReplacer)}`;break;case g.unrecognized_keys:n=`Unrecognized key(s) in object: ${h.joinValues(e.keys,", ")}`;break;case g.invalid_union:n="Invalid input";break;case g.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${h.joinValues(e.options)}`;break;case g.invalid_enum_value:n=`Invalid enum value. Expected ${h.joinValues(e.options)}, received '${e.received}'`;break;case g.invalid_arguments:n="Invalid function arguments";break;case g.invalid_return_type:n="Invalid function return type";break;case g.invalid_date:n="Invalid date";break;case g.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:h.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case g.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type||"bigint"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case g.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case g.custom:n="Invalid input";break;case g.invalid_intersection_types:n="Intersection results could not be merged";break;case g.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case g.not_finite:n="Number must be finite";break;default:n=t.defaultError,h.assertNever(e)}return{message:n}};let b=y;function x(){return b}var w;!function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:e?.message}(w||(w={}));const C=e=>{const{data:t,path:n,errorMaps:r,issueData:i}=e,o=[...n,...i.path||[]],a={...i,path:o};if(void 0!==i.message)return{...i,path:o,message:i.message};let s="";const l=r.filter(e=>!!e).slice().reverse();for(const e of l)s=e(a,{data:t,defaultError:s}).message;return{...i,path:o,message:s}};function S(e,t){const n=x(),r=C({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===y?void 0:y].filter(e=>!!e)});e.common.issues.push(r)}class A{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){const n=[];for(const r of t){if("aborted"===r.status)return k;"dirty"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){const n=[];for(const e of t){const t=await e.key,r=await e.value;n.push({key:t,value:r})}return A.mergeObjectSync(e,n)}static mergeObjectSync(e,t){const n={};for(const r of t){const{key:t,value:i}=r;if("aborted"===t.status)return k;if("aborted"===i.status)return k;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"===t.value||void 0===i.value&&!r.alwaysSet||(n[t.value]=i.value)}return{status:e.value,value:n}}}const k=Object.freeze({status:"aborted"}),_=e=>({status:"dirty",value:e}),E=e=>({status:"valid",value:e}),T=e=>"aborted"===e.status,D=e=>"dirty"===e.status,j=e=>"valid"===e.status,R=e=>"undefined"!=typeof Promise&&e instanceof Promise;class M{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const I=(e,t)=>{if(j(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new v(e.common.issues);return this._error=t,this._error}}};function O(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw new Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:i}:{errorMap:(t,i)=>{const{message:o}=e;return"invalid_enum_value"===t.code?{message:o??i.defaultError}:void 0===i.data?{message:o??r??i.defaultError}:"invalid_type"!==t.code?{message:i.defaultError}:{message:o??n??i.defaultError}},description:i}}class L{get description(){return this._def.description}_getType(e){return m(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:m(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new A,ctx:{common:e.parent.common,data:e.data,parsedType:m(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(R(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){const n={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:m(e)},r=this._parseSync({data:e,path:n.path,parent:n});return I(n,r)}"~validate"(e){const t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:m(e)};if(!this["~standard"].async)try{const n=this._parseSync({data:e,path:[],parent:t});return j(n)?{value:n.value}:{issues:t.common.issues}}catch(e){e?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(e=>j(e)?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){const n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){const n={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:m(e)},r=this._parse({data:e,path:n.path,parent:n}),i=await(R(r)?r:Promise.resolve(r));return I(n,i)}refine(e,t){const n=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,r)=>{const i=e(t),o=()=>r.addIssue({code:g.custom,...n(t)});return"undefined"!=typeof Promise&&i instanceof Promise?i.then(e=>!!e||(o(),!1)):!!i||(o(),!1)})}refinement(e,t){return this._refinement((n,r)=>!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),!1))}_refinement(e){return new Le({schema:this,typeName:Ge.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return Pe.create(this,this._def)}nullable(){return Be.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ye.create(this)}promise(){return Oe.create(this,this._def)}or(e){return we.create([this,e],this._def)}and(e){return Se.create(this,e,this._def)}transform(e){return new Le({...O(this._def),schema:this,typeName:Ge.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t="function"==typeof e?e:()=>e;return new Ne({...O(this._def),innerType:this,defaultValue:t,typeName:Ge.ZodDefault})}brand(){return new ze({typeName:Ge.ZodBranded,type:this,...O(this._def)})}catch(e){const t="function"==typeof e?e:()=>e;return new Fe({...O(this._def),innerType:this,catchValue:t,typeName:Ge.ZodCatch})}describe(e){return new(0,this.constructor)({...this._def,description:e})}pipe(e){return He.create(this,e)}readonly(){return Ue.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const P=/^c[^\s-]{8,}$/i,B=/^[0-9a-z]+$/,N=/^[0-9A-HJKMNP-TV-Z]{26}$/i,F=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,$=/^[a-z0-9_-]{21}$/i,z=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,H=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,U=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;let W;const G=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,V=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,q=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Y=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,J=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Q=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Z="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",X=new RegExp(`^${Z}$`);function K(e){let t="[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`),`([01]\\d|2[0-3]):[0-5]\\d(:${t})${e.precision?"+":"?"}`}function ee(e){return new RegExp(`^${K(e)}$`)}function te(e){let t=`${Z}T${K(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function ne(e,t){return!("v4"!==t&&t||!G.test(e))||!("v6"!==t&&t||!q.test(e))}function re(e,t){if(!z.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),i=JSON.parse(atob(r));return!("object"!=typeof i||null===i||"typ"in i&&"JWT"!==i?.typ||!i.alg||t&&i.alg!==t)}catch{return!1}}function ie(e,t){return!("v4"!==t&&t||!V.test(e))||!("v6"!==t&&t||!Y.test(e))}class oe extends L{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==f.string){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.string,received:t.parsedType}),k}const t=new A;let n;for(const r of this._def.checks)if("min"===r.kind)e.data.length<r.value&&(n=this._getOrReturnCtx(e,n),S(n,{code:g.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),t.dirty());else if("max"===r.kind)e.data.length>r.value&&(n=this._getOrReturnCtx(e,n),S(n,{code:g.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),t.dirty());else if("length"===r.kind){const i=e.data.length>r.value,o=e.data.length<r.value;(i||o)&&(n=this._getOrReturnCtx(e,n),i?S(n,{code:g.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}):o&&S(n,{code:g.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}),t.dirty())}else if("email"===r.kind)U.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"email",code:g.invalid_string,message:r.message}),t.dirty());else if("emoji"===r.kind)W||(W=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),W.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"emoji",code:g.invalid_string,message:r.message}),t.dirty());else if("uuid"===r.kind)F.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"uuid",code:g.invalid_string,message:r.message}),t.dirty());else if("nanoid"===r.kind)$.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"nanoid",code:g.invalid_string,message:r.message}),t.dirty());else if("cuid"===r.kind)P.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"cuid",code:g.invalid_string,message:r.message}),t.dirty());else if("cuid2"===r.kind)B.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"cuid2",code:g.invalid_string,message:r.message}),t.dirty());else if("ulid"===r.kind)N.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"ulid",code:g.invalid_string,message:r.message}),t.dirty());else if("url"===r.kind)try{new URL(e.data)}catch{n=this._getOrReturnCtx(e,n),S(n,{validation:"url",code:g.invalid_string,message:r.message}),t.dirty()}else"regex"===r.kind?(r.regex.lastIndex=0,r.regex.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"regex",code:g.invalid_string,message:r.message}),t.dirty())):"trim"===r.kind?e.data=e.data.trim():"includes"===r.kind?e.data.includes(r.value,r.position)||(n=this._getOrReturnCtx(e,n),S(n,{code:g.invalid_string,validation:{includes:r.value,position:r.position},message:r.message}),t.dirty()):"toLowerCase"===r.kind?e.data=e.data.toLowerCase():"toUpperCase"===r.kind?e.data=e.data.toUpperCase():"startsWith"===r.kind?e.data.startsWith(r.value)||(n=this._getOrReturnCtx(e,n),S(n,{code:g.invalid_string,validation:{startsWith:r.value},message:r.message}),t.dirty()):"endsWith"===r.kind?e.data.endsWith(r.value)||(n=this._getOrReturnCtx(e,n),S(n,{code:g.invalid_string,validation:{endsWith:r.value},message:r.message}),t.dirty()):"datetime"===r.kind?te(r).test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{code:g.invalid_string,validation:"datetime",message:r.message}),t.dirty()):"date"===r.kind?X.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{code:g.invalid_string,validation:"date",message:r.message}),t.dirty()):"time"===r.kind?ee(r).test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{code:g.invalid_string,validation:"time",message:r.message}),t.dirty()):"duration"===r.kind?H.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"duration",code:g.invalid_string,message:r.message}),t.dirty()):"ip"===r.kind?ne(e.data,r.version)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"ip",code:g.invalid_string,message:r.message}),t.dirty()):"jwt"===r.kind?re(e.data,r.alg)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"jwt",code:g.invalid_string,message:r.message}),t.dirty()):"cidr"===r.kind?ie(e.data,r.version)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"cidr",code:g.invalid_string,message:r.message}),t.dirty()):"base64"===r.kind?J.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"base64",code:g.invalid_string,message:r.message}),t.dirty()):"base64url"===r.kind?Q.test(e.data)||(n=this._getOrReturnCtx(e,n),S(n,{validation:"base64url",code:g.invalid_string,message:r.message}),t.dirty()):h.assertNever(r);return{status:t.value,value:e.data}}_regex(e,t,n){return this.refinement(t=>e.test(t),{validation:t,code:g.invalid_string,...w.errToObj(n)})}_addCheck(e){return new oe({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...w.errToObj(e)})}url(e){return this._addCheck({kind:"url",...w.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...w.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...w.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...w.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...w.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...w.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...w.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...w.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...w.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...w.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...w.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...w.errToObj(e)})}datetime(e){return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===e?.precision?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...w.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===e?.precision?null:e?.precision,...w.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...w.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...w.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...w.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...w.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...w.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...w.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...w.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...w.errToObj(t)})}nonempty(e){return this.min(1,w.errToObj(e))}trim(){return new oe({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new oe({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new oe({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}function ae(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r;return Number.parseInt(e.toFixed(i).replace(".",""))%Number.parseInt(t.toFixed(i).replace(".",""))/10**i}oe.create=e=>new oe({checks:[],typeName:Ge.ZodString,coerce:e?.coerce??!1,...O(e)});class se extends L{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==f.number){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.number,received:t.parsedType}),k}let t;const n=new A;for(const r of this._def.checks)"int"===r.kind?h.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),S(t,{code:g.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),S(t,{code:g.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),S(t,{code:g.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"multipleOf"===r.kind?0!==ae(e.data,r.value)&&(t=this._getOrReturnCtx(e,t),S(t,{code:g.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),S(t,{code:g.not_finite,message:r.message}),n.dirty()):h.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,w.toString(t))}gt(e,t){return this.setLimit("min",e,!1,w.toString(t))}lte(e,t){return this.setLimit("max",e,!0,w.toString(t))}lt(e,t){return this.setLimit("max",e,!1,w.toString(t))}setLimit(e,t,n,r){return new se({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:w.toString(r)}]})}_addCheck(e){return new se({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:w.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:w.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:w.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:w.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:w.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:w.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:w.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:w.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:w.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&h.isInteger(e.value))}get isFinite(){let e=null,t=null;for(const n of this._def.checks){if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value)}return Number.isFinite(t)&&Number.isFinite(e)}}se.create=e=>new se({checks:[],typeName:Ge.ZodNumber,coerce:e?.coerce||!1,...O(e)});class le extends L{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==f.bigint)return this._getInvalidInput(e);let t;const n=new A;for(const r of this._def.checks)"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),S(t,{code:g.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),S(t,{code:g.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),S(t,{code:g.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):h.assertNever(r);return{status:n.value,value:e.data}}_getInvalidInput(e){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.bigint,received:t.parsedType}),k}gte(e,t){return this.setLimit("min",e,!0,w.toString(t))}gt(e,t){return this.setLimit("min",e,!1,w.toString(t))}lte(e,t){return this.setLimit("max",e,!0,w.toString(t))}lt(e,t){return this.setLimit("max",e,!1,w.toString(t))}setLimit(e,t,n,r){return new le({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:w.toString(r)}]})}_addCheck(e){return new le({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:w.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:w.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:w.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:w.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:w.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}le.create=e=>new le({checks:[],typeName:Ge.ZodBigInt,coerce:e?.coerce??!1,...O(e)});class ce extends L{_parse(e){if(this._def.coerce&&(e.data=Boolean(e.data)),this._getType(e)!==f.boolean){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.boolean,received:t.parsedType}),k}return E(e.data)}}ce.create=e=>new ce({typeName:Ge.ZodBoolean,coerce:e?.coerce||!1,...O(e)});class de extends L{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==f.date){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.date,received:t.parsedType}),k}if(Number.isNaN(e.data.getTime()))return S(this._getOrReturnCtx(e),{code:g.invalid_date}),k;const t=new A;let n;for(const r of this._def.checks)"min"===r.kind?e.data.getTime()<r.value&&(n=this._getOrReturnCtx(e,n),S(n,{code:g.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:"date"}),t.dirty()):"max"===r.kind?e.data.getTime()>r.value&&(n=this._getOrReturnCtx(e,n),S(n,{code:g.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),t.dirty()):h.assertNever(r);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(e){return new de({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:w.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:w.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}de.create=e=>new de({checks:[],coerce:e?.coerce||!1,typeName:Ge.ZodDate,...O(e)});class ue extends L{_parse(e){if(this._getType(e)!==f.symbol){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.symbol,received:t.parsedType}),k}return E(e.data)}}ue.create=e=>new ue({typeName:Ge.ZodSymbol,...O(e)});class he extends L{_parse(e){if(this._getType(e)!==f.undefined){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.undefined,received:t.parsedType}),k}return E(e.data)}}he.create=e=>new he({typeName:Ge.ZodUndefined,...O(e)});class pe extends L{_parse(e){if(this._getType(e)!==f.null){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.null,received:t.parsedType}),k}return E(e.data)}}pe.create=e=>new pe({typeName:Ge.ZodNull,...O(e)});class fe extends L{constructor(){super(...arguments),this._any=!0}_parse(e){return E(e.data)}}fe.create=e=>new fe({typeName:Ge.ZodAny,...O(e)});class me extends L{constructor(){super(...arguments),this._unknown=!0}_parse(e){return E(e.data)}}me.create=e=>new me({typeName:Ge.ZodUnknown,...O(e)});class ge extends L{_parse(e){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.never,received:t.parsedType}),k}}ge.create=e=>new ge({typeName:Ge.ZodNever,...O(e)});class ve extends L{_parse(e){if(this._getType(e)!==f.undefined){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.void,received:t.parsedType}),k}return E(e.data)}}ve.create=e=>new ve({typeName:Ge.ZodVoid,...O(e)});class ye extends L{_parse(e){const{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==f.array)return S(t,{code:g.invalid_type,expected:f.array,received:t.parsedType}),k;if(null!==r.exactLength){const e=t.data.length>r.exactLength.value,i=t.data.length<r.exactLength.value;(e||i)&&(S(t,{code:e?g.too_big:g.too_small,minimum:i?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}if(null!==r.minLength&&t.data.length<r.minLength.value&&(S(t,{code:g.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),n.dirty()),null!==r.maxLength&&t.data.length>r.maxLength.value&&(S(t,{code:g.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>r.type._parseAsync(new M(t,e,t.path,n)))).then(e=>A.mergeArray(n,e));const i=[...t.data].map((e,n)=>r.type._parseSync(new M(t,e,t.path,n)));return A.mergeArray(n,i)}get element(){return this._def.type}min(e,t){return new ye({...this._def,minLength:{value:e,message:w.toString(t)}})}max(e,t){return new ye({...this._def,maxLength:{value:e,message:w.toString(t)}})}length(e,t){return new ye({...this._def,exactLength:{value:e,message:w.toString(t)}})}nonempty(e){return this.min(1,e)}}function be(e){if(e instanceof xe){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Pe.create(be(r))}return new xe({...e._def,shape:()=>t})}return e instanceof ye?new ye({...e._def,type:be(e.element)}):e instanceof Pe?Pe.create(be(e.unwrap())):e instanceof Be?Be.create(be(e.unwrap())):e instanceof Ae?Ae.create(e.items.map(e=>be(e))):e}ye.create=(e,t)=>new ye({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Ge.ZodArray,...O(t)});class xe extends L{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;const e=this._def.shape(),t=h.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==f.object){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.object,received:t.parsedType}),k}const{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),o=[];if(!(this._def.catchall instanceof ge&&"strip"===this._def.unknownKeys))for(const e in n.data)i.includes(e)||o.push(e);const a=[];for(const e of i){const t=r[e],i=n.data[e];a.push({key:{status:"valid",value:e},value:t._parse(new M(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof ge){const e=this._def.unknownKeys;if("passthrough"===e)for(const e of o)a.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)o.length>0&&(S(n,{code:g.unrecognized_keys,keys:o}),t.dirty());else if("strip"!==e)throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const e=this._def.catchall;for(const t of o){const r=n.data[t];a.push({key:{status:"valid",value:t},value:e._parse(new M(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{const e=[];for(const t of a){const n=await t.key,r=await t.value;e.push({key:n,value:r,alwaysSet:t.alwaysSet})}return e}).then(e=>A.mergeObjectSync(t,e)):A.mergeObjectSync(t,a)}get shape(){return this._def.shape()}strict(e){return w.errToObj,new xe({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{const r=this._def.errorMap?.(t,n).message??n.defaultError;return"unrecognized_keys"===t.code?{message:w.errToObj(e).message??r}:{message:r}}}:{}})}strip(){return new xe({...this._def,unknownKeys:"strip"})}passthrough(){return new xe({...this._def,unknownKeys:"passthrough"})}extend(e){return new xe({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new xe({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:Ge.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new xe({...this._def,catchall:e})}pick(e){const t={};for(const n of h.objectKeys(e))e[n]&&this.shape[n]&&(t[n]=this.shape[n]);return new xe({...this._def,shape:()=>t})}omit(e){const t={};for(const n of h.objectKeys(this.shape))e[n]||(t[n]=this.shape[n]);return new xe({...this._def,shape:()=>t})}deepPartial(){return be(this)}partial(e){const t={};for(const n of h.objectKeys(this.shape)){const r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}return new xe({...this._def,shape:()=>t})}required(e){const t={};for(const n of h.objectKeys(this.shape))if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof Pe;)e=e._def.innerType;t[n]=e}return new xe({...this._def,shape:()=>t})}keyof(){return Re(h.objectKeys(this.shape))}}xe.create=(e,t)=>new xe({shape:()=>e,unknownKeys:"strip",catchall:ge.create(),typeName:Ge.ZodObject,...O(t)}),xe.strictCreate=(e,t)=>new xe({shape:()=>e,unknownKeys:"strict",catchall:ge.create(),typeName:Ge.ZodObject,...O(t)}),xe.lazycreate=(e,t)=>new xe({shape:e,unknownKeys:"strip",catchall:ge.create(),typeName:Ge.ZodObject,...O(t)});class we extends L{_parse(e){const{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map(async e=>{const n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(function(e){for(const t of e)if("valid"===t.result.status)return t.result;for(const n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;const n=e.map(e=>new v(e.ctx.common.issues));return S(t,{code:g.invalid_union,unionErrors:n}),k});{let e;const r=[];for(const i of n){const n={...t,common:{...t.common,issues:[]},parent:null},o=i._parseSync({data:t.data,path:t.path,parent:n});if("valid"===o.status)return o;"dirty"!==o.status||e||(e={result:o,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;const i=r.map(e=>new v(e));return S(t,{code:g.invalid_union,unionErrors:i}),k}}get options(){return this._def.options}}function Ce(e,t){const n=m(e),r=m(t);if(e===t)return{valid:!0,data:e};if(n===f.object&&r===f.object){const n=h.objectKeys(t),r=h.objectKeys(e).filter(e=>-1!==n.indexOf(e)),i={...e,...t};for(const n of r){const r=Ce(e[n],t[n]);if(!r.valid)return{valid:!1};i[n]=r.data}return{valid:!0,data:i}}if(n===f.array&&r===f.array){if(e.length!==t.length)return{valid:!1};const n=[];for(let r=0;r<e.length;r++){const i=Ce(e[r],t[r]);if(!i.valid)return{valid:!1};n.push(i.data)}return{valid:!0,data:n}}return n===f.date&&r===f.date&&+e===+t?{valid:!0,data:e}:{valid:!1}}we.create=(e,t)=>new we({options:e,typeName:Ge.ZodUnion,...O(t)});class Se extends L{_parse(e){const{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(T(e)||T(r))return k;const i=Ce(e.value,r.value);return i.valid?((D(e)||D(r))&&t.dirty(),{status:t.value,value:i.data}):(S(n,{code:g.invalid_intersection_types}),k)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>r(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}Se.create=(e,t,n)=>new Se({left:e,right:t,typeName:Ge.ZodIntersection,...O(n)});class Ae extends L{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==f.array)return S(n,{code:g.invalid_type,expected:f.array,received:n.parsedType}),k;if(n.data.length<this._def.items.length)return S(n,{code:g.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),k;!this._def.rest&&n.data.length>this._def.items.length&&(S(n,{code:g.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const r=[...n.data].map((e,t)=>{const r=this._def.items[t]||this._def.rest;return r?r._parse(new M(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>A.mergeArray(t,e)):A.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new Ae({...this._def,rest:e})}}Ae.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Ae({items:e,typeName:Ge.ZodTuple,rest:null,...O(t)})};class ke extends L{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==f.object)return S(n,{code:g.invalid_type,expected:f.object,received:n.parsedType}),k;const r=[],i=this._def.keyType,o=this._def.valueType;for(const e in n.data)r.push({key:i._parse(new M(n,e,n.path,e)),value:o._parse(new M(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?A.mergeObjectAsync(t,r):A.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return new ke(t instanceof L?{keyType:e,valueType:t,typeName:Ge.ZodRecord,...O(n)}:{keyType:oe.create(),valueType:e,typeName:Ge.ZodRecord,...O(t)})}}class _e extends L{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==f.map)return S(n,{code:g.invalid_type,expected:f.map,received:n.parsedType}),k;const r=this._def.keyType,i=this._def.valueType,o=[...n.data.entries()].map(([e,t],o)=>({key:r._parse(new M(n,e,n.path,[o,"key"])),value:i._parse(new M(n,t,n.path,[o,"value"]))}));if(n.common.async){const e=new Map;return Promise.resolve().then(async()=>{for(const n of o){const r=await n.key,i=await n.value;if("aborted"===r.status||"aborted"===i.status)return k;"dirty"!==r.status&&"dirty"!==i.status||t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}})}{const e=new Map;for(const n of o){const r=n.key,i=n.value;if("aborted"===r.status||"aborted"===i.status)return k;"dirty"!==r.status&&"dirty"!==i.status||t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}}_e.create=(e,t,n)=>new _e({valueType:t,keyType:e,typeName:Ge.ZodMap,...O(n)});class Ee extends L{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==f.set)return S(n,{code:g.invalid_type,expected:f.set,received:n.parsedType}),k;const r=this._def;null!==r.minSize&&n.data.size<r.minSize.value&&(S(n,{code:g.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),null!==r.maxSize&&n.data.size>r.maxSize.value&&(S(n,{code:g.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());const i=this._def.valueType;function o(e){const n=new Set;for(const r of e){if("aborted"===r.status)return k;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}const a=[...n.data.values()].map((e,t)=>i._parse(new M(n,e,n.path,t)));return n.common.async?Promise.all(a).then(e=>o(e)):o(a)}min(e,t){return new Ee({...this._def,minSize:{value:e,message:w.toString(t)}})}max(e,t){return new Ee({...this._def,maxSize:{value:e,message:w.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}Ee.create=(e,t)=>new Ee({valueType:e,minSize:null,maxSize:null,typeName:Ge.ZodSet,...O(t)});class Te extends L{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==f.function)return S(t,{code:g.invalid_type,expected:f.function,received:t.parsedType}),k;function n(e,n){return C({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,x(),y].filter(e=>!!e),issueData:{code:g.invalid_arguments,argumentsError:n}})}function r(e,n){return C({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,x(),y].filter(e=>!!e),issueData:{code:g.invalid_return_type,returnTypeError:n}})}const i={errorMap:t.common.contextualErrorMap},o=t.data;if(this._def.returns instanceof Oe){const e=this;return E(async function(...t){const a=new v([]),s=await e._def.args.parseAsync(t,i).catch(e=>{throw a.addIssue(n(t,e)),a}),l=await Reflect.apply(o,this,s);return await e._def.returns._def.type.parseAsync(l,i).catch(e=>{throw a.addIssue(r(l,e)),a})})}{const e=this;return E(function(...t){const a=e._def.args.safeParse(t,i);if(!a.success)throw new v([n(t,a.error)]);const s=Reflect.apply(o,this,a.data),l=e._def.returns.safeParse(s,i);if(!l.success)throw new v([r(s,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new Te({...this._def,args:Ae.create(e).rest(me.create())})}returns(e){return new Te({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new Te({args:e||Ae.create([]).rest(me.create()),returns:t||me.create(),typeName:Ge.ZodFunction,...O(n)})}}class De extends L{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}De.create=(e,t)=>new De({getter:e,typeName:Ge.ZodLazy,...O(t)});class je extends L{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return S(t,{received:t.data,code:g.invalid_literal,expected:this._def.value}),k}return{status:"valid",value:e.data}}get value(){return this._def.value}}function Re(e,t){return new Me({values:e,typeName:Ge.ZodEnum,...O(t)})}je.create=(e,t)=>new je({value:e,typeName:Ge.ZodLiteral,...O(t)});class Me extends L{_parse(e){if("string"!=typeof e.data){const t=this._getOrReturnCtx(e),n=this._def.values;return S(t,{expected:h.joinValues(n),received:t.parsedType,code:g.invalid_type}),k}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){const t=this._getOrReturnCtx(e),n=this._def.values;return S(t,{received:t.data,code:g.invalid_enum_value,options:n}),k}return E(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return Me.create(e,{...this._def,...t})}exclude(e,t=this._def){return Me.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}Me.create=Re;class Ie extends L{_parse(e){const t=h.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==f.string&&n.parsedType!==f.number){const e=h.objectValues(t);return S(n,{expected:h.joinValues(e),received:n.parsedType,code:g.invalid_type}),k}if(this._cache||(this._cache=new Set(h.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){const e=h.objectValues(t);return S(n,{received:n.data,code:g.invalid_enum_value,options:e}),k}return E(e.data)}get enum(){return this._def.values}}Ie.create=(e,t)=>new Ie({values:e,typeName:Ge.ZodNativeEnum,...O(t)});class Oe extends L{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==f.promise&&!1===t.common.async)return S(t,{code:g.invalid_type,expected:f.promise,received:t.parsedType}),k;const n=t.parsedType===f.promise?t.data:Promise.resolve(t.data);return E(n.then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}Oe.create=(e,t)=>new Oe({type:e,typeName:Ge.ZodPromise,...O(t)});class Le extends L{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ge.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:e=>{S(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===r.type){const e=r.transform(n.data,i);if(n.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return k;const r=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return"aborted"===r.status?k:"dirty"===r.status||"dirty"===t.value?_(r.value):r});{if("aborted"===t.value)return k;const r=this._def.schema._parseSync({data:e,path:n.path,parent:n});return"aborted"===r.status?k:"dirty"===r.status||"dirty"===t.value?_(r.value):r}}if("refinement"===r.type){const e=e=>{const t=r.refinement(e,i);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1===n.common.async){const r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?k:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?k:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))))}if("transform"===r.type){if(!1===n.common.async){const e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!j(e))return k;const o=r.transform(e.value,i);if(o instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:o}}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>j(e)?Promise.resolve(r.transform(e.value,i)).then(e=>({status:t.value,value:e})):k)}h.assertNever(r)}}Le.create=(e,t,n)=>new Le({schema:e,typeName:Ge.ZodEffects,effect:t,...O(n)}),Le.createWithPreprocess=(e,t,n)=>new Le({schema:t,effect:{type:"preprocess",transform:e},typeName:Ge.ZodEffects,...O(n)});class Pe extends L{_parse(e){return this._getType(e)===f.undefined?E(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Pe.create=(e,t)=>new Pe({innerType:e,typeName:Ge.ZodOptional,...O(t)});class Be extends L{_parse(e){return this._getType(e)===f.null?E(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Be.create=(e,t)=>new Be({innerType:e,typeName:Ge.ZodNullable,...O(t)});class Ne extends L{_parse(e){const{ctx:t}=this._processInputParams(e);let n=t.data;return t.parsedType===f.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}Ne.create=(e,t)=>new Ne({innerType:e,typeName:Ge.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...O(t)});class Fe extends L{_parse(e){const{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return R(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new v(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new v(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}Fe.create=(e,t)=>new Fe({innerType:e,typeName:Ge.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...O(t)});class $e extends L{_parse(e){if(this._getType(e)!==f.nan){const t=this._getOrReturnCtx(e);return S(t,{code:g.invalid_type,expected:f.nan,received:t.parsedType}),k}return{status:"valid",value:e.data}}}$e.create=e=>new $e({typeName:Ge.ZodNaN,...O(e)}),Symbol("zod_brand");class ze extends L{_parse(e){const{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class He extends L{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{const e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?k:"dirty"===e.status?(t.dirty(),_(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{const e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?k:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new He({in:e,out:t,typeName:Ge.ZodPipeline})}}class Ue extends L{_parse(e){const t=this._def.innerType._parse(e),n=e=>(j(e)&&(e.value=Object.freeze(e.value)),e);return R(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}}function We(e,t){const n="function"==typeof e?e(t):"string"==typeof e?{message:e}:e;return"string"==typeof n?{message:n}:n}var Ge;Ue.create=(e,t)=>new Ue({innerType:e,typeName:Ge.ZodReadonly,...O(t)}),xe.lazycreate,function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(Ge||(Ge={}));const Ve=oe.create,qe=se.create,Ye=($e.create,le.create,ce.create),Je=(de.create,ue.create,he.create),Qe=pe.create,Ze=fe.create,Xe=me.create,Ke=ge.create,et=ve.create,tt=ye.create,nt=xe.create,rt=(xe.strictCreate,we.create),it=(Se.create,Ae.create),ot=ke.create,at=(_e.create,Ee.create,Te.create),st=(De.create,je.create),lt=Me.create,ct=Ie.create,dt=(Oe.create,Le.create,Pe.create),ut=(Be.create,Le.createWithPreprocess),ht=(He.create,nt({type:Ve(),recordId:rt([Ve().regex(new RegExp("[0-9]+")),qe()])})),pt=(e,t)=>(t?ht.passthrough():ht).safeParse(e).success,ft=nt({uri:Ve().regex(new RegExp("[a-zA-Z]+/[0-9]+"))}),mt=(e,t)=>(t?ft.passthrough():ft).safeParse(e).success;function gt(e){if(mt(e,!0))return e.uri;if(pt(e,!0))return`${e.type}/${e.recordId}`;throw new Error("Invalid uri or typeId "+("uri"in e?e.uri:"type"in e&&"recordId"in e?e.type+"/"+e.recordId:"undefined"))}function vt(e){return d(c(e.from,"/"),"/")||""}function yt(e){return e.timestamp?`?_=${e.timestamp}`:""}function bt(e){const t=[];return"timestamp"in e&&e.timestamp&&t.push(`_=${e.timestamp}`),"iconColor"in e&&e.iconColor&&t.push(`color=${e.iconColor}`),t.length?"?"+t.join("&"):""}function xt(e,t=2){return"size"in e&&e.size?e.size:"width"in e&&"number"==typeof e.width&&"height"in e&&"number"==typeof e.height?`${e.width*t}x${e.height*t}`:""}function wt(e){return e.format||"png"}function Ct(e){try{return new URL(e)}catch(e){}try{return new URL(window.location.origin+"/"+d(e,"/"))}catch(e){}}function St(e,t=2){if("url"in e&&e.url){const t=Ct(e.url);if(t)return"timestamp"in e&&e.timestamp&&!t.searchParams.has("_")&&t.searchParams.append("_",e.timestamp.toString()),t.toString()}try{const n=0===e.uri?.indexOf("icons/")?e.uri:"icons"===e.type?e.type+"/"+e.recordId:gt(e);return`/${vt(e)}${xt(e,t)}/${n}.${wt(e)}${bt(e)}`}catch(e){return""}}ht.partial().or(ft.partial());const At=["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pdf","application/zip","application/illustrator","application/postscript","application/vnd.ms-opentype","application/x-font-ttf","application/octet-stream","audio/mp3","audio/mpeg","font/ttf","font/otf","image/jpeg","image/jpg","image/png","image/gif","image/vnd.adobe.photoshop","image/svg+xml","text/plain","text/csv","video/mp4","video/webm"],kt=["docx","xlsx","csv","pptx","pdf","zip","ai","mp3","mpeg","ttf","otf","jpg","jpeg","png","gif","psd","svg","txt","mp4","odt","webm"],_t={"application/vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","application/vnd.openxmlformats-officedocument.presentationml.presentation":"pptx","application/vnd.oasis.opendocument.text":"odt","application/pdf":"pdf","application/zip":"zip","application/x-zip-compressed":"zip","application/illustrator":"ai","application/postscript":"ai","audio/mp3":"mp3","audio/mpeg":"mpeg","font/ttf":"ttf","font/otf":"otf","image/jpeg":"jpeg","image/jpg":"jpg","image/png":"png","image/gif":"gif","application/x-font-ttf":"ttf","application/vnd.ms-opentype":"otf","image/vnd.adobe.photoshop":"psd","image/svg+xml":"svg","text/plain":"txt","text/csv":"xlsx","video/mp4":"mp4","video/webm":"mp4"},Et=e=>Object.keys(_t).find(t=>_t[t]===e),Tt=e=>_t[e]??void 0;function Dt(e){const t=String(e).split(".").pop();return kt.find(e=>e===t)}const jt=e=>{const t=Dt(e);return Et(t)??"application/octet-stream"},Rt=e=>e?(new Date(e).getTime()/1e3).toFixed(0):void 0,Mt=(e,t="fitx80")=>{const n=Nt(e),r=Rt(e.dateModified);switch(n){default:return;case"video":return`/media/${e.id}.mp4?stream=true`+(r?`&_=${r}`:"");case"audio":return`/media/${e.id}.mp3`+(r?`?_=${r}`:"");case"gif":return St({timestamp:r,size:t,from:"imagecache",uri:e.uri,format:"gif"});case"image":return St({timestamp:r,size:t,from:"imagecache",uri:e.uri})}},It=e=>{const t=Dt(e);return void 0!==t?Lt(Et(t)):"application"},Ot=e=>-1!==["image/vnd","image/svg","image/heic"].findIndex(t=>e.startsWith(t));function Lt(e){return e&&e.startsWith("folder/")?"folder":null==e||Ot(e)?"application":e.startsWith("image/gif")?"gif":e.startsWith("image/")?"image":e.startsWith("video/")?"video":e.startsWith("audio/")?"audio":e.startsWith("font/")||e.startsWith("application/x-font-ttf")||e.startsWith("application/vnd.ms-opentype")?"font":e.startsWith("text/")?"text":"application"}const Pt=(e,t,n="rr")=>"ng"===n?`/ng/file/${e}/${t}`:`/ng/rr/file/${e}/${t}`,Bt=e=>void 0===e.mimetype||"application/octet-stream"===e.mimetype?jt(e.title):e.mimetype,Nt=e=>void 0===e.mimetype||"application/octet-stream"===e.mimetype?It(e.title):Lt(e.mimetype),Ft=e=>nt(e),$t=e=>e,zt=(e,t)=>ut(t=>e(t),t),Ht=e=>e.and(nt({}).passthrough()),Ut=Ft({id:qe(),mainType:Ve(),type:Ve(),uri:Ve(),dateCreation:Ve().optional(),dateModified:Ve().nullable().optional()}),Wt=Ut.extend({title:Ve(),_url:Ve()}),Gt=$t(Wt),Vt=e=>Gt.safeParse(e).success,qt=nt({id:Ve(),uri:Ve(),shortUri:Ve(),title:Ve(),name:Ve(),mainType:Ve(),type:Ve(),label:Ve(),cssClass:Ve(),cssColor:Ve(),class:Ve()}),Yt=qt.extend({title:Ve()}),Jt=Yt.extend({Pseudo:Ve(),_url:Ve()}),Qt=Yt.extend({idspot:Ve()}),Zt=rt([Yt,Jt,Qt]),Xt=Gt.extend({isTechnical:qe(),status:qe(),image:Ve(),isMember:Ye(),stats:nt({moderators:qe(),members:Ve()}),_members:tt(Gt)}),Kt=qt.pick({uri:!0,title:!0}),en=Ft({create:Ye(),read:Ye(),publish:Ye(),administrate:Ye(),update:Ye(),delete:Ye(),comment:Ye(),member:Ye()}),tn=e=>en.safeParse(e).success,nn=rt([st("de"),st("en"),st("es"),st("fl"),st("fr"),st("it"),st("nl"),st("pl"),st("pt"),st("ro"),st("tr")]),rn=Ft({attrName:Ve(),token:Ve(),file:((e,t={message:`Input not instance of ${e.name}`})=>function(e,t={},n){return e?fe.create().superRefine((r,i)=>{const o=e(r);if(o instanceof Promise)return o.then(e=>{if(!e){const e=We(t,r),o=e.fatal??n??!0;i.addIssue({code:"custom",...e,fatal:o})}});if(!o){const e=We(t,r),o=e.fatal??n??!0;i.addIssue({code:"custom",...e,fatal:o})}}):fe.create()}(t=>t instanceof e,t))(File).nullable().optional(),url:Ve().optional()}),on=Ft({width:qe(),height:qe()}),an=Ft({type:Ve(),id:qe(),timestamp:Ve(),imagesize:dt(on)}),sn=Ft({x:qe(),y:qe(),w:qe(),h:qe(),rotation:qe(),killSize:Ye().optional()}),ln=Gt.extend({dateCreation:Ve(),dateModified:Ve().nullable(),mimetype:Ve(),path:Ve().optional(),size:qe()}),cn=$t(ln),dn=e=>cn.parse(e),un=cn.extend({_extend:nt({crop:sn})}),hn=$t(un),pn=Ft({name:Ve(),filename:Ve(),dateModified:Ve(),mimetype:Ve()}),fn=Ft({idUser:Ve(),dateDownload:Ve(),Pseudo:Ve(),type:Ve()}),mn={ADMIN:9,USER:5,EXTERNAL:3,GUEST:0},gn={EXTRABOT:"extraBot"},vn=Gt.extend({level:ct(mn),variant:ct(gn).optional(),dateCreation:Ve(),dateModified:Ve()}),yn=$t(vn),bn=yn.extend({active:qe()}),xn=$t(bn),wn=e=>xn.safeParse(e).success,Cn=xn,Sn=e=>Cn.safeParse(e).success,An=Ft({idInType:qe(),lat:qe(),lng:qe()}),kn=e=>An.safeParse(e).success,_n=nt({title:Ve(),firstname:Ve(),lastname:Ve(),mail:rt([Ve(),Je()]).optional(),description:Ve().optional(),dateOfBirth:Ve().optional(),phoneNumber:Ve().optional(),language:nn.optional(),timeZone:Ve().optional(),mobileNumber:Ve().optional(),company:Ve().optional(),country:Ve().optional(),department:Ve().optional(),function:Ve().optional(),webSite:Ve().optional(),image:rt([Ve(),Je()]).optional(),userBanner:rt([Ve(),Je()]).optional(),field1:Ve().optional(),field2:Ve().optional(),field3:Ve().optional(),field4:Ve().optional(),field5:Ve().optional()}),En=_n.required().extend({level:Ve(),image:Ve().optional(),businessManagementManager:yn.array().optional(),businessNetworkingUserToCompanySrc:yn.array().optional()}),Tn=nt({user_field_edit_profil:ot(_n.keyof(),qe()),user_field_editable:ot(_n.keyof(),qe()),user_field_my_page:ot(_n.keyof(),qe()),user_page_mandatory_fields:nt({firstname:lt(["0","1"]),lastname:lt(["0","1"]),pseudo:lt(["0","1"])})}),Dn=Ft({name:Ve(),value:rt([Ve(),ot(Ve(),Ze())])}),jn=lt(["popover"]),Rn=Ft({values:En,mobileEditableFields:En.keyof().array()}),Mn=Ft({mail:rt([Ve(),Je()]).optional(),title:Ve(),firstname:Ve(),lastname:Ve(),phoneNumber:rt([Ve(),Je()]).optional(),company:rt([Ve(),Je()]).optional(),function:rt([Ve(),Je()]).optional(),uri:rt([Ve(),Je()]).optional(),field1:rt([Ve(),Je()]).optional(),field2:rt([Ve(),Je()]).optional(),field3:rt([Ve(),Je()]).optional(),field4:rt([Ve(),Je()]).optional(),field5:rt([Ve(),Je()]).optional()}),In=Ft({userDirectoryShow:rt([st(""),st("1")]),contactDirectoryShow:rt([st("0"),st("1")]),businessContactShow:Ye(),menu:rt([st("0"),st("1")]),cardFields:Ve().array(),tableFields:Ve().array(),viewFields:Ve().array(),userGeoloc:Ye().optional(),sort:Ve(),cnt:qe().optional(),filters:nt({name:Ve(),type:Ve()}).array()}),On=e=>In.safeParse(e).success,Ln=-1,Pn=0,Bn=5,Nn=1,Fn=2,$n=10,zn=Ft({default:nt({mailEnabled:Ye(),mailFrequency:rt([st(Pn),st(Nn),st(Bn),st(Fn),st($n)]),mailGroupFrequency:qe(),wantMailSpotit:Ye(),wantMailComment:Ye(),wantMailSubscriber:Ye(),wantActivitySpotit:Ye(),wantActivityComment:Ye()}),userSpotConfigurations:tt(nt({spotUri:Ve(),spotTitle:Ve(),mailLocked:Ye(),wantMailSpotit:Ye(),wantMailComment:Ye(),wantMailSubscriber:Ye(),mailFrequency:rt([st(Ln),st(Pn),st(Nn),st(Fn),st($n)]),wantActivitySpotit:Ye(),wantActivityComment:Ye()})),userNetworkConfigurations:tt(nt({networkUri:Ve(),networkTitle:Ve(),wantMail:Ye(),wantActivity:Ye()}))}),Hn=Ft({href:Ve(),target:Ve()}),Un=Ft({name:Ve(),sort:rt([st("ASC"),st("DESC")])}),Wn=rt([Ye(),Ve(),qe(),tt(Ve()),nt({srcId:rt([qe(),Ve()]),srcType:Ve()}),nt({targetId:rt([qe(),Ve()]),targetType:Ve()}),nt({start:Ve(),end:Ve()})]),Gn=rt([st("="),st("<"),st(">"),st("<="),st(">="),st("!="),st("<>"),st("like"),st("between"),st("is"),st("is not"),st("in"),st("not in"),st("json_contains"),st("link"),st("match")]),Vn=rt([st("="),st("<"),st(">"),st("<="),st(">="),st("!="),st("<>"),st("+"),st("-"),st("like"),st("between"),st("is"),st("is not"),st("in"),st("json_contains"),st("link"),st("match")]),qn=Ft({name:Ve(),value:Wn,operator:Gn.optional(),method:Vn.optional(),or:Ye().optional(),isNull:Ye().optional(),isNotNull:Ye().optional()}),Yn=Un.array(),Jn=tt(qn),Qn=e=>e.and(nt({token:Ve().or(Je()).optional()}));var Zn;!function(e){e.LITTLE="raw-little",e.LIST="raw-list",e.VIEW="raw-view"}(Zn||(Zn={}));const Xn=ct(Zn).transform(e=>`${e}`),Kn=rt([Xn,Je()]),er=Ft({additionalFilter:nt({}).optional(),facets:tt(nt({})).optional(),filters:Jn.optional(),query:Ve().optional(),limit:qe().optional(),page:qe().optional(),orders:Yn.optional(),format:Kn.optional()}),tr=Ft({type:Ve(),title:Ve(),description:Ve(),privacy:rt([Ve(),qe()]),edito:Ve().nullable(),language:Ve(),category:Ve(),idCommunity:Ve().optional(),widgets:tt(Ve()).optional()}),nr=Ft({id:Ve(),name:Ve(),size:Ve()}),rr=rt([st(0),st(1),st(2),st(3)]),ir=Ft({level:rr,user:yn}),or=Ft({RF_Constant_levelName:Ve(),RF_delete:Ye(),RF_editing:Ye(),RF_level:qe(),RF_levelName:Ve(),RF_levelName_Trad:Ve(),RF_parameters:Ye(),RF_setAdmin:Ye(),RF_spotit:Ye(),RF_spotit_own:Ye()});var ar;!function(e){e[e.SPOT_MODERATE_IGNORE=0]="SPOT_MODERATE_IGNORE",e[e.SPOT_MODERATE_ACCEPT=1]="SPOT_MODERATE_ACCEPT",e[e.SPOT_MODERATE_PENDING=2]="SPOT_MODERATE_PENDING"}(ar||(ar={}));const sr=ct(ar);var lr;!function(e){e[e.SPOT_PRIVATE=0]="SPOT_PRIVATE",e[e.SPOT_PUBLIC=1]="SPOT_PUBLIC",e[e.SPOT_MODERATE=2]="SPOT_MODERATE"}(lr||(lr={}));const cr=ct(lr),dr=Ft({userLevelSpot:or,spotMinLevelToInvit:qe(),userRights:en,accessRequestStatus:sr.optional(),groupPrivacy:cr}),ur=Ft({value:rt([Ve(),qe()]),label:Ve()}),hr=Ft({id:Ve(),title:Ve(),enabled:Ye().optional()}),pr=Ft({idSpot:Ve(),idOrder:Ve(),idWidget:Ve(),type:Ve(),title:Ve(),url:Ve(),visible:Ve()}),fr=Ft({edit_access:tt(ur.extend({description:Ve()})),commentLevel:tt(ur.extend({selected:Ye().optional()})),displayType:tt(ur),user_level_signup:tt(ur.extend({selected:Ye().optional()})),spot_right_user:tt(ur.extend({selected:Ye().optional()})),useTeaser:tt(ur),spotDefaultPublishType:tt(Ve()),mail_frequency:tt(ur),widgets:tt(hr),custom_widgets:ot(pr).or(tt(Ke())),isArchive:qe(),fileSyncVersioningType:tt(ur)}),mr=Ft({url:Ve(),idUser:qe(),send:Ye().optional(),_user:yn.optional(),date:Ve().optional(),error:Ve().optional()}),gr=Ft({edit_access:rt([st(""),st("author")]),commentLevel:rt([st("-1"),st("1"),st("2"),st("3")]),user_level_signup:rt([st(""),st("1"),st("2"),st("3")]),nounsubscribe:rt([st("0"),st("1")]),useTeaser:rt([st(""),st("0"),st("1")]).nullable(),displayType:Ve(),spot_right_user:Ve(),rss_feed:tt(mr).nullable(),spotDefaultPublishType:Ve(),mail_frequency:Ve(),mail_comment:rt([st("1"),st("")]),mail_spotit:rt([st("1"),st("")]),mail_subscriber:rt([st("1"),st("")]),lock_mail:rt([st("1"),st("")]),activity:rt([st("1"),st("0")]),publishFolder:rt([st("1"),st("0")]),notifyFolder:rt([st("1"),st("0")]),widgets:tt(Ve()),rss_access:rt([st("1"),st("0")]),rss_key:Ve(),fileSyncEnabled:rt([st("1"),st("0")]),fileBankQuota:Ve(),fileSyncVersioningType:rt([st("overwrite"),st("author-change")]),_options:fr,_errors:it([]),lastRssExecution:ot(Ve()).optional()}),vr=hr.array(),yr=tr.extend(gr.omit({rss_feed:!0}).partial().shape).extend({uri:Ve(),image:Ve().nullable().optional(),spotBanner:ot(nr).or(tt(Ke())).optional(),token:Ve().optional(),uriCommunity:Ve().optional(),custom_widgets:ot(pr).optional(),rss_feed:Ve()}),br=$t(yr),xr=Ft({idWidget:Ve(),title:Ve(),url:Ve(),type:Ve(),icon:Ve(),description:Ve()}),wr=Ft({id:Ve(),idorder:qe(),label:Ve()}),Cr=Gt.extend({dateCreation:Ve(),dateModified:Ve(),category:qe(),privacy:cr}),Sr=$t(Cr),Ar=Sr.extend({description:Ve(),edito:Ve().nullable(),language:Ve()}),kr=$t(Ar),_r=kr.extend({image:Ve().nullable().optional(),spotBanner:ot(nr).or(tt(Ke())).optional(),idCommunity:Ve().optional(),useTeaser:rt([st(""),st("0"),st("1")]).nullable().optional()}),Er=$t(_r),Tr=Ft({idSpot:rt([Ve(),qe()]),mailFrequency:rt([Ve(),qe()]),mailSpotit:Ye(),mailComment:Ye(),mailSubscriber:Ye()}),Dr=Ft({type:Ve().optional(),format:Kn.optional(),query:Ve().optional(),limit:qe().optional(),page:qe().optional(),public:Ye().optional(),orders:Yn.optional(),filters:Jn.or(Je()).optional()}),jr=Ft({openCategory:Ye()}),Rr=e=>or.safeParse(e).success,Mr=Gt.extend({description:Ve().optional().nullable(),_user:yn,_right:en}),Ir=$t(Mr),Or=e=>Ir.safeParse(e).success,Lr=Gt.extend({type:lt(["folder","rootFolder"]),folderColor:Ve().optional()}),Pr=$t(Lr),Br=rt([yn,Sr,Pr]);var Nr;!function(e){e.ArticleButton="widget-article-button",e.ArticleGallery="widget-article-gallery",e.ArticleTitle="widget-article-title",e.ArticleText="widget-article-text",e.ArticleImage="widget-article-image",e.ArticleAttachment="widget-article-attachment",e.ArticleSlider="widget-article-slider",e.CheckList="widget-check-list",e.DatasourceTable="widget-datasource-table",e.ExcelDatasourceTable="widget-excel-datasource-table",e.Presence="widget-presence",e.QuickSurvey="widget-quick-survey",e.ContactCardDav="widget-contact-cardDav",e.CalendarCalDav="widget-calendar-calDav",e.EmailsImap="widget-emails-imap",e.LuccaAbsence="widget-lucca-absence",e.UserProfile="widget-user-profil"}(Nr||(Nr={}));const Fr=ct(Nr),$r=nt({title:Ve(),widget:nt({name:Fr,uniqid:Ve(),content:Xe()})}).catchall(Xe()),zr=$t($r),Hr=lt(["left","right","center","justify"]),Ur=lt(["top","bottom","center","left","right"]),Wr=lt(["auto","contain","cover"]),Gr=lt(["sm","md","lg"]),Vr=lt(["contained","outlined"]),qr=lt(["link","anchor","popup"]),Yr=Ft({x:qe(),y:qe()}),Jr=lt(["default","vertical"]),Qr=(e,t,n)=>{const r=t.safeParse(e);return!1===r.success&&n&&console.error(r.error.message),r.success},Zr=(e,t)=>t.safeParse(e).success,Xr=Ft({files:cn.array().optional(),fileDisplay:lt(["list","gallery"]).optional()}),Kr=Ft({name:st(Nr.ArticleAttachment),uniqid:Ve(),content:Xr}),ei=Ft({url:Ve(),target:Ve()}),ti=Ft({uniqid:Ve()}),ni=Ft({title:Ve(),widgets:zr.array()}),ri=Ft({text:Ve().optional(),color:Ve().optional(),backgroundColor:Ve().optional(),borderRadius:Ve().optional(),fontSize:Ve().optional(),buttonSize:Gr.optional(),variant:Vr.optional(),url:Ve().optional(),target:Ve().optional()}),ii=ri.extend({openingType:qr.optional(),openingTypeLink:ei.optional(),openingTypeAnchor:ti.optional(),openingTypePopup:ni.optional()}),oi=Ft({name:st(Nr.ArticleButton),uniqid:Ve(),content:ii}),ai=Ft({gap:Ve().optional(),column:Ve().optional(),files:cn.array().optional()}),si=Ft({name:st(Nr.ArticleGallery),uniqid:Ve(),content:ai}),li=Ft({file:cn.optional(),useFilter:Ye().optional()}),ci=Ft({name:st(Nr.ArticleImage),uniqid:Ve(),content:li}),di=Ft({title:Ve(),text:Ve(),titleHeading:lt(["h1","h2","h3","h4","h5","h6","p","span"]).optional(),textColor:Ve().optional(),opacityFilter:qe().optional(),opacityColor:Ve().optional(),file:cn.optional()}),ui=Ft({slides:di.array().optional(),maxWidth:qe().optional(),loop:Ye().optional(),useDots:Ye().optional(),startAt:qe().optional()}),hi=Ft({name:st(Nr.ArticleSlider),uniqid:Ve(),content:ui}),pi=Ft({text:Ve().optional(),color:Ve().optional(),fontSize:Ve().optional(),lineHeight:Ve().optional(),linkColor:Ve().optional()}),fi=Ft({name:st(Nr.ArticleText),uniqid:Ve(),content:pi}),mi=Ft({text:Ve().optional(),textAlign:Hr.optional(),heading:Ve().optional(),color:Ve().optional(),backgroundColor:Ve().optional(),dataCy:Ve().optional()}),gi=Ft({name:st(Nr.ArticleTitle),uniqid:Ve(),content:mi}),vi=Ft({calEventsLimit:Ye().optional(),calEventsLimitValue:qe().optional(),calEventsPromptStatus:Ve().optional()}),yi=Ft({name:st(Nr.CalendarCalDav),uniqid:Ve(),content:vi}),bi=Ft({title:Ve(),value:Ye().optional(),links:Hn.array().optional(),id:qe().optional(),file:cn.optional(),user:nt({id:qe().or(Ve()),type:st("user"),mainType:st("user")}).optional()}),xi=Ft({arr:bi.array().optional(),css:ot(Ve(),Ve().or(qe())).optional(),widgets:zr.array().optional(),edit:Ye().optional()}),wi=Ft({name:st(Nr.CheckList),uniqid:Ve(),content:xi}),Ci=Ft({contactLimit:Ye().optional(),contactLimitValue:qe().optional(),contactPromptStatus:Ve().optional()}),Si=Ft({name:st(Nr.ContactCardDav),uniqid:Ve(),content:Ci}),Ai=lt(["date","date-time","date-time-sec","time","time-sec"]),ki=lt(["fr-FR","en-EN","filesize"]),_i=Ft({}),Ei=Ft({type:st("text")}),Ti=Ft({label:Ve(),value:Ve()}),Di=Ft({type:st("select"),options:Ti.array()}),ji=Ft({type:st("date")}),Ri=rt([Ei,Di,ji,_i]),Mi=Ft({name:Ve().optional(),isVisible:Ye().optional(),textEllipsis:Ye().optional(),label:Ve().optional(),dateFormat:Ai.optional(),numberFormat:ki.optional()}),Ii=Mi.array(),Oi=lt(["text","uri","file","select","url","transient","date","datetime","email","number","title"]),Li=Ft({name:Ve(),label:Ve(),sortable:Ye().optional(),type:Oi,widget:Ri}),Pi=Ft({limit:qe().or(Ye()).optional(),tableColumnsData:Mi.array().optional(),tableHeadColor:Ve().optional(),tableHeadTextColor:Ve().optional(),tableHeadIconColor:Ve().optional(),tableRowColor:Ve().optional(),tableRowTextColor:Ve().optional(),tableBorderRadius:qe().optional(),tableSizedColumns:Ye().optional(),tableSizedColumnsWidth:qe().optional()}),Bi=Pi.extend({uri:Ve().optional()}),Ni=Ft({name:st(Nr.DatasourceTable),uniqid:Ve(),content:Bi}),Fi=Ft({emailsLimit:Ye().optional(),emailsLimitValue:qe().optional(),emailsPromptStatus:Ve().optional()}),$i=Ft({name:st(Nr.EmailsImap),uniqid:Ve(),content:Fi}),zi=Bi.extend({uri:Ve().optional()}),Hi=Ft({name:st(Nr.ExcelDatasourceTable),uniqid:Ve(),content:zi}),Ui=Ft({absentUntil:Ve(),period:Ve().array(),title:Ve(),uri:Ve()}),Wi=Ft({url:Ve().optional()}),Gi=Ft({name:st(Nr.LuccaAbsence),uniqid:Ve(),content:Wi}),Vi=Ye().or(st(0)).or(st(1)),qi=Ft({limit:Ye().or(qe()).optional(),limitValue:qe().optional(),closing:Vi.optional(),isClosed:Vi.optional()}),Yi=e=>Zr(e,qi),Ji=Ft({name:st(Nr.Presence),uniqid:Ve(),content:qi}),Qi=e=>Qr(e,Ji),Zi=Ft({id:qe(),type:Ve(),uniqid:Ve(),value:qe()}),Xi=e=>Qr(e,Zi),Ki=Ft({userValue:qe(),userAvailableList:yn.array(),userUnavailableList:yn.array(),userAvailableTotal:qe(),userUnavailableTotal:qe()}),eo=e=>Qr(e,Ki),to=Ft({data:yn.array(),cnt:qe(),page:qe(),limit:qe()}),no=Ft({title:Ve(),id:qe().optional(),mimetype:Ve().optional(),file:cn.optional()}),ro=Ft({arr:no.array().optional(),css:ot(Ve(),Ve().or(qe())).optional(),widgets:zr.array().optional(),open:Vi.optional(),multi:Vi.optional(),closing:Vi.optional(),isClosed:Vi.optional(),showResult:Vi.optional(),isNotDisabled:Vi.optional(),seeResponseAfter:Vi.optional(),anonymize:Vi.optional()}),io=Ft({name:st(Nr.QuickSurvey),uniqid:Ve(),content:ro}),oo=Ft({userList:yn.array(),counter:qe()}),ao=Ft({totalRespondent:qe(),totalResponse:qe(),userLoggedResponses:Ve().array(),userResponses:oo.array()}),so=Ft({data:yn.array(),cnt:qe(),page:qe(),limit:qe()}),lo=Ft({buttonName:Ve().optional(),pictureSize:Ve().optional(),css:ot(Ve(),Ve().or(qe())).optional()}),co=Ft({name:st(Nr.UserProfile),uniqid:Ve(),content:lo}),uo=rt([nt({layers:Ve().array().optional()}).and(Kr),nt({layers:Ve().array().optional()}).and(oi),nt({layers:Ve().array().optional()}).and(si),nt({layers:Ve().array().optional()}).and(ci),nt({layers:Ve().array().optional()}).and(gi),nt({layers:Ve().array().optional()}).and(fi),nt({layers:Ve().array().optional()}).and(hi),nt({layers:Ve().array().optional()}).and(wi),nt({layers:Ve().array().optional()}).and(Ni),nt({layers:Ve().array().optional()}).and(Hi),nt({layers:Ve().array().optional()}).and(Ji),nt({layers:Ve().array().optional()}).and(io),nt({layers:Ve().array().optional()}).and(yi),nt({layers:Ve().array().optional()}).and(Si),nt({layers:Ve().array().optional()}).and($i),nt({layers:Ve().array().optional()}).and(Gi),nt({layers:Ve().array().optional()}).and(co)]),ho=1,po=2,fo=3,mo=4,go=rt([st(ho),st(po),st(fo),st(mo)]),vo=Ft({title:Ve(),level:go.optional(),widget:uo}),yo=nt({widgets:vo.array().optional()}).and(rt([Xr,ii,ai,li,pi,mi,ui,xi,Bi,zi,qi,ro,vi,Ci,Fi,Wi,lo])),bo=nt({[Nr.ArticleButton]:oi,[Nr.ArticleGallery]:si,[Nr.ArticleTitle]:gi,[Nr.ArticleText]:fi,[Nr.ArticleImage]:ci,[Nr.ArticleAttachment]:Kr,[Nr.ArticleSlider]:hi,[Nr.CheckList]:wi,[Nr.DatasourceTable]:Ni,[Nr.ExcelDatasourceTable]:Hi,[Nr.Presence]:Ji,[Nr.QuickSurvey]:io,[Nr.CalendarCalDav]:yi,[Nr.ContactCardDav]:Si,[Nr.EmailsImap]:$i,[Nr.LuccaAbsence]:Gi,[Nr.UserProfile]:co}),xo=nt({[Nr.ArticleButton]:ii,[Nr.ArticleGallery]:ai,[Nr.ArticleTitle]:mi,[Nr.ArticleText]:pi,[Nr.ArticleImage]:li,[Nr.ArticleAttachment]:Xr,[Nr.ArticleSlider]:ui,[Nr.CheckList]:xi,[Nr.DatasourceTable]:Bi,[Nr.ExcelDatasourceTable]:zi,[Nr.Presence]:qi,[Nr.QuickSurvey]:ro,[Nr.CalendarCalDav]:vi,[Nr.ContactCardDav]:Ci,[Nr.EmailsImap]:Fi,[Nr.LuccaAbsence]:Wi,[Nr.UserProfile]:lo}),wo=Ft({busy:rt([Ye(),Je()]).optional(),loading:rt([Ye(),Je()]).optional(),initialized:rt([Ye(),Je()]).optional(),mounted:rt([Ye(),Je()]).optional(),hover:rt([Ye(),Je()]).optional(),empty:Ye().optional(),locked:Ye().optional()}),Co=Gt.extend({dateCreation:Ve(),dateModified:Ve()}),So=$t(Co),Ao=So.extend({description:Ve().nullable().optional(),_user:yn,_right:en,_audience:Br.array(),image:on.optional(),articleWidgets:vo.array().optional()}),ko=$t(Ao),_o=ko.extend({_attachedFiles:cn.array(),tags:Yt.array().optional(),processContext:Qe().optional(),_transientCtx:Qe().optional(),uiObjectLink:Gt.array().optional()}),Eo=$t(_o),To=ko.extend({type:st("internalDraft"),hasRightToPublishType:Ye()}),Do=$t(To),jo=Eo.extend(Do.shape).extend({type:st("internalDraft"),idDraft:qe(),form:ot(Ve(),Ze())}),Ro=$t(jo),Mo=e=>Ro.extend({form:e}),Io=Ft({type:Ve().optional(),query:Ve().optional(),limit:qe().optional(),page:qe().optional(),orders:Yn.optional(),filters:Jn.optional(),public:Ye().optional()}),Oo=Ft({uri:Ve().optional(),idArticle:qe().optional()}),Lo=Ft({title:Ve().optional(),description:Ve().nullable().optional(),type:Ve().optional(),publishTo:Ve().optional(),idSpot:tt(Ve()).optional()}),Po=Ft({id:qe(),type:Ve(),dateCreation:Ve(),dateModified:Ve(),title:Ve(),uri:Ve()}),Bo=Ft({attachment:Ye().optional(),idArticle:qe(),limits:nt({max:qe(),start:qe()}).optional()}),No=Ft({token:Ve(),content:Ve(),idArticle:qe(),sendAlert:Ye(),alertAuthor:Ye(),widgets:vo.array().optional(),type:rt([st("comment"),st("commentResponse")]).optional()}),Fo=Ft({token:Ve().optional(),description:Ve().optional(),idComment:qe(),widgets:vo.array().optional()}),$o=Ft({idUser:Ve(),dateRead:Ve(),Pseudo:Ve(),type:Ve()}),zo=Pr.extend(Ao.shape).extend({_nbItems:qe(),parentURI:Ve().optional(),type:Pr.shape.type}),Ho=$t(zo),Uo=rt([st("created"),st("validated"),st("handled")]),Wo=Eo.extend({type:st("aseiClearanceTicket"),aseiClearanceTicketValidator:yn.array(),aseiClearanceTicketHandler:Gt.array(),aseiClearanceTicketApplicationManagers:Gt.array(),aseiClearanceTicketInstitution:Gt.array(),aseiClearanceTicketNatureOfDemand:Ve(),aseiClearanceTicketInternetAccess:Ve(),aseiClearanceTicketInternetAccessSpecify:Ve(),aseiClearanceTicketMicrosoftTeams:Ve().nullable(),aseiClearanceTicketVariousNetworks:Ve().nullable(),aseiClearanceTicketFreeText:Ve(),aseiClearanceTicketOfficeAccess:Ve().nullable(),aseiClearanceTicketSharedDirectoriesSpecify:Ve(),aseiClearanceTicketBlueKanGo:Ve().nullable(),aseiClearanceTicketAccounting:Ve(),aseiClearanceTicketAccountingBudget:Ve(),aseiClearanceTicketTransfers:Ve().nullable(),aseiClearanceTicketBilling:Ve(),aseiClearanceTicketPayroll:Ve(),aseiClearanceTicketPayrollBudget:Ve(),aseiClearanceTicketAccommodationCosts:Ve(),aseiClearanceTicketCommercialManagement:Ve(),aseiClearanceTicketInventoryManagement:Ve(),aseiClearanceTicketTimeManagement:Ve(),aseiClearanceTicketBdes:Ve(),aseiClearanceTicketMandateStart:Ve().nullable(),aseiClearanceTicketMandateEnd:Ve().nullable(),aseiClearanceTicketIndicatorsPlatform:Ve().nullable(),aseiClearanceTicketBudgetLetters:Ve(),aseiClearanceTicketComputerisedFile:Ve().nullable(),aseiClearanceTicketRecruiterAccess:Ve().nullable(),aseiClearanceTicketTypeOfWorkContractFrom:Qe(),aseiClearanceTicketTypeOfWorkContractTo:Qe(),aseiClearanceTicketLastName:Ve(),aseiClearanceTicketFirstName:Ve(),aseiClearanceTicketUser:yn.array(),aseiClearanceTicketTypeOfWorkContract:Ve(),aseiClearanceTicketTypeOfWorkContractSpecify:Ve(),aseiClearanceTicketPosition:Ve(),aseiClearanceTicketStatus:Uo}),Go=$t(Wo),Vo=Eo.extend({type:st("aseiInstitution"),aseiInstitutionValidator:Gt.array()}),qo=$t(Vo),Yo=nt({dsi:Ve(),gestionnaireApplicatif:Ve(),createurDemande:Ve()}),Jo=nt({accessWriter:Ye(),accessApp:Ye()}),Qo=nt({description:Ve(),right:nt({manage:Ye()}),daysOff:tt(Ve()).optional(),weekEnd:rt([st("0"),st("1")]),bookingOpeningTime:Ve(),bookingClosingTime:Ve(),lastBookingSchedule:Ve()}),Zo=ko.extend({type:st("bookableAsset"),_isColorDark:Ye().nullable(),assetPlannerBackgroundColor:Ve().nullable()}),Xo=$t(Zo),Ko=ko.extend(Xo.shape).extend({assetBanner:ot(nt({id:Ve(),name:Ve(),size:Ve()}))}),ea=$t(Ko),ta=ko.extend({type:st("reservation"),dateStart:Ve(),dateEnd:Ve(),reservationCancelled:Ye(),_asset:Xo}),na=$t(ta),ra=So.extend({type:st("businessContactCard")}),ia=$t(ra),oa=ko.extend(ia.shape).extend({mail:Ve().nullable(),pseudo:Ve().nullable(),firstName:Ve().nullable(),lastName:Ve().nullable(),phoneNumber:Ve().nullable(),company:Ve().nullable(),function:Ve().nullable(),champ1:Ve().nullable().optional(),champ2:Ve().nullable().optional(),champ3:Ve().nullable().optional(),champ4:Ve().nullable().optional(),champ5:Ve().nullable().optional()}),aa=$t(oa),sa=st("read"),la=Ft({action:Ve(),do:Ve(),type:Ve(),targetId:qe(),targetType:Ve()}),ca=Ft({type:Ve(),class:Ve(),isActive:Ye(),label:Ve(),cssClass:Ve(),cssColor:Ve(),struct:la,stats:nt({total:qe()}).optional()}),da=Ft({targetId:qe(),targetType:Ve(),type:Ve(),icon:Ve().nullable(),isActive:Ye().optional(),count:qe().optional(),label:Ve()}),ua=nt({targetId:qe(),targetType:Ve(),type:Ve()}),ha=e=>ua.extend({value:e}),pa=Ut.extend({dateCreation:Ve(),dateModified:Ve().nullable(),description:Ve().nullable(),_user:yn}),fa=$t(pa),ma=fa.extend({_right:en,_attachedFiles:tt(cn).optional(),_actions:ot(ca).optional(),_widgets:tt(vo).optional()}),ga=$t(ma);var va;!function(e){e.Binary="binary",e.Select="select",e.Radio="radio",e.Check="check",e.Rate="rate",e.Scale="scale",e.Text="text",e.Textarea="textarea",e.FileUpload="file-upload",e.GridRadio="grid-radio",e.GridCheck="grid-check"}(va||(va={}));const ya=ct(va),ba=Ft({title:Ve()}).array(),xa=Ft({title:Ve()}).array(),wa=Ft({title:Ve()}).array(),Ca=Ft({title:Ve()}).array(),Sa=Ft({type:nt({on:Ve(),off:Ve()}),size:qe().array(),index:qe()}),Aa=Ft({start:nt({title:Ve(),value:qe()}),end:nt({title:Ve(),value:qe()}),options:nt({label:Ve(),value:qe()}).array()}),ka=Ve(),_a=Ve(),Ea=Ve().array(),Ta=Ft({lines:nt({title:Ve()}).array(),rows:nt({title:Ve()}).array()}),Da=Ft({lines:nt({title:Ve()}).array(),rows:nt({title:Ve()}).array()}),ja=rt([ba,xa,wa,Ca,Sa,Aa,ka,_a,Ea,Ta,Da]),Ra=Ft({lengthMin:Ye(),lengthMinValue:qe(),lengthMax:Ye(),lengthMaxValue:qe()}),Ma=Ft({types:nt({on:Ve(),off:Ve()}).array()}),Ia=Ft({arr:nt({label:Ve(),value:qe()}).array()}),Oa=Ft({length:Ye(),lengthMin:qe(),lengthMax:qe()}),La=Ft({length:Ye(),lengthMin:qe(),lengthMax:qe()}),Pa=Ft({limit:qe().or(Ye()),limitValue:qe(),arr:nt({name:Ve(),active:Ye(),mimetype:Ve()}).array()}),Ba=Ft({forceResponse:Ye()}),Na=Ft({forceResponse:Ye()}),Fa=rt([Ra,Ma,Ia,Oa,La,Pa,Ba,Na]),$a=Ft({mandatory:Ye(),condition:Ye(),uniqid:Ve(),label:Ve(),description:Ve(),name:ya,extraParams:nt({}).optional(),widgetOptions:nt({}).optional()}),za=$a.extend({name:st(va.Binary),data:ba}),Ha=$a.extend({name:st(va.Select),data:xa}),Ua=$a.extend({name:st(va.Radio),data:wa}),Wa=$a.extend({name:st(va.Check),data:Ca,widgetOptions:Ra}),Ga=$a.extend({name:st(va.Rate),data:Sa,widgetOptions:Ma}),Va=$a.extend({name:st(va.Scale),data:Aa,widgetOptions:Ia}),qa=$a.extend({name:st(va.Text),data:ka,widgetOptions:Oa}),Ya=$a.extend({name:st(va.Textarea),data:_a,widgetOptions:La}),Ja=$a.extend({name:st(va.FileUpload),data:Ea,widgetOptions:Pa}),Qa=$a.extend({name:st(va.GridRadio),data:Ta,widgetOptions:Na}),Za=$a.extend({name:st(va.GridCheck),data:Da,widgetOptions:Ba}),Xa=rt([za,Ha,Ua,Wa,Ga,Va,qa,Ya,Ja,Qa,Za]),Ka=Ft({uniqid:Ve(),title:Ve(),fields:Xa.array()}),es=ko.extend({type:st("pollSurvey"),anonymousResponse:Qe(),multipleResponse:qe(),publicResults:Qe(),pollProgression:nt({colors:ot(Ve()),maxRespondentsValue:qe(),countRespondentsValue:qe()}),pollResponseShowProgression:qe(),dateEnd:Ve(),status:nt({name:Ve(),value:qe()})}),ts=$t(es),ns=Eo.extend(ts.shape).extend({pollContent:Ka.array().or(Qe()),pollLinks:Qe(),pollForceClose:Qe(),pollResponseUserVisibility:Qe(),pollResponseAuthorVisibility:Qe(),pollResponseShowRespondent:Qe(),pollBanner:it([]),pollMessage:Ve()}),rs=$t(ns),is="pollSurvey",os=Ft({}),as=Ft({pollContent:Ka.array(),pollLinks:ot(Ve(),Ve()).or(Qe()),pollMessage:Ve().optional(),description:Ve().optional(),anonymousResponse:Ve().or(Qe()).optional(),multipleResponse:Ve().or(Qe()).optional(),pollResponseAuthorVisibility:Ve().or(Qe()).optional(),pollResponseUserVisibility:Ve().or(Qe()).optional(),pollResponseShowProgression:Ve().or(Qe()).optional(),pollResponseShowRespondent:Ve().or(Qe()).optional(),bannerSrc:Ve().optional()}),ss=rt([os,as]),ls=ko.extend({type:st("contentFactoryTemplate"),contentFactoryTemplateType:lt(["pollSurvey","default"]),contentFactoryTemplateAuthor:Ve(),contentFactoryTemplateUsage:qe()}),cs=$t(ls),ds=Eo.extend(cs.shape).extend({contentFactoryTemplateType:st("pollSurvey"),contentFactoryTemplateData:as}),us=$t(ds),hs=Eo.extend(cs.shape).extend({contentFactoryTemplateType:st("default"),contentFactoryTemplateData:os}),ps=$t(hs),fs=rt([ps,us]);var ms;!function(e){e.RUNNING="running",e.CLOSED="closed",e.HANDLED="handled"}(ms||(ms={}));const gs=ko.extend({type:st("contentReport"),articleId:qe(),articleType:Ve(),articleTitle:Ve(),articleUrl:Ve(),commentId:qe().optional(),commentType:Ve().optional(),status:ct(ms)}),vs=$t(gs),ys=nt({limit:qe().optional(),page:qe().optional(),orders:Yn.optional(),filters:Jn.optional()}),bs=nt({uri:Ve(),description:Ve()}),xs=nt({uri:Ve(),status:ct(ms)}),ws=ko.extend({type:st("animatedMeeting"),dateStart:Ve(),animatedMeetingContent:ot(Xe())}),Cs=$t(ws),Ss=Eo.extend(Cs.shape).extend({animatedMeetingStarted:Qe(),useWorkAdventure:Qe(),animatedMeetingReport:Qe(),animatedMeetingReportVersion:Qe(),animatedMeetingStats:Qe(),animatedMeetingReactions:Qe()}),As=$t(Ss),ks=nt({_extend:nt({status:Ve(),statusValue:st(1).or(st(2)).or(st(3)),date:Ve()}),_audienceLeft:qe()}),_s=Eo.extend({type:st("extraBot"),avatar:cn.optional(),context:Ve(),description:Ve(),disclaimer:Ve(),enabled:Ye(),groups:tt(Qt).optional(),moderators:tt(Jt).optional(),prompt:Ve(),title:Ve(),trigger:lt(["mentionOnly","matchComment"]),matchThreshold:qe().optional(),bot:yn.optional(),webhookMethod:Ve().optional(),webhookUrl:Ve().optional(),webhookKey:Ve().optional(),webhookAutomationOnly:Ye().optional()}),Es=$t(_s),Ts=nt({title:Ve(),id:Ve().optional(),items:tt(Ve())}),Ds=ko.extend({type:st("faq"),faqColor:Ve().optional(),image:on.optional()}),js=$t(Ds),Rs=Eo.extend(js.shape).extend({isWeb:Ye(),faqContent:Ts.array().optional()}),Ms=$t(Rs),Is=e=>e.and(nt({_extend:nt({itemsCount:qe()})})),Os=ko.extend({type:st("faqItem")}),Ls=$t(Os),Ps=Eo.extend(Ls.shape).extend({faqResponse:Ve(),uriCategory:So.array(),themeId:Ve(),_nbAttachedFiles:qe().optional(),_attachedFiles:cn.array()}),Bs=$t(Ps),Ns=Qn(Lo.omit({idSpot:!0})).and(nt({image:on.nullable().optional(),tags:Ve().optional(),faqColor:Ve().optional(),isWeb:Ye().optional(),type:st("faq")})),Fs=Ns.and(nt({uri:Ve(),format:Kn.optional()})),$s=nt({title:Ve(),id:Ve()}),zs=nt({_web:rt([st("0"),st("1"),st("")]).optional(),appImageText:Ve().optional(),appImage:rt([Ve(),nt({image:nt({id:Ve(),type:Ve()})})]).optional(),_displayComment:rt([st("0"),st("1"),st("")]).optional()}),Hs=nt({createCategory:Ye()}),Us=nt({idCategory:qe(),title:Ve()}),Ws=nt({idCategory:qe(),indexTheme:qe(),deleteEntries:Ye().optional()}),Gs=nt({idCategory:qe(),indexTheme:qe(),title:Ve()}),Vs=Qn(Lo).and(nt({tags:Ve().optional(),faqResponse:Ve().optional(),type:st("faqItem")})),qs=nt({idEntry:qe(),idCategory:qe(),theme:qe()}),Ys=Vs.and(nt({uri:Ve()})),Js=nt({entryURI:Ve(),sourceURI:Ve().optional(),targetURI:Ve(),theme:qe()}),Qs=nt({sourceUri:Ve(),targetUri:Ve(),themeIndex:qe()}),Zs=So,Xs=ko.extend({relatedArticle:ko.optional(),relatedObject:ga.or(ko).optional(),relatedUser:xn.optional()}),Ks=$t(Xs),el=Ft({idLog:qe(),slug:Ve(),dateCreation:Ve(),map:Ve(),mail:Ve(),action:Ve(),mode:Ve()}),tl=Ft({mail:Ve(),cnt:Ve()}),nl=Ve(),rl=Ve(),il=Lo.extend({type:st("jlandmap"),jlandMapAggregated:Ve()}),ol=So.extend({type:st("jlandmap"),jlandMapKind:rl,jlandMapFlavor:nl,limit:qe().nullable(),waMapUrl:Ve().nullable()}),al=$t(ol),sl=ko.extend(al.shape),ll=$t(sl),cl=Eo.extend(ll.shape),dl=$t(cl),ul=So.extend({type:st("mediaLibraryFile"),attachment:cn,_user:yn.optional()}),hl=$t(ul),pl=ko.extend(hl.shape),fl=$t(pl),ml=So.extend({type:st("mediaLibraryFolder"),_user:yn.optional(),description:Ve().optional(),_audience:Br.array()}),gl=$t(ml),vl=ko.extend(gl.shape),yl=$t(vl),bl=nt({format:Kn,page:qe().optional(),limit:qe().optional(),nolimit:Ye().optional()}),xl=nt({id:qe(),idFolder:qe().optional(),fileName:Ve(),nbViews:qe(),nbDistinctViews:qe(),nbDownloads:qe()}),wl=nt({id:qe(),folderName:Ve(),nb:qe(),nbDistinct:qe()}),Cl=nt({nbFolders:qe(),nbFiles:qe()}),Sl=nt({uriFile:Ve(),uriFolder:Ve(),publishTo:Ve().array()}),Al=ko.extend({type:st("socialEvent"),place:Ve(),address:Ve(),dateStart:Ve(),dateEnd:Ve(),noGestion:Ye(),allDay:Ye(),textColor:Ve(),backgroundColor:Ve()}),kl=$t(Al),_l=e=>kl.safeParse(e).success,El=Eo.extend(kl.shape).extend({allDay:Ye(),useQrcode:Ye().optional(),bgColor:Ve(),socialEventUseCeiling:Ye(),socialEventCeiling:qe().nullable(),hideFromCalendar:Ye(),urlGestion:Ve().optional().nullable(),webinarUrlForGuests:Ve().optional().nullable()}),Tl=$t(El),Dl=e=>Tl.safeParse(e).success,jl=Qn(nt({title:Ve().min(1),dateStart:Ve().regex(/\d{4}-\d{2}-\d{2}( \d{2}:\d{2}:\d{2})?/),dateEnd:Ve().regex(/\d{4}-\d{2}-\d{2}( \d{2}:\d{2}:\d{2})?/),allDay:Ye().optional(),place:Ve().optional().nullable(),address:Ve().optional().nullable(),description:Ve().optional(),socialEventUseCeiling:Ye().optional(),socialEventCeiling:qe().nullable().optional(),publishTo:Ve().optional(),textColor:Ve().optional().nullable(),bgColor:Ve().optional().nullable(),hideFromCalendar:Ye().optional(),noGestion:Ye().optional(),sendAlert:lt(["1","0"]).optional(),alertAuthor:lt(["1","0"]).optional(),uiObjectLink:Ve().optional(),useQrcode:Ye().optional(),urlGestion:Ve().optional()}).refine(e=>{const t=new Date(e.dateStart),n=new Date(e.dateEnd);return t.getTime()<=n.getTime()},"The start date must be before the end date.")),Rl=jl.and(nt({uri:Ve()})),Ml=kl.extend({type:st("meeting")}),Il=$t(Ml),Ol=e=>Il.safeParse(e).success,Ll=Tl.omit({socialEventUseCeiling:!0,socialEventCeiling:!0,hideFromCalendar:!0}).extend(Il.shape).extend({agenda:Ve(),report:Ve(),reportFile:cn.nullable()}),Pl=$t(Ll),Bl=Qn(nt({title:Ve().min(1),dateStart:Ve().regex(/\d{4}-\d{2}-\d{2}( \d{2}:\d{2}:\d{2})?/),dateEnd:Ve().regex(/\d{4}-\d{2}-\d{2}( \d{2}:\d{2}:\d{2})?/),allDay:Ye().optional(),place:Ve().optional().nullable(),address:Ve().optional().nullable(),agenda:Ve().optional(),report:Ve().optional(),publishTo:Ve().optional(),textColor:Ve().optional().nullable(),bgColor:Ve().optional().nullable(),noGestion:Ye().optional(),sendAlert:lt(["1","0"]).optional(),alertAuthor:lt(["1","0"]).optional(),uiObjectLink:Ve().optional(),urlGestion:Ve().optional()}).refine(e=>{const t=new Date(e.dateStart),n=new Date(e.dateEnd);return t.getTime()<=n.getTime()},"The start date must be before the end date.")),Nl=Bl.and(nt({uri:Ve()})),Fl=Gt.omit({title:!0,_url:!0}).extend({description:Ve()}),$l=$t(Fl),zl=Ft({_url:Ve(),bubbleColor:Ve(),_right:en,_audience:yn.array(),_cntUnread:qe(),_lastMessage:$l.optional()}),Hl=Ut.extend({type:st("messengerUser"),idDiscussion:Ve()}),Ul=$t(Hl),Wl=Ul.extend(zl.shape),Gl=$t(Wl),Vl=Ut.extend({type:st("messengerGroup"),idDiscussion:Ve(),isMessengerSpotGroup:Ye(),disabled:Ye()}),ql=$t(Vl),Yl=ql.extend(zl.shape).extend({title:Ve().nullable()}),Jl=$t(Yl),Ql=nt({uri:Ve(),title:Ve(),selected:Ye()}),Zl=nt({id:qe().or(Ve()),pid:qe().nullable().optional(),name:Ve(),title:Ve().nullable().optional(),phone:Ve().nullable().optional(),mail:Ve().nullable().optional(),img:Ve(),imgId:qe().nullable().optional(),uri:Ve().nullable().optional(),tags:tt(Ve()),links:tt(Ql),isInternal:qe(),selectedLink:Ql.nullable().optional(),openInNewTab:qe().nullable().optional(),isAssistant:qe().nullable().optional()}),Xl=$t(Zl),Kl=nt({nodes:tt(Xl),platformColors:ot(Ve())}),ec=ko.extend({chartIsVisible:Ye(),chartAdmins:yn.array()}),tc=$t(ec),nc=Eo.extend(tc.shape).extend({chartConfig:Kl,chartConfigDraft:Kl}),rc=$t(nc),ic=(nt({title:Ve(),chartIsVisible:Ve(),publishTo:Ve(),chartAdmins:Ve()}),nt({title:Ve(),chartIsVisible:Ve(),publishTo:Ve(),uri:Ve(),chartAdmins:Ve()})),oc=nt({global:nt({user_directory:nt({card:tt(Ve()),filters:tt(Ve()),show:tt(Ve()),table:tt(Ve())}),css:ot(Ve().nullable())}),writer:Ye()}),ac=ko.extend({type:st("quizz"),quizzDescription:Ve().nullable(),quizzClosingDate:Ve().nullable(),dateStart:Ve().nullable(),dateEnd:Ve().nullable()}),sc=$t(ac),lc=Eo.extend(sc.shape).extend({quizzInvitation:Qe(),quizzFormSpec:Ve(),quizzRandom:Qe(),quizzHideResponses:Qe(),quizzStatus:Qe(),quizzPublicationDate:Ve().nullable()}),cc=$t(lc),dc=Ft({countMembers:qe(),countResponse:qe(),done:Ye(),score:qe(),maxScore:qe(),duration:qe()}),uc=Ft({value:Ve(),label:Ve()}),hc=Ft({label:Ve(),multiple:Ve(),name:Ve(),options:uc.array(),params:nt({fieldFile:Ve().optional(),fieldPicture:Ve().optional(),explanation:Ve().optional()}),scoreMap:ot(Ve(),Xe()),type:Ve(),value:Ve()}),pc=Ft({mandatory:Ye(),type:Ve(),widget:hc,description:Ve().optional()}),fc=ko.extend({type:st("support"),supportStatus:rt([qe(),Ve()]).nullable(),supportType:rt([qe(),Ve()]).nullable(),supportOwner:tt(yn)}),mc=$t(fc),gc=Eo.extend(mc.shape),vc=$t(gc),yc=ko.extend({type:st("surveyDate"),dates:tt(Ve()),dateStart:Ve().nullable(),dateEnd:Ve()}),bc=$t(yc),xc=Eo.extend(bc.shape).extend({surveyObjectLink:tt(So)}),wc=$t(xc),Cc=ot(Ve(),nt({dates:Ve().array(),user:yn})),Sc=rt([st("DYNAMIC"),st("SLIDESHOW")]),Ac=Ft({tvChannelBackgroundColor:Ve().nullable(),tvChannelNumImages:qe(),tvChannelGroupTarget:Sr.optional(),tvChannelConfig:nt({backgroundType:rt([st("color"),st("image")]).optional(),globalShowComment:Ye().optional(),scaleImg:Ye().optional(),key:Ve(),contents:tt(nt({uri:Ve(),dateEnd:Ve().optional(),showComments:Ye().optional(),order:qe().optional()})).optional()})}),kc=Ac.extend({tvChannelType:st("DYNAMIC"),tvChannelNumImages:st(0)}),_c=$t(kc),Ec=Ac.extend({tvChannelType:st("SLIDESHOW")}),Tc=$t(Ec),Dc=So.extend({type:st("tvDisplayChannel")}),jc=$t(Dc),Rc=ko.extend(jc.shape).extend(_c.shape),Mc=$t(Rc),Ic=ko.extend(jc.shape).extend(Tc.shape),Oc=$t(Ic),Lc=rt([Mc,Oc]),Pc=Lo.and(_c.partial().or(Tc.partial())).and(nt({tvChannelType:Sc})).readonly(),Bc=Ft({tvChannelGroupTarget:tt(Ve()).optional(),tvChannelNumImages:Ke().optional()}),Nc=ga.extend({_extend:nt({userImageSecureUrl:Ve(),descriptionSecure:Ve()})}),Fc=$t(Nc),$c=ko.extend({_extend:nt({imageSecureUrl:Ve().optional(),descriptionSecure:Ve(),comments:tt(Fc)}).optional()}),zc=$t($c),Hc=cn.extend({_extend:nt({imageSecureUrl:Ve().optional()})}),Uc=$t(Hc),Wc=Mc.extend({_extend:nt({imageSecureUrl:Ve().optional(),articles:tt(zc).optional()})}),Gc=$t(Wc),Vc=e=>Gc.safeParse(e).success,qc=Oc.extend({_extend:nt({attachments:tt(Uc).optional()})}),Yc=$t(qc),Jc=e=>Yc.safeParse(e).success,Qc=nt({interval:qe(),channel:rt([Gc,Yc])}),Zc=$t(Qc),Xc=Ft({label:Ve(),description:Ve(),name:Fr,img:Ve(),available:Ye(),displayLevel:rt([st(1),st(2),st(3),st(4)]).array().optional(),panel:nt({useWrapper:Ye(),useSelection:Ye(),useEditor:Ye(),useWidgets:Ye()})}),Kc=e=>Xc.safeParse(e).success,ed=e=>void 0!==e&&"type"in e&&"uri"in e,td=So.extend({type:st("articleWidget"),articleWidgets:vo.array(),articleWidgetDisplayMode:Jr.nullable().or(Je())}),nd=$t(td),rd=Ft({uniqid:Ve(),title:Ve(),locked:Ye(),visible:Ye(),widgets:vo.array(),position:Yr.optional()}),id=lt(["edit","view","preview"]),od=Ft({width:qe().or(Je()).optional(),inplace:Ye(),isComponentVisible:Ye().optional(),mode:id,onClick:at().returns(et()).optional(),onChange:at().args(yo,Ye()).returns(et()),onStateChange:at().args(wo).returns(et())}),ad=Ft({text:Ve(),value:Ye().optional(),links:Hn.array().optional(),uri:Ve().optional(),mimetype:Ve().optional(),id:qe().optional(),user:yn.optional()}),sd=Ft({arr:ad.array().optional(),edit:Ye().optional()}),ld=Ft({name:st("widget-check-list"),uniqid:Ve(),content:sd,title:Ve()}),cd=Ft({title:Ve().optional(),view:Ze().optional()}),dd=Ft({uniqid:Ve(),fn:lt(["widget-presence-response","check-list-response","widget-update","widget-quick-survey-response"]),object:Gt}),ud=ot(Ve(),ot(Ve(),Ve().or(qe()))),hd=lt(["comment","article"]),pd=nt({token:Ve().or(Je()).optional(),ids:ot(Ve(),vo),layers:ot(Ve(),rd),states:ot(Ve(),wo),modal:cd.or(Je()),editableMap:ot(Ve(),nt({index:qe(),uniqid:Ve()})),currentEditableIndex:qe(),currentEditableWidgetId:Ve().or(Je()),widgetWrapperStyle:ud,widgetTitleStyle:ud,widgetObject:ot(Ve(),Gt.partial()),widgetObjectRights:ot(Ve(),en),widgetChipCount:ot(Ve(),qe()),widgetAuthor:ot(Ve(),yn.partial()),flushedWidgets:Ve().array(),rtObjectStack:dd.array(),widgetContext:ot(Ve(),hd)}),fd=$t(pd),md=Ft({widgets:fd}),gd=ko.extend(nd.shape).extend({articleWidgetsCover:qe().or(Je())}),vd=$t(gd),yd={article:{"raw-little":{articleWidget:nd,mediaLibraryFile:hl,mediaLibraryFolder:gl,quarantine:Zs,jlandmap:al,businessContactCard:ia,tvDisplayChannel:jc},"raw-list":{animatedMeeting:Cs,bookableAsset:Xo,businessContactCard:aa,contentFactoryTemplate:cs,contentReport:vs,faq:js,internalDraft:Do,meeting:Il,orgCharts:tc,pollSurvey:ts,quarantine:Ks,quizz:sc,reservation:na,socialEvent:kl,support:mc,surveyDate:bc,tvDisplayChannel:Lc,faqItem:Ls,jlandmap:ll,mediaLibraryFile:fl,mediaLibraryFolder:yl},"raw-view":{articleWidget:vd,bookableAsset:ea,contentFactoryTemplate:fs,extraBot:Es,faq:Ms,faqItem:Bs,internalDraft:Ro,meeting:Pl,orgCharts:rc,quizz:cc,socialEvent:Tl,animatedMeeting:As,aseiClearanceTicket:Go,aseiInstitution:qo,jlandmap:dl,pollSurvey:rs,surveyDate:wc,support:vc}},comment:{"raw-little":{},"raw-list":{},"raw-view":{}},messengerDiscussion:{"raw-little":{messengerGroup:ql,messengerUser:Ul},"raw-list":{messengerGroup:Jl,messengerUser:Gl},"raw-view":{}}},bd=(e,t)=>Object.keys(yd.article[t]).includes(e.type),xd=(e,t)=>Object.keys(yd.comment[t]).includes(e.type);function wd(e){return e.startsWith("tag_")||"tags"===e}function Cd(e){return Object.fromEntries(Object.entries(e).filter(([e])=>wd(e)))}function Sd(e){return Object.values(Cd(e)).flat()}function Ad(e,t,n){return Object.fromEntries(Object.entries(e).filter(([e])=>wd(e)).map(([e,r])=>{const i=Array.isArray(r)?r.map(e=>"object"==typeof e&&e&&t in e?e[t]:e):r;return[e,n&&Array.isArray(i)?n(i):i]}))}function kd(e){return Ad(e,"uri")}const _d=e=>{let t={};"_errors"in e&&(t._errors=e._errors),"_options"in e&&(t._options=e._options),"title"in e&&(t.title=e.title),"description"in e&&(t.description=e.description),"activity"in e&&(t.activity=e.activity),"image"in e&&(t.image=e.image),"uri"in e&&(t.uri=e.uri),"type"in e&&(t.type=e.type),"edito"in e&&(t.edito=e.edito),"category"in e&&(t.category=e.category.toString()),"commentLevel"in e&&(t.commentLevel=e.commentLevel),"_options"in e&&e._options?.custom_widgets&&(t.custom_widgets=Array.isArray(e._options.custom_widgets)?{}:e._options.custom_widgets),"displayType"in e&&(t.displayType=e.displayType),"language"in e&&(t.language=e.language),"edit_access"in e&&(t.edit_access=e.edit_access),"lock_mail"in e&&(t.lock_mail=e.lock_mail),"fileSyncEnabled"in e&&(t.fileSyncEnabled=e.fileSyncEnabled),"fileSyncVersioningType"in e&&(t.fileSyncVersioningType=e.fileSyncVersioningType),"fileBankQuota"in e&&(t.fileBankQuota=e.fileBankQuota),"idCommunity"in e&&(t.idCommunity=e.idCommunity),"lastRssExecution"in e&&(t.lastRssExecution=e.lastRssExecution),"mail_comment"in e&&(t.mail_comment=e.mail_comment),"mail_frequency"in e&&(t.mail_frequency=e.mail_frequency),"mail_spotit"in e&&(t.mail_spotit=e.mail_spotit),"mail_subscriber"in e&&(t.mail_subscriber=e.mail_subscriber),"notifyFolder"in e&&(t.notifyFolder=e.notifyFolder),"nounsubscribe"in e&&(t.nounsubscribe=e.nounsubscribe),"privacy"in e&&(t.privacy=e.privacy),"publishFolder"in e&&(t.publishFolder=e.publishFolder),"rss_access"in e&&(t.rss_access=e.rss_access),"rss_feed"in e&&(t.rss_feed=e.rss_feed&&Array.isArray(e.rss_feed)?JSON.stringify(e.rss_feed.map(({_user:e,...t})=>({...t,idUser:e?.id}))):"[]"),"rss_key"in e&&(t.rss_key=e.rss_key),"spot_right_user"in e&&(t.spot_right_user=e.spot_right_user),"spotBanner"in e&&(t.spotBanner=e.spotBanner),"spotDefaultPublishType"in e&&(t.spotDefaultPublishType=e.spotDefaultPublishType),"user_level_signup"in e&&(t.user_level_signup=e.user_level_signup),"useTeaser"in e&&(t.useTeaser=e.useTeaser),"widgets"in e&&(t.widgets=e.widgets);const n=Cd(e);if(t={...t,...n},Ed(e,t))return t;throw new Error},Ed=(e,t)=>{const n=["id","mainType","dateCreation","dateModified","_url","o2apLinksSources"],r=["custom_widgets"],i=Object.keys(e),o=Object.keys(t),a=i.filter(e=>!o.includes(e)&&!n.includes(e)),s=o.filter(e=>!i.includes(e)&&!r.includes(e)),l=[...a.map(e=>"- "+e),...s.map(e=>"+ "+e)];if(a.length>0||s.length>0)throw new Error(`prepareGroupForUpdate :: Wrong group mapping | Diff : ${JSON.stringify(l)}`);return!0};class Td{action;window;constructor(e,t="api-front"){this.window=e,this.action=t}static _formatPostOptions(e){const t=e?{body:JSON.stringify(e)}:void 0;return Object.assign({method:"POST",credentials:"same-origin"},t)}async getUrl(e,t,n){const r=await this.window.getBackendUrl();let i;try{const o=new URL(`/${this.action}/${e}/${t}`,r);n&&Object.entries(n).forEach(([e,t])=>{o.searchParams.set(e,t)}),i=o.href}catch(n){i=`${r}/${this.action}/${e}/${t}`}return i}async getHostname(){const e=(await this.window.getBackendUrl()).split("//");return e.length>1?e[1]:e[0]}async fetch({o:e,f:t,...n},r){void 0===r&&(r=null);const i=await this.getUrl(e,t);return this.window.fetch(i,{...Td._formatPostOptions(n),signal:r})}async get(e,t,n,r){void 0===r&&(r=null);const i=await this.getUrl(e,t,n);return this.window.fetch(i,{method:"GET",credentials:"same-origin",signal:r}).then(e=>e.json()).then(e=>{if(0===e.error)return e;throw{error:e.error,errorMsg:e.errorMsg,messages:e.messages}}).catch(e=>{if(r&&r.aborted)throw{error:-1,aborted:!0};throw e})}post(e,t){return this.fetch(e,t).then(e=>e.json()).then(e=>{if(0===e.error)return e;throw{error:e.error,errorMsg:e.errorMsg,messages:e.messages}}).catch(e=>{if(t&&t.aborted)throw{error:-1,aborted:!0};throw e})}async postFile(e){const t=await this.getUrl("file","create");if(e.append("format","raw-little"),!e.has("token")){const{result:t}=await this.token();e.append("token",t)}const n=e.get("token");return n&&"string"==typeof n?this.window.fetch(t,{method:"POST",credentials:"same-origin",body:e}).then(e=>e.json()).then(e=>({response:e,token:n})):Promise.reject("Missing token")}postCSRF(e,t){return this.tokenCSRF().then(n=>this.post(Object.assign(e,{tokenCSRF:n.result}),t))}postToken(e){return this.token().then(t=>this.post(Object.assign(e,{token:t.result})))}maybePostToken(e){return"token"in e&&e.token?this.post(e):this.postToken(e)}token(e){return this.post({o:"misc",f:"token"},e)}tokenCSRF(){return this.post({o:"misc",f:"tokenCSRF"})}}const Dd=Array.isArray,jd=Object.keys,Rd=Object.prototype.hasOwnProperty;function Md(e,t,n){const r=n?.map(e=>e.split("."));if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){const i=Dd(e),o=Dd(t);let a,s,l;if(i&&o){if(s=e.length,s!==t.length)return!1;for(a=s;0!==a--;)if(!Md(e[a],t[a],n))return!1;return!0}if(i!==o)return!1;const c=e instanceof Date,d=t instanceof Date;if(c!==d)return!1;if(c&&d)return e.getTime()===t.getTime();const u=e instanceof RegExp,h=t instanceof RegExp;if(u!==h)return!1;if(u&&h)return e.toString()===t.toString();const p=jd(e).filter(e=>!r?.some(t=>1===t.length&&t[0]===e));if(s=p.length,s!==jd(t).filter(e=>!r?.some(t=>1===t.length&&t[0]===e)).length)return!1;for(a=s;0!==a--;)if(!Rd.call(t,p[a]))return!1;for(a=s;0!==a--;)if(l=p[a],!("_owner"===l&&e.$$typeof||Md(e[l],t[l],r?.filter(e=>e.length>1&&e[0]===l).map(e=>e.splice(1).join(".")))))return!1;return!0}return e!=e&&t!=t}function Id(e,t){if(Array.isArray(e))return e.map(e=>Id(e,t));if("object"==typeof e&&null!==e){let n={};return Object.keys(e).forEach(r=>{n={...n,[r]:r&&t.includes(r)?typeof e[r]:Id(e[r],t)}}),n}return e}const Od=(e,t)=>Array.isArray(t)&&t.length?[e,...t].join(","):e,Ld=e=>Tl.safeParse(e).success,Pd=e=>vo.safeParse(e).success,Bd=e=>Qr(e,Kr),Nd=e=>Qr(e,oi),Fd=e=>Qr(e,Gi),$d=e=>Qr(e,si),zd=e=>Qr(e,ci),Hd=e=>Qr(e,hi),Ud=e=>Qr(e,fi),Wd=e=>Qr(e,gi),Gd=(e,t)=>Qr(e,wi,t),Vd=e=>Qr(e,Ni),qd=e=>Qr(e,Hi),Yd=e=>Qr(e,io),Jd=e=>Qr(e,yi),Qd=e=>Qr(e,Si),Zd=e=>Qr(e,$i),Xd=(e,t)=>Qr(e,co,t);class Kd extends r{getLicenseUserStatistics(e){return this.network.post({o:"licenseManager",f:"userStatistics"},e)}getLicenseStatistics(e,t,n){return this.network.post({o:"licenseManager",f:"statistics",kind:e,type:t},n)}assignLicense(e){return this.network.postCSRF({o:"licenseManager",f:"assignLicense",uri:e})}assignKindLicense(e,t){return this.network.postCSRF({o:"licenseManager",f:"assignLicenseKind",uri:e,kind:t})}unAssignLicense(e){return this.network.postCSRF({o:"licenseManager",f:"unassignLicense",uri:e})}unAssignKindLicense(e,t){return this.network.postCSRF({o:"licenseManager",f:"unassignLicenseKind",uri:e,kind:t})}getAssignmentMode(e,t){return this.network.post({o:"licenseManager",f:"getAssignmentMode",type:e},t)}setAssignmentMode(e,t){return this.network.postCSRF({o:"licenseManager",f:"setAssignmentMode",value:t,type:e})}assignPossiblesLicenses(e,t){return this.network.postCSRF({o:"licenseManager",f:"assignPossiblesLicenses",type:e,kind:t})}unAssignUnusedLicenses(e,t){return this.network.postCSRF({o:"licenseManager",f:"unassignUnusedLicenses",type:e,kind:t})}optimizeLicenses(e,t){return this.network.postCSRF({o:"licenseManager",f:"optimizeLicenses",type:e,kind:t})}getObjectsWithoutLicense(e,t){return this.network.post({o:"licenseManager",f:"countObjectsWithoutLicense",type:e,filter:t})}getLicensesNotAssigned(e){return this.network.post({o:"licenseManager",f:"countLicensesNotAssigned",type:e})}getLicensesAssigned(e){return this.network.post({o:"licenseManager",f:"getLicensesAssigned",type:e})}getLicenseUsersByKind({...e},t,n){return this.network.post({o:"licenseManager",f:"getUsers",...e,format:t},n)}getLicenseArticles(e,t){return this.network.post({o:"licenseManager",f:"getArticles",...e,format:Od(t.format,t.formatExtension)},t.signal)}}class eu extends r{getLogsNavigation(e,t){return this.network.post({o:"objectList",f:"adminAdvancedLogsNavigation",...e},t)}getLogsObjects(e,t){return this.network.post({o:"objectList",f:"adminAdvancedLogsObjects",...e},t)}getLogsSearch(e,t){return this.network.post({o:"objectList",f:"adminAdvancedLogsSearch",...e},t)}}class tu extends r{getItem(e){return this.network.post({o:"adminStore",f:"getItem",uri:e})}checkoutBilling(e){return this.network.postCSRF({o:"adminStore",f:"checkoutBilling",uri:e})}checkoutFinalize(e){return this.network.postCSRF({o:"adminStore",f:"checkoutFinalize",uri:e})}}class nu extends r{getApps(e){return this.network.post({o:"admin",f:"apps"},e)}}const ru=Ft({action:Ve(),route:Ve().optional(),nameApp:Ve().optional()}),iu=Ft({name:Ve(),label:Ve(),icon:Ve(),img:Ve(),url:Ve(),description:Ve(),color:Ve(),action:ru}),ou=Ft({hasLicense:Ye().optional(),sref:Ve().optional(),type:Ve().optional(),order:qe().optional(),checkAccess:Ye().optional(),admin:Ye().optional(),showTab:Ye().optional(),types:Ve().array().optional(),noNotificationMenu:Ye().optional(),attrExposed:Ve().array().optional(),serviceUrl:Ve().optional(),view:Ve().optional(),fieldAddress:Ve().optional(),_extend:ot(Ve(),Ze()).optional()}),au=Ft({...iu.shape,...ou.shape}),su=Ft({...iu.shape,urlTarget:st("_blank"),urlNoReferrer:Ye()}),lu=Ft({...iu.shape,iframeUrl:Ve()}),cu=Ft({tab:Ve(),name:Ve(),url:Ve()}),du=tt(cu),uu=e=>du.safeParse(e).success,hu=Ft({...iu.shape,tabs:du.optional()}),pu=Ft({...iu.omit({name:!0}).shape,name:st("IntranetPageHook"),tabs:Ve().array(),releaseName:Ve()}),fu=Ft({...iu.omit({name:!0}).shape,name:st("OAuth2ServerHook"),tabs:ot(Ve(),nt({tab:Ve(),name:Ve().optional(),url:Ve().optional()})),releaseName:Ve()}),mu=rt([au,su,lu,hu,pu,fu]),gu=e=>mu.safeParse(e).success;var vu;!function(e){e.local="local",e.installed="installed",e.autosaved="autosaved",e.saved="saved"}(vu||(vu={}));class yu extends r{list(){return this.network.post({o:"applications",f:"list"})}studioList(){return this.network.post({o:"studio",f:"list"})}studioGet(e,t){return this.network.post({o:"studio",f:"get",idApp:e,status:t})}studioInstall(e){return this.network.postCSRF({o:"studio",f:"install",value:e})}studioSuspend(e){return this.network.postCSRF({o:"studio",f:"suspend",idApp:e})}studioRestart(e){return this.network.postCSRF({o:"studio",f:"restart",idApp:e})}studioSave(e,t,n){return this.network.postCSRF({o:"studio",f:"save",idApp:e,value:t,status:n})}async studioDelete(e,t){return this.network.postCSRF({o:"studio",f:"delete",idApp:e,status:t}).then(e=>e.messages)}studioCssClassList(){return this.network.post({o:"studio",f:"icons"})}}class bu extends r{list(e,t){return this.network.post({o:"objectList",f:"jamespotArticleQueryList",...e,format:Od(t?.format??Zn.LITTLE,t?.formatExtension)},t?.signal)}search(e,t){return this.network.post({o:"objectList",f:"jamespotArticleList",...e,format:Od(t?.format??Zn.LITTLE,t?.formatExtension)},t?.signal)}get(e,t){return this.network.post({o:"article",f:"get",...e,format:Od(t?.format??Zn.VIEW,t?.formatExtension)},t?.signal)}create(e,t){return this.network.maybePostToken({o:"article",f:"create",...e,format:Od(t?.format??"raw-view",t?.formatExtension)})}update(e,t){return this.network.post({o:"article",f:"update",...e,format:Od(t?.format??Zn.LIST,t?.formatExtension)},t?.signal)}delete(e){return this.network.postCSRF({o:"article",f:"delete",idArticle:e})}count(e){return this.network.post({o:"article",f:"count",type:e})}getAttachments(e,t,n){return this.network.post({o:"article",f:"getAttachment",idArticle:e,type:t,format:n?.format??"raw-little"},n?.signal)}permalink(e,t){return this.network.post({o:"article",f:"permalink",permalinkId:e},t?.signal)}saveAsDraft(e,t){return this.network.post({o:"article",f:"saveAsDraft",...e.form&&e.idDraft?{...e,form:{...e.form,idDraft:e.idDraft}}:e},t?.signal)}getComments(e,t){return this.network.post({o:"article",f:"getComments",...e,attachments:e.attachment??!1,limits:e.limits??{start:0,max:1e4},format:Od(t?.format??Zn.LITTLE,t?.formatExtension)},t?.signal)}addComment(e,t){return this.network.post({o:"article",f:"addComment",...e,alertAuthor:Number(e.alertAuthor),sendAlert:Number(e.sendAlert),type:e.type??"comment",format:Od(t?.format??"raw-little",t?.formatExtension)})}updateComment(e,t){return this.network.post({o:"article",f:"updateComment",...e,format:Od(t?.format??"raw-little",t?.formatExtension)})}getComment(e,t){return this.network.post({o:"comment",f:"getComment",...e,format:Od(t?.format??"raw-little",t?.formatExtension)})}deleteComment(e){return this.network.postCSRF({o:"comment",f:"delete",idComment:e})}getRead(e){return this.network.post({o:"article",f:"getRead",uri:e})}}class xu extends r{configuration(){return this.network.post({o:"assetReservation",f:"configuration"})}createReservation(e){return this.network.postCSRF({o:"assetReservation",f:"createReservation",format:"raw-list",...e})}getReservations({format:e="raw-list",...t}){return this.network.post({o:"assetReservation",f:"getReservations",format:e,...t})}cancelReservation(e){return this.network.post({o:"assetReservation",f:"cancelReservation",format:"raw-list",idArticle:e})}bookByDate({format:e="raw-list",...t}){return this.network.post({o:"assetReservation",f:"BookByDate",format:e,...t})}getList({format:e="raw-list",...t}){return this.network.post({o:"objectList",f:"assetReservationList",format:e,...t})}}class wu extends r{autocomplete(e){return this.network.post({o:"autocomplete",f:"audience",q:e}).then(e=>{if(Array.isArray(e.result))return e.result;throw"Bad response from backend"})}}class Cu extends r{publicWebinarFullname(e){return this.network.post({o:"bigBlueButton",f:"publicWebinarFullname",...e})}getPublicWebinarData(e){return this.network.post({o:"bigBlueButton",f:"getPublicWebinarData",...e})}recordingDelete(e,t,n){return this.network.post({o:"bigBlueButton",f:"videoRecordingDelete",id:e,filename:t},n?.signal)}resolveUrl(e,t){return this.network.post({o:"bigBlueButton",f:"resolveUrl",...e},t)}}class Su extends r{getFormattedList(e,t){return this.network.post({o:"objectList",f:"bookmarksList",format:t,...e})}addFormattedLink(e,t,n){const r=n??"list";return this.network.post({o:"custom",f:"actionAdd",type:"bookmarkLink",targetId:e,targetType:t,format:r})}addBookmark(e,t){return this.network.postCSRF({o:"bookmarks",f:"add",...e})}delete(e){return this.network.postCSRF({o:"bookmarks",f:"delete",bookmarkID:e})}rename(e,t,n){return this.network.postCSRF({o:"bookmarks",f:"rename",bookmarkID:e,bookmarkLabel:t,bookmarkUrl:n})}move(e,t,n){return this.network.postCSRF({o:"bookmarks",f:"move",bookmarkID:e,bookmarkReference:t,bookmarkPosition:n})}}class Au extends r{getInfos(e,t){return this.network.post({o:"BusinessNetworking",f:"MarkerInfo",id:e,format:t??"raw-little"})}}class ku extends r{getEvents(e){return this.network.post({o:"calendar",f:"getEvents",...e})}listEvents(e,t){return this.network.post({o:"calendar",f:"listEvents",...e,format:Od(t?.format??"raw-list",["socialEventRecord"])},t?.signal)}getLastEvents(e){return this.network.post({o:"calendar",f:"getLastEvents",...e})}reviveSubmit(e){return this.network.postCSRF({o:"calendar",f:"reviveSubmit",...e})}}class _u extends r{get(e,t){return this.network.post({o:"community",f:"getCommunity",idCommunity:e,format:t||"raw-little"})}sendRequest(e,t){return this.network.post({o:"community",f:"sendRequest",message:e,idUserTo:t})}autocomplete(e){return this.network.post({o:"autocomplete",f:"community",q:e}).then(e=>e.result)}}const Eu=Ut.extend({srcId:qe(),srcType:Ve(),targetId:qe(),targetType:Ve().nullable()}),Tu=e=>Eu.extend({value:Ve().nullable(),_src:e.optional(),_target:e.optional().or(Je())}),Du=e=>Tu(e??Gt.or(yn)).extend({bookmarkUrl:Ve().optional().nullable(),bookmarkOrder:qe().optional(),bookmarkLabel:Ve().optional(),bookmarkMeta:Ve().optional().nullable(),url:Ve().optional().nullable(),type:st("bookmarkLink")}),ju=e=>nt({id:qe(),mainType:Ve(),type:Ve(),uri:Ve(),_values:nt({dateCreation:Ve(),dateModified:Ve()}).optional(),srcId:qe(),srcType:Ve(),targetId:qe(),targetType:Ve().nullable(),value:Ve().nullable(),_cssColor:Ve(),_cssClass:Ve(),_src:(e??Gt).optional(),_target:(e??Gt).optional(),bookmarkUrl:Ve().optional().nullable(),bookmarkOrder:Ve().optional(),bookmarkLabel:Ve().optional(),bookmarkMeta:Ve().optional().nullable(),url:Ve().optional().nullable()});var Ru;!function(e){e.RAW_LIST="raw-list",e.LIST="list"}(Ru||(Ru={}));const Mu=nt({targetId:qe(),targetType:Ve(),format:ct(Ru).transform(e=>`${e}`).optional()}),Iu=nt({[Ru.RAW_LIST]:Du(),[Ru.LIST]:ju()}),Ou=nt({bookmarkLabel:Du(Gt).shape.bookmarkLabel,bookmarkMeta:Du(Gt).shape.bookmarkMeta,bookmarkUrl:Du(Gt).shape.bookmarkUrl}),Lu=Ft({type:st("text")}),Pu=Ve(),Bu=Ft({type:st("textarea"),params:nt({class:st("mceEditor"),mention:st("1")}).optional()}),Nu=Ve().nullable(),Fu=Ft({type:st("number")}),$u=qe(),zu=Ft({type:st("color"),options:nt({colors:Ve(),defaultColor:Ve()})}),Hu=Ft({type:st("date"),format:Ve()}),Uu=Ve().nullable(),Wu=Ft({type:st("datetime")}),Gu=Ve().nullable(),Vu=Ft({type:st("datePicker")}),qu=Ve().nullable(),Yu=qe(),Ju=Ft({type:st("audience"),options:nt({disableEveryoneAudience:Ye().optional(),views:lt(["folder","user","group","businessContact"]).array().optional()}).optional()}),Qu=Ft({type:st("link")}),Zu=Ft({type:st("multiattribute")}),Xu=Ft({type:st("file")}),Ku=Ft({type:st("image"),params:dt(nt({avatar:dt(Ye())}))}),eh=Ft({type:st("select"),options:ot(Ve()),params:nt({data:Ve().optional(),defaultValue:Ve().optional(),explain:st(1).optional()}).optional()}),th=Ft({type:st("embed")}),nh=Ft({type:st("email")}),rh=Ve(),ih=Ft({type:st("url"),params:nt({target:st("_blank").optional()})}),oh=Ve(),ah=Ft({type:st("place"),options:ot(Ve())}),sh=Ft({type:st("refUser")}),lh=Ft({type:st("transient")}),ch=Ft({type:st("radio"),options:ot(Ve())}),dh=Ft({type:st("checkbox"),options:ot(Ve())}),uh=Ft({type:st("taxonomy"),params:nt({idTaxonomy:Ve(),type:Ve().optional(),limit:qe().optional()})}),hh=Ft({type:st("tel")}),ph=Ft({type:st("toggle")}),fh=Ft({type:st("orientedlinks"),params:nt({"jcomplete-multiple":rt([st("0"),st("1")]),showAdd:rt([st("0"),st("1")]),supportedTypes:tt(Ve())})}),mh=Ft({type:st("uri"),params:nt({class:Ve(),"jcomplete-url":Ve(),type:Ve()})}),gh=rt([Lu,Bu,Fu,Hu,Wu,Vu,eh,th,nh,ih,sh,ch,dh,fh,uh,mh,lh,Zu,hh,ph,ah,zu,Qu,Xu,Ku,Ju]),vh=rt([Yu,qu,Gu,Uu,rh,$u,Nu,Pu,oh]),yh=0,bh=1,xh=2,wh=3,Ch=Ft({label:Ve(),entries:tt(Ve())}),Sh=Ft({writeRight:rt([st(yh),st(bh),st(xh),st(wh)]),writeRightSelector:tt(Br),useCustom:Ye(),sections:tt(Ch),otherEnabledEntries:tt(Ve()),disabledEntries:tt(Ve())}),Ah=Ft({countActiveUsersWithoutLicense:qe().optional(),countLicensesAssigned:qe(),countLicensesNotAssigned:qe()}),kh=Ft({name:Ve(),operator:Ve(),value:qe()}),_h=ot(qe()),Eh=Ft({id:qe(),kind:Ve(),dateCreation:Ve(),idFeature:qe(),uri:Ve(),contentId:qe(),contentType:Ve(),status:qe()}),Th=Ft({id:qe(),kind:Ve(),dateCreation:Ve(),idFeature:qe(),uri:Ve(),contentId:qe(),contentType:Ve(),status:qe()}),Dh=Ft({dateCreation:Ve(),action:Ve(),idUser:qe(),pseudo:Ve(),level:qe(),ip:Ve(),url:Ve(),extended:Ve().optional()}),jh=Ft({dateCreation:Ve(),action:Ve(),mainType:Ve(),idObject:qe(),typeObject:Ve(),mail:Ve().optional(),url:Ve(),extended:Ve().optional()}),Rh=Ft({dateCreation:Ve(),type:Ve(),msg:Ve()}),Mh=Ft({uri:Ve(),title:Ve(),price:qe(),image:Ve(),license:Ye()}),Ih=Ft({url:Ve()}),Oh=Ft({sref:Ve().optional(),href:Ve().optional(),idDiv:Ve(),label:Ve(),icon:Ve(),licenseMode:rt([st("classic"),st("article")]).optional(),hook:Ve().optional()}),Lh=Ft({name:Ve(),label:Ve(),icon:Ve(),color:it([Ve(),Ve(),Ve()]),state:Ve().optional(),access:Ye(),url:Ve().optional(),tabs:tt(Oh).optional()}),Ph=Lh.array(),Bh=rt([st("Movember"),st("PinkOctober"),st("Autumn"),st("Christmas"),st("Halloween"),st("Celebration"),st("Olympics"),st("Maythefourth"),st("Spring"),st("MusicFestival"),st("EasterEggs"),st("CustomAnimation")]),Nh=Ft({name:Bh,activeClickEffect:qe(),activeDecor:qe(),decorLoader:dt(Ye()),auto:Ye(),audience:tt(Ve())}),Fh=Ft({date:Ve(),number:qe()}),$h=Ut.extend({type:st("animationStat"),mainType:st("animationStat"),animationName:Ve(),dateStart:Ve(),dateEnd:Ve().nullable(),auto:Ye(),stats:tt(Fh),animAudience:tt(Ve())}),zh=$t($h),Hh=Ft({code:nn,label:Ve()}),Uh=Ft({language:nn,title:Ve(),description:Ve(),lastSaveDateTime:qe().nullable(),lastSaveUserId:qe().nullable(),auto:nt({set:Ye(),title:Ve(),description:Ve(),fetched:Ye()}).nullable(),keepAsDraft:Ye(),report:Ye().optional()}),Wh=Ft({languages:Hh.array(),translations:Uh.array()}),Gh=nt({token:Ve(),fullname:Ve()}),Vh=nt({redirectUrl:Ve()}),qh=nt({token:Ve()}),Yh=nt({dateStart:Ve(),title:Ve()}),Jh=nt({idArticle:qe(),title:Ve(),start:Ve(),end:Ve(),url:Ve(),textColor:Ve().optional(),color:Ve().optional(),bgColor:Ve().optional(),backgroundColor:Ve().optional(),subscribe:Ye()}),Qh=e=>Jh.safeParse(e).success,Zh=nt({maxdate:Ve().optional(),subscribers:yn.array(),subscribersTotal:qe()}),Xh=nt({dateStart:Ve().optional(),dateEnd:Ve().optional(),allDay:Ye().optional(),backgroundColor:Ve().nullable().optional(),textColor:Ve().optional(),address:Ve().optional(),place:Ve().optional()}),Kh=So,ep=ko.extend(Xh.shape),tp=Eo.extend(Xh.shape).extend({noGestion:Ye().nullable().optional(),socialEventCeiling:qe().nullable().optional(),socialEventUseCeiling:Ye().optional(),report:Ve().optional(),reportFile:cn.nullable().optional(),agenda:Ve().optional(),webinarUrlForGuests:Ve().optional(),webinarUrl:Ve().optional(),visioConnectUrl:Ve().optional(),urlGestion:Ve().optional(),qrCodeValue:Ve().optional()}),np=lt(["subscribed","unanswered","refused"]),rp=nt({type:Ve(),dialog:Ye(),favorite:Ye(),url:Ve().optional()}),ip=nt({label:Ve(),entries:tt(rp)}),op=tt(ip),ap=rt([st("groups"),st("sites"),st("onedrive"),st("group"),st("documents"),st("me")]),sp=Ft({title:Ve(),id:Ve(),type:Ve()}),lp=sp.omit({id:!0}).extend({name:ap.optional()}),cp=sp,dp=sp.extend({visibility:rt([st("public"),st("private")]).optional()}),up=sp.extend({mimetype:Ve().optional(),webUrl:Ve().optional(),size:qe().optional()}),hp=up,pp=up.extend({_extend:nt({path:Ve()})}),fp=dp.extend(up.shape),mp=nt({id:Ve(),title:Ve(),mail:Ve(),default:Ye().optional()}),gp=nt({title:Ve(),id:Ve(),type:Ve(),mimetype:Ve().optional(),webUrl:Ve().optional()}),vp=nt({msTenant:rt([ap,Je()]),msId:rt([Ve(),Je()]),idFolder:rt([Ve(),Je()]),page:qe(),limit:qe(),query:Ve().optional().nullable()}),yp=nt({path_lower:Ve(),query:Ve().optional().nullable()}),bp=nt({id:qe(),name:Ve(),type:Ve(),token:Ve(),size:qe(),mediaKey:Ve()}),xp=nt({token:Ve().optional(),attrName:Ve(),file:nt({service:Ve(),account:Ve(),title:Ve(),mimetype:Ve().optional(),_document:up})}),wp=nt({id:Ve(),service:Ve()}),Cp=nt({service:Ve(),id:Ve()}),Sp=nt({account:mp}),Ap=nt({service:Ve(),account:Ve()}),kp=nt({allow:rt([st("groups"),st("me")]).array().optional(),id:Ve()}),_p=nt({id:Ve(),documentParams:vp}),Ep=nt({id:Ve(),documentParams:yp}),Tp=nt({query:Ve().optional(),filter:Ve().optional(),id:Ve()}),Dp=rt([st(1),st("onSpot"),st("visio"),st("available"),st("unavailable"),st("unknown"),st(0)]),jp=Ft({userResponseStatus:Dp,subscribersTotal:qe(),subscribeAction:ca,subscribers:yn.array(),isVisio:Ye().optional()}),Rp=Ft({actions:da.array().optional(),comments:ga.extend({_extend:nt({actions:da.array().optional()})}).array().optional(),attachments:cn.array().optional(),licenses:tt(Th),licensesExtrabot:nt({active:Ye(),monthRequestsMax:qe(),monthRequestsHit:qe()}).optional(),socialEventRecord:jp,messenger:ql.nullable().optional(),filebank:Pr.nullable().optional(),quarantine:nt({count:qe()}).optional(),quizFieldDefinitions:ot(Ve(),pc),quizResponseRecord:dc,surveyDateRecord:nt({members:yn.array(),responses:Cc}),search:Ke(),bookmark:Ke(),contact:Ke()}),Mp=Rp.keyof().array(),Ip=nt({uri:Ve(),name:Ve(),size:qe(),isSynchronized:Ye()}),Op=nt({quotaUsed:qe(),quotaTotal:qe(),percentage:qe()}),Lp=nt({name:Ve(),isSynchronized:Ve(),synchronizationsNb:Ve()}),Pp=nt({page:qe(),limit:qe(),orders:Yn.optional()}),Bp=e=>nt({isActive:Ye(),...e}),Np=e=>Bp({...e,hasLicense:Ye()}),Fp=lt(["drive_microsoft_graph","drive_dropbox","drive_google"]),$p=Bp({drives:ot(Fp,Ye())}),zp=Bp({label:Ve(),defaultView:lt(["calendar","list"]),iCalendarUrls:nt({all:Ve(),accepted:Ve()}),externalGestion:Ye()}),Hp=Bp({orderBy:Ve(),order:lt(["ASC","DESC"])}),Up=Bp({}),Wp=Bp({maxParticipants:qe(),minParticipantsForSpotDiscussion:qe()}),Gp=nt({label:Ve(),description:Ve(),extension:Ve(),icon:Ve(),color:Ve()}),Vp=Np({label:Ve(),description:Ve(),color:Ve(),templates:Gp.array(),allowAllDocuments:Ye(),allowPdfEdit:Ye()}),qp=Np({oldViewOptionProperty:Ye()}),Yp=Bp({sendAlert:Ye()}),Jp=Bp({}),Qp=Bp({}),Zp=Bp({}),Xp=Bp({create:Ye(),autorize:tt(lt(["message","comment","board","article"]).optional())}),Kp=Np({label:Ve()}),ef=Np({}),tf=Bp({label:Ve(),create:Ye()}),nf=ot(lt(["loginPassword","saml","oAuth"]),lt(["no","optional","mandatory"])),rf=Np({name:Ve(),providers:nf,banLifespan:qe()}),of=Np({}),af=Np({v2:Ye()}),sf=Np({label:Ve()}),lf=Np({label:Ve()}),cf=Np({label:Ve(),menuItems:tt(nt({type:Ve(),text:Ve(),actions:Ve()})).nullable()}),df=Bp({manage:Ye()}),uf=Bp({canCreateTemplate:Ye(),label:Ve()}),hf=Bp({label:Ve(),create:Ye(),description:Ve(),color:Ve(),icon:Ve()}),pf=Bp({label:Ve(),create:Ye()}),ff=Np({label:Ve()}),mf=Np({label:Ve()}),gf=Np({label:Ve()}),vf=Bp({label:Ve()}),yf=Bp({}),bf=nt({BigBlueButtonHook:ff,ExternalAppHook:of,DigitalWorkplaceHook:af,LuccaAbsenceHook:lf,MagicPadHook:Kp,MagicWandHook:cf,MediaLibraryHook:ef,OfficeHook:sf,SpotHook:gf,StudioHook:qp,TwoFactorAuthenticationHook:rf,VisioConnectHook:mf,WeDocHook:Vp}).partial(),xf=nt({AdminAdvancedHook:Yp,AnimatedMeetingHook:hf,AnimationsHook:yf,BusinessContactHook:vf,calendarHook:zp,ContentFactoryHook:uf,DriveHook:$p,ExtraBotHook:tf,FAQHook:df,FileBankHook:Hp,FileIntegrityHook:Up,JitsiHook:pf,MessengerHook:Wp,SharedContentHook:Zp,spotRssFeed:Jp,SurveyDateHook:Qp,WidgetHook:Xp}).partial().extend(bf.shape),wf=Ft({url:Ve(),aspectRatio:qe()}),Cf=rt([st("summarize"),st("develop"),st("reformulate"),st("tldr"),st("en"),st("es"),st("formal"),st("funny")]),Sf=Ft({text:Ve()}),Af=Ft({kind:Ve(),page:qe(),limit:qe(),filters:qn.array().optional(),orders:Un.array().optional()}),kf=e=>nt({license:rt([st("1"),st("0")]),user:e}),_f=Ft({kind:Ve(),type:Ve(),page:qe(),limit:qe(),filters:qn.array().optional(),orders:Un.array().optional()}),Ef={all:0,admin:1,custom:2},Tf=nt({uri:Ve(),title:Ve(),type:Ve(),mainType:Ve()}),Df=nt({imap_inbox_url:Ve(),dav_calendar_url:Ve(),dav_address_book_url:Ve()}),jf={NONE:"none",SSL:"ssl",STARTTLS:"starttls"},Rf=nt({username:Ve(),hostname:Ve(),imapPort:qe(),imapConnectionSecurity:ct(jf),imapMailbox:Ve(),calDavCalendar:Ve(),cardDavAddressBook:Ve(),provider:Ve().nullable()}),Mf=Ft({...Rf.shape,password:Ve()}),If=nt({date:Ve(),fromName:Ve(),subject:Ve(),body:Ve(),read:Ye(),attachmentsCount:qe(),url:Ve().nullable()}),Of=nt({summary:Ve(),start:Ve(),end:Ve(),status:Ve(),url:Ve().nullable()}),Lf=nt({fullName:Ve(),lastName:Ve(),firstName:Ve(),initial:Ve(),imageColor:Ve(),url:Ve().nullable()}),Pf=nt({id:Ve(),label:Ve()}),Bf=Ft({color:Ve(),description:Ve(),extension:Ve(),icon:Ve(),label:Ve()}),Nf=Ut.extend({title:Ve(),mimetype:Ve(),_extend:nt({generalAccessRule:Ve(),generalAccessHash:rt([Ve(),Je()]),dateModified:Ve(),dateCreation:Ve(),fileInfo:Bf,parentId:qe(),parentType:Ve(),parentFiles:tt(qe()),_url:Ve()}),_right:en,_user:yn,_audience:tt(Gt)}),Ff=nt({idQuestion:qe(),idResponse:qe()}),$f=nt({idQuestion:qe()}),zf=nt({count:qe(),id:Ve()}),Hf=rt([st("AND"),st("OR")]),Uf=nt({facetType:Ve(),facetOptions:rt([ot(rt([nt({}).passthrough(),qe(),Ve()])),tt(Ke())]),facetMode:Hf.optional(),field:Ve(),title:Ve(),description:Ve().optional(),category:Ve().optional()}),Wf=nt({id:Ve(),mainType:Ve(),type:Ve().optional(),title:Ve(),cssclass:Ve().optional(),active:Ye().optional(),count:qe().optional(),typesExcluded:tt(Ve()),facets:Uf.array()}),Gf=nt({count:qe(),value:Ve(),title:Ve()}),Vf=nt({name:Ve(),count:qe(),values:Gf.array(),title:Ve()}),qf=nt({field:Ve(),value:rt([Ve(),tt(Ve())]),exclude:Ye().optional(),or:Ye().optional()}),Yf=nt({field:Ve(),order:rt([st("desc"),st("asc")])}),Jf=nt({facetLimit:qe(),skipEmptyFacets:Ye()}),Qf=nt({home:nt({mode:rt([st("result"),st("category")]),facets:Uf.array()}),categories:Wf.array(),viewcard:ot(tt(nt({name:Ve(),title:Ve()}))),facetMode:Ye()}),Zf=nt({name:Ve(),title:Ve(),img:Ve(),icon:Ve().optional(),color:Ve().optional(),urlTarget:lt(["_blank"]).optional(),urlNoReferrer:Ye().optional(),_url:Ve()}),Xf=nt({id:qe().optional(),title:Ve(),picture:Ve().optional(),uri:Ve(),mainType:Ve(),mimetype:Ve().optional(),parentIdInType:qe().optional(),parentType:Ve().optional(),privacy:Ve().optional(),type:Ve().optional(),icon:Ve().optional(),_cssColor:Ve().optional(),_cssClass:Ve().optional(),_url:Ve().optional(),_article:nt({id:Ve(),mainType:Ve()}).optional(),idArticle:qe().optional(),description:Ve().optional(),_user:nt({title:Ve(),uri:Ve()}).optional(),_values:nt({company:Ve().optional(),function:Ve().optional(),privacy:qe().optional(),category:Ve().optional(),dateCreation:Ve(),dateModified:Ve()}).optional()}),Kf=nt({keywords:Ve().optional(),category:Ve().optional(),facetCategories:Ye().optional(),filters:qf.array().optional(),facets:Uf.array().optional(),page:qe().optional(),limit:qe().optional(),sort:Yf.optional(),options:Jf.optional(),format:Kn.optional()}),em=e=>nt({start:qe(),count:qe(),results:tt(e??Gt),facets:Vf.array(),categories:zf.array()}),tm=nt({keywords:Ve()}),nm=rt([Zf,Xf]),rm=nt({title:Ve(),id:Ve(),showAll:Ye().optional(),results:nm.array()}),im=rt([st("link"),st("invitation")]),om=Ft({id:qe(),title:Ve(),uri:Ve(),idUser:qe(),_right:en}),am=Ft({audience:tt(Br),read:tt(Ve()),write:tt(Ve())}),sm=nt({cache_suffix:Ve(),toolbar:Ve(),language:Ve(),content_css:Ve(),quickbars_selection_toolbar:Ve(),sandbox_iframes:dt(Ye()),sandbox_iframes_exclusions:dt(tt(Ve()))}),lm=sm.extend({plugins:tt(Ve()),text_patterns:tt(nt({start:Ve(),end:Ve().optional(),format:Ve().optional(),cmd:Ve().optional()})),height:qe(),menubar:Ye(),branding:Ye(),skin:Ve(),convert_urls:Ye(),invalid_elements:Ve(),extended_valid_elements:Ve(),custom_elements:Ve(),inline_boundaries_selector:Ve(),toolbar_mode:rt([st("floating"),st("sliding"),st("scrolling"),st("wrap")]),promotion:Ye(),font_size_formats:Ve(),contextmenu:rt([Ve(),st(!1)]),paste_data_images:Ye(),browser_spellcheck:Ye(),quickbars_insert_toolbar:Ye(),license_key:st("gpl")}),cm=nt({commentsToolbar:Ve()}),dm=nt({total:qe(),activated:qe()}),um=nt({qrCode:Ve(),secret:Ve()}),hm=tt(nt({date:Ve(),activated:qe(),unactivated:qe()})),pm=nt({createdAt:Ve(),filename:Ve(),isExpired:Ye(),url:Ve()}),fm=nt({id:qe(),subject:Ve(),createdAt:Ve(),updatedAt:Ve(),idArticle:qe(),idUser:qe(),user:nt({id:qe(),uri:Ve(),title:Ve()}),stats:nt({participantsNumber:qe(),totalDurationSeconds:qe(),visioSessionsNumber:qe()})}),mm=nt({rooms:nt({totalItems:qe(),member:tt(fm)}),platform:nt({sessionsNumber:qe(),durationAverage:qe(),durationMedian:qe(),participantsNumber:qe()})}),gm=nt({id:qe(),room:Ve(),duration:qe(),participantsNb:qe(),startedAt:Ve(),endedAt:Ve()}),vm=nt({totalItems:qe(),member:tt(gm)}),ym="accept",bm="deny",xm=rt([st(ym),st(bm)]),wm=Gt,Cm=nt({color:Ve(),description:Ve(),extension:Ve(),icon:Ve(),label:Ve()}),Sm=nt({page:qe(),cnt:qe(),limit:qe(),data:tt(Nf)}),Am=nt({query:Ve(),filters:Jn,orders:Yn,page:qe(),limit:qe()}),km=nt({});function _m(e,t){const n=nt(t.reduce((e,t)=>(e[t]=Rp.shape[t],e),{}));return e.extend({_extend:n})}class Em extends r{create(e){return this.network.postCSRF({o:"contentFactory",f:"createTemplate",...e})}get(e){return this.network.post({o:"article",f:"get",...e,format:Zn.VIEW})}}const Tm=e=>as.safeParse(e).success,Dm=(e,t)=>"pollSurvey"===t&&Tm(e);class jm extends r{getReports(e={},t){return this.network.post({o:"contentReport",f:"list",...e,signal:t?.signal})}createReport(e,t){return this.network.postCSRF({o:"contentReport",f:"createReport",...e,signal:t?.signal})}updateStatus(e,t){return this.network.postCSRF({o:"contentReport",f:"changeStatus",...e,signal:t?.signal})}}class Rm extends r{get(e,t){return this.network.post({o:"widget",f:"datasourceGet",uri:e,format:t})}getModel(e){return this.network.post({o:"widget",f:"datasourceGetModel",uri:e})}cancel(e){return this.network.post({o:"widget",f:"datasourceCancel",uri:e})}getObject(e){return this.network.post({o:"widget",f:"datasourceGetObject",uri:e})}updateModel(e,t){return this.network.post({o:"widget",f:"datasourceUpdateModel",uri:e,model:t})}getExcelDatasource(e){return this.network.post({o:"widget",f:"datasourceGetExcelDatasource",uri:e})}getExcelDatasourceHeaders(e,t){return this.network.post({o:"widget",f:"datasourceGetExcelDatasourceHeaders",uri:e,spreadsheet:t})}setExcelDatasource(e,t){return this.network.post({o:"widget",f:"datasourceSetExcelDatasource",uri:e,spreadsheet:t})}create({title:e,datasourceType:t,datasourceIdentifier:n,token:r}){return this.network.postCSRF({o:"widget",f:"datasourceCreate",title:e,datasourceType:t,datasourceIdentifier:n,token:r})}}class Mm extends r{create(e,t,n,r,i){return this.network.post({o:"article",f:"create",type:e,token:t,title:n,dateStart:r,publishTo:i,format:"raw-list"})}getList(e="",t=[],n=[],r=1){return this.network.post({o:"objectList",f:"diapazoneQueryList",query:e,filters:t,orders:n,page:r,format:"raw-list"})}}class Im extends r{tenants(e,t){return this.network.post({o:"drive",f:"getTenants",...e??{}},t?.signal)}groups(e,t){return this.network.post({o:"drive",f:"getGroups",...e},t?.signal)}sites(e){return this.network.post({o:"drive",f:"getSites"},e?.signal)}listAccount(e,t){return this.network.post({o:"drive",f:"listAccount",service:e},t?.signal)}isAccountLogged(e,t,n){return this.network.post({o:"drive",f:"isAccountLogged",service:e,id:t},n?.signal)}checkAccountToken(e,t){return this.network.post({o:"drive",f:"checkAccountToken",service:e},t?.signal)}msDocuments(e,t){return this.network.post({o:"drive",f:"getDocuments",service:"onedrive",...e},t?.signal)}dropboxDocuments(e,t){return this.network.post({o:"drive",f:"getDocuments",service:"dropbox",...e},t?.signal)}getDocument(e,t){return this.network.post({o:"drive",f:"getDocument",...e,format:t?.format??"raw-little"},t?.signal)}logout(e,t){return this.network.post({o:"drive",f:"logout",...e},t?.signal)}getAccount(e,t){return this.network.post({o:"drive",f:"get-user-data",...e},t?.signal)}setDefaultAccount(e,t){return this.network.post({o:"drive",f:"set-has-default",...e},t?.signal)}}class Om extends r{save(e,t){return this.network.postCSRF({o:"externalApp",f:"save",...e},t?.signal)}list(e){return this.network.post({o:"externalApp",f:"list"},e?.signal)}delete(e,t){return this.network.postCSRF({o:"externalApp",f:"delete",...e},t?.signal)}}class Lm extends r{createBot(e,t){return this.network.postCSRF({o:"extraBot",f:"create",uri:e},t)}updateBot(e,t){return this.network.postCSRF({o:"extraBot",f:"update",uriConfiguration:e},t)}generatePrompt(e){return this.network.post({o:"extraBot",f:"generatePrompt"},e)}list(e,t,n){const r="all"===e?"extraBotAll":"extraBotMines";return this.network.post({o:"objectList",f:r,...t},n?.signal)}}class Pm extends r{getCategoriesList(e,t){return this.network.post({o:"objectList",f:"faqQueryList",format:e??"raw-list",orders:t??[{name:"dateCreation",sort:"ASC"}]})}createCategory(e,t){const n={...e,type:"faq"};return this.jApi.article.create(n,t)}updateCategory(e,t){const n={...e,type:"faq"};return this.jApi.article.update(n,t)}deleteCategory(e){return this.jApi.article.delete(e)}checkItem(e,t,n){return this.network.post({o:"faq",f:"checkItem",query:e,page:t??1,format:n??"raw-list"})}getTaxonomy(){return this.network.post({o:"faq",f:"getFaqTaxonomy"})}getHookProperties(e){return this.network.post({o:"faq",f:"getHookProperties",properties:e??["_web"]})}getAccess(){return this.network.post({o:"faq",f:"access"})}createTheme(e,t){return this.network.postCSRF({o:"faq",f:"add-theme",...e,format:t??"raw-view"})}deleteTheme(e,t){return this.network.postCSRF({o:"faq",f:"delete-theme",...e,format:t??"raw-view"})}updateTheme(e,t){return this.network.postCSRF({o:"faq",f:"set-theme",...e,format:t??"raw-view"})}getEntry(e,t){return this.network.post({o:"faq",f:"get-entry",uri:e,format:t??"raw-view"})}deleteEntry(e){return this.jApi.article.delete(e)}createEntry(e,t){const n={...e,idSpot:["content"],type:"faqItem"};return this.jApi.article.create(n,t)}addEntry(e,t){return this.network.postCSRF({o:"faq",f:"add-entry",...e,format:t??"raw-view"})}updateEntry(e,t){const n={...e,type:"faqItem"};return this.jApi.article.update(n,t)}moveEntry(e,t){return this.network.postCSRF({o:"faq",f:"move-entry",...e,format:t??"raw-view"})}moveTheme(e,t){return this.network.postCSRF({o:"faq",f:"move-theme",...e,format:t??"raw-view"})}}class Bm extends r{upload(e){const t=new FormData;return t.append("attrName",e.attrName),e.file?t.append(e.attrName,e.file):e.url&&t.append("url",e.url),t.append("token",e.token),this.network.postFile(t)}async uploadMany(e){return Promise.all(e.map(e=>this.upload(e)))}async get(e,t,n){return this.network.post({o:"file",f:"get",idFile:e,format:t},n?.signal)}async getParent(e,t,n,r){return this.network.post({o:"file",f:"getParent",idFile:e,format:t,hash:n},r?.signal)}async getWithHash(e,t,n,r){return this.network.post({o:"file",f:"getWithHash",idFile:e,hash:t,format:n},r?.signal)}async duplicate(e,t,n){return this.network.postCSRF({o:"file",f:"duplicateFile",idFile:e,title:t,publishTo:n})}async updateFile(e,t){return this.network.postCSRF({o:"file",f:"updateFile",idFile:e,title:t})}async update(e,t,n,r){return this.network.post({o:"file",f:"update",idFile:e,type:t,cropDatas:{...n,rotateBeforeCrop:!0},killSize:n.killSize,format:"raw-little"},r?.signal)}async deleteFile(e,t,n,r){return this.network.post({o:"file",f:"delete",idFile:e,attrName:t,token:n},r)}async deleteImage(e,t,n){return this.network.post({o:"file",f:"deleteImage",id:e,type:t},n?.signal)}getDownload(e,t){return this.network.post({o:"file",f:"getDownload",id:e},t?.signal)}generatePreview(e,t){return this.network.post({o:"file",f:"generatePreview",id:e},t?.signal)}copy(e,t){return this.network.post({o:"file",f:"copy",...e,format:t?.format??"raw-little"},t?.signal)}}class Nm extends r{getBanks(e){return this.network.post({o:"fileBank",f:"getBanks",format:e?.format??"raw-list"},e?.signal).then(e=>e.result)}getFolders(e,t){return this.network.post({o:"fileBank",f:"getFolders",parentURI:e,format:t?.format??"raw-list"},t?.signal)}getDocuments(e,t){return this.network.post({o:"fileBank",f:"getDocuments",parentURI:e,format:t?.format??"raw-view"},t?.signal)}getPath(e,t){return this.network.post({o:"fileBank",f:"getPath",uri:e.uri,mode:e.mode??"browse",format:t?.format??"raw-little"},t?.signal)}searchContent(e,t){return this.network.post({o:"fileBank",f:"searchContent",...e,format:t?.format??"raw-little"},t?.signal)}getParents(e,t){return this.network.post({o:"fileBank",f:"getParents",id:e.id,format:t?.format??"raw-little"},t?.signal)}getRootFolders(e,t){return this.network.post({o:"objectList",f:"fileBankRootFolders",query:e.query,format:t?.format??"raw-little"},t?.signal)}}class Fm extends r{list(e,t){return this.network.post({o:"objectList",f:"fileIntegrityQuarantineList",...e},t)}delete(e,t){return this.network.postCSRF({o:"fileIntegrity",f:"delete",id:e},t?.signal)}release(e,t){return this.network.postCSRF({o:"fileIntegrity",f:"release",id:e},t?.signal)}getCommentQuarantines(e,t){return this.network.post({o:"fileIntegrity",f:"commentQuarantinesGet",id:e},t?.signal)}}class $m extends r{countAction(e,t){return this.network.post({o:"activityLog",f:"log",count:!0,verb:e,uri:t})}addAction(e,t){return this.network.post({o:"customAction",f:"add",...e,format:t??"raw-little"})}updateAction(e,t){return this.network.post({o:"customAction",f:"update",...e,format:"raw-little"},t?.signal)}removeAction(e,t){return this.network.post({o:"customAction",f:"remove",...e,format:"raw-little"},t?.signal)}useWebVersion(){return this.network.post({o:"global",f:"useWebVersion"})}getUsers(e,t){return this.network.post({o:"customAction",f:"getUsers",...e,format:t??"raw-list"})}}class zm extends r{autocomplete(e){return this.network.post({o:"autocomplete",f:"spot",q:e,idToUri:!1}).then(e=>e.result)}create(e,t){return this.network.post({o:"spot",f:"create",...e,format:t})}update(e,t){const{spotBanner:n,...r}=e;return this.network.postCSRF({o:"spot",f:"update",...r,format:t})}getSpot(e,t){return this.network.post({o:"spot",f:"getSpot",idSpot:e,format:t})}getProperties(e){return this.network.post({o:"spot",f:"getProperties",idSpot:e})}getWidgets(e){return this.network.post({o:"spot",f:"getWidgets",idSpot:e})}getApplications(){return this.network.post({o:"spot",f:"get-available-widget"})}getCategories(){return this.network.post({o:"spot",f:"get-categories"})}getCategoriesConfiguration({signal:e}={}){return this.network.post({o:"spot",f:"getCategoriesConfiguration"},e)}getObjectListJamespotSpotMembers(e,t,n,r=1){return this.network.post({o:"objectListJamespot",f:"SpotMembers",idSpot:e,limit:n,page:r,format:"raw-little",query:t})}list(e,t){return this.network.post({o:"objectList",f:"jamespotSpotQueryList",...e,filters:e.filters?.map(e=>({...e,operator:e.operator?.replace("<","&lt;")??void 0}))??void 0,format:Od(e.format??"raw-little",t?.formatExtension)},t?.signal)}resetNotifications(e){return this.network.post({o:"spot",f:"resetNotifications",...e})}getUserLevelAndRight(e){return this.network.post({o:"spot",f:"getUserLevelAndRight",idSpot:e})}groupRequest(e){return this.network.postCSRF({o:"spot",f:"request",idSpot:e})}groupAddToFavorite(e){return this.network.postCSRF({o:"spot",f:"addToFavorite",idSpot:e})}objectListSpotArticles(e,t){return this.network.post({o:"objectList",f:"spotArticles",...e,format:Od(t?.format??"raw-little",t?.formatExtension)},t?.signal)}changeMemberRole(e){return this.network.post({o:"spot",f:"changeRole",...e})}countMembers(e,t){return this.network.postCSRF({o:"spot",f:"countMembers",...e},t)}}class Hm extends r{async getGifs(e,t){return this.network.post({o:"jamespot",f:"giphy",...e,format:"raw"},t?.signal)}}class Um extends r{async SaveAnimationConfiguration(e){return this.network.post({o:"animations",f:"saveConfiguration",animation:e})}async DeleteAnimation(){return this.network.post({o:"animations",f:"deleteAnimation"})}async GetCurrentAnimation(e){return this.network.post({o:"animations",f:"getConfiguration"},e?.signal)}async GetCurrentAnimationApp(){return this.network.post({o:"animations",f:"getConfigurationApp"})}async ToggleAnimationActive(){return this.network.post({o:"animations",f:"toggleAnimationActive"})}async GetAnimationActive(e){return this.network.post({o:"animations",f:"getAnimationActive"},e?.signal)}async GetAnimationStats(e){return this.network.post({o:"objectList",f:"animationsStats",name:e})}async GetAnimationStatsCurrent(e){return this.network.post({o:"objectList",f:"animationsStatsCurrent",uri:e})}}class Wm extends r{get(e,t){return this.network.get("articleTranslation","automaticGet",{idArticle:e.idArticle.toString()},t?.signal)}set({idArticle:e,language:t,title:n,description:r},i){return this.network.postCSRF({o:"articleTranslation",f:"automaticSet",idArticle:e,language:t,title:n,description:r},i?.signal)}delete({idArticle:e,language:t},n){return this.network.postCSRF({o:"articleTranslation",f:"automaticDelete",idArticle:e,language:t},n?.signal)}}class Gm extends r{list(e,t,n,r=[{name:"dateCreation",sort:"DESC"}]){return this.jApi.article.list({type:"aseiClearanceTicket",limit:t,page:e,orders:r,filters:n},{format:"raw-view"})}requestStatus(e,t,n){return this.network.post({o:"asei",f:"setStatus",uri:e,requestedStatus:t,audience:n})}getDedicatedGroups(){return this.network.post({o:"asei",f:"getDedicatedGroups"})}getConfiguration(){return this.network.post({o:"asei",f:"configuration"})}}class Vm extends r{statistics(e){return this.network.post({o:"digitalDesk",f:"getStatistics"},e?.signal)}}class qm extends r{getFileBanks(e){return this.network.post({o:"file-sync",f:"getFileBanks"},e)}saveFileBanks(e){return this.network.post({o:"file-sync",f:"saveFileBanks",fileBanks:e})}getUserQuota(e){return this.network.post({o:"file-sync",f:"getUserQuota"},e)}getAdminSpots(e,t){return this.network.post({o:"objectList",f:"fileSyncAdminSpots",...e},t)}}class Ym extends r{textEnhancement({text:e,capacity:t}){return this.network.post({o:"jia",f:"textEnhancement",text:e,capacity:t})}}class Jm extends r{resolveUrl({id:e},t){return this.network.post({o:"jitsi",f:"resolveUrl",id:e},t)}}class Qm extends r{getLogs({dateEnd:e,idLogMax:t}){return this.network.post({o:"jLand",f:"adminLogs",dateEnd:e,idLogMax:t})}getStats({map:e,dateStart:t,dateEnd:n}){return this.network.post({o:"jLand",f:"adminStats",map:e,dateStart:t,dateEnd:n})}getAllMapsAsAdmin(e="raw-list,licenses"){return this.network.post({o:"objectListJLand",f:"jLandList",format:e})}createMap(e,t="raw-list"){return this.network.maybePostToken({...e,o:"article",f:"create",format:t,type:"jlandmap"})}}class Zm extends r{async getAbsence(e,t){return this.network.post({o:"lucca",f:"getAbsence",...e},t?.signal)}}class Xm extends r{getThumbnailUrl(e){return this.network.post({o:"magicPad",f:"getThumbnailUrl",uri:e})}}class Km extends r{GetUnclassifiedFiles(e){return this.network.post({o:"objectListMediaLibrary",f:"GetUnclassifiedFiles",format:e.format,page:e.page??1,limit:e.limit,nolimit:e.nolimit})}getAccess(){return this.network.post({o:"mediaLibrary",f:"access"})}getFoldersStatsList(e=[],t=[],n=1){return this.network.post({o:"objectListMediaLibrary",f:"FoldersStatsList",filters:e,orders:t,page:n})}getFilesStatsList(e=[],t=[],n=1){return this.network.post({o:"objectListMediaLibrary",f:"FilesStatsList",filters:e,orders:t,page:n})}getStats(){return this.network.post({o:"mediaLibrary",f:"moderatorStats"})}readFolder(e){return this.network.post({o:"mediaLibrary",f:"readFolder",uri:e})}readFile(e){return this.network.post({o:"mediaLibrary",f:"readFile",uri:e})}moveFile(e){return this.network.post({format:"raw-list",uri:e.uriFile,mediaLibraryFolderOrientedLinks:e.uriFolder,publishTo:e.publishTo,o:"article",f:"update"})}}class eg extends r{create(e,t){const n={...e,type:"meeting"};return this.jApi.article.create(n,t)}update(e,t){return this.jApi.article.update(e,t)}}class tg extends r{settingsSave(e,{signal:t}={}){return this.network.post({o:"menu",f:"settingsSave",...e},t)}}class ng extends r{sendMessage(e,t){return this.network.post({o:"messenger",f:"newMessage",idDiscussion:t,msg:{description:e}})}getOrCreateDiscussion(e,t){const n=e<t?`${e}.${t}`:`${t}.${e}`;return this.network.post({o:"messenger",f:"getDiscussion",idDiscussion:n,type:"messengerUser",idUserTo:t})}enableDiscussion(e,t){return this.network.postCSRF({o:"messenger",f:"discussionEnable",...e},t?.signal)}disableDiscussion(e,t){return this.network.postCSRF({o:"messenger",f:"discussionDisable",...e},t?.signal)}getSpotDiscussion(e,t){return this.network.post({o:"messenger",f:"getSpotDiscussion",...e},t?.signal)}createSpotDiscussion(e,t){return this.network.postCSRF({o:"messenger",f:"createSpotDiscussion",...e},t?.signal)}getMessageReads(e,t){return this.network.post({o:"messenger",f:"getMessageReads",...e,format:t?.format??Zn.LITTLE},t?.signal)}listRecentDiscussions(e,t){return this.network.postCSRF({o:"messenger",f:"listRecentDiscussions",...e,format:t?.format??Zn.LIST},t?.signal)}}class rg extends r{async getConfiguration(e,t){return this.network.post({o:"module",f:"getConfiguration",...e},t?.signal)}async setConfiguration(e,t){return this.network.postCSRF({o:"module",f:"setConfiguration",...e},t?.signal)}}class ig extends r{getObject(e){return this.network.post({o:"object",f:"getObject",uri:e})}setAccess(e,t,n,r){return this.network.post({o:"object",f:"setAccess",uri:e,access:t,message:n,generalAccessRule:r})}getAccess(e){return this.network.post({o:"object",f:"getAccess",uri:e})}getAccessHash(e){return this.network.post({o:"object",f:"getAccessHash",uri:e})}askAccess(e,t,n){return this.network.postCSRF({o:"object",f:"askAccess",uri:e,askAccess:t,askMessage:n})}getAccessRequest(e,t){return this.network.post({o:"object",f:"getAccessRequest",format:"raw-little",uri:e,idUser:t})}setAccessRequest(e,t,n,r){return this.network.postCSRF({o:"object",f:"setAccessRequest",uri:e,idUser:t,requestAccessValue:n,requestResponseMessage:r})}}class og extends r{async isConfigurationValid(e){return this.network.post({o:"office",f:"isConfigurationValid"},e?.signal)}async getConfiguration(e){return this.network.post({o:"office",f:"getConfiguration"},e?.signal)}setConfiguration(e,t){return this.network.postCSRF({o:"office",f:"setConfiguration",userConfiguration:e},t?.signal)}async imapInboxCheckConnection(e,t){return this.network.post({o:"office",f:"imapInboxCheckConnection",...e},t?.signal)}async imapInboxGetEmails(e,t){return this.network.post({o:"office",f:"imapInboxGetEmails",...e},t?.signal)}async imapInboxGetUnreadEmailsCount(e){return this.network.post({o:"office",f:"imapInboxGetUnreadEmailsCount"},e?.signal)}async davCalendarCheckConnection(e,t){return this.network.post({o:"office",f:"davCalendarCheckConnection",...e},t?.signal)}async davCalendarGetEvents(e,t){return this.network.post({o:"office",f:"davCalendarGetEvents",...e},t?.signal)}async davAddressBookCheckConnection(e,t){return this.network.post({o:"office",f:"davAddressBookCheckConnection",...e},t?.signal)}async davAddressBookGetContacts(e,t){return this.network.post({o:"office",f:"davAddressBookGetContacts",...e},t?.signal)}async getProviders(e){return this.network.post({o:"office",f:"getProviders"},e?.signal)}async getProviderBaseUrls(e){return this.network.post({o:"office",f:"getProviderBaseUrls"},e?.signal)}}class ag extends r{getFile(e,t){return this.network.post({o:"onlyOffice",f:"getFile",idFile:e,hash:t})}deleteFile(e,t){return this.network.postCSRF({o:"onlyOffice",f:"deleteFile",idFile:e,withParent:t})}createVersion(e){return this.network.post({o:"onlyOffice",f:"createVersion",idFile:e})}}class sg extends r{list(e){return this.jApi.article.list({type:"orgCharts",...e},{format:"raw-list"})}async create(e,t){const n={...e,type:"orgCharts"};return this.jApi.article.create(n,t)}updateExternalUsersImage(e,t,n,r){return this.network.postCSRF({o:"orgCharts",f:"updateExternalUsersImage",id:e,type:t,idCurrentImg:n,idPreviousImg:r})}async getConfiguration(){return this.network.post({o:"orgCharts",f:"configuration"})}}class lg extends r{getPublishButtonSections(e,t){const n={o:"jamespot",f:"publishButtonSections"};return e&&(n.forceDefault=e),this.network.post(n,t?.signal)}}class cg extends r{selectResponse(e,t){return this.network.post({o:"socialQuestion",f:"selectResponse",...e},t?.signal)}unselectResponse(e,t){return this.network.post({o:"socialQuestion",f:"unselectResponse",...e},t?.signal)}}class dg extends r{getConfig(){return this.network.post({o:"search",f:"getConfig"})}proposition({query:e,format:t},n){return this.network.post({o:"search",f:"proposition",query:e,format:t||"little"},n)}searchQuery(e,t){const{keywords:n,category:r,facetCategories:i,filters:o,page:a,limit:s,sort:l,options:c,format:d}=e;return this.network.post({o:"search",f:"query",keywords:n,category:r,facetCategories:i,filters:o,page:a,limit:s,sort:l,options:c,format:Od(d,t?.formatExtension)},t?.signal)}getLastQueries(){return this.network.post({o:"search",f:"getLastQueries"})}getAdminConfig(){return this.network.post({o:"search",f:"getAdminConfig"})}setAdminConfig(e){return this.network.post({o:"search",f:"setAdminConfig",config:e})}}class ug extends r{contentObjectLinks(e){return this.network.post({o:"shared",f:"contentObjectLinks",format:"raw-little",uri:e})}contentSetObjectAccessRule(e,t,n){return this.network.postCSRF({o:"shared",f:"contentSetObjectAccessRule",format:"raw-little",uri:e,rule:t,hash:n})}}class hg extends r{create(e,t){const n={...e,type:"socialEvent"};return this.jApi.article.create(n,t)}update(e,t){return this.jApi.article.update(e,t)}}class pg extends r{list(){return this.network.post({o:"taxonomy",f:"list",format:"raw-little"}).then(e=>{if(Array.isArray(e.result))return e.result;throw"Bad response from backend"})}create({format:e="raw-little",...t}){return this.network.post({o:"taxonomy",f:"create",format:e,...t})}autocomplete(e,t){return this.network.post({o:"autocomplete",f:"taxonomy",q:t,idTaxonomy:e,idToUri:!1})}autocompleteList({format:e="autocomplete",...t}){return this.network.post({o:"objectListTaxonomy",f:"concept",format:e,...t})}autocompleteHierarchy(e){return this.network.post({o:"objectListTaxonomyHierarchy",f:"concept",...e})}}class fg extends r{aiGeneratedToDo(e){return this.network.post({o:"teamWork",f:"aiGeneratedToDo"},e?.signal)}ai24hNotificationsSummary(e){return this.network.post({o:"teamWork",f:"ai24hNotificationsSummary"},e?.signal)}}class mg extends r{createChannel(e,t="raw-list"){return this.network.maybePostToken({...e,o:"article",f:"create",format:t,type:"tvDisplayChannel"})}getChannel(e){return this.network.post({...e,o:"tvDisplay",f:"getChannel"})}getConfigureChannel(e){return this.network.post({...e,o:"tvDisplay",f:"getConfigureChannel"})}}class gg extends r{hasSecret(e){return this.network.get("twoFactorAuthentication","hasSecret",void 0,e)}twoFactorAuthenticationGenerateConfiguration(e){return this.network.postCSRF({o:"twoFactorAuthentication",f:"generateConfiguration"},e)}verifyKey(e,t){return this.network.postCSRF({o:"twoFactorAuthentication",f:"verifyKey",key:e},t)}resetSecret(e){return this.network.postCSRF({o:"twoFactorAuthentication",f:"resetSecret"},e)}isKeyValid(e,t){return this.network.postCSRF({o:"twoFactorAuthentication",f:"isKeyValid",...e},t)}activationStatistics(e){return this.network.get("twoFactorAuthentication","activationStatistics",void 0,e)}twoFactorAuthenticationGetUserMail(e){return this.network.get("twoFactorAuthentication","getUserMail",void 0,e)}twoFactorAuthenticationDailyActivationStatistics(e,t,n){return this.network.get("twoFactorAuthentication","dailyActivationStatistics",{dateStart:e,dateEnd:t},n)}}class vg extends r{autocomplete(e,t,n){return this.network.post({o:"autocomplete",f:"user",q:e,idToUri:!1,limit:t,format:n}).then(e=>e.result)}get(e,t="little",n){return this.network.post({o:"user",f:"get",uri:e,format:t},n)}updateImage(e,t="raw-little"){return this.network.postCSRF({o:"user",f:"updateImage",idFile:e,format:t})}updateBanner(e,t="raw-little"){return this.network.postCSRF({o:"user",f:"updateBanner",idFile:e,format:t})}updateMail(e,t){return this.network.postCSRF({o:"user",f:"editMail",mail:e,password:t})}checkPassword(e,t){return this.network.postCSRF({o:"user",f:"checkPassword",password:e},t)}userUpdateProfile(e){return this.network.postCSRF({o:"user",f:"updateProfile",...e})}configuration(){return this.network.post({o:"userDirectory",f:"configuration"})}fieldsConfiguration(){return this.network.post({o:"user",f:"fieldsConfiguration"})}userList(e,t){return this.network.post({o:"objectList",f:"JamespotUserList",...e,format:Od(e.format,t?.formatExtension)},t?.signal)}userQueryList(e,t){return this.network.post({o:"objectList",f:"JamespotUserQueryList",...e,format:Od(e.format,t?.formatExtension)})}userMap(e){return this.network.post({o:"objectListJamespot",f:"userMap",...e})}userBusinessContactQueryList(e,t){return this.network.post({o:"businessContact",f:"queryList",...e},t?.signal)}userCreateBusinessContact(e,t){const n={...{...e,pseudo:e.title,firstName:e.firstname,lastName:e.lastname,champ1:e.field1,champ2:e.field2,champ3:e.field3,champ4:e.field4,champ5:e.field5},type:"businessContactCard",publishTo:"networkPublic/1"};return this.jApi.article.create(n,t)}userUpdateBusinessContact(e,t){const n={...{...e,pseudo:e.title,firstName:e.firstname,lastName:e.lastname,champ1:e.field1,champ2:e.field2,champ3:e.field3,champ4:e.field4,champ5:e.field5},uri:e.uri,publishTo:"networkPublic/1"};return this.jApi.article.update(n,t)}userDeleteBusinessContact(e){return this.jApi.article.delete(e)}userAddContact(e){return this.network.post({o:"user",f:"addContact",idUser:e})}userRemoveContact(e){return this.network.post({o:"user",f:"removeContact",idUser:e})}signIn(e,t,n){return this.network.post({o:"user",f:"signIn",mail:e,password:t,format:n??"raw-view"})}getFields(e,t){return this.network.post({o:"user",f:"getFields",idUser:e,fieldsType:t})}getSpots({format:e="raw-little",...t}={},{signal:n}={}){return this.network.post({o:"user",f:"getSpots",...t,format:e},n)}getNotificationsConfiguration(e){return this.network.post({o:"user",f:"getNotificationsConfiguration"},e?.signal)}setNotificationsConfiguration(e){return this.network.postCSRF({o:"user",f:"setNotificationsConfiguration",userNotificationsConfiguration:e})}getProperty(e,t){return this.network.post({o:"user",f:"getProperty",name:e},t?.signal)}setProperty(e,t,n){return this.network.postCSRF({o:"user",f:"setProperty",name:e,value:JSON.stringify(t)},n?.signal)}}class yg extends r{recordingDelete(e,t,n){return this.network.post({o:"visioConnect",f:"videoRecordingDelete",id:e,filename:t},n?.signal)}statistics(e,t){return this.network.post({o:"visioConnect",f:"statistics",...e},t?.signal)}statisticsRoomSessions(e,t){return this.network.post({o:"visioConnect",f:"statisticsRoomSessions",...e},t?.signal)}resolveUrl({uri:e},t){return this.network.post({o:"visioConnect",f:"resolveUrl",uri:e},t)}}class bg extends r{getFiles(e){return this.network.post({o:"weDoc",f:"getFiles",...e})}getTemplates(e){return this.network.post({o:"weDoc",f:"getTemplates"},e)}createFile(e,t,n){return this.network.postCSRF({o:"weDoc",f:"createFile",title:e,type:t,publishTo:n})}updateFile(e,t){return this.network.postCSRF({o:"weDoc",f:"updateFile",idFile:e,title:t})}}class xg extends r{responseUserList(e,t,n){return this.network.post({o:"widget",f:"responseUserList",uri:e,uniqid:t,page:n})}removeWidget({id:e,type:t,uniqid:n}){return this.network.post({o:"widget",f:"removeWidget",id:e,type:t,uniqid:n})}updateWidget({id:e,uniqid:t,content:n,title:r,type:i,uri:o,v2:a=!1}){return this.network.post({o:"widget",f:"updateWidget",uri:o,id:e,uniqid:t,content:n,title:r,type:i,v2:a})}getWidget({uri:e,uniqid:t},n){return this.network.post({o:"widget",f:"getWidget",uri:e,uniqid:t},n)}checkListRespond({id:e,type:t,uri:n,idUser:r,uniqid:i,index:o}){return this.network.post({o:"widget",f:"checkListRespond",uri:n,id:e,type:t,uniqid:i,idUser:r,index:o})}checkListGetResponse({uri:e,uniqid:t}){return this.network.post({o:"widget",f:"checkListGetResponse",uri:e,uniqid:t})}presenceRespond({id:e,type:t,uri:n,value:r,uniqid:i},o){return this.network.post({o:"widget",f:"presenceRespond",uri:n,id:e,type:t,value:r,uniqid:i},o)}presenceCancel({uri:e,uniqid:t},n){return this.network.postCSRF({o:"widget",f:"presenceCancel",uri:e,uniqid:t},n)}presenceGetResponse({uri:e,uniqid:t},n){return this.network.post({o:"widget",f:"presenceGetResponse",uri:e,uniqid:t},n)}quickSurveyGetResponse({uri:e,uniqid:t},n){return this.network.post({o:"widget",f:"quickSurveyGetResponse",uri:e,uniqid:t},n)}quickSurveyAddEnty({uri:e,uniqid:t,label:n},r){return this.network.postCSRF({o:"widget",f:"quickSurveyAddEntry",uri:e,label:n,uniqid:t},r)}quickSurveyRespond({id:e,type:t,uri:n,index:r,multi:i,uniqid:o},a){return this.network.postCSRF({o:"widget",f:"quickSurveyRespond",id:e,type:t,uri:n,index:r,multi:i,uniqid:o},a)}quickSurveyGetResponseUserList({uri:e,uniqid:t,index:n,page:r,limit:i},o){return this.network.post({o:"widget",f:"quickSurveyGetResponseUserList",uri:e,uniqid:t,index:n,page:r,limit:i},o)}presenceGetResponseUserList({uri:e,uniqid:t,index:n,page:r,limit:i},o){return this.network.post({o:"widget",f:"presenceGetResponseUserList",uri:e,uniqid:t,index:n,page:r,limit:i},o)}}class wg{version="1.0";network;admin;application;article;articleTranslation;asei;assetReservation;audience;bbb;bookmark;businessNetworking;calendar;community;contentFactory;contentReport;publishButton;datasource;diapazone;digitalDesk;drive;externalApp;extraBot;faq;file;filebank;fileIntegrity;fileSync;global;group;jamespot;jia;jitsi;jland;lucca;magicPad;mediaLibrary;meeting;menu;messenger;module;object;office;onlyOffice;questionAnswer;search;share;socialEvent;taxonomy;teamWork;tvDisplay;twoFactorAuthentication;user;visioConnect;wedoc;widget;animations;orgcharts;constructor(e){this.network=e,this.admin={advanced:new i(this),license:new Kd(this),logs:new eu(this),store:new tu(this),utils:new nu(this)},this.application=new yu(this),this.article=new bu(this),this.articleTranslation=new Wm(this),this.asei=new Gm(this),this.assetReservation=new xu(this),this.audience=new wu(this),this.bbb=new Cu(this),this.bookmark=new Su(this),this.businessNetworking=new Au(this),this.calendar=new ku(this),this.community=new _u(this),this.contentFactory=new Em(this),this.contentReport=new jm(this),this.publishButton=new lg(this),this.datasource=new Rm(this),this.diapazone=new Mm(this),this.digitalDesk=new Vm(this),this.drive=new Im(this),this.externalApp=new Om(this),this.extraBot=new Lm(this),this.faq=new Pm(this),this.file=new Bm(this),this.filebank=new Nm(this),this.fileIntegrity=new Fm(this),this.fileSync=new qm(this),this.global=new $m(this),this.group=new zm(this),this.jamespot=new Hm(this),this.jia=new Ym(this),this.jitsi=new Jm(this),this.jland=new Qm(this),this.lucca=new Zm(this),this.magicPad=new Xm(this),this.mediaLibrary=new Km(this),this.meeting=new eg(this),this.messenger=new ng(this),this.menu=new tg(this),this.module=new rg(this),this.object=new ig(this),this.office=new og(this),this.onlyOffice=new ag(this),this.questionAnswer=new cg(this),this.search=new dg(this),this.share=new ug(this),this.socialEvent=new hg(this),this.taxonomy=new pg(this),this.teamWork=new fg(this),this.tvDisplay=new mg(this),this.twoFactorAuthentication=new gg(this),this.user=new vg(this),this.visioConnect=new yg(this),this.wedoc=new bg(this),this.widget=new xg(this),this.animations=new Um(this),this.orgcharts=new sg(this)}}class Cg{async getBackendUrl(){const e=window.location;return`${e.protocol}//${e.host}`}fetch(e,t){return window.fetch(e,t)}}const Sg=new Td(new Cg),Ag=new wg(Sg);window.JamespotUserApi=Ag;const kg=Ag,_g=wg;e.exports=n})()},1896:(e,t,n)=>{"use strict";e.exports=n(4733)},2187:(e,t,n)=>{e.exports=n(9771)},2516:(e,t,n)=>{"use strict";var r,i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),o=[];function a(e){for(var t=-1,n=0;n<o.length;n++)if(o[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},r=[],i=0;i<e.length;i++){var s=e[i],l=t.base?s[0]+t.base:s[0],c=n[l]||0,d="".concat(l," ").concat(c);n[l]=c+1;var u=a(d),h={css:s[1],media:s[2],sourceMap:s[3]};-1!==u?(o[u].references++,o[u].updater(h)):o.push({identifier:d,updater:m(h,t),references:1}),r.push(d)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach(function(e){t.setAttribute(e,r[e])}),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var c,d=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function u(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function h(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var p=null,f=0;function m(e,t){var n,r,i;if(t.singleton){var o=f++;n=p||(p=l(t)),r=u.bind(null,n,o,!1),i=u.bind(null,n,o,!0)}else n=l(t),r=h.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=(void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r));var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=a(n[r]);o[i].references--}for(var l=s(e,t),c=0;c<n.length;c++){var d=a(n[c]);0===o[d].references&&(o[d].updater(),o.splice(d,1))}n=l}}}},2713:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator,f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var x=b.prototype=new y;x.constructor=b,m(x,v.prototype),x.isPureReactComponent=!0;var w=Array.isArray,C=Object.prototype.hasOwnProperty,S={current:null},A={key:!0,ref:!0,__self:!0,__source:!0};function k(e,t,r){var i,o={},a=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)C.call(t,i)&&!A.hasOwnProperty(i)&&(o[i]=t[i]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var c=Array(l),d=0;d<l;d++)c[d]=arguments[d+2];o.children=c}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===o[i]&&(o[i]=l[i]);return{$$typeof:n,type:e,key:a,ref:s,props:o,_owner:S.current}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var E=/\/+/g;function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function D(e,t,i,o,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===o?"."+T(l,0):o,w(a)?(i="",null!=e&&(i=e.replace(E,"$&/")+"/"),D(a,t,i,"",function(e){return e})):null!=a&&(_(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,i+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(E,"$&/")+"/")+e)),t.push(a)),1;if(l=0,o=""===o?".":o+":",w(e))for(var c=0;c<e.length;c++){var d=o+T(s=e[c],c);l+=D(s,t,i,d,a)}else if(d=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof d)for(e=d.call(e),c=0;!(s=e.next()).done;)l+=D(s=s.value,t,i,d=o+T(s,c++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function j(e,t,n){if(null==e)return e;var r=[],i=0;return D(e,r,"","",function(e){return t.call(n,e,i++)}),r}function R(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},I={transition:null},O={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:I,ReactCurrentOwner:S};function L(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:j,forEach:function(e,t,n){j(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return j(e,function(){t++}),t},toArray:function(e){return j(e,function(e){return e})||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=i,t.Profiler=a,t.PureComponent=b,t.StrictMode=o,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.act=L,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=m({},e.props),o=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=S.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)C.call(t,c)&&!A.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){l=Array(c);for(var d=0;d<c;d++)l[d]=arguments[d+2];i.children=l}return{$$typeof:n,type:e.type,key:o,ref:a,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=k,t.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=I.transition;I.transition={};try{e()}finally{I.transition=t}},t.unstable_act=L,t.useCallback=function(e,t){return M.current.useCallback(e,t)},t.useContext=function(e){return M.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return M.current.useDeferredValue(e)},t.useEffect=function(e,t){return M.current.useEffect(e,t)},t.useId=function(){return M.current.useId()},t.useImperativeHandle=function(e,t,n){return M.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return M.current.useMemo(e,t)},t.useReducer=function(e,t,n){return M.current.useReducer(e,t,n)},t.useRef=function(e){return M.current.useRef(e)},t.useState=function(e){return M.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return M.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return M.current.useTransition()},t.version="18.3.1"},2736:(e,t,n)=>{e.exports=n(6186)()},2945:e=>{e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var c=o[l];if(!s(c))return!1;var d=e[c],u=t[c];if(!1===(i=n?n.call(r,d,u,c):void 0)||void 0===i&&d!==u)return!1}return!0}},2985:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3212:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!==i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!==i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!==i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},3249:(e,t,n)=>{var r=n(5543);function i(e,t){this.totalCount=e,this.dataCount=t}i.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],i.getRSBlocks=function(e,t){var n=i.getRsBlockTable(e,t);if(null==n)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var r=n.length/3,o=new Array,a=0;a<r;a++)for(var s=n[3*a+0],l=n[3*a+1],c=n[3*a+2],d=0;d<s;d++)o.push(new i(l,c));return o},i.getRsBlockTable=function(e,t){switch(t){case r.L:return i.RS_BLOCK_TABLE[4*(e-1)+0];case r.M:return i.RS_BLOCK_TABLE[4*(e-1)+1];case r.Q:return i.RS_BLOCK_TABLE[4*(e-1)+2];case r.H:return i.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},e.exports=i},3278:(e,t,n)=>{"use strict";var r=n(758),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,d=r[1];return s(function(){i.value=n,i.getSnapshot=t,c(i)&&d({inst:i})},[e,n,t]),a(function(){return c(i)&&d({inst:i}),e(function(){c(i)&&d({inst:i})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:d},3434:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(i," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},3517:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(3434),i=n.n(r),o=n(6170),a=n.n(o)()(i());a.push([e.id,".react-reset {\n visibility: visible;\n}\n\n.react-reset input[type='text'] {\n box-shadow: none;\n}\n\n.react-reset * {\n align-content: stretch;\n align-items: stretch;\n align-self: auto;\n animation-delay: 0s;\n animation-direction: normal;\n animation-duration: 0s;\n animation-fill-mode: none;\n animation-iteration-count: 1;\n animation-name: none;\n animation-play-state: running;\n animation-timing-function: ease;\n azimuth: center;\n backface-visibility: visible;\n background-attachment: scroll;\n background-blend-mode: normal;\n background-clip: border-box;\n background-color: transparent;\n background-image: none;\n background-origin: padding-box;\n background-position: 0% 0%;\n background-repeat: repeat;\n background-size: auto auto;\n border-block-end-color: currentcolor;\n border-block-end-style: none;\n border-block-end-width: medium;\n border-block-start-color: currentcolor;\n border-block-start-style: none;\n border-block-start-width: medium;\n border-bottom-color: currentcolor;\n border-bottom-style: none;\n border-bottom-width: medium;\n border-collapse: separate;\n border-image-outset: 0s;\n border-image-repeat: stretch;\n border-image-slice: 100%;\n border-image-source: none;\n border-image-width: 1;\n border-inline-end-color: currentcolor;\n border-inline-end-style: none;\n border-inline-end-width: medium;\n border-inline-start-color: currentcolor;\n border-inline-start-style: none;\n border-inline-start-width: medium;\n border-left-color: currentcolor;\n border-left-style: none;\n border-left-width: medium;\n border-right-color: currentcolor;\n border-right-style: none;\n border-right-width: medium;\n border-spacing: 0;\n border-top-color: currentcolor;\n\n border-top-style: none;\n border-top-width: medium;\n bottom: auto;\n box-decoration-break: slice;\n box-sizing: border-box;\n break-after: auto;\n break-before: auto;\n break-inside: auto;\n caption-side: top;\n caret-color: auto;\n clear: none;\n clip: auto;\n color: inherit;\n column-count: auto;\n column-fill: balance;\n column-gap: normal;\n column-rule-color: currentcolor;\n column-rule-style: none;\n column-rule-width: medium;\n column-span: none;\n column-width: auto;\n content: normal;\n counter-increment: none;\n counter-reset: none;\n empty-cells: show;\n flex-basis: auto;\n flex-direction: row;\n flex-grow: 0;\n flex-shrink: 1;\n flex-wrap: nowrap;\n float: none;\n font-feature-settings: normal;\n font-kerning: auto;\n font-language-override: normal;\n font-stretch: normal;\n font-synthesis: weight style;\n font-variant: normal;\n font-variant-alternates: normal;\n font-variant-caps: normal;\n font-variant-east-asian: normal;\n font-variant-ligatures: normal;\n font-variant-numeric: normal;\n font-variant-position: normal;\n grid-auto-columns: auto;\n grid-auto-flow: row;\n grid-auto-rows: auto;\n grid-column-end: auto;\n grid-column-gap: 0;\n grid-column-start: auto;\n grid-row-end: auto;\n grid-row-gap: 0;\n grid-row-start: auto;\n grid-template-areas: none;\n grid-template-columns: none;\n grid-template-rows: none;\n hyphens: manual;\n image-orientation: 0deg;\n image-rendering: auto;\n image-resolution: 1dppx;\n ime-mode: auto;\n isolation: auto;\n justify-content: flex-start;\n left: auto;\n letter-spacing: inherit;\n line-break: auto;\n list-style-image: none;\n list-style-position: outside;\n margin-block-end: 0;\n margin-block-start: 0;\n margin-bottom: 0;\n margin-inline-end: 0;\n margin-inline-start: 0;\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n mask-clip: border-box;\n mask-composite: add;\n mask-image: none;\n mask-mode: match-source;\n mask-origin: border-box;\n mask-position: 0% 0%;\n mask-repeat: repeat;\n mask-size: auto;\n mask-type: luminance;\n max-height: none;\n max-width: none;\n min-height: none;\n min-inline-size: none;\n min-width: none;\n mix-blend-mode: normal;\n object-fit: fill;\n object-position: 50% 50%;\n offset-block-end: auto;\n offset-block-start: auto;\n offset-inline-end: auto;\n offset-inline-start: auto;\n opacity: 1;\n order: 0;\n orphans: 2;\n outline-color: initial;\n outline-offset: 0;\n outline-style: none;\n outline-width: medium;\n padding-block-end: 0;\n padding-block-start: 0;\n padding-bottom: 0;\n padding-inline-end: 0;\n padding-inline-start: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n page-break-after: auto;\n page-break-before: auto;\n page-break-inside: auto;\n perspective: none;\n perspective-origin: 50% 50%;\n pointer-events: auto;\n position: static;\n quotes: initial;\n resize: none;\n right: auto;\n ruby-align: space-around;\n ruby-merge: separate;\n ruby-position: over;\n scroll-behavior: auto;\n scroll-snap-coordinate: none;\n scroll-snap-destination: 0px 0px;\n scroll-snap-points-x: none;\n scroll-snap-points-y: none;\n scroll-snap-type: none;\n shape-image-threshold: 0;\n shape-margin: 0;\n shape-outside: none;\n tab-size: 8;\n table-layout: auto;\n text-align: initial;\n text-align-last: auto;\n text-combine-upright: none;\n text-emphasis-color: currentcolor;\n text-emphasis-position: over right;\n text-emphasis-style: none;\n text-indent: 0;\n text-justify: auto;\n text-orientation: mixed;\n text-overflow: clip;\n text-rendering: auto;\n text-shadow: none;\n text-transform: none;\n text-underline-position: auto;\n top: auto;\n touch-action: auto;\n transform-box: border-box;\n transform-origin: 50% 50% 0;\n transform-style: flat;\n transition-delay: 0s;\n transition-duration: 0s;\n transition-property: all;\n transition-timing-function: ease;\n vertical-align: baseline;\n visibility: inherit;\n widows: 2;\n will-change: auto;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n writing-mode: horizontal-tb;\n z-index: unset;\n}\n\n/* trick to reset transform on svg and g because of ORGCHARTS lib */\n\n.react-reset:not(svg),\n.react-reset:not(g) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n transform: none;\n box-shadow: none;\n -webkit-box-shadow: none;\n filter: none;\n clip-path: none;\n}\n","",{version:3,sources:["webpack://./src/components/JRCThemeProvider/theme-reset.css"],names:[],mappings:"AAAA;IACI,mBAAmB;AACvB;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,sBAAsB;IACtB,oBAAoB;IACpB,gBAAgB;IAChB,mBAAmB;IACnB,2BAA2B;IAC3B,sBAAsB;IACtB,yBAAyB;IACzB,4BAA4B;IAC5B,oBAAoB;IACpB,6BAA6B;IAC7B,+BAA+B;IAC/B,eAAe;IACf,4BAA4B;IAC5B,6BAA6B;IAC7B,6BAA6B;IAC7B,2BAA2B;IAC3B,6BAA6B;IAC7B,sBAAsB;IACtB,8BAA8B;IAC9B,0BAA0B;IAC1B,yBAAyB;IACzB,0BAA0B;IAC1B,oCAAoC;IACpC,4BAA4B;IAC5B,8BAA8B;IAC9B,sCAAsC;IACtC,8BAA8B;IAC9B,gCAAgC;IAChC,iCAAiC;IACjC,yBAAyB;IACzB,2BAA2B;IAC3B,yBAAyB;IACzB,uBAAuB;IACvB,4BAA4B;IAC5B,wBAAwB;IACxB,yBAAyB;IACzB,qBAAqB;IACrB,qCAAqC;IACrC,6BAA6B;IAC7B,+BAA+B;IAC/B,uCAAuC;IACvC,+BAA+B;IAC/B,iCAAiC;IACjC,+BAA+B;IAC/B,uBAAuB;IACvB,yBAAyB;IACzB,gCAAgC;IAChC,wBAAwB;IACxB,0BAA0B;IAC1B,iBAAiB;IACjB,8BAA8B;;IAE9B,sBAAsB;IACtB,wBAAwB;IACxB,YAAY;IACZ,2BAA2B;IAC3B,sBAAsB;IACtB,iBAAiB;IACjB,kBAAkB;IAClB,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,WAAW;IACX,UAAU;IACV,cAAc;IACd,kBAAkB;IAClB,oBAAoB;IACpB,kBAAkB;IAClB,+BAA+B;IAC/B,uBAAuB;IACvB,yBAAyB;IACzB,iBAAiB;IACjB,kBAAkB;IAClB,eAAe;IACf,uBAAuB;IACvB,mBAAmB;IACnB,iBAAiB;IACjB,gBAAgB;IAChB,mBAAmB;IACnB,YAAY;IACZ,cAAc;IACd,iBAAiB;IACjB,WAAW;IACX,6BAA6B;IAC7B,kBAAkB;IAClB,8BAA8B;IAC9B,oBAAoB;IACpB,4BAA4B;IAC5B,oBAAoB;IACpB,+BAA+B;IAC/B,yBAAyB;IACzB,+BAA+B;IAC/B,8BAA8B;IAC9B,4BAA4B;IAC5B,6BAA6B;IAC7B,uBAAuB;IACvB,mBAAmB;IACnB,oBAAoB;IACpB,qBAAqB;IACrB,kBAAkB;IAClB,uBAAuB;IACvB,kBAAkB;IAClB,eAAe;IACf,oBAAoB;IACpB,yBAAyB;IACzB,2BAA2B;IAC3B,wBAAwB;IACxB,eAAe;IACf,uBAAuB;IACvB,qBAAqB;IACrB,uBAAuB;IACvB,cAAc;IACd,eAAe;IACf,2BAA2B;IAC3B,UAAU;IACV,uBAAuB;IACvB,gBAAgB;IAChB,sBAAsB;IACtB,4BAA4B;IAC5B,mBAAmB;IACnB,qBAAqB;IACrB,gBAAgB;IAChB,oBAAoB;IACpB,sBAAsB;IACtB,cAAc;IACd,eAAe;IACf,aAAa;IACb,qBAAqB;IACrB,mBAAmB;IACnB,gBAAgB;IAChB,uBAAuB;IACvB,uBAAuB;IACvB,oBAAoB;IACpB,mBAAmB;IACnB,eAAe;IACf,oBAAoB;IACpB,gBAAgB;IAChB,eAAe;IACf,gBAAgB;IAChB,qBAAqB;IACrB,eAAe;IACf,sBAAsB;IACtB,gBAAgB;IAChB,wBAAwB;IACxB,sBAAsB;IACtB,wBAAwB;IACxB,uBAAuB;IACvB,yBAAyB;IACzB,UAAU;IACV,QAAQ;IACR,UAAU;IACV,sBAAsB;IACtB,iBAAiB;IACjB,mBAAmB;IACnB,qBAAqB;IACrB,oBAAoB;IACpB,sBAAsB;IACtB,iBAAiB;IACjB,qBAAqB;IACrB,uBAAuB;IACvB,eAAe;IACf,gBAAgB;IAChB,cAAc;IACd,sBAAsB;IACtB,uBAAuB;IACvB,uBAAuB;IACvB,iBAAiB;IACjB,2BAA2B;IAC3B,oBAAoB;IACpB,gBAAgB;IAChB,eAAe;IACf,YAAY;IACZ,WAAW;IACX,wBAAwB;IACxB,oBAAoB;IACpB,mBAAmB;IACnB,qBAAqB;IACrB,4BAA4B;IAC5B,gCAAgC;IAChC,0BAA0B;IAC1B,0BAA0B;IAC1B,sBAAsB;IACtB,wBAAwB;IACxB,eAAe;IACf,mBAAmB;IACnB,WAAW;IACX,kBAAkB;IAClB,mBAAmB;IACnB,qBAAqB;IACrB,0BAA0B;IAC1B,iCAAiC;IACjC,kCAAkC;IAClC,yBAAyB;IACzB,cAAc;IACd,kBAAkB;IAClB,uBAAuB;IACvB,mBAAmB;IACnB,oBAAoB;IACpB,iBAAiB;IACjB,oBAAoB;IACpB,6BAA6B;IAC7B,SAAS;IACT,kBAAkB;IAClB,yBAAyB;IACzB,2BAA2B;IAC3B,qBAAqB;IACrB,oBAAoB;IACpB,uBAAuB;IACvB,wBAAwB;IACxB,gCAAgC;IAChC,wBAAwB;IACxB,mBAAmB;IACnB,SAAS;IACT,iBAAiB;IACjB,kBAAkB;IAClB,oBAAoB;IACpB,iBAAiB;IACjB,2BAA2B;IAC3B,cAAc;AAClB;;AAEA,mEAAmE;;AAEnE;;IAEI,yBAAyB;IACzB,0BAA0B;IAC1B,4BAA4B;IAC5B,6BAA6B;IAC7B,eAAe;IACf,gBAAgB;IAChB,wBAAwB;IACxB,YAAY;IACZ,eAAe;AACnB",sourcesContent:[".react-reset {\n visibility: visible;\n}\n\n.react-reset input[type='text'] {\n box-shadow: none;\n}\n\n.react-reset * {\n align-content: stretch;\n align-items: stretch;\n align-self: auto;\n animation-delay: 0s;\n animation-direction: normal;\n animation-duration: 0s;\n animation-fill-mode: none;\n animation-iteration-count: 1;\n animation-name: none;\n animation-play-state: running;\n animation-timing-function: ease;\n azimuth: center;\n backface-visibility: visible;\n background-attachment: scroll;\n background-blend-mode: normal;\n background-clip: border-box;\n background-color: transparent;\n background-image: none;\n background-origin: padding-box;\n background-position: 0% 0%;\n background-repeat: repeat;\n background-size: auto auto;\n border-block-end-color: currentcolor;\n border-block-end-style: none;\n border-block-end-width: medium;\n border-block-start-color: currentcolor;\n border-block-start-style: none;\n border-block-start-width: medium;\n border-bottom-color: currentcolor;\n border-bottom-style: none;\n border-bottom-width: medium;\n border-collapse: separate;\n border-image-outset: 0s;\n border-image-repeat: stretch;\n border-image-slice: 100%;\n border-image-source: none;\n border-image-width: 1;\n border-inline-end-color: currentcolor;\n border-inline-end-style: none;\n border-inline-end-width: medium;\n border-inline-start-color: currentcolor;\n border-inline-start-style: none;\n border-inline-start-width: medium;\n border-left-color: currentcolor;\n border-left-style: none;\n border-left-width: medium;\n border-right-color: currentcolor;\n border-right-style: none;\n border-right-width: medium;\n border-spacing: 0;\n border-top-color: currentcolor;\n\n border-top-style: none;\n border-top-width: medium;\n bottom: auto;\n box-decoration-break: slice;\n box-sizing: border-box;\n break-after: auto;\n break-before: auto;\n break-inside: auto;\n caption-side: top;\n caret-color: auto;\n clear: none;\n clip: auto;\n color: inherit;\n column-count: auto;\n column-fill: balance;\n column-gap: normal;\n column-rule-color: currentcolor;\n column-rule-style: none;\n column-rule-width: medium;\n column-span: none;\n column-width: auto;\n content: normal;\n counter-increment: none;\n counter-reset: none;\n empty-cells: show;\n flex-basis: auto;\n flex-direction: row;\n flex-grow: 0;\n flex-shrink: 1;\n flex-wrap: nowrap;\n float: none;\n font-feature-settings: normal;\n font-kerning: auto;\n font-language-override: normal;\n font-stretch: normal;\n font-synthesis: weight style;\n font-variant: normal;\n font-variant-alternates: normal;\n font-variant-caps: normal;\n font-variant-east-asian: normal;\n font-variant-ligatures: normal;\n font-variant-numeric: normal;\n font-variant-position: normal;\n grid-auto-columns: auto;\n grid-auto-flow: row;\n grid-auto-rows: auto;\n grid-column-end: auto;\n grid-column-gap: 0;\n grid-column-start: auto;\n grid-row-end: auto;\n grid-row-gap: 0;\n grid-row-start: auto;\n grid-template-areas: none;\n grid-template-columns: none;\n grid-template-rows: none;\n hyphens: manual;\n image-orientation: 0deg;\n image-rendering: auto;\n image-resolution: 1dppx;\n ime-mode: auto;\n isolation: auto;\n justify-content: flex-start;\n left: auto;\n letter-spacing: inherit;\n line-break: auto;\n list-style-image: none;\n list-style-position: outside;\n margin-block-end: 0;\n margin-block-start: 0;\n margin-bottom: 0;\n margin-inline-end: 0;\n margin-inline-start: 0;\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n mask-clip: border-box;\n mask-composite: add;\n mask-image: none;\n mask-mode: match-source;\n mask-origin: border-box;\n mask-position: 0% 0%;\n mask-repeat: repeat;\n mask-size: auto;\n mask-type: luminance;\n max-height: none;\n max-width: none;\n min-height: none;\n min-inline-size: none;\n min-width: none;\n mix-blend-mode: normal;\n object-fit: fill;\n object-position: 50% 50%;\n offset-block-end: auto;\n offset-block-start: auto;\n offset-inline-end: auto;\n offset-inline-start: auto;\n opacity: 1;\n order: 0;\n orphans: 2;\n outline-color: initial;\n outline-offset: 0;\n outline-style: none;\n outline-width: medium;\n padding-block-end: 0;\n padding-block-start: 0;\n padding-bottom: 0;\n padding-inline-end: 0;\n padding-inline-start: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n page-break-after: auto;\n page-break-before: auto;\n page-break-inside: auto;\n perspective: none;\n perspective-origin: 50% 50%;\n pointer-events: auto;\n position: static;\n quotes: initial;\n resize: none;\n right: auto;\n ruby-align: space-around;\n ruby-merge: separate;\n ruby-position: over;\n scroll-behavior: auto;\n scroll-snap-coordinate: none;\n scroll-snap-destination: 0px 0px;\n scroll-snap-points-x: none;\n scroll-snap-points-y: none;\n scroll-snap-type: none;\n shape-image-threshold: 0;\n shape-margin: 0;\n shape-outside: none;\n tab-size: 8;\n table-layout: auto;\n text-align: initial;\n text-align-last: auto;\n text-combine-upright: none;\n text-emphasis-color: currentcolor;\n text-emphasis-position: over right;\n text-emphasis-style: none;\n text-indent: 0;\n text-justify: auto;\n text-orientation: mixed;\n text-overflow: clip;\n text-rendering: auto;\n text-shadow: none;\n text-transform: none;\n text-underline-position: auto;\n top: auto;\n touch-action: auto;\n transform-box: border-box;\n transform-origin: 50% 50% 0;\n transform-style: flat;\n transition-delay: 0s;\n transition-duration: 0s;\n transition-property: all;\n transition-timing-function: ease;\n vertical-align: baseline;\n visibility: inherit;\n widows: 2;\n will-change: auto;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n writing-mode: horizontal-tb;\n z-index: unset;\n}\n\n/* trick to reset transform on svg and g because of ORGCHARTS lib */\n\n.react-reset:not(svg),\n.react-reset:not(g) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n transform: none;\n box-shadow: none;\n -webkit-box-shadow: none;\n filter: none;\n clip-path: none;\n}\n"],sourceRoot:""}]);const s=a},4049:(e,t,n)=>{"use strict";var r=n(758),i=n(809),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useSyncExternalStore,s=r.useRef,l=r.useEffect,c=r.useMemo,d=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var u=s(null);if(null===u.current){var h={hasValue:!1,value:null};u.current=h}else h=u.current;u=c(function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==i&&h.hasValue){var t=h.value;if(i(t,e))return s=t}return s=e}if(t=s,o(a,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(a=e,t):(a=e,s=n)}var a,s,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,n,r,i]);var p=a(e,u[0],u[1]);return l(function(){h.hasValue=!0,h.value=p},[p]),d(p),p}},4060:(e,t,n)=>{var r=n(2516),i=n(3517);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},4212:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(3434),i=n.n(r),o=n(6170),a=n.n(o)()(i());a.push([e.id,".react-icon[class^='icon-fs-'],\n.react-icon[class*=' icon-fs-'] {\n font-family: 'fontSpot' !important;\n speak: none;\n font-style: normal;\n font-variant: normal;\n text-transform: none;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n","",{version:3,sources:["webpack://./src/components/JRCThemeProvider/fontspot-icons.css"],names:[],mappings:"AAAA;;IAEI,kCAAkC;IAClC,WAAW;IACX,kBAAkB;IAClB,oBAAoB;IACpB,oBAAoB;IACpB,mCAAmC;IACnC,kCAAkC;AACtC",sourcesContent:[".react-icon[class^='icon-fs-'],\n.react-icon[class*=' icon-fs-'] {\n font-family: 'fontSpot' !important;\n speak: none;\n font-style: normal;\n font-variant: normal;\n text-transform: none;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n"],sourceRoot:""}]);const s=a},4276:(e,t,n)=>{"use strict";e.exports=n(6936)},4568:(e,t,n)=>{var r=n(2516),i=n(8554);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},4733:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=e[s],c=s+1,d=e[c];if(0>o(l,n))c<i&&0>o(d,l)?(e[r]=d,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<i&&0>o(d,n)))break e;e[r]=d,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],d=[],u=1,h=null,p=3,f=!1,m=!1,g=!1,v="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var t=r(d);null!==t;){if(null===t.callback)i(d);else{if(!(t.startTime<=e))break;i(d),t.sortIndex=t.expirationTime,n(c,t)}t=r(d)}}function w(e){if(g=!1,x(e),!m)if(null!==r(c))m=!0,I(C);else{var t=r(d);null!==t&&O(w,t.startTime-e)}}function C(e,n){m=!1,g&&(g=!1,y(_),_=-1),f=!0;var o=p;try{for(x(n),h=r(c);null!==h&&(!(h.expirationTime>n)||e&&!D());){var a=h.callback;if("function"==typeof a){h.callback=null,p=h.priorityLevel;var s=a(h.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?h.callback=s:h===r(c)&&i(c),x(n)}else i(c);h=r(c)}if(null!==h)var l=!0;else{var u=r(d);null!==u&&O(w,u.startTime-n),l=!1}return l}finally{h=null,p=o,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,A=!1,k=null,_=-1,E=5,T=-1;function D(){return!(t.unstable_now()-T<E)}function j(){if(null!==k){var e=t.unstable_now();T=e;var n=!0;try{n=k(!0,e)}finally{n?S():(A=!1,k=null)}}else A=!1}if("function"==typeof b)S=function(){b(j)};else if("undefined"!=typeof MessageChannel){var R=new MessageChannel,M=R.port2;R.port1.onmessage=j,S=function(){M.postMessage(null)}}else S=function(){v(j,0)};function I(e){k=e,A||(A=!0,S())}function O(e,n){_=v(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||f||(m=!0,I(C))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:u++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,n(d,e),null===r(c)&&e===r(d)&&(g?(y(_),_=-1):g=!0,O(w,o-a))):(e.sortIndex=s,n(c,e),m||f||(m=!0,I(C))),e},t.unstable_shouldYield=D,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},5543:e=>{e.exports={L:1,M:0,Q:3,H:2}},5568:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(3434),i=n.n(r),o=n(6170),a=n.n(o)()(i());a.push([e.id,".react-reset {\n width: 100%;\n}\n\n.r-grid {\n width: 100%;\n display: grid;\n --pageColWidthLeft: 230px;\n --pageColWidthRight: 270px;\n}\n\n.r-grid.page-1-cols {\n grid-template-columns: 1fr;\n -ms-grid-columns: 1fr;\n grid-template-rows: auto 1fr;\n -ms-grid-template-rows: auto 1fr;\n}\n\n.r-grid.page-1-cols #r-main {\n grid-row: 2;\n grid-column: 1;\n -ms-grid-row: 2;\n -ms-grid-column: 1;\n}\n\n.r-grid.page-2-cols {\n grid-template-columns: var(--pageColWidthLeft) 1fr;\n -ms-grid-columns: var(--pageColWidthLeft) 1fr;\n grid-template-rows: auto 1fr;\n -ms-grid-template-rows: auto 1fr;\n}\n\n.r-grid.page-2-cols #r-left {\n grid-row: 2;\n grid-column: 1;\n -ms-grid-row: 2;\n -ms-grid-column: 1;\n}\n\n.r-grid.page-2-cols #r-main {\n margin-left: 30px;\n grid-row: 2;\n grid-column: 2;\n -ms-grid-row: 2;\n -ms-grid-column: 2;\n}\n\n.r-grid.page-3-cols {\n grid-template-columns: var(--pageColWidthLeft) 1fr var(--pageColWidthRight);\n -ms-grid-columns: var(--pageColWidthLeft) 1fr var(--pageColWidthRight);\n grid-template-rows: auto 1fr;\n -ms-grid-template-rows: auto 1fr;\n}\n\n.r-grid.page-3-cols #r-left {\n grid-row: 2;\n grid-column: 1;\n -ms-grid-row: 2;\n -ms-grid-column: 1;\n}\n\n.r-grid.page-3-cols #r-main {\n margin: 0 30px;\n grid-row: 2;\n grid-column: 2;\n -ms-grid-row: 2;\n -ms-grid-column: 2;\n}\n\n.r-grid.page-3-cols #r-right {\n grid-row: 2;\n grid-column: 3;\n -ms-grid-row: 2;\n -ms-grid-column: 3;\n}\n\n#r-left,\n#r-right {\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n}\n\n#r-left .sticky,\n#r-right .sticky {\n position: -webkit-sticky;\n position: sticky;\n z-index: 1;\n bottom: var(--template-padding);\n min-height: var(--body-container-height);\n}\n\n#r-left .sticky .fixed,\n#r-right .sticky .fixed {\n position: fixed;\n}\n","",{version:3,sources:["webpack://./src/components/JRCThemeProvider/gabarit.css"],names:[],mappings:"AAAA;IACI,WAAW;AACf;;AAEA;IACI,WAAW;IACX,aAAa;IACb,yBAAyB;IACzB,0BAA0B;AAC9B;;AAEA;IACI,0BAA0B;IAC1B,qBAAqB;IACrB,4BAA4B;IAC5B,gCAAgC;AACpC;;AAEA;IACI,WAAW;IACX,cAAc;IACd,eAAe;IACf,kBAAkB;AACtB;;AAEA;IACI,kDAAkD;IAClD,6CAA6C;IAC7C,4BAA4B;IAC5B,gCAAgC;AACpC;;AAEA;IACI,WAAW;IACX,cAAc;IACd,eAAe;IACf,kBAAkB;AACtB;;AAEA;IACI,iBAAiB;IACjB,WAAW;IACX,cAAc;IACd,eAAe;IACf,kBAAkB;AACtB;;AAEA;IACI,2EAA2E;IAC3E,sEAAsE;IACtE,4BAA4B;IAC5B,gCAAgC;AACpC;;AAEA;IACI,WAAW;IACX,cAAc;IACd,eAAe;IACf,kBAAkB;AACtB;;AAEA;IACI,cAAc;IACd,WAAW;IACX,cAAc;IACd,eAAe;IACf,kBAAkB;AACtB;;AAEA;IACI,WAAW;IACX,cAAc;IACd,eAAe;IACf,kBAAkB;AACtB;;AAEA;;IAEI,aAAa;IACb,sBAAsB;IACtB,yBAAyB;AAC7B;;AAEA;;IAEI,wBAAwB;IACxB,gBAAgB;IAChB,UAAU;IACV,+BAA+B;IAC/B,wCAAwC;AAC5C;;AAEA;;IAEI,eAAe;AACnB",sourcesContent:[".react-reset {\n width: 100%;\n}\n\n.r-grid {\n width: 100%;\n display: grid;\n --pageColWidthLeft: 230px;\n --pageColWidthRight: 270px;\n}\n\n.r-grid.page-1-cols {\n grid-template-columns: 1fr;\n -ms-grid-columns: 1fr;\n grid-template-rows: auto 1fr;\n -ms-grid-template-rows: auto 1fr;\n}\n\n.r-grid.page-1-cols #r-main {\n grid-row: 2;\n grid-column: 1;\n -ms-grid-row: 2;\n -ms-grid-column: 1;\n}\n\n.r-grid.page-2-cols {\n grid-template-columns: var(--pageColWidthLeft) 1fr;\n -ms-grid-columns: var(--pageColWidthLeft) 1fr;\n grid-template-rows: auto 1fr;\n -ms-grid-template-rows: auto 1fr;\n}\n\n.r-grid.page-2-cols #r-left {\n grid-row: 2;\n grid-column: 1;\n -ms-grid-row: 2;\n -ms-grid-column: 1;\n}\n\n.r-grid.page-2-cols #r-main {\n margin-left: 30px;\n grid-row: 2;\n grid-column: 2;\n -ms-grid-row: 2;\n -ms-grid-column: 2;\n}\n\n.r-grid.page-3-cols {\n grid-template-columns: var(--pageColWidthLeft) 1fr var(--pageColWidthRight);\n -ms-grid-columns: var(--pageColWidthLeft) 1fr var(--pageColWidthRight);\n grid-template-rows: auto 1fr;\n -ms-grid-template-rows: auto 1fr;\n}\n\n.r-grid.page-3-cols #r-left {\n grid-row: 2;\n grid-column: 1;\n -ms-grid-row: 2;\n -ms-grid-column: 1;\n}\n\n.r-grid.page-3-cols #r-main {\n margin: 0 30px;\n grid-row: 2;\n grid-column: 2;\n -ms-grid-row: 2;\n -ms-grid-column: 2;\n}\n\n.r-grid.page-3-cols #r-right {\n grid-row: 2;\n grid-column: 3;\n -ms-grid-row: 2;\n -ms-grid-column: 3;\n}\n\n#r-left,\n#r-right {\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n}\n\n#r-left .sticky,\n#r-right .sticky {\n position: -webkit-sticky;\n position: sticky;\n z-index: 1;\n bottom: var(--template-padding);\n min-height: var(--body-container-height);\n}\n\n#r-left .sticky .fixed,\n#r-right .sticky .fixed {\n position: fixed;\n}\n"],sourceRoot:""}]);const s=a},5616:(e,t,n)=>{var r=n(8002);function i(e){this.mode=r.MODE_8BIT_BYTE,this.data=e}i.prototype={getLength:function(e){return this.data.length},write:function(e){for(var t=0;t<this.data.length;t++)e.put(this.data.charCodeAt(t),8)}},e.exports=i},5718:(e,t,n)=>{var r=n(2516),i=n(8605);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},5843:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,u=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case d:case u:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case h:case g:case m:case l:return e;default:return t}}case i:return t}}}function C(e){return w(e)===u}t.AsyncMode=d,t.ConcurrentMode=u,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=h,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return C(e)||w(e)===d},t.isConcurrentMode=C,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===h},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===s||e===a||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===h||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===v)},t.typeOf=w},5959:(e,t,n)=>{"use strict";e.exports=n(5843)},6007:(e,t,n)=>{"use strict";e.exports=n(4049)},6023:e=>{for(var t={glog:function(e){if(e<1)throw new Error("glog("+e+")");return t.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return t.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},n=0;n<8;n++)t.EXP_TABLE[n]=1<<n;for(n=8;n<256;n++)t.EXP_TABLE[n]=t.EXP_TABLE[n-4]^t.EXP_TABLE[n-5]^t.EXP_TABLE[n-6]^t.EXP_TABLE[n-8];for(n=0;n<255;n++)t.LOG_TABLE[t.EXP_TABLE[n]]=n;e.exports=t},6070:(e,t,n)=>{"use strict";e.exports=n(7462)},6170:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);r&&a[d[0]]||(void 0!==o&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=o),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),i&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=i):d[4]="".concat(i)),t.push(d))}},t}},6186:(e,t,n)=>{"use strict";var r=n(2985);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},6539:(e,t,n)=>{var r=n(2516),i=n(8370);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},6856:(e,t,n)=>{var r=n(2516),i=n(7629);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},6936:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case s:case a:case h:case p:return e;default:switch(e=e&&e.$$typeof){case d:case c:case u:case m:case f:case l:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference"),t.isContextConsumer=function(e){return v(e)===c},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===s||e===a||e===h||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===l||e.$$typeof===c||e.$$typeof===u||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=v},7304:e=>{function t(){this.buffer=new Array,this.length=0}t.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},7462:(e,t,n)=>{"use strict";var r=n(758),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,d=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:d,props:o,_owner:s.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},7500:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},7629:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(3434),i=n.n(r),o=n(6170),a=n.n(o)()(i());a.push([e.id,".react-icon[class^='icon-'],\n.react-icon[class*=' icon-'] {\n speak: none;\n font-style: normal;\n font-variant: normal;\n text-transform: none;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n","",{version:3,sources:["webpack://./src/components/JRCThemeProvider/fontawesome-icons.css"],names:[],mappings:"AAAA;;IAEI,WAAW;IACX,kBAAkB;IAClB,oBAAoB;IACpB,oBAAoB;IACpB,mCAAmC;IACnC,kCAAkC;AACtC",sourcesContent:[".react-icon[class^='icon-'],\n.react-icon[class*=' icon-'] {\n speak: none;\n font-style: normal;\n font-variant: normal;\n text-transform: none;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n"],sourceRoot:""}]);const s=a},7781:(e,t,n)=>{var r=n(2516),i=n(5568);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},7935:(e,t,n)=>{var r=n(2516),i=n(4212);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},8001:(e,t,n)=>{"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=d(n(2736)),o=d(n(5543)),a=d(n(1135)),s=n(758),l=d(s),c=d(n(682));function d(e){return e&&e.__esModule?e:{default:e}}var u={bgColor:i.default.oneOfType([i.default.object,i.default.string]),fgColor:i.default.oneOfType([i.default.object,i.default.string]),level:i.default.string,size:i.default.number,value:i.default.string.isRequired},h=(0,s.forwardRef)(function(e,t){var n=e.bgColor,i=void 0===n?"#FFFFFF":n,s=e.fgColor,d=void 0===s?"#000000":s,u=e.level,h=void 0===u?"L":u,p=e.size,f=void 0===p?256:p,m=e.value,g=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["bgColor","fgColor","level","size","value"]),v=new a.default(-1,o.default[h]);v.addData(m),v.make();var y=v.modules;return l.default.createElement(c.default,r({},g,{bgColor:i,bgD:y.map(function(e,t){return e.map(function(e,n){return e?"":"M "+n+" "+t+" l 1 0 0 1 -1 0 Z"}).join(" ")}).join(" "),fgColor:d,fgD:y.map(function(e,t){return e.map(function(e,n){return e?"M "+n+" "+t+" l 1 0 0 1 -1 0 Z":""}).join(" ")}).join(" "),ref:t,size:f,viewBoxSize:y.length}))});h.displayName="QRCode",h.propTypes=u,t.Ay=h},8002:e=>{e.exports={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8}},8143:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(9481)},8370:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(3434),i=n.n(r),o=n(6170),a=n.n(o)()(i());a.push([e.id,".wiggle {\n animation: 0.25s ease-in-out 0s 4 wiggle;\n}\n\n@keyframes wiggle {\n 0% {\n transform: rotate(0deg);\n }\n 25% {\n transform: rotate(10deg) scale(1.1);\n }\n 75% {\n transform: rotate(-10deg) scale(1.1);\n }\n 100% {\n transform: rotate(0deg);\n }\n}\n\n.scale-left {\n animation: scale var(--timeout, 1000ms) linear 0s 1;\n}\n\n@keyframes scale {\n from {\n width: 0;\n }\n to {\n width: 100%;\n }\n}\n\n.slide-right {\n animation: slide-right 1s;\n}\n\n@keyframes slide-right {\n from {\n opacity: 0;\n transform: translateX(75px);\n }\n to {\n opacity: 1;\n transform: translateX(0px);\n }\n}\n","",{version:3,sources:["webpack://./src/components/JRCThemeProvider/animation.css"],names:[],mappings:"AAAA;IACI,wCAAwC;AAC5C;;AAEA;IACI;QACI,uBAAuB;IAC3B;IACA;QACI,mCAAmC;IACvC;IACA;QACI,oCAAoC;IACxC;IACA;QACI,uBAAuB;IAC3B;AACJ;;AAEA;IACI,mDAAmD;AACvD;;AAEA;IACI;QACI,QAAQ;IACZ;IACA;QACI,WAAW;IACf;AACJ;;AAEA;IACI,yBAAyB;AAC7B;;AAEA;IACI;QACI,UAAU;QACV,2BAA2B;IAC/B;IACA;QACI,UAAU;QACV,0BAA0B;IAC9B;AACJ",sourcesContent:[".wiggle {\n animation: 0.25s ease-in-out 0s 4 wiggle;\n}\n\n@keyframes wiggle {\n 0% {\n transform: rotate(0deg);\n }\n 25% {\n transform: rotate(10deg) scale(1.1);\n }\n 75% {\n transform: rotate(-10deg) scale(1.1);\n }\n 100% {\n transform: rotate(0deg);\n }\n}\n\n.scale-left {\n animation: scale var(--timeout, 1000ms) linear 0s 1;\n}\n\n@keyframes scale {\n from {\n width: 0;\n }\n to {\n width: 100%;\n }\n}\n\n.slide-right {\n animation: slide-right 1s;\n}\n\n@keyframes slide-right {\n from {\n opacity: 0;\n transform: translateX(75px);\n }\n to {\n opacity: 1;\n transform: translateX(0px);\n }\n}\n"],sourceRoot:""}]);const s=a},8554:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(3434),i=n.n(r),o=n(6170),a=n.n(o)()(i());a.push([e.id,'@keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}:root{--rc-drag-handle-size: 12px;--rc-drag-handle-mobile-size: 24px;--rc-drag-handle-bg-colour: rgba(0, 0, 0, .2);--rc-drag-bar-size: 6px;--rc-border-color: rgba(255, 255, 255, .7);--rc-focus-color: #0088ff}.ReactCrop{position:relative;display:inline-block;cursor:crosshair;max-width:100%}.ReactCrop *,.ReactCrop *:before,.ReactCrop *:after{box-sizing:border-box}.ReactCrop--disabled,.ReactCrop--locked{cursor:inherit}.ReactCrop__child-wrapper{overflow:hidden;max-height:inherit}.ReactCrop__child-wrapper>img,.ReactCrop__child-wrapper>video{display:block;max-width:100%;max-height:inherit}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>img,.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>video{touch-action:none}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__crop-selection{touch-action:none}.ReactCrop__crop-mask{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;width:calc(100% + .5px);height:calc(100% + .5px)}.ReactCrop__crop-selection{position:absolute;top:0;left:0;transform:translateZ(0);cursor:move}.ReactCrop--disabled .ReactCrop__crop-selection{cursor:inherit}.ReactCrop--circular-crop .ReactCrop__crop-selection{border-radius:50%}.ReactCrop--circular-crop .ReactCrop__crop-selection:after{pointer-events:none;content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:1px solid var(--rc-border-color);opacity:.3}.ReactCrop--no-animate .ReactCrop__crop-selection{outline:1px dashed white}.ReactCrop__crop-selection:not(.ReactCrop--no-animate .ReactCrop__crop-selection){animation:marching-ants 1s;background-image:linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%);background-size:10px 1px,10px 1px,1px 10px,1px 10px;background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;color:#fff;animation-play-state:running;animation-timing-function:linear;animation-iteration-count:infinite}.ReactCrop__crop-selection:focus{outline:2px solid var(--rc-focus-color);outline-offset:-1px}.ReactCrop--invisible-crop .ReactCrop__crop-mask,.ReactCrop--invisible-crop .ReactCrop__crop-selection{display:none}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after,.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{content:"";display:block;position:absolute;background-color:#fff6}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after{width:1px;height:100%}.ReactCrop__rule-of-thirds-vt:before{left:33.3333333333%}.ReactCrop__rule-of-thirds-vt:after{left:66.6666666667%}.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{width:100%;height:1px}.ReactCrop__rule-of-thirds-hz:before{top:33.3333333333%}.ReactCrop__rule-of-thirds-hz:after{top:66.6666666667%}.ReactCrop__drag-handle{position:absolute;width:var(--rc-drag-handle-size);height:var(--rc-drag-handle-size);background-color:var(--rc-drag-handle-bg-colour);border:1px solid var(--rc-border-color)}.ReactCrop__drag-handle:focus{background:var(--rc-focus-color)}.ReactCrop .ord-nw{top:0;left:0;transform:translate(-50%,-50%);cursor:nw-resize}.ReactCrop .ord-n{top:0;left:50%;transform:translate(-50%,-50%);cursor:n-resize}.ReactCrop .ord-ne{top:0;right:0;transform:translate(50%,-50%);cursor:ne-resize}.ReactCrop .ord-e{top:50%;right:0;transform:translate(50%,-50%);cursor:e-resize}.ReactCrop .ord-se{bottom:0;right:0;transform:translate(50%,50%);cursor:se-resize}.ReactCrop .ord-s{bottom:0;left:50%;transform:translate(-50%,50%);cursor:s-resize}.ReactCrop .ord-sw{bottom:0;left:0;transform:translate(-50%,50%);cursor:sw-resize}.ReactCrop .ord-w{top:50%;left:0;transform:translate(-50%,-50%);cursor:w-resize}.ReactCrop__disabled .ReactCrop__drag-handle{cursor:inherit}.ReactCrop__drag-bar{position:absolute}.ReactCrop__drag-bar.ord-n{top:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(-50%)}.ReactCrop__drag-bar.ord-e{right:0;top:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(50%)}.ReactCrop__drag-bar.ord-s{bottom:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(50%)}.ReactCrop__drag-bar.ord-w{top:0;left:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(-50%)}.ReactCrop--new-crop .ReactCrop__drag-bar,.ReactCrop--new-crop .ReactCrop__drag-handle,.ReactCrop--fixed-aspect .ReactCrop__drag-bar,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w{display:none}@media (pointer: coarse){.ReactCrop .ord-n,.ReactCrop .ord-e,.ReactCrop .ord-s,.ReactCrop .ord-w{display:none}.ReactCrop__drag-handle{width:var(--rc-drag-handle-mobile-size);height:var(--rc-drag-handle-mobile-size)}}\n',"",{version:3,sources:["webpack://./node_modules/.pnpm/react-image-crop@11.0.10_react@18.3.1/node_modules/react-image-crop/dist/ReactCrop.css"],names:[],mappings:"AAAA,yBAAyB,GAAG,yCAAyC,CAAC,GAAG,uDAAuD,CAAC,CAAC,MAAM,2BAA2B,CAAC,kCAAkC,CAAC,6CAA6C,CAAC,uBAAuB,CAAC,0CAA0C,CAAC,yBAAyB,CAAC,WAAW,iBAAiB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,cAAc,CAAC,oDAAoD,qBAAqB,CAAC,wCAAwC,cAAc,CAAC,0BAA0B,eAAe,CAAC,kBAAkB,CAAC,8DAA8D,aAAa,CAAC,cAAc,CAAC,kBAAkB,CAAC,wIAAwI,iBAAiB,CAAC,gEAAgE,iBAAiB,CAAC,sBAAsB,iBAAiB,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,uBAAuB,CAAC,wBAAwB,CAAC,2BAA2B,iBAAiB,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,CAAC,WAAW,CAAC,gDAAgD,cAAc,CAAC,qDAAqD,iBAAiB,CAAC,2DAA2D,mBAAmB,CAAC,UAAU,CAAC,iBAAiB,CAAC,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,uCAAuC,CAAC,UAAU,CAAC,kDAAkD,wBAAwB,CAAC,kFAAkF,0BAA0B,CAAC,kMAAkM,CAAC,mDAAmD,CAAC,yCAAyC,CAAC,qDAAqD,CAAC,UAAU,CAAC,4BAA4B,CAAC,gCAAgC,CAAC,kCAAkC,CAAC,iCAAiC,uCAAuC,CAAC,mBAAmB,CAAC,uGAAuG,YAAY,CAAC,kJAAkJ,UAAU,CAAC,aAAa,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,yEAAyE,SAAS,CAAC,WAAW,CAAC,qCAAqC,mBAAmB,CAAC,oCAAoC,mBAAmB,CAAC,yEAAyE,UAAU,CAAC,UAAU,CAAC,qCAAqC,kBAAkB,CAAC,oCAAoC,kBAAkB,CAAC,wBAAwB,iBAAiB,CAAC,gCAAgC,CAAC,iCAAiC,CAAC,gDAAgD,CAAC,uCAAuC,CAAC,8BAA8B,gCAAgC,CAAC,mBAAmB,KAAK,CAAC,MAAM,CAAC,8BAA8B,CAAC,gBAAgB,CAAC,kBAAkB,KAAK,CAAC,QAAQ,CAAC,8BAA8B,CAAC,eAAe,CAAC,mBAAmB,KAAK,CAAC,OAAO,CAAC,6BAA6B,CAAC,gBAAgB,CAAC,kBAAkB,OAAO,CAAC,OAAO,CAAC,6BAA6B,CAAC,eAAe,CAAC,mBAAmB,QAAQ,CAAC,OAAO,CAAC,4BAA4B,CAAC,gBAAgB,CAAC,kBAAkB,QAAQ,CAAC,QAAQ,CAAC,6BAA6B,CAAC,eAAe,CAAC,mBAAmB,QAAQ,CAAC,MAAM,CAAC,6BAA6B,CAAC,gBAAgB,CAAC,kBAAkB,OAAO,CAAC,MAAM,CAAC,8BAA8B,CAAC,eAAe,CAAC,6CAA6C,cAAc,CAAC,qBAAqB,iBAAiB,CAAC,2BAA2B,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,8BAA8B,CAAC,0BAA0B,CAAC,2BAA2B,OAAO,CAAC,KAAK,CAAC,6BAA6B,CAAC,WAAW,CAAC,wBAAwB,CAAC,2BAA2B,QAAQ,CAAC,MAAM,CAAC,UAAU,CAAC,8BAA8B,CAAC,yBAAyB,CAAC,2BAA2B,KAAK,CAAC,MAAM,CAAC,6BAA6B,CAAC,WAAW,CAAC,yBAAyB,CAAC,iWAAiW,YAAY,CAAC,yBAAyB,wEAAwE,YAAY,CAAC,wBAAwB,uCAAuC,CAAC,wCAAwC,CAAC",sourcesContent:['@keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}:root{--rc-drag-handle-size: 12px;--rc-drag-handle-mobile-size: 24px;--rc-drag-handle-bg-colour: rgba(0, 0, 0, .2);--rc-drag-bar-size: 6px;--rc-border-color: rgba(255, 255, 255, .7);--rc-focus-color: #0088ff}.ReactCrop{position:relative;display:inline-block;cursor:crosshair;max-width:100%}.ReactCrop *,.ReactCrop *:before,.ReactCrop *:after{box-sizing:border-box}.ReactCrop--disabled,.ReactCrop--locked{cursor:inherit}.ReactCrop__child-wrapper{overflow:hidden;max-height:inherit}.ReactCrop__child-wrapper>img,.ReactCrop__child-wrapper>video{display:block;max-width:100%;max-height:inherit}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>img,.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>video{touch-action:none}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__crop-selection{touch-action:none}.ReactCrop__crop-mask{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;width:calc(100% + .5px);height:calc(100% + .5px)}.ReactCrop__crop-selection{position:absolute;top:0;left:0;transform:translateZ(0);cursor:move}.ReactCrop--disabled .ReactCrop__crop-selection{cursor:inherit}.ReactCrop--circular-crop .ReactCrop__crop-selection{border-radius:50%}.ReactCrop--circular-crop .ReactCrop__crop-selection:after{pointer-events:none;content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:1px solid var(--rc-border-color);opacity:.3}.ReactCrop--no-animate .ReactCrop__crop-selection{outline:1px dashed white}.ReactCrop__crop-selection:not(.ReactCrop--no-animate .ReactCrop__crop-selection){animation:marching-ants 1s;background-image:linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%);background-size:10px 1px,10px 1px,1px 10px,1px 10px;background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;color:#fff;animation-play-state:running;animation-timing-function:linear;animation-iteration-count:infinite}.ReactCrop__crop-selection:focus{outline:2px solid var(--rc-focus-color);outline-offset:-1px}.ReactCrop--invisible-crop .ReactCrop__crop-mask,.ReactCrop--invisible-crop .ReactCrop__crop-selection{display:none}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after,.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{content:"";display:block;position:absolute;background-color:#fff6}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after{width:1px;height:100%}.ReactCrop__rule-of-thirds-vt:before{left:33.3333333333%}.ReactCrop__rule-of-thirds-vt:after{left:66.6666666667%}.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{width:100%;height:1px}.ReactCrop__rule-of-thirds-hz:before{top:33.3333333333%}.ReactCrop__rule-of-thirds-hz:after{top:66.6666666667%}.ReactCrop__drag-handle{position:absolute;width:var(--rc-drag-handle-size);height:var(--rc-drag-handle-size);background-color:var(--rc-drag-handle-bg-colour);border:1px solid var(--rc-border-color)}.ReactCrop__drag-handle:focus{background:var(--rc-focus-color)}.ReactCrop .ord-nw{top:0;left:0;transform:translate(-50%,-50%);cursor:nw-resize}.ReactCrop .ord-n{top:0;left:50%;transform:translate(-50%,-50%);cursor:n-resize}.ReactCrop .ord-ne{top:0;right:0;transform:translate(50%,-50%);cursor:ne-resize}.ReactCrop .ord-e{top:50%;right:0;transform:translate(50%,-50%);cursor:e-resize}.ReactCrop .ord-se{bottom:0;right:0;transform:translate(50%,50%);cursor:se-resize}.ReactCrop .ord-s{bottom:0;left:50%;transform:translate(-50%,50%);cursor:s-resize}.ReactCrop .ord-sw{bottom:0;left:0;transform:translate(-50%,50%);cursor:sw-resize}.ReactCrop .ord-w{top:50%;left:0;transform:translate(-50%,-50%);cursor:w-resize}.ReactCrop__disabled .ReactCrop__drag-handle{cursor:inherit}.ReactCrop__drag-bar{position:absolute}.ReactCrop__drag-bar.ord-n{top:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(-50%)}.ReactCrop__drag-bar.ord-e{right:0;top:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(50%)}.ReactCrop__drag-bar.ord-s{bottom:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(50%)}.ReactCrop__drag-bar.ord-w{top:0;left:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(-50%)}.ReactCrop--new-crop .ReactCrop__drag-bar,.ReactCrop--new-crop .ReactCrop__drag-handle,.ReactCrop--fixed-aspect .ReactCrop__drag-bar,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w{display:none}@media (pointer: coarse){.ReactCrop .ord-n,.ReactCrop .ord-e,.ReactCrop .ord-s,.ReactCrop .ord-w{display:none}.ReactCrop__drag-handle{width:var(--rc-drag-handle-mobile-size);height:var(--rc-drag-handle-mobile-size)}}\n'],sourceRoot:""}]);const s=a},8605:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(3434),i=n.n(r),o=n(6170),a=n.n(o)()(i());a.push([e.id,".react-reset,\n.react-reset input,\n.react-reset input::placeholder,\n.react-reset textarea::placeholder,\n.react-reset button,\n.react-reset select,\n.react-reset textarea {\n font-family: var(--font-family);\n font-size: 14px;\n line-height: 1.5;\n font-weight: 400;\n}\n","",{version:3,sources:["webpack://./src/components/JRCThemeProvider/font.css"],names:[],mappings:"AAAA;;;;;;;IAOI,+BAA+B;IAC/B,eAAe;IACf,gBAAgB;IAChB,gBAAgB;AACpB",sourcesContent:[".react-reset,\n.react-reset input,\n.react-reset input::placeholder,\n.react-reset textarea::placeholder,\n.react-reset button,\n.react-reset select,\n.react-reset textarea {\n font-family: var(--font-family);\n font-size: 14px;\n line-height: 1.5;\n font-weight: 400;\n}\n"],sourceRoot:""}]);const s=a},9049:(e,t,n)=>{var r=n(8002),i=n(9363),o=n(6023),a={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;a.getBCHDigit(t)-a.getBCHDigit(a.G15)>=0;)t^=a.G15<<a.getBCHDigit(t)-a.getBCHDigit(a.G15);return(e<<10|t)^a.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;a.getBCHDigit(t)-a.getBCHDigit(a.G18)>=0;)t^=a.G18<<a.getBCHDigit(t)-a.getBCHDigit(a.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return a.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case 0:return(t+n)%2==0;case 1:return t%2==0;case 2:return n%3==0;case 3:return(t+n)%3==0;case 4:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case 5:return t*n%2+t*n%3==0;case 6:return(t*n%2+t*n%3)%2==0;case 7:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new i([1],0),n=0;n<e;n++)t=t.multiply(new i([1,o.gexp(n)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:case r.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,r=0;r<t;r++)for(var i=0;i<t;i++){for(var o=0,a=e.isDark(r,i),s=-1;s<=1;s++)if(!(r+s<0||t<=r+s))for(var l=-1;l<=1;l++)i+l<0||t<=i+l||0==s&&0==l||a==e.isDark(r+s,i+l)&&o++;o>5&&(n+=3+o-5)}for(r=0;r<t-1;r++)for(i=0;i<t-1;i++){var c=0;e.isDark(r,i)&&c++,e.isDark(r+1,i)&&c++,e.isDark(r,i+1)&&c++,e.isDark(r+1,i+1)&&c++,0!=c&&4!=c||(n+=3)}for(r=0;r<t;r++)for(i=0;i<t-6;i++)e.isDark(r,i)&&!e.isDark(r,i+1)&&e.isDark(r,i+2)&&e.isDark(r,i+3)&&e.isDark(r,i+4)&&!e.isDark(r,i+5)&&e.isDark(r,i+6)&&(n+=40);for(i=0;i<t;i++)for(r=0;r<t-6;r++)e.isDark(r,i)&&!e.isDark(r+1,i)&&e.isDark(r+2,i)&&e.isDark(r+3,i)&&e.isDark(r+4,i)&&!e.isDark(r+5,i)&&e.isDark(r+6,i)&&(n+=40);var d=0;for(i=0;i<t;i++)for(r=0;r<t;r++)e.isDark(r,i)&&d++;return n+Math.abs(100*d/t/t-50)/5*10}};e.exports=a},9363:(e,t,n)=>{var r=n(6023);function i(e,t){if(null==e.length)throw new Error(e.length+"/"+t);for(var n=0;n<e.length&&0==e[n];)n++;this.num=new Array(e.length-n+t);for(var r=0;r<e.length-n;r++)this.num[r]=e[r+n]}i.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),n=0;n<this.getLength();n++)for(var o=0;o<e.getLength();o++)t[n+o]^=r.gexp(r.glog(this.get(n))+r.glog(e.get(o)));return new i(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=r.glog(this.get(0))-r.glog(e.get(0)),n=new Array(this.getLength()),o=0;o<this.getLength();o++)n[o]=this.get(o);for(o=0;o<e.getLength();o++)n[o]^=r.gexp(r.glog(e.get(o))+t);return new i(n,0).mod(e)}},e.exports=i},9481:(e,t,n)=>{"use strict";var r=n(758),i=n(1896);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var d=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),u=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},f={};function m(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){g[e]=new m(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){g[e]=new m(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){g[e]=new m(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){g[e]=new m(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){g[e]=new m(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)});var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var i=g.hasOwnProperty(t)?g[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!u.call(f,e)||!u.call(p,e)&&(h.test(e)?f[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)}),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)});var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),C=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),E=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),M=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var I=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var O=Symbol.iterator;function L(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=O&&e[O]||e["@@iterator"])?e:null}var P,B=Object.assign;function N(e){if(void 0===P)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);P=t&&t[1]||""}return"\n"+P+e}var F=!1;function $(e,t){if(!e||F)return"";F=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s]){var l="\n"+i[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{F=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?N(e):""}function z(e){switch(e.tag){case 5:return N(e.type);case 16:return N("Lazy");case 13:return N("Suspense");case 19:return N("SuspenseList");case 0:case 2:case 15:return $(e.type,!1);case 11:return $(e.type.render,!1);case 1:return $(e.type,!0);default:return""}}function H(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case C:return"Portal";case k:return"Profiler";case A:return"StrictMode";case D:return"Suspense";case j:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case E:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:H(e.type)||"Memo";case M:t=e._payload,e=e._init;try{return H(e(t))}catch(e){}}return null}function U(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return H(t);case 8:return t===A?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function V(e){e._valueTracker||(e._valueTracker=function(e){var t=G(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=G(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return B({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Q(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Z(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function X(e,t){Z(e,t);var n=W(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function K(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+W(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return B({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:W(n)}}function oe(e,t){var n=W(t.value),r=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,de,ue=(de=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return de(e,t)})}:de);function he(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(pe).forEach(function(e){fe.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]})});var ve=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ce=null,Se=null,Ae=null;function ke(e){if(e=bi(e)){if("function"!=typeof Ce)throw Error(o(280));var t=e.stateNode;t&&(t=wi(t),Ce(e.stateNode,e.type,t))}}function _e(e){Se?Ae?Ae.push(e):Ae=[e]:Se=e}function Ee(){if(Se){var e=Se,t=Ae;if(Ae=Se=null,ke(e),t)for(e=0;e<t.length;e++)ke(t[e])}}function Te(e,t){return e(t)}function De(){}var je=!1;function Re(e,t,n){if(je)return e(t,n);je=!0;try{return Te(e,t,n)}finally{je=!1,(null!==Se||null!==Ae)&&(De(),Ee())}}function Me(e,t){var n=e.stateNode;if(null===n)return null;var r=wi(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Ie=!1;if(d)try{var Oe={};Object.defineProperty(Oe,"passive",{get:function(){Ie=!0}}),window.addEventListener("test",Oe,Oe),window.removeEventListener("test",Oe,Oe)}catch(de){Ie=!1}function Le(e,t,n,r,i,o,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var Pe=!1,Be=null,Ne=!1,Fe=null,$e={onError:function(e){Pe=!0,Be=e}};function ze(e,t,n,r,i,o,a,s,l){Pe=!1,Be=null,Le.apply($e,arguments)}function He(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ue(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function We(e){if(He(e)!==e)throw Error(o(188))}function Ge(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=He(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return We(i),e;if(a===r)return We(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?Ve(e):null}function Ve(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ve(e);if(null!==t)return t;e=e.sibling}return null}var qe=i.unstable_scheduleCallback,Ye=i.unstable_cancelCallback,Je=i.unstable_shouldYield,Qe=i.unstable_requestPaint,Ze=i.unstable_now,Xe=i.unstable_getCurrentPriorityLevel,Ke=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,nt=i.unstable_LowPriority,rt=i.unstable_IdlePriority,it=null,ot=null,at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2,ct=64,dt=4194304;function ut(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ht(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~i;0!==s?r=ut(s):0!==(o&=a)&&(r=ut(o))}else 0!==(a=n&~i)?r=ut(a):0!==o&&(r=ut(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&4194240&o))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-at(t)),r|=e[n],t&=~i;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ft(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return!(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var bt=0;function xt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var wt,Ct,St,At,kt,_t=!1,Et=[],Tt=null,Dt=null,jt=null,Rt=new Map,Mt=new Map,It=[],Ot="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Lt(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":Dt=null;break;case"mouseover":case"mouseout":jt=null;break;case"pointerover":case"pointerout":Rt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(t.pointerId)}}function Pt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&null!==(t=bi(t))&&Ct(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Bt(e){var t=yi(e.target);if(null!==t){var n=He(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void kt(e.priority,function(){St(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Nt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=bi(n))&&Ct(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);xe=r,n.target.dispatchEvent(r),xe=null,t.shift()}return!0}function Ft(e,t,n){Nt(e)&&n.delete(t)}function $t(){_t=!1,null!==Tt&&Nt(Tt)&&(Tt=null),null!==Dt&&Nt(Dt)&&(Dt=null),null!==jt&&Nt(jt)&&(jt=null),Rt.forEach(Ft),Mt.forEach(Ft)}function zt(e,t){e.blockedOn===t&&(e.blockedOn=null,_t||(_t=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,$t)))}function Ht(e){function t(t){return zt(t,e)}if(0<Et.length){zt(Et[0],e);for(var n=1;n<Et.length;n++){var r=Et[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&zt(Tt,e),null!==Dt&&zt(Dt,e),null!==jt&&zt(jt,e),Rt.forEach(t),Mt.forEach(t),n=0;n<It.length;n++)(r=It[n]).blockedOn===e&&(r.blockedOn=null);for(;0<It.length&&null===(n=It[0]).blockedOn;)Bt(n),null===n.blockedOn&&It.shift()}var Ut=x.ReactCurrentBatchConfig,Wt=!0;function Gt(e,t,n,r){var i=bt,o=Ut.transition;Ut.transition=null;try{bt=1,qt(e,t,n,r)}finally{bt=i,Ut.transition=o}}function Vt(e,t,n,r){var i=bt,o=Ut.transition;Ut.transition=null;try{bt=4,qt(e,t,n,r)}finally{bt=i,Ut.transition=o}}function qt(e,t,n,r){if(Wt){var i=Jt(e,t,n,r);if(null===i)Wr(e,t,r,Yt,n),Lt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Tt=Pt(Tt,e,t,n,r,i),!0;case"dragenter":return Dt=Pt(Dt,e,t,n,r,i),!0;case"mouseover":return jt=Pt(jt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Rt.set(o,Pt(Rt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Mt.set(o,Pt(Mt.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Lt(e,r),4&t&&-1<Ot.indexOf(e)){for(;null!==i;){var o=bi(i);if(null!==o&&wt(o),null===(o=Jt(e,t,n,r))&&Wr(e,t,r,Yt,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Wr(e,t,r,null,n)}}var Yt=null;function Jt(e,t,n,r){if(Yt=null,null!==(e=yi(e=we(r))))if(null===(t=He(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yt=e,null}function Qt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Ke:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Zt=null,Xt=null,Kt=null;function en(){if(Kt)return Kt;var e,t,n=Xt,r=n.length,i="value"in Zt?Zt.value:Zt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Kt=i.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return B(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dn=on(cn),un=B({},cn,{view:0,detail:0}),hn=on(un),pn=B({},un,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),fn=on(pn),mn=on(B({},pn,{dataTransfer:0})),gn=on(B({},un,{relatedTarget:0})),vn=on(B({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=B({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),xn=on(B({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function An(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function kn(){return An}var _n=B({},un,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Cn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),En=on(_n),Tn=on(B({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Dn=on(B({},un,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kn})),jn=on(B({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=B({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mn=on(Rn),In=[9,13,27,32],On=d&&"CompositionEvent"in window,Ln=null;d&&"documentMode"in document&&(Ln=document.documentMode);var Pn=d&&"TextEvent"in window&&!Ln,Bn=d&&(!On||Ln&&8<Ln&&11>=Ln),Nn=String.fromCharCode(32),Fn=!1;function $n(e,t){switch(e){case"keyup":return-1!==In.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1,Un={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Gn(e,t,n,r){_e(r),0<(t=Vr(t,"onChange")).length&&(n=new dn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,qn=null;function Yn(e){Nr(e,0)}function Jn(e){if(q(xi(e)))return e}function Qn(e,t){if("change"===e)return t}var Zn=!1;if(d){var Xn;if(d){var Kn="oninput"in document;if(!Kn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Kn="function"==typeof er.oninput}Xn=Kn}else Xn=!1;Zn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Vn&&(Vn.detachEvent("onpropertychange",nr),qn=Vn=null)}function nr(e){if("value"===e.propertyName&&Jn(qn)){var t=[];Gn(t,qn,e,we(e)),Re(Yn,t)}}function rr(e,t,n){"focusin"===e?(tr(),qn=n,(Vn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Jn(qn)}function or(e,t){if("click"===e)return Jn(t)}function ar(e,t){if("input"===e||"change"===e)return Jn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!u.call(t,i)||!sr(e[i],t[i]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dr(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function ur(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?ur(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function fr(e){var t=hr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ur(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=dr(n,o);var a=dr(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=d&&"documentMode"in document&&11>=document.documentMode,gr=null,vr=null,yr=null,br=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==Y(r)||(r="selectionStart"in(r=gr)&&pr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&lr(yr,r)||(yr=r,0<(r=Vr(vr,"onSelect")).length&&(t=new dn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Cr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},Sr={},Ar={};function kr(e){if(Sr[e])return Sr[e];if(!Cr[e])return e;var t,n=Cr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ar)return Sr[e]=n[t];return e}d&&(Ar=document.createElement("div").style,"AnimationEvent"in window||(delete Cr.animationend.animation,delete Cr.animationiteration.animation,delete Cr.animationstart.animation),"TransitionEvent"in window||delete Cr.transitionend.transition);var _r=kr("animationend"),Er=kr("animationiteration"),Tr=kr("animationstart"),Dr=kr("transitionend"),jr=new Map,Rr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(e,t){jr.set(e,t),l(t,[e])}for(var Ir=0;Ir<Rr.length;Ir++){var Or=Rr[Ir];Mr(Or.toLowerCase(),"on"+(Or[0].toUpperCase()+Or.slice(1)))}Mr(_r,"onAnimationEnd"),Mr(Er,"onAnimationIteration"),Mr(Tr,"onAnimationStart"),Mr("dblclick","onDoubleClick"),Mr("focusin","onFocus"),Mr("focusout","onBlur"),Mr(Dr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Pr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lr));function Br(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,a,s,l,c){if(ze.apply(this,arguments),Pe){if(!Pe)throw Error(o(198));var d=Be;Pe=!1,Be=null,Ne||(Ne=!0,Fe=d)}}(r,t,void 0,e),e.currentTarget=null}function Nr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;Br(i,s,c),o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;Br(i,s,c),o=l}}}if(Ne)throw e=Fe,Ne=!1,Fe=null,e}function Fr(e,t){var n=t[mi];void 0===n&&(n=t[mi]=new Set);var r=e+"__bubble";n.has(r)||(Ur(t,e,2,!1),n.add(r))}function $r(e,t,n){var r=0;t&&(r|=4),Ur(n,e,r,t)}var zr="_reactListening"+Math.random().toString(36).slice(2);function Hr(e){if(!e[zr]){e[zr]=!0,a.forEach(function(t){"selectionchange"!==t&&(Pr.has(t)||$r(t,!1,e),$r(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[zr]||(t[zr]=!0,$r("selectionchange",!1,t))}}function Ur(e,t,n,r){switch(Qt(t)){case 1:var i=Gt;break;case 4:i=Vt;break;default:i=qt}n=i.bind(null,t,n,e),i=void 0,!Ie||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Wr(e,t,n,r,i){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=yi(s)))return;if(5===(l=a.tag)||6===l){r=o=a;continue e}s=s.parentNode}}r=r.return}Re(function(){var r=o,i=we(n),a=[];e:{var s=jr.get(e);if(void 0!==s){var l=dn,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=En;break;case"focusin":c="focus",l=gn;break;case"focusout":c="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=fn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Dn;break;case _r:case Er:case Tr:l=vn;break;case Dr:l=jn;break;case"scroll":l=hn;break;case"wheel":l=Mn;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Tn}var d=!!(4&t),u=!d&&"scroll"===e,h=d?null!==s?s+"Capture":null:s;d=[];for(var p,f=r;null!==f;){var m=(p=f).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==h&&null!=(m=Me(f,h))&&d.push(Gr(f,m,p))),u)break;f=f.return}0<d.length&&(s=new l(s,c,null,n,i),a.push({event:s,listeners:d}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===xe||!(c=n.relatedTarget||n.fromElement)||!yi(c)&&!c[fi])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?yi(c):null)&&(c!==(u=He(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(d=fn,m="onMouseLeave",h="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(d=Tn,m="onPointerLeave",h="onPointerEnter",f="pointer"),u=null==l?s:xi(l),p=null==c?s:xi(c),(s=new d(m,f+"leave",l,n,i)).target=u,s.relatedTarget=p,m=null,yi(i)===r&&((d=new d(h,f+"enter",c,n,i)).target=p,d.relatedTarget=u,m=d),u=m,l&&c)e:{for(h=c,f=0,p=d=l;p;p=qr(p))f++;for(p=0,m=h;m;m=qr(m))p++;for(;0<f-p;)d=qr(d),f--;for(;0<p-f;)h=qr(h),p--;for(;f--;){if(d===h||null!==h&&d===h.alternate)break e;d=qr(d),h=qr(h)}d=null}else d=null;null!==l&&Yr(a,s,l,d,!1),null!==c&&null!==u&&Yr(a,u,c,d,!0)}if("select"===(l=(s=r?xi(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Qn;else if(Wn(s))if(Zn)g=ar;else{g=ir;var v=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=or);switch(g&&(g=g(e,r))?Gn(a,g,n,i):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&ee(s,"number",s.value)),v=r?xi(r):window,e){case"focusin":(Wn(v)||"true"===v.contentEditable)&&(gr=v,vr=r,yr=null);break;case"focusout":yr=vr=gr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,xr(a,n,i);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":xr(a,n,i)}var y;if(On)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Hn?$n(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Bn&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Hn&&(y=en()):(Xt="value"in(Zt=i)?Zt.value:Zt.textContent,Hn=!0)),0<(v=Vr(r,b)).length&&(b=new xn(b,e,null,n,i),a.push({event:b,listeners:v}),(y||null!==(y=zn(n)))&&(b.data=y))),(y=Pn?function(e,t){switch(e){case"compositionend":return zn(t);case"keypress":return 32!==t.which?null:(Fn=!0,Nn);case"textInput":return(e=t.data)===Nn&&Fn?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!On&&$n(e,t)?(e=en(),Kt=Xt=Zt=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Bn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Vr(r,"onBeforeInput")).length&&(i=new xn("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=y)}Nr(a,t)})}function Gr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Me(e,n))&&r.unshift(Gr(e,o,i)),null!=(o=Me(e,t))&&r.push(Gr(e,o,i))),e=e.return}return r}function qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,i?null!=(l=Me(n,o))&&a.unshift(Gr(n,l,s)):i||null!=(l=Me(n,o))&&a.push(Gr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Jr=/\r\n?/g,Qr=/\u0000|\uFFFD/g;function Zr(e){return("string"==typeof e?e:""+e).replace(Jr,"\n").replace(Qr,"")}function Xr(e,t,n){if(t=Zr(t),Zr(e)!==t&&n)throw Error(o(425))}function Kr(){}var ei=null,ti=null;function ni(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ri="function"==typeof setTimeout?setTimeout:void 0,ii="function"==typeof clearTimeout?clearTimeout:void 0,oi="function"==typeof Promise?Promise:void 0,ai="function"==typeof queueMicrotask?queueMicrotask:void 0!==oi?function(e){return oi.resolve(null).then(e).catch(si)}:ri;function si(e){setTimeout(function(){throw e})}function li(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void Ht(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Ht(t)}function ci(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function di(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var ui=Math.random().toString(36).slice(2),hi="__reactFiber$"+ui,pi="__reactProps$"+ui,fi="__reactContainer$"+ui,mi="__reactEvents$"+ui,gi="__reactListeners$"+ui,vi="__reactHandles$"+ui;function yi(e){var t=e[hi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[fi]||n[hi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=di(e);null!==e;){if(n=e[hi])return n;e=di(e)}return t}n=(e=n).parentNode}return null}function bi(e){return!(e=e[hi]||e[fi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function xi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function wi(e){return e[pi]||null}var Ci=[],Si=-1;function Ai(e){return{current:e}}function ki(e){0>Si||(e.current=Ci[Si],Ci[Si]=null,Si--)}function _i(e,t){Si++,Ci[Si]=e.current,e.current=t}var Ei={},Ti=Ai(Ei),Di=Ai(!1),ji=Ei;function Ri(e,t){var n=e.type.contextTypes;if(!n)return Ei;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Mi(e){return null!=e.childContextTypes}function Ii(){ki(Di),ki(Ti)}function Oi(e,t,n){if(Ti.current!==Ei)throw Error(o(168));_i(Ti,t),_i(Di,n)}function Li(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(o(108,U(e)||"Unknown",i));return B({},n,r)}function Pi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ei,ji=Ti.current,_i(Ti,e),_i(Di,Di.current),!0}function Bi(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Li(e,t,ji),r.__reactInternalMemoizedMergedChildContext=e,ki(Di),ki(Ti),_i(Ti,e)):ki(Di),_i(Di,n)}var Ni=null,Fi=!1,$i=!1;function zi(e){null===Ni?Ni=[e]:Ni.push(e)}function Hi(){if(!$i&&null!==Ni){$i=!0;var e=0,t=bt;try{var n=Ni;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ni=null,Fi=!1}catch(t){throw null!==Ni&&(Ni=Ni.slice(e+1)),qe(Ke,Hi),t}finally{bt=t,$i=!1}}return null}var Ui=[],Wi=0,Gi=null,Vi=0,qi=[],Yi=0,Ji=null,Qi=1,Zi="";function Xi(e,t){Ui[Wi++]=Vi,Ui[Wi++]=Gi,Gi=e,Vi=t}function Ki(e,t,n){qi[Yi++]=Qi,qi[Yi++]=Zi,qi[Yi++]=Ji,Ji=e;var r=Qi;e=Zi;var i=32-at(r)-1;r&=~(1<<i),n+=1;var o=32-at(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Qi=1<<32-at(t)+i|n<<i|r,Zi=o+e}else Qi=1<<o|n<<i|r,Zi=e}function eo(e){null!==e.return&&(Xi(e,1),Ki(e,1,0))}function to(e){for(;e===Gi;)Gi=Ui[--Wi],Ui[Wi]=null,Vi=Ui[--Wi],Ui[Wi]=null;for(;e===Ji;)Ji=qi[--Yi],qi[Yi]=null,Zi=qi[--Yi],qi[Yi]=null,Qi=qi[--Yi],qi[Yi]=null}var no=null,ro=null,io=!1,oo=null;function ao(e,t){var n=Rc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ci(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ji?{id:Qi,overflow:Zi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Rc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function lo(e){return!(!(1&e.mode)||128&e.flags)}function co(e){if(io){var t=ro;if(t){var n=t;if(!so(e,t)){if(lo(e))throw Error(o(418));t=ci(n.nextSibling);var r=no;t&&so(e,t)?ao(r,n):(e.flags=-4097&e.flags|2,io=!1,no=e)}}else{if(lo(e))throw Error(o(418));e.flags=-4097&e.flags|2,io=!1,no=e}}}function uo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function ho(e){if(e!==no)return!1;if(!io)return uo(e),io=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ni(e.type,e.memoizedProps)),t&&(t=ro)){if(lo(e))throw po(),Error(o(418));for(;t;)ao(e,t),t=ci(t.nextSibling)}if(uo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ci(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ci(e.stateNode.nextSibling):null;return!0}function po(){for(var e=ro;e;)e=ci(e.nextSibling)}function fo(){ro=no=null,io=!1}function mo(e){null===oo?oo=[e]:oo.push(e)}var go=x.ReactCurrentBatchConfig;function vo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=i.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function yo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bo(e){return(0,e._init)(e._payload)}function xo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Ic(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Bc(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===S?u(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===M&&bo(o)===t.type)?((r=i(t,n.props)).ref=vo(e,t,n),r.return=e,r):((r=Oc(n.type,n.key,n.props,null,e.mode,r)).ref=vo(e,t,n),r.return=e,r)}function d(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Nc(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function u(e,t,n,r,o){return null===t||7!==t.tag?((t=Lc(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function h(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Bc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Oc(t.type,t.key,t.props,null,e.mode,n)).ref=vo(e,null,t),n.return=e,n;case C:return(t=Nc(t,e.mode,n)).return=e,t;case M:return h(e,(0,t._init)(t._payload),n)}if(te(t)||L(t))return(t=Lc(t,e.mode,n,null)).return=e,t;yo(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===i?c(e,t,n,r):null;case C:return n.key===i?d(e,t,n,r):null;case M:return p(e,t,(i=n._init)(n._payload),r)}if(te(n)||L(n))return null!==i?null:u(e,t,n,r,null);yo(e,n)}return null}function f(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case C:return d(t,e=e.get(null===r.key?n:r.key)||null,r,i);case M:return f(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||L(r))return u(t,e=e.get(n)||null,r,i,null);yo(t,r)}return null}function m(i,o,s,l){for(var c=null,d=null,u=o,m=o=0,g=null;null!==u&&m<s.length;m++){u.index>m?(g=u,u=null):g=u.sibling;var v=p(i,u,s[m],l);if(null===v){null===u&&(u=g);break}e&&u&&null===v.alternate&&t(i,u),o=a(v,o,m),null===d?c=v:d.sibling=v,d=v,u=g}if(m===s.length)return n(i,u),io&&Xi(i,m),c;if(null===u){for(;m<s.length;m++)null!==(u=h(i,s[m],l))&&(o=a(u,o,m),null===d?c=u:d.sibling=u,d=u);return io&&Xi(i,m),c}for(u=r(i,u);m<s.length;m++)null!==(g=f(u,i,m,s[m],l))&&(e&&null!==g.alternate&&u.delete(null===g.key?m:g.key),o=a(g,o,m),null===d?c=g:d.sibling=g,d=g);return e&&u.forEach(function(e){return t(i,e)}),io&&Xi(i,m),c}function g(i,s,l,c){var d=L(l);if("function"!=typeof d)throw Error(o(150));if(null==(l=d.call(l)))throw Error(o(151));for(var u=d=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=p(i,m,y.value,c);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(i,m),s=a(b,s,g),null===u?d=b:u.sibling=b,u=b,m=v}if(y.done)return n(i,m),io&&Xi(i,g),d;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=h(i,y.value,c))&&(s=a(y,s,g),null===u?d=y:u.sibling=y,u=y);return io&&Xi(i,g),d}for(m=r(i,m);!y.done;g++,y=l.next())null!==(y=f(m,i,g,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=a(y,s,g),null===u?d=y:u.sibling=y,u=y);return e&&m.forEach(function(e){return t(i,e)}),io&&Xi(i,g),d}return function e(r,o,a,l){if("object"==typeof a&&null!==a&&a.type===S&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var c=a.key,d=o;null!==d;){if(d.key===c){if((c=a.type)===S){if(7===d.tag){n(r,d.sibling),(o=i(d,a.props.children)).return=r,r=o;break e}}else if(d.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===M&&bo(c)===d.type){n(r,d.sibling),(o=i(d,a.props)).ref=vo(r,d,a),o.return=r,r=o;break e}n(r,d);break}t(r,d),d=d.sibling}a.type===S?((o=Lc(a.props.children,r.mode,l,a.key)).return=r,r=o):((l=Oc(a.type,a.key,a.props,null,r.mode,l)).ref=vo(r,o,a),l.return=r,r=l)}return s(r);case C:e:{for(d=a.key;null!==o;){if(o.key===d){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(r,o.sibling),(o=i(o,a.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Nc(a,r.mode,l)).return=r,r=o}return s(r);case M:return e(r,o,(d=a._init)(a._payload),l)}if(te(a))return m(r,o,a,l);if(L(a))return g(r,o,a,l);yo(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,a)).return=r,r=o):(n(r,o),(o=Bc(a,r.mode,l)).return=r,r=o),s(r)):n(r,o)}}var wo=xo(!0),Co=xo(!1),So=Ai(null),Ao=null,ko=null,_o=null;function Eo(){_o=ko=Ao=null}function To(e){var t=So.current;ki(So),e._currentValue=t}function Do(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function jo(e,t){Ao=e,_o=ko=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(bs=!0),e.firstContext=null)}function Ro(e){var t=e._currentValue;if(_o!==e)if(e={context:e,memoizedValue:t,next:null},null===ko){if(null===Ao)throw Error(o(308));ko=e,Ao.dependencies={lanes:0,firstContext:e}}else ko=ko.next=e;return t}var Mo=null;function Io(e){null===Mo?Mo=[e]:Mo.push(e)}function Oo(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Io(t)):(n.next=i.next,i.next=n),t.interleaved=n,Lo(e,r)}function Lo(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Po=!1;function Bo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function No(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Fo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function $o(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Tl){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Lo(e,n)}return null===(i=r.interleaved)?(t.next=t,Io(r)):(t.next=i.next,i.next=t),r.interleaved=t,Lo(e,n)}function zo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Ho(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Uo(e,t,n,r){var i=e.updateQueue;Po=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?o=c:a.next=c,a=l;var d=e.alternate;null!==d&&(s=(d=d.updateQueue).lastBaseUpdate)!==a&&(null===s?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=l)}if(null!==o){var u=i.baseState;for(a=0,d=c=l=null,s=o;;){var h=s.lane,p=s.eventTime;if((r&h)===h){null!==d&&(d=d.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var f=e,m=s;switch(h=t,p=n,m.tag){case 1:if("function"==typeof(f=m.payload)){u=f.call(p,u,h);break e}u=f;break e;case 3:f.flags=-65537&f.flags|128;case 0:if(null==(h="function"==typeof(f=m.payload)?f.call(p,u,h):f))break e;u=B({},u,h);break e;case 2:Po=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(h=i.effects)?i.effects=[s]:h.push(s))}else p={eventTime:p,lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===d?(c=d=p,l=u):d=d.next=p,a|=h;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(h=s).next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}if(null===d&&(l=u),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=d,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);Pl|=a,e.lanes=a,e.memoizedState=u}}function Wo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(o(191,i));i.call(r)}}}var Go={},Vo=Ai(Go),qo=Ai(Go),Yo=Ai(Go);function Jo(e){if(e===Go)throw Error(o(174));return e}function Qo(e,t){switch(_i(Yo,t),_i(qo,e),_i(Vo,Go),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ki(Vo),_i(Vo,t)}function Zo(){ki(Vo),ki(qo),ki(Yo)}function Xo(e){Jo(Yo.current);var t=Jo(Vo.current),n=le(t,e.type);t!==n&&(_i(qo,e),_i(Vo,n))}function Ko(e){qo.current===e&&(ki(Vo),ki(qo))}var ea=Ai(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var na=[];function ra(){for(var e=0;e<na.length;e++)na[e]._workInProgressVersionPrimary=null;na.length=0}var ia=x.ReactCurrentDispatcher,oa=x.ReactCurrentBatchConfig,aa=0,sa=null,la=null,ca=null,da=!1,ua=!1,ha=0,pa=0;function fa(){throw Error(o(321))}function ma(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ga(e,t,n,r,i,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ia.current=null===e||null===e.memoizedState?Ka:es,e=n(r,i),ua){a=0;do{if(ua=!1,ha=0,25<=a)throw Error(o(301));a+=1,ca=la=null,t.updateQueue=null,ia.current=ts,e=n(r,i)}while(ua)}if(ia.current=Xa,t=null!==la&&null!==la.next,aa=0,ca=la=sa=null,da=!1,t)throw Error(o(300));return e}function va(){var e=0!==ha;return ha=0,e}function ya(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?sa.memoizedState=ca=e:ca=ca.next=e,ca}function ba(){if(null===la){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=la.next;var t=null===ca?sa.memoizedState:ca.next;if(null!==t)ca=t,la=e;else{if(null===e)throw Error(o(310));e={memoizedState:(la=e).memoizedState,baseState:la.baseState,baseQueue:la.baseQueue,queue:la.queue,next:null},null===ca?sa.memoizedState=ca=e:ca=ca.next=e}return ca}function xa(e,t){return"function"==typeof t?t(e):t}function wa(e){var t=ba(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=la,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(null!==i){a=i.next,r=r.baseState;var l=s=null,c=null,d=a;do{var u=d.lane;if((aa&u)===u)null!==c&&(c=c.next={lane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),r=d.hasEagerState?d.eagerState:e(r,d.action);else{var h={lane:u,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null};null===c?(l=c=h,s=r):c=c.next=h,sa.lanes|=u,Pl|=u}d=d.next}while(null!==d&&d!==a);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(bs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{a=i.lane,sa.lanes|=a,Pl|=a,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ca(e){var t=ba(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);sr(a,t.memoizedState)||(bs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Sa(){}function Aa(e,t){var n=sa,r=ba(),i=t(),a=!sr(r.memoizedState,i);if(a&&(r.memoizedState=i,bs=!0),r=r.queue,Pa(Ea.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ca&&1&ca.memoizedState.tag){if(n.flags|=2048,Ra(9,_a.bind(null,n,r,i,t),void 0,null),null===Dl)throw Error(o(349));30&aa||ka(n,t,i)}return i}function ka(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function _a(e,t,n,r){t.value=n,t.getSnapshot=r,Ta(t)&&Da(e)}function Ea(e,t,n){return n(function(){Ta(t)&&Da(e)})}function Ta(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function Da(e){var t=Lo(e,1);null!==t&&nc(t,e,1,-1)}function ja(e){var t=ya();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:xa,lastRenderedState:e},t.queue=e,e=e.dispatch=Ya.bind(null,sa,e),[t.memoizedState,e]}function Ra(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ma(){return ba().memoizedState}function Ia(e,t,n,r){var i=ya();sa.flags|=e,i.memoizedState=Ra(1|t,n,void 0,void 0===r?null:r)}function Oa(e,t,n,r){var i=ba();r=void 0===r?null:r;var o=void 0;if(null!==la){var a=la.memoizedState;if(o=a.destroy,null!==r&&ma(r,a.deps))return void(i.memoizedState=Ra(t,n,o,r))}sa.flags|=e,i.memoizedState=Ra(1|t,n,o,r)}function La(e,t){return Ia(8390656,8,e,t)}function Pa(e,t){return Oa(2048,8,e,t)}function Ba(e,t){return Oa(4,2,e,t)}function Na(e,t){return Oa(4,4,e,t)}function Fa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function $a(e,t,n){return n=null!=n?n.concat([e]):null,Oa(4,4,Fa.bind(null,t,e),n)}function za(){}function Ha(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ua(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Wa(e,t,n){return 21&aa?(sr(n,t)||(n=mt(),sa.lanes|=n,Pl|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,bs=!0),e.memoizedState=n)}function Ga(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=oa.transition;oa.transition={};try{e(!1),t()}finally{bt=n,oa.transition=r}}function Va(){return ba().memoizedState}function qa(e,t,n){var r=tc(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ja(e)?Qa(t,n):null!==(n=Oo(e,t,n,r))&&(nc(n,e,r,ec()),Za(n,t,r))}function Ya(e,t,n){var r=tc(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ja(e))Qa(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,sr(s,a)){var l=t.interleaved;return null===l?(i.next=i,Io(t)):(i.next=l.next,l.next=i),void(t.interleaved=i)}}catch(e){}null!==(n=Oo(e,t,i,r))&&(nc(n,e,r,i=ec()),Za(n,t,r))}}function Ja(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Qa(e,t){ua=da=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Za(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var Xa={readContext:Ro,useCallback:fa,useContext:fa,useEffect:fa,useImperativeHandle:fa,useInsertionEffect:fa,useLayoutEffect:fa,useMemo:fa,useReducer:fa,useRef:fa,useState:fa,useDebugValue:fa,useDeferredValue:fa,useTransition:fa,useMutableSource:fa,useSyncExternalStore:fa,useId:fa,unstable_isNewReconciler:!1},Ka={readContext:Ro,useCallback:function(e,t){return ya().memoizedState=[e,void 0===t?null:t],e},useContext:Ro,useEffect:La,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ia(4194308,4,Fa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ia(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ia(4,2,e,t)},useMemo:function(e,t){var n=ya();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ya();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=qa.bind(null,sa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ya().memoizedState=e},useState:ja,useDebugValue:za,useDeferredValue:function(e){return ya().memoizedState=e},useTransition:function(){var e=ja(!1),t=e[0];return e=Ga.bind(null,e[1]),ya().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=sa,i=ya();if(io){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Dl)throw Error(o(349));30&aa||ka(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,La(Ea.bind(null,r,a,e),[e]),r.flags|=2048,Ra(9,_a.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=ya(),t=Dl.identifierPrefix;if(io){var n=Zi;t=":"+t+"R"+(n=(Qi&~(1<<32-at(Qi)-1)).toString(32)+n),0<(n=ha++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=pa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Ro,useCallback:Ha,useContext:Ro,useEffect:Pa,useImperativeHandle:$a,useInsertionEffect:Ba,useLayoutEffect:Na,useMemo:Ua,useReducer:wa,useRef:Ma,useState:function(){return wa(xa)},useDebugValue:za,useDeferredValue:function(e){return Wa(ba(),la.memoizedState,e)},useTransition:function(){return[wa(xa)[0],ba().memoizedState]},useMutableSource:Sa,useSyncExternalStore:Aa,useId:Va,unstable_isNewReconciler:!1},ts={readContext:Ro,useCallback:Ha,useContext:Ro,useEffect:Pa,useImperativeHandle:$a,useInsertionEffect:Ba,useLayoutEffect:Na,useMemo:Ua,useReducer:Ca,useRef:Ma,useState:function(){return Ca(xa)},useDebugValue:za,useDeferredValue:function(e){var t=ba();return null===la?t.memoizedState=e:Wa(t,la.memoizedState,e)},useTransition:function(){return[Ca(xa)[0],ba().memoizedState]},useMutableSource:Sa,useSyncExternalStore:Aa,useId:Va,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=B({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:B({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var is={isMounted:function(e){return!!(e=e._reactInternals)&&He(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ec(),i=tc(e),o=Fo(r,i);o.payload=t,null!=n&&(o.callback=n),null!==(t=$o(e,o,i))&&(nc(t,e,i,r),zo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ec(),i=tc(e),o=Fo(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=$o(e,o,i))&&(nc(t,e,i,r),zo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ec(),r=tc(e),i=Fo(n,r);i.tag=2,null!=t&&(i.callback=t),null!==(t=$o(e,i,r))&&(nc(t,e,r,n),zo(t,e,r))}};function os(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&lr(n,r)&&lr(i,o))}function as(e,t,n){var r=!1,i=Ei,o=t.contextType;return"object"==typeof o&&null!==o?o=Ro(o):(i=Mi(t)?ji:Ti.current,o=(r=null!=(r=t.contextTypes))?Ri(e,i):Ei),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=is,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function ss(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&is.enqueueReplaceState(t,t.state,null)}function ls(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Bo(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=Ro(o):(o=Mi(t)?ji:Ti.current,i.context=Ri(e,o)),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(rs(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&is.enqueueReplaceState(i,i.state,null),Uo(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function cs(e,t){try{var n="",r=t;do{n+=z(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function us(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var hs="function"==typeof WeakMap?WeakMap:Map;function ps(e,t,n){(n=Fo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wl||(Wl=!0,Gl=r),us(0,t)},n}function fs(e,t,n){(n=Fo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){us(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){us(0,t),"function"!=typeof r&&(null===Vl?Vl=new Set([this]):Vl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hs;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=kc.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function vs(e,t,n,r,i){return 1&e.mode?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Fo(-1,1)).tag=2,$o(n,t,1))),n.lanes|=1),e)}var ys=x.ReactCurrentOwner,bs=!1;function xs(e,t,n,r){t.child=null===e?Co(t,null,n,r):wo(t,e.child,n,r)}function ws(e,t,n,r,i){n=n.render;var o=t.ref;return jo(t,i),r=ga(e,t,n,r,o,i),n=va(),null===e||bs?(io&&n&&eo(t),t.flags|=1,xs(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ws(e,t,i))}function Cs(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||Mc(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Oc(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ss(e,t,o,r,i))}if(o=e.child,0===(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return Ws(e,t,i)}return t.flags|=1,(e=Ic(o,r)).ref=t.ref,e.return=t,t.child=e}function Ss(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(lr(o,r)&&e.ref===t.ref){if(bs=!1,t.pendingProps=r=o,0===(e.lanes&i))return t.lanes=e.lanes,Ws(e,t,i);131072&e.flags&&(bs=!0)}}return _s(e,t,n,r,i)}function As(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_i(Il,Ml),Ml|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,_i(Il,Ml),Ml|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_i(Il,Ml),Ml|=n;else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,_i(Il,Ml),Ml|=r;return xs(e,t,i,n),t.child}function ks(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function _s(e,t,n,r,i){var o=Mi(n)?ji:Ti.current;return o=Ri(t,o),jo(t,i),n=ga(e,t,n,r,o,i),r=va(),null===e||bs?(io&&r&&eo(t),t.flags|=1,xs(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ws(e,t,i))}function Es(e,t,n,r,i){if(Mi(n)){var o=!0;Pi(t)}else o=!1;if(jo(t,i),null===t.stateNode)Us(e,t),as(t,n,r),ls(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;c="object"==typeof c&&null!==c?Ro(c):Ri(t,c=Mi(n)?ji:Ti.current);var d=n.getDerivedStateFromProps,u="function"==typeof d||"function"==typeof a.getSnapshotBeforeUpdate;u||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&ss(t,a,r,c),Po=!1;var h=t.memoizedState;a.state=h,Uo(t,r,a,i),l=t.memoizedState,s!==r||h!==l||Di.current||Po?("function"==typeof d&&(rs(t,n,d,r),l=t.memoizedState),(s=Po||os(t,n,s,r,h,l,c))?(u||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,No(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:ns(t.type,s),a.props=c,u=t.pendingProps,h=a.context,l="object"==typeof(l=n.contextType)&&null!==l?Ro(l):Ri(t,l=Mi(n)?ji:Ti.current);var p=n.getDerivedStateFromProps;(d="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==u||h!==l)&&ss(t,a,r,l),Po=!1,h=t.memoizedState,a.state=h,Uo(t,r,a,i);var f=t.memoizedState;s!==u||h!==f||Di.current||Po?("function"==typeof p&&(rs(t,n,p,r),f=t.memoizedState),(c=Po||os(t,n,c,r,h,f,l)||!1)?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Ts(e,t,n,r,o,i)}function Ts(e,t,n,r,i,o){ks(e,t);var a=!!(128&t.flags);if(!r&&!a)return i&&Bi(t,n,!1),Ws(e,t,o);r=t.stateNode,ys.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=wo(t,e.child,null,o),t.child=wo(t,null,s,o)):xs(e,t,s,o),t.memoizedState=r.state,i&&Bi(t,n,!0),t.child}function Ds(e){var t=e.stateNode;t.pendingContext?Oi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Oi(0,t.context,!1),Qo(e,t.containerInfo)}function js(e,t,n,r,i){return fo(),mo(i),t.flags|=256,xs(e,t,n,r),t.child}var Rs,Ms,Is,Os,Ls={dehydrated:null,treeContext:null,retryLane:0};function Ps(e){return{baseLanes:e,cachePool:null,transitions:null}}function Bs(e,t,n){var r,i=t.pendingProps,a=ea.current,s=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),_i(ea,1&a),null===e)return co(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=i.children,e=i.fallback,s?(i=t.mode,s=t.child,l={mode:"hidden",children:l},1&i||null===s?s=Pc(l,i,0,null):(s.childLanes=0,s.pendingProps=l),e=Lc(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ps(n),t.memoizedState=Ls,e):Ns(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,i,a,s){if(n)return 256&t.flags?(t.flags&=-257,Fs(e,t,s,r=ds(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=Pc({mode:"visible",children:r.children},i,0,null),(a=Lc(a,i,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,1&t.mode&&wo(t,e.child,null,s),t.child.memoizedState=Ps(s),t.memoizedState=Ls,a);if(!(1&t.mode))return Fs(e,t,s,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var l=r.dgst;return r=l,Fs(e,t,s,r=ds(a=Error(o(419)),r,void 0))}if(l=0!==(s&e.childLanes),bs||l){if(null!==(r=Dl)){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!==(i&(r.suspendedLanes|s))?0:i)&&i!==a.retryLane&&(a.retryLane=i,Lo(e,i),nc(r,e,i,-1))}return mc(),Fs(e,t,s,r=ds(Error(o(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Ec.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,ro=ci(i.nextSibling),no=t,io=!0,oo=null,null!==e&&(qi[Yi++]=Qi,qi[Yi++]=Zi,qi[Yi++]=Ji,Qi=e.id,Zi=e.overflow,Ji=t),(t=Ns(t,r.children)).flags|=4096,t)}(e,t,l,i,r,a,n);if(s){s=i.fallback,l=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:i.children};return 1&l||t.child===a?(i=Ic(a,c)).subtreeFlags=14680064&a.subtreeFlags:((i=t.child).childLanes=0,i.pendingProps=c,t.deletions=null),null!==r?s=Ic(r,s):(s=Lc(s,l,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,l=null===(l=e.child.memoizedState)?Ps(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ls,i}return e=(s=e.child).sibling,i=Ic(s,{mode:"visible",children:i.children}),!(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Ns(e,t){return(t=Pc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fs(e,t,n,r){return null!==r&&mo(r),wo(t,e.child,null,n),(e=Ns(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function $s(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Do(e.return,t,n)}function zs(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Hs(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(xs(e,t,r.children,n),2&(r=ea.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&$s(e,n,t);else if(19===e.tag)$s(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(_i(ea,r),1&t.mode)switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===ta(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),zs(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ta(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}zs(t,!0,n,null,o);break;case"together":zs(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Us(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ws(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Pl|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Ic(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ic(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Gs(e,t){if(!io)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Vs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function qs(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vs(t),null;case 1:case 17:return Mi(t.type)&&Ii(),Vs(t),null;case 3:return r=t.stateNode,Zo(),ki(Di),ki(Ti),ra(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(ho(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==oo&&(ac(oo),oo=null))),Ms(e,t),Vs(t),null;case 5:Ko(t);var i=Jo(Yo.current);if(n=t.type,null!==e&&null!=t.stateNode)Is(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Vs(t),null}if(e=Jo(Vo.current),ho(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[hi]=t,r[pi]=a,e=!!(1&t.mode),n){case"dialog":Fr("cancel",r),Fr("close",r);break;case"iframe":case"object":case"embed":Fr("load",r);break;case"video":case"audio":for(i=0;i<Lr.length;i++)Fr(Lr[i],r);break;case"source":Fr("error",r);break;case"img":case"image":case"link":Fr("error",r),Fr("load",r);break;case"details":Fr("toggle",r);break;case"input":Q(r,a),Fr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Fr("invalid",r);break;case"textarea":ie(r,a),Fr("invalid",r)}for(var l in ye(n,a),i=null,a)if(a.hasOwnProperty(l)){var c=a[l];"children"===l?"string"==typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Xr(r.textContent,c,e),i=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Xr(r.textContent,c,e),i=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Fr("scroll",r)}switch(n){case"input":V(r),K(r,a,!0);break;case"textarea":V(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Kr)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[hi]=t,e[pi]=r,Rs(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,r),n){case"dialog":Fr("cancel",e),Fr("close",e),i=r;break;case"iframe":case"object":case"embed":Fr("load",e),i=r;break;case"video":case"audio":for(i=0;i<Lr.length;i++)Fr(Lr[i],e);i=r;break;case"source":Fr("error",e),i=r;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),i=r;break;case"details":Fr("toggle",e),i=r;break;case"input":Q(e,r),i=J(e,r),Fr("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=B({},r,{value:void 0}),Fr("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),Fr("invalid",e)}for(a in ye(n,i),c=i)if(c.hasOwnProperty(a)){var d=c[a];"style"===a?ge(e,d):"dangerouslySetInnerHTML"===a?null!=(d=d?d.__html:void 0)&&ue(e,d):"children"===a?"string"==typeof d?("textarea"!==n||""!==d)&&he(e,d):"number"==typeof d&&he(e,""+d):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=d&&"onScroll"===a&&Fr("scroll",e):null!=d&&b(e,a,d,l))}switch(n){case"input":V(e),K(e,r,!1);break;case"textarea":V(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+W(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Kr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Vs(t),null;case 6:if(e&&null!=t.stateNode)Os(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=Jo(Yo.current),Jo(Vo.current),ho(t)){if(r=t.stateNode,n=t.memoizedProps,r[hi]=t,(a=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Xr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,!!(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[hi]=t,t.stateNode=r}return Vs(t),null;case 13:if(ki(ea),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(io&&null!==ro&&1&t.mode&&!(128&t.flags))po(),fo(),t.flags|=98560,a=!1;else if(a=ho(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(o(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(o(317));a[hi]=t}else fo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Vs(t),a=!1}else null!==oo&&(ac(oo),oo=null),a=!0;if(!a)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ea.current?0===Ol&&(Ol=3):mc())),null!==t.updateQueue&&(t.flags|=4),Vs(t),null);case 4:return Zo(),Ms(e,t),null===e&&Hr(t.stateNode.containerInfo),Vs(t),null;case 10:return To(t.type._context),Vs(t),null;case 19:if(ki(ea),null===(a=t.memoizedState))return Vs(t),null;if(r=!!(128&t.flags),null===(l=a.rendering))if(r)Gs(a,!1);else{if(0!==Ol||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=ta(e))){for(t.flags|=128,Gs(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return _i(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Ze()>Hl&&(t.flags|=128,r=!0,Gs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ta(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Gs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!io)return Vs(t),null}else 2*Ze()-a.renderingStartTime>Hl&&1073741824!==n&&(t.flags|=128,r=!0,Gs(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ze(),t.sibling=null,n=ea.current,_i(ea,r?1&n|2:1&n),t):(Vs(t),null);case 22:case 23:return uc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Ml)&&(Vs(t),6&t.subtreeFlags&&(t.flags|=8192)):Vs(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Ys(e,t){switch(to(t),t.tag){case 1:return Mi(t.type)&&Ii(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Zo(),ki(Di),ki(Ti),ra(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ko(t),null;case 13:if(ki(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));fo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ki(ea),null;case 4:return Zo(),null;case 10:return To(t.type._context),null;case 22:case 23:return uc(),null;default:return null}}Rs=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ms=function(){},Is=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Jo(Vo.current);var o,a=null;switch(n){case"input":i=J(e,i),r=J(e,r),a=[];break;case"select":i=B({},i,{value:void 0}),r=B({},r,{value:void 0}),a=[];break;case"textarea":i=re(e,i),r=re(e,r),a=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Kr)}for(d in ye(n,r),n=null,i)if(!r.hasOwnProperty(d)&&i.hasOwnProperty(d)&&null!=i[d])if("style"===d){var l=i[d];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(s.hasOwnProperty(d)?a||(a=[]):(a=a||[]).push(d,null));for(d in r){var c=r[d];if(l=null!=i?i[d]:void 0,r.hasOwnProperty(d)&&c!==l&&(null!=c||null!=l))if("style"===d)if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(a||(a=[]),a.push(d,n)),n=c;else"dangerouslySetInnerHTML"===d?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(a=a||[]).push(d,c)):"children"===d?"string"!=typeof c&&"number"!=typeof c||(a=a||[]).push(d,""+c):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(s.hasOwnProperty(d)?(null!=c&&"onScroll"===d&&Fr("scroll",e),a||l===c||(a=[])):(a=a||[]).push(d,c))}n&&(a=a||[]).push("style",n);var d=a;(t.updateQueue=d)&&(t.flags|=4)}},Os=function(e,t,n,r){n!==r&&(t.flags|=4)};var Js=!1,Qs=!1,Zs="function"==typeof WeakSet?WeakSet:Set,Xs=null;function Ks(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Ac(e,t,n)}else n.current=null}function el(e,t,n){try{n()}catch(n){Ac(e,t,n)}}var tl=!1;function nl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&el(t,n,o)}i=i.next}while(i!==r)}}function rl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function il(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function ol(e){var t=e.alternate;null!==t&&(e.alternate=null,ol(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[hi],delete t[pi],delete t[mi],delete t[gi],delete t[vi]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function al(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||al(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Kr));else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var dl=null,ul=!1;function hl(e,t,n){for(n=n.child;null!==n;)pl(e,t,n),n=n.sibling}function pl(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(it,n)}catch(e){}switch(n.tag){case 5:Qs||Ks(n,t);case 6:var r=dl,i=ul;dl=null,hl(e,t,n),ul=i,null!==(dl=r)&&(ul?(e=dl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:null!==dl&&(ul?(e=dl,n=n.stateNode,8===e.nodeType?li(e.parentNode,n):1===e.nodeType&&li(e,n),Ht(e)):li(dl,n.stateNode));break;case 4:r=dl,i=ul,dl=n.stateNode.containerInfo,ul=!0,hl(e,t,n),dl=r,ul=i;break;case 0:case 11:case 14:case 15:if(!Qs&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(2&o||4&o)&&el(n,t,a),i=i.next}while(i!==r)}hl(e,t,n);break;case 1:if(!Qs&&(Ks(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Ac(n,t,e)}hl(e,t,n);break;case 21:hl(e,t,n);break;case 22:1&n.mode?(Qs=(r=Qs)||null!==n.memoizedState,hl(e,t,n),Qs=r):hl(e,t,n);break;default:hl(e,t,n)}}function fl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zs),t.forEach(function(t){var r=Tc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:dl=l.stateNode,ul=!1;break e;case 3:case 4:dl=l.stateNode.containerInfo,ul=!0;break e}l=l.return}if(null===dl)throw Error(o(160));pl(a,s,i),dl=null,ul=!1;var c=i.alternate;null!==c&&(c.return=null),i.return=null}catch(e){Ac(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}function gl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),vl(e),4&r){try{nl(3,e,e.return),rl(3,e)}catch(t){Ac(e,e.return,t)}try{nl(5,e,e.return)}catch(t){Ac(e,e.return,t)}}break;case 1:ml(t,e),vl(e),512&r&&null!==n&&Ks(n,n.return);break;case 5:if(ml(t,e),vl(e),512&r&&null!==n&&Ks(n,n.return),32&e.flags){var i=e.stateNode;try{he(i,"")}catch(t){Ac(e,e.return,t)}}if(4&r&&null!=(i=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&Z(i,a),be(l,s);var d=be(l,a);for(s=0;s<c.length;s+=2){var u=c[s],h=c[s+1];"style"===u?ge(i,h):"dangerouslySetInnerHTML"===u?ue(i,h):"children"===u?he(i,h):b(i,u,h,d)}switch(l){case"input":X(i,a);break;case"textarea":oe(i,a);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var f=a.value;null!=f?ne(i,!!a.multiple,f,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(i,!!a.multiple,a.defaultValue,!0):ne(i,!!a.multiple,a.multiple?[]:"",!1))}i[pi]=a}catch(t){Ac(e,e.return,t)}}break;case 6:if(ml(t,e),vl(e),4&r){if(null===e.stateNode)throw Error(o(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(t){Ac(e,e.return,t)}}break;case 3:if(ml(t,e),vl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ht(t.containerInfo)}catch(t){Ac(e,e.return,t)}break;case 4:default:ml(t,e),vl(e);break;case 13:ml(t,e),vl(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,!a||null!==i.alternate&&null!==i.alternate.memoizedState||(zl=Ze())),4&r&&fl(e);break;case 22:if(u=null!==n&&null!==n.memoizedState,1&e.mode?(Qs=(d=Qs)||u,ml(t,e),Qs=d):ml(t,e),vl(e),8192&r){if(d=null!==e.memoizedState,(e.stateNode.isHidden=d)&&!u&&1&e.mode)for(Xs=e,u=e.child;null!==u;){for(h=Xs=u;null!==Xs;){switch(f=(p=Xs).child,p.tag){case 0:case 11:case 14:case 15:nl(4,p,p.return);break;case 1:Ks(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Ac(r,n,e)}}break;case 5:Ks(p,p.return);break;case 22:if(null!==p.memoizedState){wl(h);continue}}null!==f?(f.return=p,Xs=f):wl(h)}u=u.sibling}e:for(u=null,h=e;;){if(5===h.tag){if(null===u){u=h;try{i=h.stateNode,d?"function"==typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=h.stateNode,s=null!=(c=h.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",s))}catch(t){Ac(e,e.return,t)}}}else if(6===h.tag){if(null===u)try{h.stateNode.nodeValue=d?"":h.memoizedProps}catch(t){Ac(e,e.return,t)}}else if((22!==h.tag&&23!==h.tag||null===h.memoizedState||h===e)&&null!==h.child){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;null===h.sibling;){if(null===h.return||h.return===e)break e;u===h&&(u=null),h=h.return}u===h&&(u=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:ml(t,e),vl(e),4&r&&fl(e);case 21:}}function vl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(al(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(he(i,""),r.flags&=-33),cl(e,sl(e),i);break;case 3:case 4:var a=r.stateNode.containerInfo;ll(e,sl(e),a);break;default:throw Error(o(161))}}catch(t){Ac(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yl(e,t,n){Xs=e,bl(e,t,n)}function bl(e,t,n){for(var r=!!(1&e.mode);null!==Xs;){var i=Xs,o=i.child;if(22===i.tag&&r){var a=null!==i.memoizedState||Js;if(!a){var s=i.alternate,l=null!==s&&null!==s.memoizedState||Qs;s=Js;var c=Qs;if(Js=a,(Qs=l)&&!c)for(Xs=i;null!==Xs;)l=(a=Xs).child,22===a.tag&&null!==a.memoizedState?Cl(i):null!==l?(l.return=a,Xs=l):Cl(i);for(;null!==o;)Xs=o,bl(o,t,n),o=o.sibling;Xs=i,Js=s,Qs=c}xl(e)}else 8772&i.subtreeFlags&&null!==o?(o.return=i,Xs=o):xl(e)}}function xl(e){for(;null!==Xs;){var t=Xs;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Qs||rl(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Qs)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Wo(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Wo(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var d=t.alternate;if(null!==d){var u=d.memoizedState;if(null!==u){var h=u.dehydrated;null!==h&&Ht(h)}}}break;default:throw Error(o(163))}Qs||512&t.flags&&il(t)}catch(e){Ac(t,t.return,e)}}if(t===e){Xs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xs=n;break}Xs=t.return}}function wl(e){for(;null!==Xs;){var t=Xs;if(t===e){Xs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xs=n;break}Xs=t.return}}function Cl(e){for(;null!==Xs;){var t=Xs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rl(4,t)}catch(e){Ac(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){Ac(t,i,e)}}var o=t.return;try{il(t)}catch(e){Ac(t,o,e)}break;case 5:var a=t.return;try{il(t)}catch(e){Ac(t,a,e)}}}catch(e){Ac(t,t.return,e)}if(t===e){Xs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Xs=s;break}Xs=t.return}}var Sl,Al=Math.ceil,kl=x.ReactCurrentDispatcher,_l=x.ReactCurrentOwner,El=x.ReactCurrentBatchConfig,Tl=0,Dl=null,jl=null,Rl=0,Ml=0,Il=Ai(0),Ol=0,Ll=null,Pl=0,Bl=0,Nl=0,Fl=null,$l=null,zl=0,Hl=1/0,Ul=null,Wl=!1,Gl=null,Vl=null,ql=!1,Yl=null,Jl=0,Ql=0,Zl=null,Xl=-1,Kl=0;function ec(){return 6&Tl?Ze():-1!==Xl?Xl:Xl=Ze()}function tc(e){return 1&e.mode?2&Tl&&0!==Rl?Rl&-Rl:null!==go.transition?(0===Kl&&(Kl=mt()),Kl):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Qt(e.type):1}function nc(e,t,n,r){if(50<Ql)throw Ql=0,Zl=null,Error(o(185));vt(e,n,r),2&Tl&&e===Dl||(e===Dl&&(!(2&Tl)&&(Bl|=n),4===Ol&&sc(e,Rl)),rc(e,r),1===n&&0===Tl&&!(1&t.mode)&&(Hl=Ze()+500,Fi&&Hi()))}function rc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-at(o),s=1<<a,l=i[a];-1===l?0!==(s&n)&&0===(s&r)||(i[a]=pt(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=ht(e,e===Dl?Rl:0);if(0===r)null!==n&&Ye(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ye(n),1===t)0===e.tag?function(e){Fi=!0,zi(e)}(lc.bind(null,e)):zi(lc.bind(null,e)),ai(function(){!(6&Tl)&&Hi()}),n=null;else{switch(xt(r)){case 1:n=Ke;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Dc(n,ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ic(e,t){if(Xl=-1,Kl=0,6&Tl)throw Error(o(327));var n=e.callbackNode;if(Cc()&&e.callbackNode!==n)return null;var r=ht(e,e===Dl?Rl:0);if(0===r)return null;if(30&r||0!==(r&e.expiredLanes)||t)t=gc(e,r);else{t=r;var i=Tl;Tl|=2;var a=fc();for(Dl===e&&Rl===t||(Ul=null,Hl=Ze()+500,hc(e,t));;)try{yc();break}catch(t){pc(e,t)}Eo(),kl.current=a,Tl=i,null!==jl?t=0:(Dl=null,Rl=0,t=Ol)}if(0!==t){if(2===t&&0!==(i=ft(e))&&(r=i,t=oc(e,i)),1===t)throw n=Ll,hc(e,0),sc(e,r),rc(e,Ze()),n;if(6===t)sc(e,r);else{if(i=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!sr(o(),i))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)||(t=gc(e,r),2===t&&(a=ft(e),0!==a&&(r=a,t=oc(e,a))),1!==t)))throw n=Ll,hc(e,0),sc(e,r),rc(e,Ze()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:wc(e,$l,Ul);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=zl+500-Ze())){if(0!==ht(e,0))break;if(((i=e.suspendedLanes)&r)!==r){ec(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ri(wc.bind(null,e,$l,Ul),t);break}wc(e,$l,Ul);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>i&&(i=s),r&=~a}if(r=i,10<(r=(120>(r=Ze()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Al(r/1960))-r)){e.timeoutHandle=ri(wc.bind(null,e,$l,Ul),r);break}wc(e,$l,Ul);break;default:throw Error(o(329))}}}return rc(e,Ze()),e.callbackNode===n?ic.bind(null,e):null}function oc(e,t){var n=Fl;return e.current.memoizedState.isDehydrated&&(hc(e,t).flags|=256),2!==(e=gc(e,t))&&(t=$l,$l=n,null!==t&&ac(t)),e}function ac(e){null===$l?$l=e:$l.push.apply($l,e)}function sc(e,t){for(t&=~Nl,t&=~Bl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function lc(e){if(6&Tl)throw Error(o(327));Cc();var t=ht(e,0);if(!(1&t))return rc(e,Ze()),null;var n=gc(e,t);if(0!==e.tag&&2===n){var r=ft(e);0!==r&&(t=r,n=oc(e,r))}if(1===n)throw n=Ll,hc(e,0),sc(e,t),rc(e,Ze()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wc(e,$l,Ul),rc(e,Ze()),null}function cc(e,t){var n=Tl;Tl|=1;try{return e(t)}finally{0===(Tl=n)&&(Hl=Ze()+500,Fi&&Hi())}}function dc(e){null!==Yl&&0===Yl.tag&&!(6&Tl)&&Cc();var t=Tl;Tl|=1;var n=El.transition,r=bt;try{if(El.transition=null,bt=1,e)return e()}finally{bt=r,El.transition=n,!(6&(Tl=t))&&Hi()}}function uc(){Ml=Il.current,ki(Il)}function hc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ii(n)),null!==jl)for(n=jl.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ii();break;case 3:Zo(),ki(Di),ki(Ti),ra();break;case 5:Ko(r);break;case 4:Zo();break;case 13:case 19:ki(ea);break;case 10:To(r.type._context);break;case 22:case 23:uc()}n=n.return}if(Dl=e,jl=e=Ic(e.current,null),Rl=Ml=t,Ol=0,Ll=null,Nl=Bl=Pl=0,$l=Fl=null,null!==Mo){for(t=0;t<Mo.length;t++)if(null!==(r=(n=Mo[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}Mo=null}return e}function pc(e,t){for(;;){var n=jl;try{if(Eo(),ia.current=Xa,da){for(var r=sa.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}da=!1}if(aa=0,ca=la=sa=null,ua=!1,ha=0,_l.current=null,null===n||null===n.return){Ol=1,Ll=t,jl=null;break}e:{var a=e,s=n.return,l=n,c=t;if(t=Rl,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var d=c,u=l,h=u.tag;if(!(1&u.mode||0!==h&&11!==h&&15!==h)){var p=u.alternate;p?(u.updateQueue=p.updateQueue,u.memoizedState=p.memoizedState,u.lanes=p.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=gs(s);if(null!==f){f.flags&=-257,vs(f,s,l,0,t),1&f.mode&&ms(a,d,t),c=d;var m=(t=f).updateQueue;if(null===m){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}if(!(1&t)){ms(a,d,t),mc();break e}c=Error(o(426))}else if(io&&1&l.mode){var v=gs(s);if(null!==v){!(65536&v.flags)&&(v.flags|=256),vs(v,s,l,0,t),mo(cs(c,l));break e}}a=c=cs(c,l),4!==Ol&&(Ol=2),null===Fl?Fl=[a]:Fl.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Ho(a,ps(0,c,t));break e;case 1:l=c;var y=a.type,b=a.stateNode;if(!(128&a.flags||"function"!=typeof y.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Vl&&Vl.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Ho(a,fs(a,l,t));break e}}a=a.return}while(null!==a)}xc(n)}catch(e){t=e,jl===n&&null!==n&&(jl=n=n.return);continue}break}}function fc(){var e=kl.current;return kl.current=Xa,null===e?Xa:e}function mc(){0!==Ol&&3!==Ol&&2!==Ol||(Ol=4),null===Dl||!(268435455&Pl)&&!(268435455&Bl)||sc(Dl,Rl)}function gc(e,t){var n=Tl;Tl|=2;var r=fc();for(Dl===e&&Rl===t||(Ul=null,hc(e,t));;)try{vc();break}catch(t){pc(e,t)}if(Eo(),Tl=n,kl.current=r,null!==jl)throw Error(o(261));return Dl=null,Rl=0,Ol}function vc(){for(;null!==jl;)bc(jl)}function yc(){for(;null!==jl&&!Je();)bc(jl)}function bc(e){var t=Sl(e.alternate,e,Ml);e.memoizedProps=e.pendingProps,null===t?xc(e):jl=t,_l.current=null}function xc(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Ys(n,t)))return n.flags&=32767,void(jl=n);if(null===e)return Ol=6,void(jl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=qs(n,t,Ml)))return void(jl=n);if(null!==(t=t.sibling))return void(jl=t);jl=t=e}while(null!==t);0===Ol&&(Ol=5)}function wc(e,t,n){var r=bt,i=El.transition;try{El.transition=null,bt=1,function(e,t,n,r){do{Cc()}while(null!==Yl);if(6&Tl)throw Error(o(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-at(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,a),e===Dl&&(jl=Dl=null,Rl=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||ql||(ql=!0,Dc(tt,function(){return Cc(),null})),a=!!(15990&n.flags),15990&n.subtreeFlags||a){a=El.transition,El.transition=null;var s=bt;bt=1;var l=Tl;Tl|=4,_l.current=null,function(e,t){if(ei=Wt,pr(e=hr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,l=-1,c=-1,d=0,u=0,h=e,p=null;t:for(;;){for(var f;h!==n||0!==i&&3!==h.nodeType||(l=s+i),h!==a||0!==r&&3!==h.nodeType||(c=s+r),3===h.nodeType&&(s+=h.nodeValue.length),null!==(f=h.firstChild);)p=h,h=f;for(;;){if(h===e)break t;if(p===n&&++d===i&&(l=s),p===a&&++u===r&&(c=s),null!==(f=h.nextSibling))break;p=(h=p).parentNode}h=f}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ti={focusedElem:e,selectionRange:n},Wt=!1,Xs=t;null!==Xs;)if(e=(t=Xs).child,1028&t.subtreeFlags&&null!==e)e.return=t,Xs=e;else for(;null!==Xs;){t=Xs;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:ns(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(o(163))}}catch(e){Ac(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Xs=e;break}Xs=t.return}m=tl,tl=!1}(e,n),gl(n,e),fr(ti),Wt=!!ei,ti=ei=null,e.current=n,yl(n,e,i),Qe(),Tl=l,bt=s,El.transition=a}else e.current=n;if(ql&&(ql=!1,Yl=e,Jl=i),0===(a=e.pendingLanes)&&(Vl=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(it,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),rc(e,Ze()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((i=t[n]).value,{componentStack:i.stack,digest:i.digest});if(Wl)throw Wl=!1,e=Gl,Gl=null,e;!!(1&Jl)&&0!==e.tag&&Cc(),1&(a=e.pendingLanes)?e===Zl?Ql++:(Ql=0,Zl=e):Ql=0,Hi()}(e,t,n,r)}finally{El.transition=i,bt=r}return null}function Cc(){if(null!==Yl){var e=xt(Jl),t=El.transition,n=bt;try{if(El.transition=null,bt=16>e?16:e,null===Yl)var r=!1;else{if(e=Yl,Yl=null,Jl=0,6&Tl)throw Error(o(331));var i=Tl;for(Tl|=4,Xs=e.current;null!==Xs;){var a=Xs,s=a.child;if(16&Xs.flags){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var d=l[c];for(Xs=d;null!==Xs;){var u=Xs;switch(u.tag){case 0:case 11:case 15:nl(8,u,a)}var h=u.child;if(null!==h)h.return=u,Xs=h;else for(;null!==Xs;){var p=(u=Xs).sibling,f=u.return;if(ol(u),u===d){Xs=null;break}if(null!==p){p.return=f,Xs=p;break}Xs=f}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Xs=a}}if(2064&a.subtreeFlags&&null!==s)s.return=a,Xs=s;else e:for(;null!==Xs;){if(2048&(a=Xs).flags)switch(a.tag){case 0:case 11:case 15:nl(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Xs=y;break e}Xs=a.return}}var b=e.current;for(Xs=b;null!==Xs;){var x=(s=Xs).child;if(2064&s.subtreeFlags&&null!==x)x.return=s,Xs=x;else e:for(s=b;null!==Xs;){if(2048&(l=Xs).flags)try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(e){Ac(l,l.return,e)}if(l===s){Xs=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,Xs=w;break e}Xs=l.return}}if(Tl=i,Hi(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(it,e)}catch(e){}r=!0}return r}finally{bt=n,El.transition=t}}return!1}function Sc(e,t,n){e=$o(e,t=ps(0,t=cs(n,t),1),1),t=ec(),null!==e&&(vt(e,1,t),rc(e,t))}function Ac(e,t,n){if(3===e.tag)Sc(e,e,n);else for(;null!==t;){if(3===t.tag){Sc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Vl||!Vl.has(r))){t=$o(t,e=fs(t,e=cs(n,e),1),1),e=ec(),null!==t&&(vt(t,1,e),rc(t,e));break}}t=t.return}}function kc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&n,Dl===e&&(Rl&n)===n&&(4===Ol||3===Ol&&(130023424&Rl)===Rl&&500>Ze()-zl?hc(e,0):Nl|=n),rc(e,t)}function _c(e,t){0===t&&(1&e.mode?(t=dt,!(130023424&(dt<<=1))&&(dt=4194304)):t=1);var n=ec();null!==(e=Lo(e,t))&&(vt(e,t,n),rc(e,n))}function Ec(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),_c(e,n)}function Tc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),_c(e,n)}function Dc(e,t){return qe(e,t)}function jc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Rc(e,t,n,r){return new jc(e,t,n,r)}function Mc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ic(e,t){var n=e.alternate;return null===n?((n=Rc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Oc(e,t,n,r,i,a){var s=2;if(r=e,"function"==typeof e)Mc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case S:return Lc(n.children,i,a,t);case A:s=8,i|=8;break;case k:return(e=Rc(12,n,t,2|i)).elementType=k,e.lanes=a,e;case D:return(e=Rc(13,n,t,i)).elementType=D,e.lanes=a,e;case j:return(e=Rc(19,n,t,i)).elementType=j,e.lanes=a,e;case I:return Pc(n,i,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:s=10;break e;case E:s=9;break e;case T:s=11;break e;case R:s=14;break e;case M:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Rc(s,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function Lc(e,t,n,r){return(e=Rc(7,e,r,t)).lanes=n,e}function Pc(e,t,n,r){return(e=Rc(22,e,r,t)).elementType=I,e.lanes=n,e.stateNode={isHidden:!1},e}function Bc(e,t,n){return(e=Rc(6,e,null,t)).lanes=n,e}function Nc(e,t,n){return(t=Rc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fc(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function $c(e,t,n,r,i,o,a,s,l){return e=new Fc(e,t,n,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Rc(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bo(o),e}function zc(e){if(!e)return Ei;e:{if(He(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Mi(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Mi(n))return Li(e,n,t)}return t}function Hc(e,t,n,r,i,o,a,s,l){return(e=$c(n,r,!0,e,0,o,0,s,l)).context=zc(null),n=e.current,(o=Fo(r=ec(),i=tc(n))).callback=null!=t?t:null,$o(n,o,i),e.current.lanes=i,vt(e,i,r),rc(e,r),e}function Uc(e,t,n,r){var i=t.current,o=ec(),a=tc(i);return n=zc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Fo(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=$o(i,t,a))&&(nc(e,i,a,o),zo(e,i,a)),a}function Wc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Gc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Vc(e,t){Gc(e,t),(e=e.alternate)&&Gc(e,t)}Sl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Di.current)bs=!0;else{if(0===(e.lanes&n)&&!(128&t.flags))return bs=!1,function(e,t,n){switch(t.tag){case 3:Ds(t),fo();break;case 5:Xo(t);break;case 1:Mi(t.type)&&Pi(t);break;case 4:Qo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;_i(So,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(_i(ea,1&ea.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Bs(e,t,n):(_i(ea,1&ea.current),null!==(e=Ws(e,t,n))?e.sibling:null);_i(ea,1&ea.current);break;case 19:if(r=0!==(n&t.childLanes),128&e.flags){if(r)return Hs(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),_i(ea,ea.current),r)break;return null;case 22:case 23:return t.lanes=0,As(e,t,n)}return Ws(e,t,n)}(e,t,n);bs=!!(131072&e.flags)}else bs=!1,io&&1048576&t.flags&&Ki(t,Vi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Us(e,t),e=t.pendingProps;var i=Ri(t,Ti.current);jo(t,n),i=ga(null,t,r,e,i,n);var a=va();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Mi(r)?(a=!0,Pi(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Bo(t),i.updater=is,t.stateNode=i,i._reactInternals=t,ls(t,r,e,n),t=Ts(null,t,r,!0,a,n)):(t.tag=0,io&&a&&eo(t),xs(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Us(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return Mc(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===R)return 14}return 2}(r),e=ns(r,e),i){case 0:t=_s(null,t,r,e,n);break e;case 1:t=Es(null,t,r,e,n);break e;case 11:t=ws(null,t,r,e,n);break e;case 14:t=Cs(null,t,r,ns(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,_s(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 1:return r=t.type,i=t.pendingProps,Es(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 3:e:{if(Ds(t),null===e)throw Error(o(387));r=t.pendingProps,i=(a=t.memoizedState).element,No(e,t),Uo(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=js(e,t,r,n,i=cs(Error(o(423)),t));break e}if(r!==i){t=js(e,t,r,n,i=cs(Error(o(424)),t));break e}for(ro=ci(t.stateNode.containerInfo.firstChild),no=t,io=!0,oo=null,n=Co(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(fo(),r===i){t=Ws(e,t,n);break e}xs(e,t,r,n)}t=t.child}return t;case 5:return Xo(t),null===e&&co(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,ni(r,i)?s=null:null!==a&&ni(r,a)&&(t.flags|=32),ks(e,t),xs(e,t,s,n),t.child;case 6:return null===e&&co(t),null;case 13:return Bs(e,t,n);case 4:return Qo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=wo(t,null,r,n):xs(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,ws(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 7:return xs(e,t,t.pendingProps,n),t.child;case 8:case 12:return xs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,s=i.value,_i(So,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===i.children&&!Di.current){t=Ws(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=Fo(-1,n&-n)).tag=2;var d=a.updateQueue;if(null!==d){var u=(d=d.shared).pending;null===u?c.next=c:(c.next=u.next,u.next=c),d.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),Do(a.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(o(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Do(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}xs(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,jo(t,n),r=r(i=Ro(i)),t.flags|=1,xs(e,t,r,n),t.child;case 14:return i=ns(r=t.type,t.pendingProps),Cs(e,t,r,i=ns(r.type,i),n);case 15:return Ss(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ns(r,i),Us(e,t),t.tag=1,Mi(r)?(e=!0,Pi(t)):e=!1,jo(t,n),as(t,r,i),ls(t,r,i,n),Ts(null,t,r,!0,e,n);case 19:return Hs(e,t,n);case 22:return As(e,t,n)}throw Error(o(156,t.tag))};var qc="function"==typeof reportError?reportError:function(e){console.error(e)};function Yc(e){this._internalRoot=e}function Jc(e){this._internalRoot=e}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xc(){}function Kc(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if("function"==typeof i){var s=i;i=function(){var e=Wc(a);s.call(e)}}Uc(t,a,e,i)}else a=function(e,t,n,r,i){if(i){if("function"==typeof r){var o=r;r=function(){var e=Wc(a);o.call(e)}}var a=Hc(t,r,e,0,null,!1,0,"",Xc);return e._reactRootContainer=a,e[fi]=a.current,Hr(8===e.nodeType?e.parentNode:e),dc(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof r){var s=r;r=function(){var e=Wc(l);s.call(e)}}var l=$c(e,0,!1,null,0,!1,0,"",Xc);return e._reactRootContainer=l,e[fi]=l.current,Hr(8===e.nodeType?e.parentNode:e),dc(function(){Uc(t,l,n,r)}),l}(n,t,e,i,r);return Wc(a)}Jc.prototype.render=Yc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Uc(e,t,null,null)},Jc.prototype.unmount=Yc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dc(function(){Uc(null,e,null,null)}),t[fi]=null}},Jc.prototype.unstable_scheduleHydration=function(e){if(e){var t=At();e={blockedOn:null,target:e,priority:t};for(var n=0;n<It.length&&0!==t&&t<It[n].priority;n++);It.splice(n,0,e),0===n&&Bt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ut(t.pendingLanes);0!==n&&(yt(t,1|n),rc(t,Ze()),!(6&Tl)&&(Hl=Ze()+500,Hi()))}break;case 13:dc(function(){var t=Lo(e,1);if(null!==t){var n=ec();nc(t,e,1,n)}}),Vc(e,1)}},Ct=function(e){if(13===e.tag){var t=Lo(e,134217728);null!==t&&nc(t,e,134217728,ec()),Vc(e,134217728)}},St=function(e){if(13===e.tag){var t=tc(e),n=Lo(e,t);null!==n&&nc(n,e,t,ec()),Vc(e,t)}},At=function(){return bt},kt=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Ce=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=wi(r);if(!i)throw Error(o(90));q(r),X(r,i)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Te=cc,De=dc;var ed={usingClientEntryPoint:!1,Events:[bi,xi,wi,_e,Ee,cc]},td={findFiberByHostInstance:yi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nd={bundleType:td.bundleType,version:td.version,rendererPackageName:td.rendererPackageName,rendererConfig:td.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ge(e))?null:e.stateNode},findFiberByHostInstance:td.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var rd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rd.isDisabled&&rd.supportsFiber)try{it=rd.inject(nd),ot=rd}catch(de){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ed,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qc(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:C,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Qc(e))throw Error(o(299));var n=!1,r="",i=qc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=$c(e,1,!1,null,0,n,0,r,i),e[fi]=t.current,Hr(8===e.nodeType?e.parentNode:e),new Yc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return null===(e=Ge(t))?null:e.stateNode},t.flushSync=function(e){return dc(e)},t.hydrate=function(e,t,n){if(!Zc(t))throw Error(o(200));return Kc(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Qc(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,i=!1,a="",s=qc;if(null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Hc(t,null,e,1,null!=n?n:null,i,0,a,s),e[fi]=t.current,Hr(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Jc(t)},t.render=function(e,t,n){if(!Zc(t))throw Error(o(200));return Kc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zc(e))throw Error(o(40));return!!e._reactRootContainer&&(dc(function(){Kc(null,null,e,!1,function(){e._reactRootContainer=null,e[fi]=null})}),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zc(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return Kc(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},9771:function(e,t,n){!function(e,t){"use strict";function n(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function r(e){return function(){var t=this,r=arguments;return new Promise(function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,l,"next",e)}function l(e){n(a,i,o,s,l,"throw",e)}s(void 0)})}}function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function o(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function a(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var s={init:"init"},l=function(e){var t=e.value;return void 0===t?"":t},c=function(){return t.createElement(t.Fragment,null," ")},d={Cell:l,width:150,minWidth:0,maxWidth:Number.MAX_SAFE_INTEGER};function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(e,t){var n=t.style,r=t.className;return e=i({},e,{},o(t,["style","className"])),n&&(e.style=e.style?i({},e.style||{},{},n||{}):n),r&&(e.className=e.className?e.className+" "+r:r),""===e.className&&delete e.className,e},{})}var h=function(e,t){return void 0===t&&(t={}),function(n){return void 0===n&&(n={}),[].concat(e,[n]).reduce(function(e,r){return function e(t,n,r){return"function"==typeof n?e({},n(t,r)):Array.isArray(n)?u.apply(void 0,[t].concat(n)):u(t,n)}(e,r,i({},t,{userProps:n}))},{})}},p=function(e,t,n,r){return void 0===n&&(n={}),e.reduce(function(e,t){return t(e,n)},t)},f=function(e,t,n){return void 0===n&&(n={}),e.forEach(function(e){e(t,n)})};function m(e,t,n,r){e.findIndex(function(e){return e.pluginName===n}),t.forEach(function(t){e.findIndex(function(e){return e.pluginName===t})})}function g(e,t){return"function"==typeof e?e(t):e}function v(e){var n=t.useRef();return n.current=e,t.useCallback(function(){return n.current},[])}var y="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;function b(e,n){var r=t.useRef(!1);y(function(){r.current&&e(),r.current=!0},n)}function x(e,t,n){return void 0===n&&(n={}),function(r,o){void 0===o&&(o={});var a="string"==typeof r?t[r]:r;if(void 0===a)throw console.info(t),new Error("Renderer Error ☝️");return w(a,i({},e,{column:t},n,{},o))}}function w(e,n){return function(e){return"function"==typeof e&&(t=Object.getPrototypeOf(e)).prototype&&t.prototype.isReactComponent;var t}(r=e)||"function"==typeof r||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(r)?t.createElement(e,n):e;var r}function C(e,t,n){return void 0===n&&(n=0),e.map(function(e){return A(e=i({},e,{parent:t,depth:n})),e.columns&&(e.columns=C(e.columns,e,n+1)),e})}function S(e){return D(e,"columns")}function A(e){var t=e.id,n=e.accessor,r=e.Header;if("string"==typeof n){t=t||n;var i=n.split(".");n=function(e){return function(e,t){if(!t)return e;var n,r="function"==typeof t?t:JSON.stringify(t),i=_.get(r)||function(){var e=function(e){return function e(t,n){if(void 0===n&&(n=[]),Array.isArray(t))for(var r=0;r<t.length;r+=1)e(t[r],n);else n.push(t);return n}(e).map(function(e){return String(e).replace(".","_")}).join(".").replace(L,".").replace(P,"").split(".")}(t);return _.set(r,e),e}();try{n=i.reduce(function(e,t){return e[t]},e)}catch(e){}return void 0!==n?n:void 0}(e,i)}}if(!t&&"string"==typeof r&&r&&(t=r),!t&&e.columns)throw console.error(e),new Error('A column ID (or unique "Header" value) is required!');if(!t)throw console.error(e),new Error("A column ID (or string accessor) is required!");return Object.assign(e,{id:t,accessor:n}),e}function k(e,t){if(!t)throw new Error;return Object.assign(e,i({Header:c,Footer:c},d,{},t,{},e)),Object.assign(e,{originalWidth:e.width}),e}var _=new Map;function E(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0;r<t.length;r+=1)if(void 0!==t[r])return t[r]}function T(e){if("function"==typeof e)return e}function D(e,t){var n=[];return function e(r){r.forEach(function(r){r[t]?e(r[t]):n.push(r)})}(e),n}function j(e,t){var n=t.manualExpandedKey,r=t.expanded,i=t.expandSubRows,o=void 0===i||i,a=[];return e.forEach(function(e){return function e(t,i){void 0===i&&(i=!0),t.isExpanded=t.original&&t.original[n]||r[t.id],t.canExpand=t.subRows&&!!t.subRows.length,i&&a.push(t),t.subRows&&t.subRows.length&&t.isExpanded&&t.subRows.forEach(function(t){return e(t,o)})}(e)}),a}function R(e,t,n){return T(e)||t[e]||n[e]||n.text}function M(e,t,n){return e?e(t,n):void 0===t}function I(){throw new Error("React-Table: You have not called prepareRow(row) one or more rows you are attempting to render.")}var O=null,L=/\[/g,P=/\]/g,B=function(e){return i({role:"table"},e)},N=function(e){return i({role:"rowgroup"},e)},F=function(e,t){var n=t.column;return i({key:"header_"+n.id,colSpan:n.totalVisibleHeaderCount,role:"columnheader"},e)},$=function(e,t){var n=t.column;return i({key:"footer_"+n.id,colSpan:n.totalVisibleHeaderCount},e)},z=function(e,t){return i({key:"headerGroup_"+t.index,role:"row"},e)},H=function(e,t){return i({key:"footerGroup_"+t.index},e)},U=function(e,t){return i({key:"row_"+t.row.id,role:"row"},e)},W=function(e,t){var n=t.cell;return i({key:"cell_"+n.row.id+"_"+n.column.id,role:"cell"},e)};function G(){return{useOptions:[],stateReducers:[],useControlledState:[],columns:[],columnsDeps:[],allColumns:[],allColumnsDeps:[],accessValue:[],materializedColumns:[],materializedColumnsDeps:[],useInstanceAfterData:[],visibleColumns:[],visibleColumnsDeps:[],headerGroups:[],headerGroupsDeps:[],useInstanceBeforeDimensions:[],useInstance:[],prepareRow:[],getTableProps:[B],getTableBodyProps:[N],getHeaderGroupProps:[z],getFooterGroupProps:[H],getHeaderProps:[F],getFooterProps:[$],getRowProps:[U],getCellProps:[W],useFinalInstance:[]}}s.resetHiddenColumns="resetHiddenColumns",s.toggleHideColumn="toggleHideColumn",s.setHiddenColumns="setHiddenColumns",s.toggleHideAllColumns="toggleHideAllColumns";var V=function(e){e.getToggleHiddenProps=[q],e.getToggleHideAllColumnsProps=[Y],e.stateReducers.push(J),e.useInstanceBeforeDimensions.push(Q),e.headerGroupsDeps.push(function(e,t){var n=t.instance;return[].concat(e,[n.state.hiddenColumns])}),e.useInstance.push(Z)};V.pluginName="useColumnVisibility";var q=function(e,t){var n=t.column;return[e,{onChange:function(e){n.toggleHidden(!e.target.checked)},style:{cursor:"pointer"},checked:n.isVisible,title:"Toggle Column Visible"}]},Y=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleHideAllColumns(!e.target.checked)},style:{cursor:"pointer"},checked:!n.allColumnsHidden&&!n.state.hiddenColumns.length,title:"Toggle All Columns Hidden",indeterminate:!n.allColumnsHidden&&n.state.hiddenColumns.length}]};function J(e,t,n,r){if(t.type===s.init)return i({hiddenColumns:[]},e);if(t.type===s.resetHiddenColumns)return i({},e,{hiddenColumns:r.initialState.hiddenColumns||[]});if(t.type===s.toggleHideColumn){var o=(void 0!==t.value?t.value:!e.hiddenColumns.includes(t.columnId))?[].concat(e.hiddenColumns,[t.columnId]):e.hiddenColumns.filter(function(e){return e!==t.columnId});return i({},e,{hiddenColumns:o})}return t.type===s.setHiddenColumns?i({},e,{hiddenColumns:g(t.value,e.hiddenColumns)}):t.type===s.toggleHideAllColumns?i({},e,{hiddenColumns:(void 0!==t.value?t.value:!e.hiddenColumns.length)?r.allColumns.map(function(e){return e.id}):[]}):void 0}function Q(e){var n=e.headers,r=e.state.hiddenColumns;t.useRef(!1).current;var i=0;n.forEach(function(e){return i+=function e(t,n){t.isVisible=n&&!r.includes(t.id);var i=0;return t.headers&&t.headers.length?t.headers.forEach(function(n){return i+=e(n,t.isVisible)}):i=t.isVisible?1:0,t.totalVisibleHeaderCount=i,i}(e,!0)})}function Z(e){var n=e.columns,r=e.flatHeaders,i=e.dispatch,o=e.allColumns,a=e.getHooks,l=e.state.hiddenColumns,c=e.autoResetHiddenColumns,d=void 0===c||c,u=v(e),p=o.length===l.length,f=t.useCallback(function(e,t){return i({type:s.toggleHideColumn,columnId:e,value:t})},[i]),m=t.useCallback(function(e){return i({type:s.setHiddenColumns,value:e})},[i]),g=t.useCallback(function(e){return i({type:s.toggleHideAllColumns,value:e})},[i]),y=h(a().getToggleHideAllColumnsProps,{instance:u()});r.forEach(function(e){e.toggleHidden=function(t){i({type:s.toggleHideColumn,columnId:e.id,value:t})},e.getToggleHiddenProps=h(a().getToggleHiddenProps,{instance:u(),column:e})});var x=v(d);b(function(){x()&&i({type:s.resetHiddenColumns})},[i,n]),Object.assign(e,{allColumnsHidden:p,toggleHideColumn:f,setHiddenColumns:m,toggleHideAllColumns:g,getToggleHideAllColumnsProps:y})}var X={},K={},ee=function(e,t,n){return e},te=function(e,t){return e.subRows||[]},ne=function(e,t,n){return""+(n?[n.id,t].join("."):t)},re=function(e){return e};function ie(e){var t=e.initialState,n=void 0===t?X:t,r=e.defaultColumn,a=void 0===r?K:r,s=e.getSubRows,l=void 0===s?te:s,c=e.getRowId,d=void 0===c?ne:c,u=e.stateReducer,h=void 0===u?ee:u,p=e.useControlledState,f=void 0===p?re:p;return i({},o(e,["initialState","defaultColumn","getSubRows","getRowId","stateReducer","useControlledState"]),{initialState:n,defaultColumn:a,getSubRows:l,getRowId:d,stateReducer:h,useControlledState:f})}function oe(e,t){void 0===t&&(t=0);var n=0,r=0,i=0,o=0;return e.forEach(function(e){var a=e.headers;if(e.totalLeft=t,a&&a.length){var s=oe(a,t),l=s[0],c=s[1],d=s[2],u=s[3];e.totalMinWidth=l,e.totalWidth=c,e.totalMaxWidth=d,e.totalFlexWidth=u}else e.totalMinWidth=e.minWidth,e.totalWidth=Math.min(Math.max(e.minWidth,e.width),e.maxWidth),e.totalMaxWidth=e.maxWidth,e.totalFlexWidth=e.canResize?e.totalWidth:0;e.isVisible&&(t+=e.totalWidth,n+=e.totalMinWidth,r+=e.totalWidth,i+=e.totalMaxWidth,o+=e.totalFlexWidth)}),[n,r,i,o]}function ae(e){var t=e.data,n=e.rows,r=e.flatRows,i=e.rowsById,o=e.column,a=e.getRowId,s=e.getSubRows,l=e.accessValueHooks,c=e.getInstance;t.forEach(function(e,d){return function e(n,d,u,h,f){void 0===u&&(u=0);var m=n,g=a(n,d,h),v=i[g];if(v)v.subRows&&v.originalSubRows.forEach(function(t,n){return e(t,n,u+1,v)});else if((v={id:g,original:m,index:d,depth:u,cells:[{}]}).cells.map=I,v.cells.filter=I,v.cells.forEach=I,v.cells[0].getCellProps=I,v.values={},f.push(v),r.push(v),i[g]=v,v.originalSubRows=s(n,d),v.originalSubRows){var y=[];v.originalSubRows.forEach(function(t,n){return e(t,n,u+1,v,y)}),v.subRows=y}o.accessor&&(v.values[o.id]=o.accessor(n,d,v,f,t)),v.values[o.id]=p(l,v.values[o.id],{row:v,column:o,instance:c()})}(e,d,0,void 0,n)})}s.resetExpanded="resetExpanded",s.toggleRowExpanded="toggleRowExpanded",s.toggleAllRowsExpanded="toggleAllRowsExpanded";var se=function(e){e.getToggleAllRowsExpandedProps=[le],e.getToggleRowExpandedProps=[ce],e.stateReducers.push(de),e.useInstance.push(ue),e.prepareRow.push(he)};se.pluginName="useExpanded";var le=function(e,t){var n=t.instance;return[e,{onClick:function(e){n.toggleAllRowsExpanded()},style:{cursor:"pointer"},title:"Toggle All Rows Expanded"}]},ce=function(e,t){var n=t.row;return[e,{onClick:function(){n.toggleRowExpanded()},style:{cursor:"pointer"},title:"Toggle Row Expanded"}]};function de(e,t,n,r){if(t.type===s.init)return i({expanded:{}},e);if(t.type===s.resetExpanded)return i({},e,{expanded:r.initialState.expanded||{}});if(t.type===s.toggleAllRowsExpanded){var l=t.value,c=r.rowsById,d=Object.keys(c).length===Object.keys(e.expanded).length;if(void 0!==l?l:!d){var u={};return Object.keys(c).forEach(function(e){u[e]=!0}),i({},e,{expanded:u})}return i({},e,{expanded:{}})}if(t.type===s.toggleRowExpanded){var h,p=t.id,f=t.value,m=e.expanded[p],g=void 0!==f?f:!m;if(!m&&g)return i({},e,{expanded:i({},e.expanded,(h={},h[p]=!0,h))});if(m&&!g){var v=e.expanded;return v[p],i({},e,{expanded:o(v,[p].map(a))})}return e}}function ue(e){var n=e.data,r=e.rows,i=e.rowsById,o=e.manualExpandedKey,a=void 0===o?"expanded":o,l=e.paginateExpandedRows,c=void 0===l||l,d=e.expandSubRows,u=void 0===d||d,p=e.autoResetExpanded,f=void 0===p||p,g=e.getHooks,y=e.plugins,x=e.state.expanded,w=e.dispatch;m(y,["useSortBy","useGroupBy","usePivotColumns","useGlobalFilter"],"useExpanded");var C=v(f),S=Boolean(Object.keys(i).length&&Object.keys(x).length);S&&Object.keys(i).some(function(e){return!x[e]})&&(S=!1),b(function(){C()&&w({type:s.resetExpanded})},[w,n]);var A=t.useCallback(function(e,t){w({type:s.toggleRowExpanded,id:e,value:t})},[w]),k=t.useCallback(function(e){return w({type:s.toggleAllRowsExpanded,value:e})},[w]),_=t.useMemo(function(){return c?j(r,{manualExpandedKey:a,expanded:x,expandSubRows:u}):r},[c,r,a,x,u]),E=t.useMemo(function(){return function(e){var t=0;return Object.keys(e).forEach(function(e){var n=e.split(".");t=Math.max(t,n.length)}),t}(x)},[x]),T=v(e),D=h(g().getToggleAllRowsExpandedProps,{instance:T()});Object.assign(e,{preExpandedRows:r,expandedRows:_,rows:_,expandedDepth:E,isAllRowsExpanded:S,toggleRowExpanded:A,toggleAllRowsExpanded:k,getToggleAllRowsExpandedProps:D})}function he(e,t){var n=t.instance.getHooks,r=t.instance;e.toggleRowExpanded=function(t){return r.toggleRowExpanded(e.id,t)},e.getToggleRowExpandedProps=h(n().getToggleRowExpandedProps,{instance:r,row:e})}var pe=function(e,t,n){return e.filter(function(e){return t.some(function(t){var r=e.values[t];return String(r).toLowerCase().includes(String(n).toLowerCase())})})};pe.autoRemove=function(e){return!e};var fe=function(e,t,n){return e.filter(function(e){return t.some(function(t){var r=e.values[t];return void 0===r||String(r).toLowerCase()===String(n).toLowerCase()})})};fe.autoRemove=function(e){return!e};var me=function(e,t,n){return e.filter(function(e){return t.some(function(t){var r=e.values[t];return void 0===r||String(r)===String(n)})})};me.autoRemove=function(e){return!e};var ge=function(e,t,n){return e.filter(function(e){return t.some(function(t){return e.values[t].includes(n)})})};ge.autoRemove=function(e){return!e||!e.length};var ve=function(e,t,n){return e.filter(function(e){return t.some(function(t){var r=e.values[t];return r&&r.length&&n.every(function(e){return r.includes(e)})})})};ve.autoRemove=function(e){return!e||!e.length};var ye=function(e,t,n){return e.filter(function(e){return t.some(function(t){var r=e.values[t];return r&&r.length&&n.some(function(e){return r.includes(e)})})})};ye.autoRemove=function(e){return!e||!e.length};var be=function(e,t,n){return e.filter(function(e){return t.some(function(t){var r=e.values[t];return n.includes(r)})})};be.autoRemove=function(e){return!e||!e.length};var xe=function(e,t,n){return e.filter(function(e){return t.some(function(t){return e.values[t]===n})})};xe.autoRemove=function(e){return void 0===e};var we=function(e,t,n){return e.filter(function(e){return t.some(function(t){return e.values[t]==n})})};we.autoRemove=function(e){return null==e};var Ce=function(e,t,n){var r=n||[],i=r[0],o=r[1];if((i="number"==typeof i?i:-1/0)>(o="number"==typeof o?o:1/0)){var a=i;i=o,o=a}return e.filter(function(e){return t.some(function(t){var n=e.values[t];return n>=i&&n<=o})})};Ce.autoRemove=function(e){return!e||"number"!=typeof e[0]&&"number"!=typeof e[1]};var Se=Object.freeze({__proto__:null,text:pe,exactText:fe,exactTextCase:me,includes:ge,includesAll:ve,includesSome:ye,includesValue:be,exact:xe,equals:we,between:Ce});s.resetFilters="resetFilters",s.setFilter="setFilter",s.setAllFilters="setAllFilters";var Ae=function(e){e.stateReducers.push(ke),e.useInstance.push(_e)};function ke(e,t,n,r){if(t.type===s.init)return i({filters:[]},e);if(t.type===s.resetFilters)return i({},e,{filters:r.initialState.filters||[]});if(t.type===s.setFilter){var o=t.columnId,a=t.filterValue,l=r.allColumns,c=r.filterTypes,d=l.find(function(e){return e.id===o});if(!d)throw new Error("React-Table: Could not find a column with id: "+o);var u=R(d.filter,c||{},Se),h=e.filters.find(function(e){return e.id===o}),p=g(a,h&&h.value);return M(u.autoRemove,p,d)?i({},e,{filters:e.filters.filter(function(e){return e.id!==o})}):i({},e,h?{filters:e.filters.map(function(e){return e.id===o?{id:o,value:p}:e})}:{filters:[].concat(e.filters,[{id:o,value:p}])})}if(t.type===s.setAllFilters){var f=t.filters,m=r.allColumns,v=r.filterTypes;return i({},e,{filters:g(f,e.filters).filter(function(e){var t=m.find(function(t){return t.id===e.id});return!M(R(t.filter,v||{},Se).autoRemove,e.value,t)})})}}function _e(e){var n=e.data,r=e.rows,i=e.flatRows,o=e.rowsById,a=e.allColumns,l=e.filterTypes,c=e.manualFilters,d=e.defaultCanFilter,u=void 0!==d&&d,h=e.disableFilters,p=e.state.filters,f=e.dispatch,m=e.autoResetFilters,g=void 0===m||m,y=t.useCallback(function(e,t){f({type:s.setFilter,columnId:e,filterValue:t})},[f]),x=t.useCallback(function(e){f({type:s.setAllFilters,filters:e})},[f]);a.forEach(function(e){var t=e.id,n=e.accessor,r=e.defaultCanFilter,i=e.disableFilters;e.canFilter=n?E(!0!==i&&void 0,!0!==h&&void 0,!0):E(r,u,!1),e.setFilter=function(t){return y(e.id,t)};var o=p.find(function(e){return e.id===t});e.filterValue=o&&o.value});var w=t.useMemo(function(){if(c||!p.length)return[r,i,o];var e=[],t={};return[function n(r,i){void 0===i&&(i=0);var o=r;return(o=p.reduce(function(e,t){var n=t.id,r=t.value,o=a.find(function(e){return e.id===n});if(!o)return e;0===i&&(o.preFilteredRows=e);var s=R(o.filter,l||{},Se);return s?(o.filteredRows=s(e,[n],r),o.filteredRows):(console.warn("Could not find a valid 'column.filter' for column with the ID: "+o.id+"."),e)},r)).forEach(function(r){e.push(r),t[r.id]=r,r.subRows&&(r.subRows=r.subRows&&r.subRows.length>0?n(r.subRows,i+1):r.subRows)}),o}(r),e,t]},[c,p,r,i,o,a,l]),C=w[0],S=w[1],A=w[2];t.useMemo(function(){a.filter(function(e){return!p.find(function(t){return t.id===e.id})}).forEach(function(e){e.preFilteredRows=C,e.filteredRows=C})},[C,p,a]);var k=v(g);b(function(){k()&&f({type:s.resetFilters})},[f,c?null:n]),Object.assign(e,{preFilteredRows:r,preFilteredFlatRows:i,preFilteredRowsById:o,filteredRows:C,filteredFlatRows:S,filteredRowsById:A,rows:C,flatRows:S,rowsById:A,setFilter:y,setAllFilters:x})}Ae.pluginName="useFilters",s.resetGlobalFilter="resetGlobalFilter",s.setGlobalFilter="setGlobalFilter";var Ee=function(e){e.stateReducers.push(Te),e.useInstance.push(De)};function Te(e,t,n,r){if(t.type===s.resetGlobalFilter)return i({},e,{globalFilter:r.initialState.globalFilter||void 0});if(t.type===s.setGlobalFilter){var a=t.filterValue,l=r.userFilterTypes,c=R(r.globalFilter,l||{},Se),d=g(a,e.globalFilter);return M(c.autoRemove,d)?(e.globalFilter,o(e,["globalFilter"])):i({},e,{globalFilter:d})}}function De(e){var n=e.data,r=e.rows,i=e.flatRows,o=e.rowsById,a=e.allColumns,l=e.filterTypes,c=e.globalFilter,d=e.manualGlobalFilter,u=e.state.globalFilter,h=e.dispatch,p=e.autoResetGlobalFilter,f=void 0===p||p,m=e.disableGlobalFilter,g=t.useCallback(function(e){h({type:s.setGlobalFilter,filterValue:e})},[h]),y=t.useMemo(function(){if(d||void 0===u)return[r,i,o];var e=[],t={},n=R(c,l||{},Se);if(!n)return console.warn("Could not find a valid 'globalFilter' option."),r;a.forEach(function(e){var t=e.disableGlobalFilter;e.canFilter=E(!0!==t&&void 0,!0!==m&&void 0,!0)});var s=a.filter(function(e){return!0===e.canFilter});return[function r(i){return(i=n(i,s.map(function(e){return e.id}),u)).forEach(function(n){e.push(n),t[n.id]=n,n.subRows=n.subRows&&n.subRows.length?r(n.subRows):n.subRows}),i}(r),e,t]},[d,u,c,l,a,r,i,o,m]),x=y[0],w=y[1],C=y[2],S=v(f);b(function(){S()&&h({type:s.resetGlobalFilter})},[h,d?null:n]),Object.assign(e,{preGlobalFilteredRows:r,preGlobalFilteredFlatRows:i,preGlobalFilteredRowsById:o,globalFilteredRows:x,globalFilteredFlatRows:w,globalFilteredRowsById:C,rows:x,flatRows:w,rowsById:C,setGlobalFilter:g,disableGlobalFilter:m})}function je(e,t){return t.reduce(function(e,t){return e+("number"==typeof t?t:0)},0)}Ee.pluginName="useGlobalFilter";var Re=Object.freeze({__proto__:null,sum:je,min:function(e){var t=e[0]||0;return e.forEach(function(e){"number"==typeof e&&(t=Math.min(t,e))}),t},max:function(e){var t=e[0]||0;return e.forEach(function(e){"number"==typeof e&&(t=Math.max(t,e))}),t},minMax:function(e){var t=e[0]||0,n=e[0]||0;return e.forEach(function(e){"number"==typeof e&&(t=Math.min(t,e),n=Math.max(n,e))}),t+".."+n},average:function(e){return je(0,e)/e.length},median:function(e){if(!e.length)return null;var t=Math.floor(e.length/2),n=[].concat(e).sort(function(e,t){return e-t});return e.length%2!=0?n[t]:(n[t-1]+n[t])/2},unique:function(e){return Array.from(new Set(e).values())},uniqueCount:function(e){return new Set(e).size},count:function(e){return e.length}}),Me=[],Ie={};s.resetGroupBy="resetGroupBy",s.setGroupBy="setGroupBy",s.toggleGroupBy="toggleGroupBy";var Oe=function(e){e.getGroupByToggleProps=[Le],e.stateReducers.push(Pe),e.visibleColumnsDeps.push(function(e,t){var n=t.instance;return[].concat(e,[n.state.groupBy])}),e.visibleColumns.push(Be),e.useInstance.push(Fe),e.prepareRow.push($e)};Oe.pluginName="useGroupBy";var Le=function(e,t){var n=t.header;return[e,{onClick:n.canGroupBy?function(e){e.persist(),n.toggleGroupBy()}:void 0,style:{cursor:n.canGroupBy?"pointer":void 0},title:"Toggle GroupBy"}]};function Pe(e,t,n,r){if(t.type===s.init)return i({groupBy:[]},e);if(t.type===s.resetGroupBy)return i({},e,{groupBy:r.initialState.groupBy||[]});if(t.type===s.setGroupBy)return i({},e,{groupBy:t.value});if(t.type===s.toggleGroupBy){var o=t.columnId,a=t.value,l=void 0!==a?a:!e.groupBy.includes(o);return i({},e,l?{groupBy:[].concat(e.groupBy,[o])}:{groupBy:e.groupBy.filter(function(e){return e!==o})})}}function Be(e,t){var n=t.instance.state.groupBy,r=n.map(function(t){return e.find(function(e){return e.id===t})}).filter(Boolean),i=e.filter(function(e){return!n.includes(e.id)});return(e=[].concat(r,i)).forEach(function(e){e.isGrouped=n.includes(e.id),e.groupedIndex=n.indexOf(e.id)}),e}var Ne={};function Fe(e){var n=e.data,r=e.rows,o=e.flatRows,a=e.rowsById,l=e.allColumns,c=e.flatHeaders,d=e.groupByFn,u=void 0===d?ze:d,p=e.manualGroupBy,f=e.aggregations,g=void 0===f?Ne:f,y=e.plugins,x=e.state.groupBy,w=e.dispatch,C=e.autoResetGroupBy,S=void 0===C||C,A=e.disableGroupBy,k=e.defaultCanGroupBy,_=e.getHooks;m(y,["useColumnOrder","useFilters"],"useGroupBy");var T=v(e);l.forEach(function(t){var n=t.accessor,r=t.defaultGroupBy,i=t.disableGroupBy;t.canGroupBy=n?E(t.canGroupBy,!0!==i&&void 0,!0!==A&&void 0,!0):E(t.canGroupBy,r,k,!1),t.canGroupBy&&(t.toggleGroupBy=function(){return e.toggleGroupBy(t.id)}),t.Aggregated=t.Aggregated||t.Cell});var j=t.useCallback(function(e,t){w({type:s.toggleGroupBy,columnId:e,value:t})},[w]),R=t.useCallback(function(e){w({type:s.setGroupBy,value:e})},[w]);c.forEach(function(e){e.getGroupByToggleProps=h(_().getGroupByToggleProps,{instance:T(),header:e})});var M=t.useMemo(function(){if(p||!x.length)return[r,o,a,Me,Ie,o,a];var e=x.filter(function(e){return l.find(function(t){return t.id===e})}),t=[],n={},s=[],c={},d=[],h={},f=function r(o,a,p){if(void 0===a&&(a=0),a===e.length)return o.map(function(e){return i({},e,{depth:a})});var f=e[a],m=u(o,f);return Object.entries(m).map(function(i,o){var u=i[0],m=i[1],v=f+":"+u,y=r(m,a+1,v=p?p+">"+v:v),b=a?D(m,"leafRows"):m,x=function(t,n,r){var i={};return l.forEach(function(o){if(e.includes(o.id))i[o.id]=n[0]?n[0].values[o.id]:null;else{var a="function"==typeof o.aggregate?o.aggregate:g[o.aggregate]||Re[o.aggregate];if(a){var s=n.map(function(e){return e.values[o.id]}),l=t.map(function(e){var t=e.values[o.id];if(!r&&o.aggregateValue){var n="function"==typeof o.aggregateValue?o.aggregateValue:g[o.aggregateValue]||Re[o.aggregateValue];if(!n)throw console.info({column:o}),new Error("React Table: Invalid column.aggregateValue option for column listed above");t=n(t,e,o)}return t});i[o.id]=a(l,s)}else{if(o.aggregate)throw console.info({column:o}),new Error("React Table: Invalid column.aggregate option for column listed above");i[o.id]=null}}}),i}(b,m,a),w={id:v,isGrouped:!0,groupByID:f,groupByVal:u,values:x,subRows:y,leafRows:b,depth:a,index:o};return y.forEach(function(e){t.push(e),n[e.id]=e,e.isGrouped?(s.push(e),c[e.id]=e):(d.push(e),h[e.id]=e)}),w})}(r);return f.forEach(function(e){t.push(e),n[e.id]=e,e.isGrouped?(s.push(e),c[e.id]=e):(d.push(e),h[e.id]=e)}),[f,t,n,s,c,d,h]},[p,x,r,o,a,l,g,u]),I=M[0],O=M[1],L=M[2],P=M[3],B=M[4],N=M[5],F=M[6],$=v(S);b(function(){$()&&w({type:s.resetGroupBy})},[w,p?null:n]),Object.assign(e,{preGroupedRows:r,preGroupedFlatRow:o,preGroupedRowsById:a,groupedRows:I,groupedFlatRows:O,groupedRowsById:L,onlyGroupedFlatRows:P,onlyGroupedRowsById:B,nonGroupedFlatRows:N,nonGroupedRowsById:F,rows:I,flatRows:O,rowsById:L,toggleGroupBy:j,setGroupBy:R})}function $e(e){e.allCells.forEach(function(t){var n;t.isGrouped=t.column.isGrouped&&t.column.id===e.groupByID,t.isPlaceholder=!t.isGrouped&&t.column.isGrouped,t.isAggregated=!t.isGrouped&&!t.isPlaceholder&&(null==(n=e.subRows)?void 0:n.length)})}function ze(e,t){return e.reduce(function(e,n,r){var i=""+n.values[t];return e[i]=Array.isArray(e[i])?e[i]:[],e[i].push(n),e},{})}var He=/([0-9]+)/gm;function Ue(e,t){return e===t?0:e>t?1:-1}function We(e,t,n){return[e.values[n],t.values[n]]}function Ge(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}var Ve=Object.freeze({__proto__:null,alphanumeric:function(e,t,n){var r=We(e,t,n),i=r[0],o=r[1];for(i=Ge(i),o=Ge(o),i=i.split(He).filter(Boolean),o=o.split(He).filter(Boolean);i.length&&o.length;){var a=i.shift(),s=o.shift(),l=parseInt(a,10),c=parseInt(s,10),d=[l,c].sort();if(isNaN(d[0])){if(a>s)return 1;if(s>a)return-1}else{if(isNaN(d[1]))return isNaN(l)?-1:1;if(l>c)return 1;if(c>l)return-1}}return i.length-o.length},datetime:function(e,t,n){var r=We(e,t,n),i=r[0],o=r[1];return Ue(i=i.getTime(),o=o.getTime())},basic:function(e,t,n){var r=We(e,t,n);return Ue(r[0],r[1])},string:function(e,t,n){var r=We(e,t,n),i=r[0],o=r[1];for(i=i.split("").filter(Boolean),o=o.split("").filter(Boolean);i.length&&o.length;){var a=i.shift(),s=o.shift(),l=a.toLowerCase(),c=s.toLowerCase();if(l>c)return 1;if(c>l)return-1;if(a>s)return 1;if(s>a)return-1}return i.length-o.length},number:function(e,t,n){var r=We(e,t,n),i=r[0],o=r[1],a=/[^0-9.]/gi;return Ue(i=Number(String(i).replace(a,"")),o=Number(String(o).replace(a,"")))}});s.resetSortBy="resetSortBy",s.setSortBy="setSortBy",s.toggleSortBy="toggleSortBy",s.clearSortBy="clearSortBy",d.sortType="alphanumeric",d.sortDescFirst=!1;var qe=function(e){e.getSortByToggleProps=[Ye],e.stateReducers.push(Je),e.useInstance.push(Qe)};qe.pluginName="useSortBy";var Ye=function(e,t){var n=t.instance,r=t.column,i=n.isMultiSortEvent,o=void 0===i?function(e){return e.shiftKey}:i;return[e,{onClick:r.canSort?function(e){e.persist(),r.toggleSortBy(void 0,!n.disableMultiSort&&o(e))}:void 0,style:{cursor:r.canSort?"pointer":void 0},title:r.canSort?"Toggle SortBy":void 0}]};function Je(e,t,n,r){if(t.type===s.init)return i({sortBy:[]},e);if(t.type===s.resetSortBy)return i({},e,{sortBy:r.initialState.sortBy||[]});if(t.type===s.clearSortBy)return i({},e,{sortBy:e.sortBy.filter(function(e){return e.id!==t.columnId})});if(t.type===s.setSortBy)return i({},e,{sortBy:t.sortBy});if(t.type===s.toggleSortBy){var o,a=t.columnId,l=t.desc,c=t.multi,d=r.allColumns,u=r.disableMultiSort,h=r.disableSortRemove,p=r.disableMultiRemove,f=r.maxMultiSortColCount,m=void 0===f?Number.MAX_SAFE_INTEGER:f,g=e.sortBy,v=d.find(function(e){return e.id===a}).sortDescFirst,y=g.find(function(e){return e.id===a}),b=g.findIndex(function(e){return e.id===a}),x=null!=l,w=[];return"toggle"!=(o=!u&&c?y?"toggle":"add":b!==g.length-1||1!==g.length?"replace":y?"toggle":"replace")||h||x||c&&p||!(y&&y.desc&&!v||!y.desc&&v)||(o="remove"),"replace"===o?w=[{id:a,desc:x?l:v}]:"add"===o?(w=[].concat(g,[{id:a,desc:x?l:v}])).splice(0,w.length-m):"toggle"===o?w=g.map(function(e){return e.id===a?i({},e,{desc:x?l:!y.desc}):e}):"remove"===o&&(w=g.filter(function(e){return e.id!==a})),i({},e,{sortBy:w})}}function Qe(e){var n=e.data,r=e.rows,i=e.flatRows,o=e.allColumns,a=e.orderByFn,l=void 0===a?Ze:a,c=e.sortTypes,d=e.manualSortBy,u=e.defaultCanSort,p=e.disableSortBy,f=e.flatHeaders,g=e.state.sortBy,y=e.dispatch,x=e.plugins,w=e.getHooks,C=e.autoResetSortBy,S=void 0===C||C;m(x,["useFilters","useGlobalFilter","useGroupBy","usePivotColumns"],"useSortBy");var A=t.useCallback(function(e){y({type:s.setSortBy,sortBy:e})},[y]),k=t.useCallback(function(e,t,n){y({type:s.toggleSortBy,columnId:e,desc:t,multi:n})},[y]),_=v(e);f.forEach(function(e){var t=e.accessor,n=e.canSort,r=e.disableSortBy,i=e.id,o=t?E(!0!==r&&void 0,!0!==p&&void 0,!0):E(u,n,!1);e.canSort=o,e.canSort&&(e.toggleSortBy=function(t,n){return k(e.id,t,n)},e.clearSortBy=function(){y({type:s.clearSortBy,columnId:e.id})}),e.getSortByToggleProps=h(w().getSortByToggleProps,{instance:_(),column:e});var a=g.find(function(e){return e.id===i});e.isSorted=!!a,e.sortedIndex=g.findIndex(function(e){return e.id===i}),e.isSortedDesc=e.isSorted?a.desc:void 0});var D=t.useMemo(function(){if(d||!g.length)return[r,i];var e=[],t=g.filter(function(e){return o.find(function(t){return t.id===e.id})});return[function n(r){var i=l(r,t.map(function(e){var t=o.find(function(t){return t.id===e.id});if(!t)throw new Error("React-Table: Could not find a column with id: "+e.id+" while sorting");var n=t.sortType,r=T(n)||(c||{})[n]||Ve[n];if(!r)throw new Error("React-Table: Could not find a valid sortType of '"+n+"' for column '"+e.id+"'.");return function(t,n){return r(t,n,e.id,e.desc)}}),t.map(function(e){var t=o.find(function(t){return t.id===e.id});return t&&t.sortInverted?e.desc:!e.desc}));return i.forEach(function(t){e.push(t),t.subRows&&0!==t.subRows.length&&(t.subRows=n(t.subRows))}),i}(r),e]},[d,g,r,i,o,l,c]),j=D[0],R=D[1],M=v(S);b(function(){M()&&y({type:s.resetSortBy})},[d?null:n]),Object.assign(e,{preSortedRows:r,preSortedFlatRows:i,sortedRows:j,sortedFlatRows:R,rows:j,flatRows:R,setSortBy:A,toggleSortBy:k})}function Ze(e,t,n){return[].concat(e).sort(function(e,r){for(var i=0;i<t.length;i+=1){var o=t[i],a=!1===n[i]||"desc"===n[i],s=o(e,r);if(0!==s)return a?-s:s}return n[0]?e.index-r.index:r.index-e.index})}s.resetPage="resetPage",s.gotoPage="gotoPage",s.setPageSize="setPageSize";var Xe=function(e){e.stateReducers.push(Ke),e.useInstance.push(et)};function Ke(e,t,n,r){if(t.type===s.init)return i({pageSize:10,pageIndex:0},e);if(t.type===s.resetPage)return i({},e,{pageIndex:r.initialState.pageIndex||0});if(t.type===s.gotoPage){var o=r.pageCount,a=r.page,l=g(t.pageIndex,e.pageIndex),c=!1;return l>e.pageIndex?c=-1===o?a.length>=e.pageSize:l<o:l<e.pageIndex&&(c=l>-1),c?i({},e,{pageIndex:l}):e}if(t.type===s.setPageSize){var d=t.pageSize,u=e.pageSize*e.pageIndex;return i({},e,{pageIndex:Math.floor(u/d),pageSize:d})}}function et(e){var n=e.rows,r=e.autoResetPage,i=void 0===r||r,o=e.manualExpandedKey,a=void 0===o?"expanded":o,l=e.plugins,c=e.pageCount,d=e.paginateExpandedRows,u=void 0===d||d,h=e.expandSubRows,p=void 0===h||h,f=e.state,g=f.pageSize,y=f.pageIndex,x=f.expanded,w=f.globalFilter,C=f.filters,S=f.groupBy,A=f.sortBy,k=e.dispatch,_=e.data,E=e.manualPagination;m(l,["useGlobalFilter","useFilters","useGroupBy","useSortBy","useExpanded"],"usePagination");var T=v(i);b(function(){T()&&k({type:s.resetPage})},[k,E?null:_,w,C,S,A]);var D=E?c:Math.ceil(n.length/g),R=t.useMemo(function(){return D>0?[].concat(new Array(D)).fill(null).map(function(e,t){return t}):[]},[D]),M=t.useMemo(function(){var e;if(E)e=n;else{var t=g*y,r=t+g;e=n.slice(t,r)}return u?e:j(e,{manualExpandedKey:a,expanded:x,expandSubRows:p})},[p,x,a,E,y,g,u,n]),I=y>0,O=-1===D?M.length>=g:y<D-1,L=t.useCallback(function(e){k({type:s.gotoPage,pageIndex:e})},[k]),P=t.useCallback(function(){return L(function(e){return e-1})},[L]),B=t.useCallback(function(){return L(function(e){return e+1})},[L]),N=t.useCallback(function(e){k({type:s.setPageSize,pageSize:e})},[k]);Object.assign(e,{pageOptions:R,pageCount:D,page:M,canPreviousPage:I,canNextPage:O,gotoPage:L,previousPage:P,nextPage:B,setPageSize:N})}Xe.pluginName="usePagination",s.resetPivot="resetPivot",s.togglePivot="togglePivot";var tt=function(e){e.getPivotToggleProps=[rt],e.stateReducers.push(it),e.useInstanceAfterData.push(ot),e.allColumns.push(at),e.accessValue.push(st),e.materializedColumns.push(lt),e.materializedColumnsDeps.push(ct),e.visibleColumns.push(dt),e.visibleColumnsDeps.push(ut),e.useInstance.push(ht),e.prepareRow.push(pt)};tt.pluginName="usePivotColumns";var nt=[],rt=function(e,t){var n=t.header;return[e,{onClick:n.canPivot?function(e){e.persist(),n.togglePivot()}:void 0,style:{cursor:n.canPivot?"pointer":void 0},title:"Toggle Pivot"}]};function it(e,t,n,r){if(t.type===s.init)return i({pivotColumns:nt},e);if(t.type===s.resetPivot)return i({},e,{pivotColumns:r.initialState.pivotColumns||nt});if(t.type===s.togglePivot){var o=t.columnId,a=t.value,l=void 0!==a?a:!e.pivotColumns.includes(o);return i({},e,l?{pivotColumns:[].concat(e.pivotColumns,[o])}:{pivotColumns:e.pivotColumns.filter(function(e){return e!==o})})}}function ot(e){e.allColumns.forEach(function(t){t.isPivotSource=e.state.pivotColumns.includes(t.id)})}function at(e,t){var n=t.instance;return e.forEach(function(e){e.isPivotSource=n.state.pivotColumns.includes(e.id),e.uniqueValues=new Set}),e}function st(e,t){var n=t.column;return n.uniqueValues&&void 0!==e&&n.uniqueValues.add(e),e}function lt(e,t){var n=t.instance,r=n.allColumns,o=n.state;if(!o.pivotColumns.length||!o.groupBy||!o.groupBy.length)return e;var a=o.pivotColumns.map(function(e){return r.find(function(t){return t.id===e})}).filter(Boolean),s=r.filter(function(e){return!e.isPivotSource&&!o.groupBy.includes(e.id)&&!o.pivotColumns.includes(e.id)}),l=S(function e(t,n,r){void 0===t&&(t=0),void 0===r&&(r=[]);var o=a[t];return o?Array.from(o.uniqueValues).sort().map(function(a){var s=i({},o,{Header:o.PivotHeader||"string"==typeof o.header?o.Header+": "+a:a,isPivotGroup:!0,parent:n,depth:t,id:n?n.id+"."+o.id+"."+a:o.id+"."+a,pivotValue:a});return s.columns=e(t+1,s,[].concat(r,[function(e){return e.values[o.id]===a}])),s}):s.map(function(e){return i({},e,{canPivot:!1,isPivoted:!0,parent:n,depth:t,id:""+(n?n.id+"."+e.id:e.id),accessor:function(t,n,i){if(r.every(function(e){return e(i)}))return i.values[e.id]}})})}());return[].concat(e,l)}function ct(e,t){var n=t.instance.state,r=n.pivotColumns,i=n.groupBy;return[].concat(e,[r,i])}function dt(e,t){var n=t.instance.state;return e=e.filter(function(e){return!e.isPivotSource}),n.pivotColumns.length&&n.groupBy&&n.groupBy.length&&(e=e.filter(function(e){return e.isGrouped||e.isPivoted})),e}function ut(e,t){var n=t.instance;return[].concat(e,[n.state.pivotColumns,n.state.groupBy])}function ht(e){var t=e.columns,n=e.allColumns,r=e.flatHeaders,i=e.getHooks,o=e.plugins,a=e.dispatch,l=e.autoResetPivot,c=void 0===l||l,d=e.manaulPivot,u=e.disablePivot,p=e.defaultCanPivot;m(o,["useGroupBy"],"usePivotColumns");var f=v(e);n.forEach(function(t){var n=t.accessor,r=t.defaultPivot,i=t.disablePivot;t.canPivot=n?E(t.canPivot,!0!==i&&void 0,!0!==u&&void 0,!0):E(t.canPivot,r,p,!1),t.canPivot&&(t.togglePivot=function(){return e.togglePivot(t.id)}),t.Aggregated=t.Aggregated||t.Cell}),r.forEach(function(e){e.getPivotToggleProps=h(i().getPivotToggleProps,{instance:f(),header:e})});var g=v(c);b(function(){g()&&a({type:s.resetPivot})},[a,d?null:t]),Object.assign(e,{togglePivot:function(e,t){a({type:s.togglePivot,columnId:e,value:t})}})}function pt(e){e.allCells.forEach(function(e){e.isPivoted=e.column.isPivoted})}s.resetSelectedRows="resetSelectedRows",s.toggleAllRowsSelected="toggleAllRowsSelected",s.toggleRowSelected="toggleRowSelected",s.toggleAllPageRowsSelected="toggleAllPageRowsSelected";var ft=function(e){e.getToggleRowSelectedProps=[mt],e.getToggleAllRowsSelectedProps=[gt],e.getToggleAllPageRowsSelectedProps=[vt],e.stateReducers.push(yt),e.useInstance.push(bt),e.prepareRow.push(xt)};ft.pluginName="useRowSelect";var mt=function(e,t){var n=t.instance,r=t.row,i=n.manualRowSelectedKey,o=void 0===i?"isSelected":i;return[e,{onChange:function(e){r.toggleRowSelected(e.target.checked)},style:{cursor:"pointer"},checked:!(!r.original||!r.original[o])||r.isSelected,title:"Toggle Row Selected",indeterminate:r.isSomeSelected}]},gt=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllRowsSelected,title:"Toggle All Rows Selected",indeterminate:Boolean(!n.isAllRowsSelected&&Object.keys(n.state.selectedRowIds).length)}]},vt=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllPageRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllPageRowsSelected,title:"Toggle All Current Page Rows Selected",indeterminate:Boolean(!n.isAllPageRowsSelected&&n.page.some(function(e){var t=e.id;return n.state.selectedRowIds[t]}))}]};function yt(e,t,n,r){if(t.type===s.init)return i({selectedRowIds:{}},e);if(t.type===s.resetSelectedRows)return i({},e,{selectedRowIds:r.initialState.selectedRowIds||{}});if(t.type===s.toggleAllRowsSelected){var o=t.value,a=r.isAllRowsSelected,l=r.rowsById,c=r.nonGroupedRowsById,d=void 0===c?l:c,u=void 0!==o?o:!a,h=Object.assign({},e.selectedRowIds);return u?Object.keys(d).forEach(function(e){h[e]=!0}):Object.keys(d).forEach(function(e){delete h[e]}),i({},e,{selectedRowIds:h})}if(t.type===s.toggleRowSelected){var p=t.id,f=t.value,m=r.rowsById,g=r.selectSubRows,v=void 0===g||g,y=r.getSubRows,b=e.selectedRowIds[p],x=void 0!==f?f:!b;if(b===x)return e;var w=i({},e.selectedRowIds);return function e(t){var n=m[t];if(n&&(n.isGrouped||(x?w[t]=!0:delete w[t]),v&&y(n)))return y(n).forEach(function(t){return e(t.id)})}(p),i({},e,{selectedRowIds:w})}if(t.type===s.toggleAllPageRowsSelected){var C=t.value,S=r.page,A=r.rowsById,k=r.selectSubRows,_=void 0===k||k,E=r.isAllPageRowsSelected,T=r.getSubRows,D=void 0!==C?C:!E,j=i({},e.selectedRowIds);return S.forEach(function(e){return function e(t){var n=A[t];if(n.isGrouped||(D?j[t]=!0:delete j[t]),_&&T(n))return T(n).forEach(function(t){return e(t.id)})}(e.id)}),i({},e,{selectedRowIds:j})}return e}function bt(e){var n=e.data,r=e.rows,i=e.getHooks,o=e.plugins,a=e.rowsById,l=e.nonGroupedRowsById,c=void 0===l?a:l,d=e.autoResetSelectedRows,u=void 0===d||d,p=e.state.selectedRowIds,f=e.selectSubRows,g=void 0===f||f,y=e.dispatch,x=e.page,w=e.getSubRows;m(o,["useFilters","useGroupBy","useSortBy","useExpanded","usePagination"],"useRowSelect");var C=t.useMemo(function(){var e=[];return r.forEach(function(t){var n=g?function e(t,n,r){if(n[t.id])return!0;var i=r(t);if(i&&i.length){var o=!0,a=!1;return i.forEach(function(t){a&&!o||(e(t,n,r)?a=!0:o=!1)}),!!o||!!a&&null}return!1}(t,p,w):!!p[t.id];t.isSelected=!!n,t.isSomeSelected=null===n,n&&e.push(t)}),e},[r,g,p,w]),S=Boolean(Object.keys(c).length&&Object.keys(p).length),A=S;S&&Object.keys(c).some(function(e){return!p[e]})&&(S=!1),S||x&&x.length&&x.some(function(e){var t=e.id;return!p[t]})&&(A=!1);var k=v(u);b(function(){k()&&y({type:s.resetSelectedRows})},[y,n]);var _=t.useCallback(function(e){return y({type:s.toggleAllRowsSelected,value:e})},[y]),E=t.useCallback(function(e){return y({type:s.toggleAllPageRowsSelected,value:e})},[y]),T=t.useCallback(function(e,t){return y({type:s.toggleRowSelected,id:e,value:t})},[y]),D=v(e),j=h(i().getToggleAllRowsSelectedProps,{instance:D()}),R=h(i().getToggleAllPageRowsSelectedProps,{instance:D()});Object.assign(e,{selectedFlatRows:C,isAllRowsSelected:S,isAllPageRowsSelected:A,toggleRowSelected:T,toggleAllRowsSelected:_,getToggleAllRowsSelectedProps:j,getToggleAllPageRowsSelectedProps:R,toggleAllPageRowsSelected:E})}function xt(e,t){var n=t.instance;e.toggleRowSelected=function(t){return n.toggleRowSelected(e.id,t)},e.getToggleRowSelectedProps=h(n.getHooks().getToggleRowSelectedProps,{instance:n,row:e})}var wt=function(e){return{}},Ct=function(e){return{}};s.setRowState="setRowState",s.setCellState="setCellState",s.resetRowState="resetRowState";var St=function(e){e.stateReducers.push(At),e.useInstance.push(kt),e.prepareRow.push(_t)};function At(e,t,n,r){var o=r.initialRowStateAccessor,a=void 0===o?wt:o,l=r.initialCellStateAccessor,c=void 0===l?Ct:l,d=r.rowsById;if(t.type===s.init)return i({rowState:{}},e);if(t.type===s.resetRowState)return i({},e,{rowState:r.initialState.rowState||{}});if(t.type===s.setRowState){var u,h=t.rowId,p=t.value,f=void 0!==e.rowState[h]?e.rowState[h]:a(d[h]);return i({},e,{rowState:i({},e.rowState,(u={},u[h]=g(p,f),u))})}if(t.type===s.setCellState){var m,v,y,b,x,w=t.rowId,C=t.columnId,S=t.value,A=void 0!==e.rowState[w]?e.rowState[w]:a(d[w]),k=void 0!==(null==A||null==(m=A.cellState)?void 0:m[C])?A.cellState[C]:c(null==(v=d[w])||null==(y=v.cells)?void 0:y.find(function(e){return e.column.id===C}));return i({},e,{rowState:i({},e.rowState,(x={},x[w]=i({},A,{cellState:i({},A.cellState||{},(b={},b[C]=g(S,k),b))}),x))})}}function kt(e){var n=e.autoResetRowState,r=void 0===n||n,i=e.data,o=e.dispatch,a=t.useCallback(function(e,t){return o({type:s.setRowState,rowId:e,value:t})},[o]),l=t.useCallback(function(e,t,n){return o({type:s.setCellState,rowId:e,columnId:t,value:n})},[o]),c=v(r);b(function(){c()&&o({type:s.resetRowState})},[i]),Object.assign(e,{setRowState:a,setCellState:l})}function _t(e,t){var n=t.instance,r=n.initialRowStateAccessor,i=void 0===r?wt:r,o=n.initialCellStateAccessor,a=void 0===o?Ct:o,s=n.state.rowState;e&&(e.state=void 0!==s[e.id]?s[e.id]:i(e),e.setState=function(t){return n.setRowState(e.id,t)},e.cells.forEach(function(t){e.state.cellState||(e.state.cellState={}),t.state=void 0!==e.state.cellState[t.column.id]?e.state.cellState[t.column.id]:a(t),t.setState=function(r){return n.setCellState(e.id,t.column.id,r)}}))}St.pluginName="useRowState",s.resetColumnOrder="resetColumnOrder",s.setColumnOrder="setColumnOrder";var Et=function(e){e.stateReducers.push(Tt),e.visibleColumnsDeps.push(function(e,t){var n=t.instance;return[].concat(e,[n.state.columnOrder])}),e.visibleColumns.push(Dt),e.useInstance.push(jt)};function Tt(e,t,n,r){return t.type===s.init?i({columnOrder:[]},e):t.type===s.resetColumnOrder?i({},e,{columnOrder:r.initialState.columnOrder||[]}):t.type===s.setColumnOrder?i({},e,{columnOrder:g(t.columnOrder,e.columnOrder)}):void 0}function Dt(e,t){var n=t.instance.state.columnOrder;if(!n||!n.length)return e;for(var r=[].concat(n),i=[].concat(e),o=[],a=function(){var e=r.shift(),t=i.findIndex(function(t){return t.id===e});t>-1&&o.push(i.splice(t,1)[0])};i.length&&r.length;)a();return[].concat(o,i)}function jt(e){var n=e.dispatch;e.setColumnOrder=t.useCallback(function(e){return n({type:s.setColumnOrder,columnOrder:e})},[n])}Et.pluginName="useColumnOrder",d.canResize=!0,s.columnStartResizing="columnStartResizing",s.columnResizing="columnResizing",s.columnDoneResizing="columnDoneResizing",s.resetResize="resetResize";var Rt=function(e){e.getResizerProps=[Mt],e.getHeaderProps.push({style:{position:"relative"}}),e.stateReducers.push(It),e.useInstance.push(Lt),e.useInstanceBeforeDimensions.push(Ot)},Mt=function(e,t){var n=t.instance,r=t.header,i=n.dispatch,o=function(e,t){var n=!1;if("touchstart"===e.type){if(e.touches&&e.touches.length>1)return;n=!0}var r,o,a=function(e){var t=[];return function e(n){n.columns&&n.columns.length&&n.columns.map(e),t.push(n)}(e),t}(t).map(function(e){return[e.id,e.totalWidth]}),l=n?Math.round(e.touches[0].clientX):e.clientX,c=function(){window.cancelAnimationFrame(r),r=null,i({type:s.columnDoneResizing})},d=function(){window.cancelAnimationFrame(r),r=null,i({type:s.columnResizing,clientX:o})},u=function(e){o=e,r||(r=window.requestAnimationFrame(d))},h={mouse:{moveEvent:"mousemove",moveHandler:function(e){return u(e.clientX)},upEvent:"mouseup",upHandler:function(e){document.removeEventListener("mousemove",h.mouse.moveHandler),document.removeEventListener("mouseup",h.mouse.upHandler),c()}},touch:{moveEvent:"touchmove",moveHandler:function(e){return e.cancelable&&(e.preventDefault(),e.stopPropagation()),u(e.touches[0].clientX),!1},upEvent:"touchend",upHandler:function(e){document.removeEventListener(h.touch.moveEvent,h.touch.moveHandler),document.removeEventListener(h.touch.upEvent,h.touch.moveHandler),c()}}},p=n?h.touch:h.mouse,f=!!function(){if("boolean"==typeof O)return O;var e=!1;try{var t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){e=!1}return O=e}()&&{passive:!1};document.addEventListener(p.moveEvent,p.moveHandler,f),document.addEventListener(p.upEvent,p.upHandler,f),i({type:s.columnStartResizing,columnId:t.id,columnWidth:t.totalWidth,headerIdWidths:a,clientX:l})};return[e,{onMouseDown:function(e){return e.persist()||o(e,r)},onTouchStart:function(e){return e.persist()||o(e,r)},style:{cursor:"col-resize"},draggable:!1,role:"separator"}]};function It(e,t){if(t.type===s.init)return i({columnResizing:{columnWidths:{}}},e);if(t.type===s.resetResize)return i({},e,{columnResizing:{columnWidths:{}}});if(t.type===s.columnStartResizing){var n=t.clientX,r=t.columnId,o=t.columnWidth,a=t.headerIdWidths;return i({},e,{columnResizing:i({},e.columnResizing,{startX:n,headerIdWidths:a,columnWidth:o,isResizingColumn:r})})}if(t.type===s.columnResizing){var l=t.clientX,c=e.columnResizing,d=c.startX,u=c.columnWidth,h=c.headerIdWidths,p=(l-d)/u,f={};return(void 0===h?[]:h).forEach(function(e){var t=e[0],n=e[1];f[t]=Math.max(n+n*p,0)}),i({},e,{columnResizing:i({},e.columnResizing,{columnWidths:i({},e.columnResizing.columnWidths,{},f)})})}return t.type===s.columnDoneResizing?i({},e,{columnResizing:i({},e.columnResizing,{startX:null,isResizingColumn:null})}):void 0}Rt.pluginName="useResizeColumns";var Ot=function(e){var t=e.flatHeaders,n=e.disableResizing,r=e.getHooks,i=e.state.columnResizing,o=v(e);t.forEach(function(e){var t=E(!0!==e.disableResizing&&void 0,!0!==n&&void 0,!0);e.canResize=t,e.width=i.columnWidths[e.id]||e.originalWidth||e.width,e.isResizing=i.isResizingColumn===e.id,t&&(e.getResizerProps=h(r().getResizerProps,{instance:o(),header:e}))})};function Lt(e){var n=e.plugins,r=e.dispatch,i=e.autoResetResize,o=void 0===i||i,a=e.columns;m(n,["useAbsoluteLayout"],"useResizeColumns");var l=v(o);b(function(){l()&&r({type:s.resetResize})},[a]);var c=t.useCallback(function(){return r({type:s.resetResize})},[r]);Object.assign(e,{resetResizing:c})}var Pt={position:"absolute",top:0},Bt=function(e){e.getTableBodyProps.push(Nt),e.getRowProps.push(Nt),e.getHeaderGroupProps.push(Nt),e.getFooterGroupProps.push(Nt),e.getHeaderProps.push(function(e,t){var n=t.column;return[e,{style:i({},Pt,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]}),e.getCellProps.push(function(e,t){var n=t.cell;return[e,{style:i({},Pt,{left:n.column.totalLeft+"px",width:n.column.totalWidth+"px"})}]}),e.getFooterProps.push(function(e,t){var n=t.column;return[e,{style:i({},Pt,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]})};Bt.pluginName="useAbsoluteLayout";var Nt=function(e,t){return[e,{style:{position:"relative",width:t.instance.totalColumnsWidth+"px"}}]},Ft={display:"inline-block",boxSizing:"border-box"},$t=function(e,t){return[e,{style:{display:"flex",width:t.instance.totalColumnsWidth+"px"}}]},zt=function(e){e.getRowProps.push($t),e.getHeaderGroupProps.push($t),e.getFooterGroupProps.push($t),e.getHeaderProps.push(function(e,t){var n=t.column;return[e,{style:i({},Ft,{width:n.totalWidth+"px"})}]}),e.getCellProps.push(function(e,t){var n=t.cell;return[e,{style:i({},Ft,{width:n.column.totalWidth+"px"})}]}),e.getFooterProps.push(function(e,t){var n=t.column;return[e,{style:i({},Ft,{width:n.totalWidth+"px"})}]})};function Ht(e){e.getTableProps.push(Ut),e.getRowProps.push(Wt),e.getHeaderGroupProps.push(Wt),e.getFooterGroupProps.push(Wt),e.getHeaderProps.push(Gt),e.getCellProps.push(Vt),e.getFooterProps.push(qt)}zt.pluginName="useBlockLayout",Ht.pluginName="useFlexLayout";var Ut=function(e,t){return[e,{style:{minWidth:t.instance.totalColumnsMinWidth+"px"}}]},Wt=function(e,t){return[e,{style:{display:"flex",flex:"1 0 auto",minWidth:t.instance.totalColumnsMinWidth+"px"}}]},Gt=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]},Vt=function(e,t){var n=t.cell;return[e,{style:{boxSizing:"border-box",flex:n.column.totalFlexWidth+" 0 auto",minWidth:n.column.totalMinWidth+"px",width:n.column.totalWidth+"px"}}]},qt=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]};function Yt(e){e.stateReducers.push(Xt),e.getTableProps.push(Jt),e.getHeaderProps.push(Qt),e.getRowProps.push(Zt)}s.columnStartResizing="columnStartResizing",s.columnResizing="columnResizing",s.columnDoneResizing="columnDoneResizing",s.resetResize="resetResize",Yt.pluginName="useGridLayout";var Jt=function(e,t){var n=t.instance;return[e,{style:{display:"grid",gridTemplateColumns:n.visibleColumns.map(function(e){var t;return n.state.gridLayout.columnWidths[e.id]?n.state.gridLayout.columnWidths[e.id]+"px":(null==(t=n.state.columnResizing)?void 0:t.isResizingColumn)?n.state.gridLayout.startWidths[e.id]+"px":"number"==typeof e.width?e.width+"px":e.width}).join(" ")}}]},Qt=function(e,t){var n=t.column;return[e,{id:"header-cell-"+n.id,style:{position:"sticky",gridColumn:"span "+n.totalVisibleHeaderCount}}]},Zt=function(e,t){var n=t.row;return n.isExpanded?[e,{style:{gridColumn:"1 / "+(n.cells.length+1)}}]:[e,{}]};function Xt(e,t,n,r){if(t.type===s.init)return i({gridLayout:{columnWidths:{}}},e);if(t.type===s.resetResize)return i({},e,{gridLayout:{columnWidths:{}}});if(t.type===s.columnStartResizing){var o=t.columnId,a=t.headerIdWidths,l=Kt(o);if(void 0!==l){var c=r.visibleColumns.reduce(function(e,t){var n;return i({},e,((n={})[t.id]=Kt(t.id),n))},{}),d=r.visibleColumns.reduce(function(e,t){var n;return i({},e,((n={})[t.id]=t.minWidth,n))},{}),u=r.visibleColumns.reduce(function(e,t){var n;return i({},e,((n={})[t.id]=t.maxWidth,n))},{}),h=a.map(function(e){var t=e[0];return[t,Kt(t)]});return i({},e,{gridLayout:i({},e.gridLayout,{startWidths:c,minWidths:d,maxWidths:u,headerIdGridWidths:h,columnWidth:l})})}return e}if(t.type===s.columnResizing){var p=t.clientX,f=e.columnResizing.startX,m=e.gridLayout,g=m.columnWidth,v=m.minWidths,y=m.maxWidths,b=m.headerIdGridWidths,x=(p-f)/g,w={};return(void 0===b?[]:b).forEach(function(e){var t=e[0],n=e[1];w[t]=Math.min(Math.max(v[t],n+n*x),y[t])}),i({},e,{gridLayout:i({},e.gridLayout,{columnWidths:i({},e.gridLayout.columnWidths,{},w)})})}return t.type===s.columnDoneResizing?i({},e,{gridLayout:i({},e.gridLayout,{startWidths:{},minWidths:{},maxWidths:{}})}):void 0}function Kt(e){var t,n=null==(t=document.getElementById("header-cell-"+e))?void 0:t.offsetWidth;if(void 0!==n)return n}e._UNSTABLE_usePivotColumns=tt,e.actions=s,e.defaultColumn=d,e.defaultGroupByFn=ze,e.defaultOrderByFn=Ze,e.defaultRenderer=l,e.emptyRenderer=c,e.ensurePluginOrder=m,e.flexRender=w,e.functionalUpdate=g,e.loopHooks=f,e.makePropGetter=h,e.makeRenderer=x,e.reduceHooks=p,e.safeUseLayoutEffect=y,e.useAbsoluteLayout=Bt,e.useAsyncDebounce=function(e,n){void 0===n&&(n=0);var i=t.useRef({}),o=v(e),a=v(n);return t.useCallback(function(){var e=r(regeneratorRuntime.mark(function e(){var t,n,s,l=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:for(t=l.length,n=new Array(t),s=0;s<t;s++)n[s]=l[s];return i.current.promise||(i.current.promise=new Promise(function(e,t){i.current.resolve=e,i.current.reject=t})),i.current.timeout&&clearTimeout(i.current.timeout),i.current.timeout=setTimeout(r(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return delete i.current.timeout,e.prev=1,e.t0=i.current,e.next=5,o().apply(void 0,n);case 5:e.t1=e.sent,e.t0.resolve.call(e.t0,e.t1),e.next=12;break;case 9:e.prev=9,e.t2=e.catch(1),i.current.reject(e.t2);case 12:return e.prev=12,delete i.current.promise,e.finish(12);case 15:case"end":return e.stop()}},e,null,[[1,9,12,15]])})),a()),e.abrupt("return",i.current.promise);case 5:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),[o,a])},e.useBlockLayout=zt,e.useColumnOrder=Et,e.useExpanded=se,e.useFilters=Ae,e.useFlexLayout=Ht,e.useGetLatest=v,e.useGlobalFilter=Ee,e.useGridLayout=Yt,e.useGroupBy=Oe,e.useMountedLayoutEffect=b,e.usePagination=Xe,e.useResizeColumns=Rt,e.useRowSelect=ft,e.useRowState=St,e.useSortBy=qe,e.useTable=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e=ie(e),r=[V].concat(r);var a=v(t.useRef({}).current);Object.assign(a(),i({},e,{plugins:r,hooks:G()})),r.filter(Boolean).forEach(function(e){e(a().hooks)});var l=v(a().hooks);a().getHooks=l,delete a().hooks,Object.assign(a(),p(l().useOptions,ie(e)));var c=a(),d=c.data,u=c.columns,m=c.initialState,g=c.defaultColumn,y=c.getSubRows,b=c.getRowId,w=c.stateReducer,_=c.useControlledState,E=v(w),T=t.useCallback(function(e,t){if(!t.type)throw console.info({action:t}),new Error("Unknown Action 👆");return[].concat(l().stateReducers,Array.isArray(E())?E():[E()]).reduce(function(n,r){return r(n,t,e,a())||n},e)},[l,E,a]),D=t.useReducer(T,void 0,function(){return T(m,{type:s.init})}),j=D[0],R=D[1],M=p([].concat(l().useControlledState,[_]),j,{instance:a()});Object.assign(a(),{state:M,dispatch:R});var I=t.useMemo(function(){return C(p(l().columns,u,{instance:a()}))},[l,a,u].concat(p(l().columnsDeps,[],{instance:a()})));a().columns=I;var O=t.useMemo(function(){return p(l().allColumns,S(I),{instance:a()}).map(A)},[I,l,a].concat(p(l().allColumnsDeps,[],{instance:a()})));a().allColumns=O;var L=t.useMemo(function(){for(var e=[],t=[],n={},r=[].concat(O);r.length;){var i=r.shift();ae({data:d,rows:e,flatRows:t,rowsById:n,column:i,getRowId:b,getSubRows:y,accessValueHooks:l().accessValue,getInstance:a})}return[e,t,n]},[O,d,b,y,l,a]),P=L[0],B=L[1],N=L[2];Object.assign(a(),{rows:P,initialRows:[].concat(P),flatRows:B,rowsById:N}),f(l().useInstanceAfterData,a());var F=t.useMemo(function(){return p(l().visibleColumns,O,{instance:a()}).map(function(e){return k(e,g)})},[l,O,a,g].concat(p(l().visibleColumnsDeps,[],{instance:a()})));O=t.useMemo(function(){var e=[].concat(F);return O.forEach(function(t){e.find(function(e){return e.id===t.id})||e.push(t)}),e},[O,F]),a().allColumns=O;var $=t.useMemo(function(){return p(l().headerGroups,function(e,t,n){void 0===n&&(n=function(){return{}});for(var r=[],o=e,a=0,s=function(){return a++},l=function(){var e={headers:[]},a=[],l=o.some(function(e){return e.parent});o.forEach(function(r){var o,c=[].concat(a).reverse()[0];l&&(o=r.parent?i({},r.parent,{originalId:r.parent.id,id:r.parent.id+"_"+s(),headers:[r]},n(r)):k(i({originalId:r.id+"_placeholder",id:r.id+"_placeholder_"+s(),placeholderOf:r,headers:[r]},n(r)),t),c&&c.originalId===o.originalId?c.headers.push(r):a.push(o)),e.headers.push(r)}),r.push(e),o=a};o.length;)l();return r.reverse()}(F,g),a())},[l,F,g,a].concat(p(l().headerGroupsDeps,[],{instance:a()})));a().headerGroups=$;var z=t.useMemo(function(){return $.length?$[0].headers:[]},[$]);a().headers=z,a().flatHeaders=$.reduce(function(e,t){return[].concat(e,t.headers)},[]),f(l().useInstanceBeforeDimensions,a());var H=F.filter(function(e){return e.isVisible}).map(function(e){return e.id}).sort().join("_");F=t.useMemo(function(){return F.filter(function(e){return e.isVisible})},[F,H]),a().visibleColumns=F;var U=oe(z),W=U[0],q=U[1],Y=U[2];return a().totalColumnsMinWidth=W,a().totalColumnsWidth=q,a().totalColumnsMaxWidth=Y,f(l().useInstance,a()),[].concat(a().flatHeaders,a().allColumns).forEach(function(e){e.render=x(a(),e),e.getHeaderProps=h(l().getHeaderProps,{instance:a(),column:e}),e.getFooterProps=h(l().getFooterProps,{instance:a(),column:e})}),a().headerGroups=t.useMemo(function(){return $.filter(function(e,t){return e.headers=e.headers.filter(function(e){return e.headers?function e(t){return t.filter(function(t){return t.headers?e(t.headers):t.isVisible}).length}(e.headers):e.isVisible}),!!e.headers.length&&(e.getHeaderGroupProps=h(l().getHeaderGroupProps,{instance:a(),headerGroup:e,index:t}),e.getFooterGroupProps=h(l().getFooterGroupProps,{instance:a(),headerGroup:e,index:t}),!0)})},[$,a,l]),a().footerGroups=[].concat(a().headerGroups).reverse(),a().prepareRow=t.useCallback(function(e){e.getRowProps=h(l().getRowProps,{instance:a(),row:e}),e.allCells=O.map(function(t){var n=e.values[t.id],r={column:t,row:e,value:n};return r.getCellProps=h(l().getCellProps,{instance:a(),cell:r}),r.render=x(a(),t,{row:e,cell:r,value:n}),r}),e.cells=F.map(function(t){return e.allCells.find(function(e){return e.column.id===t.id})}),f(l().prepareRow,e,{instance:a()})},[l,a,O,F]),a().getTableProps=h(l().getTableProps,{instance:a()}),a().getTableBodyProps=h(l().getTableBodyProps,{instance:a()}),f(l().useFinalInstance,a()),a()},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(758))}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={id:e,exports:{}};return n[e].call(o.exports,o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);i.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;("object"==typeof s||"function"==typeof s)&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach(e=>a[e]=()=>n[e]);return a.default=()=>n,i.d(o,a),o},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),i.nc=void 0;var o={};(()=>{"use strict";i.r(o),i.d(o,{DashedFocusBorder:()=>iS,JRC404:()=>h6,JRCThemeProvider:()=>mO,JTinyMCEExtensionsBuilders:()=>m6,Resources:()=>Bm,SROnly:()=>MC,SkipToContent:()=>p_,Theme:()=>Pm,Utils:()=>Qk,components:()=>_,getColor:()=>Om,modifyColorBrightness:()=>Cm,useAbortController:()=>g_,useCancelOnUnmount:()=>GM,useDebounce:()=>oE,useDidMountEffect:()=>XO,useImageLoader:()=>GE,useKeyPress:()=>OO,useRefSize:()=>g6,useTimeout:()=>v6,useWindowSize:()=>u0});var e={};i.r(e),i.d(e,{__DO_NOT_USE__ActionTypes:()=>ce,applyMiddleware:()=>ge,bindActionCreators:()=>fe,combineReducers:()=>he,compose:()=>me,createStore:()=>de,legacy_createStore:()=>ue});var t={};i.r(t),i.d(t,{DndContext:()=>R,DndProvider:()=>ft,DragLayer:()=>En,DragPreviewImage:()=>gt,DragSource:()=>ln,DropTarget:()=>xn,useDrag:()=>Vn,useDragDropManager:()=>In,useDragLayer:()=>tr,useDrop:()=>Kn});var n={};i.r(n),i.d(n,{FILE:()=>fr,HTML:()=>vr,TEXT:()=>gr,URL:()=>mr});var r={};i.r(r),i.d(r,{HTML5Backend:()=>Lr,NativeTypes:()=>n,getEmptyImage:()=>Or});var a={};i.r(a),i.d(a,{Controller:()=>vi,Form:()=>xi,FormProvider:()=>si,Watch:()=>Ao,appendErrors:()=>wi,createFormControl:()=>uo,get:()=>Xr,set:()=>ei,useController:()=>gi,useFieldArray:()=>Co,useForm:()=>So,useFormContext:()=>ai,useFormState:()=>di,useWatch:()=>mi});var s={};i.r(s),i.d(s,{FormattedDate:()=>_l,FormattedDateParts:()=>Rl,FormattedDateTimeRange:()=>sl,FormattedDisplayName:()=>jl,FormattedList:()=>Dl,FormattedListParts:()=>Ts,FormattedMessage:()=>dl,FormattedNumber:()=>Tl,FormattedNumberParts:()=>Es,FormattedPlural:()=>hl,FormattedRelativeTime:()=>Sl,FormattedTime:()=>El,FormattedTimeParts:()=>Ml,IntlContext:()=>As,IntlProvider:()=>ml,InvalidConfigError:()=>rs,MessageFormatError:()=>as,MissingDataError:()=>is,MissingTranslationError:()=>ss,RawIntlProvider:()=>Ss,ReactIntlError:()=>ts,ReactIntlErrorCode:()=>Ka,UnsupportedFormatterError:()=>ns,createIntl:()=>ol,createIntlCache:()=>ds,defineMessage:()=>kl,defineMessages:()=>Al,injectIntl:()=>ks,useIntl:()=>_s});var l={};i.r(l),i.d(l,{Provider:()=>mc,ReactReduxContext:()=>$l,batch:()=>Pr.unstable_batchedUpdates,connect:()=>fc,createDispatchHook:()=>yc,createSelectorHook:()=>Vl,createStoreHook:()=>gc,shallowEqual:()=>lc,useDispatch:()=>bc,useSelector:()=>ql,useStore:()=>vc});var c={};i.r(c),i.d(c,{AbortedDeferredError:()=>hd,Await:()=>xh,BrowserRouter:()=>tp,Form:()=>lp,HashRouter:()=>np,Link:()=>ap,MemoryRouter:()=>fh,NavLink:()=>sp,Navigate:()=>mh,NavigationType:()=>wc,Outlet:()=>gh,Route:()=>vh,Router:()=>yh,RouterProvider:()=>Xh,Routes:()=>bh,ScrollRestoration:()=>cp,UNSAFE_DataRouterContext:()=>wu,UNSAFE_DataRouterStateContext:()=>Cu,UNSAFE_ErrorResponseImpl:()=>bd,UNSAFE_FetchersContext:()=>Vh,UNSAFE_LocationContext:()=>ku,UNSAFE_NavigationContext:()=>Au,UNSAFE_RouteContext:()=>_u,UNSAFE_ViewTransitionContext:()=>Gh,UNSAFE_useRouteId:()=>Xu,UNSAFE_useScrollRestoration:()=>Ap,createBrowserRouter:()=>zh,createHashRouter:()=>Hh,createMemoryRouter:()=>Th,createPath:()=>Mc,createRoutesFromChildren:()=>kh,createRoutesFromElements:()=>kh,createSearchParams:()=>Oh,defer:()=>md,generatePath:()=>Xc,isRouteErrorResponse:()=>xd,json:()=>ud,matchPath:()=>Kc,matchRoutes:()=>Nc,parsePath:()=>Ic,redirect:()=>gd,redirectDocument:()=>vd,renderMatches:()=>_h,replace:()=>yd,resolvePath:()=>nd,unstable_HistoryRouter:()=>rp,unstable_usePrompt:()=>_p,useActionData:()=>ih,useAsyncError:()=>sh,useAsyncValue:()=>ah,useBeforeUnload:()=>kp,useBlocker:()=>ch,useFetcher:()=>xp,useFetchers:()=>wp,useFormAction:()=>bp,useHref:()=>Tu,useInRouterContext:()=>Du,useLinkClickHandler:()=>fp,useLoaderData:()=>nh,useLocation:()=>ju,useMatch:()=>Mu,useMatches:()=>th,useNavigate:()=>Ou,useNavigation:()=>Ku,useNavigationType:()=>Ru,useOutlet:()=>Bu,useOutletContext:()=>Pu,useParams:()=>Nu,useResolvedPath:()=>Fu,useRevalidator:()=>eh,useRouteError:()=>oh,useRouteLoaderData:()=>rh,useRoutes:()=>$u,useSearchParams:()=>mp,useSubmit:()=>yp,useViewTransitionState:()=>Ep});var d={};i.r(d),i.d(d,{ServerStyleSheet:()=>cm,StyleSheetConsumer:()=>Ef,StyleSheetContext:()=>_f,StyleSheetManager:()=>If,ThemeConsumer:()=>tm,ThemeContext:()=>em,ThemeProvider:()=>nm,__PRIVATE__:()=>hm,createGlobalStyle:()=>sm,css:()=>Uf,default:()=>pm,isStyledComponent:()=>Hp,keyframes:()=>lm,useTheme:()=>um,version:()=>Wp,withTheme:()=>dm});var u={};i.r(u),i.d(u,{downloadFile:()=>fm,pad:()=>mm,sizeResize:()=>gm});var h={};i.r(h),i.d(h,{MessageColor:()=>Im,colorTransparency:()=>Tm,colorimetry:()=>Dm,getContrast50:()=>jm,getContrastYIQ:()=>Rm,isValidHexColor:()=>Mm});var p={};i.r(p),i.d(p,{arraySwapElements:()=>QA,arrayUniqueByUri:()=>JA,inArray:()=>qA,noNull:()=>XA,strArrayToggle:()=>ZA,updateArray:()=>YA});var f={};i.r(f),i.d(f,{limitSize:()=>nk,padStartTwoDigits:()=>tk,removeIfStartsWith:()=>ek,suffixIfDoesNotExist:()=>KA});var m={};i.r(m),i.d(m,{addMonth:()=>vk,dateLabel:()=>uk,extractDate:()=>rk,formatDate:()=>ik,formatDateTime:()=>ak,formatTime:()=>ok,isSameDay:()=>sk,isToday:()=>lk,isTomorrow:()=>dk,isValidDate:()=>mk,isYesterday:()=>ck,strToTimestamp:()=>hk,substractMonth:()=>gk,toHumanDate:()=>fk,toISODate:()=>pk});var g={};i.r(g),i.d(g,{getScrollParent:()=>xk,isDocumentElement:()=>yk,scrollIntoView:()=>wk,scrollTo:()=>bk});var v={};i.r(v),i.d(v,{list:()=>Ck});var y={};i.r(y),i.d(y,{getExtensionFromName:()=>Sk,getIconExtensionFile:()=>_k});var b={};i.r(b),i.d(b,{fileAvatar:()=>Hk,formatFileSize:()=>Wk});var x={};i.r(x),i.d(x,{deepEqual:()=>E.deepEqual,objectRemoveProperty:()=>Gk,parse:()=>Vk});var w={};i.r(w),i.d(w,{escapeRegExp:()=>qk});var C={};i.r(C),i.d(C,{timeToMs:()=>Yk});var S={};i.r(S),i.d(S,{Button:()=>jR,CaptionLabel:()=>RR,Chevron:()=>MR,Day:()=>IR,DayButton:()=>OR,Dropdown:()=>LR,DropdownNav:()=>PR,Footer:()=>BR,Month:()=>NR,MonthCaption:()=>FR,MonthGrid:()=>$R,Months:()=>zR,MonthsDropdown:()=>WR,Nav:()=>GR,NextMonthButton:()=>VR,Option:()=>qR,PreviousMonthButton:()=>YR,Root:()=>JR,Select:()=>QR,Week:()=>ZR,WeekNumber:()=>eM,WeekNumberHeader:()=>tM,Weekday:()=>XR,Weekdays:()=>KR,Weeks:()=>nM,YearsDropdown:()=>rM});var A={};i.r(A),i.d(A,{formatCaption:()=>oM,formatDay:()=>sM,formatMonthCaption:()=>aM,formatMonthDropdown:()=>lM,formatWeekNumber:()=>dM,formatWeekNumberHeader:()=>uM,formatWeekdayName:()=>cM,formatYearCaption:()=>pM,formatYearDropdown:()=>hM});var k={};i.r(k),i.d(k,{labelCaption:()=>bM,labelDay:()=>vM,labelDayButton:()=>gM,labelGrid:()=>yM,labelGridcell:()=>xM,labelMonthDropdown:()=>wM,labelNav:()=>CM,labelNext:()=>SM,labelPrevious:()=>AM,labelWeekNumber:()=>_M,labelWeekNumberHeader:()=>EM,labelWeekday:()=>kM,labelYearDropdown:()=>TM});var _={};i.r(_),i.d(_,{ArticleCard:()=>VA,BETA_JRCDoubleClick:()=>Nm,BETA_JRCDragAndDrop:()=>Fm,ClickAwayListener:()=>b_,Deprecated_JRCEllipsis:()=>m_,DndProvider:()=>fX,Draggable:()=>bX,Droppable:()=>wX,JRCAlbum:()=>vF,JRCAlert:()=>AF,JRCAppColumn:()=>J0,JRCAppContainer:()=>TF,JRCAppHeader:()=>RF,JRCAppLeftColumn:()=>ZF,JRCAttachments:()=>QO,JRCAudience:()=>u_,JRCAvatar:()=>i_,JRCBaseTooltip:()=>rS,JRCBasicAutoMarginContainer:()=>n1,JRCButton:()=>v_,JRCButtonDownload:()=>r$,JRCButtonDropdown:()=>B_,JRCButtonFile:()=>i$,JRCCalendar:()=>ZQ,JRCCard:()=>tj,JRCCardImg:()=>DP,JRCCheckbox:()=>AT,JRCCollapse:()=>nZ,JRCColumn:()=>q0,JRCColumnCenter:()=>rZ,JRCColumnLeft:()=>iZ,JRCColumnRight:()=>oZ,JRCCommentsBloc:()=>uX,JRCConditionalWrapper:()=>MS,JRCContainer:()=>Q0,JRCCropImage:()=>KP,JRCDate:()=>pX,JRCDisplayCard:()=>H_,JRCDndTwoLevelWithStack:()=>$X,JRCDraggingPlaceholder:()=>h_,JRCDriveDropbox:()=>uT,JRCDriveMSGraph:()=>wT,JRCDropDown:()=>aj,JRCEmptySpace:()=>GX,JRCFadeStepper:()=>d0,JRCFile:()=>eT,JRCFileAvatar:()=>nT,JRCFileOpen:()=>tK,JRCFileViewer:()=>HO,JRCFlexBox:()=>x_,JRCFolders:()=>GL,JRCGifSelector:()=>dK,JRCGrid:()=>uK,JRCH1:()=>BC,JRCH2:()=>NC,JRCH3:()=>FC,JRCH4:()=>$C,JRCH5:()=>zC,JRCHtml:()=>YB,JRCIcon:()=>LC,JRCIconButton:()=>yD,JRCImageStepper:()=>f0,JRCImg:()=>Kk,JRCInputAudience:()=>UN,JRCInputAutocomplete:()=>FN,JRCInputCheckbox:()=>tD,JRCInputCheckboxRaw:()=>eD,JRCInputColor:()=>XD,JRCInputColorRaw:()=>ZD,JRCInputCommunity:()=>zN,JRCInputDate:()=>VI,JRCInputDateTime:()=>GI,JRCInputEmail:()=>YI,JRCInputFile:()=>ZI,JRCInputFileAdvancedRaw:()=>wP,JRCInputImage:()=>cB,JRCInputNumber:()=>ED,JRCInputPassword:()=>uB,JRCInputReorderCheckbox:()=>sD,JRCInputSearchRaw:()=>uE,JRCInputSelect:()=>WN,JRCInputSelectExtended:()=>VN,JRCInputSelectHierarchicalTree:()=>YN,JRCInputSelectList:()=>JN,JRCInputSelectRaw:()=>AI,JRCInputText:()=>kD,JRCInputTextIconButton:()=>pB,JRCInputTextRaw:()=>CB,JRCInputTextarea:()=>gB,JRCInputTextareaRaw:()=>fB,JRCInputTime:()=>AB,JRCInputTinyMCE:()=>tN,JRCInputTinyMCERaw:()=>eN,JRCInputToggle:()=>uD,JRCInputToggleRaw:()=>dD,JRCInputUrl:()=>rN,JRCList:()=>wL,JRCLoader:()=>bS,JRCMainColumn:()=>i1,JRCMediaLoader:()=>pK,JRCMenu:()=>vK,JRCMessage:()=>eP,JRCModal:()=>RP,JRCModalContent:()=>uO,JRCModalContentForm:()=>CQ,JRCModalForm:()=>SQ,JRCModalImg:()=>kK,JRCModalLayout:()=>yO,JRCModalUserList:()=>EK,JRCPageNotLogged:()=>a0,JRCPagination:()=>sL,JRCPanel:()=>o1,JRCProgressBar:()=>jK,JRCPublishButton:()=>zK,JRCSidePanelModal:()=>xQ,JRCSidePanelModalForm:()=>HK,JRCSkeletonLine:()=>hS,JRCSkeletonList:()=>VK,JRCSkeletonSquare:()=>Zk,JRCStepper:()=>v0,JRCStepperPage:()=>d1,JRCStyledHref:()=>$A,JRCTabPanel:()=>sP,JRCTabs:()=>aP,JRCTag:()=>cN,JRCTemplateBase:()=>t1,JRCTemplateTwoColumns:()=>u1,JRCText:()=>WC,JRCTinyMCEFileUploadModal:()=>JB,JRCTinyMCEImageUploadModal:()=>ZB,JRCTinyMCEVideoUploadModal:()=>XB,JRCTooltip:()=>RS,JRCTypography:()=>f_,JRCUserPopup:()=>NZ,JRCValidationButton:()=>t$,JRCWidgetArticleAttachmentEditor:()=>G1,JRCWidgetArticleGallery:()=>x1,JRCWidgetArticleGalleryEditor:()=>F1,JRCWidgetArticleImageEditor:()=>v4,JRCWidgetArticleSliderEditor:()=>p5,JRCWidgetArticleText:()=>$1,JRCWidgetArticleTextEditor:()=>z1,JRCWidgetArticleTitle:()=>H1,JRCWidgetArticleTitleEditor:()=>W1,JRCWidgetAttachment:()=>YO,JRCWidgetButton:()=>Y1,JRCWidgetButtonEditor:()=>Z1,JRCWidgetCalendarCalDav:()=>r2,JRCWidgetCalendarCalDavEditor:()=>a2,JRCWidgetCheckList:()=>b2,JRCWidgetCheckListEditor:()=>L2,JRCWidgetContactCardDav:()=>$2,JRCWidgetContactCardDavEditor:()=>H2,JRCWidgetDatasourceTableEditor:()=>y3,JRCWidgetEmailsImap:()=>i4,JRCWidgetEmailsImapEditor:()=>o4,JRCWidgetEmailsImapLevel2:()=>d4,JRCWidgetEmptyInplace:()=>u4,JRCWidgetExcelDatasourceTableEditor:()=>D3,JRCWidgetIcon:()=>m4,JRCWidgetImage:()=>g1,JRCWidgetImageEditor:()=>y4,JRCWidgetLuccaAbsence:()=>k4,JRCWidgetLuccaAbsenceEditor:()=>_4,JRCWidgetPresence:()=>L4,JRCWidgetPresenceEditor:()=>N4,JRCWidgetQuickSurvey:()=>V4,JRCWidgetQuickSurveyEditor:()=>r5,JRCWidgetSlider:()=>P5,JRCWidgetTable:()=>V3,JRCWidgetTableEditor:()=>Y3,JRCWidgetUserProfile:()=>o6,JRCWidgetUserProfileEditor:()=>d6,LabelDescriptionOption:()=>GN,SkipToContent:()=>p_,StyledInput:()=>rE});var E=i(1630),T=i.n(E),D=i(758),j=i.t(D,2),R=(0,D.createContext)({dragDropManager:void 0}),M=i(6070);function I(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(!e){var o;if(void 0===t)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(o=new Error(t.replace(/%s/g,function(){return r[a++]}))).name="Invariant Violation"}throw o.framesToPop=1,o}}var O="dnd-core/INIT_COORDS",L="dnd-core/BEGIN_DRAG",P="dnd-core/PUBLISH_DRAG_SOURCE",B="dnd-core/HOVER",N="dnd-core/DROP",F="dnd-core/END_DRAG";function $(e,t){return{type:O,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}function z(e){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z(e)}function H(e){return"object"===z(e)}var U={type:O,payload:{clientOffset:null,sourceClientOffset:null}};function W(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0},r=n.publishSource,i=void 0===r||r,o=n.clientOffset,a=n.getSourceClientOffset,s=e.getMonitor(),l=e.getRegistry();e.dispatch($(o)),function(e,t,n){I(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach(function(e){I(n.getSource(e),"Expected sourceIds to be registered.")})}(t,s,l);var c=function(e,t){for(var n=null,r=e.length-1;r>=0;r--)if(t.canDragSource(e[r])){n=e[r];break}return n}(t,s);if(null!==c){var d=null;if(o){if(!a)throw new Error("getSourceClientOffset must be defined");!function(e){I("function"==typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}(a),d=a(c)}e.dispatch($(o,d));var u=l.getSource(c).beginDrag(s,c);if(null!=u){!function(e){I(H(e),"Item must be an object.")}(u),l.pinSource(c);var h=l.getSourceType(c);return{type:L,payload:{itemType:h,item:u,sourceId:c,clientOffset:o||null,sourceClientOffset:d||null,isSourcePublic:!!i}}}}else e.dispatch(U)}}function G(e){return function(){if(e.getMonitor().isDragging())return{type:P}}}function V(e,t){return null===t?null===e:Array.isArray(e)?e.some(function(e){return e===t}):e===t}function q(e){return function(t){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).clientOffset;!function(e){I(Array.isArray(e),"Expected targetIds to be an array.")}(t);var r=t.slice(0),i=e.getMonitor(),o=e.getRegistry();return function(e,t,n){I(t.isDragging(),"Cannot call hover while not dragging."),I(!t.didDrop(),"Cannot call hover after drop.");for(var r=0;r<e.length;r++){var i=e[r];I(e.lastIndexOf(i)===r,"Expected targetIds to be unique in the passed array."),I(n.getTarget(i),"Expected targetIds to be registered.")}}(r,i,o),function(e,t,n){for(var r=e.length-1;r>=0;r--){var i=e[r];V(t.getTargetType(i),n)||e.splice(r,1)}}(r,o,i.getItemType()),function(e,t,n){e.forEach(function(e){n.getTarget(e).hover(t,e)})}(r,i,o),{type:B,payload:{targetIds:r,clientOffset:n||null}}}}function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(n),!0).forEach(function(t){Q(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Z(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.getMonitor(),r=e.getRegistry();!function(e){I(e.isDragging(),"Cannot call drop while not dragging."),I(!e.didDrop(),"Cannot call drop twice during one drag operation.")}(n);var i=function(e){var t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}(n);i.forEach(function(i,o){var a=function(e,t,n,r){var i=n.getTarget(e),o=i?i.drop(r,e):void 0;return function(e){I(void 0===e||H(e),"Drop result must either be an object or undefined.")}(o),void 0===o&&(o=0===t?{}:r.getDropResult()),o}(i,o,r,n),s={type:N,payload:{dropResult:J(J({},t),a)}};e.dispatch(s)})}}function X(e){return function(){var t=e.getMonitor(),n=e.getRegistry();!function(e){I(e.isDragging(),"Cannot call endDrag while not dragging.")}(t);var r=t.getSourceId();return null!=r&&(n.getSource(r,!0).endDrag(t,r),n.unpinSource()),{type:F}}}function K(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var te=function(){function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),ee(this,"store",void 0),ee(this,"monitor",void 0),ee(this,"backend",void 0),ee(this,"isSetUp",!1),ee(this,"handleRefCountChange",function(){var e=r.store.getState().refCount>0;r.backend&&(e&&!r.isSetUp?(r.backend.setup(),r.isSetUp=!0):!e&&r.isSetUp&&(r.backend.teardown(),r.isSetUp=!1))}),this.store=t,this.monitor=n,t.subscribe(this.handleRefCountChange)}var t,n;return t=e,n=[{key:"receiveBackend",value:function(e){this.backend=e}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.monitor.registry}},{key:"getActions",value:function(){var e=this,t=this.store.dispatch,n=function(e){return{beginDrag:W(e),publishDragSource:G(e),hover:q(e),drop:Z(e),endDrag:X(e)}}(this);return Object.keys(n).reduce(function(r,i){var o,a=n[i];return r[i]=(o=a,function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=o.apply(e,r);void 0!==a&&t(a)}),r},{})}},{key:"dispatch",value:function(e){this.store.dispatch(e)}}],n&&K(t.prototype,n),e}();function ne(e){return ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ne(e)}function re(e,t,n){return(t=function(e){var t=function(e){if("object"!=ne(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ne(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ne(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach(function(t){re(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ae(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var se="function"==typeof Symbol&&Symbol.observable||"@@observable",le=function(){return Math.random().toString(36).substring(7).split("").join(".")},ce={INIT:"@@redux/INIT"+le(),REPLACE:"@@redux/REPLACE"+le(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+le()}};function de(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(ae(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(ae(1));return n(de)(e,t)}if("function"!=typeof e)throw new Error(ae(2));var i=e,o=t,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function d(){if(l)throw new Error(ae(3));return o}function u(e){if("function"!=typeof e)throw new Error(ae(4));if(l)throw new Error(ae(5));var t=!0;return c(),s.push(e),function(){if(t){if(l)throw new Error(ae(6));t=!1,c();var n=s.indexOf(e);s.splice(n,1),a=null}}}function h(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(ae(7));if(void 0===e.type)throw new Error(ae(8));if(l)throw new Error(ae(9));try{l=!0,o=i(o,e)}finally{l=!1}for(var t=a=s,n=0;n<t.length;n++)(0,t[n])();return e}return h({type:ce.INIT}),(r={dispatch:h,subscribe:u,getState:d,replaceReducer:function(e){if("function"!=typeof e)throw new Error(ae(10));i=e,h({type:ce.REPLACE})}})[se]=function(){var e,t=u;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(ae(11));function n(){e.next&&e.next(d())}return n(),{unsubscribe:t(n)}}})[se]=function(){return this},e},r}var ue=de;function he(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];"function"==typeof e[i]&&(n[i]=e[i])}var o,a=Object.keys(n);try{!function(e){Object.keys(e).forEach(function(t){var n=e[t];if(void 0===n(void 0,{type:ce.INIT}))throw new Error(ae(12));if(void 0===n(void 0,{type:ce.PROBE_UNKNOWN_ACTION()}))throw new Error(ae(13))})}(n)}catch(e){o=e}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=n[l],d=e[l],u=c(d,t);if(void 0===u)throw t&&t.type,new Error(ae(14));i[l]=u,r=r||u!==d}return(r=r||a.length!==Object.keys(e).length)?i:e}}function pe(e,t){return function(){return t(e.apply(this,arguments))}}function fe(e,t){if("function"==typeof e)return pe(e,t);if("object"!=typeof e||null===e)throw new Error(ae(16));var n={};for(var r in e){var i=e[r];"function"==typeof i&&(n[r]=pe(i,t))}return n}function me(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function ge(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(ae(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map(function(e){return e(i)});return r=me.apply(void 0,o)(n.dispatch),oe(oe({},n),{},{dispatch:r})}}}var ve=function(e,t){return e===t};function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach(function(t){xe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var we={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function Ce(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:we,r=arguments.length>1?arguments[1]:void 0,i=r.payload;switch(r.type){case O:case L:return{initialSourceClientOffset:i.sourceClientOffset,initialClientOffset:i.clientOffset,clientOffset:i.clientOffset};case B:return e=n.clientOffset,t=i.clientOffset,!e&&!t||e&&t&&e.x===t.x&&e.y===t.y?n:be(be({},n),{},{clientOffset:i.clientOffset});case F:case N:return we;default:return n}}var Se="dnd-core/ADD_SOURCE",Ae="dnd-core/ADD_TARGET",ke="dnd-core/REMOVE_SOURCE",_e="dnd-core/REMOVE_TARGET";function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(n),!0).forEach(function(t){De(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function De(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var je={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function Re(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:je,r=arguments.length>1?arguments[1]:void 0,i=r.payload;switch(r.type){case L:return Te(Te({},n),{},{itemType:i.itemType,item:i.item,sourceId:i.sourceId,isSourcePublic:i.isSourcePublic,dropResult:null,didDrop:!1});case P:return Te(Te({},n),{},{isSourcePublic:!0});case B:return Te(Te({},n),{},{targetIds:i.targetIds});case _e:return-1===n.targetIds.indexOf(i.targetId)?n:Te(Te({},n),{},{targetIds:(e=n.targetIds,t=i.targetId,e.filter(function(e){return e!==t}))});case N:return Te(Te({},n),{},{dropResult:i.dropResult,didDrop:!0,targetIds:[]});case F:return Te(Te({},n),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return n}}function Me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;switch((arguments.length>1?arguments[1]:void 0).type){case Se:case Ae:return e+1;case ke:case _e:return e-1;default:return e}}var Ie=[],Oe=[];function Le(){var e=arguments.length>1?arguments[1]:void 0;switch(e.type){case B:break;case Se:case Ae:case _e:case ke:return Ie;default:return Oe}var t=e.payload,n=t.targetIds,r=void 0===n?[]:n,i=t.prevTargetIds,o=void 0===i?[]:i,a=function(e,t){var n=new Map,r=function(e){n.set(e,n.has(e)?n.get(e)+1:1)};e.forEach(r),t.forEach(r);var i=[];return n.forEach(function(e,t){1===e&&i.push(t)}),i}(r,o),s=a.length>0||!function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ve;if(e.length!==t.length)return!1;for(var r=0;r<e.length;++r)if(!n(e[r],t[r]))return!1;return!0}(r,o);if(!s)return Ie;var l=o[o.length-1],c=r[r.length-1];return l!==c&&(l&&a.push(l),c&&a.push(c)),a}function Pe(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1}function Be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(n),!0).forEach(function(t){Fe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $e(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:Le(n.dirtyHandlerIds,{type:r.type,payload:Ne(Ne({},r.payload),{},{prevTargetIds:(e=n,t=[],"dragOperation.targetIds".split(".").reduce(function(e,n){return e&&e[n]?e[n]:t||null},e))})}),dragOffset:Ce(n.dragOffset,r),refCount:Me(n.refCount,r),dragOperation:Re(n.dragOperation,r),stateId:Pe(n.stateId)}}function ze(e,t){return{x:e.x-t.x,y:e.y-t.y}}function He(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Ie.__IS_NONE__=!0,Oe.__IS_ALL__=!0;var We,Ge=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Ue(this,"store",void 0),Ue(this,"registry",void 0),this.store=t,this.registry=n}var t,n;return t=e,n=[{key:"subscribeToStateChange",value:function(e){var t=this,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{handlerIds:void 0}).handlerIds;I("function"==typeof e,"listener must be a function."),I(void 0===n||Array.isArray(n),"handlerIds, when specified, must be an array of strings.");var r=this.store.getState().stateId;return this.store.subscribe(function(){var i=t.store.getState(),o=i.stateId;try{var a=o===r||o===r+1&&!function(e,t){if(e===Ie)return!1;if(e===Oe||void 0===t)return!0;var n,r=(n=e,t.filter(function(e){return n.indexOf(e)>-1}));return r.length>0}(i.dirtyHandlerIds,n);a||e()}finally{r=o}})}},{key:"subscribeToOffsetChange",value:function(e){var t=this;I("function"==typeof e,"listener must be a function.");var n=this.store.getState().dragOffset;return this.store.subscribe(function(){var r=t.store.getState().dragOffset;r!==n&&(n=r,e())})}},{key:"canDragSource",value:function(e){if(!e)return!1;var t=this.registry.getSource(e);return I(t,"Expected to find a valid source. sourceId=".concat(e)),!this.isDragging()&&t.canDrag(this,e)}},{key:"canDropOnTarget",value:function(e){if(!e)return!1;var t=this.registry.getTarget(e);return I(t,"Expected to find a valid target. targetId=".concat(e)),!(!this.isDragging()||this.didDrop())&&V(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e)}},{key:"isDragging",value:function(){return Boolean(this.getItemType())}},{key:"isDraggingSource",value:function(e){if(!e)return!1;var t=this.registry.getSource(e,!0);return I(t,"Expected to find a valid source. sourceId=".concat(e)),!(!this.isDragging()||!this.isSourcePublic())&&this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}},{key:"isOverTarget",value:function(e){if(!e)return!1;var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1}).shallow;if(!this.isDragging())return!1;var n=this.registry.getTargetType(e),r=this.getItemType();if(r&&!V(n,r))return!1;var i=this.getTargetIds();if(!i.length)return!1;var o=i.indexOf(e);return t?o===i.length-1:o>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return Boolean(this.store.getState().dragOperation.isSourcePublic)}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return e=this.store.getState().dragOffset,t=e.clientOffset,n=e.initialClientOffset,r=e.initialSourceClientOffset,t&&n&&r?ze(function(e,t){return{x:e.x+t.x,y:e.y+t.y}}(t,r),n):null;var e,t,n,r}},{key:"getDifferenceFromInitialOffset",value:function(){return e=this.store.getState().dragOffset,t=e.clientOffset,n=e.initialClientOffset,t&&n?ze(t,n):null;var e,t,n}}],n&&He(t.prototype,n),e}(),Ve=0;function qe(e){return qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qe(e)}function Ye(e,t){t&&Array.isArray(e)?e.forEach(function(e){return Ye(e,!1)}):I("string"==typeof e||"symbol"===qe(e),t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}!function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"}(We||(We={}));const Je="undefined"!=typeof global?global:self,Qe=Je.MutationObserver||Je.WebKitMutationObserver;function Ze(e){return function(){const t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}const Xe="function"==typeof Qe?function(e){let t=1;const n=new Qe(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}:Ze;class Ke{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}}const et=new class{enqueueTask(e){const{queue:t,requestFlush:n}=this;t.length||(n(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:e}=this;for(;this.index<e.length;){const t=this.index;if(this.index++,e[t].call(),this.index>this.capacity){for(let t=0,n=e.length-this.index;t<n;t++)e[t]=e[t+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=Xe(this.flush),this.requestErrorThrow=Ze(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}},tt=new class{create(e){const t=this.freeTasks,n=t.length?t.pop():new Ke(this.onError,e=>t[t.length]=e);return n.task=e,n}constructor(e){this.onError=e,this.freeTasks=[]}}(et.registerPendingError);function nt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function it(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ot(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ot(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ot(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function at(e){switch(e[0]){case"S":return We.SOURCE;case"T":return We.TARGET;default:I(!1,"Cannot parse handler ID: ".concat(e))}}function st(e,t){var n=e.entries(),r=!1;do{var i=n.next(),o=i.done;if(it(i.value,2)[1]===t)return!0;r=!!o}while(!r);return!1}var lt=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),rt(this,"types",new Map),rt(this,"dragSources",new Map),rt(this,"dropTargets",new Map),rt(this,"pinnedSourceId",null),rt(this,"pinnedSource",null),rt(this,"store",void 0),this.store=t}var t,n;return t=e,n=[{key:"addSource",value:function(e,t){Ye(e),function(e){I("function"==typeof e.canDrag,"Expected canDrag to be a function."),I("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),I("function"==typeof e.endDrag,"Expected endDrag to be a function.")}(t);var n=this.addHandler(We.SOURCE,e,t);return this.store.dispatch(function(e){return{type:Se,payload:{sourceId:e}}}(n)),n}},{key:"addTarget",value:function(e,t){Ye(e,!0),function(e){I("function"==typeof e.canDrop,"Expected canDrop to be a function."),I("function"==typeof e.hover,"Expected hover to be a function."),I("function"==typeof e.drop,"Expected beginDrag to be a function.")}(t);var n=this.addHandler(We.TARGET,e,t);return this.store.dispatch(function(e){return{type:Ae,payload:{targetId:e}}}(n)),n}},{key:"containsHandler",value:function(e){return st(this.dragSources,e)||st(this.dropTargets,e)}},{key:"getSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return I(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}},{key:"getTarget",value:function(e){return I(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}},{key:"getSourceType",value:function(e){return I(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}},{key:"getTargetType",value:function(e){return I(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}},{key:"isSourceId",value:function(e){return at(e)===We.SOURCE}},{key:"isTargetId",value:function(e){return at(e)===We.TARGET}},{key:"removeSource",value:function(e){var t,n=this;I(this.getSource(e),"Expected an existing source."),this.store.dispatch(function(e){return{type:ke,payload:{sourceId:e}}}(e)),t=function(){n.dragSources.delete(e),n.types.delete(e)},et.enqueueTask(tt.create(t))}},{key:"removeTarget",value:function(e){I(this.getTarget(e),"Expected an existing target."),this.store.dispatch(function(e){return{type:_e,payload:{targetId:e}}}(e)),this.dropTargets.delete(e),this.types.delete(e)}},{key:"pinSource",value:function(e){var t=this.getSource(e);I(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}},{key:"unpinSource",value:function(){I(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}},{key:"addHandler",value:function(e,t,n){var r=function(e){var t=(Ve++).toString();switch(e){case We.SOURCE:return"S".concat(t);case We.TARGET:return"T".concat(t);default:throw new Error("Unknown Handler Role: ".concat(e))}}(e);return this.types.set(r,t),e===We.SOURCE?this.dragSources.set(r,n):e===We.TARGET&&this.dropTargets.set(r,n),r}}],n&&nt(t.prototype,n),e}();function ct(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(t=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__,de($e,t&&n&&n({name:"dnd-core",instanceId:"dnd-core"}))),a=new Ge(o,new lt(o)),s=new te(o,a),l=e(s,r,i);return s.receiveBackend(l),s}var dt=["children"];function ut(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ht=0,pt=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__"),ft=(0,D.memo)(function(e){var t=e.children,n=function(e){if("manager"in e)return[{dragDropManager:e.manager},!1];var t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:mt(),n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=t;return i[pt]||(i[pt]={dragDropManager:ct(e,t,n,r)}),i[pt]}(e.backend,e.context,e.options,e.debugMode);return[t,!e.context]}(function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,dt)),r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ut(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ut(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(n,2),i=r[0],o=r[1];return(0,D.useEffect)(function(){if(o){var e=mt();return++ht,function(){0===--ht&&(e[pt]=null)}}},[]),(0,M.jsx)(R.Provider,Object.assign({value:i},{children:t}),void 0)});function mt(){return void 0!==i.g?i.g:window}var gt=(0,D.memo)(function(e){var t=e.connect,n=e.src;return(0,D.useEffect)(function(){if("undefined"!=typeof Image){var e=!1,r=new Image;return r.src=n,r.onload=function(){t(r),e=!0},function(){e&&t(null)}}}),null});function vt(e,t,n){var r=n.getRegistry(),i=r.addTarget(e,t);return[i,function(){return r.removeTarget(i)}]}function yt(e,t,n){var r=n.getRegistry(),i=r.addSource(e,t);return[i,function(){return r.removeSource(i)}]}function bt(e){var t={};return Object.keys(e).forEach(function(n){var r=e[n];if(n.endsWith("Ref"))t[n]=e[n];else{var i=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(0,D.isValidElement)(t)){var r=t;return e(r,n),r}var i=t;!function(e){if("string"!=typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+"You can either wrap ".concat(t," into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}(i);var o=n?function(t){return e(t,n)}:e;return function(e,t){var n=e.ref;return I("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),n?(0,D.cloneElement)(e,{ref:function(e){xt(n,e),xt(t,e)}}):(0,D.cloneElement)(e,{ref:t})}(i,o)}}(r);t[n]=function(){return i}}}),t}function xt(e,t){"function"==typeof e?e(t):e.current=t}function wt(e){return wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wt(e)}function Ct(e){return null!==e&&"object"===wt(e)&&Object.prototype.hasOwnProperty.call(e,"current")}function St(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var c=o[l];if(!s(c))return!1;var d=e[c],u=t[c];if(!1===(i=n?n.call(r,d,u,c):void 0)||void 0===i&&d!==u)return!1}return!0}function At(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _t=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),kt(this,"hooks",bt({dragSource:function(e,t){n.clearDragSource(),n.dragSourceOptions=t||null,Ct(e)?n.dragSourceRef=e:n.dragSourceNode=e,n.reconnectDragSource()},dragPreview:function(e,t){n.clearDragPreview(),n.dragPreviewOptions=t||null,Ct(e)?n.dragPreviewRef=e:n.dragPreviewNode=e,n.reconnectDragPreview()}})),kt(this,"handlerId",null),kt(this,"dragSourceRef",null),kt(this,"dragSourceNode",void 0),kt(this,"dragSourceOptionsInternal",null),kt(this,"dragSourceUnsubscribe",void 0),kt(this,"dragPreviewRef",null),kt(this,"dragPreviewNode",void 0),kt(this,"dragPreviewOptionsInternal",null),kt(this,"dragPreviewUnsubscribe",void 0),kt(this,"lastConnectedHandlerId",null),kt(this,"lastConnectedDragSource",null),kt(this,"lastConnectedDragSourceOptions",null),kt(this,"lastConnectedDragPreview",null),kt(this,"lastConnectedDragPreviewOptions",null),kt(this,"backend",void 0),this.backend=t}var t,n;return t=e,n=[{key:"receiveHandlerId",value:function(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}},{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(e){this.dragSourceOptionsInternal=e}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(e){this.dragPreviewOptionsInternal=e}},{key:"reconnect",value:function(){this.reconnectDragSource(),this.reconnectDragPreview()}},{key:"reconnectDragSource",value:function(){var e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();t&&this.disconnectDragSource(),this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)):this.lastConnectedDragSource=e)}},{key:"reconnectDragPreview",value:function(){var e=this.dragPreview,t=this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();t&&this.disconnectDragPreview(),this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=e,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,e,this.dragPreviewOptions)):this.lastConnectedDragPreview=e)}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didConnectedDragSourceChange",value:function(){return this.lastConnectedDragSource!==this.dragSource}},{key:"didConnectedDragPreviewChange",value:function(){return this.lastConnectedDragPreview!==this.dragPreview}},{key:"didDragSourceOptionsChange",value:function(){return!St(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}},{key:"didDragPreviewOptionsChange",value:function(){return!St(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}},{key:"disconnectDragSource",value:function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}},{key:"disconnectDragPreview",value:function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}},{key:"dragSource",get:function(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}},{key:"dragPreview",get:function(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}},{key:"clearDragSource",value:function(){this.dragSourceNode=null,this.dragSourceRef=null}},{key:"clearDragPreview",value:function(){this.dragPreviewNode=null,this.dragPreviewRef=null}}],n&&At(t.prototype,n),e}();function Et(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Dt=!1,jt=!1,Rt=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Tt(this,"internalMonitor",void 0),Tt(this,"sourceId",null),this.internalMonitor=t.getMonitor()}var t,n;return t=e,n=[{key:"receiveHandlerId",value:function(e){this.sourceId=e}},{key:"getHandlerId",value:function(){return this.sourceId}},{key:"canDrag",value:function(){I(!Dt,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return Dt=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{Dt=!1}}},{key:"isDragging",value:function(){if(!this.sourceId)return!1;I(!jt,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return jt=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{jt=!1}}},{key:"subscribeToStateChange",value:function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}},{key:"isDraggingSource",value:function(e){return this.internalMonitor.isDraggingSource(e)}},{key:"isOverTarget",value:function(e,t){return this.internalMonitor.isOverTarget(e,t)}},{key:"getTargetIds",value:function(){return this.internalMonitor.getTargetIds()}},{key:"isSourcePublic",value:function(){return this.internalMonitor.isSourcePublic()}},{key:"getSourceId",value:function(){return this.internalMonitor.getSourceId()}},{key:"subscribeToOffsetChange",value:function(e){return this.internalMonitor.subscribeToOffsetChange(e)}},{key:"canDragSource",value:function(e){return this.internalMonitor.canDragSource(e)}},{key:"canDropOnTarget",value:function(e){return this.internalMonitor.canDropOnTarget(e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}],n&&Et(t.prototype,n),e}();function Mt(e){return Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mt(e)}function It(e){var t=e.current;return null==t?null:t.decoratedRef?t.decoratedRef.current:t}function Ot(e){return(t=e)&&t.prototype&&"function"==typeof t.prototype.render||function(e){var t;return"Symbol(react.forward_ref)"===(null==e||null===(t=e.$$typeof)||void 0===t?void 0:t.toString())}(e);var t}function Lt(e){return"function"==typeof e}function Pt(){}function Bt(e){if(!function(e){return"object"===Mt(e)&&null!==e}(e))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Nt(e,t){return"string"==typeof e||"symbol"===Mt(e)||!!t&&Array.isArray(e)&&e.every(function(e){return Nt(e,!1)})}function Ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zt(e,t,n){return t&&$t(e.prototype,t),n&&$t(e,n),e}function Ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ut=function(){function e(t){Ft(this,e),Ht(this,"isDisposed",!1),Ht(this,"action",void 0),this.action=Lt(t)?t:Pt}return zt(e,[{key:"dispose",value:function(){this.isDisposed||(this.action(),this.isDisposed=!0)}}],[{key:"isDisposable",value:function(e){return Boolean(e&&Lt(e.dispose))}},{key:"_fixup",value:function(t){return e.isDisposable(t)?t:e.empty}},{key:"create",value:function(t){return new e(t)}}]),e}();Ht(Ut,"empty",{dispose:Pt});var Wt=function(){function e(){Ft(this,e),Ht(this,"isDisposed",!1),Ht(this,"disposables",void 0);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];this.disposables=n}return zt(e,[{key:"add",value:function(e){this.isDisposed?e.dispose():this.disposables.push(e)}},{key:"remove",value:function(e){var t=!1;if(!this.isDisposed){var n=this.disposables.indexOf(e);-1!==n&&(t=!0,this.disposables.splice(n,1),e.dispose())}return t}},{key:"clear",value:function(){if(!this.isDisposed){for(var e=this.disposables.length,t=new Array(e),n=0;n<e;n++)t[n]=this.disposables[n];this.disposables=[];for(var r=0;r<e;r++)t[r].dispose()}}},{key:"dispose",value:function(){if(!this.isDisposed){this.isDisposed=!0;for(var e=this.disposables.length,t=new Array(e),n=0;n<e;n++)t[n]=this.disposables[n];this.disposables=[];for(var r=0;r<e;r++)t[r].dispose()}}}]),e}(),Gt=function(){function e(){Ft(this,e),Ht(this,"isDisposed",!1),Ht(this,"current",void 0)}return zt(e,[{key:"getDisposable",value:function(){return this.current}},{key:"setDisposable",value:function(e){var t=this.isDisposed;if(!t){var n=this.current;this.current=e,n&&n.dispose()}t&&e&&e.dispose()}},{key:"dispose",value:function(){if(!this.isDisposed){this.isDisposed=!0;var e=this.current;this.current=void 0,e&&e.dispose()}}}]),e}(),Vt=i(1035),qt=i.n(Vt);function Yt(e){return Yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yt(e)}function Jt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Qt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Zt(e,t){return Zt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Zt(e,t)}function Xt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kt(e){return Kt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Kt(e)}function en(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tn(e){var t=e.DecoratedComponent,n=e.createHandler,r=e.createMonitor,i=e.createConnector,o=e.registerHandler,a=e.containerDisplayName,s=e.getType,l=e.collect,c=e.options.arePropsEqual,d=void 0===c?St:c,u=t,h=t.displayName||t.name||"Component",p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zt(e,t)}(m,e);var t,a,c,p,f=(c=m,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=Kt(c);if(p){var n=Kt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===Yt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Xt(e)}(this,e)});function m(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,m),en(Xt(t=f.call(this,e)),"decoratedRef",(0,D.createRef)()),en(Xt(t),"handlerId",void 0),en(Xt(t),"manager",void 0),en(Xt(t),"handlerMonitor",void 0),en(Xt(t),"handlerConnector",void 0),en(Xt(t),"handler",void 0),en(Xt(t),"disposable",void 0),en(Xt(t),"currentType",void 0),en(Xt(t),"handleChange",function(){var e=t.getCurrentState();St(e,t.state)||t.setState(e)}),t.disposable=new Gt,t.receiveProps(e),t.dispose(),t}return t=m,(a=[{key:"getHandlerId",value:function(){return this.handlerId}},{key:"getDecoratedComponentInstance",value:function(){return I(this.decoratedRef.current,"In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()"),this.decoratedRef.current}},{key:"shouldComponentUpdate",value:function(e,t){return!d(e,this.props)||!St(t,this.state)}},{key:"componentDidMount",value:function(){this.disposable=new Gt,this.currentType=void 0,this.receiveProps(this.props),this.handleChange()}},{key:"componentDidUpdate",value:function(e){d(this.props,e)||(this.receiveProps(this.props),this.handleChange())}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"receiveProps",value:function(e){this.handler&&(this.handler.receiveProps(e),this.receiveType(s(e)))}},{key:"receiveType",value:function(e){if(this.handlerMonitor&&this.manager&&this.handlerConnector&&e!==this.currentType){this.currentType=e;var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Jt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o(e,this.handler,this.manager),2),n=t[0],r=t[1];this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var i=this.manager.getMonitor().subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new Wt(new Ut(i),new Ut(r)))}}},{key:"dispose",value:function(){this.disposable.dispose(),this.handlerConnector&&this.handlerConnector.receiveHandlerId(null)}},{key:"getCurrentState",value:function(){return this.handlerConnector?l(this.handlerConnector.hooks,this.handlerMonitor,this.props):{}}},{key:"render",value:function(){var e=this;return(0,M.jsx)(R.Consumer,{children:function(t){var n=t.dragDropManager;return e.receiveDragDropManager(n),"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(function(){var t;return null===(t=e.handlerConnector)||void 0===t?void 0:t.reconnect()}),(0,M.jsx)(u,Object.assign({},e.props,e.getCurrentState(),{ref:Ot(u)?e.decoratedRef:null}),void 0)}},void 0)}},{key:"receiveDragDropManager",value:function(e){void 0===this.manager&&(I(void 0!==e,"Could not find the drag and drop manager in the context of %s. Make sure to render a DndProvider component in your top-level component. Read more: http://react-dnd.github.io/react-dnd/docs/troubleshooting#could-not-find-the-drag-and-drop-manager-in-the-context",h,h),void 0!==e&&(this.manager=e,this.handlerMonitor=r(e),this.handlerConnector=i(e.getBackend()),this.handler=n(this.handlerMonitor,this.decoratedRef)))}}])&&Qt(t.prototype,a),m}(D.Component);return en(p,"DecoratedComponent",t),en(p,"displayName","".concat(a,"(").concat(h,")")),qt()(p,t)}function nn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var on=["canDrag","beginDrag","isDragging","endDrag"],an=["beginDrag"],sn=function(){function e(t,n,r){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),rn(this,"props",null),rn(this,"spec",void 0),rn(this,"monitor",void 0),rn(this,"ref",void 0),rn(this,"beginDrag",function(){if(i.props)return i.spec.beginDrag(i.props,i.monitor,i.ref.current)}),this.spec=t,this.monitor=n,this.ref=r}var t,n;return t=e,(n=[{key:"receiveProps",value:function(e){this.props=e}},{key:"canDrag",value:function(){return!!this.props&&(!this.spec.canDrag||this.spec.canDrag(this.props,this.monitor))}},{key:"isDragging",value:function(e,t){return!!this.props&&(this.spec.isDragging?this.spec.isDragging(this.props,this.monitor):t===e.getSourceId())}},{key:"endDrag",value:function(){this.props&&this.spec.endDrag&&this.spec.endDrag(this.props,this.monitor,It(this.ref))}}])&&nn(t.prototype,n),e}();function ln(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=e;"function"!=typeof e&&(I(Nt(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',e),i=function(){return e}),I(Bt(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',t);var o=function(e){return Object.keys(e).forEach(function(t){I(on.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',on.join(", "),t),I("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source",t,t,e[t])}),an.forEach(function(t){I("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source",t,t,e[t])}),function(t,n){return new sn(e,t,n)}}(t);return I("function"==typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',n),I(Bt(r),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',n),function(e){return tn({containerDisplayName:"DragSource",createHandler:o,registerHandler:yt,createConnector:function(e){return new _t(e)},createMonitor:function(e){return new Rt(e)},DecoratedComponent:e,getType:i,collect:n,options:r})}}function cn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var un=!1,hn=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),dn(this,"internalMonitor",void 0),dn(this,"targetId",null),this.internalMonitor=t.getMonitor()}var t,n;return t=e,n=[{key:"receiveHandlerId",value:function(e){this.targetId=e}},{key:"getHandlerId",value:function(){return this.targetId}},{key:"subscribeToStateChange",value:function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}},{key:"canDrop",value:function(){if(!this.targetId)return!1;I(!un,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return un=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{un=!1}}},{key:"isOver",value:function(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}],n&&cn(t.prototype,n),e}();function pn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mn=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),fn(this,"hooks",bt({dropTarget:function(e,t){n.clearDropTarget(),n.dropTargetOptions=t,Ct(e)?n.dropTargetRef=e:n.dropTargetNode=e,n.reconnect()}})),fn(this,"handlerId",null),fn(this,"dropTargetRef",null),fn(this,"dropTargetNode",void 0),fn(this,"dropTargetOptionsInternal",null),fn(this,"unsubscribeDropTarget",void 0),fn(this,"lastConnectedHandlerId",null),fn(this,"lastConnectedDropTarget",null),fn(this,"lastConnectedDropTargetOptions",null),fn(this,"backend",void 0),this.backend=t}var t,n;return t=e,n=[{key:"connectTarget",get:function(){return this.dropTarget}},{key:"reconnect",value:function(){var e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();var t=this.dropTarget;this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions)):this.lastConnectedDropTarget=t)}},{key:"receiveHandlerId",value:function(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(e){this.dropTargetOptionsInternal=e}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didDropTargetChange",value:function(){return this.lastConnectedDropTarget!==this.dropTarget}},{key:"didOptionsChange",value:function(){return!St(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}},{key:"disconnectDropTarget",value:function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}},{key:"clearDropTarget",value:function(){this.dropTargetRef=null,this.dropTargetNode=null}}],n&&pn(t.prototype,n),e}();function gn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yn=["canDrop","hover","drop"],bn=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),vn(this,"props",null),vn(this,"spec",void 0),vn(this,"monitor",void 0),vn(this,"ref",void 0),this.spec=t,this.monitor=n,this.ref=r}var t,n;return t=e,(n=[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveMonitor",value:function(e){this.monitor=e}},{key:"canDrop",value:function(){return!this.spec.canDrop||this.spec.canDrop(this.props,this.monitor)}},{key:"hover",value:function(){this.spec.hover&&this.props&&this.spec.hover(this.props,this.monitor,It(this.ref))}},{key:"drop",value:function(){if(this.spec.drop)return this.spec.drop(this.props,this.monitor,this.ref.current)}}])&&gn(t.prototype,n),e}();function xn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=e;"function"!=typeof e&&(I(Nt(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',e),i=function(){return e}),I(Bt(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',t);var o=function(e){return Object.keys(e).forEach(function(t){I(yn.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',yn.join(", "),t),I("function"==typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target",t,t,e[t])}),function(t,n){return new bn(e,t,n)}}(t);return I("function"==typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',n),I(Bt(r),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',n),function(e){return tn({containerDisplayName:"DropTarget",createHandler:o,registerHandler:vt,createMonitor:function(e){return new hn(e)},createConnector:function(e){return new mn(e)},DecoratedComponent:e,getType:i,collect:n,options:r})}}function wn(e){return wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wn(e)}function Cn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sn(e,t){return Sn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Sn(e,t)}function An(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kn(e){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},kn(e)}function _n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function En(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return I("function"==typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-layer",e),I(Bt(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-layer',t),function(n){var r=n,i=t.arePropsEqual,o=void 0===i?St:i,a=r.displayName||r.name||"Component",s=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sn(e,t)}(d,t);var n,i,s,l,c=(s=d,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=kn(s);if(l){var n=kn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===wn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return An(e)}(this,e)});function d(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return _n(An(e=c.call.apply(c,[this].concat(n))),"manager",void 0),_n(An(e),"isCurrentlyMounted",!1),_n(An(e),"unsubscribeFromOffsetChange",void 0),_n(An(e),"unsubscribeFromStateChange",void 0),_n(An(e),"ref",(0,D.createRef)()),_n(An(e),"handleChange",function(){if(e.isCurrentlyMounted){var t=e.getCurrentState();St(t,e.state)||e.setState(t)}}),e}return n=d,(i=[{key:"getDecoratedComponentInstance",value:function(){return I(this.ref.current,"In order to access an instance of the decorated component, it must either be a class component or use React.forwardRef()"),this.ref.current}},{key:"shouldComponentUpdate",value:function(e,t){return!o(e,this.props)||!St(t,this.state)}},{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0,this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange&&(this.unsubscribeFromOffsetChange(),this.unsubscribeFromOffsetChange=void 0),this.unsubscribeFromStateChange&&(this.unsubscribeFromStateChange(),this.unsubscribeFromStateChange=void 0)}},{key:"render",value:function(){var e=this;return(0,M.jsx)(R.Consumer,{children:function(t){var n=t.dragDropManager;return void 0===n?null:(e.receiveDragDropManager(n),e.isCurrentlyMounted?(0,M.jsx)(r,Object.assign({},e.props,e.state,{ref:Ot(r)?e.ref:null}),void 0):null)}},void 0)}},{key:"receiveDragDropManager",value:function(e){if(void 0===this.manager){this.manager=e,I("object"===wn(e),"Could not find the drag and drop manager in the context of %s. Make sure to render a DndProvider component in your top-level component. Read more: http://react-dnd.github.io/react-dnd/docs/troubleshooting#could-not-find-the-drag-and-drop-manager-in-the-context",a,a);var t=this.manager.getMonitor();this.unsubscribeFromOffsetChange=t.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=t.subscribeToStateChange(this.handleChange)}}},{key:"getCurrentState",value:function(){if(!this.manager)return{};var t=this.manager.getMonitor();return e(t,this.props)}}])&&Cn(n.prototype,i),d}(D.Component);return _n(s,"displayName","DragLayer(".concat(a,")")),_n(s,"DecoratedComponent",n),qt()(s,n)}}var Tn="undefined"!=typeof window?D.useLayoutEffect:D.useEffect;function Dn(e){return Dn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Dn(e)}function jn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mn=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Rn(this,"spec",void 0),Rn(this,"monitor",void 0),Rn(this,"connector",void 0),this.spec=t,this.monitor=n,this.connector=r}var t,n;return t=e,(n=[{key:"beginDrag",value:function(){var e,t=this.spec,n=this.monitor;return null!==(e="object"===Dn(t.item)?t.item:"function"==typeof t.item?t.item(n):{})&&void 0!==e?e:null}},{key:"canDrag",value:function(){var e=this.spec,t=this.monitor;return"boolean"==typeof e.canDrag?e.canDrag:"function"!=typeof e.canDrag||e.canDrag(t)}},{key:"isDragging",value:function(e,t){var n=this.spec,r=this.monitor,i=n.isDragging;return i?i(r):t===e.getSourceId()}},{key:"endDrag",value:function(){var e=this.spec,t=this.monitor,n=this.connector,r=e.end;r&&r(t.getItem(),t),n.reconnect()}}])&&jn(t.prototype,n),e}();function In(){var e=(0,D.useContext)(R).dragDropManager;return I(null!=e,"Expected drag drop context"),e}function On(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ln(e,t,n){var r=In(),i=function(e,t,n){var r=(0,D.useMemo)(function(){return new Mn(e,t,n)},[t,n]);return(0,D.useEffect)(function(){r.spec=e},[e]),r}(e,t,n),o=function(e){return(0,D.useMemo)(function(){var t=e.type;return I(null!=t,"spec.type must be defined"),t},[e])}(e);Tn(function(){if(null!=o){var e=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return On(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?On(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(yt(o,i,r),2),a=e[0],s=e[1];return t.receiveHandlerId(a),n.receiveHandlerId(a),s}},[r,t,n,i,o])}function Pn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Bn(e,t){var n,r=function(e){if(Array.isArray(e))return Pn(e)}(n=t||[])||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return Pn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pn(e,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();return null==t&&"function"!=typeof e&&r.push(e),(0,D.useMemo)(function(){return"function"==typeof e?e():e},r)}var Nn=i(3212),Fn=i.n(Nn);function $n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zn(e,t,n){var r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return $n(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,D.useState)(function(){return t(e)}),2),i=r[0],o=r[1],a=(0,D.useCallback)(function(){var r=t(e);Fn()(i,r)||(o(r),n&&n())},[i,e,n]);return Tn(a),[i,a]}function Hn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Un(e,t,n){return function(e,t){var r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Hn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(zn(e,t,function(){return n.reconnect()}),2),i=r[0],o=r[1];return Tn(function(){var t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(o,{handlerIds:[t]})},[e,o]),i}(t,e||function(){return{}})}function Wn(e){return(0,D.useMemo)(function(){return e.hooks.dragSource()},[e])}function Gn(e){return(0,D.useMemo)(function(){return e.hooks.dragPreview()},[e])}function Vn(e,t){var n=Bn(e,t);I(!n.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");var r,i=(r=In(),(0,D.useMemo)(function(){return new Rt(r)},[r])),o=function(e,t){var n=In(),r=(0,D.useMemo)(function(){return new _t(n.getBackend())},[n]);return Tn(function(){return r.dragSourceOptions=e||null,r.reconnect(),function(){return r.disconnectDragSource()}},[r,e]),Tn(function(){return r.dragPreviewOptions=t||null,r.reconnect(),function(){return r.disconnectDragPreview()}},[r,t]),r}(n.options,n.previewOptions);return Ln(n,i,o),[Un(n.collect,i,o),Wn(o),Gn(o)]}function qn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Jn=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Yn(this,"spec",void 0),Yn(this,"monitor",void 0),this.spec=t,this.monitor=n}var t,n;return t=e,(n=[{key:"canDrop",value:function(){var e=this.spec,t=this.monitor;return!e.canDrop||e.canDrop(t.getItem(),t)}},{key:"hover",value:function(){var e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)}},{key:"drop",value:function(){var e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)}}])&&qn(t.prototype,n),e}();function Qn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Zn(e,t,n){var r=In(),i=function(e,t){var n=(0,D.useMemo)(function(){return new Jn(e,t)},[t]);return(0,D.useEffect)(function(){n.spec=e},[e]),n}(e,t),o=function(e){var t=e.accept;return(0,D.useMemo)(function(){return I(null!=e.accept,"accept must be defined"),Array.isArray(t)?t:[t]},[t])}(e);Tn(function(){var e=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Qn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(vt(o,i,r),2),a=e[0],s=e[1];return t.receiveHandlerId(a),n.receiveHandlerId(a),s},[r,t,i,n,o.map(function(e){return e.toString()}).join("|")])}function Xn(e){return(0,D.useMemo)(function(){return e.hooks.dropTarget()},[e])}function Kn(e,t){var n,r=Bn(e,t),i=(n=In(),(0,D.useMemo)(function(){return new hn(n)},[n])),o=function(e){var t=In(),n=(0,D.useMemo)(function(){return new mn(t.getBackend())},[t]);return Tn(function(){return n.dropTargetOptions=e||null,n.reconnect(),function(){return n.disconnectDropTarget()}},[e]),n}(r.options);return Zn(r,i,o),[Un(r.collect,i,o),Xn(o)]}function er(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function tr(e){var t=In().getMonitor(),n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return er(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?er(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(zn(t,e),2),r=n[0],i=n[1];return(0,D.useEffect)(function(){return t.subscribeToOffsetChange(i)}),(0,D.useEffect)(function(){return t.subscribeToStateChange(i)}),r}function nr(e){var t=null;return function(){return null==t&&(t=e()),t}}function rr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ir(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var or=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),ir(this,"entered",[]),ir(this,"isNodeInDocument",void 0),this.isNodeInDocument=t}var t,n;return t=e,n=[{key:"enter",value:function(e){var t=this,n=this.entered.length;return this.entered=function(e,t){var n=new Set,r=function(e){return n.add(e)};e.forEach(r),t.forEach(r);var i=[];return n.forEach(function(e){return i.push(e)}),i}(this.entered.filter(function(n){return t.isNodeInDocument(n)&&(!n.contains||n.contains(e))}),[e]),0===n&&this.entered.length>0}},{key:"leave",value:function(e){var t,n,r=this.entered.length;return this.entered=(t=this.entered.filter(this.isNodeInDocument),n=e,t.filter(function(e){return e!==n})),r>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}],n&&rr(t.prototype,n),e}(),ar=nr(function(){return/firefox/i.test(navigator.userAgent)}),sr=nr(function(){return Boolean(window.safari)});function lr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dr=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),cr(this,"xs",void 0),cr(this,"ys",void 0),cr(this,"c1s",void 0),cr(this,"c2s",void 0),cr(this,"c3s",void 0);for(var r=t.length,i=[],o=0;o<r;o++)i.push(o);i.sort(function(e,n){return t[e]<t[n]?-1:1});for(var a,s,l=[],c=[],d=[],u=0;u<r-1;u++)a=t[u+1]-t[u],s=n[u+1]-n[u],c.push(a),l.push(s),d.push(s/a);for(var h=[d[0]],p=0;p<c.length-1;p++){var f=d[p],m=d[p+1];if(f*m<=0)h.push(0);else{a=c[p];var g=c[p+1],v=a+g;h.push(3*v/((v+g)/f+(v+a)/m))}}h.push(d[d.length-1]);for(var y,b=[],x=[],w=0;w<h.length-1;w++){y=d[w];var C=h[w],S=1/c[w],A=C+h[w+1]-y-y;b.push((y-C-A)*S),x.push(A*S*S)}this.xs=t,this.ys=n,this.c1s=h,this.c2s=b,this.c3s=x}var t,n;return t=e,n=[{key:"interpolate",value:function(e){var t=this.xs,n=this.ys,r=this.c1s,i=this.c2s,o=this.c3s,a=t.length-1;if(e===t[a])return n[a];for(var s,l=0,c=o.length-1;l<=c;){var d=t[s=Math.floor(.5*(l+c))];if(d<e)l=s+1;else{if(!(d>e))return n[s];c=s-1}}var u=e-t[a=Math.max(0,c)],h=u*u;return n[a]+r[a]*u+i[a]*h+o[a]*u*h}}],n&&lr(t.prototype,n),e}();function ur(e){var t=1===e.nodeType?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top;return{x:n.left,y:r}}function hr(e){return{x:e.clientX,y:e.clientY}}var pr,fr="__NATIVE_FILE__",mr="__NATIVE_URL__",gr="__NATIVE_TEXT__",vr="__NATIVE_HTML__";function yr(e,t,n){var r=t.reduce(function(t,n){return t||e.getData(n)},"");return null!=r?r:n}function br(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xr=(br(pr={},fr,{exposeProperties:{files:function(e){return Array.prototype.slice.call(e.files)},items:function(e){return e.items},dataTransfer:function(e){return e}},matchesTypes:["Files"]}),br(pr,vr,{exposeProperties:{html:function(e,t){return yr(e,t,"")},dataTransfer:function(e){return e}},matchesTypes:["Html","text/html"]}),br(pr,mr,{exposeProperties:{urls:function(e,t){return yr(e,t,"").split("\n")},dataTransfer:function(e){return e}},matchesTypes:["Url","text/uri-list"]}),br(pr,gr,{exposeProperties:{text:function(e,t){return yr(e,t,"")},dataTransfer:function(e){return e}},matchesTypes:["Text","text/plain"]}),pr);function wr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sr=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Cr(this,"item",void 0),Cr(this,"config",void 0),this.config=t,this.item={},this.initializeExposedProperties()}var t,n;return t=e,(n=[{key:"initializeExposedProperties",value:function(){var e=this;Object.keys(this.config.exposeProperties).forEach(function(t){Object.defineProperty(e.item,t,{configurable:!0,enumerable:!0,get:function(){return console.warn("Browser doesn't allow reading \"".concat(t,'" until the drop event.')),null}})})}},{key:"loadDataTransfer",value:function(e){var t=this;if(e){var n={};Object.keys(this.config.exposeProperties).forEach(function(r){n[r]={value:t.config.exposeProperties[r](e,t.config.matchesTypes),configurable:!0,enumerable:!0}}),Object.defineProperties(this.item,n)}}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}])&&wr(t.prototype,n),e}();function Ar(e){if(!e)return null;var t=Array.prototype.slice.call(e.types||[]);return Object.keys(xr).filter(function(e){return xr[e].matchesTypes.some(function(e){return t.indexOf(e)>-1})})[0]||null}function kr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Er=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),_r(this,"ownerDocument",null),_r(this,"globalContext",void 0),_r(this,"optionsArgs",void 0),this.globalContext=t,this.optionsArgs=n}var t,n;return t=e,(n=[{key:"window",get:function(){return this.globalContext?this.globalContext:"undefined"!=typeof window?window:void 0}},{key:"document",get:function(){var e;return null!==(e=this.globalContext)&&void 0!==e&&e.document?this.globalContext.document:this.window?this.window.document:void 0}},{key:"rootElement",get:function(){var e;return(null===(e=this.optionsArgs)||void 0===e?void 0:e.rootElement)||this.window}}])&&kr(t.prototype,n),e}();function Tr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Dr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tr(Object(n),!0).forEach(function(t){Rr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function jr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Rr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mr,Ir=function(){function e(t,n,r){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Rr(this,"options",void 0),Rr(this,"actions",void 0),Rr(this,"monitor",void 0),Rr(this,"registry",void 0),Rr(this,"enterLeaveCounter",void 0),Rr(this,"sourcePreviewNodes",new Map),Rr(this,"sourcePreviewNodeOptions",new Map),Rr(this,"sourceNodes",new Map),Rr(this,"sourceNodeOptions",new Map),Rr(this,"dragStartSourceIds",null),Rr(this,"dropTargetIds",[]),Rr(this,"dragEnterTargetIds",[]),Rr(this,"currentNativeSource",null),Rr(this,"currentNativeHandle",null),Rr(this,"currentDragSourceNode",null),Rr(this,"altKeyPressed",!1),Rr(this,"mouseMoveTimeoutTimer",null),Rr(this,"asyncEndDragFrameId",null),Rr(this,"dragOverTargetIds",null),Rr(this,"lastClientOffset",null),Rr(this,"hoverRafId",null),Rr(this,"getSourceClientOffset",function(e){var t=i.sourceNodes.get(e);return t&&ur(t)||null}),Rr(this,"endDragNativeItem",function(){i.isDraggingNativeItem()&&(i.actions.endDrag(),i.currentNativeHandle&&i.registry.removeSource(i.currentNativeHandle),i.currentNativeHandle=null,i.currentNativeSource=null)}),Rr(this,"isNodeInDocument",function(e){return Boolean(e&&i.document&&i.document.body&&i.document.body.contains(e))}),Rr(this,"endDragIfSourceWasRemovedFromDOM",function(){var e=i.currentDragSourceNode;null==e||i.isNodeInDocument(e)||i.clearCurrentDragSourceNode()&&i.monitor.isDragging()&&i.actions.endDrag()}),Rr(this,"handleTopDragStartCapture",function(){i.clearCurrentDragSourceNode(),i.dragStartSourceIds=[]}),Rr(this,"handleTopDragStart",function(e){if(!e.defaultPrevented){var t=i.dragStartSourceIds;i.dragStartSourceIds=null;var n=hr(e);i.monitor.isDragging()&&i.actions.endDrag(),i.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:i.getSourceClientOffset,clientOffset:n});var r=e.dataTransfer,o=Ar(r);if(i.monitor.isDragging()){if(r&&"function"==typeof r.setDragImage){var a=i.monitor.getSourceId(),s=i.sourceNodes.get(a),l=i.sourcePreviewNodes.get(a)||s;if(l){var c=i.getCurrentSourcePreviewNodeOptions(),d=function(e,t,n,r,i){var o,a,s="IMG"===(o=t).nodeName&&(ar()||!(null!==(a=document.documentElement)&&void 0!==a&&a.contains(o))),l=ur(s?e:t),c={x:n.x-l.x,y:n.y-l.y},d=e.offsetWidth,u=e.offsetHeight,h=r.anchorX,p=r.anchorY,f=function(e,t,n,r){var i=e?t.width:n,o=e?t.height:r;return sr()&&e&&(o/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:o}}(s,t,d,u),m=f.dragPreviewWidth,g=f.dragPreviewHeight,v=i.offsetX,y=i.offsetY,b=0===y||y;return{x:0===v||v?v:new dr([0,.5,1],[c.x,c.x/d*m,c.x+m-d]).interpolate(h),y:b?y:function(){var e=new dr([0,.5,1],[c.y,c.y/u*g,c.y+g-u]).interpolate(p);return sr()&&s&&(e+=(window.devicePixelRatio-1)*g),e}()}}(s,l,n,{anchorX:c.anchorX,anchorY:c.anchorY},{offsetX:c.offsetX,offsetY:c.offsetY});r.setDragImage(l,d.x,d.y)}}try{null==r||r.setData("application/json",{})}catch(e){}i.setCurrentDragSourceNode(e.target),i.getCurrentSourcePreviewNodeOptions().captureDraggingState?i.actions.publishDragSource():setTimeout(function(){return i.actions.publishDragSource()},0)}else if(o)i.beginDragNativeItem(o);else{if(r&&!r.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}}}),Rr(this,"handleTopDragEndCapture",function(){i.clearCurrentDragSourceNode()&&i.monitor.isDragging()&&i.actions.endDrag()}),Rr(this,"handleTopDragEnterCapture",function(e){if(i.dragEnterTargetIds=[],i.enterLeaveCounter.enter(e.target)&&!i.monitor.isDragging()){var t=e.dataTransfer,n=Ar(t);n&&i.beginDragNativeItem(n,t)}}),Rr(this,"handleTopDragEnter",function(e){var t=i.dragEnterTargetIds;i.dragEnterTargetIds=[],i.monitor.isDragging()&&(i.altKeyPressed=e.altKey,t.length>0&&i.actions.hover(t,{clientOffset:hr(e)}),t.some(function(e){return i.monitor.canDropOnTarget(e)})&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=i.getCurrentDropEffect())))}),Rr(this,"handleTopDragOverCapture",function(){i.dragOverTargetIds=[]}),Rr(this,"handleTopDragOver",function(e){var t=i.dragOverTargetIds;if(i.dragOverTargetIds=[],!i.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer&&(e.dataTransfer.dropEffect="none"));i.altKeyPressed=e.altKey,i.lastClientOffset=hr(e),null===i.hoverRafId&&"undefined"!=typeof requestAnimationFrame&&(i.hoverRafId=requestAnimationFrame(function(){i.monitor.isDragging()&&i.actions.hover(t||[],{clientOffset:i.lastClientOffset}),i.hoverRafId=null})),(t||[]).some(function(e){return i.monitor.canDropOnTarget(e)})?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=i.getCurrentDropEffect())):i.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))}),Rr(this,"handleTopDragLeaveCapture",function(e){i.isDraggingNativeItem()&&e.preventDefault(),i.enterLeaveCounter.leave(e.target)&&i.isDraggingNativeItem()&&setTimeout(function(){return i.endDragNativeItem()},0)}),Rr(this,"handleTopDropCapture",function(e){var t;i.dropTargetIds=[],i.isDraggingNativeItem()?(e.preventDefault(),null===(t=i.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)):Ar(e.dataTransfer)&&e.preventDefault(),i.enterLeaveCounter.reset()}),Rr(this,"handleTopDrop",function(e){var t=i.dropTargetIds;i.dropTargetIds=[],i.actions.hover(t,{clientOffset:hr(e)}),i.actions.drop({dropEffect:i.getCurrentDropEffect()}),i.isDraggingNativeItem()?i.endDragNativeItem():i.monitor.isDragging()&&i.actions.endDrag()}),Rr(this,"handleSelectStart",function(e){var t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))}),this.options=new Er(n,r),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.enterLeaveCounter=new or(this.isNodeInDocument)}var t,r;return t=e,r=[{key:"profile",value:function(){var e,t;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:(null===(e=this.dragStartSourceIds)||void 0===e?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:(null===(t=this.dragOverTargetIds)||void 0===t?void 0:t.length)||0}}},{key:"window",get:function(){return this.options.window}},{key:"document",get:function(){return this.options.document}},{key:"rootElement",get:function(){return this.options.rootElement}},{key:"setup",value:function(){var e=this.rootElement;if(void 0!==e){if(e.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}},{key:"teardown",value:function(){var e,t=this.rootElement;void 0!==t&&(t.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&(null===(e=this.window)||void 0===e||e.cancelAnimationFrame(this.asyncEndDragFrameId)))}},{key:"connectDragPreview",value:function(e,t,n){var r=this;return this.sourcePreviewNodeOptions.set(e,n),this.sourcePreviewNodes.set(e,t),function(){r.sourcePreviewNodes.delete(e),r.sourcePreviewNodeOptions.delete(e)}}},{key:"connectDragSource",value:function(e,t,n){var r=this;this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,n);var i=function(t){return r.handleDragStart(t,e)},o=function(e){return r.handleSelectStart(e)};return t.setAttribute("draggable","true"),t.addEventListener("dragstart",i),t.addEventListener("selectstart",o),function(){r.sourceNodes.delete(e),r.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",i),t.removeEventListener("selectstart",o),t.setAttribute("draggable","false")}}},{key:"connectDropTarget",value:function(e,t){var n=this,r=function(t){return n.handleDragEnter(t,e)},i=function(t){return n.handleDragOver(t,e)},o=function(t){return n.handleDrop(t,e)};return t.addEventListener("dragenter",r),t.addEventListener("dragover",i),t.addEventListener("drop",o),function(){t.removeEventListener("dragenter",r),t.removeEventListener("dragover",i),t.removeEventListener("drop",o)}}},{key:"addEventListeners",value:function(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"getCurrentSourceNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return Dr({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var e=this.monitor.getSourceId();return Dr({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}},{key:"isDraggingNativeItem",value:function(){var e=this.monitor.getItemType();return Object.keys(n).some(function(t){return n[t]===e})}},{key:"beginDragNativeItem",value:function(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(e,t){var n=new Sr(xr[e]);return n.loadDataTransfer(t),n}(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"setCurrentDragSourceNode",value:function(e){var t=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.mouseMoveTimeoutTimer=setTimeout(function(){var e;return null===(e=t.rootElement)||void 0===e?void 0:e.addEventListener("mousemove",t.endDragIfSourceWasRemovedFromDOM,!0)},1e3)}},{key:"clearCurrentDragSourceNode",value:function(){var e;return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.rootElement&&(null===(e=this.window)||void 0===e||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0)}},{key:"handleDragStart",value:function(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}},{key:"handleDragEnter",value:function(e,t){this.dragEnterTargetIds.unshift(t)}},{key:"handleDragOver",value:function(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}},{key:"handleDrop",value:function(e,t){this.dropTargetIds.unshift(t)}}],r&&jr(t.prototype,r),e}();function Or(){return Mr||((Mr=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),Mr}var Lr=function(e,t,n){return new Ir(e,t,n)},Pr=i(8143),Br=i.t(Pr,2),Nr=e=>"checkbox"===e.type,Fr=e=>e instanceof Date,$r=e=>null==e;const zr=e=>"object"==typeof e;var Hr=e=>!$r(e)&&!Array.isArray(e)&&zr(e)&&!Fr(e),Ur=e=>Hr(e)&&e.target?Nr(e.target)?e.target.checked:e.target.value:e,Wr=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),Gr=e=>{const t=e.constructor&&e.constructor.prototype;return Hr(t)&&t.hasOwnProperty("isPrototypeOf")},Vr="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function qr(e){let t;const n=Array.isArray(e),r="undefined"!=typeof FileList&&e instanceof FileList;if(e instanceof Date)t=new Date(e);else{if(Vr&&(e instanceof Blob||r)||!n&&!Hr(e))return e;if(t=n?[]:Object.create(Object.getPrototypeOf(e)),n||Gr(e))for(const n in e)e.hasOwnProperty(n)&&(t[n]=qr(e[n]));else t=e}return t}var Yr=e=>/^\w*$/.test(e),Jr=e=>void 0===e,Qr=e=>Array.isArray(e)?e.filter(Boolean):[],Zr=e=>Qr(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Xr=(e,t,n)=>{if(!t||!Hr(e))return n;const r=(Yr(t)?[t]:Zr(t)).reduce((e,t)=>$r(e)?e:e[t],e);return Jr(r)||r===e?Jr(e[t])?n:e[t]:r},Kr=e=>"boolean"==typeof e,ei=(e,t,n)=>{let r=-1;const i=Yr(t)?[t]:Zr(t),o=i.length,a=o-1;for(;++r<o;){const t=i[r];let o=n;if(r!==a){const n=e[t];o=Hr(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=o,e=e[t]}};const ti={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},ni={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},ri="pattern",ii="required",oi=D.createContext(null);oi.displayName="HookFormContext";const ai=()=>D.useContext(oi),si=e=>{const{children:t,...n}=e;return D.createElement(oi.Provider,{value:n},t)};var li=(e,t,n,r=!0)=>{const i={defaultValues:t._defaultValues};for(const o in e)Object.defineProperty(i,o,{get:()=>{const i=o;return t._proxyFormState[i]!==ni.all&&(t._proxyFormState[i]=!r||ni.all),n&&(n[i]=!0),e[i]}});return i};const ci="undefined"!=typeof window?D.useLayoutEffect:D.useEffect;function di(e){const t=ai(),{control:n=t.control,disabled:r,name:i,exact:o}=e||{},[a,s]=D.useState(n._formState),l=D.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return ci(()=>n._subscribe({name:i,formState:l.current,exact:o,callback:e=>{!r&&s({...n._formState,...e})}}),[i,r,o]),D.useEffect(()=>{l.current.isValid&&n._setValid(!0)},[n]),D.useMemo(()=>li(a,n,l.current,!1),[a,n])}var ui=e=>"string"==typeof e,hi=(e,t,n,r,i)=>ui(e)?(r&&t.watch.add(e),Xr(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),Xr(n,e))):(r&&(t.watchAll=!0),n),pi=e=>$r(e)||!zr(e);function fi(e,t,n=new WeakSet){if(pi(e)||pi(t))return e===t;if(Fr(e)&&Fr(t))return e.getTime()===t.getTime();const r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;if(n.has(e)||n.has(t))return!0;n.add(e),n.add(t);for(const o of r){const r=e[o];if(!i.includes(o))return!1;if("ref"!==o){const e=t[o];if(Fr(r)&&Fr(e)||Hr(r)&&Hr(e)||Array.isArray(r)&&Array.isArray(e)?!fi(r,e,n):r!==e)return!1}}return!0}function mi(e){const t=ai(),{control:n=t.control,name:r,defaultValue:i,disabled:o,exact:a,compute:s}=e||{},l=D.useRef(i),c=D.useRef(s),d=D.useRef(void 0);c.current=s;const u=D.useMemo(()=>n._getWatch(r,l.current),[n,r]),[h,p]=D.useState(c.current?c.current(u):u);return ci(()=>n._subscribe({name:r,formState:{values:!0},exact:a,callback:e=>{if(!o){const t=hi(r,n._names,e.values||n._formValues,!1,l.current);if(c.current){const e=c.current(t);fi(e,d.current)||(p(e),d.current=e)}else p(t)}}}),[n,o,r,a]),D.useEffect(()=>n._removeUnmounted()),h}function gi(e){const t=ai(),{name:n,disabled:r,control:i=t.control,shouldUnregister:o,defaultValue:a}=e,s=Wr(i._names.array,n),l=D.useMemo(()=>Xr(i._formValues,n,Xr(i._defaultValues,n,a)),[i,n,a]),c=mi({control:i,name:n,defaultValue:l,exact:!0}),d=di({control:i,name:n,exact:!0}),u=D.useRef(e),h=D.useRef(void 0),p=D.useRef(i.register(n,{...e.rules,value:c,...Kr(e.disabled)?{disabled:e.disabled}:{}}));u.current=e;const f=D.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Xr(d.errors,n)},isDirty:{enumerable:!0,get:()=>!!Xr(d.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!Xr(d.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!Xr(d.validatingFields,n)},error:{enumerable:!0,get:()=>Xr(d.errors,n)}}),[d,n]),m=D.useCallback(e=>p.current.onChange({target:{value:Ur(e),name:n},type:ti.CHANGE}),[n]),g=D.useCallback(()=>p.current.onBlur({target:{value:Xr(i._formValues,n),name:n},type:ti.BLUR}),[n,i._formValues]),v=D.useCallback(e=>{const t=Xr(i._fields,n);t&&e&&(t._f.ref={focus:()=>e.focus&&e.focus(),select:()=>e.select&&e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})},[i._fields,n]),y=D.useMemo(()=>({name:n,value:c,...Kr(r)||d.disabled?{disabled:d.disabled||r}:{},onChange:m,onBlur:g,ref:v}),[n,r,d.disabled,m,g,v,c]);return D.useEffect(()=>{const e=i._options.shouldUnregister||o,t=h.current;t&&t!==n&&!s&&i.unregister(t),i.register(n,{...u.current.rules,...Kr(u.current.disabled)?{disabled:u.current.disabled}:{}});const r=(e,t)=>{const n=Xr(i._fields,e);n&&n._f&&(n._f.mount=t)};if(r(n,!0),e){const e=qr(Xr(i._options.defaultValues,n,u.current.defaultValue));ei(i._defaultValues,n,e),Jr(Xr(i._formValues,n))&&ei(i._formValues,n,e)}return!s&&i.register(n),h.current=n,()=>{(s?e&&!i._state.action:e)?i.unregister(n):r(n,!1)}},[n,i,s,o]),D.useEffect(()=>{i._setDisabledField({disabled:r,name:n})},[r,n,i]),D.useMemo(()=>({field:y,formState:d,fieldState:f}),[y,d,f])}const vi=e=>e.render(gi(e)),yi=e=>{const t={};for(const n of Object.keys(e))if(zr(e[n])&&null!==e[n]){const r=yi(e[n]);for(const e of Object.keys(r))t[`${n}.${e}`]=r[e]}else t[n]=e[n];return t},bi="post";function xi(e){const t=ai(),[n,r]=D.useState(!1),{control:i=t.control,onSubmit:o,children:a,action:s,method:l=bi,headers:c,encType:d,onError:u,render:h,onSuccess:p,validateStatus:f,...m}=e,g=async t=>{let n=!1,r="";await i.handleSubmit(async e=>{const a=new FormData;let h="";try{h=JSON.stringify(e)}catch(e){}const m=yi(i._formValues);for(const e in m)a.append(e,m[e]);if(o&&await o({data:e,event:t,method:l,formData:a,formDataJson:h}),s)try{const e=[c&&c["Content-Type"],d].some(e=>e&&e.includes("json")),t=await fetch(String(s),{method:l,headers:{...c,...d&&"multipart/form-data"!==d?{"Content-Type":d}:{}},body:e?h:a});t&&(f?!f(t.status):t.status<200||t.status>=300)?(n=!0,u&&u({response:t}),r=String(t.status)):p&&p({response:t})}catch(e){n=!0,u&&u({error:e})}})(t),n&&e.control&&(e.control._subjects.state.next({isSubmitSuccessful:!1}),e.control.setError("root.server",{type:r}))};return D.useEffect(()=>{r(!0)},[]),h?D.createElement(D.Fragment,null,h({submit:g})):D.createElement("form",{noValidate:n,action:s,method:l,encType:d,onSubmit:g,...m},a)}var wi=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},Ci=e=>Array.isArray(e)?e:[e],Si=()=>{let e=[];return{get observers(){return e},next:t=>{for(const n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}};function Ai(e,t){const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r],o=t[r];if(i&&Hr(i)&&o){const e=Ai(i,o);Hr(e)&&(n[r]=e)}else e[r]&&(n[r]=o)}return n}var ki=e=>Hr(e)&&!Object.keys(e).length,_i=e=>"file"===e.type,Ei=e=>"function"==typeof e,Ti=e=>{if(!Vr)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Di=e=>"select-multiple"===e.type,ji=e=>"radio"===e.type,Ri=e=>ji(e)||Nr(e),Mi=e=>Ti(e)&&e.isConnected;function Ii(e,t){const n=Array.isArray(t)?t:Yr(t)?[t]:Zr(t),r=1===n.length?e:function(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=Jr(e)?r++:e[t[r++]];return e}(e,n),i=n.length-1,o=n[i];return r&&delete r[o],0!==i&&(Hr(r)&&ki(r)||Array.isArray(r)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!Jr(e[t]))return!1;return!0}(r))&&Ii(e,n.slice(0,-1)),e}var Oi=e=>{for(const t in e)if(Ei(e[t]))return!0;return!1};function Li(e){return Array.isArray(e)||Hr(e)&&!Oi(e)}function Pi(e,t={}){for(const n in e)Li(e[n])?(t[n]=Array.isArray(e[n])?[]:{},Pi(e[n],t[n])):Jr(e[n])||(t[n]=!0);return t}function Bi(e,t,n){n||(n=Pi(t));for(const r in e)Li(e[r])?Jr(t)||pi(n[r])?n[r]=Pi(e[r],Array.isArray(e[r])?[]:{}):Bi(e[r],$r(t)?{}:t[r],n[r]):n[r]=!fi(e[r],t[r]);return n}const Ni={value:!1,isValid:!1},Fi={value:!0,isValid:!0};var $i=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Jr(e[0].attributes.value)?Jr(e[0].value)||""===e[0].value?Fi:{value:e[0].value,isValid:!0}:Fi:Ni}return Ni},zi=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>Jr(e)?e:t?""===e?NaN:e?+e:e:n&&ui(e)?new Date(e):r?r(e):e;const Hi={isValid:!1,value:null};var Ui=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,Hi):Hi;function Wi(e){const t=e.ref;return _i(t)?t.files:ji(t)?Ui(e.refs).value:Di(t)?[...t.selectedOptions].map(({value:e})=>e):Nr(t)?$i(e.refs).value:zi(Jr(t.value)?e.ref.value:t.value,e)}var Gi=(e,t,n,r)=>{const i={};for(const n of e){const e=Xr(t,n);e&&ei(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},Vi=e=>e instanceof RegExp,qi=e=>Jr(e)?e:Vi(e)?e.source:Hr(e)?Vi(e.value)?e.value.source:e.value:e,Yi=e=>({isOnSubmit:!e||e===ni.onSubmit,isOnBlur:e===ni.onBlur,isOnChange:e===ni.onChange,isOnAll:e===ni.all,isOnTouch:e===ni.onTouched});const Ji="AsyncFunction";var Qi=e=>!!e&&!!e.validate&&!!(Ei(e.validate)&&e.validate.constructor.name===Ji||Hr(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===Ji)),Zi=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),Xi=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));const Ki=(e,t,n,r)=>{for(const i of n||Object.keys(e)){const n=Xr(e,i);if(n){const{_f:e,...o}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r)return!0;if(e.ref&&t(e.ref,e.name)&&!r)return!0;if(Ki(o,t))break}else if(Hr(o)&&Ki(o,t))break}}};function eo(e,t,n){const r=Xr(e,n);if(r||Yr(n))return{error:r,name:n};const i=n.split(".");for(;i.length;){const r=i.join("."),o=Xr(t,r),a=Xr(e,r);if(o&&!Array.isArray(o)&&n!==r)return{name:n};if(a&&a.type)return{name:r,error:a};if(a&&a.root&&a.root.type)return{name:`${r}.root`,error:a.root};i.pop()}return{name:n}}var to=(e,t,n,r)=>{n(e);const{name:i,...o}=e;return ki(o)||Object.keys(o).length>=Object.keys(t).length||Object.keys(o).find(e=>t[e]===(!r||ni.all))},no=(e,t,n)=>!e||!t||e===t||Ci(e).some(e=>e&&(n?e===t:e.startsWith(t)||t.startsWith(e))),ro=(e,t,n,r,i)=>!i.isOnAll&&(!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:!(n?r.isOnChange:i.isOnChange)||e),io=(e,t)=>!Qr(Xr(e,t)).length&&Ii(e,t),oo=(e,t,n)=>{const r=Ci(Xr(e,n));return ei(r,"root",t[n]),ei(e,n,r),e};function ao(e,t,n="validate"){if(ui(e)||Array.isArray(e)&&e.every(ui)||Kr(e)&&!e)return{type:n,message:ui(e)?e:"",ref:t}}var so=e=>Hr(e)&&!Vi(e)?e:{value:e,message:""},lo=async(e,t,n,r,i,o)=>{const{ref:a,refs:s,required:l,maxLength:c,minLength:d,min:u,max:h,pattern:p,validate:f,name:m,valueAsNumber:g,mount:v}=e._f,y=Xr(n,m);if(!v||t.has(m))return{};const b=s?s[0]:a,x=e=>{i&&b.reportValidity&&(b.setCustomValidity(Kr(e)?"":e||""),b.reportValidity())},w={},C=ji(a),S=Nr(a),A=C||S,k=(g||_i(a))&&Jr(a.value)&&Jr(y)||Ti(a)&&""===a.value||""===y||Array.isArray(y)&&!y.length,_=wi.bind(null,m,r,w),E=(e,t,n,r="maxLength",i="minLength")=>{const o=e?t:n;w[m]={type:e?r:i,message:o,ref:a,..._(e?r:i,o)}};if(o?!Array.isArray(y)||!y.length:l&&(!A&&(k||$r(y))||Kr(y)&&!y||S&&!$i(s).isValid||C&&!Ui(s).isValid)){const{value:e,message:t}=ui(l)?{value:!!l,message:l}:so(l);if(e&&(w[m]={type:ii,message:t,ref:b,..._(ii,t)},!r))return x(t),w}if(!(k||$r(u)&&$r(h))){let e,t;const n=so(h),i=so(u);if($r(y)||isNaN(y)){const r=a.valueAsDate||new Date(y),o=e=>new Date((new Date).toDateString()+" "+e),s="time"==a.type,l="week"==a.type;ui(n.value)&&y&&(e=s?o(y)>o(n.value):l?y>n.value:r>new Date(n.value)),ui(i.value)&&y&&(t=s?o(y)<o(i.value):l?y<i.value:r<new Date(i.value))}else{const r=a.valueAsNumber||(y?+y:y);$r(n.value)||(e=r>n.value),$r(i.value)||(t=r<i.value)}if((e||t)&&(E(!!e,n.message,i.message,"max","min"),!r))return x(w[m].message),w}if((c||d)&&!k&&(ui(y)||o&&Array.isArray(y))){const e=so(c),t=so(d),n=!$r(e.value)&&y.length>+e.value,i=!$r(t.value)&&y.length<+t.value;if((n||i)&&(E(n,e.message,t.message),!r))return x(w[m].message),w}if(p&&!k&&ui(y)){const{value:e,message:t}=so(p);if(Vi(e)&&!y.match(e)&&(w[m]={type:ri,message:t,ref:a,..._(ri,t)},!r))return x(t),w}if(f)if(Ei(f)){const e=ao(await f(y,n),b);if(e&&(w[m]={...e,..._("validate",e.message)},!r))return x(e.message),w}else if(Hr(f)){let e={};for(const t in f){if(!ki(e)&&!r)break;const i=ao(await f[t](y,n),b,t);i&&(e={...i,..._(t,i.message)},x(i.message),r&&(w[m]=e))}if(!ki(e)&&(w[m]={ref:b,...e},!r))return w}return x(!0),w};const co={mode:ni.onSubmit,reValidateMode:ni.onChange,shouldFocusError:!0};function uo(e={}){let t,n={...co,...e},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:Ei(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},i={},o=(Hr(n.defaultValues)||Hr(n.values))&&qr(n.defaultValues||n.values)||{},a=n.shouldUnregister?{}:qr(o),s={action:!1,mount:!1,watch:!1},l={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},c=0;const d={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let u={...d};const h={array:Si(),state:Si()},p=n.criteriaMode===ni.all,f=async e=>{if(!n.disabled&&(d.isValid||u.isValid||e)){const e=n.resolver?ki((await y()).errors):await b(i,!0);e!==r.isValid&&h.state.next({isValid:e})}},m=(e,t)=>{!n.disabled&&(d.isValidating||d.validatingFields||u.isValidating||u.validatingFields)&&((e||Array.from(l.mount)).forEach(e=>{e&&(t?ei(r.validatingFields,e,t):Ii(r.validatingFields,e))}),h.state.next({validatingFields:r.validatingFields,isValidating:!ki(r.validatingFields)}))},g=(e,t,n,r)=>{const l=Xr(i,e);if(l){const i=Xr(a,e,Jr(n)?Xr(o,e):n);Jr(i)||r&&r.defaultChecked||t?ei(a,e,t?i:Wi(l._f)):C(e,i),s.mount&&f()}},v=(e,t,i,a,s)=>{let l=!1,c=!1;const p={name:e};if(!n.disabled){if(!i||a){(d.isDirty||u.isDirty)&&(c=r.isDirty,r.isDirty=p.isDirty=x(),l=c!==p.isDirty);const n=fi(Xr(o,e),t);c=!!Xr(r.dirtyFields,e),n?Ii(r.dirtyFields,e):ei(r.dirtyFields,e,!0),p.dirtyFields=r.dirtyFields,l=l||(d.dirtyFields||u.dirtyFields)&&c!==!n}if(i){const t=Xr(r.touchedFields,e);t||(ei(r.touchedFields,e,i),p.touchedFields=r.touchedFields,l=l||(d.touchedFields||u.touchedFields)&&t!==i)}l&&s&&h.state.next(p)}return l?p:{}},y=async e=>{m(e,!0);const t=await n.resolver(a,n.context,Gi(e||l.mount,i,n.criteriaMode,n.shouldUseNativeValidation));return m(e),t},b=async(e,t,i={valid:!0})=>{for(const o in e){const s=e[o];if(s){const{_f:e,...o}=s;if(e){const o=l.array.has(e.name),c=s._f&&Qi(s._f);c&&d.validatingFields&&m([e.name],!0);const u=await lo(s,l.disabled,a,p,n.shouldUseNativeValidation&&!t,o);if(c&&d.validatingFields&&m([e.name]),u[e.name]&&(i.valid=!1,t))break;!t&&(Xr(u,e.name)?o?oo(r.errors,u,e.name):ei(r.errors,e.name,u[e.name]):Ii(r.errors,e.name))}!ki(o)&&await b(o,t,i)}}return i.valid},x=(e,t)=>!n.disabled&&(e&&t&&ei(a,e,t),!fi(T(),o)),w=(e,t,n)=>hi(e,l,{...s.mount?a:Jr(t)?o:ui(e)?{[e]:t}:t},n,t),C=(e,t,n={})=>{const r=Xr(i,e);let o=t;if(r){const n=r._f;n&&(!n.disabled&&ei(a,e,zi(t,n)),o=Ti(n.ref)&&$r(t)?"":t,Di(n.ref)?[...n.ref.options].forEach(e=>e.selected=o.includes(e.value)):n.refs?Nr(n.ref)?n.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(o)?e.checked=!!o.find(t=>t===e.value):e.checked=o===e.value||!!o)}):n.refs.forEach(e=>e.checked=e.value===o):_i(n.ref)?n.ref.value="":(n.ref.value=o,n.ref.type||h.state.next({name:e,values:qr(a)})))}(n.shouldDirty||n.shouldTouch)&&v(e,o,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&E(e)},S=(e,t,n)=>{for(const r in t){if(!t.hasOwnProperty(r))return;const o=t[r],a=e+"."+r,s=Xr(i,a);(l.array.has(e)||Hr(o)||s&&!s._f)&&!Fr(o)?S(a,o,n):C(a,o,n)}},A=(e,t,n={})=>{const c=Xr(i,e),p=l.array.has(e),f=qr(t);ei(a,e,f),p?(h.array.next({name:e,values:qr(a)}),(d.isDirty||d.dirtyFields||u.isDirty||u.dirtyFields)&&n.shouldDirty&&h.state.next({name:e,dirtyFields:Bi(o,a),isDirty:x(e,f)})):!c||c._f||$r(f)?C(e,f,n):S(e,f,n),Xi(e,l)&&h.state.next({...r,name:e}),h.state.next({name:s.mount?e:void 0,values:qr(a)})},k=async e=>{s.mount=!0;const o=e.target;let g=o.name,x=!0;const w=Xr(i,g),C=e=>{x=Number.isNaN(e)||Fr(e)&&isNaN(e.getTime())||fi(e,Xr(a,g,e))},S=Yi(n.mode),A=Yi(n.reValidateMode);if(w){let s,k;const _=o.type?Wi(w._f):Ur(e),T=e.type===ti.BLUR||e.type===ti.FOCUS_OUT,D=!Zi(w._f)&&!n.resolver&&!Xr(r.errors,g)&&!w._f.deps||ro(T,Xr(r.touchedFields,g),r.isSubmitted,A,S),j=Xi(g,l,T);ei(a,g,_),T?o&&o.readOnly||(w._f.onBlur&&w._f.onBlur(e),t&&t(0)):w._f.onChange&&w._f.onChange(e);const R=v(g,_,T),M=!ki(R)||j;if(!T&&h.state.next({name:g,type:e.type,values:qr(a)}),D)return(d.isValid||u.isValid)&&("onBlur"===n.mode?T&&f():T||f()),M&&h.state.next({name:g,...j?{}:R});if(!T&&j&&h.state.next({...r}),n.resolver){const{errors:e}=await y([g]);if(C(_),x){const t=eo(r.errors,i,g),n=eo(e,i,t.name||g);s=n.error,g=n.name,k=ki(e)}}else m([g],!0),s=(await lo(w,l.disabled,a,p,n.shouldUseNativeValidation))[g],m([g]),C(_),x&&(s?k=!1:(d.isValid||u.isValid)&&(k=await b(i,!0)));x&&(w._f.deps&&(!Array.isArray(w._f.deps)||w._f.deps.length>0)&&E(w._f.deps),((e,i,o,a)=>{const s=Xr(r.errors,e),l=(d.isValid||u.isValid)&&Kr(i)&&r.isValid!==i;var p;if(n.delayError&&o?(p=()=>((e,t)=>{ei(r.errors,e,t),h.state.next({errors:r.errors})})(e,o),t=e=>{clearTimeout(c),c=setTimeout(p,e)},t(n.delayError)):(clearTimeout(c),t=null,o?ei(r.errors,e,o):Ii(r.errors,e)),(o?!fi(s,o):s)||!ki(a)||l){const t={...a,...l&&Kr(i)?{isValid:i}:{},errors:r.errors,name:e};r={...r,...t},h.state.next(t)}})(g,k,s,R))}},_=(e,t)=>{if(Xr(r.errors,t)&&e.focus)return e.focus(),1},E=async(e,t={})=>{let o,a;const s=Ci(e);if(n.resolver){const t=await(async e=>{const{errors:t}=await y(e);if(e)for(const n of e){const e=Xr(t,n);e?ei(r.errors,n,e):Ii(r.errors,n)}else r.errors=t;return t})(Jr(e)?e:s);o=ki(t),a=e?!s.some(e=>Xr(t,e)):o}else e?(a=(await Promise.all(s.map(async e=>{const t=Xr(i,e);return await b(t&&t._f?{[e]:t}:t)}))).every(Boolean),(a||r.isValid)&&f()):a=o=await b(i);return h.state.next({...!ui(e)||(d.isValid||u.isValid)&&o!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:o}:{},errors:r.errors}),t.shouldFocus&&!a&&Ki(i,_,e?s:l.mount),a},T=(e,t)=>{let n={...s.mount?a:o};return t&&(n=Ai(t.dirtyFields?r.dirtyFields:r.touchedFields,n)),Jr(e)?n:ui(e)?Xr(n,e):e.map(e=>Xr(n,e))},D=(e,t)=>({invalid:!!Xr((t||r).errors,e),isDirty:!!Xr((t||r).dirtyFields,e),error:Xr((t||r).errors,e),isValidating:!!Xr(r.validatingFields,e),isTouched:!!Xr((t||r).touchedFields,e)}),j=(e,t,n)=>{const o=(Xr(i,e,{_f:{}})._f||{}).ref,a=Xr(r.errors,e)||{},{ref:s,message:l,type:c,...d}=a;ei(r.errors,e,{...d,...t,ref:o}),h.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&o&&o.focus&&o.focus()},R=e=>h.state.subscribe({next:t=>{no(e.name,t.name,e.exact)&&to(t,e.formState||d,F,e.reRenderRoot)&&e.callback({values:{...a},...r,...t,defaultValues:o})}}).unsubscribe,M=(e,t={})=>{for(const s of e?Ci(e):l.mount)l.mount.delete(s),l.array.delete(s),t.keepValue||(Ii(i,s),Ii(a,s)),!t.keepError&&Ii(r.errors,s),!t.keepDirty&&Ii(r.dirtyFields,s),!t.keepTouched&&Ii(r.touchedFields,s),!t.keepIsValidating&&Ii(r.validatingFields,s),!n.shouldUnregister&&!t.keepDefaultValue&&Ii(o,s);h.state.next({values:qr(a)}),h.state.next({...r,...t.keepDirty?{isDirty:x()}:{}}),!t.keepIsValid&&f()},I=({disabled:e,name:t})=>{(Kr(e)&&s.mount||e||l.disabled.has(t))&&(e?l.disabled.add(t):l.disabled.delete(t))},O=(e,t={})=>{let r=Xr(i,e);const a=Kr(t.disabled)||Kr(n.disabled);return ei(i,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),l.mount.add(e),r?I({disabled:Kr(t.disabled)?t.disabled:n.disabled,name:e}):g(e,!0,t.value),{...a?{disabled:t.disabled||n.disabled}:{},...n.progressive?{required:!!t.required,min:qi(t.min),max:qi(t.max),minLength:qi(t.minLength),maxLength:qi(t.maxLength),pattern:qi(t.pattern)}:{},name:e,onChange:k,onBlur:k,ref:a=>{if(a){O(e,t),r=Xr(i,e);const n=Jr(a.value)&&a.querySelectorAll&&a.querySelectorAll("input,select,textarea")[0]||a,s=Ri(n),l=r._f.refs||[];if(s?l.find(e=>e===n):n===r._f.ref)return;ei(i,e,{_f:{...r._f,...s?{refs:[...l.filter(Mi),n,...Array.isArray(Xr(o,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),g(e,!1,void 0,n)}else r=Xr(i,e,{}),r._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&(!Wr(l.array,e)||!s.action)&&l.unMount.add(e)}}},L=()=>n.shouldFocusError&&Ki(i,_,l.mount),P=(e,t)=>async o=>{let s;o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let c=qr(a);if(h.state.next({isSubmitting:!0}),n.resolver){const{errors:e,values:t}=await y();r.errors=e,c=qr(t)}else await b(i);if(l.disabled.size)for(const e of l.disabled)Ii(c,e);if(Ii(r.errors,"root"),ki(r.errors)){h.state.next({errors:{}});try{await e(c,o)}catch(e){s=e}}else t&&await t({...r.errors},o),L(),setTimeout(L);if(h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ki(r.errors)&&!s,submitCount:r.submitCount+1,errors:r.errors}),s)throw s},B=(e,t={})=>{const c=e?qr(e):o,u=qr(c),p=ki(e),f=p?o:u;if(t.keepDefaultValues||(o=c),!t.keepValues){if(t.keepDirtyValues){const e=new Set([...l.mount,...Object.keys(Bi(o,a))]);for(const t of Array.from(e))Xr(r.dirtyFields,t)?ei(f,t,Xr(a,t)):A(t,Xr(f,t))}else{if(Vr&&Jr(e))for(const e of l.mount){const t=Xr(i,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(Ti(e)){const t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(const e of l.mount)A(e,Xr(f,e));else i={}}a=n.shouldUnregister?t.keepDefaultValues?qr(o):{}:qr(f),h.array.next({values:{...f}}),h.state.next({values:{...f}})}l={mount:t.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},s.mount=!d.isValid||!!t.keepIsValid||!!t.keepDirtyValues,s.watch=!!n.shouldUnregister,h.state.next({submitCount:t.keepSubmitCount?r.submitCount:0,isDirty:!p&&(t.keepDirty?r.isDirty:!(!t.keepDefaultValues||fi(e,o))),isSubmitted:!!t.keepIsSubmitted&&r.isSubmitted,dirtyFields:p?{}:t.keepDirtyValues?t.keepDefaultValues&&a?Bi(o,a):r.dirtyFields:t.keepDefaultValues&&e?Bi(o,e):t.keepDirty?r.dirtyFields:{},touchedFields:t.keepTouched?r.touchedFields:{},errors:t.keepErrors?r.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1,defaultValues:o})},N=(e,t)=>B(Ei(e)?e(a):e,t),F=e=>{r={...r,...e}},$={control:{register:O,unregister:M,getFieldState:D,handleSubmit:P,setError:j,_subscribe:R,_runSchema:y,_focusError:L,_getWatch:w,_getDirty:x,_setValid:f,_setFieldArray:(e,t=[],l,c,p=!0,f=!0)=>{if(c&&l&&!n.disabled){if(s.action=!0,f&&Array.isArray(Xr(i,e))){const t=l(Xr(i,e),c.argA,c.argB);p&&ei(i,e,t)}if(f&&Array.isArray(Xr(r.errors,e))){const t=l(Xr(r.errors,e),c.argA,c.argB);p&&ei(r.errors,e,t),io(r.errors,e)}if((d.touchedFields||u.touchedFields)&&f&&Array.isArray(Xr(r.touchedFields,e))){const t=l(Xr(r.touchedFields,e),c.argA,c.argB);p&&ei(r.touchedFields,e,t)}(d.dirtyFields||u.dirtyFields)&&(r.dirtyFields=Bi(o,a)),h.state.next({name:e,isDirty:x(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else ei(a,e,t)},_setDisabledField:I,_setErrors:e=>{r.errors=e,h.state.next({errors:r.errors,isValid:!1})},_getFieldArray:e=>Qr(Xr(s.mount?a:o,e,n.shouldUnregister?Xr(o,e,[]):[])),_reset:B,_resetDefaultValues:()=>Ei(n.defaultValues)&&n.defaultValues().then(e=>{N(e,n.resetOptions),h.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(const e of l.unMount){const t=Xr(i,e);t&&(t._f.refs?t._f.refs.every(e=>!Mi(e)):!Mi(t._f.ref))&&M(e)}l.unMount=new Set},_disableForm:e=>{Kr(e)&&(h.state.next({disabled:e}),Ki(i,(t,n)=>{const r=Xr(i,n);r&&(t.disabled=r._f.disabled||e,Array.isArray(r._f.refs)&&r._f.refs.forEach(t=>{t.disabled=r._f.disabled||e}))},0,!1))},_subjects:h,_proxyFormState:d,get _fields(){return i},get _formValues(){return a},get _state(){return s},set _state(e){s=e},get _defaultValues(){return o},get _names(){return l},set _names(e){l=e},get _formState(){return r},get _options(){return n},set _options(e){n={...n,...e}}},subscribe:e=>(s.mount=!0,u={...u,...e.formState},R({...e,formState:u})),trigger:E,register:O,handleSubmit:P,watch:(e,t)=>Ei(e)?h.state.subscribe({next:n=>"values"in n&&e(w(void 0,t),n)}):w(e,t,!0),setValue:A,getValues:T,reset:N,resetField:(e,t={})=>{Xr(i,e)&&(Jr(t.defaultValue)?A(e,qr(Xr(o,e))):(A(e,t.defaultValue),ei(o,e,qr(t.defaultValue))),t.keepTouched||Ii(r.touchedFields,e),t.keepDirty||(Ii(r.dirtyFields,e),r.isDirty=t.defaultValue?x(e,qr(Xr(o,e))):x()),t.keepError||(Ii(r.errors,e),d.isValid&&f()),h.state.next({...r}))},clearErrors:e=>{e&&Ci(e).forEach(e=>Ii(r.errors,e)),h.state.next({errors:e?r.errors:{}})},unregister:M,setError:j,setFocus:(e,t={})=>{const n=Xr(i,e),r=n&&n._f;if(r){const e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&Ei(e.select)&&e.select())}},getFieldState:D};return{...$,formControl:$}}var ho=()=>{if("undefined"!=typeof crypto&&crypto.randomUUID)return crypto.randomUUID();const e="undefined"==typeof performance?Date.now():1e3*performance.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{const n=(16*Math.random()+e)%16|0;return("x"==t?n:3&n|8).toString(16)})},po=(e,t,n={})=>n.shouldFocus||Jr(n.shouldFocus)?n.focusName||`${e}.${Jr(n.focusIndex)?t:n.focusIndex}.`:"",fo=(e,t)=>[...e,...Ci(t)],mo=e=>Array.isArray(e)?e.map(()=>{}):void 0;function go(e,t,n){return[...e.slice(0,t),...Ci(n),...e.slice(t)]}var vo=(e,t,n)=>Array.isArray(e)?(Jr(e[n])&&(e[n]=void 0),e.splice(n,0,e.splice(t,1)[0]),e):[],yo=(e,t)=>[...Ci(t),...Ci(e)],bo=(e,t)=>Jr(t)?[]:function(e,t){let n=0;const r=[...e];for(const e of t)r.splice(e-n,1),n++;return Qr(r).length?r:[]}(e,Ci(t).sort((e,t)=>e-t)),xo=(e,t,n)=>{[e[t],e[n]]=[e[n],e[t]]},wo=(e,t,n)=>(e[t]=n,e);function Co(e){const t=ai(),{control:n=t.control,name:r,keyName:i="id",shouldUnregister:o,rules:a}=e,[s,l]=D.useState(n._getFieldArray(r)),c=D.useRef(n._getFieldArray(r).map(ho)),d=D.useRef(!1);n._names.array.add(r),D.useMemo(()=>a&&s.length>=0&&n.register(r,a),[n,r,s.length,a]),ci(()=>n._subjects.array.subscribe({next:({values:e,name:t})=>{if(t===r||!t){const t=Xr(e,r);Array.isArray(t)&&(l(t),c.current=t.map(ho))}}}).unsubscribe,[n,r]);const u=D.useCallback(e=>{d.current=!0,n._setFieldArray(r,e)},[n,r]);return D.useEffect(()=>{if(n._state.action=!1,Xi(r,n._names)&&n._subjects.state.next({...n._formState}),d.current&&(!Yi(n._options.mode).isOnSubmit||n._formState.isSubmitted)&&!Yi(n._options.reValidateMode).isOnSubmit)if(n._options.resolver)n._runSchema([r]).then(e=>{const t=Xr(e.errors,r),i=Xr(n._formState.errors,r);(i?!t&&i.type||t&&(i.type!==t.type||i.message!==t.message):t&&t.type)&&(t?ei(n._formState.errors,r,t):Ii(n._formState.errors,r),n._subjects.state.next({errors:n._formState.errors}))});else{const e=Xr(n._fields,r);!e||!e._f||Yi(n._options.reValidateMode).isOnSubmit&&Yi(n._options.mode).isOnSubmit||lo(e,n._names.disabled,n._formValues,n._options.criteriaMode===ni.all,n._options.shouldUseNativeValidation,!0).then(e=>!ki(e)&&n._subjects.state.next({errors:oo(n._formState.errors,e,r)}))}n._subjects.state.next({name:r,values:qr(n._formValues)}),n._names.focus&&Ki(n._fields,(e,t)=>{if(n._names.focus&&t.startsWith(n._names.focus)&&e.focus)return e.focus(),1}),n._names.focus="",n._setValid(),d.current=!1},[s,r,n]),D.useEffect(()=>(!Xr(n._formValues,r)&&n._setFieldArray(r),()=>{n._options.shouldUnregister||o?n.unregister(r):(e=>{const t=Xr(n._fields,e);t&&t._f&&(t._f.mount=!1)})(r)}),[r,n,i,o]),{swap:D.useCallback((e,t)=>{const i=n._getFieldArray(r);xo(i,e,t),xo(c.current,e,t),u(i),l(i),n._setFieldArray(r,i,xo,{argA:e,argB:t},!1)},[u,r,n]),move:D.useCallback((e,t)=>{const i=n._getFieldArray(r);vo(i,e,t),vo(c.current,e,t),u(i),l(i),n._setFieldArray(r,i,vo,{argA:e,argB:t},!1)},[u,r,n]),prepend:D.useCallback((e,t)=>{const i=Ci(qr(e)),o=yo(n._getFieldArray(r),i);n._names.focus=po(r,0,t),c.current=yo(c.current,i.map(ho)),u(o),l(o),n._setFieldArray(r,o,yo,{argA:mo(e)})},[u,r,n]),append:D.useCallback((e,t)=>{const i=Ci(qr(e)),o=fo(n._getFieldArray(r),i);n._names.focus=po(r,o.length-1,t),c.current=fo(c.current,i.map(ho)),u(o),l(o),n._setFieldArray(r,o,fo,{argA:mo(e)})},[u,r,n]),remove:D.useCallback(e=>{const t=bo(n._getFieldArray(r),e);c.current=bo(c.current,e),u(t),l(t),!Array.isArray(Xr(n._fields,r))&&ei(n._fields,r,void 0),n._setFieldArray(r,t,bo,{argA:e})},[u,r,n]),insert:D.useCallback((e,t,i)=>{const o=Ci(qr(t)),a=go(n._getFieldArray(r),e,o);n._names.focus=po(r,e,i),c.current=go(c.current,e,o.map(ho)),u(a),l(a),n._setFieldArray(r,a,go,{argA:e,argB:mo(t)})},[u,r,n]),update:D.useCallback((e,t)=>{const i=qr(t),o=wo(n._getFieldArray(r),e,i);c.current=[...o].map((t,n)=>t&&n!==e?c.current[n]:ho()),u(o),l([...o]),n._setFieldArray(r,o,wo,{argA:e,argB:i},!0,!1)},[u,r,n]),replace:D.useCallback(e=>{const t=Ci(qr(e));c.current=t.map(ho),u([...t]),l([...t]),n._setFieldArray(r,[...t],e=>e,{},!0,!1)},[u,r,n]),fields:D.useMemo(()=>s.map((e,t)=>({...e,[i]:c.current[t]||ho()})),[s,i])}}function So(e={}){const t=D.useRef(void 0),n=D.useRef(void 0),[r,i]=D.useState({isDirty:!1,isValidating:!1,isLoading:Ei(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:Ei(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:r},e.defaultValues&&!Ei(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:n,...i}=uo(e);t.current={...i,formState:r}}const o=t.current.control;return o._options=e,ci(()=>{const e=o._subscribe({formState:o._proxyFormState,callback:()=>i({...o._formState}),reRenderRoot:!0});return i(e=>({...e,isReady:!0})),o._formState.isReady=!0,e},[o]),D.useEffect(()=>o._disableForm(e.disabled),[o,e.disabled]),D.useEffect(()=>{e.mode&&(o._options.mode=e.mode),e.reValidateMode&&(o._options.reValidateMode=e.reValidateMode)},[o,e.mode,e.reValidateMode]),D.useEffect(()=>{e.errors&&(o._setErrors(e.errors),o._focusError())},[o,e.errors]),D.useEffect(()=>{e.shouldUnregister&&o._subjects.state.next({values:o._getWatch()})},[o,e.shouldUnregister]),D.useEffect(()=>{if(o._proxyFormState.isDirty){const e=o._getDirty();e!==r.isDirty&&o._subjects.state.next({isDirty:e})}},[o,r.isDirty]),D.useEffect(()=>{e.values&&!fi(e.values,n.current)?(o._reset(e.values,{keepFieldsRef:!0,...o._options.resetOptions}),n.current=e.values,i(e=>({...e}))):o._resetDefaultValues()},[o,e.values]),D.useEffect(()=>{o._state.mount||(o._setValid(),o._state.mount=!0),o._state.watch&&(o._state.watch=!1,o._subjects.state.next({...o._formState})),o._removeUnmounted()}),t.current.formState=li(r,o),t.current}const Ao=({control:e,names:t,render:n})=>n(mi({control:e,name:t}));var ko=function(e,t){return ko=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},ko(e,t)};function _o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ko(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Eo=function(){return Eo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Eo.apply(this,arguments)};function To(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function Do(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function jo(e,t){var n=t&&t.cache?t.cache:zo,r=t&&t.serializer?t.serializer:Fo;return(t&&t.strategy?t.strategy:Oo)(e,{cache:n,serializer:r})}function Ro(e,t,n,r){var i,o=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),a=t.get(o);return void 0===a&&(a=e.call(this,r),t.set(o,a)),a}function Mo(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return void 0===o&&(o=e.apply(this,r),t.set(i,o)),o}function Io(e,t,n,r,i){return n.bind(t,e,r,i)}function Oo(e,t){return Io(e,this,1===e.length?Ro:Mo,t.cache.create(),t.serializer)}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var Lo,Po,Bo,No,Fo=function(){return JSON.stringify(arguments)},$o=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),zo={create:function(){return new $o}},Ho={variadic:function(e,t){return Io(e,this,Mo,t.cache.create(),t.serializer)},monadic:function(e,t){return Io(e,this,Ro,t.cache.create(),t.serializer)}};function Uo(e){return e.type===Po.literal}function Wo(e){return e.type===Po.argument}function Go(e){return e.type===Po.number}function Vo(e){return e.type===Po.date}function qo(e){return e.type===Po.time}function Yo(e){return e.type===Po.select}function Jo(e){return e.type===Po.plural}function Qo(e){return e.type===Po.pound}function Zo(e){return e.type===Po.tag}function Xo(e){return!(!e||"object"!=typeof e||e.type!==Bo.number)}function Ko(e){return!(!e||"object"!=typeof e||e.type!==Bo.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(Lo||(Lo={})),(No=Po||(Po={}))[No.literal=0]="literal",No[No.argument=1]="argument",No[No.number=2]="number",No[No.date=3]="date",No[No.time=4]="time",No[No.select=5]="select",No[No.plural=6]="plural",No[No.pound=7]="pound",No[No.tag=8]="tag",function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Bo||(Bo={}));var ea=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ta=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function na(e){var t={};return e.replace(ta,function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"long":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var ra=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function ia(e){return e.replace(/^(.*?)-/,"")}var oa=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,aa=/^(@+)?(\+|#+)?[rs]?$/g,sa=/(\*)(0+)|(#+)(0+)|(0+)/g,la=/^(0+)$/;function ca(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(aa,function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""}),t}function da(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function ua(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!la.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function ha(e){return da(e)||{}}function pa(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=ia(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=Eo(Eo(Eo({},t),{notation:"scientific"}),i.options.reduce(function(e,t){return Eo(Eo({},e),ha(t))},{}));continue;case"engineering":t=Eo(Eo(Eo({},t),{notation:"engineering"}),i.options.reduce(function(e,t){return Eo(Eo({},e),ha(t))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(sa,function(e,n,r,i,o,a){if(n)t.minimumIntegerDigits=r.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""});continue}if(la.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(oa.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(oa,function(e,n,r,i,o,a){return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""});var o=i.options[0];"w"===o?t=Eo(Eo({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=Eo(Eo({},t),ca(o)))}else if(aa.test(i.stem))t=Eo(Eo({},t),ca(i.stem));else{var a=da(i.stem);a&&(t=Eo(Eo({},t),a));var s=ua(i.stem);s&&(t=Eo(Eo({},t),s))}}return t}var fa,ma={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function ga(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(ma[n||""]||ma[r||""]||ma["".concat(r,"-001")]||ma["001"])[0]}var va=new RegExp("^".concat(ea.source,"*")),ya=new RegExp("".concat(ea.source,"*$"));function ba(e,t){return{start:e,end:t}}var xa=!!String.prototype.startsWith&&"_a".startsWith("a",1),wa=!!String.fromCodePoint,Ca=!!Object.fromEntries,Sa=!!String.prototype.codePointAt,Aa=!!String.prototype.trimStart,ka=!!String.prototype.trimEnd,_a=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ea=!0;try{Ea="a"===(null===(fa=La("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===fa?void 0:fa[0])}catch(Hp){Ea=!1}var Ta,Da=xa?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},ja=wa?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;i>o;){if((n=e[o++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Ra=Ca?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],a=i[1];t[o]=a}return t},Ma=Sa?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},Ia=Aa?function(e){return e.trimStart()}:function(e){return e.replace(va,"")},Oa=ka?function(e){return e.trimEnd()}:function(e){return e.replace(ya,"")};function La(e,t){return new RegExp(e,t)}if(Ea){var Pa=La("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ta=function(e,t){var n;return Pa.lastIndex=t,null!==(n=Pa.exec(e)[1])&&void 0!==n?n:""}}else Ta=function(e,t){for(var n=[];;){var r=Ma(e,t);if(void 0===r||za(r)||Ha(r))break;n.push(r),t+=r>=65536?2:1}return ja.apply(void 0,n)};var Ba,Na=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(123===i){if((o=this.parseArgument(e,n)).err)return o;r.push(o.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Lo.UNMATCHED_CLOSING_TAG,ba(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Fa(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{var a=this.clonePosition();this.bump(),r.push({type:Po.pound,location:ba(a,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Po.literal,value:"<".concat(r,"/>"),location:ba(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Fa(this.char()))return this.error(Lo.INVALID_TAG,ba(a,this.clonePosition()));var s=this.clonePosition();return r!==this.parseTagName()?this.error(Lo.UNMATCHED_CLOSING_TAG,ba(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Po.tag,value:r,children:o,location:ba(n,this.clonePosition())},err:null}:this.error(Lo.INVALID_TAG,ba(a,this.clonePosition())))}return this.error(Lo.UNCLOSED_TAG,ba(n,this.clonePosition()))}return this.error(Lo.INVALID_TAG,ba(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&$a(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{var o=this.tryParseUnquoted(e,t);if(o)r+=o;else{var a=this.tryParseLeftAngleBracket();if(!a)break;r+=a}}}var s=ba(n,this.clonePosition());return{val:{type:Po.literal,value:r,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Fa(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return ja.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),ja(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Lo.EXPECT_ARGUMENT_CLOSING_BRACE,ba(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Lo.EMPTY_ARGUMENT,ba(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Lo.MALFORMED_ARGUMENT,ba(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Lo.EXPECT_ARGUMENT_CLOSING_BRACE,ba(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Po.argument,value:r,location:ba(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Lo.EXPECT_ARGUMENT_CLOSING_BRACE,ba(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Lo.MALFORMED_ARGUMENT,ba(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Ta(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:ba(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(Lo.EXPECT_ARGUMENT_TYPE,ba(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((v=this.parseSimpleArgStyleIfPossible()).err)return v;if(0===(p=Oa(v.val)).length)return this.error(Lo.EXPECT_ARGUMENT_STYLE,ba(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:ba(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(r)).err)return y;var d=ba(r,this.clonePosition());if(l&&Da(null==l?void 0:l.style,"::",0)){var u=Ia(l.style.slice(2));if("number"===a)return(v=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?v:{val:{type:Po.number,value:n,location:d,style:v.val},err:null};if(0===u.length)return this.error(Lo.EXPECT_DATE_TIME_SKELETON,d);var h=u;this.locale&&(h=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var a=1+(1&o),s=o<2?1:3+(o>>1),l=ga(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)n+="a";for(;a-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(u,this.locale));var p={type:Bo.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?na(h):{}};return{val:{type:"date"===a?Po.date:Po.time,value:n,location:d,style:p},err:null}}return{val:{type:"number"===a?Po.number:"date"===a?Po.date:Po.time,value:n,location:d,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Lo.EXPECT_SELECT_ARGUMENT_OPTIONS,ba(f,Eo({},f)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),g=0;if("select"!==a&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(Lo.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ba(this.clonePosition(),this.clonePosition()));var v;if(this.bumpSpace(),(v=this.tryParseDecimalInteger(Lo.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Lo.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return v;this.bumpSpace(),m=this.parseIdentifierIfPossible(),g=v.val}var y,b=this.tryParsePluralOrSelectOptions(e,a,t,m);if(b.err)return b;if((y=this.tryParseArgumentClose(r)).err)return y;var x=ba(r,this.clonePosition());return"select"===a?{val:{type:Po.select,value:n,options:Ra(b.val),location:x},err:null}:{val:{type:Po.plural,value:n,options:Ra(b.val),offset:g,pluralType:"plural"===a?"cardinal":"ordinal",location:x},err:null};default:return this.error(Lo.INVALID_ARGUMENT_TYPE,ba(o,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Lo.EXPECT_ARGUMENT_CLOSING_BRACE,ba(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Lo.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ba(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=e.split(ra).filter(function(e){return e.length>0}),n=[],r=0,i=t;r<i.length;r++){var o=i[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var a=o[0],s=o.slice(1),l=0,c=s;l<c.length;l++)if(0===c[l].length)throw new Error("Invalid number skeleton");n.push({stem:a,options:s})}return n}(e)}catch(e){return this.error(Lo.INVALID_NUMBER_SKELETON,t)}return{val:{type:Bo.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?pa(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i,o=!1,a=[],s=new Set,l=r.value,c=r.location;;){if(0===l.length){var d=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(Lo.EXPECT_PLURAL_ARGUMENT_SELECTOR,Lo.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;c=ba(d,this.clonePosition()),l=this.message.slice(d.offset,this.offset())}if(s.has(l))return this.error("select"===t?Lo.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Lo.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Lo.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Lo.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,ba(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(e+1,t,n);if(p.err)return p;var f=this.tryParseArgumentClose(h);if(f.err)return f;a.push([l,{value:p.val,location:ba(h,this.clonePosition())}]),s.add(l),this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===a.length?this.error("select"===t?Lo.EXPECT_SELECT_ARGUMENT_SELECTOR:Lo.EXPECT_PLURAL_ARGUMENT_SELECTOR,ba(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(Lo.MISSING_OTHER_CLAUSE,ba(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;i=!0,o=10*o+(a-48),this.bump()}var s=ba(r,this.clonePosition());return i?_a(o*=n)?{val:o,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ma(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Da(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&za(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function Fa(e){return e>=97&&e<=122||e>=65&&e<=90}function $a(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function za(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Ha(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Ua(e){e.forEach(function(e){if(delete e.location,Yo(e)||Jo(e))for(var t in e.options)delete e.options[t].location,Ua(e.options[t].value);else Go(e)&&Xo(e.style)||(Vo(e)||qo(e))&&Ko(e.style)?delete e.style.location:Zo(e)&&Ua(e.children)})}function Wa(e,t){void 0===t&&(t={}),t=Eo({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Na(e,t).parse();if(n.err){var r=SyntaxError(Lo[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||Ua(n.val),n.val}!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(Ba||(Ba={}));var Ga,Va=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return _o(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),qa=function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Ba.INVALID_VALUE,i)||this}return _o(t,e),t}(Va),Ya=function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Ba.INVALID_VALUE,r)||this}return _o(t,e),t}(Va),Ja=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),Ba.MISSING_VALUE,n)||this}return _o(t,e),t}(Va);function Qa(e){return"function"==typeof e}function Za(e,t,n,r,i,o,a){if(1===e.length&&Uo(e[0]))return[{type:Ga.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var d=c[l];if(Uo(d))s.push({type:Ga.literal,value:d.value});else if(Qo(d))"number"==typeof o&&s.push({type:Ga.literal,value:n.getNumberFormat(t).format(o)});else{var u=d.value;if(!i||!(u in i))throw new Ja(u,a);var h=i[u];if(Wo(d))h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?Ga.literal:Ga.object,value:h});else if(Vo(d)){var p="string"==typeof d.style?r.date[d.style]:Ko(d.style)?d.style.parsedOptions:void 0;s.push({type:Ga.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(qo(d))p="string"==typeof d.style?r.time[d.style]:Ko(d.style)?d.style.parsedOptions:r.time.medium,s.push({type:Ga.literal,value:n.getDateTimeFormat(t,p).format(h)});else if(Go(d))(p="string"==typeof d.style?r.number[d.style]:Xo(d.style)?d.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:Ga.literal,value:n.getNumberFormat(t,p).format(h)});else{if(Zo(d)){var f=d.children,m=d.value,g=i[m];if(!Qa(g))throw new Ya(m,"function",a);var v=g(Za(f,t,n,r,i,o).map(function(e){return e.value}));Array.isArray(v)||(v=[v]),s.push.apply(s,v.map(function(e){return{type:"string"==typeof e?Ga.literal:Ga.object,value:e}}))}if(Yo(d)){if(!(y=d.options[h]||d.options.other))throw new qa(d.value,h,Object.keys(d.options),a);s.push.apply(s,Za(y.value,t,n,r,i))}else if(Jo(d)){var y;if(!(y=d.options["=".concat(h)])){if(!Intl.PluralRules)throw new Va('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ba.MISSING_INTL_API,a);var b=n.getPluralRules(t,{type:d.pluralType}).select(h-(d.offset||0));y=d.options[b]||d.options.other}if(!y)throw new qa(d.value,h,Object.keys(d.options),a);s.push.apply(s,Za(y.value,t,n,r,i,h-(d.offset||0)))}}}}return(x=s).length<2?x:x.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Ga.literal&&t.type===Ga.literal?n.value+=t.value:e.push(t),e},[]);var x}function Xa(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Ga||(Ga={}));var Ka,es=function(){function e(t,n,r,i){void 0===n&&(n=e.defaultLocale);var o,a,s,l=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=l.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce(function(e,t){return e.length&&t.type===Ga.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return Za(l.ast,l.locales,l.formatters,l.formats,e,void 0,l.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=l.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(l.locales)[0]}},this.getAst=function(){return l.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var c=i||{},d=(c.formatters,To(c,["formatters"]));this.ast=e.__parse(t,Eo(Eo({},d),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(a=e.formats,(s=r)?Object.keys(a).reduce(function(e,t){var n,r;return e[t]=(n=a[t],(r=s[t])?Eo(Eo(Eo({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=Eo(Eo({},n[t]),r[t]||{}),e},{})):n),e},Eo({},a)):a),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:jo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Do([void 0],t,!1)))},{cache:Xa(o.number),strategy:Ho.variadic}),getDateTimeFormat:jo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Do([void 0],t,!1)))},{cache:Xa(o.dateTime),strategy:Ho.variadic}),getPluralRules:jo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Do([void 0],t,!1)))},{cache:Xa(o.pluralRules),strategy:Ho.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=Wa,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(Ka||(Ka={}));var ts=function(e){function t(n,r,i){var o=this,a=i?i instanceof Error?i:new Error(String(i)):void 0;return(o=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return _o(t,e),t}(Error),ns=function(e){function t(t,n){return e.call(this,Ka.UNSUPPORTED_FORMATTER,t,n)||this}return _o(t,e),t}(ts),rs=function(e){function t(t,n){return e.call(this,Ka.INVALID_CONFIG,t,n)||this}return _o(t,e),t}(ts),is=function(e){function t(t,n){return e.call(this,Ka.MISSING_DATA,t,n)||this}return _o(t,e),t}(ts),os=function(e){function t(t,n,r){var i=e.call(this,Ka.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),r)||this;return i.locale=n,i}return _o(t,e),t}(ts),as=function(e){function t(t,n,r,i){var o=e.call(this,"".concat(t,"\nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description,"\n"),n,i)||this;return o.descriptor=r,o.locale=n,o}return _o(t,e),t}(os),ss=function(e){function t(t,n){var r=e.call(this,Ka.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map(function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)}).join(),")"):"id"," as fallback."))||this;return r.descriptor=t,r}return _o(t,e),t}(ts);function ls(e,t,n){return void 0===n&&(n={}),t.reduce(function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t},{})}var cs={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function ds(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function us(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function hs(e,t,n,r){var i,o=e&&e[t];if(o&&(i=o[n]),i)return i;r(new ns("No ".concat(t," format named: ").concat(n)))}function ps(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function fs(e){ps(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var ms=Eo(Eo({},cs),{textComponent:D.Fragment}),gs={key:42},vs=function(e){return D.isValidElement(e)?D.createElement(D.Fragment,gs,e):e};function ys(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(var o=0;o<i;o++){var a=n[o];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}var bs,xs,ws="undefined"==typeof window||window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?D.createContext(null):window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=D.createContext(null)),Cs=ws.Consumer,Ss=ws.Provider,As=ws;function ks(e,t){var n,r=t||{},i=r.intlPropName,o=void 0===i?"intl":i,a=r.forwardRef,s=void 0!==a&&a,l=r.enforceContext,c=void 0===l||l,d=function(t){return D.createElement(Cs,null,function(n){var r;c&&fs(n);var i=((r={})[o]=n,r);return D.createElement(e,Eo({},t,i,{ref:s?t.forwardedRef:null}))})};return d.displayName="injectIntl(".concat((n=e).displayName||n.name||"Component",")"),d.WrappedComponent=e,s?qt()(D.forwardRef(function(e,t){return D.createElement(d,Eo({},e,{forwardedRef:t}))}),e):qt()(d,e)}function _s(){var e=D.useContext(As);return fs(e),e}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(bs||(bs={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(xs||(xs={}));var Es=function(e){var t=_s(),n=e.value,r=e.children,i=To(e,["value","children"]);return r(t.formatNumberToParts(n,i))};Es.displayName="FormattedNumberParts";var Ts=function(e){var t=_s(),n=e.value,r=e.children,i=To(e,["value","children"]);return r(t.formatListToParts(n,i))};function Ds(e){var t=function(t){var n=_s(),r=t.value,i=t.children,o=To(t,["value","children"]),a="string"==typeof r?new Date(r||0):r;return i("formatDate"===e?n.formatDateToParts(a,o):n.formatTimeToParts(a,o))};return t.displayName=xs[e],t}function js(e){var t=function(t){var n=_s(),r=t.value,i=t.children,o=To(t,["value","children"]),a=n[e](r,o);if("function"==typeof i)return i(a);var s=n.textComponent||D.Fragment;return D.createElement(s,null,a)};return t.displayName=bs[e],t}function Rs(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=Eo({timeZone:t},e[r]),n},{})}function Ms(e,t){return Object.keys(Eo(Eo({},e),t)).reduce(function(n,r){return n[r]=Eo(Eo({},e[r]||{}),t[r]||{}),n},{})}function Is(e,t){if(!t)return e;var n=es.formats;return Eo(Eo(Eo({},n),e),{date:Ms(Rs(n.date,t),Rs(e.date||{},t)),time:Ms(Rs(n.time,t),Rs(e.time||{},t))})}Es.displayName="FormattedNumberParts";var Os=function(e,t,n,r,i){var o=e.locale,a=e.formats,s=e.messages,l=e.defaultLocale,c=e.defaultFormats,d=e.fallbackOnEmptyString,u=e.onError,h=e.timeZone,p=e.defaultRichTextElements;void 0===n&&(n={id:""});var f=n.id,m=n.defaultMessage;!function(e,t,n){if(void 0===n&&(n=Error),!e)throw new n("[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue")}(!!f);var g=String(f),v=s&&Object.prototype.hasOwnProperty.call(s,g)&&s[g];if(Array.isArray(v)&&1===v.length&&v[0].type===Po.literal)return v[0].value;if(!r&&v&&"string"==typeof v&&!p)return v.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=Eo(Eo({},p),r||{}),a=Is(a,h),c=Is(c,h),!v){if(!1===d&&""===v)return v;if((!m||o&&o.toLowerCase()!==l.toLowerCase())&&u(new ss(n,o)),m)try{return t.getMessageFormat(m,l,c,i).format(r)}catch(e){return u(new as('Error formatting default message for: "'.concat(g,'", rendering default message verbatim'),o,n,e)),"string"==typeof m?m:g}return g}try{return t.getMessageFormat(v,o,a,Eo({formatters:t},i||{})).format(r)}catch(e){u(new as('Error formatting message: "'.concat(g,'", using ').concat(m?"default message":"id"," as fallback."),o,n,e))}if(m)try{return t.getMessageFormat(m,l,c,i).format(r)}catch(e){u(new as('Error formatting the default message for: "'.concat(g,'", rendering message verbatim'),o,n,e))}return"string"==typeof v?v:"string"==typeof m?m:g},Ls=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function Ps(e,t,n,r){var i=e.locale,o=e.formats,a=e.onError,s=e.timeZone;void 0===r&&(r={});var l=r.format,c=Eo(Eo({},s&&{timeZone:s}),l&&hs(o,t,l,a)),d=ls(r,Ls,c);return"time"!==t||d.hour||d.minute||d.second||d.timeStyle||d.dateStyle||(d=Eo(Eo({},d),{hour:"numeric",minute:"numeric"})),n(i,d)}function Bs(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Ps(e,"date",t,a).format(s)}catch(t){e.onError(new os("Error formatting date.",e.locale,t))}return String(s)}function Ns(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Ps(e,"time",t,a).format(s)}catch(t){e.onError(new os("Error formatting time.",e.locale,t))}return String(s)}function Fs(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=n[2],s=void 0===a?{}:a,l="string"==typeof i?new Date(i||0):i,c="string"==typeof o?new Date(o||0):o;try{return Ps(e,"dateTimeRange",t,s).formatRange(l,c)}catch(t){e.onError(new os("Error formatting date time range.",e.locale,t))}return String(l)}function $s(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Ps(e,"date",t,a).formatToParts(s)}catch(t){e.onError(new os("Error formatting date.",e.locale,t))}return[]}function zs(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=n[0],o=n[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return Ps(e,"time",t,a).formatToParts(s)}catch(t){e.onError(new os("Error formatting time.",e.locale,t))}return[]}var Hs=["style","type","fallback","languageDisplay"];function Us(e,t,n,r){var i=e.locale,o=e.onError;Intl.DisplayNames||o(new Va('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Ba.MISSING_INTL_API));var a=ls(r,Hs);try{return t(i,a).of(n)}catch(e){o(new os("Error formatting display name.",i,e))}}var Ws=["type","style"],Gs=Date.now();function Vs(e,t,n,r){void 0===r&&(r={});var i=qs(e,t,n,r).reduce(function(e,t){var n=t.value;return"string"!=typeof n?e.push(n):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e},[]);return 1===i.length?i[0]:0===i.length?"":i}function qs(e,t,n,r){var i=e.locale,o=e.onError;void 0===r&&(r={}),Intl.ListFormat||o(new Va('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Ba.MISSING_INTL_API));var a=ls(r,Ws);try{var s={},l=n.map(function(e,t){if("object"==typeof e){var n=function(e){return"".concat(Gs,"_").concat(e,"_").concat(Gs)}(t);return s[n]=e,n}return String(e)});return t(i,a).formatToParts(l).map(function(e){return"literal"===e.type?e:Eo(Eo({},e),{value:s[e.value]||e.value})})}catch(e){o(new os("Error formatting list.",i,e))}return n}var Ys=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function Js(e,t,n){var r=e.locale,i=e.formats,o=e.onError;void 0===n&&(n={});var a=n.format,s=a&&hs(i,"number",a,o)||{};return t(r,ls(n,Ys,s))}function Qs(e,t,n,r){void 0===r&&(r={});try{return Js(e,t,r).format(n)}catch(t){e.onError(new os("Error formatting number.",e.locale,t))}return String(n)}function Zs(e,t,n,r){void 0===r&&(r={});try{return Js(e,t,r).formatToParts(n)}catch(t){e.onError(new os("Error formatting number.",e.locale,t))}return[]}var Xs=["type"];function Ks(e,t,n,r){var i=e.locale,o=e.onError;void 0===r&&(r={}),Intl.PluralRules||o(new Va('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ba.MISSING_INTL_API));var a=ls(r,Xs);try{return t(i,a).select(n)}catch(e){o(new os("Error formatting plural.",i,e))}return"other"}var el=["numeric","style"];function tl(e,t,n,r,i){void 0===i&&(i={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new Va('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Ba.MISSING_INTL_API));try{return function(e,t,n){var r=e.locale,i=e.formats,o=e.onError;void 0===n&&(n={});var a=n.format,s=!!a&&hs(i,"relative",a,o)||{};return t(r,ls(n,el,s))}(e,t,i).format(n,r)}catch(t){e.onError(new os("Error formatting relative time.",e.locale,t))}return String(n)}function nl(e,t){var n=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,i=jo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Do([void 0],t,!1)))},{cache:us(e.dateTime),strategy:Ho.variadic}),o=jo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Do([void 0],t,!1)))},{cache:us(e.number),strategy:Ho.variadic}),a=jo(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Do([void 0],t,!1)))},{cache:us(e.pluralRules),strategy:Ho.variadic});return{getDateTimeFormat:i,getNumberFormat:o,getMessageFormat:jo(function(e,t,n,r){return new es(e,t,n,Eo({formatters:{getNumberFormat:o,getDateTimeFormat:i,getPluralRules:a}},r||{}))},{cache:us(e.message),strategy:Ho.variadic}),getRelativeTimeFormat:jo(function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,Do([void 0],e,!1)))},{cache:us(e.relativeTime),strategy:Ho.variadic}),getPluralRules:a,getListFormat:jo(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,Do([void 0],e,!1)))},{cache:us(e.list),strategy:Ho.variadic}),getDisplayNames:jo(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,Do([void 0],e,!1)))},{cache:us(e.displayNames),strategy:Ho.variadic})}}(t),r=Eo(Eo({},cs),e),i=r.locale,o=r.defaultLocale,a=r.onError;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&a?a(new is('Missing locale data for locale: "'.concat(i,'" in Intl.NumberFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&a&&a(new is('Missing locale data for locale: "'.concat(i,'" in Intl.DateTimeFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):(a&&a(new rs('"locale" was not configured, using "'.concat(o,'" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),function(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.github.io/docs/getting-started/message-distribution')}(r),Eo(Eo({},r),{formatters:n,formatNumber:Qs.bind(null,r,n.getNumberFormat),formatNumberToParts:Zs.bind(null,r,n.getNumberFormat),formatRelativeTime:tl.bind(null,r,n.getRelativeTimeFormat),formatDate:Bs.bind(null,r,n.getDateTimeFormat),formatDateToParts:$s.bind(null,r,n.getDateTimeFormat),formatTime:Ns.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:Fs.bind(null,r,n.getDateTimeFormat),formatTimeToParts:zs.bind(null,r,n.getDateTimeFormat),formatPlural:Ks.bind(null,r,n.getPluralRules),formatMessage:Os.bind(null,r,n),$t:Os.bind(null,r,n),formatList:Vs.bind(null,r,n.getListFormat),formatListToParts:qs.bind(null,r,n.getListFormat),formatDisplayName:Us.bind(null,r,n.getDisplayNames)})}function rl(e){return e?Object.keys(e).reduce(function(t,n){var r,i=e[n];return t[n]=Qa(i)?(r=i,function(e){return r(D.Children.toArray(e))}):i,t},{}):e}var il=function(e,t,n,r){for(var i=[],o=4;o<arguments.length;o++)i[o-4]=arguments[o];var a=rl(r),s=Os.apply(void 0,Do([e,t,n,a],i,!1));return Array.isArray(s)?function(e){var t;return null!==(t=D.Children.map(e,vs))&&void 0!==t?t:[]}(s):s},ol=function(e,t){var n=e.defaultRichTextElements,r=To(e,["defaultRichTextElements"]),i=rl(n),o=nl(Eo(Eo(Eo({},ms),r),{defaultRichTextElements:i}),t),a={locale:o.locale,timeZone:o.timeZone,fallbackOnEmptyString:o.fallbackOnEmptyString,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:i};return Eo(Eo({},o),{formatMessage:il.bind(null,a,o.formatters),$t:il.bind(null,a,o.formatters)})},al=function(e){var t=_s(),n=e.from,r=e.to,i=e.children,o=To(e,["from","to","children"]),a=t.formatDateTimeRange(n,r,o);if("function"==typeof i)return i(a);var s=t.textComponent||D.Fragment;return D.createElement(s,null,a)};al.displayName="FormattedDateTimeRange";const sl=al;function ll(e){var t=_s(),n=t.formatMessage,r=t.textComponent,i=void 0===r?D.Fragment:r,o=e.id,a=e.description,s=e.defaultMessage,l=e.values,c=e.children,d=e.tagName,u=void 0===d?i:d,h=n({id:o,description:a,defaultMessage:s},l,{ignoreTag:e.ignoreTag});return"function"==typeof c?c(Array.isArray(h)?h:[h]):u?D.createElement(u,null,h):D.createElement(D.Fragment,null,h)}ll.displayName="FormattedMessage";var cl=D.memo(ll,function(e,t){var n=e.values,r=To(e,["values"]),i=t.values,o=To(t,["values"]);return ys(i,n)&&ys(r,o)});cl.displayName="MemoizedFormattedMessage";const dl=cl;var ul=function(e){var t=_s(),n=t.formatPlural,r=t.textComponent,i=e.value,o=e.other,a=e.children,s=e[n(i,e)]||o;return"function"==typeof a?a(s):r?D.createElement(r,null,s):s};ul.displayName="FormattedPlural";const hl=ul;function pl(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}var fl=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t.state={cache:t.cache,intl:ol(pl(t.props),t.cache),prevConfig:pl(t.props)},t}return _o(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,r=t.cache,i=pl(e);return ys(n,i)?null:{intl:ol(i,r),prevConfig:i}},t.prototype.render=function(){return fs(this.state.intl),D.createElement(Ss,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=ms,t}(D.PureComponent);const ml=fl;var gl=3600;function vl(e){var t=Math.abs(e);return t<60?"second":t<gl?"minute":t<86400?"hour":"day"}function yl(e){switch(e){case"second":return 1;case"minute":return 60;case"hour":return gl;default:return 86400}}var bl=["second","minute","hour"];function xl(e){return void 0===e&&(e="second"),bl.indexOf(e)>-1}var wl=function(e){var t=_s(),n=t.formatRelativeTime,r=t.textComponent,i=e.children,o=n(e.value||0,e.unit,To(e,["children","value","unit"]));return"function"==typeof i?i(o):r?D.createElement(r,null,o):D.createElement(D.Fragment,null,o)},Cl=function(e){var t=e.value,n=void 0===t?0:t,r=e.unit,i=void 0===r?"second":r,o=e.updateIntervalInSeconds,a=To(e,["value","unit","updateIntervalInSeconds"]);ps(!o||!(!o||!xl(i)),"Cannot schedule update with unit longer than hour");var s,l=D.useState(),c=l[0],d=l[1],u=D.useState(0),h=u[0],p=u[1],f=D.useState(0),m=f[0],g=f[1];i===c&&n===h||(p(n||0),d(i),g(xl(i)?function(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return 60*e;default:return e*gl}}(n,i):0)),D.useEffect(function(){function e(){clearTimeout(s)}if(e(),!o||!xl(i))return e;var t=m-o,n=vl(t);if("day"===n)return e;var r=yl(n),a=t-t%r,l=a>=m?a-r:a,c=Math.abs(l-m);return m!==l&&(s=setTimeout(function(){return g(l)},1e3*c)),e},[m,o,i]);var v=n||0,y=i;if(xl(i)&&"number"==typeof m&&o){var b=yl(y=vl(m));v=Math.round(m/b)}return D.createElement(wl,Eo({value:v,unit:y},a))};Cl.displayName="FormattedRelativeTime";const Sl=Cl;function Al(e){return e}function kl(e){return e}var _l=js("formatDate"),El=js("formatTime"),Tl=js("formatNumber"),Dl=js("formatList"),jl=js("formatDisplayName"),Rl=Ds("formatDate"),Ml=Ds("formatTime"),Il=i(809),Ol=i(6007);let Ll=function(e){e()};const Pl=()=>Ll,Bl=Symbol.for("react-redux-context"),Nl="undefined"!=typeof globalThis?globalThis:{};function Fl(){var e;if(!D.createContext)return{};const t=null!=(e=Nl[Bl])?e:Nl[Bl]=new Map;let n=t.get(D.createContext);return n||(n=D.createContext(null),t.set(D.createContext,n)),n}const $l=Fl();function zl(e=$l){return function(){return(0,D.useContext)(e)}}const Hl=zl(),Ul=()=>{throw new Error("uSES not initialized!")};let Wl=Ul;const Gl=(e,t)=>e===t;function Vl(e=$l){const t=e===$l?Hl:zl(e);return function(e,n={}){const{equalityFn:r=Gl,stabilityCheck:i,noopCheck:o}="function"==typeof n?{equalityFn:n}:n,{store:a,subscription:s,getServerState:l,stabilityCheck:c,noopCheck:d}=t(),u=((0,D.useRef)(!0),(0,D.useCallback)({[e.name]:t=>e(t)}[e.name],[e,c,i])),h=Wl(s.addNestedSub,a.getState,l||a.getState,u,r);return(0,D.useDebugValue)(h),h}}const ql=Vl();function Yl(){return Yl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yl.apply(null,arguments)}function Jl(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var Ql=i(4276);const Zl=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Xl(e,t,n,r,{areStatesEqual:i,areOwnPropsEqual:o,areStatePropsEqual:a}){let s,l,c,d,u,h=!1;return function(p,f){return h?function(h,p){const f=!o(p,l),m=!i(h,s,p,l);return s=h,l=p,f&&m?(c=e(s,l),t.dependsOnOwnProps&&(d=t(r,l)),u=n(c,d,l),u):f?(e.dependsOnOwnProps&&(c=e(s,l)),t.dependsOnOwnProps&&(d=t(r,l)),u=n(c,d,l),u):m?function(){const t=e(s,l),r=!a(t,c);return c=t,r&&(u=n(c,d,l)),u}():u}(p,f):(s=p,l=f,c=e(s,l),d=t(r,l),u=n(c,d,l),h=!0,u)}}function Kl(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function ec(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function tc(e,t){return function(t,{displayName:n}){const r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=ec(e);let i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=ec(i),i=r(t,n)),i},r}}function nc(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function rc(e,t,n){return Yl({},n,e,t)}const ic={notify(){},get:()=>[]};function oc(e,t){let n,r=ic,i=0,o=!1;function a(){c.onStateChange&&c.onStateChange()}function s(){i++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){const e=Pl();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let e=t;for(;e;)e.callback(),e=e.next})},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}function l(){i--,n&&0===i&&(n(),n=void 0,r.clear(),r=ic)}const c={addNestedSub:function(e){s();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),l())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,s())},tryUnsubscribe:function(){o&&(o=!1,l())},getListeners:()=>r};return c}const ac="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?D.useLayoutEffect:D.useEffect;function sc(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function lc(e,t){if(sc(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!sc(e[n[r]],t[n[r]]))return!1;return!0}const cc=["reactReduxForwardedRef"];let dc=Ul;const uc=[null,null];function hc(e,t,n,r,i,o){e.current=r,n.current=!1,i.current&&(i.current=null,o())}function pc(e,t){return e===t}const fc=function(e,t,n,{pure:r,areStatesEqual:i=pc,areOwnPropsEqual:o=lc,areStatePropsEqual:a=lc,areMergedPropsEqual:s=lc,forwardRef:l=!1,context:c=$l}={}){const d=c,u=function(e){return e?"function"==typeof e?tc(e):nc(e,"mapStateToProps"):Kl(()=>({}))}(e),h=function(e){return e&&"object"==typeof e?Kl(t=>function(e,t){const n={};for(const r in e){const i=e[r];"function"==typeof i&&(n[r]=(...e)=>t(i(...e)))}return n}(e,t)):e?"function"==typeof e?tc(e):nc(e,"mapDispatchToProps"):Kl(e=>({dispatch:e}))}(t),p=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let i,o=!1;return function(t,n,a){const s=e(t,n,a);return o?r(s,i)||(i=s):(o=!0,i=s),i}}}(e):nc(e,"mergeProps"):()=>rc}(n),f=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",n=`Connect(${t})`,r={shouldHandleStateChanges:f,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:u,initMapDispatchToProps:h,initMergeProps:p,areStatesEqual:i,areStatePropsEqual:a,areOwnPropsEqual:o,areMergedPropsEqual:s};function c(t){const[n,i,o]=D.useMemo(()=>{const{reactReduxForwardedRef:e}=t,n=Jl(t,cc);return[t.context,e,n]},[t]),a=D.useMemo(()=>n&&n.Consumer&&(0,Ql.isContextConsumer)(D.createElement(n.Consumer,null))?n:d,[n,d]),s=D.useContext(a),l=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),c=Boolean(s)&&Boolean(s.store),u=l?t.store:s.store,h=c?s.getServerState:u.getState,p=D.useMemo(()=>function(e,t){let{initMapStateToProps:n,initMapDispatchToProps:r,initMergeProps:i}=t,o=Jl(t,Zl);return Xl(n(e,o),r(e,o),i(e,o),e,o)}(u.dispatch,r),[u]),[m,g]=D.useMemo(()=>{if(!f)return uc;const e=oc(u,l?void 0:s.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[u,l,s]),v=D.useMemo(()=>l?s:Yl({},s,{subscription:m}),[l,s,m]),y=D.useRef(),b=D.useRef(o),x=D.useRef(),w=D.useRef(!1),C=(D.useRef(!1),D.useRef(!1)),S=D.useRef();ac(()=>(C.current=!0,()=>{C.current=!1}),[]);const A=D.useMemo(()=>()=>x.current&&o===b.current?x.current:p(u.getState(),o),[u,o]),k=D.useMemo(()=>e=>m?function(e,t,n,r,i,o,a,s,l,c,d){if(!e)return()=>{};let u=!1,h=null;const p=()=>{if(u||!s.current)return;const e=t.getState();let n,p;try{n=r(e,i.current)}catch(e){p=e,h=e}p||(h=null),n===o.current?a.current||c():(o.current=n,l.current=n,a.current=!0,d())};return n.onStateChange=p,n.trySubscribe(),p(),()=>{if(u=!0,n.tryUnsubscribe(),n.onStateChange=null,h)throw h}}(f,u,m,p,b,y,w,C,x,g,e):()=>{},[m]);var _,E;let T;_=hc,E=[b,y,w,o,x,g],ac(()=>_(...E),undefined);try{T=dc(k,A,h?()=>p(h(),o):A)}catch(e){throw S.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${S.current.stack}\n\n`),e}ac(()=>{S.current=void 0,x.current=void 0,y.current=T});const j=D.useMemo(()=>D.createElement(e,Yl({},T,{ref:i})),[i,e,T]);return D.useMemo(()=>f?D.createElement(a.Provider,{value:v},j):j,[a,j,v])}const m=D.memo(c);if(m.WrappedComponent=e,m.displayName=c.displayName=n,l){const t=D.forwardRef(function(e,t){return D.createElement(m,Yl({},e,{reactReduxForwardedRef:t}))});return t.displayName=n,t.WrappedComponent=e,qt()(t,e)}return qt()(m,e)}},mc=function({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",noopCheck:o="once"}){const a=D.useMemo(()=>{const t=oc(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:i,noopCheck:o}},[e,r,i,o]),s=D.useMemo(()=>e.getState(),[e]);ac(()=>{const{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}},[a,s]);const l=t||$l;return D.createElement(l.Provider,{value:a},n)};function gc(e=$l){const t=e===$l?Hl:zl(e);return function(){const{store:e}=t();return e}}const vc=gc();function yc(e=$l){const t=e===$l?vc:gc(e);return function(){return t().dispatch}}const bc=yc();var xc,wc,Cc;function Sc(){return Sc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sc.apply(this,arguments)}Cc=Ol.useSyncExternalStoreWithSelector,Wl=Cc,(e=>{dc=e})(Il.useSyncExternalStore),xc=Pr.unstable_batchedUpdates,Ll=xc,function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(wc||(wc={}));const Ac="popstate";function kc(e){void 0===e&&(e={});let t,{initialEntries:n=["/"],initialIndex:r,v5Compat:i=!1}=e;t=n.map((e,t)=>d(e,"string"==typeof e?null:e.state,0===t?"default":void 0));let o=l(null==r?t.length-1:r),a=wc.Pop,s=null;function l(e){return Math.min(Math.max(e,0),t.length-1)}function c(){return t[o]}function d(e,n,r){void 0===n&&(n=null);let i=Rc(t?c().pathname:"/",e,n,r);return Dc("/"===i.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),i}function u(e){return"string"==typeof e?e:Mc(e)}let h={get index(){return o},get action(){return a},get location(){return c()},createHref:u,createURL:e=>new URL(u(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?Ic(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,n){a=wc.Push;let r=d(e,n);o+=1,t.splice(o,t.length,r),i&&s&&s({action:a,location:r,delta:1})},replace(e,n){a=wc.Replace;let r=d(e,n);t[o]=r,i&&s&&s({action:a,location:r,delta:0})},go(e){a=wc.Pop;let n=l(o+e),r=t[n];o=n,s&&s({action:a,location:r,delta:e})},listen:e=>(s=e,()=>{s=null})};return h}function _c(e){return void 0===e&&(e={}),Oc(function(e,t){let{pathname:n,search:r,hash:i}=e.location;return Rc("",{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:Mc(t)},null,e)}function Ec(e){return void 0===e&&(e={}),Oc(function(e,t){let{pathname:n="/",search:r="",hash:i=""}=Ic(e.location.hash.substr(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),Rc("",{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:Mc(t))},function(e,t){Dc("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")},e)}function Tc(e,t){if(!1===e||null==e)throw new Error(t)}function Dc(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function jc(e,t){return{usr:e.state,key:e.key,idx:t}}function Rc(e,t,n,r){return void 0===n&&(n=null),Sc({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?Ic(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function Mc(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function Ic(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Oc(e,t,n,r){void 0===r&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,s=wc.Pop,l=null,c=d();function d(){return(a.state||{idx:null}).idx}function u(){s=wc.Pop;let e=d(),t=null==e?null:e-c;c=e,l&&l({action:s,location:p.location,delta:t})}function h(e){let t="null"!==i.location.origin?i.location.origin:i.location.href,n="string"==typeof e?e:Mc(e);return n=n.replace(/ $/,"%20"),Tc(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==c&&(c=0,a.replaceState(Sc({},a.state,{idx:c}),""));let p={get action(){return s},get location(){return e(i,a)},listen(e){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Ac,u),l=e,()=>{i.removeEventListener(Ac,u),l=null}},createHref:e=>t(i,e),createURL:h,encodeLocation(e){let t=h(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s=wc.Push;let r=Rc(p.location,e,t);n&&n(r,e),c=d()+1;let u=jc(r,c),h=p.createHref(r);try{a.pushState(u,"",h)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;i.location.assign(h)}o&&l&&l({action:s,location:p.location,delta:1})},replace:function(e,t){s=wc.Replace;let r=Rc(p.location,e,t);n&&n(r,e),c=d();let i=jc(r,c),u=p.createHref(r);a.replaceState(i,"",u),o&&l&&l({action:s,location:p.location,delta:0})},go:e=>a.go(e)};return p}var Lc;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(Lc||(Lc={}));const Pc=new Set(["lazy","caseSensitive","path","id","index","children"]);function Bc(e,t,n,r){return void 0===n&&(n=[]),void 0===r&&(r={}),e.map((e,i)=>{let o=[...n,String(i)],a="string"==typeof e.id?e.id:o.join("-");if(Tc(!0!==e.index||!e.children,"Cannot specify children on an index route"),Tc(!r[a],'Found a route id collision on id "'+a+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let n=Sc({},e,t(e),{id:a});return r[a]=n,n}{let n=Sc({},e,t(e),{id:a,children:void 0});return r[a]=n,e.children&&(n.children=Bc(e.children,t,o,r)),n}})}function Nc(e,t,n){return void 0===n&&(n="/"),Fc(e,t,n,!1)}function Fc(e,t,n,r){let i=td(("string"==typeof t?Ic(t):t).pathname||"/",n);if(null==i)return null;let o=zc(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n]);return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(o);let a=null;for(let e=0;null==a&&e<o.length;++e){let t=ed(i);a=Zc(o[e],t,r)}return a}function $c(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],handle:n.handle}}function zc(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");let i=(e,i,o)=>{let a={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};a.relativePath.startsWith("/")&&(Tc(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let s=sd([r,a.relativePath]),l=n.concat(a);e.children&&e.children.length>0&&(Tc(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),zc(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:Qc(s,e.index),routesMeta:l})};return e.forEach((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let n of Hc(e.path))i(e,t,n);else i(e,t)}),t}function Hc(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===r.length)return i?[o,""]:[o];let a=Hc(r.join("/")),s=[];return s.push(...a.map(e=>""===e?o:[o,e].join("/"))),i&&s.push(...a),s.map(t=>e.startsWith("/")&&""===t?"/":t)}const Uc=/^:[\w-]+$/,Wc=3,Gc=2,Vc=1,qc=10,Yc=-2,Jc=e=>"*"===e;function Qc(e,t){let n=e.split("/"),r=n.length;return n.some(Jc)&&(r+=Yc),t&&(r+=Gc),n.filter(e=>!Jc(e)).reduce((e,t)=>e+(Uc.test(t)?Wc:""===t?Vc:qc),r)}function Zc(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,i={},o="/",a=[];for(let e=0;e<r.length;++e){let s=r[e],l=e===r.length-1,c="/"===o?t:t.slice(o.length)||"/",d=Kc({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},c),u=s.route;if(!d&&l&&n&&!r[r.length-1].route.index&&(d=Kc({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},c)),!d)return null;Object.assign(i,d.params),a.push({params:i,pathname:sd([o,d.pathname]),pathnameBase:ld(sd([o,d.pathnameBase])),route:u}),"/"!==d.pathnameBase&&(o=sd([o,d.pathnameBase]))}return a}function Xc(e,t){void 0===t&&(t={});let n=e;n.endsWith("*")&&"*"!==n&&!n.endsWith("/*")&&(Dc(!1,'Route path "'+n+'" will be treated as if it were "'+n.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+n.replace(/\*$/,"/*")+'".'),n=n.replace(/\*$/,"/*"));const r=n.startsWith("/")?"/":"",i=e=>null==e?"":"string"==typeof e?e:String(e),o=n.split(/\/+/).map((e,n,r)=>{if(n===r.length-1&&"*"===e)return i(t["*"]);const o=e.match(/^:([\w-]+)(\??)$/);if(o){const[,e,n]=o;let r=t[e];return Tc("?"===n||null!=r,'Missing ":'+e+'" param'),i(r)}return e.replace(/\?$/g,"")}).filter(e=>!!e);return r+o.join("/")}function Kc(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),Dc("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],a=o.replace(/(.)\/+$/,"$1"),s=i.slice(1),l=r.reduce((e,t,n)=>{let{paramName:r,isOptional:i}=t;if("*"===r){let e=s[n]||"";a=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[n];return e[r]=i&&!l?void 0:(l||"").replace(/%2F/g,"/"),e},{});return{params:l,pathname:o,pathnameBase:a,pattern:e}}function ed(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return Dc(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function td(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function nd(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:i=""}="string"==typeof e?Ic(e):e,o=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:o,search:cd(r),hash:dd(i)}}function rd(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function id(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function od(e,t){let n=id(e);return t?n.map((e,t)=>t===n.length-1?e.pathname:e.pathnameBase):n.map(e=>e.pathnameBase)}function ad(e,t,n,r){let i;void 0===r&&(r=!1),"string"==typeof e?i=Ic(e):(i=Sc({},e),Tc(!i.pathname||!i.pathname.includes("?"),rd("?","pathname","search",i)),Tc(!i.pathname||!i.pathname.includes("#"),rd("#","pathname","hash",i)),Tc(!i.search||!i.search.includes("#"),rd("#","search","hash",i)));let o,a=""===e||""===i.pathname,s=a?"/":i.pathname;if(null==s)o=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}o=e>=0?t[e]:"/"}let l=nd(i,o),c=s&&"/"!==s&&s.endsWith("/"),d=(a||"."===s)&&n.endsWith("/");return l.pathname.endsWith("/")||!c&&!d||(l.pathname+="/"),l}const sd=e=>e.join("/").replace(/\/\/+/g,"/"),ld=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),cd=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",dd=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",ud=function(e,t){void 0===t&&(t={});let n="number"==typeof t?{status:t}:t,r=new Headers(n.headers);return r.has("Content-Type")||r.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(e),Sc({},n,{headers:r}))};class hd extends Error{}class pd{constructor(e,t){let n;this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Tc(e&&"object"==typeof e&&!Array.isArray(e),"defer() only accepts plain objects"),this.abortPromise=new Promise((e,t)=>n=t),this.controller=new AbortController;let r=()=>n(new hd("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",r),this.controller.signal.addEventListener("abort",r),this.data=Object.entries(e).reduce((e,t)=>{let[n,r]=t;return Object.assign(e,{[n]:this.trackPromise(n,r)})},{}),this.done&&this.unlistenAbortSignal(),this.init=t}trackPromise(e,t){if(!(t instanceof Promise))return t;this.deferredKeys.push(e),this.pendingKeysSet.add(e);let n=Promise.race([t,this.abortPromise]).then(t=>this.onSettle(n,e,void 0,t),t=>this.onSettle(n,e,t));return n.catch(()=>{}),Object.defineProperty(n,"_tracked",{get:()=>!0}),n}onSettle(e,t,n,r){if(this.controller.signal.aborted&&n instanceof hd)return this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:()=>n}),Promise.reject(n);if(this.pendingKeysSet.delete(t),this.done&&this.unlistenAbortSignal(),void 0===n&&void 0===r){let n=new Error('Deferred data for key "'+t+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(e,"_error",{get:()=>n}),this.emit(!1,t),Promise.reject(n)}return void 0===r?(Object.defineProperty(e,"_error",{get:()=>n}),this.emit(!1,t),Promise.reject(n)):(Object.defineProperty(e,"_data",{get:()=>r}),this.emit(!1,t),r)}emit(e,t){this.subscribers.forEach(n=>n(e,t))}subscribe(e){return this.subscribers.add(e),()=>this.subscribers.delete(e)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((e,t)=>this.pendingKeysSet.delete(t)),this.emit(!0)}async resolveData(e){let t=!1;if(!this.done){let n=()=>this.cancel();e.addEventListener("abort",n),t=await new Promise(t=>{this.subscribe(r=>{e.removeEventListener("abort",n),(r||this.done)&&t(r)})})}return t}get done(){return 0===this.pendingKeysSet.size}get unwrappedData(){return Tc(null!==this.data&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((e,t)=>{let[n,r]=t;return Object.assign(e,{[n]:fd(r)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function fd(e){if(!function(e){return e instanceof Promise&&!0===e._tracked}(e))return e;if(e._error)throw e._error;return e._data}const md=function(e,t){return void 0===t&&(t={}),new pd(e,"number"==typeof t?{status:t}:t)},gd=function(e,t){void 0===t&&(t=302);let n=t;"number"==typeof n?n={status:n}:void 0===n.status&&(n.status=302);let r=new Headers(n.headers);return r.set("Location",e),new Response(null,Sc({},n,{headers:r}))},vd=(e,t)=>{let n=gd(e,t);return n.headers.set("X-Remix-Reload-Document","true"),n},yd=(e,t)=>{let n=gd(e,t);return n.headers.set("X-Remix-Replace","true"),n};class bd{constructor(e,t,n,r){void 0===r&&(r=!1),this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function xd(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const wd=["post","put","patch","delete"],Cd=new Set(wd),Sd=["get",...wd],Ad=new Set(Sd),kd=new Set([301,302,303,307,308]),_d=new Set([307,308]),Ed={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Td={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Dd={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},jd=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Rd=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),Md="remix-router-transitions";function Id(e){const t=e.window?e.window:"undefined"!=typeof window?window:void 0,n=void 0!==t&&void 0!==t.document&&void 0!==t.document.createElement,r=!n;let i;if(Tc(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let t=e.detectErrorBoundary;i=e=>({hasErrorBoundary:t(e)})}else i=Rd;let o,a,s,l={},c=Bc(e.routes,i,void 0,l),d=e.basename||"/",u=e.dataStrategy||Ud,h=e.patchRoutesOnNavigation,p=Sc({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),f=null,m=new Set,g=null,v=null,y=null,b=null!=e.hydrationData,x=Nc(c,e.history.location,d),w=!1,C=null;if(null==x&&!h){let t=tu(404,{pathname:e.history.location.pathname}),{matches:n,route:r}=eu(c);x=n,C={[r.id]:t}}if(x&&!e.hydrationData&&fe(x,c,e.history.location.pathname).active&&(x=null),x)if(x.some(e=>e.route.lazy))a=!1;else if(x.some(e=>e.route.loader))if(p.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,n=e.hydrationData?e.hydrationData.errors:null;if(n){let e=x.findIndex(e=>void 0!==n[e.route.id]);a=x.slice(0,e+1).every(e=>!Nd(e.route,t,n))}else a=x.every(e=>!Nd(e.route,t,n))}else a=null!=e.hydrationData;else a=!0;else if(a=!1,x=[],p.v7_partialHydration){let t=fe(null,c,e.history.location.pathname);t.active&&t.matches&&(w=!0,x=t.matches)}let S,A,k={historyAction:e.history.action,location:e.history.location,matches:x,initialized:a,navigation:Ed,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||C,fetchers:new Map,blockers:new Map},_=wc.Pop,E=!1,T=!1,D=new Map,j=null,R=!1,M=!1,I=[],O=new Set,L=new Map,P=0,B=-1,N=new Map,F=new Set,$=new Map,z=new Map,H=new Set,U=new Map,W=new Map;function G(e,t){void 0===t&&(t={}),k=Sc({},k,e);let n=[],r=[];p.v7_fetcherPersist&&k.fetchers.forEach((e,t)=>{"idle"===e.state&&(H.has(t)?r.push(t):n.push(t))}),H.forEach(e=>{k.fetchers.has(e)||L.has(e)||r.push(e)}),[...m].forEach(e=>e(k,{deletedFetchers:r,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync})),p.v7_fetcherPersist?(n.forEach(e=>k.fetchers.delete(e)),r.forEach(e=>ne(e))):r.forEach(e=>H.delete(e))}function V(t,n,r){var i,a;let s,{flushSync:l}=void 0===r?{}:r,d=null!=k.actionData&&null!=k.navigation.formMethod&&du(k.navigation.formMethod)&&"loading"===k.navigation.state&&!0!==(null==(i=t.state)?void 0:i._isRedirect);s=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:d?k.actionData:null;let u=n.loaderData?Zd(k.loaderData,n.loaderData,n.matches||[],n.errors):k.loaderData,h=k.blockers;h.size>0&&(h=new Map(h),h.forEach((e,t)=>h.set(t,Dd)));let p,f=!0===E||null!=k.navigation.formMethod&&du(k.navigation.formMethod)&&!0!==(null==(a=t.state)?void 0:a._isRedirect);if(o&&(c=o,o=void 0),R||_===wc.Pop||(_===wc.Push?e.history.push(t,t.state):_===wc.Replace&&e.history.replace(t,t.state)),_===wc.Pop){let e=D.get(k.location.pathname);e&&e.has(t.pathname)?p={currentLocation:k.location,nextLocation:t}:D.has(t.pathname)&&(p={currentLocation:t,nextLocation:k.location})}else if(T){let e=D.get(k.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),D.set(k.location.pathname,e)),p={currentLocation:k.location,nextLocation:t}}G(Sc({},n,{actionData:s,loaderData:u,historyAction:_,location:t,initialized:!0,navigation:Ed,revalidation:"idle",restoreScrollPosition:pe(t,n.matches||k.matches),preventScrollReset:f,blockers:h}),{viewTransitionOpts:p,flushSync:!0===l}),_=wc.Pop,E=!1,T=!1,R=!1,M=!1,I=[]}async function q(t,n,r){S&&S.abort(),S=null,_=t,R=!0===(r&&r.startUninterruptedRevalidation),function(e,t){if(g&&y){let n=he(e,t);g[n]=y()}}(k.location,k.matches),E=!0===(r&&r.preventScrollReset),T=!0===(r&&r.enableViewTransition);let i=o||c,a=r&&r.overrideNavigation,s=null!=r&&r.initialHydration&&k.matches&&k.matches.length>0&&!w?k.matches:Nc(i,n,d),l=!0===(r&&r.flushSync);if(s&&k.initialized&&!M&&function(e,t){return e.pathname===t.pathname&&e.search===t.search&&(""===e.hash?""!==t.hash:e.hash===t.hash||""!==t.hash)}(k.location,n)&&!(r&&r.submission&&du(r.submission.formMethod)))return void V(n,{matches:s},{flushSync:l});let u=fe(s,i,n.pathname);if(u.active&&u.matches&&(s=u.matches),!s){let{error:e,notFoundMatches:t,route:r}=de(n.pathname);return void V(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:l})}S=new AbortController;let h,f=qd(e.history,n,S.signal,r&&r.submission);if(r&&r.pendingError)h=[Kd(s).route.id,{type:Lc.error,error:r.pendingError}];else if(r&&r.submission&&du(r.submission.formMethod)){let t=await async function(e,t,n,r,i,o){void 0===o&&(o={}),X();let a,s=function(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}(t,n);if(G({navigation:s},{flushSync:!0===o.flushSync}),i){let n=await me(r,t.pathname,e.signal);if("aborted"===n.type)return{shortCircuited:!0};if("error"===n.type){let e=Kd(n.partialMatches).route.id;return{matches:n.partialMatches,pendingActionResult:[e,{type:Lc.error,error:n.error}]}}if(!n.matches){let{notFoundMatches:e,error:n,route:r}=de(t.pathname);return{matches:e,pendingActionResult:[r.id,{type:Lc.error,error:n}]}}r=n.matches}let l=mu(r,t);if(l.route.action||l.route.lazy){if(a=(await Q("action",k,e,[l],r,null))[l.route.id],e.signal.aborted)return{shortCircuited:!0}}else a={type:Lc.error,error:tu(405,{method:e.method,pathname:t.pathname,routeId:l.route.id})};if(su(a)){let t;return t=o&&null!=o.replace?o.replace:Vd(a.response.headers.get("Location"),new URL(e.url),d)===k.location.pathname+k.location.search,await J(e,a,!0,{submission:n,replace:t}),{shortCircuited:!0}}if(ou(a))throw tu(400,{type:"defer-action"});if(au(a)){let e=Kd(r,l.route.id);return!0!==(o&&o.replace)&&(_=wc.Push),{matches:r,pendingActionResult:[e.route.id,a]}}return{matches:r,pendingActionResult:[l.route.id,a]}}(f,n,r.submission,s,u.active,{replace:r.replace,flushSync:l});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,r]=t.pendingActionResult;if(au(r)&&xd(r.error)&&404===r.error.status)return S=null,void V(n,{matches:t.matches,loaderData:{},errors:{[e]:r.error}})}s=t.matches||s,h=t.pendingActionResult,a=vu(n,r.submission),l=!1,u.active=!1,f=qd(e.history,f.url,f.signal)}let{shortCircuited:m,matches:v,loaderData:b,errors:x}=await async function(t,n,r,i,a,s,l,u,h,f,m){let g=a||vu(n,s),v=s||l||gu(g),y=!(R||p.v7_partialHydration&&h);if(i){if(y){let e=Y(m);G(Sc({navigation:g},void 0!==e?{actionData:e}:{}),{flushSync:f})}let e=await me(r,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=Kd(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(!e.matches){let{error:e,notFoundMatches:t,route:r}=de(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}r=e.matches}let b=o||c,[x,w]=Bd(e.history,k,r,v,n,p.v7_partialHydration&&!0===h,p.v7_skipActionErrorRevalidation,M,I,O,H,$,F,b,d,m);if(ue(e=>!(r&&r.some(t=>t.route.id===e))||x&&x.some(t=>t.route.id===e)),B=++P,0===x.length&&0===w.length){let e=oe();return V(n,Sc({matches:r,loaderData:{},errors:m&&au(m[1])?{[m[0]]:m[1].error}:null},Xd(m),e?{fetchers:new Map(k.fetchers)}:{}),{flushSync:f}),{shortCircuited:!0}}if(y){let e={};if(!i){e.navigation=g;let t=Y(m);void 0!==t&&(e.actionData=t)}w.length>0&&(e.fetchers=function(e){return e.forEach(e=>{let t=k.fetchers.get(e.key),n=yu(void 0,t?t.data:void 0);k.fetchers.set(e.key,n)}),new Map(k.fetchers)}(w)),G(e,{flushSync:f})}w.forEach(e=>{re(e.key),e.controller&&L.set(e.key,e.controller)});let C=()=>w.forEach(e=>re(e.key));S&&S.signal.addEventListener("abort",C);let{loaderResults:A,fetcherResults:_}=await Z(k,r,x,w,t);if(t.signal.aborted)return{shortCircuited:!0};S&&S.signal.removeEventListener("abort",C),w.forEach(e=>L.delete(e.key));let E=nu(A);if(E)return await J(t,E.result,!0,{replace:u}),{shortCircuited:!0};if(E=nu(_),E)return F.add(E.key),await J(t,E.result,!0,{replace:u}),{shortCircuited:!0};let{loaderData:T,errors:D}=Qd(k,r,A,m,w,_,U);U.forEach((e,t)=>{e.subscribe(n=>{(n||e.done)&&U.delete(t)})}),p.v7_partialHydration&&h&&k.errors&&(D=Sc({},k.errors,D));let j=oe(),N=ae(B),z=j||N||w.length>0;return Sc({matches:r,loaderData:T,errors:D},z?{fetchers:new Map(k.fetchers)}:{})}(f,n,s,u.active,a,r&&r.submission,r&&r.fetcherSubmission,r&&r.replace,r&&!0===r.initialHydration,l,h);m||(S=null,V(n,Sc({matches:v||s},Xd(h),{loaderData:b,errors:x})))}function Y(e){return e&&!au(e[1])?{[e[0]]:e[1].data}:k.actionData?0===Object.keys(k.actionData).length?null:k.actionData:void 0}async function J(r,i,o,a){let{submission:s,fetcherSubmission:l,preventScrollReset:c,replace:u}=void 0===a?{}:a;i.response.headers.has("X-Remix-Revalidate")&&(M=!0);let h=i.response.headers.get("Location");Tc(h,"Expected a Location header on the redirect Response"),h=Vd(h,new URL(r.url),d);let p=Rc(k.location,h,{_isRedirect:!0});if(n){let n=!1;if(i.response.headers.has("X-Remix-Reload-Document"))n=!0;else if(jd.test(h)){const r=e.history.createURL(h);n=r.origin!==t.location.origin||null==td(r.pathname,d)}if(n)return void(u?t.location.replace(h):t.location.assign(h))}S=null;let f=!0===u||i.response.headers.has("X-Remix-Replace")?wc.Replace:wc.Push,{formMethod:m,formAction:g,formEncType:v}=k.navigation;!s&&!l&&m&&g&&v&&(s=gu(k.navigation));let y=s||l;if(_d.has(i.response.status)&&y&&du(y.formMethod))await q(f,p,{submission:Sc({},y,{formAction:h}),preventScrollReset:c||E,enableViewTransition:o?T:void 0});else{let e=vu(p,s);await q(f,p,{overrideNavigation:e,fetcherSubmission:l,preventScrollReset:c||E,enableViewTransition:o?T:void 0})}}async function Q(e,t,n,r,o,a){let s,c={};try{s=await async function(e,t,n,r,i,o,a,s,l,c){let d=o.map(e=>e.route.lazy?async function(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];Tc(i,"No route found in manifest");let o={};for(let e in r){let t=void 0!==i[e]&&"hasErrorBoundary"!==e;Dc(!t,'Route "'+i.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||Pc.has(e)||(o[e]=r[e])}Object.assign(i,o),Object.assign(i,Sc({},t(i),{lazy:void 0}))}(e.route,l,s):void 0),u=o.map((e,n)=>{let o=d[n],a=i.some(t=>t.route.id===e.route.id);return Sc({},e,{shouldLoad:a,resolve:async n=>(n&&"GET"===r.method&&(e.route.lazy||e.route.loader)&&(a=!0),a?async function(e,t,n,r,i,o){let a,s,l=r=>{let a,l=new Promise((e,t)=>a=t);s=()=>a(),t.signal.addEventListener("abort",s);let c=i=>"function"!=typeof r?Promise.reject(new Error('You cannot call the handler for a route which defines a boolean "'+e+'" [routeId: '+n.route.id+"]")):r({request:t,params:n.params,context:o},...void 0!==i?[i]:[]),d=(async()=>{try{return{type:"data",result:await(i?i(e=>c(e)):c())}}catch(e){return{type:"error",result:e}}})();return Promise.race([d,l])};try{let i=n.route[e];if(r)if(i){let e,[t]=await Promise.all([l(i).catch(t=>{e=t}),r]);if(void 0!==e)throw e;a=t}else{if(await r,i=n.route[e],!i){if("action"===e){let e=new URL(t.url),r=e.pathname+e.search;throw tu(405,{method:t.method,pathname:r,routeId:n.route.id})}return{type:Lc.data,result:void 0}}a=await l(i)}else{if(!i){let e=new URL(t.url);throw tu(404,{pathname:e.pathname+e.search})}a=await l(i)}Tc(void 0!==a.result,"You defined "+("action"===e?"an action":"a loader")+' for route "'+n.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){return{type:Lc.error,result:e}}finally{s&&t.signal.removeEventListener("abort",s)}return a}(t,r,e,o,n,c):Promise.resolve({type:Lc.data,result:void 0}))})}),h=await e({matches:u,request:r,params:o[0].params,fetcherKey:a,context:c});try{await Promise.all(d)}catch(e){}return h}(u,e,0,n,r,o,a,l,i)}catch(e){return r.forEach(t=>{c[t.route.id]={type:Lc.error,error:e}}),c}for(let[e,t]of Object.entries(s))if(iu(t)){let r=t.result;c[e]={type:Lc.redirect,response:Gd(r,n,e,o,d,p.v7_relativeSplatPath)}}else c[e]=await Wd(t);return c}async function Z(t,n,r,i,o){let a=t.matches,s=Q("loader",0,o,r,n,null),l=Promise.all(i.map(async t=>{if(t.matches&&t.match&&t.controller){let n=(await Q("loader",0,qd(e.history,t.path,t.controller.signal),[t.match],t.matches,t.key))[t.match.route.id];return{[t.key]:n}}return Promise.resolve({[t.key]:{type:Lc.error,error:tu(404,{pathname:t.path})}})})),c=await s,d=(await l).reduce((e,t)=>Object.assign(e,t),{});return await Promise.all([uu(n,c,o.signal,a,t.loaderData),hu(n,d,i)]),{loaderResults:c,fetcherResults:d}}function X(){M=!0,I.push(...ue()),$.forEach((e,t)=>{L.has(t)&&O.add(t),re(t)})}function K(e,t,n){void 0===n&&(n={}),k.fetchers.set(e,t),G({fetchers:new Map(k.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function ee(e,t,n,r){void 0===r&&(r={});let i=Kd(k.matches,t);ne(e),G({errors:{[i.route.id]:n},fetchers:new Map(k.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function te(e){return z.set(e,(z.get(e)||0)+1),H.has(e)&&H.delete(e),k.fetchers.get(e)||Td}function ne(e){let t=k.fetchers.get(e);!L.has(e)||t&&"loading"===t.state&&N.has(e)||re(e),$.delete(e),N.delete(e),F.delete(e),p.v7_fetcherPersist&&H.delete(e),O.delete(e),k.fetchers.delete(e)}function re(e){let t=L.get(e);t&&(t.abort(),L.delete(e))}function ie(e){for(let t of e){let e=bu(te(t).data);k.fetchers.set(t,e)}}function oe(){let e=[],t=!1;for(let n of F){let r=k.fetchers.get(n);Tc(r,"Expected fetcher: "+n),"loading"===r.state&&(F.delete(n),e.push(n),t=!0)}return ie(e),t}function ae(e){let t=[];for(let[n,r]of N)if(r<e){let e=k.fetchers.get(n);Tc(e,"Expected fetcher: "+n),"loading"===e.state&&(re(n),N.delete(n),t.push(n))}return ie(t),t.length>0}function se(e){k.blockers.delete(e),W.delete(e)}function le(e,t){let n=k.blockers.get(e)||Dd;Tc("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,"Invalid blocker state transition: "+n.state+" -> "+t.state);let r=new Map(k.blockers);r.set(e,t),G({blockers:r})}function ce(e){let{currentLocation:t,nextLocation:n,historyAction:r}=e;if(0===W.size)return;W.size>1&&Dc(!1,"A router only supports one blocker at a time");let i=Array.from(W.entries()),[o,a]=i[i.length-1],s=k.blockers.get(o);return s&&"proceeding"===s.state?void 0:a({currentLocation:t,nextLocation:n,historyAction:r})?o:void 0}function de(e){let t=tu(404,{pathname:e}),n=o||c,{matches:r,route:i}=eu(n);return ue(),{notFoundMatches:r,route:i,error:t}}function ue(e){let t=[];return U.forEach((n,r)=>{e&&!e(r)||(n.cancel(),t.push(r),U.delete(r))}),t}function he(e,t){if(v){let n=v(e,t.map(e=>$c(e,k.loaderData)));return n||e.key}return e.key}function pe(e,t){if(g){let n=he(e,t),r=g[n];if("number"==typeof r)return r}return null}function fe(e,t,n){if(h){if(!e)return{active:!0,matches:Fc(t,n,d,!0)||[]};if(Object.keys(e[0].params).length>0)return{active:!0,matches:Fc(t,n,d,!0)}}return{active:!1,matches:null}}async function me(e,t,n,r){if(!h)return{type:"success",matches:e};let a=e;for(;;){let e=null==o,s=o||c,u=l;try{await h({signal:n,path:t,matches:a,fetcherKey:r,patch:(e,t)=>{n.aborted||zd(e,t,s,u,i)}})}catch(e){return{type:"error",error:e,partialMatches:a}}finally{e&&!n.aborted&&(c=[...c])}if(n.aborted)return{type:"aborted"};let p=Nc(s,t,d);if(p)return{type:"success",matches:p};let f=Fc(s,t,d,!0);if(!f||a.length===f.length&&a.every((e,t)=>e.route.id===f[t].route.id))return{type:"success",matches:null};a=f}}return s={get basename(){return d},get future(){return p},get state(){return k},get routes(){return c},get window(){return t},initialize:function(){if(f=e.history.listen(t=>{let{action:n,location:r,delta:i}=t;if(A)return A(),void(A=void 0);Dc(0===W.size||null!=i,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let o=ce({currentLocation:k.location,nextLocation:r,historyAction:n});if(o&&null!=i){let t=new Promise(e=>{A=e});return e.history.go(-1*i),void le(o,{state:"blocked",location:r,proceed(){le(o,{state:"proceeding",proceed:void 0,reset:void 0,location:r}),t.then(()=>e.history.go(i))},reset(){let e=new Map(k.blockers);e.set(o,Dd),G({blockers:e})}})}return q(n,r)}),n){!function(e,t){try{let n=e.sessionStorage.getItem(Md);if(n){let e=JSON.parse(n);for(let[n,r]of Object.entries(e||{}))r&&Array.isArray(r)&&t.set(n,new Set(r||[]))}}catch(e){}}(t,D);let e=()=>function(e,t){if(t.size>0){let n={};for(let[e,r]of t)n[e]=[...r];try{e.sessionStorage.setItem(Md,JSON.stringify(n))}catch(e){Dc(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}}(t,D);t.addEventListener("pagehide",e),j=()=>t.removeEventListener("pagehide",e)}return k.initialized||q(wc.Pop,k.location,{initialHydration:!0}),s},subscribe:function(e){return m.add(e),()=>m.delete(e)},enableScrollRestoration:function(e,t,n){if(g=e,y=t,v=n||null,!b&&k.navigation===Ed){b=!0;let e=pe(k.location,k.matches);null!=e&&G({restoreScrollPosition:e})}return()=>{g=null,y=null,v=null}},navigate:async function t(n,r){if("number"==typeof n)return void e.history.go(n);let i=Od(k.location,k.matches,d,p.v7_prependBasename,n,p.v7_relativeSplatPath,null==r?void 0:r.fromRouteId,null==r?void 0:r.relative),{path:o,submission:a,error:s}=Ld(p.v7_normalizeFormMethod,!1,i,r),l=k.location,c=Rc(k.location,o,r&&r.state);c=Sc({},c,e.history.encodeLocation(c));let u=r&&null!=r.replace?r.replace:void 0,h=wc.Push;!0===u?h=wc.Replace:!1===u||null!=a&&du(a.formMethod)&&a.formAction===k.location.pathname+k.location.search&&(h=wc.Replace);let f=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,m=!0===(r&&r.flushSync),g=ce({currentLocation:l,nextLocation:c,historyAction:h});if(!g)return await q(h,c,{submission:a,pendingError:s,preventScrollReset:f,replace:r&&r.replace,enableViewTransition:r&&r.viewTransition,flushSync:m});le(g,{state:"blocked",location:c,proceed(){le(g,{state:"proceeding",proceed:void 0,reset:void 0,location:c}),t(n,r)},reset(){let e=new Map(k.blockers);e.set(g,Dd),G({blockers:e})}})},fetch:function(t,n,i,a){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");re(t);let s=!0===(a&&a.flushSync),l=o||c,u=Od(k.location,k.matches,d,p.v7_prependBasename,i,p.v7_relativeSplatPath,n,null==a?void 0:a.relative),h=Nc(l,u,d),f=fe(h,l,u);if(f.active&&f.matches&&(h=f.matches),!h)return void ee(t,n,tu(404,{pathname:u}),{flushSync:s});let{path:m,submission:g,error:v}=Ld(p.v7_normalizeFormMethod,!0,u,a);if(v)return void ee(t,n,v,{flushSync:s});let y=mu(h,m),b=!0===(a&&a.preventScrollReset);g&&du(g.formMethod)?async function(t,n,r,i,a,s,l,u,h){function f(e){if(!e.route.action&&!e.route.lazy){let e=tu(405,{method:h.formMethod,pathname:r,routeId:n});return ee(t,n,e,{flushSync:l}),!0}return!1}if(X(),$.delete(t),!s&&f(i))return;let m=k.fetchers.get(t);K(t,function(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}(h,m),{flushSync:l});let g=new AbortController,v=qd(e.history,r,g.signal,h);if(s){let e=await me(a,new URL(v.url).pathname,v.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void ee(t,n,e.error,{flushSync:l});if(!e.matches)return void ee(t,n,tu(404,{pathname:r}),{flushSync:l});if(f(i=mu(a=e.matches,r)))return}L.set(t,g);let y=P,b=(await Q("action",0,v,[i],a,t))[i.route.id];if(v.signal.aborted)return void(L.get(t)===g&&L.delete(t));if(p.v7_fetcherPersist&&H.has(t)){if(su(b)||au(b))return void K(t,bu(void 0))}else{if(su(b))return L.delete(t),B>y?void K(t,bu(void 0)):(F.add(t),K(t,yu(h)),J(v,b,!1,{fetcherSubmission:h,preventScrollReset:u}));if(au(b))return void ee(t,n,b.error)}if(ou(b))throw tu(400,{type:"defer-action"});let x=k.navigation.location||k.location,w=qd(e.history,x,g.signal),C=o||c,A="idle"!==k.navigation.state?Nc(C,k.navigation.location,d):k.matches;Tc(A,"Didn't find any matches after fetcher action");let E=++P;N.set(t,E);let T=yu(h,b.data);k.fetchers.set(t,T);let[D,j]=Bd(e.history,k,A,h,x,!1,p.v7_skipActionErrorRevalidation,M,I,O,H,$,F,C,d,[i.route.id,b]);j.filter(e=>e.key!==t).forEach(e=>{let t=e.key,n=k.fetchers.get(t),r=yu(void 0,n?n.data:void 0);k.fetchers.set(t,r),re(t),e.controller&&L.set(t,e.controller)}),G({fetchers:new Map(k.fetchers)});let R=()=>j.forEach(e=>re(e.key));g.signal.addEventListener("abort",R);let{loaderResults:z,fetcherResults:W}=await Z(k,A,D,j,w);if(g.signal.aborted)return;g.signal.removeEventListener("abort",R),N.delete(t),L.delete(t),j.forEach(e=>L.delete(e.key));let q=nu(z);if(q)return J(w,q.result,!1,{preventScrollReset:u});if(q=nu(W),q)return F.add(q.key),J(w,q.result,!1,{preventScrollReset:u});let{loaderData:Y,errors:te}=Qd(k,A,z,void 0,j,W,U);if(k.fetchers.has(t)){let e=bu(b.data);k.fetchers.set(t,e)}ae(E),"loading"===k.navigation.state&&E>B?(Tc(_,"Expected pending action"),S&&S.abort(),V(k.navigation.location,{matches:A,loaderData:Y,errors:te,fetchers:new Map(k.fetchers)})):(G({errors:te,loaderData:Zd(k.loaderData,Y,A,te),fetchers:new Map(k.fetchers)}),M=!1)}(t,n,m,y,h,f.active,s,b,g):($.set(t,{routeId:n,path:m}),async function(t,n,r,i,o,a,s,l,c){let d=k.fetchers.get(t);K(t,yu(c,d?d.data:void 0),{flushSync:s});let u=new AbortController,h=qd(e.history,r,u.signal);if(a){let e=await me(o,new URL(h.url).pathname,h.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void ee(t,n,e.error,{flushSync:s});if(!e.matches)return void ee(t,n,tu(404,{pathname:r}),{flushSync:s});i=mu(o=e.matches,r)}L.set(t,u);let p=P,f=(await Q("loader",0,h,[i],o,t))[i.route.id];if(ou(f)&&(f=await pu(f,h.signal,!0)||f),L.get(t)===u&&L.delete(t),!h.signal.aborted){if(!H.has(t))return su(f)?B>p?void K(t,bu(void 0)):(F.add(t),void await J(h,f,!1,{preventScrollReset:l})):void(au(f)?ee(t,n,f.error):(Tc(!ou(f),"Unhandled fetcher deferred data"),K(t,bu(f.data))));K(t,bu(void 0))}}(t,n,m,y,h,f.active,s,b,g))},revalidate:function(){X(),G({revalidation:"loading"}),"submitting"!==k.navigation.state&&("idle"!==k.navigation.state?q(_||k.historyAction,k.navigation.location,{overrideNavigation:k.navigation,enableViewTransition:!0===T}):q(k.historyAction,k.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:te,deleteFetcher:function(e){let t=(z.get(e)||0)-1;t<=0?(z.delete(e),H.add(e),p.v7_fetcherPersist||ne(e)):z.set(e,t),G({fetchers:new Map(k.fetchers)})},dispose:function(){f&&f(),j&&j(),m.clear(),S&&S.abort(),k.fetchers.forEach((e,t)=>ne(t)),k.blockers.forEach((e,t)=>se(t))},getBlocker:function(e,t){let n=k.blockers.get(e)||Dd;return W.get(e)!==t&&W.set(e,t),n},deleteBlocker:se,patchRoutes:function(e,t){let n=null==o;zd(e,t,o||c,l,i),n&&(c=[...c],G({}))},_internalFetchControllers:L,_internalActiveDeferreds:U,_internalSetRoutes:function(e){l={},o=Bc(e,i,void 0,l)}},s}function Od(e,t,n,r,i,o,a,s){let l,c;if(a){l=[];for(let e of t)if(l.push(e),e.route.id===a){c=e;break}}else l=t,c=t[t.length-1];let d=ad(i||".",od(l,o),td(e.pathname,n)||e.pathname,"path"===s);if(null==i&&(d.search=e.search,d.hash=e.hash),(null==i||""===i||"."===i)&&c){let e=fu(d.search);if(c.route.index&&!e)d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index";else if(!c.route.index&&e){let e=new URLSearchParams(d.search),t=e.getAll("index");e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();d.search=n?"?"+n:""}}return r&&"/"!==n&&(d.pathname="/"===d.pathname?n:sd([n,d.pathname])),Mc(d)}function Ld(e,t,n,r){if(!r||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(r))return{path:n};if(r.formMethod&&(i=r.formMethod,!Ad.has(i.toLowerCase())))return{path:n,error:tu(405,{method:r.formMethod})};var i;let o,a,s=()=>({path:n,error:tu(400,{type:"invalid-body"})}),l=r.formMethod||"get",c=e?l.toUpperCase():l.toLowerCase(),d=ru(n);if(void 0!==r.body){if("text/plain"===r.formEncType){if(!du(c))return s();let e="string"==typeof r.body?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((e,t)=>{let[n,r]=t;return""+e+n+"="+r+"\n"},""):String(r.body);return{path:n,submission:{formMethod:c,formAction:d,formEncType:r.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===r.formEncType){if(!du(c))return s();try{let e="string"==typeof r.body?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:c,formAction:d,formEncType:r.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return s()}}}if(Tc("function"==typeof FormData,"FormData is not available in this environment"),r.formData)o=Yd(r.formData),a=r.formData;else if(r.body instanceof FormData)o=Yd(r.body),a=r.body;else if(r.body instanceof URLSearchParams)o=r.body,a=Jd(o);else if(null==r.body)o=new URLSearchParams,a=new FormData;else try{o=new URLSearchParams(r.body),a=Jd(o)}catch(e){return s()}let u={formMethod:c,formAction:d,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:a,json:void 0,text:void 0};if(du(u.formMethod))return{path:n,submission:u};let h=Ic(n);return t&&h.search&&fu(h.search)&&o.append("index",""),h.search="?"+o,{path:Mc(h),submission:u}}function Pd(e,t,n){void 0===n&&(n=!1);let r=e.findIndex(e=>e.route.id===t);return r>=0?e.slice(0,n?r+1:r):e}function Bd(e,t,n,r,i,o,a,s,l,c,d,u,h,p,f,m){let g=m?au(m[1])?m[1].error:m[1].data:void 0,v=e.createURL(t.location),y=e.createURL(i),b=n;o&&t.errors?b=Pd(n,Object.keys(t.errors)[0],!0):m&&au(m[1])&&(b=Pd(n,m[0]));let x=m?m[1].statusCode:void 0,w=a&&x&&x>=400,C=b.filter((e,n)=>{let{route:i}=e;if(i.lazy)return!0;if(null==i.loader)return!1;if(o)return Nd(i,t.loaderData,t.errors);if(function(e,t,n){let r=!t||n.route.id!==t.route.id,i=void 0===e[n.route.id];return r||i}(t.loaderData,t.matches[n],e)||l.some(t=>t===e.route.id))return!0;let a=t.matches[n],c=e;return $d(e,Sc({currentUrl:v,currentParams:a.params,nextUrl:y,nextParams:c.params},r,{actionResult:g,actionStatus:x,defaultShouldRevalidate:!w&&(s||v.pathname+v.search===y.pathname+y.search||v.search!==y.search||Fd(a,c))}))}),S=[];return u.forEach((e,i)=>{if(o||!n.some(t=>t.route.id===e.routeId)||d.has(i))return;let a=Nc(p,e.path,f);if(!a)return void S.push({key:i,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let l=t.fetchers.get(i),u=mu(a,e.path),m=!1;h.has(i)?m=!1:c.has(i)?(c.delete(i),m=!0):m=l&&"idle"!==l.state&&void 0===l.data?s:$d(u,Sc({currentUrl:v,currentParams:t.matches[t.matches.length-1].params,nextUrl:y,nextParams:n[n.length-1].params},r,{actionResult:g,actionStatus:x,defaultShouldRevalidate:!w&&s})),m&&S.push({key:i,routeId:e.routeId,path:e.path,matches:a,match:u,controller:new AbortController})}),[C,S]}function Nd(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let r=null!=t&&void 0!==t[e.id],i=null!=n&&void 0!==n[e.id];return!(!r&&i)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!r&&!i)}function Fd(e,t){let n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function $d(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if("boolean"==typeof n)return n}return t.defaultShouldRevalidate}function zd(e,t,n,r,i){var o;let a;if(e){let t=r[e];Tc(t,"No route found to patch children into: routeId = "+e),t.children||(t.children=[]),a=t.children}else a=n;let s=Bc(t.filter(e=>!a.some(t=>Hd(e,t))),i,[e||"_","patch",String((null==(o=a)?void 0:o.length)||"0")],r);a.push(...s)}function Hd(e,t){return"id"in e&&"id"in t&&e.id===t.id||e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive&&(!(e.children&&0!==e.children.length||t.children&&0!==t.children.length)||e.children.every((e,n)=>{var r;return null==(r=t.children)?void 0:r.some(t=>Hd(e,t))}))}async function Ud(e){let{matches:t}=e,n=t.filter(e=>e.shouldLoad),r=await Promise.all(n.map(e=>e.resolve()));return r.reduce((e,t,r)=>Object.assign(e,{[n[r].route.id]:t}),{})}async function Wd(e){let{result:t,type:n}=e;if(cu(t)){let e;try{let n=t.headers.get("Content-Type");e=n&&/\bapplication\/json\b/.test(n)?null==t.body?null:await t.json():await t.text()}catch(e){return{type:Lc.error,error:e}}return n===Lc.error?{type:Lc.error,error:new bd(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:Lc.data,data:e,statusCode:t.status,headers:t.headers}}var r,i,o,a,s,l,c,d;return n===Lc.error?lu(t)?t.data instanceof Error?{type:Lc.error,error:t.data,statusCode:null==(o=t.init)?void 0:o.status,headers:null!=(a=t.init)&&a.headers?new Headers(t.init.headers):void 0}:{type:Lc.error,error:new bd((null==(r=t.init)?void 0:r.status)||500,void 0,t.data),statusCode:xd(t)?t.status:void 0,headers:null!=(i=t.init)&&i.headers?new Headers(t.init.headers):void 0}:{type:Lc.error,error:t,statusCode:xd(t)?t.status:void 0}:function(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}(t)?{type:Lc.deferred,deferredData:t,statusCode:null==(s=t.init)?void 0:s.status,headers:(null==(l=t.init)?void 0:l.headers)&&new Headers(t.init.headers)}:lu(t)?{type:Lc.data,data:t.data,statusCode:null==(c=t.init)?void 0:c.status,headers:null!=(d=t.init)&&d.headers?new Headers(t.init.headers):void 0}:{type:Lc.data,data:t}}function Gd(e,t,n,r,i,o){let a=e.headers.get("Location");if(Tc(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!jd.test(a)){let s=r.slice(0,r.findIndex(e=>e.route.id===n)+1);a=Od(new URL(t.url),s,i,!0,a,o),e.headers.set("Location",a)}return e}function Vd(e,t,n){if(jd.test(e)){let r=e,i=r.startsWith("//")?new URL(t.protocol+r):new URL(r),o=null!=td(i.pathname,n);if(i.origin===t.origin&&o)return i.pathname+i.search+i.hash}return e}function qd(e,t,n,r){let i=e.createURL(ru(t)).toString(),o={signal:n};if(r&&du(r.formMethod)){let{formMethod:e,formEncType:t}=r;o.method=e.toUpperCase(),"application/json"===t?(o.headers=new Headers({"Content-Type":t}),o.body=JSON.stringify(r.json)):"text/plain"===t?o.body=r.text:"application/x-www-form-urlencoded"===t&&r.formData?o.body=Yd(r.formData):o.body=r.formData}return new Request(i,o)}function Yd(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,"string"==typeof r?r:r.name);return t}function Jd(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function Qd(e,t,n,r,i,o,a){let{loaderData:s,errors:l}=function(e,t,n,r,i){let o,a={},s=null,l=!1,c={},d=n&&au(n[1])?n[1].error:void 0;return e.forEach(n=>{if(!(n.route.id in t))return;let u=n.route.id,h=t[u];if(Tc(!su(h),"Cannot handle redirect results in processLoaderData"),au(h)){let t=h.error;if(void 0!==d&&(t=d,d=void 0),s=s||{},i)s[u]=t;else{let n=Kd(e,u);null==s[n.route.id]&&(s[n.route.id]=t)}a[u]=void 0,l||(l=!0,o=xd(h.error)?h.error.status:500),h.headers&&(c[u]=h.headers)}else ou(h)?(r.set(u,h.deferredData),a[u]=h.deferredData.data,null==h.statusCode||200===h.statusCode||l||(o=h.statusCode),h.headers&&(c[u]=h.headers)):(a[u]=h.data,h.statusCode&&200!==h.statusCode&&!l&&(o=h.statusCode),h.headers&&(c[u]=h.headers))}),void 0!==d&&n&&(s={[n[0]]:d},a[n[0]]=void 0),{loaderData:a,errors:s,statusCode:o||200,loaderHeaders:c}}(t,n,r,a,!1);return i.forEach(t=>{let{key:n,match:r,controller:i}=t,a=o[n];if(Tc(a,"Did not find corresponding fetcher result"),!i||!i.signal.aborted)if(au(a)){let t=Kd(e.matches,null==r?void 0:r.route.id);l&&l[t.route.id]||(l=Sc({},l,{[t.route.id]:a.error})),e.fetchers.delete(n)}else if(su(a))Tc(!1,"Unhandled fetcher revalidation redirect");else if(ou(a))Tc(!1,"Unhandled fetcher deferred data");else{let t=bu(a.data);e.fetchers.set(n,t)}}),{loaderData:s,errors:l}}function Zd(e,t,n,r){let i=Sc({},t);for(let o of n){let n=o.route.id;if(t.hasOwnProperty(n)?void 0!==t[n]&&(i[n]=t[n]):void 0!==e[n]&&o.route.loader&&(i[n]=e[n]),r&&r.hasOwnProperty(n))break}return i}function Xd(e){return e?au(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Kd(e,t){let n=t?e.slice(0,e.findIndex(e=>e.route.id===t)+1):[...e];return n.reverse().find(e=>!0===e.route.hasErrorBoundary)||e[0]}function eu(e){let t=1===e.length?e[0]:e.find(e=>e.index||!e.path||"/"===e.path)||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function tu(e,t){let{pathname:n,routeId:r,method:i,type:o,message:a}=void 0===t?{}:t,s="Unknown Server Error",l="Unknown @remix-run/router error";return 400===e?(s="Bad Request",i&&n&&r?l="You made a "+i+' request to "'+n+'" but did not provide a `loader` for route "'+r+'", so there is no way to handle the request.':"defer-action"===o?l="defer() is not supported in actions":"invalid-body"===o&&(l="Unable to encode submission body")):403===e?(s="Forbidden",l='Route "'+r+'" does not match URL "'+n+'"'):404===e?(s="Not Found",l='No route matches URL "'+n+'"'):405===e&&(s="Method Not Allowed",i&&n&&r?l="You made a "+i.toUpperCase()+' request to "'+n+'" but did not provide an `action` for route "'+r+'", so there is no way to handle the request.':i&&(l='Invalid request method "'+i.toUpperCase()+'"')),new bd(e||500,s,new Error(l),!0)}function nu(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[n,r]=t[e];if(su(r))return{key:n,result:r}}}function ru(e){return Mc(Sc({},"string"==typeof e?Ic(e):e,{hash:""}))}function iu(e){return cu(e.result)&&kd.has(e.result.status)}function ou(e){return e.type===Lc.deferred}function au(e){return e.type===Lc.error}function su(e){return(e&&e.type)===Lc.redirect}function lu(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function cu(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function du(e){return Cd.has(e.toLowerCase())}async function uu(e,t,n,r,i){let o=Object.entries(t);for(let a=0;a<o.length;a++){let[s,l]=o[a],c=e.find(e=>(null==e?void 0:e.route.id)===s);if(!c)continue;let d=r.find(e=>e.route.id===c.route.id),u=null!=d&&!Fd(d,c)&&void 0!==(i&&i[c.route.id]);ou(l)&&u&&await pu(l,n,!1).then(e=>{e&&(t[s]=e)})}}async function hu(e,t,n){for(let r=0;r<n.length;r++){let{key:i,routeId:o,controller:a}=n[r],s=t[i],l=e.find(e=>(null==e?void 0:e.route.id)===o);l&&ou(s)&&(Tc(a,"Expected an AbortController for revalidating fetcher deferred result"),await pu(s,a.signal,!0).then(e=>{e&&(t[i]=e)}))}}async function pu(e,t,n){if(void 0===n&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:Lc.data,data:e.deferredData.unwrappedData}}catch(e){return{type:Lc.error,error:e}}return{type:Lc.data,data:e.deferredData.data}}}function fu(e){return new URLSearchParams(e).getAll("index").some(e=>""===e)}function mu(e,t){let n="string"==typeof t?Ic(t).search:t.search;if(e[e.length-1].route.index&&fu(n||""))return e[e.length-1];let r=id(e);return r[r.length-1]}function gu(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:o,json:a}=e;if(t&&n&&r)return null!=i?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i}:null!=o?{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0}:void 0!==a?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:a,text:void 0}:void 0}function vu(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function yu(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function bu(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function xu(){return xu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xu.apply(this,arguments)}Symbol("deferred");const wu=D.createContext(null),Cu=D.createContext(null),Su=D.createContext(null),Au=D.createContext(null),ku=D.createContext(null),_u=D.createContext({outlet:null,matches:[],isDataRoute:!1}),Eu=D.createContext(null);function Tu(e,t){let{relative:n}=void 0===t?{}:t;Du()||Tc(!1);let{basename:r,navigator:i}=D.useContext(Au),{hash:o,pathname:a,search:s}=Fu(e,{relative:n}),l=a;return"/"!==r&&(l="/"===a?r:sd([r,a])),i.createHref({pathname:l,search:s,hash:o})}function Du(){return null!=D.useContext(ku)}function ju(){return Du()||Tc(!1),D.useContext(ku).location}function Ru(){return D.useContext(ku).navigationType}function Mu(e){Du()||Tc(!1);let{pathname:t}=ju();return D.useMemo(()=>Kc(e,ed(t)),[t,e])}function Iu(e){D.useContext(Au).static||D.useLayoutEffect(e)}function Ou(){let{isDataRoute:e}=D.useContext(_u);return e?function(){let{router:e}=Ju(qu.UseNavigateStable),t=Zu(Yu.UseNavigateStable),n=D.useRef(!1);Iu(()=>{n.current=!0});let r=D.useCallback(function(r,i){void 0===i&&(i={}),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,xu({fromRouteId:t},i)))},[e,t]);return r}():function(){Du()||Tc(!1);let e=D.useContext(wu),{basename:t,future:n,navigator:r}=D.useContext(Au),{matches:i}=D.useContext(_u),{pathname:o}=ju(),a=JSON.stringify(od(i,n.v7_relativeSplatPath)),s=D.useRef(!1);Iu(()=>{s.current=!0});let l=D.useCallback(function(n,i){if(void 0===i&&(i={}),!s.current)return;if("number"==typeof n)return void r.go(n);let l=ad(n,JSON.parse(a),o,"path"===i.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:sd([t,l.pathname])),(i.replace?r.replace:r.push)(l,i.state,i)},[t,r,a,o,e]);return l}()}const Lu=D.createContext(null);function Pu(){return D.useContext(Lu)}function Bu(e){let t=D.useContext(_u).outlet;return t?D.createElement(Lu.Provider,{value:e},t):t}function Nu(){let{matches:e}=D.useContext(_u),t=e[e.length-1];return t?t.params:{}}function Fu(e,t){let{relative:n}=void 0===t?{}:t,{future:r}=D.useContext(Au),{matches:i}=D.useContext(_u),{pathname:o}=ju(),a=JSON.stringify(od(i,r.v7_relativeSplatPath));return D.useMemo(()=>ad(e,JSON.parse(a),o,"path"===n),[e,a,o,n])}function $u(e,t){return zu(e,t)}function zu(e,t,n,r){Du()||Tc(!1);let{navigator:i}=D.useContext(Au),{matches:o}=D.useContext(_u),a=o[o.length-1],s=a?a.params:{},l=(a&&a.pathname,a?a.pathnameBase:"/");a&&a.route;let c,d=ju();if(t){var u;let e="string"==typeof t?Ic(t):t;"/"===l||(null==(u=e.pathname)?void 0:u.startsWith(l))||Tc(!1),c=e}else c=d;let h=c.pathname||"/",p=h;if("/"!==l){let e=l.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(e.length).join("/")}let f=Nc(e,{pathname:p}),m=Vu(f&&f.map(e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:sd([l,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?l:sd([l,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),o,n,r);return t&&m?D.createElement(ku.Provider,{value:{location:xu({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:wc.Pop}},m):m}function Hu(){let e=oh(),t=xd(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return D.createElement(D.Fragment,null,D.createElement("h2",null,"Unexpected Application Error!"),D.createElement("h3",{style:{fontStyle:"italic"}},t),n?D.createElement("pre",{style:r},n):null,null)}const Uu=D.createElement(Hu,null);class Wu extends D.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?D.createElement(_u.Provider,{value:this.props.routeContext},D.createElement(Eu.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Gu(e){let{routeContext:t,match:n,children:r}=e,i=D.useContext(wu);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),D.createElement(_u.Provider,{value:t},r)}function Vu(e,t,n,r){var i;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===r&&(r=null),null==e){var o;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(o=r)&&o.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let a=e,s=null==(i=n)?void 0:i.errors;if(null!=s){let e=a.findIndex(e=>e.route.id&&void 0!==(null==s?void 0:s[e.route.id]));e>=0||Tc(!1),a=a.slice(0,Math.min(a.length,e+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let e=0;e<a.length;e++){let t=a[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(c=e),t.route.id){let{loaderData:e,errors:r}=n,i=t.route.loader&&void 0===e[t.route.id]&&(!r||void 0===r[t.route.id]);if(t.route.lazy||i){l=!0,a=c>=0?a.slice(0,c+1):[a[0]];break}}}return a.reduceRight((e,r,i)=>{let o,d=!1,u=null,h=null;var p;n&&(o=s&&r.route.id?s[r.route.id]:void 0,u=r.route.errorElement||Uu,l&&(c<0&&0===i?(dh[p="route-fallback"]||(dh[p]=!0),d=!0,h=null):c===i&&(d=!0,h=r.route.hydrateFallbackElement||null)));let f=t.concat(a.slice(0,i+1)),m=()=>{let t;return t=o?u:d?h:r.route.Component?D.createElement(r.route.Component,null):r.route.element?r.route.element:e,D.createElement(Gu,{match:r,routeContext:{outlet:e,matches:f,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===i)?D.createElement(Wu,{location:n.location,revalidation:n.revalidation,component:u,error:o,children:m(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):m()},null)}var qu=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(qu||{}),Yu=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Yu||{});function Ju(e){let t=D.useContext(wu);return t||Tc(!1),t}function Qu(e){let t=D.useContext(Cu);return t||Tc(!1),t}function Zu(e){let t=function(){let e=D.useContext(_u);return e||Tc(!1),e}(),n=t.matches[t.matches.length-1];return n.route.id||Tc(!1),n.route.id}function Xu(){return Zu(Yu.UseRouteId)}function Ku(){return Qu(Yu.UseNavigation).navigation}function eh(){let e=Ju(qu.UseRevalidator),t=Qu(Yu.UseRevalidator);return D.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])}function th(){let{matches:e,loaderData:t}=Qu(Yu.UseMatches);return D.useMemo(()=>e.map(e=>$c(e,t)),[e,t])}function nh(){let e=Qu(Yu.UseLoaderData),t=Zu(Yu.UseLoaderData);if(!e.errors||null==e.errors[t])return e.loaderData[t];console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")")}function rh(e){return Qu(Yu.UseRouteLoaderData).loaderData[e]}function ih(){let e=Qu(Yu.UseActionData),t=Zu(Yu.UseLoaderData);return e.actionData?e.actionData[t]:void 0}function oh(){var e;let t=D.useContext(Eu),n=Qu(Yu.UseRouteError),r=Zu(Yu.UseRouteError);return void 0!==t?t:null==(e=n.errors)?void 0:e[r]}function ah(){let e=D.useContext(Su);return null==e?void 0:e._data}function sh(){let e=D.useContext(Su);return null==e?void 0:e._error}let lh=0;function ch(e){let{router:t,basename:n}=Ju(qu.UseBlocker),r=Qu(Yu.UseBlocker),[i,o]=D.useState(""),a=D.useCallback(t=>{if("function"!=typeof e)return!!e;if("/"===n)return e(t);let{currentLocation:r,nextLocation:i,historyAction:o}=t;return e({currentLocation:xu({},r,{pathname:td(r.pathname,n)||r.pathname}),nextLocation:xu({},i,{pathname:td(i.pathname,n)||i.pathname}),historyAction:o})},[n,e]);return D.useEffect(()=>{let e=String(++lh);return o(e),()=>t.deleteBlocker(e)},[t]),D.useEffect(()=>{""!==i&&t.getBlocker(i,a)},[t,i,a]),i&&r.blockers.has(i)?r.blockers.get(i):Dd}const dh={},uh=(e,t,n)=>{};function hh(e,t){void 0===(null==e?void 0:e.v7_startTransition)&&uh("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),void 0!==(null==e?void 0:e.v7_relativeSplatPath)||t&&void 0!==t.v7_relativeSplatPath||uh("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),t&&(void 0===t.v7_fetcherPersist&&uh("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),void 0===t.v7_normalizeFormMethod&&uh("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),void 0===t.v7_partialHydration&&uh("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),void 0===t.v7_skipActionErrorRevalidation&&uh("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}const ph=j.startTransition;function fh(e){let{basename:t,children:n,initialEntries:r,initialIndex:i,future:o}=e,a=D.useRef();null==a.current&&(a.current=kc({initialEntries:r,initialIndex:i,v5Compat:!0}));let s=a.current,[l,c]=D.useState({action:s.action,location:s.location}),{v7_startTransition:d}=o||{},u=D.useCallback(e=>{d&&ph?ph(()=>c(e)):c(e)},[c,d]);return D.useLayoutEffect(()=>s.listen(u),[s,u]),D.useEffect(()=>hh(o),[o]),D.createElement(yh,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s,future:o})}function mh(e){let{to:t,replace:n,state:r,relative:i}=e;Du()||Tc(!1);let{future:o,static:a}=D.useContext(Au),{matches:s}=D.useContext(_u),{pathname:l}=ju(),c=Ou(),d=ad(t,od(s,o.v7_relativeSplatPath),l,"path"===i),u=JSON.stringify(d);return D.useEffect(()=>c(JSON.parse(u),{replace:n,state:r,relative:i}),[c,u,i,n,r]),null}function gh(e){return Bu(e.context)}function vh(e){Tc(!1)}function yh(e){let{basename:t="/",children:n=null,location:r,navigationType:i=wc.Pop,navigator:o,static:a=!1,future:s}=e;Du()&&Tc(!1);let l=t.replace(/^\/*/,"/"),c=D.useMemo(()=>({basename:l,navigator:o,static:a,future:xu({v7_relativeSplatPath:!1},s)}),[l,s,o,a]);"string"==typeof r&&(r=Ic(r));let{pathname:d="/",search:u="",hash:h="",state:p=null,key:f="default"}=r,m=D.useMemo(()=>{let e=td(d,l);return null==e?null:{location:{pathname:e,search:u,hash:h,state:p,key:f},navigationType:i}},[l,d,u,h,p,f,i]);return null==m?null:D.createElement(Au.Provider,{value:c},D.createElement(ku.Provider,{children:n,value:m}))}function bh(e){let{children:t,location:n}=e;return $u(kh(t),n)}function xh(e){let{children:t,errorElement:n,resolve:r}=e;return D.createElement(Sh,{resolve:r,errorElement:n},D.createElement(Ah,null,t))}var wh=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(wh||{});const Ch=new Promise(()=>{});class Sh extends D.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:n}=this.props,r=null,i=wh.pending;if(n instanceof Promise)if(this.state.error){i=wh.error;let e=this.state.error;r=Promise.reject().catch(()=>{}),Object.defineProperty(r,"_tracked",{get:()=>!0}),Object.defineProperty(r,"_error",{get:()=>e})}else n._tracked?(r=n,i="_error"in r?wh.error:"_data"in r?wh.success:wh.pending):(i=wh.pending,Object.defineProperty(n,"_tracked",{get:()=>!0}),r=n.then(e=>Object.defineProperty(n,"_data",{get:()=>e}),e=>Object.defineProperty(n,"_error",{get:()=>e})));else i=wh.success,r=Promise.resolve(),Object.defineProperty(r,"_tracked",{get:()=>!0}),Object.defineProperty(r,"_data",{get:()=>n});if(i===wh.error&&r._error instanceof hd)throw Ch;if(i===wh.error&&!t)throw r._error;if(i===wh.error)return D.createElement(Su.Provider,{value:r,children:t});if(i===wh.success)return D.createElement(Su.Provider,{value:r,children:e});throw r}}function Ah(e){let{children:t}=e,n=ah(),r="function"==typeof t?t(n):t;return D.createElement(D.Fragment,null,r)}function kh(e,t){void 0===t&&(t=[]);let n=[];return D.Children.forEach(e,(e,r)=>{if(!D.isValidElement(e))return;let i=[...t,r];if(e.type===D.Fragment)return void n.push.apply(n,kh(e.props.children,i));e.type!==vh&&Tc(!1),e.props.index&&e.props.children&&Tc(!1);let o={id:e.props.id||i.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=kh(e.props.children,i)),n.push(o)}),n}function _h(e){return Vu(e)}function Eh(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:D.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:D.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:D.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function Th(e,t){return Id({basename:null==t?void 0:t.basename,future:xu({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:kc({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:Eh,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()}function Dh(){return Dh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dh.apply(this,arguments)}function jh(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}const Rh="get",Mh="application/x-www-form-urlencoded";function Ih(e){return null!=e&&"string"==typeof e.tagName}function Oh(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}let Lh=null;const Ph=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Bh(e){return null==e||Ph.has(e)?e:null}const Nh=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Fh=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],$h=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(p$){}function zh(e,t){return Id({basename:null==t?void 0:t.basename,future:Dh({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:_c({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||Uh(),routes:e,mapRouteProperties:Eh,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function Hh(e,t){return Id({basename:null==t?void 0:t.basename,future:Dh({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:Ec({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||Uh(),routes:e,mapRouteProperties:Eh,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function Uh(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=Dh({},t,{errors:Wh(t.errors)})),t}function Wh(e){if(!e)return null;let t=Object.entries(e),n={};for(let[e,r]of t)if(r&&"RouteErrorResponse"===r.__type)n[e]=new bd(r.status,r.statusText,r.data,!0===r.internal);else if(r&&"Error"===r.__type){if(r.__subType){let t=window[r.__subType];if("function"==typeof t)try{let i=new t(r.message);i.stack="",n[e]=i}catch(e){}}if(null==n[e]){let t=new Error(r.message);t.stack="",n[e]=t}}else n[e]=r;return n}const Gh=D.createContext({isTransitioning:!1}),Vh=D.createContext(new Map),qh=j.startTransition,Yh=Br.flushSync,Jh=j.useId;function Qh(e){Yh?Yh(e):e()}class Zh{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}})}}function Xh(e){let{fallbackElement:t,router:n,future:r}=e,[i,o]=D.useState(n.state),[a,s]=D.useState(),[l,c]=D.useState({isTransitioning:!1}),[d,u]=D.useState(),[h,p]=D.useState(),[f,m]=D.useState(),g=D.useRef(new Map),{v7_startTransition:v}=r||{},y=D.useCallback(e=>{v?function(e){qh?qh(e):e()}(e):e()},[v]),b=D.useCallback((e,t)=>{let{deletedFetchers:r,flushSync:i,viewTransitionOpts:a}=t;e.fetchers.forEach((e,t)=>{void 0!==e.data&&g.current.set(t,e.data)}),r.forEach(e=>g.current.delete(e));let l=null==n.window||null==n.window.document||"function"!=typeof n.window.document.startViewTransition;if(a&&!l){if(i){Qh(()=>{h&&(d&&d.resolve(),h.skipTransition()),c({isTransitioning:!0,flushSync:!0,currentLocation:a.currentLocation,nextLocation:a.nextLocation})});let t=n.window.document.startViewTransition(()=>{Qh(()=>o(e))});return t.finished.finally(()=>{Qh(()=>{u(void 0),p(void 0),s(void 0),c({isTransitioning:!1})})}),void Qh(()=>p(t))}h?(d&&d.resolve(),h.skipTransition(),m({state:e,currentLocation:a.currentLocation,nextLocation:a.nextLocation})):(s(e),c({isTransitioning:!0,flushSync:!1,currentLocation:a.currentLocation,nextLocation:a.nextLocation}))}else i?Qh(()=>o(e)):y(()=>o(e))},[n.window,h,d,g,y]);D.useLayoutEffect(()=>n.subscribe(b),[n,b]),D.useEffect(()=>{l.isTransitioning&&!l.flushSync&&u(new Zh)},[l]),D.useEffect(()=>{if(d&&a&&n.window){let e=a,t=d.promise,r=n.window.document.startViewTransition(async()=>{y(()=>o(e)),await t});r.finished.finally(()=>{u(void 0),p(void 0),s(void 0),c({isTransitioning:!1})}),p(r)}},[y,a,d,n.window]),D.useEffect(()=>{d&&a&&i.location.key===a.location.key&&d.resolve()},[d,h,i.location,a]),D.useEffect(()=>{!l.isTransitioning&&f&&(s(f.state),c({isTransitioning:!0,flushSync:!1,currentLocation:f.currentLocation,nextLocation:f.nextLocation}),m(void 0))},[l.isTransitioning,f]),D.useEffect(()=>{},[]);let x=D.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,r)=>n.navigate(e,{state:t,preventScrollReset:null==r?void 0:r.preventScrollReset}),replace:(e,t,r)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})}),[n]),w=n.basename||"/",C=D.useMemo(()=>({router:n,navigator:x,static:!1,basename:w}),[n,x,w]),S=D.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return D.useEffect(()=>hh(r,n.future),[r,n.future]),D.createElement(D.Fragment,null,D.createElement(wu.Provider,{value:C},D.createElement(Cu.Provider,{value:i},D.createElement(Vh.Provider,{value:g.current},D.createElement(Gh.Provider,{value:l},D.createElement(yh,{basename:w,location:i.location,navigationType:i.historyAction,navigator:x,future:S},i.initialized||n.future.v7_partialHydration?D.createElement(Kh,{routes:n.routes,future:n.future,state:i}):t))))),null)}const Kh=D.memo(ep);function ep(e){let{routes:t,future:n,state:r}=e;return zu(t,void 0,r,n)}function tp(e){let{basename:t,children:n,future:r,window:i}=e,o=D.useRef();null==o.current&&(o.current=_c({window:i,v5Compat:!0}));let a=o.current,[s,l]=D.useState({action:a.action,location:a.location}),{v7_startTransition:c}=r||{},d=D.useCallback(e=>{c&&qh?qh(()=>l(e)):l(e)},[l,c]);return D.useLayoutEffect(()=>a.listen(d),[a,d]),D.useEffect(()=>hh(r),[r]),D.createElement(yh,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a,future:r})}function np(e){let{basename:t,children:n,future:r,window:i}=e,o=D.useRef();null==o.current&&(o.current=Ec({window:i,v5Compat:!0}));let a=o.current,[s,l]=D.useState({action:a.action,location:a.location}),{v7_startTransition:c}=r||{},d=D.useCallback(e=>{c&&qh?qh(()=>l(e)):l(e)},[l,c]);return D.useLayoutEffect(()=>a.listen(d),[a,d]),D.useEffect(()=>hh(r),[r]),D.createElement(yh,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a,future:r})}function rp(e){let{basename:t,children:n,future:r,history:i}=e,[o,a]=D.useState({action:i.action,location:i.location}),{v7_startTransition:s}=r||{},l=D.useCallback(e=>{s&&qh?qh(()=>a(e)):a(e)},[a,s]);return D.useLayoutEffect(()=>i.listen(l),[i,l]),D.useEffect(()=>hh(r),[r]),D.createElement(yh,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:i,future:r})}const ip="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,op=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ap=D.forwardRef(function(e,t){let n,{onClick:r,relative:i,reloadDocument:o,replace:a,state:s,target:l,to:c,preventScrollReset:d,viewTransition:u}=e,h=jh(e,Nh),{basename:p}=D.useContext(Au),f=!1;if("string"==typeof c&&op.test(c)&&(n=c,ip))try{let e=new URL(window.location.href),t=c.startsWith("//")?new URL(e.protocol+c):new URL(c),n=td(t.pathname,p);t.origin===e.origin&&null!=n?c=n+t.search+t.hash:f=!0}catch(e){}let m=Tu(c,{relative:i}),g=fp(c,{replace:a,state:s,target:l,preventScrollReset:d,relative:i,viewTransition:u});return D.createElement("a",Dh({},h,{href:n||m,onClick:f||o?r:function(e){r&&r(e),e.defaultPrevented||g(e)},ref:t,target:l}))}),sp=D.forwardRef(function(e,t){let{"aria-current":n="page",caseSensitive:r=!1,className:i="",end:o=!1,style:a,to:s,viewTransition:l,children:c}=e,d=jh(e,Fh),u=Fu(s,{relative:d.relative}),h=ju(),p=D.useContext(Cu),{navigator:f,basename:m}=D.useContext(Au),g=null!=p&&Ep(u)&&!0===l,v=f.encodeLocation?f.encodeLocation(u).pathname:u.pathname,y=h.pathname,b=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;r||(y=y.toLowerCase(),b=b?b.toLowerCase():null,v=v.toLowerCase()),b&&m&&(b=td(b,m)||b);const x="/"!==v&&v.endsWith("/")?v.length-1:v.length;let w,C=y===v||!o&&y.startsWith(v)&&"/"===y.charAt(x),S=null!=b&&(b===v||!o&&b.startsWith(v)&&"/"===b.charAt(v.length)),A={isActive:C,isPending:S,isTransitioning:g},k=C?n:void 0;w="function"==typeof i?i(A):[i,C?"active":null,S?"pending":null,g?"transitioning":null].filter(Boolean).join(" ");let _="function"==typeof a?a(A):a;return D.createElement(ap,Dh({},d,{"aria-current":k,className:w,ref:t,style:_,to:s,viewTransition:l}),"function"==typeof c?c(A):c)}),lp=D.forwardRef((e,t)=>{let{fetcherKey:n,navigate:r,reloadDocument:i,replace:o,state:a,method:s=Rh,action:l,onSubmit:c,relative:d,preventScrollReset:u,viewTransition:h}=e,p=jh(e,$h),f=yp(),m=bp(l,{relative:d}),g="get"===s.toLowerCase()?"get":"post";return D.createElement("form",Dh({ref:t,method:g,action:m,onSubmit:i?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,i=(null==t?void 0:t.getAttribute("formmethod"))||s;f(t||e.currentTarget,{fetcherKey:n,method:i,navigate:r,replace:o,state:a,relative:d,preventScrollReset:u,viewTransition:h})}},p))});function cp(e){let{getKey:t,storageKey:n}=e;return Ap({getKey:t,storageKey:n}),null}var dp,up;function hp(e){let t=D.useContext(wu);return t||Tc(!1),t}function pp(e){let t=D.useContext(Cu);return t||Tc(!1),t}function fp(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:a,viewTransition:s}=void 0===t?{}:t,l=Ou(),c=ju(),d=Fu(e,{relative:a});return D.useCallback(t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==r?r:Mc(c)===Mc(d);l(e,{replace:n,state:i,preventScrollReset:o,relative:a,viewTransition:s})}},[c,l,d,r,i,n,e,o,a,s])}function mp(e){let t=D.useRef(Oh(e)),n=D.useRef(!1),r=ju(),i=D.useMemo(()=>function(e,t){let n=Oh(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}(r.search,n.current?null:t.current),[r.search]),o=Ou(),a=D.useCallback((e,t)=>{const r=Oh("function"==typeof e?e(i):e);n.current=!0,o("?"+r,t)},[o,i]);return[i,a]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(dp||(dp={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(up||(up={}));let gp=0,vp=()=>"__"+String(++gp)+"__";function yp(){let{router:e}=hp(dp.UseSubmit),{basename:t}=D.useContext(Au),n=Xu();return D.useCallback(function(r,i){void 0===i&&(i={}),function(){if("undefined"==typeof document)throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}();let{action:o,method:a,encType:s,formData:l,body:c}=function(e,t){let n,r,i,o,a;if(Ih(s=e)&&"form"===s.tagName.toLowerCase()){let a=e.getAttribute("action");r=a?td(a,t):null,n=e.getAttribute("method")||Rh,i=Bh(e.getAttribute("enctype"))||Mh,o=new FormData(e)}else if(function(e){return Ih(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return Ih(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let a=e.form;if(null==a)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||a.getAttribute("action");if(r=s?td(s,t):null,n=e.getAttribute("formmethod")||a.getAttribute("method")||Rh,i=Bh(e.getAttribute("formenctype"))||Bh(a.getAttribute("enctype"))||Mh,o=new FormData(a,e),!function(){if(null===Lh)try{new FormData(document.createElement("form"),0),Lh=!1}catch(e){Lh=!0}return Lh}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?t+".":"";o.append(e+"x","0"),o.append(e+"y","0")}else t&&o.append(t,r)}}else{if(Ih(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Rh,r=null,i=Mh,a=e}var s;return o&&"text/plain"===i&&(a=o,o=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:o,body:a}}(r,t);if(!1===i.navigate){let t=i.fetcherKey||vp();e.fetch(t,n,i.action||o,{preventScrollReset:i.preventScrollReset,formData:l,body:c,formMethod:i.method||a,formEncType:i.encType||s,flushSync:i.flushSync})}else e.navigate(i.action||o,{preventScrollReset:i.preventScrollReset,formData:l,body:c,formMethod:i.method||a,formEncType:i.encType||s,replace:i.replace,state:i.state,fromRouteId:n,flushSync:i.flushSync,viewTransition:i.viewTransition})},[e,t,n])}function bp(e,t){let{relative:n}=void 0===t?{}:t,{basename:r}=D.useContext(Au),i=D.useContext(_u);i||Tc(!1);let[o]=i.matches.slice(-1),a=Dh({},Fu(e||".",{relative:n})),s=ju();if(null==e){a.search=s.search;let e=new URLSearchParams(a.search),t=e.getAll("index"),n=t.some(e=>""===e);if(n){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();a.search=n?"?"+n:""}}return e&&"."!==e||!o.route.index||(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),"/"!==r&&(a.pathname="/"===a.pathname?r:sd([r,a.pathname])),Mc(a)}function xp(e){var t;let{key:n}=void 0===e?{}:e,{router:r}=hp(dp.UseFetcher),i=pp(up.UseFetcher),o=D.useContext(Vh),a=D.useContext(_u),s=null==(t=a.matches[a.matches.length-1])?void 0:t.route.id;o||Tc(!1),a||Tc(!1),null==s&&Tc(!1);let l=Jh?Jh():"",[c,d]=D.useState(n||l);n&&n!==c?d(n):c||d(vp()),D.useEffect(()=>(r.getFetcher(c),()=>{r.deleteFetcher(c)}),[r,c]);let u=D.useCallback((e,t)=>{s||Tc(!1),r.fetch(c,s,e,t)},[c,s,r]),h=yp(),p=D.useCallback((e,t)=>{h(e,Dh({},t,{navigate:!1,fetcherKey:c}))},[c,h]),f=D.useMemo(()=>D.forwardRef((e,t)=>D.createElement(lp,Dh({},e,{navigate:!1,fetcherKey:c,ref:t}))),[c]),m=i.fetchers.get(c)||Td,g=o.get(c);return D.useMemo(()=>Dh({Form:f,submit:p,load:u},m,{data:g}),[f,p,u,m,g])}function wp(){let e=pp(up.UseFetchers);return Array.from(e.fetchers.entries()).map(e=>{let[t,n]=e;return Dh({},n,{key:t})})}const Cp="react-router-scroll-positions";let Sp={};function Ap(e){let{getKey:t,storageKey:n}=void 0===e?{}:e,{router:r}=hp(dp.UseScrollRestoration),{restoreScrollPosition:i,preventScrollReset:o}=pp(up.UseScrollRestoration),{basename:a}=D.useContext(Au),s=ju(),l=th(),c=Ku();D.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),function(e){let{capture:t}={};D.useEffect(()=>{let n=null!=t?{capture:t}:void 0;return window.addEventListener("pagehide",e,n),()=>{window.removeEventListener("pagehide",e,n)}},[e,t])}(D.useCallback(()=>{if("idle"===c.state){let e=(t?t(s,l):null)||s.key;Sp[e]=window.scrollY}try{sessionStorage.setItem(n||Cp,JSON.stringify(Sp))}catch(e){}window.history.scrollRestoration="auto"},[n,t,c.state,s,l])),"undefined"!=typeof document&&(D.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(n||Cp);e&&(Sp=JSON.parse(e))}catch(e){}},[n]),D.useLayoutEffect(()=>{let e=t&&"/"!==a?(e,n)=>t(Dh({},e,{pathname:td(e.pathname,a)||e.pathname}),n):t,n=null==r?void 0:r.enableScrollRestoration(Sp,()=>window.scrollY,e);return()=>n&&n()},[r,a,t]),D.useLayoutEffect(()=>{if(!1!==i)if("number"!=typeof i){if(s.hash){let e=document.getElementById(decodeURIComponent(s.hash.slice(1)));if(e)return void e.scrollIntoView()}!0!==o&&window.scrollTo(0,0)}else window.scrollTo(0,i)},[s,i,o]))}function kp(e,t){let{capture:n}=t||{};D.useEffect(()=>{let t=null!=n?{capture:n}:void 0;return window.addEventListener("beforeunload",e,t),()=>{window.removeEventListener("beforeunload",e,t)}},[e,n])}function _p(e){let{when:t,message:n}=e,r=ch(t);D.useEffect(()=>{"blocked"===r.state&&(window.confirm(n)?setTimeout(r.proceed,0):r.reset())},[r,n]),D.useEffect(()=>{"blocked"!==r.state||t||r.reset()},[r,t])}function Ep(e,t){void 0===t&&(t={});let n=D.useContext(Gh);null==n&&Tc(!1);let{basename:r}=hp(dp.useViewTransitionState),i=Fu(e,{relative:t.relative});if(!n.isTransitioning)return!1;let o=td(n.currentLocation.pathname,r)||n.currentLocation.pathname,a=td(n.nextLocation.pathname,r)||n.nextLocation.pathname;return null!=Kc(i.pathname,a)||null!=Kc(i.pathname,o)}var Tp=i(2945),Dp=i.n(Tp);const jp=function(e){function t(e,r,l,c,h){for(var p,f,m,g,x,C=0,S=0,A=0,k=0,_=0,M=0,O=m=p=0,P=0,B=0,N=0,F=0,$=l.length,z=$-1,H="",U="",W="",G="";P<$;){if(f=l.charCodeAt(P),P===z&&0!==S+k+A+C&&(0!==S&&(f=47===S?10:47),k=A=C=0,$++,z++),0===S+k+A+C){if(P===z&&(0<B&&(H=H.replace(u,"")),0<H.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:H+=l.charAt(P)}f=59}switch(f){case 123:for(p=(H=H.trim()).charCodeAt(0),m=1,F=++P;P<$;){switch(f=l.charCodeAt(P)){case 123:m++;break;case 125:m--;break;case 47:switch(f=l.charCodeAt(P+1)){case 42:case 47:e:{for(O=P+1;O<z;++O)switch(l.charCodeAt(O)){case 47:if(42===f&&42===l.charCodeAt(O-1)&&P+2!==O){P=O+1;break e}break;case 10:if(47===f){P=O+1;break e}}P=O}}break;case 91:f++;case 40:f++;case 34:case 39:for(;P++<z&&l.charCodeAt(P)!==f;);}if(0===m)break;P++}if(m=l.substring(F,P),0===p&&(p=(H=H.replace(d,"").trim()).charCodeAt(0)),64===p){switch(0<B&&(H=H.replace(u,"")),f=H.charCodeAt(1)){case 100:case 109:case 115:case 45:B=r;break;default:B=R}if(F=(m=t(r,B,m,f,h+1)).length,0<I&&(x=s(3,m,B=n(R,H,N),r,T,E,F,f,h,c),H=B.join(""),void 0!==x&&0===(F=(m=x.trim()).length)&&(f=0,m="")),0<F)switch(f){case 115:H=H.replace(w,a);case 100:case 109:case 45:m=H+"{"+m+"}";break;case 107:m=(H=H.replace(v,"$1 $2"))+"{"+m+"}",m=1===j||2===j&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=H+m,112===c&&(U+=m,m="")}else m=""}else m=t(r,n(r,H,N),m,c,h+1);W+=m,m=N=B=O=p=0,H="",f=l.charCodeAt(++P);break;case 125:case 59:if(1<(F=(H=(0<B?H.replace(u,""):H).trim()).length))switch(0===O&&(p=H.charCodeAt(0),45===p||96<p&&123>p)&&(F=(H=H.replace(" ",":")).length),0<I&&void 0!==(x=s(1,H,r,e,T,E,U.length,c,h,c))&&0===(F=(H=x.trim()).length)&&(H="\0\0"),p=H.charCodeAt(0),f=H.charCodeAt(1),p){case 0:break;case 64:if(105===f||99===f){G+=H+l.charAt(P);break}default:58!==H.charCodeAt(F-1)&&(U+=i(H,p,f,H.charCodeAt(2)))}N=B=O=p=0,H="",f=l.charCodeAt(++P)}}switch(f){case 13:case 10:47===S?S=0:0===1+p&&107!==c&&0<H.length&&(B=1,H+="\0"),0<I*L&&s(0,H,r,e,T,E,U.length,c,h,c),E=1,T++;break;case 59:case 125:if(0===S+k+A+C){E++;break}default:switch(E++,g=l.charAt(P),f){case 9:case 32:if(0===k+C+S)switch(_){case 44:case 58:case 9:case 32:g="";break;default:32!==f&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===k+S+C&&(B=N=1,g="\f"+g);break;case 108:if(0===k+S+C+D&&0<O)switch(P-O){case 2:112===_&&58===l.charCodeAt(P-3)&&(D=_);case 8:111===M&&(D=M)}break;case 58:0===k+S+C&&(O=P);break;case 44:0===S+A+k+C&&(B=1,g+="\r");break;case 34:case 39:0===S&&(k=k===f?0:0===k?f:k);break;case 91:0===k+S+A&&C++;break;case 93:0===k+S+A&&C--;break;case 41:0===k+S+C&&A--;break;case 40:0===k+S+C&&(0===p&&(2*_+3*M==533||(p=1)),A++);break;case 64:0===S+A+k+C+O+m&&(m=1);break;case 42:case 47:if(!(0<k+C+A))switch(S){case 0:switch(2*f+3*l.charCodeAt(P+1)){case 235:S=47;break;case 220:F=P,S=42}break;case 42:47===f&&42===_&&F+2!==P&&(33===l.charCodeAt(F+2)&&(U+=l.substring(F,P+1)),g="",S=0)}}0===S&&(H+=g)}M=_,_=f,P++}if(0<(F=U.length)){if(B=r,0<I&&void 0!==(x=s(2,U,B,e,T,E,F,c,h,c))&&0===(U=x).length)return G+U+W;if(U=B.join(",")+"{"+U+"}",0!==j*D){switch(2!==j||o(U,2)||(D=0),D){case 111:U=U.replace(b,":-moz-$1")+U;break;case 112:U=U.replace(y,"::-webkit-input-$1")+U.replace(y,"::-moz-$1")+U.replace(y,":-ms-input-$1")+U}D=0}}return G+U+W}function n(e,t,n){var i=t.trim().split(m);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=r(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<o;++s)for(var c=0;c<a;++c)t[l++]=r(e[c]+" ",i[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===j||2===j&&o(l,1)?"-webkit-"+l+l:l}if(0===j||2===j&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(_,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return p.test(a)?a.replace(h,":-webkit-")+a.replace(h,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(x,"tb");break;case 232:l=a.replace(x,"tb-rl");break;case 220:l=a.replace(x,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(S,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(S,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),O(2!==t?r:r.replace(A,"$1"),n,t)}function a(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(C," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,i,o,a,s,l,d){for(var u,h=0,p=t;h<I;++h)switch(u=M[h].call(c,e,p,n,r,i,o,a,s,l,d)){case void 0:case!1:case!0:case null:break;default:p=u}if(p!==t)return p}function l(e){return void 0!==(e=e.prefix)&&(O=null,e?"function"!=typeof e?j=1:(j=2,O=e):j=0),l}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<I){var i=s(-1,n,r,r,T,E,0,0,0,0);void 0!==i&&"string"==typeof i&&(n=i)}var o=t(R,r,n,0,0);return 0<I&&void 0!==(i=s(-2,o,r,r,T,E,o.length,0,0,0))&&(o=i),D=0,E=T=1,o}var d=/^\0+/g,u=/[\0\r\f]/g,h=/: */g,p=/zoo|gra/,f=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,x=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,C=/([\s\S]*?);/g,S=/-self|flex-/g,A=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,_=/([^-])(image-set\()/,E=1,T=1,D=0,j=1,R=[],M=[],I=0,O=null,L=0;return c.use=function e(t){switch(t){case void 0:case null:I=M.length=0;break;default:if("function"==typeof t)M[I++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else L=0|!!t}return e},c.set=l,void 0!==e&&l(e),c},Rp={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Mp(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Ip=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|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|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|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|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|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)-.*))$/,Op=Mp(function(e){return Ip.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91});function Lp(){return(Lp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Pp=function(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n},Bp=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,Ql.typeOf)(e)},Np=Object.freeze([]),Fp=Object.freeze({});function $p(e){return"function"==typeof e}function zp(e){return e.displayName||e.name||"Component"}function Hp(e){return e&&"string"==typeof e.styledComponentId}var Up="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Wp="5.3.11",Gp="undefined"!=typeof window&&"HTMLElement"in window,Vp=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&(void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY)),qp={};function Yp(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var Jp=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)(i<<=1)<0&&Yp(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=0,l=t.length;s<l;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),Qp=new Map,Zp=new Map,Xp=1,Kp=function(e){if(Qp.has(e))return Qp.get(e);for(;Zp.has(Xp);)Xp++;var t=Xp++;return Qp.set(e,t),Zp.set(t,e),t},ef=function(e){return Zp.get(e)},tf=function(e,t){t>=Xp&&(Xp=t+1),Qp.set(e,t),Zp.set(t,e)},nf="style["+Up+'][data-styled-version="5.3.11"]',rf=new RegExp("^"+Up+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),of=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},af=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],i=0,o=n.length;i<o;i++){var a=n[i].trim();if(a){var s=a.match(rf);if(s){var l=0|parseInt(s[1],10),c=s[2];0!==l&&(tf(c,l),of(e,c,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},sf=function(){return i.nc},lf=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(Up))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(Up,"active"),r.setAttribute("data-styled-version","5.3.11");var a=sf();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},cf=function(){function e(e){var t=this.element=lf(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}Yp(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),df=function(){function e(e){var t=this.element=lf(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),uf=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),hf=Gp,pf={isServer:!Gp,useCSSOMInjection:!Vp},ff=function(){function e(e,t,n){void 0===e&&(e=Fp),void 0===t&&(t={}),this.options=Lp({},pf,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Gp&&hf&&(hf=!1,function(e){for(var t=document.querySelectorAll(nf),n=0,r=t.length;n<r;n++){var i=t[n];i&&"active"!==i.getAttribute(Up)&&(af(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return Kp(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(Lp({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,i=t.target,e=n?new uf(i):r?new cf(i):new df(i),new Jp(e)));var e,t,n,r,i},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(Kp(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Kp(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(Kp(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=0;i<n;i++){var o=ef(i);if(void 0!==o){var a=e.names.get(o),s=t.getGroup(i);if(a&&s&&a.size){var l=Up+".g"+i+'[id="'+o+'"]',c="";void 0!==a&&a.forEach(function(e){e.length>0&&(c+=e+",")}),r+=""+s+l+'{content:"'+c+'"}/*!sc*/\n'}}}return r}(this)},e}(),mf=/(a)(d)/gi,gf=function(e){return String.fromCharCode(e+(e>25?39:97))};function vf(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=gf(t%52)+n;return(gf(t%52)+n).replace(mf,"$1-$2")}var yf=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},bf=function(e){return yf(5381,e)};function xf(e){for(var t=0;t<e.length;t+=1){var n=e[t];if($p(n)&&!Hp(n))return!1}return!0}var wf=bf("5.3.11"),Cf=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&xf(e),this.componentId=t,this.baseHash=yf(wf,t),this.baseStyle=n,ff.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))i.push(this.staticRulesId);else{var o=zf(this.rules,e,t,n).join(""),a=vf(yf(this.baseHash,o)>>>0);if(!t.hasNameForId(r,a)){var s=n(o,"."+a,void 0,r);t.insertRules(r,a,s)}i.push(a),this.staticRulesId=a}else{for(var l=this.rules.length,c=yf(this.baseHash,n.hash),d="",u=0;u<l;u++){var h=this.rules[u];if("string"==typeof h)d+=h;else if(h){var p=zf(h,e,t,n),f=Array.isArray(p)?p.join(""):p;c=yf(c,f+u),d+=f}}if(d){var m=vf(c>>>0);if(!t.hasNameForId(r,m)){var g=n(d,"."+m,void 0,r);t.insertRules(r,m,g)}i.push(m)}}return i.join(" ")},e}(),Sf=/^\s*\/\/.*$/gm,Af=[":","[",".","#"];function kf(e){var t,n,r,i,o=void 0===e?Fp:e,a=o.options,s=void 0===a?Fp:a,l=o.plugins,c=void 0===l?Np:l,d=new jp(s),u=[],h=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,o,a,s,l,c,d,u){switch(n){case 1:if(0===d&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(i[0]+r),"";default:return r+(0===u?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}(function(e){u.push(e)}),p=function(e,r,o){return 0===r&&-1!==Af.indexOf(o[n.length])||o.match(i)?e:"."+t};function f(e,o,a,s){void 0===s&&(s="&");var l=e.replace(Sf,""),c=o&&a?a+" "+o+" { "+l+" }":l;return t=s,n=o,r=new RegExp("\\"+n+"\\b","g"),i=new RegExp("(\\"+n+"\\b){2,}"),d(a||!o?"":o,c)}return d.use([].concat(c,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,p))},h,function(e){if(-2===e){var t=u;return u=[],t}}])),f.hash=c.length?c.reduce(function(e,t){return t.name||Yp(15),yf(e,t.name)},5381).toString():"",f}var _f=D.createContext(),Ef=_f.Consumer,Tf=D.createContext(),Df=(Tf.Consumer,new ff),jf=kf();function Rf(){return(0,D.useContext)(_f)||Df}function Mf(){return(0,D.useContext)(Tf)||jf}function If(e){var t=(0,D.useState)(e.stylisPlugins),n=t[0],r=t[1],i=Rf(),o=(0,D.useMemo)(function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target]),a=(0,D.useMemo)(function(){return kf({options:{prefix:!e.disableVendorPrefixes},plugins:n})},[e.disableVendorPrefixes,n]);return(0,D.useEffect)(function(){Dp()(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]),D.createElement(_f.Provider,{value:o},D.createElement(Tf.Provider,{value:a},e.children))}var Of=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=jf);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return Yp(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=jf),this.name+e.hash},e}(),Lf=/([A-Z])/,Pf=/([A-Z])/g,Bf=/^ms-/,Nf=function(e){return"-"+e.toLowerCase()};function Ff(e){return Lf.test(e)?e.replace(Pf,Nf).replace(Bf,"-ms-"):e}var $f=function(e){return null==e||!1===e||""===e};function zf(e,t,n,r){if(Array.isArray(e)){for(var i,o=[],a=0,s=e.length;a<s;a+=1)""!==(i=zf(e[a],t,n,r))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}return $f(e)?"":Hp(e)?"."+e.styledComponentId:$p(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:zf(e(t),t,n,r):e instanceof Of?n?(e.inject(n,r),e.getName(r)):e:Bp(e)?function e(t,n){var r,i,o=[];for(var a in t)t.hasOwnProperty(a)&&!$f(t[a])&&(Array.isArray(t[a])&&t[a].isCss||$p(t[a])?o.push(Ff(a)+":",t[a],";"):Bp(t[a])?o.push.apply(o,e(t[a],a)):o.push(Ff(a)+": "+(r=a,(null==(i=t[a])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||r in Rp||r.startsWith("--")?String(i).trim():i+"px")+";")));return n?[n+" {"].concat(o,["}"]):o}(e):e.toString();var l}var Hf=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Uf(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return $p(e)||Bp(e)?Hf(zf(Pp(Np,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:Hf(zf(Pp(e,n)))}new Set;var Wf=function(e,t,n){return void 0===n&&(n=Fp),e.theme!==n.theme&&e.theme||t||n.theme},Gf=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Vf=/(^-|-$)/g;function qf(e){return e.replace(Gf,"-").replace(Vf,"")}var Yf=function(e){return vf(bf(e)>>>0)};function Jf(e){return"string"==typeof e&&!0}var Qf=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Zf=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Xf(e,t,n){var r=e[n];Qf(t)&&Qf(r)?Kf(r,t):e[n]=t}function Kf(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];if(Qf(a))for(var s in a)Zf(s)&&Xf(e,a[s],s)}return e}var em=D.createContext(),tm=em.Consumer;function nm(e){var t=(0,D.useContext)(em),n=(0,D.useMemo)(function(){return function(e,t){return e?$p(e)?e(t):Array.isArray(e)||"object"!=typeof e?Yp(8):t?Lp({},t,{},e):e:Yp(14)}(e.theme,t)},[e.theme,t]);return e.children?D.createElement(em.Provider,{value:n},e.children):null}var rm={};function im(e,t,n){var r=Hp(e),i=!Jf(e),o=t.attrs,a=void 0===o?Np:o,s=t.componentId,l=void 0===s?function(e,t){var n="string"!=typeof e?"sc":qf(e);rm[n]=(rm[n]||0)+1;var r=n+"-"+Yf("5.3.11"+n+rm[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):s,c=t.displayName,d=void 0===c?function(e){return Jf(e)?"styled."+e:"Styled("+zp(e)+")"}(e):c,u=t.displayName&&t.componentId?qf(t.displayName)+"-"+t.componentId:t.componentId||l,h=r&&e.attrs?Array.prototype.concat(e.attrs,a).filter(Boolean):a,p=t.shouldForwardProp;r&&e.shouldForwardProp&&(p=t.shouldForwardProp?function(n,r,i){return e.shouldForwardProp(n,r,i)&&t.shouldForwardProp(n,r,i)}:e.shouldForwardProp);var f,m=new Cf(n,u,r?e.componentStyle:void 0),g=m.isStatic&&0===a.length,v=function(e,t){return function(e,t,n,r){var i=e.attrs,o=e.componentStyle,a=e.defaultProps,s=e.foldedComponentIds,l=e.shouldForwardProp,c=e.styledComponentId,d=e.target,u=function(e,t,n){void 0===e&&(e=Fp);var r=Lp({},t,{theme:e}),i={};return n.forEach(function(e){var t,n,o,a=e;for(t in $p(a)&&(a=a(r)),a)r[t]=i[t]="className"===t?(n=i[t],o=a[t],n&&o?n+" "+o:n||o):a[t]}),[r,i]}(Wf(t,(0,D.useContext)(em),a)||Fp,t,i),h=u[0],p=u[1],f=function(e,t,n){var r=Rf(),i=Mf();return t?e.generateAndInjectStyles(Fp,r,i):e.generateAndInjectStyles(n,r,i)}(o,r,h),m=n,g=p.$as||t.$as||p.as||t.as||d,v=Jf(g),y=p!==t?Lp({},t,{},p):t,b={};for(var x in y)"$"!==x[0]&&"as"!==x&&("forwardedAs"===x?b.as=y[x]:(l?l(x,Op,g):!v||Op(x))&&(b[x]=y[x]));return t.style&&p.style!==t.style&&(b.style=Lp({},t.style,{},p.style)),b.className=Array.prototype.concat(s,c,f!==c?f:null,t.className,p.className).filter(Boolean).join(" "),b.ref=m,(0,D.createElement)(g,b)}(f,e,t,g)};return v.displayName=d,(f=D.forwardRef(v)).attrs=h,f.componentStyle=m,f.displayName=d,f.shouldForwardProp=p,f.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Np,f.styledComponentId=u,f.target=r?e.target:e,f.withComponent=function(e){var r=t.componentId,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(t,["componentId"]),o=r&&r+"-"+(Jf(e)?e:qf(zp(e)));return im(e,Lp({},i,{attrs:h,componentId:o}),n)},Object.defineProperty(f,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Kf({},e.defaultProps,t):t}}),Object.defineProperty(f,"toString",{value:function(){return"."+f.styledComponentId}}),i&&qt()(f,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),f}var om=function(e){return function e(t,n,r){if(void 0===r&&(r=Fp),!(0,Ql.isValidElementType)(n))return Yp(1,String(n));var i=function(){return t(n,r,Uf.apply(void 0,arguments))};return i.withConfig=function(i){return e(t,n,Lp({},r,{},i))},i.attrs=function(i){return e(t,n,Lp({},r,{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},i}(im,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){om[e]=om(e)});var am=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=xf(e),ff.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var i=r(zf(this.rules,t,n,r).join(""),""),o=this.componentId+e;n.insertRules(o,o,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&ff.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function sm(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Uf.apply(void 0,[e].concat(n)),o="sc-global-"+Yf(JSON.stringify(i)),a=new am(i,o);function s(e){var t=Rf(),n=Mf(),r=(0,D.useContext)(em),i=(0,D.useRef)(t.allocateGSInstance(o)).current;return t.server&&l(i,e,t,r,n),(0,D.useLayoutEffect)(function(){if(!t.server)return l(i,e,t,r,n),function(){return a.removeStyles(i,t)}},[i,e,t,r,n]),null}function l(e,t,n,r,i){if(a.isStatic)a.renderStyles(e,qp,n,i);else{var o=Lp({},t,{theme:Wf(t,r,s.defaultProps)});a.renderStyles(e,o,n,i)}}return D.memo(s)}function lm(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Uf.apply(void 0,[e].concat(n)).join(""),o=Yf(i);return new Of(o,i)}var cm=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=sf();return"<style "+[n&&'nonce="'+n+'"',Up+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?Yp(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return Yp(2);var n=((t={})[Up]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=sf();return r&&(n.nonce=r),[D.createElement("style",Lp({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ff({isServer:!0}),this.sealed=!1}var t=e.prototype;return t.collectStyles=function(e){return this.sealed?Yp(2):D.createElement(If,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return Yp(3)},e}(),dm=function(e){var t=D.forwardRef(function(t,n){var r=(0,D.useContext)(em),i=e.defaultProps,o=Wf(t,r,i);return D.createElement(e,Lp({},t,{theme:o,ref:n}))});return qt()(t,e),t.displayName="WithTheme("+zp(e)+")",t},um=function(){return(0,D.useContext)(em)},hm={StyleSheet:ff,masterSheet:Df};const pm=om;function fm(e){const t=document.createElement("a");t.href=`/downloadFile.php?id=${e}`,t.click(),t.remove()}function mm(e){return String(e).padStart(2,"0")}function gm(e,t,n=0,r=0){let i=e,o=t,a=1;return e>n&&0!==n&&(a=n/e,i=n,o=Math.round(t*a)),t>r&&0!==r&&(a=r/t,i=Math.round(e*a),o=r),{width:i,height:o}}const vm=e=>parseInt(e,16),ym=e=>Math.round(e).toString(16).padStart(2,"0"),bm=e=>({r:vm(e.substring(1,3)),g:vm(e.substring(3,5)),b:vm(e.substring(5,7))}),xm=(e,t)=>(({r:e,g:t,b:n},r)=>`#${ym((1-r)*e)}${ym((1-r)*t)}${ym((1-r)*n)}`)(bm(e),t),wm=(e,t)=>(({r:e,g:t,b:n},r)=>`#${ym(e+(255-e)*r)}${ym(t+(255-t)*r)}${ym(n+(255-n)*r)}`)(bm(e),t),Cm=function(e,t){try{if(t<-1||t>1||"#"!==e[0]||4!==e.length&&7!==e.length)return;let n=e.slice(1);3==n.length&&(n=`${n[0]}${n[0]}${n[1]}${n[1]}${n[2]}${n[2]}`);const r=n.match(new RegExp("[0-9a-fA-F]{2}","g"));if(!r||3!==r.length)return;const i=r.map(e=>{const n=parseInt(e,16),r=t<0?n:255-n;return(n+Math.ceil(r*t)).toString(16).toUpperCase().padStart(2,"0")});return i.reduce((e,t)=>`${e}${t}`,"#")}catch{return}},Sm=(e,t,n)=>{const r=t=>(t+e/60)%6,i=e=>n*(1-t*Math.max(0,Math.min(r(e),4-r(e),1)));return[Math.round(255*i(5)),Math.round(255*i(3)),Math.round(255*i(1))]},Am=(e,t,n)=>{e/=255,t/=255,n/=255;const r=Math.max(e,t,n),i=r-Math.min(e,t,n),o=0===i?0:i&&r===e?(t-n)/i:r===t?2+(n-e)/i:4+(e-t)/i;return[Math.round(60*(o<0?o+6:o)),Math.round(r&&i/r*100),Math.round(100*r)]},km=e=>{let t=0,n=0,r=0;4==e.length?(t="0x"+e[1]+e[1],n="0x"+e[2]+e[2],r="0x"+e[3]+e[3]):7==e.length&&(t="0x"+e[1]+e[2],n="0x"+e[3]+e[4],r="0x"+e[5]+e[6]),t/=255,n/=255,r/=255;let i=Math.min(t,n,r),o=Math.max(t,n,r),a=o-i,s=0,l=0,c=0;return s=0==a?0:o==t?(n-r)/a%6:o==n?(r-t)/a+2:(t-n)/a+4,s=Math.round(60*s),s<0&&(s+=360),c=(o+i)/2,l=0==a?0:a/(1-Math.abs(2*c-1)),l=+(100*l).toFixed(1),c=+(100*c).toFixed(1),[s,l,c]};function _m(e,t,n){t/=100,n/=100;const r=(1-Math.abs(2*n-1))*t,i=r*(1-Math.abs(e/60%2-1)),o=n-r/2;let a=0,s=0,l=0;return 0<=e&&e<60?(a=r,s=i,l=0):60<=e&&e<120?(a=i,s=r,l=0):120<=e&&e<180?(a=0,s=r,l=i):180<=e&&e<240?(a=0,s=i,l=r):240<=e&&e<300?(a=i,s=0,l=r):300<=e&&e<360&&(a=r,s=0,l=i),[mm(Math.round(255*(a+o)).toString(16)),mm(Math.round(255*(s+o)).toString(16)),mm(Math.round(255*(l+o)).toString(16))]}const Em=e=>{const t=new RegExp("^#(?:[A-Fa-f0-9]{3}){1,2}$"),n=new RegExp("^rgb\\(\\s*(25[0-5]|2[0-4][0-9]|1?\\d{1,2})\\s*,\\s*(25[0-5]|2[0-4][0-9]|1?\\d{1,2})\\s*,\\s*(25[0-5]|2[0-4][0-9]|1?\\d{1,2})\\s*\\)$|^rgb\\(\\s*(\\d{1,3}(?:\\.\\d+)?%)\\s*,\\s*(\\d{1,3}(?:\\.\\d+)?%)\\s*,\\s*(\\d{1,3}(?:\\.\\d+)?%)\\s*\\)$"),r=new RegExp("^hsl\\(\\s*(3[0-5][0-9]|360|[12]?\\d{1,2})\\s*,\\s*(100(?:\\.0+)?|\\d{1,2}(?:\\.\\d+)?)%\\s*,\\s*(100(?:\\.0+)?|\\d{1,2}(?:\\.\\d+)?)%\\s*\\)$"),i=t.test(e)?km(e):n.test(e)?(e=>{const t=e.indexOf(",")>-1?",":" ",n=e.substring(4).split(")")[0].split(t),r=[0,0,0];for(const e in n){n[e]=n[e].trim();const t=n[e];t.indexOf("%")>-1?r[e]=Math.round(+t.substring(0,t.length-1)/100*255):r[e]=+n[e]}const i=r[0]/255,o=r[1]/255,a=r[2]/255;let s=Math.min(i,o,a),l=Math.max(i,o,a),c=l-s,d=0,u=0;return u=(l+s)/2,d=0==c?0:c/(1-Math.abs(2*u-1)),d=+(100*d).toFixed(1),u=+(100*u).toFixed(1),[0,d,u]})(e):r.test(e)&&r.exec(e)?.slice(1);let o="";return i&&i[2]&&parseInt(i[2])>50?o="hsl("+i[0]+","+i[1]+"%,"+(parseInt(i[2])-10)+"%)":(i&&i[2]&&parseInt(i[2])<50||i&&i[2]&&50===parseInt(i[2]))&&(o="hsl("+i[0]+","+i[1]+"%,"+(parseInt(i[2])+10)+"%)"),o};function Tm(e,t){return`${e}${{10:"1a",20:"33",30:"4d",40:"66",50:"80",60:"99",70:"b3",80:"cc",90:"e6"}[t]}`}const Dm={isValid:Mm,rgb:(e,t,n)=>({toHex:()=>({string:()=>"#"+mm(e.toString(16))+mm(t.toString(16))+mm(n.toString(16))}),toHsb:()=>({values:()=>Am(e,t,n),hue:()=>Am(e,t,n)[0],staturation:()=>Am(e,t,n)[1],brightness:()=>Am(e,t,n)[2]})}),hsl:(e,t,n)=>({toHex:()=>({values:()=>_m(e,t,n),string:()=>{const r=_m(e,t,n);return"#"+r[0]+r[1]+r[2]}})}),hsb:(e,t,n)=>({toRgb:()=>({values:()=>Sm(e,t,n),red:()=>Sm(e,t,n)[0],green:()=>Sm(e,t,n)[1],blue:()=>Sm(e,t,n)[2]})}),hex:e=>({toRgbaColor:t=>`rgba(${String(bm(e).r).padStart(2,"0")},${String(bm(e).g).padStart(2,"0")},${String(bm(e).b).padStart(2,"0")},${String(t)})`,toRgbColor:()=>`rgb(${String(bm(e).r).padStart(2,"0")},${String(bm(e).g).padStart(2,"0")},${String(bm(e).b).padStart(2,"0")})`,toRgb:()=>({values:()=>bm(e),red:()=>bm(e).r,green:()=>bm(e).g,blue:()=>bm(e).b}),toHsl:()=>({values:()=>km(e),hue:()=>km(e)[0],saturation:()=>Math.round(km(e)[1]),luminance:()=>Math.round(km(e)[2]),string:()=>{const t=km(e);return"hsl("+t[0]+","+Math.round(t[1])+"%,"+Math.round(t[2])+"%)"}})})},jm=e=>{const t=e.replace("#","");return parseInt(t,16)>8388607.5?"black":"white"},Rm=e=>{const t=e.replace("#","");return(299*parseInt(t.substring(0,2),16)+587*parseInt(t.substring(2,4),16)+114*parseInt(t.substring(4,6),16))/1e3>=125?"black":"white"};function Mm(e){return String(e).startsWith("#")&&String(e).length>=4&&String(e).length<=7}const Im={success:"green",error:"orange",warning:"yellow"};function Om(e,t){return t in e.color?e.color[t]:t}const Lm={config:void 0,get:function(){return this.config?this.config:this.initTheme()},initTheme:function(e=t){const t={primary:e.buttonColor,primaryLight:Dm.hsl(Dm.hex(e.buttonColor).toHsl().hue(),60,35).toHex().string(),primaryTextLight:Dm.hsl(Dm.hex(e.buttonColor).toHsl().hue(),60,35).toHex().string(),secondary:e.linkColor,headerColor:e&&e.headerColor||"",headerTextColor:e&&e.headerTextColor,headerUserBackground:e&&e.headerUserBackground,headerUserTextColor:e&&e.headerUserTextColor,headerSearchBarTextColor:e.headerSearchBarTextColor,headerSearchBarBackgroundColor:e?.headerSearchBarBackgroundColor??(e?.headerColor?Em(e.headerColor):"#313941"),navBackground:e&&e.navBackground,navTextColor:e.navTextColor,lavender:"#8F7CEA",orange:"#E12B43",orangeLight:Dm.hsl(Dm.hex("#E12B43").toHsl().hue(),60,35).toHex().string(),orangeTextLight:Dm.hsl(Dm.hex("#E12B43").toHsl().hue(),60,35).toHex().string(),yellow:"#FFBB54",navy:"#131E4B",overseas:"#392994",green:"#0D846B",greenLight:Dm.hsl(Dm.hex("#0D846B").toHsl().hue(),60,35).toHex().string(),greenTextLight:Dm.hsl(Dm.hex("#0D846B").toHsl().hue(),60,35).toHex().string(),raspberry:"#E12B43",night1:"#2B3870",night2:"#10162D",sand:"#FFEED7",sandLight:"#FFF8F0",forest:e.forest,sky:"#9CC9FF",sky15:"#9CC9FF26",black:"#000000",black10:"#00000019",black15:"#00000026",black20:"#00000033",grey6:"#2E2E33",grey5:"#4A4A52",grey4:"#848491",grey3:"#BEBED1",grey2:"#DADAF0",grey1:"#EFEFFF",grey0:"#F8F8FF",white:"#FFFFFF",transparent:"transparent",transparentHexa:"#ffffff00"},n=Dm.hsl(Dm.hex(t.primary).toHsl().hue(),Dm.hex(t.primary).toHsl().saturation(),95).toHex().string(),r=Dm.hsl(Dm.hex(t.green).toHsl().hue(),Dm.hex(t.green).toHsl().saturation(),95).toHex().string(),i=Dm.hsl(Dm.hex(t.orange).toHsl().hue(),Dm.hex(t.orange).toHsl().saturation(),95).toHex().string(),o={primaryD20:xm(t.primary,.2),primaryL15:wm(t.primary,.15),primaryL80:wm(t.primary,.8),primaryL90:wm(t.primary,.9),primaryLight:n,primaryLightHover:Dm.hsl(Dm.hex(n).toHsl().hue(),Dm.hex(n).toHsl().saturation()+5,Dm.hex(n).toHsl().luminance()-5).toHex().string(),secondaryD20:xm(t.secondary,.2),secondaryL15:wm(t.secondary,.15),secondaryL80:wm(t.secondary,.8),secondaryL90:wm(t.secondary,.9),greenD20:xm(t.green,.2),greenL20:wm(t.green,.2),greenL80:wm(t.green,.8),greenL90:wm(t.green,.9),greenLight:r,greenLightHover:Dm.hsl(Dm.hex(r).toHsl().hue(),Dm.hex(r).toHsl().saturation()+5,Dm.hex(r).toHsl().luminance()-5).toHex().string(),orangeD20:xm(t.orange,.2),orangeL15:wm(t.orange,.15),orangeL80:wm(t.orange,.8),orangeL90:wm(t.orange,.9),orangeLight:i,orangeLightHover:Dm.hsl(Dm.hex(i).toHsl().hue(),Dm.hex(i).toHsl().saturation()+5,Dm.hex(i).toHsl().luminance()-5).toHex().string(),raspberryL95:wm(t.raspberry,.95),yellowL80:wm(t.yellow,.8),yellowL90:wm(t.yellow,.9)};return this.config={dpr:Math.ceil(window?.devicePixelRatio||2),fallbackUrl:{article:"/imagestatic/30x30/icons/article.png"},font:{family:e?.fontFamily?`'${e.fontFamily}', sans-serif`:"'Poppins', sans-serif",color:t.grey5,hrefColor:t.secondary,size:"16px",lineHeight:"1.5em",weight:{light:300,normal:400,medium:500,semiBold:600,bold:700}},color:{...t,...o},zIndex:{toaster:1e6,forceTop:1e5,tooltip:50030,tinyMCEModal:50020,modal:1100,dropdown:1e3,sidePanelModal:5,fullScreenContainer:3,dropdownModal:10,dropDownModalIcon:11},space:{xs:4,sm:8,md:16,l:24,xl:32},size:{xs:4,sm:8,md:16,l:24,xl:32}},this.config}},Pm=Lm,Bm=JSON.parse('{"en":{"ACTIVITY_Can_Not_comment_Desc":"You cannot comment on this content. Several reasons are possible:<p>- You are not part of the audience of the content</p><p>- You do not have sufficient rights according to the group settings</p><p>- A solar storm creates interference (less likely, but you never know)","ADD_FAVORITE":"Add to favorites","APP_Animated_Meeting":"Diapazone","APP_Bookmark_Bookmarks":"favorites","APP_FileIntegrity_Quarantine_Files_Message":"{ count } file(s) in quarantine","APP_SurveyDate":"Sondage de date","APP_SurveyDate_Over":"The survey is closed","ARTICLE_Nb_Elements":"Documents","ARTICLE_Nb_Selected_Elements":"Elements sélectionés","ATTACHMENTS_No_Download":"No download","ATTACHMENTS_Preview_Successfully_Recomputed":"Preview successfully recomputed","ATTACHMENTS_Recompute_Preview":"Recompute preview","ATTACHMENTS_See_Downloads":"See downloads","AppLeftColumn_App_Navigation":"Application navigation menu","AppLeftColumn_Close_Panel":"Reduces the size of the menu","AppLeftColumn_Open_Panel":"Expands the menu","BUTTON_Title_Add_Image":"Add image","BUTTON_Title_Add_New_Task":"Add new task","BUTTON_Title_Add_Uri":"Add link to task","BUTTON_Title_Open_Edit_Panel":"Button that open the edit panel","BUTTON_Title_Open_Remove_Widget":"Button that remove the widget entirely","BUTTON_Title_Remove_Item":"Remove task","BUTTON_Title_Remove_Uri":"Remove link","CALENDAR_All_Day":"All day","CALENDAR_Answer":"Répondre","CALENDAR_BoardCard":"Board card","CALENDAR_Event":"Evénement","CALENDAR_Event_Date":"Le {date}, {time}","CALENDAR_Event_Date_All_Day":"Le {date}","CALENDAR_Event_Date_Start_End":"Du {dateStart}, {timeStart} au {dateEnd}, {timeEnd}","CALENDAR_Event_Date_Start_End_All_Day":"Du {dateStart} au {dateEnd}","CALENDAR_Event_Date_Start_End_Same_Day":"Le {dateStart}, de {timeStart} à {timeEnd}","CALENDAR_Event_Date_Start_End_Same_Day_All_Day":"Le {dateStart}","CALENDAR_Event_Remaining_Seats":"places restantes","CALENDAR_Event_Report":"Compte rendu","CALENDAR_Event_Revive":"Relancer","CALENDAR_Event_Revive_All":"Tous","CALENDAR_Event_Revive_Available":"Participant(s)","CALENDAR_Event_Revive_Message_Description":"Quel message souhaitez vous envoyer ?","CALENDAR_Event_Revive_Message_Label":"Message","CALENDAR_Event_Revive_On_Spot":"En présentiel","CALENDAR_Event_Revive_Select_Description":"Qui souhaitez vous relancer ?","CALENDAR_Event_Revive_Unavailable":"Indisponible(s)","CALENDAR_Event_Revive_Visio":"En distanciel","CALENDAR_Event_Revive_Waiting":"En attente","CALENDAR_Event_Visio_Url":"Rejoindre la web conférence","CALENDAR_Join":"Je participe","CALENDAR_Meeting":"Meeting","CALENDAR_Reject":"Je ne participe pas","CALENDAR_Status_Available":"Vous participez","CALENDAR_Status_OnSpot":"En présentiel","CALENDAR_Status_Unavailable":"Vous ne participez pas","CALENDAR_Status_Unknown":"En attente","CALENDAR_Status_Visio":"En distanciel","CALENDAR_Today":"Today","CALENDAR_dayGridMonth":"Month","CALENDAR_listWeek":"List","CALENDAR_timeGridDay":"Day","CALENDAR_timeGridWeek":"Week","CLIPBOARD_Copy_Success":"Copied to clipboard","COLOR_PICKER_recent_colors":"Recent colors","COMMENT_Add_Comment":"Add comment","COMMENT_Add_Widget":"Add widget","COMMENT_Answer":"Answer","COMMENT_Choose_Response":"Choose","COMMENT_Chosen_Response":"Chosen response","COMMENT_Comments":"comment(s)","COMMENT_Delete_Comment":"Delete comment ?","COMMENT_Display_More":"Display more comments","COMMENT_Just_Now":"just now","COMMENT_Last_Comment":"Last comment","COMMENT_Minutes_Ago":"{minutes} minutes ago","COMMENT_No_Comment":"No comment...","COMMENT_Placeholder":"Write a comment","COMMENT_Unselect_Response":"Unselect response","COMMENT_WIDGET_CHECKLIST_Add_New_Task":"Add new task","COMMENT_WIDGET_CHECKLIST_Add_Uri":"Add an uri","COMMENT_WIDGET_CHECKLIST_New_Task":"New task","COMMENT_WIDGET_CHECKLIST_Title":"Title","COMMENT_WIDGET_CHECKLIST_Uri_Link":"Button link","COMMENT_WIDGET_CHECKLIST_Uri_New_Page":"New page","COMMENT_WIDGET_CHECKLIST_Uri_Same_Page":"Same page","COMMENT_WIDGET_CHECKLIST_Uri_Target":"open","COMMENT_WIDGET_Configure":"Configure","COMMENT_WIDGET_Delete_Widget":"Delete comment ?","CONFIRMATION_MODAL_Default_Title":"Confirm action","CONTACT_Pro_Members":"Business Contacts","CROP_Crop":"Crop","CROP_Rotate_Left":"Rotate left","CROP_Rotate_Right":"Rotate Right","CROP_Title":"Crop the image","CRPT_Add_Report":"Report content","CRPT_Comment_Of":"Comment of","CRPT_Report_Description_Required":"La description est obligatoire","CRPT_Report_Sent":"Report sent","DRIVE_Access_Denied":"Vous n\'avez pas accès à ces documents.","DND_NEW_SECTION_LABEL":"New Section","DND_STACK_TITLE":"Active Buttons","DND_SECTIONS_TITLE":"Sections","DND_ADD_SECTION":"+ Add section","DRIVE_Google_Not_Available":"This service is temporarily unavailable. Our team is currently working on a solution. We apologize for the inconvenience.","DRIVE_Input_Search_Group_Item":"Rechercher parmis les dossiers et documents","DRIVE_Input_Search_Groupe":"Rechercher un groupe","DRIVE_Is_Empty":"Nous n\'avons trouvé aucun documents","DRIVE_MS_Accounts":"Accounts","DRIVE_MS_Default":"Default","DRIVE_MS_Error_Personal_Account":"Personal accounts are not supported","DRIVE_MS_Group_Filters":"Filtres","DRIVE_MS_Group_Filters_All":"Tous les groupes","DRIVE_MS_Group_Filters_Member_Of":"Seulement les groupes ou je suis membre","DRIVE_MS_Logout":"Logout","DRIVE_MS_Need_Login":"Please login to access your files","DRIVE_MS_Other_Account":"Add another account","DRIVE_MS_Set_Default_Account":"Set as default account","DRIVE_Private":"Private","DRIVE_Private_Group":"Ce groupe est privé","DRIVE_Public":"Public","DRIVE_Root":"Microsoft 365","DRIVE_Select_Document":"Sélectionner ce document","DRIVE_Select_Folder":"Sélectionner ce dossier","ERROR404_Msg":"Hum...There is nothing here...","ERROR404_MsgDetail":"This page does not exist, or its content has been deleted. Go back to home?","ERROR404_Wall":"Go back home","ERROR_Mail_Invalid":"Invalid email.","EVENT_Export_Calendar_ICalendar_Format":"Export to iCalendar format","EVENT_ICalendar_Export_Url":"Sync all events","EVENT_ICalendar_Export_Url_Explanation":"Copy url in your mail client","EVENT_ICalendar_Export_Url_Subscribed":"Sync accepted events","EVENT_I_Register":"Je participe","FIELDS_Add_Option":"Add a response","FILE_Existing_Files_Label":"Added files","FILE_Upload_Label":"Drop or select files","FILE_Viewer_Open_With":"Ouvrir avec","FILE_Viewer_Preview":"Aperçu","FOLDER_Nb_Elements":"Documents","GLOBAL_A11Y_APP_NAV":"Menu of the application {appName}","GLOBAL_Action_Missing_License":"🔐 The license of the app is not active on your platform!","GLOBAL_Add":"Add","GLOBAL_Add_File":"Add file","GLOBAL_Add_Image":"Add image","GLOBAL_Add_Video":"Add video","GLOBAL_Alert_Author":"Recevoir une copie","GLOBAL_Animated_Meeting":"Diapazone","GLOBAL_Attachments":"Pièces jointes","GLOBAL_BACK_PREVIOUS_SECTION":"back to the previous section","GLOBAL_CHECK_BOXES":"Check the boxes","GLOBAL_CHECK_FIRST_BOXE":"It\'s empty! Check your first tag.","GLOBAL_Cancel":"Cancel","GLOBAL_Close":"Close","GLOBAL_Comments":"Comments","GLOBAL_Confirm":"Confirm","GLOBAL_Continue":"Continue","GLOBAL_Creation_Date":"Creation date","GLOBAL_Creator":"Creator","GLOBAL_Delete":"Delete","GLOBAL_Delete_Confirm":"Confirm delete","GLOBAL_Delete_Confirmation":"Please confirm suppression","GLOBAL_Download":"Download","GLOBAL_Downloads":"Downloads","GLOBAL_Edit":"Edit","GLOBAL_File":"File","GLOBAL_File_Bank":"Document bank","GLOBAL_Files":"Files","GLOBAL_Filter":"Filter","GLOBAL_Form_Characters":"characters","GLOBAL_Form_Controls_Date":"Date must be formatted dd/mm/yyyy","GLOBAL_Form_Controls_MaxLength":"Must be {max} characters or less","GLOBAL_Form_Controls_MaxValue":"Must be at max {max}","GLOBAL_Form_Controls_MinLength":"Must be {min} characters or more","GLOBAL_Form_Controls_MinValue":"Must be at least {min}","GLOBAL_Form_Controls_Number":"Must be a number","GLOBAL_Form_Controls_Pattern":"Must follow the specified pattern {pattern}","GLOBAL_Form_Controls_Required":"Required","GLOBAL_Form_Controls_Url":"Invalid url address","GLOBAL_Form_Description":"Les champs obligatoires sont identifiés par un *","GLOBAL_Form_No_Options":"No option","GLOBAL_Form_SendAlert":"Send the alert email to those who have requested it","GLOBAL_Go_To_Content":"Go to content","GLOBAL_Groups":"Groups","GLOBAL_Image":"Image","GLOBAL_Import":"Import","GLOBAL_Insert":"Insert","GLOBAL_Load_More":"Load more results","GLOBAL_Loading":"Loading","GLOBAL_Login":"Login","GLOBAL_Move":"Move","GLOBAL_Next":"Next","GLOBAL_No_Result":"No result","GLOBAL_Object_Link":"Objet lié","GLOBAL_Ok":"OK","GLOBAL_Options":"Options","GLOBAL_Platform_Color":"Platform colors","GLOBAL_Provide_Missing_Token":"A token must be provided to use this widget","GLOBAL_Public_Groups":"Public groups","GLOBAL_Publish":"Publish","GLOBAL_Recommended":"recommended","GLOBAL_Redirect_To_User_Profile_React":"Redirection to the profile page of {username}","GLOBAL_Reset":"Réinitialiser","GLOBAL_Save":"Save","GLOBAL_Schedule":"Schedule","GLOBAL_Search":"Search","GLOBAL_Search_Loading":"Searching...","GLOBAL_See_Less":"See less","GLOBAL_See_More":"See more","GLOBAL_Select":"Select","GLOBAL_Select_Date_In_Calendar":"Select a date in the calendar","GLOBAL_Select_Time":"Select time","GLOBAL_Send_Alert":"Envoyer le mail de notification à ceux qui l’ont demandé","GLOBAL_Sent":"Envoyé","GLOBAL_Start_typing":"Start typing to search","GLOBAL_Successffully_Deleted":"Successfully deleted","GLOBAL_Today":"Today","GLOBAL_Unsuccessfully_Deleted":"An error occured while deleting your content","GLOBAL_Unsuported_File_Format":"Unsupported file format","GLOBAL_Users":"Users","GLOBAL_Validation":"Confirm","GLOBAL_Video_Player":"Video player","GLOBAL_Yesterday":"Yesterday","HIERARCHICAL_TAXONOMY_DESCRIPTION":"Browse and select options by checking the boxes. You can select an unlimited number of options.","HOMEUSER_Home":"Home","INPUT_FILE_ADVANCED_Dropbox":"Dropbox","INPUT_FILE_ADVANCED_FileBank":"Filebank","INPUT_FILE_ADVANCED_Google_Drive":"Google Drive","INPUT_FILE_ADVANCED_Microsoft_365":"Microsoft 365","INPUT_RichText_Html_Modal_Label":"HTML content","INPUT_RichText_Html_Modal_Title":"Edit HTML content","INPUT_SELECT_Has_Reached_Limit":"You reached the limit of {limit} items","JIA_TINY_BUTTON_TOOLTIP":"AI features to help you write","JIA_TINY_DEVELOP":"Develop","JIA_TINY_SUMMARIZE":"Summarize","JIA_TINY_TLDR":"TLDR","OfficeHook_Conf_CalDav_Calendar":"Agenda","OfficeHook_Conf_CardDav_Address_Book":"Adress book","OfficeHook_Conf_IMap_Hostname":"Hostname","OfficeHook_Conf_IMap_Mailbox":"Mailbox","OfficeHook_Conf_Password":"Password","OfficeHook_Conf_Prompt_Submit":"Submit","OfficeHook_Conf_Provider":"Provider","OfficeHook_Conf_Select_Connection_Security":"Connection security","OfficeHook_Conf_Select_Provider":"Select a provider","OfficeHook_Conf_Url":"Url","OfficeHook_Conf_Username":"Username","OfficeHook_Settings":"Paramètres généraux","Office_No_Providers":"Aucun fournisseur disponible, contactez un administrateur","Office_Set_Configuration":"Connectez-vous","PANEL_Background_Color":"Couleur du fond","PANEL_Edit_Slide_Background_Color":"Background color","PANEL_Edit_Slide_Background_Opacity_Filter":"Background opacity filter","PANEL_Image_Size":"Taille de l\'image","PANEL_Size_Small":"Petit","PANEL_Size_Medium":"Moyen","PANEL_Size_Large":"Grand","PANEL_Title":"Titre","PANEL_Text_Color":"Couleur du texte","PANEL_Text_Size":"Taille du texte","PANEL_Widget_Empty_Setting":"Il n\'y a rien à configurer","PANEL_Widget_Level":"Niveau d\'affichage","PANEL_Widget_Selection":"Style & décorations","PANEL_Widget_Settings":"Configuration du widget","PLUGIN_Manager_CalDav_Prompt":"Tester la connexion CalDav","PLUGIN_Manager_CardDav_Prompt":"Tester la connexion CardDav","PLUGIN_Manager_Connection_Error":"Connexion impossible. Vérifiez vos identifiants","PLUGIN_Manager_IMap_Prompt":"Tester la connexion IMAP","POLL_See_Response_After":"Hidden answers","POWERED_BY":"Powered by","POWERED_BY_Link":"https://www.jamespot.com/","POWERED_BY_See_More":"Know more","PUBLISH_To":"Publish for","REMOVE_FAVORITE":"Remove from favorites","SEARCH_File":"Search file","SLIDER_IMAGE_Empty_Des":"Ajoutez une image pour illustrer votre widget !","SOCIALPOLL_Anonymous":"Anonymous answers","SPOTIT_Receive_A_Copy":"Receive a copy","SPOTLIGHT_Send_Alert_To_Subscribers":"Send notification mail to those who have requested it","STYLE_Background_Color":"Couleur de fond","STYLE_Border_Style":"Style de bordure","STYLE_Border_Style_Dashed":"Bordure discontinue","STYLE_Border_Style_Dotted":"Bordure en pointillés","STYLE_Border_Style_None":"Aucune bordure","STYLE_Border_Style_Solid":"Bordure continue","STYLE_Border_Width":"Taille de la bordure","STYLE_Font_Weight":"Epaisseur du texte","STYLE_Font_Weight_Bold":"Bold","STYLE_Font_Weight_Medium":"Medium","STYLE_Font_Weight_Normal":"Normal","STYLE_Padding":"Marge interne","STYLE_Radius":"Arrondi","STYLE_Text_Align":"Alignement du texte","STYLE_Text_Align_Center":"Center","STYLE_Text_Align_Justify":"Justify","STYLE_Text_Align_Left":"Left","STYLE_Text_Align_Right":"Right","STYLE_Text_Color":"Couleur du texte","STYLE_Text_Size":"Taille du texte","TINY_MCE_Insert_Markdown":"Insert Markdown","TINY_MCE_Markdown_Shortcuts":"Markdown shortcuts","WIDGET_Agenda":"Agenda","WIDGET_Agenda_Accepted":"You participate","WIDGET_Agenda_Declined":"You don\'t participate","WIDGET_Agenda_Pending":"You haven\'t responded yet","WIDGET_Builder":"Widget Builder","WIDGET_Button_Empty_Text":"Ajouter un label","WIDGET_Calendar_CalDav":"Office Agenda","WIDGET_Cannot_Display":"A widget is available but cannot be displayed here for now... ({widget})","WIDGET_Check_List_Description":"Add a checklist to keep track of progress","WIDGET_Check_List_Help":"Collaboration mode allows users with access to this widget to modify it","WIDGET_Collaboration":"Collaboration","WIDGET_Contact_CardDav":"Office Contacts","WIDGET_Contacts":"Contacts","WIDGET_Datasource_Cancel":"Annuler","WIDGET_Datasource_Excel_Broken_Model":"Les premières cellules de vos colonnes ne peuvent pas être vide. Corrigez votre fichier pour mettre à jour votre widget. ","WIDGET_Datasource_Object":"Source de donnée","WIDGET_Datasource_Select_Document":"Sélectionner depuis la banque documentaire","WIDGET_Datasource_Select_Wedoc_File":"Sélectionner depuis wedoc","WIDGET_Datasource_Spreadsheet_Header_Error":"Cette feuille contient au moins une colonne sans titre","WIDGET_Display_Level_1":"Icône","WIDGET_Display_Level_2":"Icône + Pastille","WIDGET_Display_Level_3":"Contenus","WIDGET_Display_Level_4":"Contenus + Interactions","WIDGET_Display_Level_Select":"Sélectionner un mode d\'affichage","WIDGET_Email_IMAP":"Office Mails","WIDGET_Lucca_Absence":"Absence (Timmi)","WIDGET_Lucca_Absence_No_Result":"Aucun resultat","WIDGET_Lucca_Absence_Text":"Affichez les absents renseignés depuis votre outil RH Timmi pour une meilleure communication interne.","WIDGET_Lucca_Absence_Url":"Url","WIDGET_Lucca_Absence_Url_Error":"Une erreur s\'est produite","WIDGET_Lucca_Absent_Until":"Absent jusqu\'au","WIDGET_Lucca_Absent_Until_Today":"Absent jusqu\'a aujourd\'hui","WIDGET_Lucca_Absent_Until_Tomorrow":"Absent jusqu\'a demain","WIDGET_Presence_Availability":"{max} places disponibles","WIDGET_Presence_Is_Closed":"Il n\'est plus possible de répondre à ce sondage","WIDGET_Presence_Limit":"Limiter le nombre de places","WIDGET_Presence_Limit_Response_Error":"Il n y a plus de place disponible","WIDGET_Presence_Limit_Value":"Présence maximum","WIDGET_Prompt_Dropdown":"Configurer","WIDGET_Prompt_Logout":"Se déconnecter","WIDGET_Quick_Survey":"Add a survey to collect feedback","WIDGET_Quick_Survey_Text":"Add a survey to collect feedback","WIDGET_Set_Widget":"Configurer","WIDGET_Survey_After_Help":"Respondents will only see the results once after they respond. They will no longer be able to edit their answer.","WIDGET_Survey_Anonymize_Help":"Les réponses de ce sondage seront anonymes : personne ne pourra savoir qui a répondu quoi, seulement les pourcentages.","WIDGET_Survey_Close_Survey":"Close the survey","WIDGET_Survey_Close_Survey_Description":"do you really want to finish this survey?","WIDGET_Survey_Closing":"Enable closing","WIDGET_Survey_Closing_Help":"Display closing button","WIDGET_Survey_Multiple":"Multiple response","WIDGET_Survey_Multiple_Help":"Allow multiple responses","WIDGET_Survey_Open":"Open survey","WIDGET_Survey_Open_Help":"Allows other users to add suggestion","WIDGET_USER_PROFILE_Font_Weight_Label":"Gras","WIDGET_USER_PROFILE_Display_Mode_Label":"Affichage du nom","WIDGET_USER_PROFILE_Only_Picture":"Image seule","WIDGET_USER_PROFILE_Picture_Alt_Label":"Image de l\'utilisateur","WIDGET_USER_PROFILE_Picture_FirstName":"Avec prénom","WIDGET_USER_PROFILE_Picture_FirstName_LastName":"Avec prénom + nom","AUDIENCE_GROUPS_AND_USERS":"{groups} group(s) and {users} users(s)","AUDIENCE_GROUPS_ONLY":"{groups} group(s)","AUDIENCE_USERS_ONLY":"{users} user(s)","AUDIENCE_ONLY_ME":"Only me"}}'),Nm=({children:e,onDoubleTap:t,onDoubleTapMsDelay:n=400})=>{const[r,i]=(0,D.useState)(0);return(0,D.useEffect)(()=>{r>1&&(t(),i(0))},[r,t]),(0,M.jsx)("div",{onClick:()=>{i(r+1),setTimeout(()=>{i(0)},n)},children:e})},Fm=({elms:e,renderEl:t,onDrag:n,onDrop:r,isFullWidth:i=!1})=>(0,M.jsx)(ft,{backend:Lr,children:e.map((e,o)=>(0,M.jsx)($m,{onDrag:n,onDrop:r,index:o,isFullWidth:i,children:(0,M.jsx)(M.Fragment,{children:t(e,o)})},o))}),$m=({children:e,index:t,onDrag:n,onDrop:r,isFullWidth:i})=>{const o=(0,D.useRef)(null),[,a]=Kn({accept:"div",drop(e){if(!o.current)return;if(!r)return;const t=e.index;r(t,0)},hover(e,r){if(!o.current)return;const i=e.index,a=t;if(i===a)return;const s=o.current?.getBoundingClientRect(),l=(s.bottom-s.top)/2,c=r.getClientOffset().y-s.top;i<a&&c<l||i>a&&c>l||(n(i,a),e.index=a)}}),[{isDragging:s},l]=Vn({type:"div",item:()=>({index:t}),collect:e=>({isDragging:e.isDragging()})}),c=(0,D.useMemo)(()=>({opacity:s?.4:1,width:i?"100%":"auto"}),[s,i]);return l(a(o)),(0,M.jsx)("div",{ref:o,style:c,children:e})};var zm=i(2736),Hm=i.n(zm),Um="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),Wm=new Uint8Array(16);function Gm(){if(!Um)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Um(Wm)}for(var Vm=[],qm=0;qm<256;++qm)Vm[qm]=(qm+256).toString(16).substr(1);const Ym=function(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||Gm)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var o=0;o<16;++o)t[r+o]=i[o];return t||function(e,t){var n=t||0,r=Vm;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")}(i)};function Jm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Qm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jm(Object(n),!0).forEach(function(t){Xm(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jm(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Zm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Km(){return Km=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Km.apply(this,arguments)}function eg(e){return eg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},eg(e)}function tg(e,t){return tg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},tg(e,t)}function ng(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=eg(e);if(t){var i=eg(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function rg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ig="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==i.g?i.g:"undefined"!=typeof self?self:{},og=function(e){return e&&e.Math==Math&&e},ag=og("object"==typeof globalThis&&globalThis)||og("object"==typeof window&&window)||og("object"==typeof self&&self)||og("object"==typeof ig&&ig)||function(){return this}()||Function("return this")(),sg={},lg=function(e){try{return!!e()}catch(e){return!0}},cg=!lg(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),dg=!lg(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),ug=dg,hg=Function.prototype.call,pg=ug?hg.bind(hg):function(){return hg.apply(hg,arguments)},fg={},mg={}.propertyIsEnumerable,gg=Object.getOwnPropertyDescriptor,vg=gg&&!mg.call({1:2},1);fg.f=vg?function(e){var t=gg(this,e);return!!t&&t.enumerable}:mg;var yg,bg,xg=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},wg=dg,Cg=Function.prototype,Sg=Cg.call,Ag=wg&&Cg.bind.bind(Sg,Sg),kg=function(e){return wg?Ag(e):function(){return Sg.apply(e,arguments)}},_g=kg,Eg=_g({}.toString),Tg=_g("".slice),Dg=function(e){return Tg(Eg(e),8,-1)},jg=Dg,Rg=kg,Mg=function(e){if("Function"===jg(e))return Rg(e)},Ig=lg,Og=Dg,Lg=Object,Pg=Mg("".split),Bg=Ig(function(){return!Lg("z").propertyIsEnumerable(0)})?function(e){return"String"==Og(e)?Pg(e,""):Lg(e)}:Lg,Ng=function(e){return null==e},Fg=Ng,$g=TypeError,zg=function(e){if(Fg(e))throw $g("Can't call method on "+e);return e},Hg=Bg,Ug=zg,Wg=function(e){return Hg(Ug(e))},Gg="object"==typeof document&&document.all,Vg={all:Gg,IS_HTMLDDA:void 0===Gg&&void 0!==Gg},qg=Vg.all,Yg=Vg.IS_HTMLDDA?function(e){return"function"==typeof e||e===qg}:function(e){return"function"==typeof e},Jg=Yg,Qg=Vg.all,Zg=Vg.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Jg(e)||e===Qg}:function(e){return"object"==typeof e?null!==e:Jg(e)},Xg=ag,Kg=Yg,ev=function(e,t){return arguments.length<2?(n=Xg[e],Kg(n)?n:void 0):Xg[e]&&Xg[e][t];var n},tv=Mg({}.isPrototypeOf),nv=ag,rv=ev("navigator","userAgent")||"",iv=nv.process,ov=nv.Deno,av=iv&&iv.versions||ov&&ov.version,sv=av&&av.v8;sv&&(bg=(yg=sv.split("."))[0]>0&&yg[0]<4?1:+(yg[0]+yg[1])),!bg&&rv&&(!(yg=rv.match(/Edge\/(\d+)/))||yg[1]>=74)&&(yg=rv.match(/Chrome\/(\d+)/))&&(bg=+yg[1]);var lv=bg,cv=lg,dv=!!Object.getOwnPropertySymbols&&!cv(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&lv&&lv<41}),uv=dv&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,hv=ev,pv=Yg,fv=tv,mv=Object,gv=uv?function(e){return"symbol"==typeof e}:function(e){var t=hv("Symbol");return pv(t)&&fv(t.prototype,mv(e))},vv=String,yv=Yg,bv=TypeError,xv=function(e){if(yv(e))return e;throw bv(function(e){try{return vv(e)}catch(e){return"Object"}}(e)+" is not a function")},wv=xv,Cv=Ng,Sv=pg,Av=Yg,kv=Zg,_v=TypeError,Ev={exports:{}},Tv=ag,Dv=Object.defineProperty,jv=function(e,t){try{Dv(Tv,e,{value:t,configurable:!0,writable:!0})}catch(n){Tv[e]=t}return t},Rv=jv,Mv="__core-js_shared__",Iv=ag[Mv]||Rv(Mv,{}),Ov=Iv;(Ev.exports=function(e,t){return Ov[e]||(Ov[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.25.5",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"});var Lv=zg,Pv=Object,Bv=function(e){return Pv(Lv(e))},Nv=Bv,Fv=Mg({}.hasOwnProperty),$v=Object.hasOwn||function(e,t){return Fv(Nv(e),t)},zv=Mg,Hv=0,Uv=Math.random(),Wv=zv(1..toString),Gv=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Wv(++Hv+Uv,36)},Vv=ag,qv=Ev.exports,Yv=$v,Jv=Gv,Qv=dv,Zv=uv,Xv=qv("wks"),Kv=Vv.Symbol,ey=Kv&&Kv.for,ty=Zv?Kv:Kv&&Kv.withoutSetter||Jv,ny=function(e){if(!Yv(Xv,e)||!Qv&&"string"!=typeof Xv[e]){var t="Symbol."+e;Qv&&Yv(Kv,e)?Xv[e]=Kv[e]:Xv[e]=Zv&&ey?ey(t):ty(t)}return Xv[e]},ry=pg,iy=Zg,oy=gv,ay=TypeError,sy=ny("toPrimitive"),ly=function(e,t){if(!iy(e)||oy(e))return e;var n,r=function(e,t){var n=e[t];return Cv(n)?void 0:wv(n)}(e,sy);if(r){if(void 0===t&&(t="default"),n=ry(r,e,t),!iy(n)||oy(n))return n;throw ay("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&Av(n=e.toString)&&!kv(r=Sv(n,e)))return r;if(Av(n=e.valueOf)&&!kv(r=Sv(n,e)))return r;if("string"!==t&&Av(n=e.toString)&&!kv(r=Sv(n,e)))return r;throw _v("Can't convert object to primitive value")}(e,t)},cy=gv,dy=function(e){var t=ly(e,"string");return cy(t)?t:t+""},uy=Zg,hy=ag.document,py=uy(hy)&&uy(hy.createElement),fy=function(e){return py?hy.createElement(e):{}},my=fy,gy=!cg&&!lg(function(){return 7!=Object.defineProperty(my("div"),"a",{get:function(){return 7}}).a}),vy=cg,yy=pg,by=fg,xy=xg,wy=Wg,Cy=dy,Sy=$v,Ay=gy,ky=Object.getOwnPropertyDescriptor;sg.f=vy?ky:function(e,t){if(e=wy(e),t=Cy(t),Ay)try{return ky(e,t)}catch(e){}if(Sy(e,t))return xy(!yy(by.f,e,t),e[t])};var _y={},Ey=cg&&lg(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),Ty=Zg,Dy=String,jy=TypeError,Ry=function(e){if(Ty(e))return e;throw jy(Dy(e)+" is not an object")},My=cg,Iy=gy,Oy=Ey,Ly=Ry,Py=dy,By=TypeError,Ny=Object.defineProperty,Fy=Object.getOwnPropertyDescriptor,$y="enumerable",zy="configurable",Hy="writable";_y.f=My?Oy?function(e,t,n){if(Ly(e),t=Py(t),Ly(n),"function"==typeof e&&"prototype"===t&&"value"in n&&Hy in n&&!n[Hy]){var r=Fy(e,t);r&&r[Hy]&&(e[t]=n.value,n={configurable:zy in n?n[zy]:r[zy],enumerable:$y in n?n[$y]:r[$y],writable:!1})}return Ny(e,t,n)}:Ny:function(e,t,n){if(Ly(e),t=Py(t),Ly(n),Iy)try{return Ny(e,t,n)}catch(e){}if("get"in n||"set"in n)throw By("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var Uy=_y,Wy=xg,Gy=cg?function(e,t,n){return Uy.f(e,t,Wy(1,n))}:function(e,t,n){return e[t]=n,e},Vy={exports:{}},qy=cg,Yy=$v,Jy=Function.prototype,Qy=qy&&Object.getOwnPropertyDescriptor,Zy=Yy(Jy,"name"),Xy={EXISTS:Zy,PROPER:Zy&&"something"===function(){}.name,CONFIGURABLE:Zy&&(!qy||qy&&Qy(Jy,"name").configurable)},Ky=Yg,eb=Iv,tb=Mg(Function.toString);Ky(eb.inspectSource)||(eb.inspectSource=function(e){return tb(e)});var nb,rb,ib,ob=eb.inspectSource,ab=Yg,sb=ag.WeakMap,lb=ab(sb)&&/native code/.test(String(sb)),cb=Ev.exports,db=Gv,ub=cb("keys"),hb=function(e){return ub[e]||(ub[e]=db(e))},pb={},fb=lb,mb=ag,gb=Zg,vb=Gy,yb=$v,bb=Iv,xb=hb,wb=pb,Cb="Object already initialized",Sb=mb.TypeError,Ab=mb.WeakMap;if(fb||bb.state){var kb=bb.state||(bb.state=new Ab);kb.get=kb.get,kb.has=kb.has,kb.set=kb.set,nb=function(e,t){if(kb.has(e))throw Sb(Cb);return t.facade=e,kb.set(e,t),t},rb=function(e){return kb.get(e)||{}},ib=function(e){return kb.has(e)}}else{var _b=xb("state");wb[_b]=!0,nb=function(e,t){if(yb(e,_b))throw Sb(Cb);return t.facade=e,vb(e,_b,t),t},rb=function(e){return yb(e,_b)?e[_b]:{}},ib=function(e){return yb(e,_b)}}var Eb={set:nb,get:rb,has:ib,enforce:function(e){return ib(e)?rb(e):nb(e,{})},getterFor:function(e){return function(t){var n;if(!gb(t)||(n=rb(t)).type!==e)throw Sb("Incompatible receiver, "+e+" required");return n}}},Tb=lg,Db=Yg,jb=$v,Rb=cg,Mb=Xy.CONFIGURABLE,Ib=ob,Ob=Eb.enforce,Lb=Eb.get,Pb=Object.defineProperty,Bb=Rb&&!Tb(function(){return 8!==Pb(function(){},"length",{value:8}).length}),Nb=String(String).split("String"),Fb=Vy.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!jb(e,"name")||Mb&&e.name!==t)&&(Rb?Pb(e,"name",{value:t,configurable:!0}):e.name=t),Bb&&n&&jb(n,"arity")&&e.length!==n.arity&&Pb(e,"length",{value:n.arity});try{n&&jb(n,"constructor")&&n.constructor?Rb&&Pb(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=Ob(e);return jb(r,"source")||(r.source=Nb.join("string"==typeof t?t:"")),e};Function.prototype.toString=Fb(function(){return Db(this)&&Lb(this).source||Ib(this)},"toString");var $b=Yg,zb=_y,Hb=Vy.exports,Ub=jv,Wb={},Gb=Math.ceil,Vb=Math.floor,qb=Math.trunc||function(e){var t=+e;return(t>0?Vb:Gb)(t)},Yb=qb,Jb=function(e){var t=+e;return t!=t||0===t?0:Yb(t)},Qb=Jb,Zb=Math.max,Xb=Math.min,Kb=Jb,ex=Math.min,tx=function(e){return(t=e.length)>0?ex(Kb(t),9007199254740991):0;var t},nx=Wg,rx=tx,ix=function(e){return function(t,n,r){var i,o=nx(t),a=rx(o),s=function(e,t){var n=Qb(e);return n<0?Zb(n+t,0):Xb(n,t)}(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},ox={includes:ix(!0),indexOf:ix(!1)},ax=$v,sx=Wg,lx=ox.indexOf,cx=pb,dx=Mg([].push),ux=function(e,t){var n,r=sx(e),i=0,o=[];for(n in r)!ax(cx,n)&&ax(r,n)&&dx(o,n);for(;t.length>i;)ax(r,n=t[i++])&&(~lx(o,n)||dx(o,n));return o},hx=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],px=ux,fx=hx.concat("length","prototype");Wb.f=Object.getOwnPropertyNames||function(e){return px(e,fx)};var mx={};mx.f=Object.getOwnPropertySymbols;var gx=ev,vx=Wb,yx=mx,bx=Ry,xx=Mg([].concat),wx=gx("Reflect","ownKeys")||function(e){var t=vx.f(bx(e)),n=yx.f;return n?xx(t,n(e)):t},Cx=$v,Sx=wx,Ax=sg,kx=_y,_x=lg,Ex=Yg,Tx=/#|\.prototype\./,Dx=function(e,t){var n=Rx[jx(e)];return n==Ix||n!=Mx&&(Ex(t)?_x(t):!!t)},jx=Dx.normalize=function(e){return String(e).replace(Tx,".").toLowerCase()},Rx=Dx.data={},Mx=Dx.NATIVE="N",Ix=Dx.POLYFILL="P",Ox=Dx,Lx=ag,Px=sg.f,Bx=Gy,Nx=function(e,t,n,r){r||(r={});var i=r.enumerable,o=void 0!==r.name?r.name:t;if($b(n)&&Hb(n,o,r),r.global)i?e[t]=n:Ub(t,n);else{try{r.unsafe?e[t]&&(i=!0):delete e[t]}catch(e){}i?e[t]=n:zb.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},Fx=jv,$x=function(e,t,n){for(var r=Sx(t),i=kx.f,o=Ax.f,a=0;a<r.length;a++){var s=r[a];Cx(e,s)||n&&Cx(n,s)||i(e,s,o(t,s))}},zx=Ox,Hx=xv,Ux=dg,Wx=Mg(Mg.bind),Gx=Dg,Vx=Array.isArray||function(e){return"Array"==Gx(e)},qx={};qx[ny("toStringTag")]="z";var Yx="[object z]"===String(qx),Jx=Yg,Qx=Dg,Zx=ny("toStringTag"),Xx=Object,Kx="Arguments"==Qx(function(){return arguments}()),ew=Yx?Qx:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Xx(e),Zx))?n:Kx?Qx(t):"Object"==(r=Qx(t))&&Jx(t.callee)?"Arguments":r},tw=Mg,nw=lg,rw=Yg,iw=ew,ow=ob,aw=function(){},sw=[],lw=ev("Reflect","construct"),cw=/^\s*(?:class|function)\b/,dw=tw(cw.exec),uw=!cw.exec(aw),hw=function(e){if(!rw(e))return!1;try{return lw(aw,sw,e),!0}catch(e){return!1}},pw=function(e){if(!rw(e))return!1;switch(iw(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return uw||!!dw(cw,ow(e))}catch(e){return!0}};pw.sham=!0;var fw=!lw||nw(function(){var e;return hw(hw.call)||!hw(Object)||!hw(function(){e=!0})||e})?pw:hw,mw=Vx,gw=fw,vw=Zg,yw=ny("species"),bw=Array,xw=Bg,ww=Bv,Cw=tx,Sw=function(e,t){return new(function(e){var t;return mw(e)&&(t=e.constructor,(gw(t)&&(t===bw||mw(t.prototype))||vw(t)&&null===(t=t[yw]))&&(t=void 0)),void 0===t?bw:t}(e))(0===t?0:t)},Aw=Mg([].push),kw=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,o=6==e,a=7==e,s=5==e||o;return function(l,c,d,u){for(var h,p,f=ww(l),m=xw(f),g=function(e,t){return Hx(e),void 0===t?e:Ux?Wx(e,t):function(){return e.apply(t,arguments)}}(c,d),v=Cw(m),y=0,b=u||Sw,x=t?b(l,v):n||a?b(l,0):void 0;v>y;y++)if((s||y in m)&&(p=g(h=m[y],y,f),e))if(t)x[y]=p;else if(p)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:Aw(x,h)}else switch(e){case 4:return!1;case 7:Aw(x,h)}return o?-1:r||i?i:x}},_w={forEach:kw(0),map:kw(1),filter:kw(2),some:kw(3),every:kw(4),find:kw(5),findIndex:kw(6),filterReject:kw(7)},Ew={},Tw=ux,Dw=hx,jw=Object.keys||function(e){return Tw(e,Dw)},Rw=cg,Mw=Ey,Iw=_y,Ow=Ry,Lw=Wg,Pw=jw;Ew.f=Rw&&!Mw?Object.defineProperties:function(e,t){Ow(e);for(var n,r=Lw(t),i=Pw(t),o=i.length,a=0;o>a;)Iw.f(e,n=i[a++],r[n]);return e};var Bw,Nw=ev("document","documentElement"),Fw=Ry,$w=Ew,zw=hx,Hw=pb,Uw=Nw,Ww=fy,Gw="prototype",Vw="script",qw=hb("IE_PROTO"),Yw=function(){},Jw=function(e){return"<"+Vw+">"+e+"</"+Vw+">"},Qw=function(e){e.write(Jw("")),e.close();var t=e.parentWindow.Object;return e=null,t},Zw=function(){try{Bw=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;Zw="undefined"!=typeof document?document.domain&&Bw?Qw(Bw):(t=Ww("iframe"),n="java"+Vw+":",t.style.display="none",Uw.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(Jw("document.F=Object")),e.close(),e.F):Qw(Bw);for(var r=zw.length;r--;)delete Zw[Gw][zw[r]];return Zw()};Hw[qw]=!0;var Xw=ny,Kw=Object.create||function(e,t){var n;return null!==e?(Yw[Gw]=Fw(e),n=new Yw,Yw[Gw]=null,n[qw]=e):n=Zw(),void 0===t?n:$w.f(n,t)},eC=_y.f,tC=Xw("unscopables"),nC=Array.prototype;null==nC[tC]&&eC(nC,tC,{configurable:!0,value:Kw(null)});var rC,iC=_w.find,oC="find",aC=!0;oC in[]&&Array(1)[oC](function(){aC=!1}),function(e,t){var n,r,i,o,a,s=e.target,l=e.global,c=e.stat;if(n=l?Lx:c?Lx[s]||Fx(s,{}):(Lx[s]||{}).prototype)for(r in t){if(o=t[r],i=e.dontCallGetSet?(a=Px(n,r))&&a.value:n[r],!zx(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;$x(o,i)}(e.sham||i&&i.sham)&&Bx(o,"sham",!0),Nx(n,r,o,e)}}({target:"Array",proto:!0,forced:aC},{find:function(e){return iC(this,e,arguments.length>1?arguments[1]:void 0)}}),rC=oC,nC[tC][rC]=!0;var sC="__react_tooltip_hide_event",lC="__react_tooltip_rebuild_event",cC="__react_tooltip_show_event",dC=function(e,t){var n;"function"==typeof window.CustomEvent?n=new window.CustomEvent(e,{detail:t}):(n=document.createEvent("Event")).initEvent(e,!1,!0,t),window.dispatchEvent(n)},uC=function(e,t){var n=this.state.show,r=this.props.id,i=this.isCapture(t.currentTarget),o=t.currentTarget.getAttribute("currentItem");i||t.stopPropagation(),n&&"true"===o?e||this.hideTooltip(t):(t.currentTarget.setAttribute("currentItem","true"),hC(t.currentTarget,this.getTargetArray(r)),this.showTooltip(t))},hC=function(e,t){for(var n=0;n<t.length;n++)e!==t[n]?t[n].setAttribute("currentItem","false"):t[n].setAttribute("currentItem","true")},pC={id:"9b69f92e-d3fe-498b-b1b4-c5e63a51b0cf",set:function(e,t,n){this.id in e?e[this.id][t]=n:Object.defineProperty(e,this.id,{configurable:!0,value:Xm({},t,n)})},get:function(e,t){var n=e[this.id];if(void 0!==n)return n[t]}},fC=function(e,t,n){for(var r,i,o=t.respectEffect,a=void 0!==o&&o,s=t.customEvent,l=void 0!==s&&s,c=this.props.id,d=null,u=n.target;null===d&&null!==u;)i=u,d=u.getAttribute("data-tip")||null,r=u.getAttribute("data-for")||null,u=u.parentElement;if(u=i||n.target,!this.isCustomEvent(u)||l){var h=null==c&&null==r||r===c;if(null!=d&&(!a||"float"===this.getEffect(u))&&h){var p=function(e){var t={};for(var n in e)"function"==typeof e[n]?t[n]=e[n].bind(e):t[n]=e[n];return t}(n);p.currentTarget=u,e(p)}}},mC=function(e,t){var n={};return e.forEach(function(e){var r=e.getAttribute(t);r&&r.split(" ").forEach(function(e){return n[e]=!0})}),n},gC=function(){return document.getElementsByTagName("body")[0]};function vC(e,t,n,r,i,o,a){var s,l=yC(n),c=l.width,d=l.height,u=yC(t),h=u.width,p=u.height,f=bC(e,t,o),m=f.mouseX,g=f.mouseY,v=xC(o,h,p,c,d),y=wC(a),b=y.extraOffsetX,x=y.extraOffsetY,w=window.innerWidth,C=window.innerHeight,S=CC(n),A=S.parentTop,k=S.parentLeft,_=function(e){var t=v[e].l;return m+t+b},E=function(e){var t=v[e].t;return g+t+x},T=function(e){return function(e){return _(e)<0}(e)||function(e){return function(e){var t=v[e].r;return m+t+b}(e)>w}(e)||function(e){return E(e)<0}(e)||function(e){return function(e){var t=v[e].b;return g+t+x}(e)>C}(e)},D=function(e){return!T(e)},j={top:D("top"),bottom:D("bottom"),left:D("left"),right:D("right")},R=function(){var e,t=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return rg(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rg(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(i.split(",").concat(r,["top","bottom","left","right"]));try{for(t.s();!(e=t.n()).done;){var n=e.value;if(j[n])return n}}catch(e){t.e(e)}finally{t.f()}return r}(),M=!1;return R&&R!==r&&(M=!0,s=R),M?{isNewState:!0,newState:{place:s}}:{isNewState:!1,position:{left:parseInt(_(r)-k,10),top:parseInt(E(r)-A,10)}}}var yC=function(e){var t=e.getBoundingClientRect(),n=t.height,r=t.width;return{height:parseInt(n,10),width:parseInt(r,10)}},bC=function(e,t,n){var r=t.getBoundingClientRect(),i=r.top,o=r.left,a=yC(t),s=a.width,l=a.height;return"float"===n?{mouseX:e.clientX,mouseY:e.clientY}:{mouseX:o+s/2,mouseY:i+l/2}},xC=function(e,t,n,r,i){var o,a,s,l;return"float"===e?(o={l:-r/2,r:r/2,t:-(i+3+2),b:-3},s={l:-r/2,r:r/2,t:15,b:i+3+2+12},l={l:-(r+3+2),r:-3,t:-i/2,b:i/2},a={l:3,r:r+3+2,t:-i/2,b:i/2}):"solid"===e&&(o={l:-r/2,r:r/2,t:-(n/2+i+2),b:-n/2},s={l:-r/2,r:r/2,t:n/2,b:n/2+i+2},l={l:-(r+t/2+2),r:-t/2,t:-i/2,b:i/2},a={l:t/2,r:r+t/2+2,t:-i/2,b:i/2}),{top:o,bottom:s,left:l,right:a}},wC=function(e){var t=0,n=0;for(var r in"[object String]"===Object.prototype.toString.apply(e)&&(e=JSON.parse(e.toString().replace(/'/g,'"'))),e)"top"===r?n-=parseInt(e[r],10):"bottom"===r?n+=parseInt(e[r],10):"left"===r?t-=parseInt(e[r],10):"right"===r&&(t+=parseInt(e[r],10));return{extraOffsetX:t,extraOffsetY:n}},CC=function(e){for(var t=e;t;){var n=window.getComputedStyle(t);if("none"!==n.getPropertyValue("transform")||"transform"===n.getPropertyValue("will-change"))break;t=t.parentElement}return{parentTop:t&&t.getBoundingClientRect().top||0,parentLeft:t&&t.getBoundingClientRect().left||0}};function SC(e,t,n,r){if(t)return t;if(null!=n)return n;if(null===n)return null;var i=/<br\s*\/?>/;return r&&"false"!==r&&i.test(e)?e.split(i).map(function(e,t){return D.createElement("span",{key:t,className:"multi-line"},e)}):e}function AC(e){var t={};return Object.keys(e).filter(function(e){return/(^aria-\w+$|^role$)/.test(e)}).forEach(function(n){t[n]=e[n]}),t}function kC(e){var t=e.length;return e.hasOwnProperty?Array.prototype.slice.call(e):new Array(t).fill().map(function(t){return e[t]})}var _C,EC,TC={dark:{text:"#fff",background:"#222",border:"transparent",arrow:"#222"},success:{text:"#fff",background:"#8DC572",border:"transparent",arrow:"#8DC572"},warning:{text:"#fff",background:"#F0AD4E",border:"transparent",arrow:"#F0AD4E"},error:{text:"#fff",background:"#BE6464",border:"transparent",arrow:"#BE6464"},info:{text:"#fff",background:"#337AB7",border:"transparent",arrow:"#337AB7"},light:{text:"#222",background:"#fff",border:"transparent",arrow:"#fff"}},DC={tooltip:3,arrow:0};var jC,RC=function(e){e.hide=function(e){dC(sC,{target:e})},e.rebuild=function(){dC(lC)},e.show=function(e){dC(cC,{target:e})},e.prototype.globalRebuild=function(){this.mount&&(this.unbindListener(),this.bindListener())},e.prototype.globalShow=function(e){if(this.mount){var t=!!(e&&e.detail&&e.detail.target);this.showTooltip({currentTarget:t&&e.detail.target},!0)}},e.prototype.globalHide=function(e){if(this.mount){var t=!!(e&&e.detail&&e.detail.target);this.hideTooltip({currentTarget:t&&e.detail.target},t)}}}(_C=function(e){e.prototype.bindWindowEvents=function(e){window.removeEventListener(sC,this.globalHide),window.addEventListener(sC,this.globalHide,!1),window.removeEventListener(lC,this.globalRebuild),window.addEventListener(lC,this.globalRebuild,!1),window.removeEventListener(cC,this.globalShow),window.addEventListener(cC,this.globalShow,!1),e&&(window.removeEventListener("resize",this.onWindowResize),window.addEventListener("resize",this.onWindowResize,!1))},e.prototype.unbindWindowEvents=function(){window.removeEventListener(sC,this.globalHide),window.removeEventListener(lC,this.globalRebuild),window.removeEventListener(cC,this.globalShow),window.removeEventListener("resize",this.onWindowResize)},e.prototype.onWindowResize=function(){this.mount&&this.hideTooltip()}}(_C=function(e){e.prototype.isCustomEvent=function(e){return this.state.event||!!e.getAttribute("data-event")},e.prototype.customBindListener=function(e){var t=this,n=this.state,r=n.event,i=n.eventOff,o=e.getAttribute("data-event")||r,a=e.getAttribute("data-event-off")||i;o.split(" ").forEach(function(n){e.removeEventListener(n,pC.get(e,n));var r=uC.bind(t,a);pC.set(e,n,r),e.addEventListener(n,r,!1)}),a&&a.split(" ").forEach(function(n){e.removeEventListener(n,t.hideTooltip),e.addEventListener(n,t.hideTooltip,!1)})},e.prototype.customUnbindListener=function(e){var t=this.state,n=t.event,r=t.eventOff,i=n||e.getAttribute("data-event"),o=r||e.getAttribute("data-event-off");e.removeEventListener(i,pC.get(e,n)),o&&e.removeEventListener(o,this.hideTooltip)}}(_C=function(e){e.prototype.isCapture=function(e){return e&&"true"===e.getAttribute("data-iscapture")||this.props.isCapture||!1}}(_C=function(e){e.prototype.getEffect=function(e){return e.getAttribute("data-effect")||this.props.effect||"float"}}(_C=function(e){e.prototype.isBodyMode=function(){return!!this.props.bodyMode},e.prototype.bindBodyListener=function(e){var t=this,n=this.state,r=n.event,i=n.eventOff,o=n.possibleCustomEvents,a=n.possibleCustomEventsOff,s=gC(),l=mC(e,"data-event"),c=mC(e,"data-event-off");null!=r&&(l[r]=!0),null!=i&&(c[i]=!0),o.split(" ").forEach(function(e){return l[e]=!0}),a.split(" ").forEach(function(e){return c[e]=!0}),this.unbindBodyListener(s);var d=this.bodyModeListeners={};for(var u in null==r&&(d.mouseover=fC.bind(this,this.showTooltip,{}),d.mousemove=fC.bind(this,this.updateTooltip,{respectEffect:!0}),d.mouseout=fC.bind(this,this.hideTooltip,{})),l)d[u]=fC.bind(this,function(e){var n=e.currentTarget.getAttribute("data-event-off")||i;uC.call(t,n,e)},{customEvent:!0});for(var h in c)d[h]=fC.bind(this,this.hideTooltip,{customEvent:!0});for(var p in d)s.addEventListener(p,d[p])},e.prototype.unbindBodyListener=function(e){e=e||gC();var t=this.bodyModeListeners;for(var n in t)e.removeEventListener(n,t[n])}}((EC=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&tg(e,t)}(o,e);var t,n,r,i=ng(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),(t=i.call(this,e)).state={uuid:e.uuid||"t"+Ym(),place:e.place||"top",desiredPlace:e.place||"top",type:e.type||"dark",effect:e.effect||"float",show:!1,border:!1,borderClass:"border",customColors:{},customRadius:{},offset:{},padding:e.padding,extraClass:"",html:!1,delayHide:0,delayShow:0,event:e.event||null,eventOff:e.eventOff||null,currentEvent:null,currentTarget:null,ariaProps:AC(e),isEmptyTip:!1,disable:!1,possibleCustomEvents:e.possibleCustomEvents||"",possibleCustomEventsOff:e.possibleCustomEventsOff||"",originTooltip:null,isMultiline:!1},t.bind(["showTooltip","updateTooltip","hideTooltip","hideTooltipOnScroll","getTooltipContent","globalRebuild","globalShow","globalHide","onWindowResize","mouseOnToolTip"]),t.mount=!0,t.delayShowLoop=null,t.delayHideLoop=null,t.delayReshow=null,t.intervalUpdateContent=null,t}return t=o,n=[{key:"bind",value:function(e){var t=this;e.forEach(function(e){t[e]=t[e].bind(t)})}},{key:"componentDidMount",value:function(){var e=this.props;e.insecure;var t=e.resizeHide,n=e.disableInternalStyle;this.mount=!0,this.bindListener(),this.bindWindowEvents(t),n||this.injectStyles()}},{key:"componentWillUnmount",value:function(){this.mount=!1,this.clearTimer(),this.unbindListener(),this.removeScrollListener(this.state.currentTarget),this.unbindWindowEvents()}},{key:"injectStyles",value:function(){var e=this.tooltipRef;if(e){for(var t,n=e.parentNode;n.parentNode;)n=n.parentNode;switch(n.constructor.name){case"Document":case"HTMLDocument":case void 0:t=n.head;break;default:t=n}if(!t.querySelector("style[data-react-tooltip]")){var r=document.createElement("style");r.textContent='.__react_component_tooltip {\n border-radius: 3px;\n display: inline-block;\n font-size: 13px;\n left: -999em;\n opacity: 0;\n position: fixed;\n pointer-events: none;\n transition: opacity 0.3s ease-out;\n top: -999em;\n visibility: hidden;\n z-index: 999;\n}\n.__react_component_tooltip.allow_hover, .__react_component_tooltip.allow_click {\n pointer-events: auto;\n}\n.__react_component_tooltip::before, .__react_component_tooltip::after {\n content: "";\n width: 0;\n height: 0;\n position: absolute;\n}\n.__react_component_tooltip.show {\n opacity: 0.9;\n margin-top: 0;\n margin-left: 0;\n visibility: visible;\n}\n.__react_component_tooltip.place-top::before {\n bottom: 0;\n left: 50%;\n margin-left: -11px;\n}\n.__react_component_tooltip.place-bottom::before {\n top: 0;\n left: 50%;\n margin-left: -11px;\n}\n.__react_component_tooltip.place-left::before {\n right: 0;\n top: 50%;\n margin-top: -9px;\n}\n.__react_component_tooltip.place-right::before {\n left: 0;\n top: 50%;\n margin-top: -9px;\n}\n.__react_component_tooltip .multi-line {\n display: block;\n padding: 2px 0;\n text-align: center;\n}',r.setAttribute("data-react-tooltip","true"),t.appendChild(r)}}}},{key:"mouseOnToolTip",value:function(){return!(!this.state.show||!this.tooltipRef)&&(this.tooltipRef.matches||(this.tooltipRef.msMatchesSelector?this.tooltipRef.matches=this.tooltipRef.msMatchesSelector:this.tooltipRef.matches=this.tooltipRef.mozMatchesSelector),this.tooltipRef.matches(":hover"))}},{key:"getTargetArray",value:function(e){var t,n=[];if(e){var r=e.replace(/\\/g,"\\\\").replace(/"/g,'\\"');t='[data-tip][data-for="'.concat(r,'"]')}else t="[data-tip]:not([data-for])";return kC(document.getElementsByTagName("*")).filter(function(e){return e.shadowRoot}).forEach(function(e){n=n.concat(kC(e.shadowRoot.querySelectorAll(t)))}),n.concat(kC(document.querySelectorAll(t)))}},{key:"bindListener",value:function(){var e=this,t=this.props,n=t.id,r=t.globalEventOff,i=t.isCapture,o=this.getTargetArray(n);o.forEach(function(t){null===t.getAttribute("currentItem")&&t.setAttribute("currentItem","false"),e.unbindBasicListener(t),e.isCustomEvent(t)&&e.customUnbindListener(t)}),this.isBodyMode()?this.bindBodyListener(o):o.forEach(function(t){var n=e.isCapture(t),r=e.getEffect(t);e.isCustomEvent(t)?e.customBindListener(t):(t.addEventListener("mouseenter",e.showTooltip,n),t.addEventListener("focus",e.showTooltip,n),"float"===r&&t.addEventListener("mousemove",e.updateTooltip,n),t.addEventListener("mouseleave",e.hideTooltip,n),t.addEventListener("blur",e.hideTooltip,n))}),r&&(window.removeEventListener(r,this.hideTooltip),window.addEventListener(r,this.hideTooltip,i)),this.bindRemovalTracker()}},{key:"unbindListener",value:function(){var e=this,t=this.props,n=t.id,r=t.globalEventOff;this.isBodyMode()?this.unbindBodyListener():this.getTargetArray(n).forEach(function(t){e.unbindBasicListener(t),e.isCustomEvent(t)&&e.customUnbindListener(t)}),r&&window.removeEventListener(r,this.hideTooltip),this.unbindRemovalTracker()}},{key:"unbindBasicListener",value:function(e){var t=this.isCapture(e);e.removeEventListener("mouseenter",this.showTooltip,t),e.removeEventListener("mousemove",this.updateTooltip,t),e.removeEventListener("mouseleave",this.hideTooltip,t)}},{key:"getTooltipContent",value:function(){var e,t=this.props,n=t.getContent,r=t.children;return n&&(e=Array.isArray(n)?n[0]&&n[0](this.state.originTooltip):n(this.state.originTooltip)),SC(this.state.originTooltip,r,e,this.state.isMultiline)}},{key:"isEmptyTip",value:function(e){return"string"==typeof e&&""===e||null===e}},{key:"showTooltip",value:function(e,t){if(this.tooltipRef){if(t&&!this.getTargetArray(this.props.id).some(function(t){return t===e.currentTarget}))return;var n=this.props,r=n.multiline,i=n.getContent,o=e.currentTarget.getAttribute("data-tip"),a=e.currentTarget.getAttribute("data-multiline")||r||!1,s=e instanceof window.FocusEvent||t,l=!0;e.currentTarget.getAttribute("data-scroll-hide")?l="true"===e.currentTarget.getAttribute("data-scroll-hide"):null!=this.props.scrollHide&&(l=this.props.scrollHide),e&&e.currentTarget&&e.currentTarget.setAttribute&&e.currentTarget.setAttribute("aria-describedby",this.props.id||this.state.uuid);var c=e.currentTarget.getAttribute("data-place")||this.props.place||"top",d=s?"solid":this.getEffect(e.currentTarget),u=e.currentTarget.getAttribute("data-offset")||this.props.offset||{},h=vC(e,e.currentTarget,this.tooltipRef,c.split(",")[0],c,d,u);h.position&&this.props.overridePosition&&(h.position=this.props.overridePosition(h.position,e,e.currentTarget,this.tooltipRef,c,c,d,u));var p=h.isNewState?h.newState.place:c.split(",")[0];this.clearTimer();var f=e.currentTarget,m=this.state.show?f.getAttribute("data-delay-update")||this.props.delayUpdate:0,g=this,v=function(){g.setState({originTooltip:o,isMultiline:a,desiredPlace:c,place:p,type:f.getAttribute("data-type")||g.props.type||"dark",customColors:{text:f.getAttribute("data-text-color")||g.props.textColor||null,background:f.getAttribute("data-background-color")||g.props.backgroundColor||null,border:f.getAttribute("data-border-color")||g.props.borderColor||null,arrow:f.getAttribute("data-arrow-color")||g.props.arrowColor||null},customRadius:{tooltip:f.getAttribute("data-tooltip-radius")||g.props.tooltipRadius||"3",arrow:f.getAttribute("data-arrow-radius")||g.props.arrowRadius||"0"},effect:d,offset:u,padding:f.getAttribute("data-padding")||g.props.padding,html:(f.getAttribute("data-html")?"true"===f.getAttribute("data-html"):g.props.html)||!1,delayShow:f.getAttribute("data-delay-show")||g.props.delayShow||0,delayHide:f.getAttribute("data-delay-hide")||g.props.delayHide||0,delayUpdate:f.getAttribute("data-delay-update")||g.props.delayUpdate||0,border:(f.getAttribute("data-border")?"true"===f.getAttribute("data-border"):g.props.border)||!1,borderClass:f.getAttribute("data-border-class")||g.props.borderClass||"border",extraClass:f.getAttribute("data-class")||g.props.class||g.props.className||"",disable:(f.getAttribute("data-tip-disable")?"true"===f.getAttribute("data-tip-disable"):g.props.disable)||!1,currentTarget:f},function(){l&&g.addScrollListener(g.state.currentTarget),g.updateTooltip(e),i&&Array.isArray(i)&&(g.intervalUpdateContent=setInterval(function(){if(g.mount){var e=g.props.getContent,t=SC(o,"",e[0](),a),n=g.isEmptyTip(t);g.setState({isEmptyTip:n}),g.updatePosition()}},i[1]))})};m?this.delayReshow=setTimeout(v,m):v()}}},{key:"updateTooltip",value:function(e){var t=this,n=this.state,r=n.delayShow,i=n.disable,o=this.props,a=o.afterShow,s=o.disable,l=this.getTooltipContent(),c=e.currentTarget||e.target;if(!this.mouseOnToolTip()&&!(this.isEmptyTip(l)||i||s)){var d=this.state.show?0:parseInt(r,10),u=function(){if(Array.isArray(l)&&l.length>0||l){var n=!t.state.show;t.setState({currentEvent:e,currentTarget:c,show:!0},function(){t.updatePosition(function(){n&&a&&a(e)})})}};this.delayShowLoop&&clearTimeout(this.delayShowLoop),d?this.delayShowLoop=setTimeout(u,d):(this.delayShowLoop=null,u())}}},{key:"listenForTooltipExit",value:function(){this.state.show&&this.tooltipRef&&this.tooltipRef.addEventListener("mouseleave",this.hideTooltip)}},{key:"removeListenerForTooltipExit",value:function(){this.state.show&&this.tooltipRef&&this.tooltipRef.removeEventListener("mouseleave",this.hideTooltip)}},{key:"hideTooltip",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isScroll:!1},i=this.state.disable,o=r.isScroll?0:this.state.delayHide,a=this.props,s=a.afterHide,l=a.disable,c=this.getTooltipContent();if(this.mount&&!(this.isEmptyTip(c)||i||l)){if(t&&(!this.getTargetArray(this.props.id).some(function(t){return t===e.currentTarget})||!this.state.show))return;e&&e.currentTarget&&e.currentTarget.removeAttribute&&e.currentTarget.removeAttribute("aria-describedby");var d=function(){var t=n.state.show;n.mouseOnToolTip()?n.listenForTooltipExit():(n.removeListenerForTooltipExit(),n.setState({show:!1},function(){n.removeScrollListener(n.state.currentTarget),t&&s&&s(e)}))};this.clearTimer(),o?this.delayHideLoop=setTimeout(d,parseInt(o,10)):d()}}},{key:"hideTooltipOnScroll",value:function(e,t){this.hideTooltip(e,t,{isScroll:!0})}},{key:"addScrollListener",value:function(e){var t=this.isCapture(e);window.addEventListener("scroll",this.hideTooltipOnScroll,t)}},{key:"removeScrollListener",value:function(e){var t=this.isCapture(e);window.removeEventListener("scroll",this.hideTooltipOnScroll,t)}},{key:"updatePosition",value:function(e){var t=this,n=this.state,r=n.currentEvent,i=n.currentTarget,o=n.place,a=n.desiredPlace,s=n.effect,l=n.offset,c=this.tooltipRef,d=vC(r,i,c,o,a,s,l);if(d.position&&this.props.overridePosition&&(d.position=this.props.overridePosition(d.position,r,i,c,o,a,s,l)),d.isNewState)return this.setState(d.newState,function(){t.updatePosition(e)});e&&"function"==typeof e&&e(),c.style.left=d.position.left+"px",c.style.top=d.position.top+"px"}},{key:"clearTimer",value:function(){this.delayShowLoop&&(clearTimeout(this.delayShowLoop),this.delayShowLoop=null),this.delayHideLoop&&(clearTimeout(this.delayHideLoop),this.delayHideLoop=null),this.delayReshow&&(clearTimeout(this.delayReshow),this.delayReshow=null),this.intervalUpdateContent&&(clearInterval(this.intervalUpdateContent),this.intervalUpdateContent=null)}},{key:"hasCustomColors",value:function(){var e=this;return Boolean(Object.keys(this.state.customColors).find(function(t){return"border"!==t&&e.state.customColors[t]})||this.state.border&&this.state.customColors.border)}},{key:"render",value:function(){var e=this,t=this.state,n=t.extraClass,r=t.html,i=t.ariaProps,a=t.disable,s=t.uuid,l=this.getTooltipContent(),c=this.isEmptyTip(l),d=this.props.disableInternalStyle?"":function(e,t,n,r,i,o){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"8px 21px",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:DC,i=t.text,o=t.background,a=t.border,s=t.arrow,l=r.arrow,c=r.tooltip;return"\n \t.".concat(e," {\n\t color: ").concat(i,";\n\t background: ").concat(o,";\n\t border: 1px solid ").concat(a,";\n\t border-radius: ").concat(c,"px;\n\t padding: ").concat(n,";\n \t}\n\n \t.").concat(e,".place-top {\n margin-top: -10px;\n }\n .").concat(e,'.place-top::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: 2;\n width: 20px;\n height: 12px;\n }\n .').concat(e,'.place-top::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ').concat(l,"px;\n border: 1px solid ").concat(a,";\n background-color: ").concat(s,";\n z-index: -2;\n bottom: -6px;\n left: 50%;\n margin-left: -6px;\n transform: rotate(135deg);\n }\n\n .").concat(e,".place-bottom {\n margin-top: 10px;\n }\n .").concat(e,'.place-bottom::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: -1;\n width: 18px;\n height: 10px;\n }\n .').concat(e,'.place-bottom::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ').concat(l,"px;\n border: 1px solid ").concat(a,";\n background-color: ").concat(s,";\n z-index: -2;\n top: -6px;\n left: 50%;\n margin-left: -6px;\n transform: rotate(45deg);\n }\n\n .").concat(e,".place-left {\n margin-left: -10px;\n }\n .").concat(e,'.place-left::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: -1;\n width: 10px;\n height: 18px;\n }\n .').concat(e,'.place-left::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ').concat(l,"px;\n border: 1px solid ").concat(a,";\n background-color: ").concat(s,";\n z-index: -2;\n right: -6px;\n top: 50%;\n margin-top: -6px;\n transform: rotate(45deg);\n }\n\n .").concat(e,".place-right {\n margin-left: 10px;\n }\n .").concat(e,'.place-right::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: -1;\n width: 10px;\n height: 18px;\n }\n .').concat(e,'.place-right::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ').concat(l,"px;\n border: 1px solid ").concat(a,";\n background-color: ").concat(s,";\n z-index: -2;\n left: -6px;\n top: 50%;\n margin-top: -6px;\n transform: rotate(-135deg);\n }\n ")}(e,function(e,t,n){var r=e.text,i=e.background,o=e.border,a=e.arrow?e.arrow:e.background,s=function(e){return TC[e]?Qm({},TC[e]):void 0}(t);return r&&(s.text=r),i&&(s.background=i),n&&(s.border=o||("light"===t?"black":"white")),a&&(s.arrow=a),s}(t,n,r),i,o)}(this.state.uuid,this.state.customColors,this.state.type,this.state.border,this.state.padding,this.state.customRadius),u="__react_component_tooltip"+" ".concat(this.state.uuid)+(!this.state.show||a||c?"":" show")+(this.state.border?" "+this.state.borderClass:"")+" place-".concat(this.state.place)+" type-".concat(this.hasCustomColors()?"custom":this.state.type)+(this.props.delayUpdate?" allow_hover":"")+(this.props.clickable?" allow_click":""),h=this.props.wrapper;o.supportedWrappers.indexOf(h)<0&&(h=o.defaultProps.wrapper);var p=[u,n].filter(Boolean).join(" ");if(r){var f="".concat(l).concat(d?'\n<style aria-hidden="true">'.concat(d,"</style>"):"");return D.createElement(h,Km({className:"".concat(p),id:this.props.id||s,ref:function(t){return e.tooltipRef=t}},i,{"data-id":"tooltip",dangerouslySetInnerHTML:{__html:f}}))}return D.createElement(h,Km({className:"".concat(p),id:this.props.id||s},i,{ref:function(t){return e.tooltipRef=t},"data-id":"tooltip"}),d&&D.createElement("style",{dangerouslySetInnerHTML:{__html:d},"aria-hidden":"true"}),l)}}],r=[{key:"propTypes",get:function(){return{uuid:Hm().string,children:Hm().any,place:Hm().string,type:Hm().string,effect:Hm().string,offset:Hm().object,padding:Hm().string,multiline:Hm().bool,border:Hm().bool,borderClass:Hm().string,textColor:Hm().string,backgroundColor:Hm().string,borderColor:Hm().string,arrowColor:Hm().string,arrowRadius:Hm().string,tooltipRadius:Hm().string,insecure:Hm().bool,class:Hm().string,className:Hm().string,id:Hm().string,html:Hm().bool,delayHide:Hm().number,delayUpdate:Hm().number,delayShow:Hm().number,event:Hm().string,eventOff:Hm().string,isCapture:Hm().bool,globalEventOff:Hm().string,getContent:Hm().any,afterShow:Hm().func,afterHide:Hm().func,overridePosition:Hm().func,disable:Hm().bool,scrollHide:Hm().bool,resizeHide:Hm().bool,wrapper:Hm().string,bodyMode:Hm().bool,possibleCustomEvents:Hm().string,possibleCustomEventsOff:Hm().string,clickable:Hm().bool,disableInternalStyle:Hm().bool}}},{key:"getDerivedStateFromProps",value:function(e,t){var n=t.ariaProps,r=AC(e);return Object.keys(r).some(function(e){return r[e]!==n[e]})?Qm(Qm({},t),{},{ariaProps:r}):null}}],n&&Zm(t.prototype,n),r&&Zm(t,r),Object.defineProperty(t,"prototype",{writable:!1}),o}(D.Component),Xm(EC,"defaultProps",{insecure:!0,resizeHide:!0,wrapper:"div",clickable:!1}),Xm(EC,"supportedWrappers",["div","span"]),Xm(EC,"displayName","ReactTooltip"),(jC=_C=EC).prototype.bindRemovalTracker=function(){var e=this,t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(null!=t){var n=new t(function(t){for(var n=0;n<t.length;n++)for(var r=t[n],i=0;i<r.removedNodes.length;i++)if(r.removedNodes[i]===e.state.currentTarget)return void e.hideTooltip()});n.observe(window.document,{childList:!0,subtree:!0}),this.removalTracker=n}},_C=void(jC.prototype.unbindRemovalTracker=function(){this.removalTracker&&(this.removalTracker.disconnect(),this.removalTracker=null)})||_C))||_C)||_C)||_C)||_C)||_C)||_C;const MC=Uf`
3
3
  position: absolute;
4
4
  width: 1px;
5
5
  height: 1px;