tocco-legacy-bundle 3.13.87 → 3.13.88
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.
- package/changelog.md +5 -0
- package/dist/{chunk-651.116ae9b07fcc797a35ba.js → chunk-651.57e02b17530f9027f3db.js} +1 -1
- package/dist/chunk-actions.1ce4661c9c69d5f529b7.js +1 -0
- package/dist/docs-browser.js +1 -1
- package/dist/entity-browser.js +2 -2
- package/dist/input-edit.js +7 -7
- package/dist/login.js +1 -1
- package/dist/merge.js +2 -2
- package/dist/password-update.js +1 -1
- package/dist/resource-scheduler.js +2 -2
- package/dist/sso-login.js +6 -6
- package/dist/two-factor-connector.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-actions.37dd6f8ee0d5301fbe45.js +0 -1
package/dist/login.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("ReactDOM"),require("React")):"function"==typeof define&&define.amd?define(["ReactDOM","React"],t):"object"==typeof exports?exports["tocco-login"]=t(require("ReactDOM"),require("React")):e["tocco-login"]=t(e.ReactDOM,e.React)}(this,((e,t)=>(()=>{var n,r,o,a,i={23490:e=>{e.exports=function(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}},24394:e=>{e.exports=function(e){if(Array.isArray(e))return e}},96374:(e,t,n)=>{var r=n(23490);e.exports=function(e){if(Array.isArray(e))return r(e)}},41972:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},79092:e=>{function t(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var n=this,r=arguments;return new Promise((function(o,a){var i=e.apply(n,r);function s(e){t(i,o,a,s,c,"next",e)}function c(e){t(i,o,a,s,c,"throw",e)}s(void 0)}))}}},82274:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},65044:e=>{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)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}},26396:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},16193:e=>{function t(){return e.exports=t=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},t.apply(this,arguments)}e.exports=t},18337:e=>{function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},t(n)}e.exports=t},56994:(e,t,n)=>{var r=n(67197);e.exports=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&&r(e,t)}},11572:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},4453:e=>{e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}}},66923:e=>{e.exports=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.")}},33694:e=>{e.exports=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.")}},72637:e=>{e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}},39892:(e,t,n)=>{var r=n(83712);e.exports=function(e,t){if(null==e)return{};var n,o,a=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},83712:e=>{e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},65611:(e,t,n)=>{var r=n(85735),o=n(41972);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},67197:e=>{function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(n,r)}e.exports=t},22056:(e,t,n)=>{var r=n(24394),o=n(4453),a=n(45051),i=n(66923);e.exports=function(e,t){return r(e)||o(e,t)||a(e,t)||i()}},72189:e=>{e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},21259:(e,t,n)=>{var r=n(96374),o=n(11572),a=n(45051),i=n(33694);e.exports=function(e){return r(e)||o(e)||a(e)||i()}},85735:e=>{function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(n)}e.exports=t},45051:(e,t,n)=>{var r=n(23490);e.exports=function(e,t){if(e){if("string"==typeof e)return r(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)?r(e,t):void 0}}},92207:(e,t,n)=>{e.exports=n(7452)},66828:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Composite:()=>z,CompositeItem:()=>V,FloatingArrow:()=>Q,FloatingDelayGroup:()=>fe,FloatingFocusManager:()=>Ke,FloatingList:()=>L,FloatingNode:()=>re,FloatingOverlay:()=>Ze,FloatingPortal:()=>We,FloatingTree:()=>oe,arrow:()=>h.UE,autoPlacement:()=>h.RK,autoUpdate:()=>m.ll,computePosition:()=>m.rD,detectOverflow:()=>m.__,flip:()=>h.UU,getOverflowAncestors:()=>f.v9,hide:()=>h.jD,inline:()=>h.mG,inner:()=>_t,limitShift:()=>h.ER,offset:()=>h.cY,platform:()=>m.iD,safePolygon:()=>Tt,shift:()=>h.BN,size:()=>h.Ej,useClick:()=>tt,useClientPoint:()=>rt,useDelayGroup:()=>he,useDelayGroupContext:()=>pe,useDismiss:()=>st,useFloating:()=>ut,useFloatingNodeId:()=>ne,useFloatingParentNodeId:()=>ee,useFloatingPortalNode:()=>He,useFloatingRootContext:()=>ct,useFloatingTree:()=>te,useFocus:()=>lt,useHover:()=>ue,useId:()=>K,useInnerOffset:()=>Dt,useInteractions:()=>ht,useListItem:()=>F,useListNavigation:()=>bt,useMergeRefs:()=>g,useRole:()=>xt,useTransitionStatus:()=>St,useTransitionStyles:()=>Et,useTypeahead:()=>Pt});var r=n(4883),o=n(66984);const a=Math.min,i=Math.max,s=Math.round,c=Math.floor;var u=n(74848),l=n(86635),d=n(49054),p=n(81845),f=n(88963),h=n(34743),m=n(18491);function g(e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}),e)}const v={...r},y=v.useInsertionEffect||(e=>e());function b(e){const t=r.useRef((()=>{0}));return y((()=>{t.current=e})),r.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}const w="ArrowUp",x="ArrowDown",O="ArrowLeft",k="ArrowRight";function S(e,t,n){return Math.floor(e/t)!==n}function E(e,t){return t<0||t>=e.current.length}function P(e,t){return _(e,{disabledIndices:t})}function j(e,t){return _(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function _(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:o,amount:a=1}=void 0===t?{}:t;const i=e.current;let s=n;do{s+=r?-a:a}while(s>=0&&s<=i.length-1&&A(i,s,o));return s}function D(e,t){let{event:n,orientation:r,loop:a,rtl:i,cols:s,disabledIndices:u,minIndex:l,maxIndex:d,prevIndex:p,stopEvent:f=!1}=t,h=p;if(n.key===w){if(f&&(0,o.jo)(n),-1===p)h=d;else if(h=_(e,{startingIndex:h,amount:s,decrement:!0,disabledIndices:u}),a&&(p-s<l||h<0)){const e=p%s,t=d%s,n=d-(t-e);h=t===e?d:t>e?n:n-s}E(e,h)&&(h=p)}if(n.key===x&&(f&&(0,o.jo)(n),-1===p?h=l:(h=_(e,{startingIndex:p,amount:s,disabledIndices:u}),a&&p+s>d&&(h=_(e,{startingIndex:p%s-s,amount:s,disabledIndices:u}))),E(e,h)&&(h=p)),"both"===r){const t=c(p/s);n.key===(i?O:k)&&(f&&(0,o.jo)(n),p%s!=s-1?(h=_(e,{startingIndex:p,disabledIndices:u}),a&&S(h,s,t)&&(h=_(e,{startingIndex:p-p%s-1,disabledIndices:u}))):a&&(h=_(e,{startingIndex:p-p%s-1,disabledIndices:u})),S(h,s,t)&&(h=p)),n.key===(i?k:O)&&(f&&(0,o.jo)(n),p%s!=0?(h=_(e,{startingIndex:p,decrement:!0,disabledIndices:u}),a&&S(h,s,t)&&(h=_(e,{startingIndex:p+(s-p%s),decrement:!0,disabledIndices:u}))):a&&(h=_(e,{startingIndex:p+(s-p%s),decrement:!0,disabledIndices:u})),S(h,s,t)&&(h=p));const r=c(d/s)===t;E(e,h)&&(h=a&&r?n.key===(i?k:O)?d:_(e,{startingIndex:p-p%s-1,disabledIndices:u}):p)}return h}function C(e,t,n){const r=[];let o=0;return e.forEach(((e,a)=>{let{width:i,height:s}=e,c=!1;for(n&&(o=0);!c;){const e=[];for(let n=0;n<i;n++)for(let r=0;r<s;r++)e.push(o+n+r*t);o%t+i<=t&&e.every((e=>null==r[e]))?(e.forEach((e=>{r[e]=a})),c=!0):o++}})),[...r]}function T(e,t,n,r,o){if(-1===e)return-1;const a=n.indexOf(e),i=t[e];switch(o){case"tl":return a;case"tr":return i?a+i.width-1:a;case"bl":return i?a+(i.height-1)*r:a;case"br":return n.lastIndexOf(e)}}function M(e,t){return t.flatMap(((t,n)=>e.includes(t)?[n]:[]))}function A(e,t,n){if(n)return n.includes(t);const r=e[t];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}var I="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function R(e,t){const n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}const N=r.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function L(e){const{children:t,elementsRef:n,labelsRef:o}=e,[a,i]=r.useState((()=>new Map)),s=r.useCallback((e=>{i((t=>new Map(t).set(e,null)))}),[]),c=r.useCallback((e=>{i((t=>{const n=new Map(t);return n.delete(e),n}))}),[]);return I((()=>{const e=new Map(a);Array.from(e.keys()).sort(R).forEach(((t,n)=>{e.set(t,n)})),function(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e.entries())if(r!==t.get(n))return!1;return!0}(a,e)||i(e)}),[a]),(0,u.jsx)(N.Provider,{value:r.useMemo((()=>({register:s,unregister:c,map:a,elementsRef:n,labelsRef:o})),[s,c,a,n,o]),children:t})}function F(e){void 0===e&&(e={});const{label:t}=e,{register:n,unregister:o,map:a,elementsRef:i,labelsRef:s}=r.useContext(N),[c,u]=r.useState(null),l=r.useRef(null),d=r.useCallback((e=>{if(l.current=e,null!==c&&(i.current[c]=e,s)){var n;const r=void 0!==t;s.current[c]=r?t:null!=(n=null==e?void 0:e.textContent)?n:null}}),[c,i,s,t]);return I((()=>{const e=l.current;if(e)return n(e),()=>{o(e)}}),[n,o]),I((()=>{const e=l.current?a.get(l.current):null;null!=e&&u(e)}),[a]),r.useMemo((()=>({ref:d,index:null==c?-1:c})),[c,d])}function H(e,t){return"function"==typeof e?e(t):e?r.cloneElement(e,t):(0,u.jsx)("div",{...t})}const W=r.createContext({activeIndex:0,onNavigate:()=>{}}),B=[O,k],U=[w,x],Y=[...B,...U],z=r.forwardRef((function(e,t){const{render:n,orientation:o="both",loop:a=!0,rtl:i=!1,cols:s=1,disabledIndices:c,activeIndex:l,onNavigate:d,itemSizes:p,dense:f=!1,...h}=e,[m,g]=r.useState(0),v=null!=l?l:m,y=b(null!=d?d:g),S=r.useRef([]),I=n&&"function"!=typeof n?n.props:{},R=r.useMemo((()=>({activeIndex:v,onNavigate:y})),[v,y]),N=s>1;const F={...h,...I,ref:t,"aria-orientation":"both"===o?void 0:o,onKeyDown(e){null==h.onKeyDown||h.onKeyDown(e),null==I.onKeyDown||I.onKeyDown(e),function(e){if(!Y.includes(e.key))return;let t=v;const n=P(S,c),r=j(S,c),u=i?O:k,l=i?k:O;if(N){const l=p||Array.from({length:S.current.length},(()=>({width:1,height:1}))),d=C(l,s,f),h=d.findIndex((e=>null!=e&&!A(S.current,e,c))),m=d.reduce(((e,t,n)=>null==t||A(S.current,t,c)?e:n),-1),g=d[D({current:d.map((e=>e?S.current[e]:null))},{event:e,orientation:o,loop:a,rtl:i,cols:s,disabledIndices:M([...c||S.current.map(((e,t)=>A(S.current,t)?t:void 0)),void 0],d),minIndex:h,maxIndex:m,prevIndex:T(v>r?n:v,l,d,s,e.key===x?"bl":e.key===u?"tr":"tl")})];null!=g&&(t=g)}const d={horizontal:[u],vertical:[x],both:[u,x]}[o],h={horizontal:[l],vertical:[w],both:[l,w]}[o],m=N?Y:{horizontal:B,vertical:U,both:Y}[o];var g;t===v&&[...d,...h].includes(e.key)&&(t=a&&t===r&&d.includes(e.key)?n:a&&t===n&&h.includes(e.key)?r:_(S,{startingIndex:t,decrement:h.includes(e.key),disabledIndices:c})),t===v||E(S,t)||(e.stopPropagation(),m.includes(e.key)&&e.preventDefault(),y(t),null==(g=S.current[t])||g.focus())}(e)}};return(0,u.jsx)(W.Provider,{value:R,children:(0,u.jsx)(L,{elementsRef:S,children:H(n,F)})})})),V=r.forwardRef((function(e,t){const{render:n,...o}=e,a=n&&"function"!=typeof n?n.props:{},{activeIndex:i,onNavigate:s}=r.useContext(W),{ref:c,index:u}=F(),l=g([c,t,a.ref]),d=i===u;return H(n,{...o,...a,ref:l,tabIndex:d?0:-1,"data-active":d?"":void 0,onFocus(e){null==o.onFocus||o.onFocus(e),null==a.onFocus||a.onFocus(e),s(u)}})}));let q=!1,$=0;const G=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+$++;const K=v.useId||function(){const[e,t]=r.useState((()=>q?G():void 0));return I((()=>{null==e&&t(G())}),[]),r.useEffect((()=>{q=!0}),[]),e};const Q=r.forwardRef((function(e,t){const{context:{placement:n,elements:{floating:o},middlewareData:{arrow:a,shift:i}},width:s=14,height:c=7,tipRadius:d=0,strokeWidth:p=0,staticOffset:f,stroke:h,d:m,style:{transform:g,...v}={},...y}=e;const b=K(),[w,x]=r.useState(!1);if(I((()=>{if(!o)return;"rtl"===(0,l.L9)(o).direction&&x(!0)}),[o]),!o)return null;const[O,k]=n.split("-"),S="top"===O||"bottom"===O;let E=f;(S&&null!=i&&i.x||!S&&null!=i&&i.y)&&(E=null);const P=2*p,j=P/2,_=s/2*(d/-8+1),D=c/2*d/4,C=!!m,T=E&&"end"===k?"bottom":"top";let M=E&&"end"===k?"right":"left";E&&w&&(M="end"===k?"left":"right");const A=null!=(null==a?void 0:a.x)?E||a.x:"",R=null!=(null==a?void 0:a.y)?E||a.y:"",N=m||"M0,0 H"+s+" L"+(s-_)+","+(c-D)+" Q"+s/2+","+c+" "+_+","+(c-D)+" Z",L={top:C?"rotate(180deg)":"",left:C?"rotate(90deg)":"rotate(-90deg)",bottom:C?"":"rotate(180deg)",right:C?"rotate(-90deg)":"rotate(90deg)"}[O];return(0,u.jsxs)("svg",{...y,"aria-hidden":!0,ref:t,width:C?s:s+P,height:s,viewBox:"0 0 "+s+" "+(c>s?c:s),style:{position:"absolute",pointerEvents:"none",[M]:A,[T]:R,[O]:S||C?"100%":"calc(100% - "+P/2+"px)",transform:[L,g].filter((e=>!!e)).join(" "),...v},children:[P>0&&(0,u.jsx)("path",{clipPath:"url(#"+b+")",fill:"none",stroke:h,strokeWidth:P+(m?0:1),d:N}),(0,u.jsx)("path",{stroke:P&&!m?y.fill:"none",d:N}),(0,u.jsx)("clipPath",{id:b,children:(0,u.jsx)("rect",{x:-j,y:j*(C?-1:1),width:s+P,height:s})})]})}));function X(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}const Z=r.createContext(null),J=r.createContext(null),ee=()=>{var e;return(null==(e=r.useContext(Z))?void 0:e.id)||null},te=()=>r.useContext(J);function ne(e){const t=K(),n=te(),r=ee(),o=e||r;return I((()=>{if(!t)return;const e={id:t,parentId:o};return null==n||n.addNode(e),()=>{null==n||n.removeNode(e)}}),[n,t,o]),t}function re(e){const{children:t,id:n}=e,o=ee();return(0,u.jsx)(Z.Provider,{value:r.useMemo((()=>({id:n,parentId:o})),[n,o]),children:t})}function oe(e){const{children:t}=e,n=r.useRef([]),o=r.useCallback((e=>{n.current=[...n.current,e]}),[]),a=r.useCallback((e=>{n.current=n.current.filter((t=>t!==e))}),[]),i=r.useState((()=>X()))[0];return(0,u.jsx)(J.Provider,{value:r.useMemo((()=>({nodesRef:n,addNode:o,removeNode:a,events:i})),[o,a,i]),children:t})}function ae(e){return"data-floating-ui-"+e}function ie(e){const t=(0,r.useRef)(e);return I((()=>{t.current=e})),t}const se=ae("safe-polygon");function ce(e,t,n){return n&&!(0,o.Go)(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function ue(e,t){void 0===t&&(t={});const{open:n,onOpenChange:a,dataRef:i,events:s,elements:c}=e,{enabled:u=!0,delay:d=0,handleClose:p=null,mouseOnly:f=!1,restMs:h=0,move:m=!0}=t,g=te(),v=ee(),y=ie(p),w=ie(d),x=ie(n),O=r.useRef(),k=r.useRef(-1),S=r.useRef(),E=r.useRef(-1),P=r.useRef(!0),j=r.useRef(!1),_=r.useRef((()=>{})),D=r.useRef(!1),C=r.useCallback((()=>{var e;const t=null==(e=i.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[i]);r.useEffect((()=>{if(u)return s.on("openchange",e),()=>{s.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(k.current),clearTimeout(E.current),P.current=!0,D.current=!1)}}),[u,s]),r.useEffect((()=>{if(!u)return;if(!y.current)return;if(!n)return;function e(e){C()&&a(!1,e,"hover")}const t=(0,o.YE)(c.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[c.floating,n,a,u,y,C]);const T=r.useCallback((function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const r=ce(w.current,"close",O.current);r&&!S.current?(clearTimeout(k.current),k.current=window.setTimeout((()=>a(!1,e,n)),r)):t&&(clearTimeout(k.current),a(!1,e,n))}),[w,a]),M=b((()=>{_.current(),S.current=void 0})),A=b((()=>{if(j.current){const e=(0,o.YE)(c.floating).body;e.style.pointerEvents="",e.removeAttribute(se),j.current=!1}})),R=b((()=>!!i.current.openEvent&&["click","mousedown"].includes(i.current.openEvent.type)));r.useEffect((()=>{if(u&&(0,l.vq)(c.domReference)){var e;const o=c.domReference;return n&&o.addEventListener("mouseleave",s),null==(e=c.floating)||e.addEventListener("mouseleave",s),m&&o.addEventListener("mousemove",t,{once:!0}),o.addEventListener("mouseenter",t),o.addEventListener("mouseleave",r),()=>{var e;n&&o.removeEventListener("mouseleave",s),null==(e=c.floating)||e.removeEventListener("mouseleave",s),m&&o.removeEventListener("mousemove",t),o.removeEventListener("mouseenter",t),o.removeEventListener("mouseleave",r)}}function t(e){if(clearTimeout(k.current),P.current=!1,f&&!(0,o.Go)(O.current)||h>0&&!ce(w.current,"open"))return;const t=ce(w.current,"open",O.current);t?k.current=window.setTimeout((()=>{x.current||a(!0,e,"hover")}),t):n||a(!0,e,"hover")}function r(e){if(R())return;_.current();const t=(0,o.YE)(c.floating);if(clearTimeout(E.current),D.current=!1,y.current&&i.current.floatingContext){n||clearTimeout(k.current),S.current=y.current({...i.current.floatingContext,tree:g,x:e.clientX,y:e.clientY,onClose(){A(),M(),R()||T(e,!0,"safe-polygon")}});const r=S.current;return t.addEventListener("mousemove",r),void(_.current=()=>{t.removeEventListener("mousemove",r)})}("touch"!==O.current||!(0,o.gR)(c.floating,e.relatedTarget))&&T(e)}function s(e){R()||i.current.floatingContext&&(null==y.current||y.current({...i.current.floatingContext,tree:g,x:e.clientX,y:e.clientY,onClose(){A(),M(),R()||T(e)}})(e))}}),[c,u,e,f,h,m,T,M,A,a,n,x,g,w,y,i,R]),I((()=>{var e;if(u&&n&&null!=(e=y.current)&&e.__options.blockPointerEvents&&C()){j.current=!0;const e=c.floating;if((0,l.vq)(c.domReference)&&e){var t;const n=(0,o.YE)(c.floating).body;n.setAttribute(se,"");const r=c.domReference,a=null==g||null==(t=g.nodesRef.current.find((e=>e.id===v)))||null==(t=t.context)?void 0:t.elements.floating;return a&&(a.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}}),[u,n,v,c,g,y,C]),I((()=>{n||(O.current=void 0,D.current=!1,M(),A())}),[n,M,A]),r.useEffect((()=>()=>{M(),clearTimeout(k.current),clearTimeout(E.current),A()}),[u,c.domReference,M,A]);const N=r.useMemo((()=>{function e(e){O.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function r(){P.current||x.current||a(!0,t,"hover")}f&&!(0,o.Go)(O.current)||n||0===h||D.current&&e.movementX**2+e.movementY**2<2||(clearTimeout(E.current),"touch"===O.current?r():(D.current=!0,E.current=window.setTimeout(r,h)))}}}),[f,a,n,x,h]),L=r.useMemo((()=>({onMouseEnter(){clearTimeout(k.current)},onMouseLeave(e){R()||T(e.nativeEvent,!1)}})),[T,R]);return r.useMemo((()=>u?{reference:N,floating:L}:{}),[u,N,L])}const le=()=>{},de=r.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:le,setState:le,isInstantPhase:!1}),pe=()=>r.useContext(de);function fe(e){const{children:t,delay:n,timeoutMs:o=0}=e,[a,i]=r.useReducer(((e,t)=>({...e,...t})),{delay:n,timeoutMs:o,initialDelay:n,currentId:null,isInstantPhase:!1}),s=r.useRef(null),c=r.useCallback((e=>{i({currentId:e})}),[]);return I((()=>{a.currentId?null===s.current?s.current=a.currentId:a.isInstantPhase||i({isInstantPhase:!0}):(a.isInstantPhase&&i({isInstantPhase:!1}),s.current=null)}),[a.currentId,a.isInstantPhase]),(0,u.jsx)(de.Provider,{value:r.useMemo((()=>({...a,setState:i,setCurrentId:c})),[a,c]),children:t})}function he(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,floatingId:o}=e,{id:a,enabled:i=!0}=t,s=null!=a?a:o,c=pe(),{currentId:u,setCurrentId:l,initialDelay:d,setState:p,timeoutMs:f}=c;return I((()=>{i&&u&&(p({delay:{open:1,close:ce(d,"close")}}),u!==s&&r(!1))}),[i,s,r,p,u,d]),I((()=>{function e(){r(!1),p({delay:d,currentId:null})}if(i&&u&&!n&&u===s){if(f){const t=window.setTimeout(e,f);return()=>{clearTimeout(t)}}e()}}),[i,n,p,u,s,r,d,f]),I((()=>{i&&l!==le&&n&&l(s)}),[i,n,l,s]),c}let me=0;function ge(e,t){void 0===t&&(t={});const{preventScroll:n=!1,cancelPrevious:r=!0,sync:o=!1}=t;r&&cancelAnimationFrame(me);const a=()=>null==e?void 0:e.focus({preventScroll:n});o?a():me=requestAnimationFrame(a)}function ve(e,t){var n;let r=[],o=null==(n=e.find((e=>e.id===t)))?void 0:n.parentId;for(;o;){const t=e.find((e=>e.id===o));o=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r}function ye(e,t){let n=e.filter((e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)})),r=n;for(;r.length;)r=e.filter((e=>{var t;return null==(t=r)?void 0:t.some((t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)}))})),n=n.concat(r);return n}let be=new WeakMap,we=new WeakSet,xe={},Oe=0;const ke=()=>"undefined"!=typeof HTMLElement&&"inert"in HTMLElement.prototype,Se=e=>e&&(e.host||Se(e.parentNode)),Ee=(e,t)=>t.map((t=>{if(e.contains(t))return t;const n=Se(t);return e.contains(n)?n:null})).filter((e=>null!=e));function Pe(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=(0,o.YE)(e[0]).body;return function(e,t,n,r){const o="data-floating-ui-inert",a=r?"inert":n?"aria-hidden":null,i=Ee(t,e),s=new Set,c=new Set(i),u=[];xe[o]||(xe[o]=new WeakMap);const d=xe[o];return i.forEach((function e(t){t&&!s.has(t)&&(s.add(t),t.parentNode&&e(t.parentNode))})),function e(t){t&&!c.has(t)&&[].forEach.call(t.children,(t=>{if("script"!==(0,l.mq)(t))if(s.has(t))e(t);else{const e=a?t.getAttribute(a):null,n=null!==e&&"false"!==e,r=be.get(t)||0,i=a?r+1:r,s=(d.get(t)||0)+1;be.set(t,i),d.set(t,s),u.push(t),1===i&&n&&we.add(t),1===s&&t.setAttribute(o,""),!n&&a&&t.setAttribute(a,"true")}}))}(t),s.clear(),Oe++,()=>{u.forEach((e=>{const t=be.get(e)||0,n=a?t-1:t,r=(d.get(e)||0)-1;be.set(e,n),d.set(e,r),n||(!we.has(e)&&a&&e.removeAttribute(a),we.delete(e)),r||e.removeAttribute(o)})),Oe--,Oe||(be=new WeakMap,be=new WeakMap,we=new WeakSet,xe={})}}(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}const je=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function _e(e,t){const n=(0,d.Kr)(e,je());"prev"===t&&n.reverse();const r=n.indexOf((0,o.RS)((0,o.YE)(e)));return n.slice(r+1)[0]}function De(){return _e(document.body,"next")}function Ce(){return _e(document.body,"prev")}function Te(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!(0,o.gR)(n,r)}function Me(e){(0,d.Kr)(e,je()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function Ae(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}const Ie={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function Re(e){"Tab"===e.key&&(e.target,clearTimeout(undefined))}const Ne=r.forwardRef((function(e,t){const[n,a]=r.useState();I((()=>((0,o.nr)()&&a("button"),document.addEventListener("keydown",Re),()=>{document.removeEventListener("keydown",Re)})),[]);const i={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[ae("focus-guard")]:"",style:Ie};return(0,u.jsx)("span",{...e,...i})})),Le=r.createContext(null),Fe=ae("portal");function He(e){void 0===e&&(e={});const{id:t,root:n}=e,o=K(),a=Be(),[i,s]=r.useState(null),c=r.useRef(null);return I((()=>()=>{null==i||i.remove(),queueMicrotask((()=>{c.current=null}))}),[i]),I((()=>{if(!o)return;if(c.current)return;const e=t?document.getElementById(t):null;if(!e)return;const n=document.createElement("div");n.id=o,n.setAttribute(Fe,""),e.appendChild(n),c.current=n,s(n)}),[t,o]),I((()=>{if(null===n)return;if(!o)return;if(c.current)return;let e=n||(null==a?void 0:a.portalNode);e&&!(0,l.vq)(e)&&(e=e.current),e=e||document.body;let r=null;t&&(r=document.createElement("div"),r.id=t,e.appendChild(r));const i=document.createElement("div");i.id=o,i.setAttribute(Fe,""),e=r||e,e.appendChild(i),c.current=i,s(i)}),[t,n,o,a]),i}function We(e){const{children:t,id:n,root:o,preserveTabOrder:a=!0}=e,i=He({id:n,root:o}),[s,c]=r.useState(null),l=r.useRef(null),d=r.useRef(null),f=r.useRef(null),h=r.useRef(null),m=null==s?void 0:s.modal,g=null==s?void 0:s.open,v=!!s&&!s.modal&&s.open&&a&&!(!o&&!i);return r.useEffect((()=>{if(i&&a&&!m)return i.addEventListener("focusin",e,!0),i.addEventListener("focusout",e,!0),()=>{i.removeEventListener("focusin",e,!0),i.removeEventListener("focusout",e,!0)};function e(e){if(i&&Te(e)){("focusin"===e.type?Ae:Me)(i)}}}),[i,a,m]),r.useEffect((()=>{i&&(g||Ae(i))}),[g,i]),(0,u.jsxs)(Le.Provider,{value:r.useMemo((()=>({preserveTabOrder:a,beforeOutsideRef:l,afterOutsideRef:d,beforeInsideRef:f,afterInsideRef:h,portalNode:i,setFocusManagerState:c})),[a,i]),children:[v&&i&&(0,u.jsx)(Ne,{"data-type":"outside",ref:l,onFocus:e=>{if(Te(e,i)){var t;null==(t=f.current)||t.focus()}else{const e=Ce()||(null==s?void 0:s.domReference);null==e||e.focus()}}}),v&&i&&(0,u.jsx)("span",{"aria-owns":i.id,style:Ie}),i&&p.createPortal(t,i),v&&i&&(0,u.jsx)(Ne,{"data-type":"outside",ref:d,onFocus:e=>{if(Te(e,i)){var t;null==(t=h.current)||t.focus()}else{const t=De()||(null==s?void 0:s.domReference);null==t||t.focus(),(null==s?void 0:s.closeOnFocusOut)&&(null==s||s.onOpenChange(!1,e.nativeEvent,"focus-out"))}}})]})}const Be=()=>r.useContext(Le),Ue="data-floating-ui-focusable";function Ye(e){return e?e.hasAttribute(Ue)?e:e.querySelector("["+Ue+"]")||e:null}const ze=20;let Ve=[];function qe(e){Ve=Ve.filter((e=>e.isConnected)),e&&"body"!==(0,l.mq)(e)&&(Ve.push(e),Ve.length>ze&&(Ve=Ve.slice(-ze)))}function $e(){return Ve.slice().reverse().find((e=>e.isConnected))}const Ge=r.forwardRef((function(e,t){return(0,u.jsx)("button",{...e,type:"button",ref:t,tabIndex:-1,style:Ie})}));function Ke(e){const{context:t,children:n,disabled:a=!1,order:i=["content"],guards:s=!0,initialFocus:c=0,returnFocus:p=!0,restoreFocus:f=!1,modal:h=!0,visuallyHiddenDismiss:m=!1,closeOnFocusOut:v=!0,outsideElementsInert:y=!1}=e,{open:w,onOpenChange:x,events:O,dataRef:k,elements:{domReference:S,floating:E}}=t,P=b((()=>{var e;return null==(e=k.current.floatingContext)?void 0:e.nodeId})),j="number"==typeof c&&c<0,_=(0,o.WZ)(S)&&j,D=ke(),C=!D||s,T=!C||D&&y,M=ie(i),A=ie(c),R=ie(p),N=te(),L=Be(),F=r.useRef(null),H=r.useRef(null),W=r.useRef(!1),B=r.useRef(!1),U=r.useRef(-1),Y=null!=L,z=Ye(E),V=b((function(e){return void 0===e&&(e=z),e?(0,d.Kr)(e,je()):[]})),q=b((e=>{const t=V(e);return M.current.map((e=>S&&"reference"===e?S:z&&"floating"===e?z:t)).filter(Boolean).flat()}));r.useEffect((()=>{if(a)return;if(!h)return;function e(e){if("Tab"===e.key){(0,o.gR)(z,(0,o.RS)((0,o.YE)(z)))&&0===V().length&&!_&&(0,o.jo)(e);const t=q(),n=(0,o.EW)(e);"reference"===M.current[0]&&n===S&&((0,o.jo)(e),e.shiftKey?ge(t[t.length-1]):ge(t[1])),"floating"===M.current[1]&&n===z&&e.shiftKey&&((0,o.jo)(e),ge(t[0]))}}const t=(0,o.YE)(z);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}}),[a,S,z,h,M,_,V,q]),r.useEffect((()=>{if(!a&&E)return E.addEventListener("focusin",e),()=>{E.removeEventListener("focusin",e)};function e(e){const t=(0,o.EW)(e),n=V().indexOf(t);-1!==n&&(U.current=n)}}),[a,E,V]),r.useEffect((()=>{if(!a&&v)return E&&(0,l.sb)(S)?(S.addEventListener("focusout",t),S.addEventListener("pointerdown",e),E.addEventListener("focusout",t),()=>{S.removeEventListener("focusout",t),S.removeEventListener("pointerdown",e),E.removeEventListener("focusout",t)}):void 0;function e(){B.current=!0,setTimeout((()=>{B.current=!1}))}function t(e){const t=e.relatedTarget;queueMicrotask((()=>{const n=P(),r=!((0,o.gR)(S,t)||(0,o.gR)(E,t)||(0,o.gR)(t,E)||(0,o.gR)(null==L?void 0:L.portalNode,t)||null!=t&&t.hasAttribute(ae("focus-guard"))||N&&(ye(N.nodesRef.current,n).find((e=>{var n,r;return(0,o.gR)(null==(n=e.context)?void 0:n.elements.floating,t)||(0,o.gR)(null==(r=e.context)?void 0:r.elements.domReference,t)}))||ve(N.nodesRef.current,n).find((e=>{var n,r,o;return[null==(n=e.context)?void 0:n.elements.floating,Ye(null==(r=e.context)?void 0:r.elements.floating)].includes(t)||(null==(o=e.context)?void 0:o.elements.domReference)===t}))));if(f&&r&&(0,o.RS)((0,o.YE)(z))===(0,o.YE)(z).body){(0,l.sb)(z)&&z.focus();const e=U.current,t=V(),n=t[e]||t[t.length-1]||z;(0,l.sb)(n)&&n.focus()}!_&&h||!t||!r||B.current||t===$e()||(W.current=!0,x(!1,e,"focus-out"))}))}}),[a,S,E,z,h,N,L,x,v,f,V,_,P]);const $=r.useRef(null),G=r.useRef(null),K=g([$,null==L?void 0:L.beforeInsideRef]),Q=g([G,null==L?void 0:L.afterInsideRef]);function X(e){return!a&&m&&h?(0,u.jsx)(Ge,{ref:"start"===e?F:H,onClick:e=>x(!1,e.nativeEvent),children:"string"==typeof m?m:"Dismiss"}):null}r.useEffect((()=>{var e;if(a)return;if(!E)return;const t=Array.from((null==L||null==(e=L.portalNode)?void 0:e.querySelectorAll("["+ae("portal")+"]"))||[]),n=N&&!h?ve(null==N?void 0:N.nodesRef.current,P()).map((e=>{var t;return null==(t=e.context)?void 0:t.elements.floating})):[],r=[E,...t,...n,F.current,H.current,$.current,G.current,null==L?void 0:L.beforeOutsideRef.current,null==L?void 0:L.afterOutsideRef.current,M.current.includes("reference")||_?S:null].filter((e=>null!=e)),o=h||_?Pe(r,!T,T):Pe(r);return()=>{o()}}),[a,S,E,h,M,L,_,C,T,N,P]),I((()=>{if(a||!(0,l.sb)(z))return;const e=(0,o.YE)(z),t=(0,o.RS)(e);queueMicrotask((()=>{const e=q(z),n=A.current,r=("number"==typeof n?e[n]:n.current)||z,a=(0,o.gR)(z,t);j||a||!w||ge(r,{preventScroll:r===z})}))}),[a,w,z,j,q,A]),I((()=>{if(a||!z)return;let e=!1;const t=(0,o.YE)(z),n=(0,o.RS)(t);let r=k.current.openEvent;function i(t){let{open:n,reason:a,event:i,nested:s}=t;n&&(r=i),"escape-key"===a&&S&&qe(S),["hover","safe-polygon"].includes(a)&&"mouseleave"===i.type&&(W.current=!0),"outside-press"===a&&(s?(W.current=!1,e=!0):W.current=!((0,o.YF)(i)||(0,o.Pg)(i)))}qe(n),O.on("openchange",i);const s=t.createElement("span");return s.setAttribute("tabindex","-1"),s.setAttribute("aria-hidden","true"),Object.assign(s.style,Ie),Y&&S&&S.insertAdjacentElement("afterend",s),()=>{O.off("openchange",i);const n=(0,o.RS)(t),a=(0,o.gR)(E,n)||N&&ye(N.nodesRef.current,P()).some((e=>{var t;return(0,o.gR)(null==(t=e.context)?void 0:t.elements.floating,n)}));(a||r&&["click","mousedown"].includes(r.type))&&S&&qe(S);const c="boolean"==typeof R.current?$e()||s:R.current.current||s;queueMicrotask((()=>{const r=function(e){const t=je();return(0,d.AO)(e,t)?e:(0,d.Kr)(e,t)[0]||e}(c);R.current&&!W.current&&(0,l.sb)(r)&&(r===n||n===t.body||a)&&r.focus({preventScroll:e}),s.remove()}))}}),[a,E,z,R,k,O,N,Y,S,P]),r.useEffect((()=>{queueMicrotask((()=>{W.current=!1}))}),[a]),I((()=>{if(!a&&L)return L.setFocusManagerState({modal:h,closeOnFocusOut:v,open:w,onOpenChange:x,domReference:S}),()=>{L.setFocusManagerState(null)}}),[a,L,h,w,x,v,S]),I((()=>{if(a)return;if(!z)return;if("function"!=typeof MutationObserver)return;if(j)return;const e=()=>{const e=z.getAttribute("tabindex"),t=V(),n=(0,o.RS)((0,o.YE)(E)),r=t.indexOf(n);-1!==r&&(U.current=r),M.current.includes("floating")||n!==S&&0===t.length?"0"!==e&&z.setAttribute("tabindex","0"):"-1"!==e&&z.setAttribute("tabindex","-1")};e();const t=new MutationObserver(e);return t.observe(z,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}}),[a,E,z,S,M,V,j]);const Z=!a&&C&&(!h||!_)&&(Y||h);return(0,u.jsxs)(u.Fragment,{children:[Z&&(0,u.jsx)(Ne,{"data-type":"inside",ref:K,onFocus:e=>{if(h){const e=q();ge("reference"===i[0]?e[0]:e[e.length-1])}else if(null!=L&&L.preserveTabOrder&&L.portalNode)if(W.current=!1,Te(e,L.portalNode)){const e=De()||S;null==e||e.focus()}else{var t;null==(t=L.beforeOutsideRef.current)||t.focus()}}}),!_&&X("start"),n,X("end"),Z&&(0,u.jsx)(Ne,{"data-type":"inside",ref:Q,onFocus:e=>{if(h)ge(q()[0]);else if(null!=L&&L.preserveTabOrder&&L.portalNode)if(v&&(W.current=!0),Te(e,L.portalNode)){const e=Ce()||S;null==e||e.focus()}else{var t;null==(t=L.afterOutsideRef.current)||t.focus()}}})]})}let Qe=0;let Xe=()=>{};const Ze=r.forwardRef((function(e,t){const{lockScroll:n=!1,...r}=e;return I((()=>{if(n)return Qe++,1===Qe&&(Xe=function(){const e=/iP(hone|ad|od)|iOS/.test((0,o.uo)()),t=document.body.style,n=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",r=window.innerWidth-document.documentElement.clientWidth,a=t.left?parseFloat(t.left):window.scrollX,i=t.top?parseFloat(t.top):window.scrollY;if(t.overflow="hidden",r&&(t[n]=r+"px"),e){var s,c;const e=(null==(s=window.visualViewport)?void 0:s.offsetLeft)||0,n=(null==(c=window.visualViewport)?void 0:c.offsetTop)||0;Object.assign(t,{position:"fixed",top:-(i-Math.floor(n))+"px",left:-(a-Math.floor(e))+"px",right:"0"})}return()=>{Object.assign(t,{overflow:"",[n]:""}),e&&(Object.assign(t,{position:"",top:"",left:"",right:""}),window.scrollTo(a,i))}}()),()=>{Qe--,0===Qe&&Xe()}}),[n]),(0,u.jsx)("div",{ref:t,...r,style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...r.style}})}));function Je(e){return(0,l.sb)(e.target)&&"BUTTON"===e.target.tagName}function et(e){return(0,o.$u)(e)}function tt(e,t){void 0===t&&(t={});const{open:n,onOpenChange:a,dataRef:i,elements:{domReference:s}}=e,{enabled:c=!0,event:u="click",toggle:l=!0,ignoreMouse:d=!1,keyboardHandlers:p=!0,stickIfOpen:f=!0}=t,h=r.useRef(),m=r.useRef(!1),g=r.useMemo((()=>({onPointerDown(e){h.current=e.pointerType},onMouseDown(e){const t=h.current;0===e.button&&"click"!==u&&((0,o.Go)(t,!0)&&d||(!n||!l||i.current.openEvent&&f&&"mousedown"!==i.current.openEvent.type?(e.preventDefault(),a(!0,e.nativeEvent,"click")):a(!1,e.nativeEvent,"click")))},onClick(e){const t=h.current;"mousedown"===u&&h.current?h.current=void 0:(0,o.Go)(t,!0)&&d||(!n||!l||i.current.openEvent&&f&&"click"!==i.current.openEvent.type?a(!0,e.nativeEvent,"click"):a(!1,e.nativeEvent,"click"))},onKeyDown(e){h.current=void 0,e.defaultPrevented||!p||Je(e)||(" "!==e.key||et(s)||(e.preventDefault(),m.current=!0),"Enter"===e.key&&a(!n||!l,e.nativeEvent,"click"))},onKeyUp(e){e.defaultPrevented||!p||Je(e)||et(s)||" "===e.key&&m.current&&(m.current=!1,a(!n||!l,e.nativeEvent,"click"))}})),[i,s,u,d,p,a,n,f,l]);return r.useMemo((()=>c?{reference:g}:{}),[c,g])}function nt(e){return null!=e&&null!=e.clientX}function rt(e,t){void 0===t&&(t={});const{open:n,dataRef:a,elements:{floating:i,domReference:s},refs:c}=e,{enabled:u=!0,axis:d="both",x:p=null,y:f=null}=t,h=r.useRef(!1),m=r.useRef(null),[g,v]=r.useState(),[y,w]=r.useState([]),x=b(((e,t)=>{h.current||a.current.openEvent&&!nt(a.current.openEvent)||c.setPositionReference(function(e,t){let n=null,r=null,o=!1;return{contextElement:e||void 0,getBoundingClientRect(){var a;const i=(null==e?void 0:e.getBoundingClientRect())||{width:0,height:0,x:0,y:0},s="x"===t.axis||"both"===t.axis,c="y"===t.axis||"both"===t.axis,u=["mouseenter","mousemove"].includes((null==(a=t.dataRef.current.openEvent)?void 0:a.type)||"")&&"touch"!==t.pointerType;let l=i.width,d=i.height,p=i.x,f=i.y;return null==n&&t.x&&s&&(n=i.x-t.x),null==r&&t.y&&c&&(r=i.y-t.y),p-=n||0,f-=r||0,l=0,d=0,!o||u?(l="y"===t.axis?i.width:0,d="x"===t.axis?i.height:0,p=s&&null!=t.x?t.x:p,f=c&&null!=t.y?t.y:f):o&&!u&&(d="x"===t.axis?i.height:d,l="y"===t.axis?i.width:l),o=!0,{width:l,height:d,x:p,y:f,top:f,right:p+l,bottom:f+d,left:p}}}}(s,{x:e,y:t,axis:d,dataRef:a,pointerType:g}))})),O=b((e=>{null==p&&null==f&&(n?m.current||w([]):x(e.clientX,e.clientY))})),k=(0,o.Go)(g)?i:n,S=r.useCallback((()=>{if(!k||!u||null!=p||null!=f)return;const e=(0,l.zk)(i);function t(n){const r=(0,o.EW)(n);(0,o.gR)(i,r)?(e.removeEventListener("mousemove",t),m.current=null):x(n.clientX,n.clientY)}if(!a.current.openEvent||nt(a.current.openEvent)){e.addEventListener("mousemove",t);const n=()=>{e.removeEventListener("mousemove",t),m.current=null};return m.current=n,n}c.setPositionReference(s)}),[k,u,p,f,i,a,c,s,x]);r.useEffect((()=>S()),[S,y]),r.useEffect((()=>{u&&!i&&(h.current=!1)}),[u,i]),r.useEffect((()=>{!u&&n&&(h.current=!0)}),[u,n]),I((()=>{!u||null==p&&null==f||(h.current=!1,x(p,f))}),[u,p,f,x]);const E=r.useMemo((()=>{function e(e){let{pointerType:t}=e;v(t)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:O,onMouseEnter:O}}),[O]);return r.useMemo((()=>u?{reference:E}:{}),[u,E])}const ot={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},at={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},it=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function st(e,t){void 0===t&&(t={});const{open:n,onOpenChange:a,elements:i,dataRef:s}=e,{enabled:c=!0,escapeKey:u=!0,outsidePress:d=!0,outsidePressEvent:p="pointerdown",referencePress:h=!1,referencePressEvent:m="pointerdown",ancestorScroll:g=!1,bubbles:v,capture:y}=t,w=te(),x=b("function"==typeof d?d:()=>!1),O="function"==typeof d?x:d,k=r.useRef(!1),S=r.useRef(!1),{escapeKey:E,outsidePress:P}=it(v),{escapeKey:j,outsidePress:_}=it(y),D=r.useRef(!1),C=b((e=>{var t;if(!n||!c||!u||"Escape"!==e.key)return;if(D.current)return;const r=null==(t=s.current.floatingContext)?void 0:t.nodeId,i=w?ye(w.nodesRef.current,r):[];if(!E&&(e.stopPropagation(),i.length>0)){let e=!0;if(i.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)})),!e)return}a(!1,(0,o.O_)(e)?e.nativeEvent:e,"escape-key")})),T=b((e=>{var t;const n=()=>{var t;C(e),null==(t=(0,o.EW)(e))||t.removeEventListener("keydown",n)};null==(t=(0,o.EW)(e))||t.addEventListener("keydown",n)})),M=b((e=>{var t;const n=k.current;k.current=!1;const r=S.current;if(S.current=!1,"click"===p&&r)return;if(n)return;if("function"==typeof O&&!O(e))return;const c=(0,o.EW)(e),u="["+ae("inert")+"]",d=(0,o.YE)(i.floating).querySelectorAll(u);let f=(0,l.vq)(c)?c:null;for(;f&&!(0,l.eu)(f);){const e=(0,l.$4)(f);if((0,l.eu)(e)||!(0,l.vq)(e))break;f=e}if(d.length&&(0,l.vq)(c)&&!(0,o.tZ)(c)&&!(0,o.gR)(c,i.floating)&&Array.from(d).every((e=>!(0,o.gR)(f,e))))return;if((0,l.sb)(c)&&R){const t=(0,l.eu)(c),n=(0,l.L9)(c),r=/auto|scroll/,o=t||r.test(n.overflowX),a=t||r.test(n.overflowY),i=o&&c.clientWidth>0&&c.scrollWidth>c.clientWidth,s=a&&c.clientHeight>0&&c.scrollHeight>c.clientHeight,u="rtl"===n.direction,d=s&&(u?e.offsetX<=c.offsetWidth-c.clientWidth:e.offsetX>c.clientWidth),p=i&&e.offsetY>c.clientHeight;if(d||p)return}const h=null==(t=s.current.floatingContext)?void 0:t.nodeId,m=w&&ye(w.nodesRef.current,h).some((t=>{var n;return(0,o.F2)(e,null==(n=t.context)?void 0:n.elements.floating)}));if((0,o.F2)(e,i.floating)||(0,o.F2)(e,i.domReference)||m)return;const g=w?ye(w.nodesRef.current,h):[];if(g.length>0){let e=!0;if(g.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}a(!1,e,"outside-press")})),A=b((e=>{var t;const n=()=>{var t;M(e),null==(t=(0,o.EW)(e))||t.removeEventListener(p,n)};null==(t=(0,o.EW)(e))||t.addEventListener(p,n)}));r.useEffect((()=>{if(!n||!c)return;s.current.__escapeKeyBubbles=E,s.current.__outsidePressBubbles=P;let e=-1;function t(e){a(!1,e,"ancestor-scroll")}function r(){window.clearTimeout(e),D.current=!0}function d(){e=window.setTimeout((()=>{D.current=!1}),(0,l.Tc)()?5:0)}const h=(0,o.YE)(i.floating);u&&(h.addEventListener("keydown",j?T:C,j),h.addEventListener("compositionstart",r),h.addEventListener("compositionend",d)),O&&h.addEventListener(p,_?A:M,_);let m=[];return g&&((0,l.vq)(i.domReference)&&(m=(0,f.v9)(i.domReference)),(0,l.vq)(i.floating)&&(m=m.concat((0,f.v9)(i.floating))),!(0,l.vq)(i.reference)&&i.reference&&i.reference.contextElement&&(m=m.concat((0,f.v9)(i.reference.contextElement)))),m=m.filter((e=>{var t;return e!==(null==(t=h.defaultView)?void 0:t.visualViewport)})),m.forEach((e=>{e.addEventListener("scroll",t,{passive:!0})})),()=>{u&&(h.removeEventListener("keydown",j?T:C,j),h.removeEventListener("compositionstart",r),h.removeEventListener("compositionend",d)),O&&h.removeEventListener(p,_?A:M,_),m.forEach((e=>{e.removeEventListener("scroll",t)})),window.clearTimeout(e)}}),[s,i,u,O,p,n,a,g,c,E,P,C,j,T,M,_,A]),r.useEffect((()=>{k.current=!1}),[O,p]);const I=r.useMemo((()=>({onKeyDown:C,...h&&{[ot[m]]:e=>{a(!1,e.nativeEvent,"reference-press")},..."click"!==m&&{onClick(e){a(!1,e.nativeEvent,"reference-press")}}}})),[C,a,h,m]),R=r.useMemo((()=>({onKeyDown:C,onMouseDown(){S.current=!0},onMouseUp(){S.current=!0},[at[p]]:()=>{k.current=!0}})),[C,p]);return r.useMemo((()=>c?{reference:I,floating:R}:{}),[c,I,R])}function ct(e){const{open:t=!1,onOpenChange:n,elements:o}=e,a=K(),i=r.useRef({}),[s]=r.useState((()=>X())),c=null!=ee();const[u,l]=r.useState(o.reference),d=b(((e,t,r)=>{i.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:r,nested:c}),null==n||n(e,t,r)})),p=r.useMemo((()=>({setPositionReference:l})),[]),f=r.useMemo((()=>({reference:u||o.reference||null,floating:o.floating||null,domReference:o.reference})),[u,o.reference,o.floating]);return r.useMemo((()=>({dataRef:i,open:t,onOpenChange:d,elements:f,events:s,floatingId:a,refs:p})),[t,d,f,s,a,p])}function ut(e){void 0===e&&(e={});const{nodeId:t}=e,n=ct({...e,elements:{reference:null,floating:null,...e.elements}}),o=e.rootContext||n,a=o.elements,[i,s]=r.useState(null),[c,u]=r.useState(null),d=(null==a?void 0:a.domReference)||i,p=r.useRef(null),f=te();I((()=>{d&&(p.current=d)}),[d]);const m=(0,h.we)({...e,elements:{...a,...c&&{reference:c}}}),g=r.useCallback((e=>{const t=(0,l.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;u(t),m.refs.setReference(t)}),[m.refs]),v=r.useCallback((e=>{((0,l.vq)(e)||null===e)&&(p.current=e,s(e)),((0,l.vq)(m.refs.reference.current)||null===m.refs.reference.current||null!==e&&!(0,l.vq)(e))&&m.refs.setReference(e)}),[m.refs]),y=r.useMemo((()=>({...m.refs,setReference:v,setPositionReference:g,domReference:p})),[m.refs,v,g]),b=r.useMemo((()=>({...m.elements,domReference:d})),[m.elements,d]),w=r.useMemo((()=>({...m,...o,refs:y,elements:b,nodeId:t})),[m,y,b,t,o]);return I((()=>{o.dataRef.current.floatingContext=w;const e=null==f?void 0:f.nodesRef.current.find((e=>e.id===t));e&&(e.context=w)})),r.useMemo((()=>({...m,context:w,refs:y,elements:b})),[m,y,b,w])}function lt(e,t){void 0===t&&(t={});const{open:n,onOpenChange:a,events:i,dataRef:s,elements:c}=e,{enabled:u=!0,visibleOnly:d=!0}=t,p=r.useRef(!1),f=r.useRef(),h=r.useRef(!0);r.useEffect((()=>{if(!u)return;const e=(0,l.zk)(c.domReference);function t(){!n&&(0,l.sb)(c.domReference)&&c.domReference===(0,o.RS)((0,o.YE)(c.domReference))&&(p.current=!0)}function r(){h.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",r,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",r,!0)}}),[c.domReference,n,u]),r.useEffect((()=>{if(u)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{reason:t}=e;"reference-press"!==t&&"escape-key"!==t||(p.current=!0)}}),[i,u]),r.useEffect((()=>()=>{clearTimeout(f.current)}),[]);const m=r.useMemo((()=>({onPointerDown(e){(0,o.Pg)(e.nativeEvent)||(h.current=!1)},onMouseLeave(){p.current=!1},onFocus(e){if(p.current)return;const t=(0,o.EW)(e.nativeEvent);if(d&&(0,l.vq)(t))try{if((0,o.nr)()&&(0,o.cX)())throw Error();if(!t.matches(":focus-visible"))return}catch(e){if(!h.current&&!(0,o.$u)(t))return}a(!0,e.nativeEvent,"focus")},onBlur(e){p.current=!1;const t=e.relatedTarget,n=e.nativeEvent,r=(0,l.vq)(t)&&t.hasAttribute(ae("focus-guard"))&&"outside"===t.getAttribute("data-type");f.current=window.setTimeout((()=>{var e;const i=(0,o.RS)(c.domReference?c.domReference.ownerDocument:document);(t||i!==c.domReference)&&((0,o.gR)(null==(e=s.current.floatingContext)?void 0:e.refs.floating.current,i)||(0,o.gR)(c.domReference,i)||r||a(!1,n,"focus"))}))}})),[s,c.domReference,a,d]);return r.useMemo((()=>u?{reference:m}:{}),[u,m])}const dt="active",pt="selected";function ft(e,t,n){const r=new Map,o="item"===n;let a=e;if(o&&e){const{[dt]:t,[pt]:n,...r}=e;a=r}return{..."floating"===n&&{tabIndex:-1,[Ue]:""},...a,...t.map((t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,a]=t;var i;o&&[dt,pt].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof a&&(null==(i=r.get(n))||i.push(a),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];return null==(e=r.get(n))?void 0:e.map((e=>e(...o))).find((e=>void 0!==e))})):e[n]=a)})),e):e),{})}}function ht(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),o=e.map((e=>null==e?void 0:e.item)),a=r.useCallback((t=>ft(t,e,"reference")),t),i=r.useCallback((t=>ft(t,e,"floating")),n),s=r.useCallback((t=>ft(t,e,"item")),o);return r.useMemo((()=>({getReferenceProps:a,getFloatingProps:i,getItemProps:s})),[a,i,s])}function mt(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function gt(e,t){return mt(t,e===w||e===x,e===O||e===k)}function vt(e,t,n){return mt(t,e===x,n?e===O:e===k)||"Enter"===e||" "===e||""===e}function yt(e,t,n){return mt(t,n?e===k:e===O,e===w)}function bt(e,t){const{open:n,onOpenChange:a,elements:i}=e,{listRef:s,activeIndex:c,onNavigate:u=(()=>{}),enabled:d=!0,selectedIndex:p=null,allowEscape:f=!1,loop:h=!1,nested:m=!1,rtl:g=!1,virtual:v=!1,focusItemOnOpen:y="auto",focusItemOnHover:w=!0,openOnArrowKeyDown:S=!0,disabledIndices:R,orientation:N="vertical",cols:L=1,scrollItemIntoView:F=!0,virtualItemRef:H,itemSizes:W,dense:B=!1}=t;const U=ie(Ye(i.floating)),Y=ee(),z=te(),V=b((()=>{u(-1===G.current?null:G.current)})),q=(0,o.WZ)(i.domReference),$=r.useRef(y),G=r.useRef(null!=p?p:-1),K=r.useRef(null),Q=r.useRef(!0),X=r.useRef(V),Z=r.useRef(!!i.floating),J=r.useRef(n),ne=r.useRef(!1),re=r.useRef(!1),oe=ie(R),ae=ie(n),se=ie(F),ce=ie(p),[ue,le]=r.useState(),[de,pe]=r.useState(),fe=b((()=>{function e(e){v?(le(e.id),null==z||z.events.emit("virtualfocus",e),H&&(H.current=e)):ge(e,{sync:ne.current,preventScroll:!0})}const t=s.current[G.current];t&&e(t);(ne.current?e=>e():requestAnimationFrame)((()=>{const n=s.current[G.current]||t;if(!n)return;t||e(n);const r=se.current;r&&me&&(re.current||!Q.current)&&(null==n.scrollIntoView||n.scrollIntoView("boolean"==typeof r?{block:"nearest",inline:"nearest"}:r))}))}));I((()=>{d&&(n&&i.floating?$.current&&null!=p&&(re.current=!0,G.current=p,V()):Z.current&&(G.current=-1,X.current()))}),[d,n,i.floating,p,V]),I((()=>{if(d&&n&&i.floating)if(null==c){if(ne.current=!1,null!=ce.current)return;if(Z.current&&(G.current=-1,fe()),(!J.current||!Z.current)&&$.current&&(null!=K.current||!0===$.current&&null==K.current)){let e=0;const t=()=>{if(null==s.current[0]){if(e<2){(e?requestAnimationFrame:queueMicrotask)(t)}e++}else G.current=null==K.current||vt(K.current,N,g)||m?P(s,oe.current):j(s,oe.current),K.current=null,V()};t()}}else E(s,c)||(G.current=c,fe(),re.current=!1)}),[d,n,i.floating,c,ce,m,s,N,g,V,fe,oe]),I((()=>{var e;if(!d||i.floating||!z||v||!Z.current)return;const t=z.nodesRef.current,n=null==(e=t.find((e=>e.id===Y)))||null==(e=e.context)?void 0:e.elements.floating,r=(0,o.RS)((0,o.YE)(i.floating)),a=t.some((e=>e.context&&(0,o.gR)(e.context.elements.floating,r)));n&&!a&&Q.current&&n.focus({preventScroll:!0})}),[d,i.floating,z,Y,v]),I((()=>{if(d&&z&&v&&!Y)return z.events.on("virtualfocus",e),()=>{z.events.off("virtualfocus",e)};function e(e){pe(e.id),H&&(H.current=e)}}),[d,z,v,Y,H]),I((()=>{X.current=V,J.current=n,Z.current=!!i.floating})),I((()=>{n||(K.current=null)}),[n]);const he=null!=c,me=r.useMemo((()=>{function e(e){if(!n)return;const t=s.current.indexOf(e);-1!==t&&G.current!==t&&(G.current=t,V())}return{onFocus(t){let{currentTarget:n}=t;ne.current=!0,e(n)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...w&&{onMouseMove(t){let{currentTarget:n}=t;ne.current=!0,re.current=!1,e(n)},onPointerLeave(e){let{pointerType:t}=e;var n;Q.current&&"touch"!==t&&(ne.current=!0,G.current=-1,V(),v||null==(n=U.current)||n.focus({preventScroll:!0}))}}}}),[n,U,w,s,V,v]),ve=b((e=>{if(Q.current=!1,ne.current=!0,229===e.which)return;if(!ae.current&&e.currentTarget===U.current)return;if(m&&yt(e.key,N,g))return(0,o.jo)(e),a(!1,e.nativeEvent,"list-navigation"),void((0,l.sb)(i.domReference)&&(v?null==z||z.events.emit("virtualfocus",i.domReference):i.domReference.focus()));const t=G.current,r=P(s,R),c=j(s,R);if(q||("Home"===e.key&&((0,o.jo)(e),G.current=r,V()),"End"===e.key&&((0,o.jo)(e),G.current=c,V())),L>1){const t=W||Array.from({length:s.current.length},(()=>({width:1,height:1}))),n=C(t,L,B),o=n.findIndex((e=>null!=e&&!A(s.current,e,R))),a=n.reduce(((e,t,n)=>null==t||A(s.current,t,R)?e:n),-1),i=n[D({current:n.map((e=>null!=e?s.current[e]:null))},{event:e,orientation:N,loop:h,rtl:g,cols:L,disabledIndices:M([...R||s.current.map(((e,t)=>A(s.current,t)?t:void 0)),void 0],n),minIndex:o,maxIndex:a,prevIndex:T(G.current>c?r:G.current,t,n,L,e.key===x?"bl":e.key===(g?O:k)?"tr":"tl"),stopEvent:!0})];if(null!=i&&(G.current=i,V()),"both"===N)return}if(gt(e.key,N)){if((0,o.jo)(e),n&&!v&&(0,o.RS)(e.currentTarget.ownerDocument)===e.currentTarget)return G.current=vt(e.key,N,g)?r:c,void V();vt(e.key,N,g)?G.current=h?t>=c?f&&t!==s.current.length?-1:r:_(s,{startingIndex:t,disabledIndices:R}):Math.min(c,_(s,{startingIndex:t,disabledIndices:R})):G.current=h?t<=r?f&&-1!==t?s.current.length:c:_(s,{startingIndex:t,decrement:!0,disabledIndices:R}):Math.max(r,_(s,{startingIndex:t,decrement:!0,disabledIndices:R})),E(s,G.current)&&(G.current=-1),V()}})),be=r.useMemo((()=>v&&n&&he&&{"aria-activedescendant":de||ue}),[v,n,he,de,ue]),we=r.useMemo((()=>({"aria-orientation":"both"===N?void 0:N,...q?{}:be,onKeyDown:ve,onPointerMove(){Q.current=!0}})),[be,ve,N,q]),xe=r.useMemo((()=>{function e(e){"auto"===y&&(0,o.YF)(e.nativeEvent)&&($.current=!0)}function t(e){$.current=y,"auto"===y&&(0,o.Pg)(e.nativeEvent)&&($.current=!0)}return{...be,onKeyDown(e){Q.current=!1;const t=e.key.startsWith("Arrow"),r=["Home","End"].includes(e.key),i=t||r,c=function(e,t,n){return mt(t,n?e===O:e===k,e===x)}(e.key,N,g),u=yt(e.key,N,g),l=gt(e.key,N),d=(m?c:l)||"Enter"===e.key||""===e.key.trim();if(v&&n){const t=null==z?void 0:z.nodesRef.current.find((e=>null==e.parentId)),n=z&&t?function(e,t){let n,r=-1;return function t(o,a){a>r&&(n=o,r=a),ye(e,o).forEach((e=>{t(e.id,a+1)}))}(t,0),e.find((e=>e.id===n))}(z.nodesRef.current,t.id):null;if(i&&n&&H){const t=new KeyboardEvent("keydown",{key:e.key,bubbles:!0});if(c||u){var f,h;const r=(null==(f=n.context)?void 0:f.elements.domReference)===e.currentTarget,a=u&&!r?null==(h=n.context)?void 0:h.elements.domReference:c?s.current.find((e=>(null==e?void 0:e.id)===ue)):null;a&&((0,o.jo)(e),a.dispatchEvent(t),pe(void 0))}var y;if((l||r)&&n.context)if(n.context.open&&n.parentId&&e.currentTarget!==n.context.elements.domReference)return(0,o.jo)(e),void(null==(y=n.context.elements.domReference)||y.dispatchEvent(t))}return ve(e)}(n||S||!t)&&(d&&(K.current=m&&l?null:e.key),m?c&&((0,o.jo)(e),n?(G.current=P(s,oe.current),V()):a(!0,e.nativeEvent,"list-navigation")):l&&(null!=p&&(G.current=p),(0,o.jo)(e),!n&&S?a(!0,e.nativeEvent,"list-navigation"):ve(e),n&&V()))},onFocus(){n&&!v&&(G.current=-1,V())},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}}),[ue,be,ve,oe,y,s,m,V,a,n,S,N,g,p,z,v,H]);return r.useMemo((()=>d?{reference:xe,floating:we,item:me}:{}),[d,xe,we,me])}const wt=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function xt(e,t){var n;void 0===t&&(t={});const{open:o,floatingId:a}=e,{enabled:i=!0,role:s="dialog"}=t,c=null!=(n=wt.get(s))?n:s,u=K(),l=null!=ee(),d=r.useMemo((()=>"tooltip"===c||"label"===s?{["aria-"+("label"===s?"labelledby":"describedby")]:o?a:void 0}:{"aria-expanded":o?"true":"false","aria-haspopup":"alertdialog"===c?"dialog":c,"aria-controls":o?a:void 0,..."listbox"===c&&{role:"combobox"},..."menu"===c&&{id:u},..."menu"===c&&l&&{role:"menuitem"},..."select"===s&&{"aria-autocomplete":"none"},..."combobox"===s&&{"aria-autocomplete":"list"}}),[c,a,l,o,u,s]),p=r.useMemo((()=>{const e={id:a,...c&&{role:c}};return"tooltip"===c||"label"===s?e:{...e,..."menu"===c&&{"aria-labelledby":u}}}),[c,a,u,s]),f=r.useCallback((e=>{let{active:t,selected:n}=e;const r={role:"option",...t&&{id:a+"-option"}};switch(s){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}}),[a,s]);return r.useMemo((()=>i?{reference:d,floating:p,item:f}:{}),[i,d,p,f])}const Ot=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,((e,t)=>(t?"-":"")+e.toLowerCase()));function kt(e,t){return"function"==typeof e?e(t):e}function St(e,t){void 0===t&&(t={});const{open:n,elements:{floating:o}}=e,{duration:a=250}=t,i=("number"==typeof a?a:a.close)||0,[s,c]=r.useState("unmounted"),u=function(e,t){const[n,o]=r.useState(e);return e&&!n&&o(!0),r.useEffect((()=>{if(!e&&n){const e=setTimeout((()=>o(!1)),t);return()=>clearTimeout(e)}}),[e,n,t]),n}(n,i);return u||"close"!==s||c("unmounted"),I((()=>{if(o){if(n){c("initial");const e=requestAnimationFrame((()=>{c("open")}));return()=>{cancelAnimationFrame(e)}}c("close")}}),[n,o]),{isMounted:u,status:s}}function Et(e,t){void 0===t&&(t={});const{initial:n={opacity:0},open:o,close:a,common:i,duration:s=250}=t,c=e.placement,u=c.split("-")[0],l=r.useMemo((()=>({side:u,placement:c})),[u,c]),d="number"==typeof s,p=(d?s:s.open)||0,f=(d?s:s.close)||0,[h,m]=r.useState((()=>({...kt(i,l),...kt(n,l)}))),{isMounted:g,status:v}=St(e,{duration:s}),y=ie(n),b=ie(o),w=ie(a),x=ie(i);return I((()=>{const e=kt(y.current,l),t=kt(w.current,l),n=kt(x.current,l),r=kt(b.current,l)||Object.keys(e).reduce(((e,t)=>(e[t]="",e)),{});if("initial"===v&&m((t=>({transitionProperty:t.transitionProperty,...n,...e}))),"open"===v&&m({transitionProperty:Object.keys(r).map(Ot).join(","),transitionDuration:p+"ms",...n,...r}),"close"===v){const r=t||e;m({transitionProperty:Object.keys(r).map(Ot).join(","),transitionDuration:f+"ms",...n,...r})}}),[f,w,y,b,x,p,v,l]),{isMounted:g,styles:h}}function Pt(e,t){var n;const{open:a,dataRef:i}=e,{listRef:s,activeIndex:c,onMatch:u,onTypingChange:l,enabled:d=!0,findMatch:p=null,resetMs:f=750,ignoreKeys:h=[],selectedIndex:m=null}=t,g=r.useRef(),v=r.useRef(""),y=r.useRef(null!=(n=null!=m?m:c)?n:-1),w=r.useRef(null),x=b(u),O=b(l),k=ie(p),S=ie(h);I((()=>{a&&(clearTimeout(g.current),w.current=null,v.current="")}),[a]),I((()=>{var e;a&&""===v.current&&(y.current=null!=(e=null!=m?m:c)?e:-1)}),[a,m,c]);const E=b((e=>{e?i.current.typing||(i.current.typing=e,O(e)):i.current.typing&&(i.current.typing=e,O(e))})),P=b((e=>{function t(e,t,n){const r=k.current?k.current(t,n):t.find((e=>0===(null==e?void 0:e.toLocaleLowerCase().indexOf(n.toLocaleLowerCase()))));return r?e.indexOf(r):-1}const n=s.current;if(v.current.length>0&&" "!==v.current[0]&&(-1===t(n,n,v.current)?E(!1):" "===e.key&&(0,o.jo)(e)),null==n||S.current.includes(e.key)||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;a&&" "!==e.key&&((0,o.jo)(e),E(!0));n.every((e=>{var t,n;return!e||(null==(t=e[0])?void 0:t.toLocaleLowerCase())!==(null==(n=e[1])?void 0:n.toLocaleLowerCase())}))&&v.current===e.key&&(v.current="",y.current=w.current),v.current+=e.key,clearTimeout(g.current),g.current=setTimeout((()=>{v.current="",y.current=w.current,E(!1)}),f);const r=y.current,i=t(n,[...n.slice((r||0)+1),...n.slice(0,(r||0)+1)],v.current);-1!==i?(x(i),w.current=i):" "!==e.key&&(v.current="",E(!1))})),j=r.useMemo((()=>({onKeyDown:P})),[P]),_=r.useMemo((()=>({onKeyDown:P,onKeyUp(e){" "===e.key&&E(!1)}})),[P,E]);return r.useMemo((()=>d?{reference:j,floating:_}:{}),[d,j,_])}function jt(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const _t=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:o,offset:c=0,index:u=0,minItemsVisible:l=4,referenceOverflowThreshold:d=0,scrollRef:f,...g}=(y=t,"function"==typeof(v=e)?v(y):v);var v,y;const{rects:b,elements:{floating:w}}=t,x=n.current[u],O=(null==f?void 0:f.current)||w,k=w.clientTop||O.clientTop,S=0!==w.clientTop,E=0!==O.clientTop,P=w===O;if(!x)return{};const j={...t,...await(0,h.cY)(-x.offsetTop-w.clientTop-b.reference.height/2-x.offsetHeight/2-c).fn(t)},_=await(0,m.__)(jt(j,O.scrollHeight+k+w.clientTop),g),D=await(0,m.__)(j,{...g,elementContext:"reference"}),C=i(0,_.top),T=j.y+C,M=(O.scrollHeight>O.clientHeight?e=>e:s)(i(0,O.scrollHeight+(S&&P||E?2*k:0)-C-i(0,_.bottom)));if(O.style.maxHeight=M+"px",O.scrollTop=C,o){const e=O.offsetHeight<x.offsetHeight*a(l,n.current.length)-1||D.top>=-d||D.bottom>=-d;p.flushSync((()=>o(e)))}return r&&(r.current=await(0,m.__)(jt({...j,y:T},O.offsetHeight+k+w.clientTop),g)),{y:T}}});function Dt(e,t){const{open:n,elements:a}=e,{enabled:i=!0,overflowRef:s,scrollRef:c,onChange:u}=t,l=b(u),d=r.useRef(!1),f=r.useRef(null),h=r.useRef(null);r.useEffect((()=>{if(!i)return;function e(e){if(e.ctrlKey||!t||null==s.current)return;const n=e.deltaY,r=s.current.top>=-.5,a=s.current.bottom>=-.5,i=t.scrollHeight-t.clientHeight,c=n<0?-1:1,u=n<0?"max":"min";t.scrollHeight<=t.clientHeight||(!r&&n>0||!a&&n<0?(e.preventDefault(),p.flushSync((()=>{l((e=>e+Math[u](n,i*c)))}))):/firefox/i.test((0,o.$t)())&&(t.scrollTop+=n))}const t=(null==c?void 0:c.current)||a.floating;return n&&t?(t.addEventListener("wheel",e),requestAnimationFrame((()=>{f.current=t.scrollTop,null!=s.current&&(h.current={...s.current})})),()=>{f.current=null,h.current=null,t.removeEventListener("wheel",e)}):void 0}),[i,n,a.floating,s,c,l]);const m=r.useMemo((()=>({onKeyDown(){d.current=!0},onWheel(){d.current=!1},onPointerMove(){d.current=!1},onScroll(){const e=(null==c?void 0:c.current)||a.floating;if(s.current&&e&&d.current){if(null!==f.current){const t=e.scrollTop-f.current;(s.current.bottom<-.5&&t<-1||s.current.top<-.5&&t>1)&&p.flushSync((()=>l((e=>e+t))))}requestAnimationFrame((()=>{f.current=e.scrollTop}))}}})),[a.floating,l,s,c]);return r.useMemo((()=>i?{floating:m}:{}),[i,m])}function Ct(e,t){const[n,r]=e;let o=!1;const a=t.length;for(let e=0,i=a-1;e<a;i=e++){const[a,s]=t[e]||[0,0],[c,u]=t[i]||[0,0];s>=r!=u>=r&&n<=(c-a)*(r-s)/(u-s)+a&&(o=!o)}return o}function Tt(e){void 0===e&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let a,i=!1,s=null,c=null,u=performance.now();const d=e=>{let{x:n,y:d,placement:p,elements:f,onClose:h,nodeId:m,tree:g}=e;return function(e){function v(){clearTimeout(a),h()}if(clearTimeout(a),!f.domReference||!f.floating||null==p||null==n||null==d)return;const{clientX:y,clientY:b}=e,w=[y,b],x=(0,o.EW)(e),O="mouseleave"===e.type,k=(0,o.gR)(f.floating,x),S=(0,o.gR)(f.domReference,x),E=f.domReference.getBoundingClientRect(),P=f.floating.getBoundingClientRect(),j=p.split("-")[0],_=n>P.right-P.width/2,D=d>P.bottom-P.height/2,C=function(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}(w,E),T=P.width>E.width,M=P.height>E.height,A=(T?E:P).left,I=(T?E:P).right,R=(M?E:P).top,N=(M?E:P).bottom;if(k&&(i=!0,!O))return;if(S&&(i=!1),S&&!O)return void(i=!0);if(O&&(0,l.vq)(e.relatedTarget)&&(0,o.gR)(f.floating,e.relatedTarget))return;if(g&&ye(g.nodesRef.current,m).some((e=>{let{context:t}=e;return null==t?void 0:t.open})))return;if("top"===j&&d>=E.bottom-1||"bottom"===j&&d<=E.top+1||"left"===j&&n>=E.right-1||"right"===j&&n<=E.left+1)return v();let L=[];switch(j){case"top":L=[[A,E.top+1],[A,P.bottom-1],[I,P.bottom-1],[I,E.top+1]];break;case"bottom":L=[[A,P.top+1],[A,E.bottom-1],[I,E.bottom-1],[I,P.top+1]];break;case"left":L=[[P.right-1,N],[P.right-1,R],[E.left+1,R],[E.left+1,N]];break;case"right":L=[[E.right-1,N],[E.right-1,R],[P.left+1,R],[P.left+1,N]]}if(!Ct([y,b],L)){if(i&&!C)return v();if(!O&&r){const t=function(e,t){const n=performance.now(),r=n-u;if(null===s||null===c||0===r)return s=e,c=t,u=n,null;const o=e-s,a=t-c,i=Math.sqrt(o*o+a*a);return s=e,c=t,u=n,i/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return v()}Ct([y,b],function(e){let[n,r]=e;switch(j){case"top":return[[T?n+t/2:_?n+4*t:n-4*t,r+t+1],[T?n-t/2:_?n+4*t:n-4*t,r+t+1],...[[P.left,_||T?P.bottom-t:P.top],[P.right,_?T?P.bottom-t:P.top:P.bottom-t]]];case"bottom":return[[T?n+t/2:_?n+4*t:n-4*t,r-t],[T?n-t/2:_?n+4*t:n-4*t,r-t],...[[P.left,_||T?P.top+t:P.bottom],[P.right,_?T?P.top+t:P.bottom:P.top+t]]];case"left":{const e=[n+t+1,M?r+t/2:D?r+4*t:r-4*t],o=[n+t+1,M?r-t/2:D?r+4*t:r-4*t];return[...[[D||M?P.right-t:P.left,P.top],[D?M?P.right-t:P.left:P.right-t,P.bottom]],e,o]}case"right":return[[n-t,M?r+t/2:D?r+4*t:r-4*t],[n-t,M?r-t/2:D?r+4*t:r-4*t],...[[D||M?P.left+t:P.right,P.top],[D?M?P.left+t:P.right:P.left+t,P.bottom]]]}}([n,d]))?!i&&r&&(a=window.setTimeout(v,40)):v()}}};return d.__options={blockPointerEvents:n},d}},54819:(e,t,n)=>{"use strict";function r(e,t){var n=t&&t.cache?t.cache:l,r=t&&t.serializer?t.serializer:c;return(t&&t.strategy?t.strategy:s)(e,{cache:n,serializer:r})}function o(e,t,n,r){var o,a=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),i=t.get(a);return void 0===i&&(i=e.call(this,r),t.set(a,i)),i}function a(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),a=t.get(o);return void 0===a&&(a=e.apply(this,r),t.set(o,a)),a}function i(e,t,n,r,o){return n.bind(t,e,r,o)}function s(e,t){return i(e,this,1===e.length?o:a,t.cache.create(),t.serializer)}n.d(t,{B:()=>r,W:()=>d});var c=function(){return JSON.stringify(arguments)},u=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}(),l={create:function(){return new u}},d={variadic:function(e,t){return i(e,this,a,t.cache.create(),t.serializer)},monadic:function(e,t){return i(e,this,o,t.cache.create(),t.serializer)}}},92960:(e,t,n)=>{"use strict";n.d(t,{ZE:()=>a,Im:()=>c,tv:()=>l,Tu:()=>v,eW:()=>s,oF:()=>u,N1:()=>g,N6:()=>f,jA:()=>h,Jp:()=>p,xm:()=>m,Qh:()=>d,qg:()=>se});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError;var o,a,i;function s(e){return e.type===a.literal}function c(e){return e.type===a.argument}function u(e){return e.type===a.number}function l(e){return e.type===a.date}function d(e){return e.type===a.time}function p(e){return e.type===a.select}function f(e){return e.type===a.plural}function h(e){return e.type===a.pound}function m(e){return e.type===a.tag}function g(e){return!(!e||"object"!=typeof e||e.type!==i.number)}function v(e){return!(!e||"object"!=typeof e||e.type!==i.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"}(o||(o={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(a||(a={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(i||(i={}));var y=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,b=/(?:[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 w(e){var t={};return e.replace(b,(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 x=function(){return x=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},x.apply(this,arguments)};Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError;var O=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var k=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,S=/^(@+)?(\+|#+)?[rs]?$/g,E=/(\*)(0+)|(#+)(0+)|(0+)/g,P=/^(0+)$/;function j(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(S,(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 _(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 D(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)),!P.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function C(e){var t=_(e);return t||{}}function T(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.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=o.options[0].replace(/^(.*?)-/,"");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=x(x(x({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return x(x({},e),C(t))}),{}));continue;case"engineering":t=x(x(x({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return x(x({},e),C(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(o.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(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(E,(function(e,n,r,o,a,i){if(n)t.minimumIntegerDigits=r.length;else{if(o&&a)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(P.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(k.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(k,(function(e,n,r,o,a,i){return"*"===r?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:a&&i?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+i.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var a=o.options[0];"w"===a?t=x(x({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=x(x({},t),j(a)))}else if(S.test(o.stem))t=x(x({},t),j(o.stem));else{var i=_(o.stem);i&&(t=x(x({},t),i));var s=D(o.stem);s&&(t=x(x({},t),s))}}return t}var M,A={"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 I(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),(A[n||""]||A[r||""]||A["".concat(r,"-001")]||A["001"])[0]}var R=new RegExp("^".concat(y.source,"*")),N=new RegExp("".concat(y.source,"*$"));function L(e,t){return{start:e,end:t}}var F=!!String.prototype.startsWith&&"_a".startsWith("a",1),H=!!String.fromCodePoint,W=!!Object.fromEntries,B=!!String.prototype.codePointAt,U=!!String.prototype.trimStart,Y=!!String.prototype.trimEnd,z=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},V=!0;try{V="a"===(null===(M=J("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===M?void 0:M[0])}catch(e){V=!1}var q,$=F?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},G=H?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,a=0;o>a;){if((n=e[a++])>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},K=W?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],a=o[0],i=o[1];t[a]=i}return t},Q=B?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,o=e.charCodeAt(t);return o<55296||o>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?o:r-56320+(o-55296<<10)+65536}},X=U?function(e){return e.trimStart()}:function(e){return e.replace(R,"")},Z=Y?function(e){return e.trimEnd()}:function(e){return e.replace(N,"")};function J(e,t){return new RegExp(e,t)}if(V){var ee=J("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");q=function(e,t){var n;return ee.lastIndex=t,null!==(n=ee.exec(e)[1])&&void 0!==n?n:""}}else q=function(e,t){for(var n=[];;){var r=Q(e,t);if(void 0===r||oe(r)||ae(r))break;n.push(r),t+=r>=65536?2:1}return G.apply(void 0,n)};var te=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((s=this.parseArgument(e,n)).err)return s;r.push(s.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(o.UNMATCHED_CLOSING_TAG,L(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&ne(this.peek()||0)){if((s=this.parseTag(e,t)).err)return s;r.push(s.val)}else{var s;if((s=this.parseLiteral(e,t)).err)return s;r.push(s.val)}}else{var c=this.clonePosition();this.bump(),r.push({type:a.pound,location:L(c,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:a.literal,value:"<".concat(r,"/>"),location:L(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var s=i.val,c=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ne(this.char()))return this.error(o.INVALID_TAG,L(c,this.clonePosition()));var u=this.clonePosition();return r!==this.parseTagName()?this.error(o.UNMATCHED_CLOSING_TAG,L(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:a.tag,value:r,children:s,location:L(n,this.clonePosition())},err:null}:this.error(o.INVALID_TAG,L(c,this.clonePosition())))}return this.error(o.UNCLOSED_TAG,L(n,this.clonePosition()))}return this.error(o.INVALID_TAG,L(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&re(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{var i=this.tryParseUnquoted(e,t);if(i)r+=i;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var c=L(n,this.clonePosition());return{val:{type:a.literal,value:r,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ne(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 G.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(),G(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,L(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(o.EMPTY_ARGUMENT,L(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(o.MALFORMED_ARGUMENT,L(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,L(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:a.argument,value:r,location:L(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,L(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(o.MALFORMED_ARGUMENT,L(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=q(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:L(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,s){var c,u=this.clonePosition(),l=this.parseIdentifierIfPossible().value,d=this.clonePosition();switch(l){case"":return this.error(o.EXPECT_ARGUMENT_TYPE,L(u,d));case"number":case"date":case"time":this.bumpSpace();var p=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition();if((O=this.parseSimpleArgStyleIfPossible()).err)return O;if(0===(v=Z(O.val)).length)return this.error(o.EXPECT_ARGUMENT_STYLE,L(this.clonePosition(),this.clonePosition()));p={style:v,styleLocation:L(f,this.clonePosition())}}if((k=this.tryParseArgumentClose(s)).err)return k;var h=L(s,this.clonePosition());if(p&&$(null==p?void 0:p.style,"::",0)){var m=X(p.style.slice(2));if("number"===l)return(O=this.parseNumberSkeletonFromString(m,p.styleLocation)).err?O:{val:{type:a.number,value:n,location:h,style:O.val},err:null};if(0===m.length)return this.error(o.EXPECT_DATE_TIME_SKELETON,h);var g=m;this.locale&&(g=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var a=0;r+1<e.length&&e.charAt(r+1)===o;)a++,r++;var i=1+(1&a),s=a<2?1:3+(a>>1),c=I(t);for("H"!=c&&"k"!=c||(s=0);s-- >0;)n+="a";for(;i-- >0;)n=c+n}else n+="J"===o?"H":o}return n}(m,this.locale));var v={type:i.dateTime,pattern:g,location:p.styleLocation,parsedOptions:this.shouldParseSkeletons?w(g):{}};return{val:{type:"date"===l?a.date:a.time,value:n,location:h,style:v},err:null}}return{val:{type:"number"===l?a.number:"date"===l?a.date:a.time,value:n,location:h,style:null!==(c=null==p?void 0:p.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(o.EXPECT_SELECT_ARGUMENT_OPTIONS,L(y,r({},y)));this.bumpSpace();var b=this.parseIdentifierIfPossible(),x=0;if("select"!==l&&"offset"===b.value){if(!this.bumpIf(":"))return this.error(o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,L(this.clonePosition(),this.clonePosition()));var O;if(this.bumpSpace(),(O=this.tryParseDecimalInteger(o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return O;this.bumpSpace(),b=this.parseIdentifierIfPossible(),x=O.val}var k,S=this.tryParsePluralOrSelectOptions(e,l,t,b);if(S.err)return S;if((k=this.tryParseArgumentClose(s)).err)return k;var E=L(s,this.clonePosition());return"select"===l?{val:{type:a.select,value:n,options:K(S.val),location:E},err:null}:{val:{type:a.plural,value:n,options:K(S.val),offset:x,pluralType:"plural"===l?"cardinal":"ordinal",location:E},err:null};default:return this.error(o.INVALID_ARGUMENT_TYPE,L(u,d))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,L(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(o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,L(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=[],n=0,r=e.split(O).filter((function(e){return e.length>0}));n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var a=o[0],i=o.slice(1),s=0,c=i;s<c.length;s++)if(0===c[s].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(o.INVALID_NUMBER_SKELETON,t)}return{val:{type:i.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?T(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var a,i=!1,s=[],c=new Set,u=r.value,l=r.location;;){if(0===u.length){var d=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var p=this.tryParseDecimalInteger(o.EXPECT_PLURAL_ARGUMENT_SELECTOR,o.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;l=L(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}if(c.has(u))return this.error("select"===t?o.DUPLICATE_SELECT_ARGUMENT_SELECTOR:o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===u&&(i=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,L(this.clonePosition(),this.clonePosition()));var h=this.parseMessage(e+1,t,n);if(h.err)return h;var m=this.tryParseArgumentClose(f);if(m.err)return m;s.push([u,{value:h.val,location:L(f,this.clonePosition())}]),c.add(u),this.bumpSpace(),u=(a=this.parseIdentifierIfPossible()).value,l=a.location}return 0===s.length?this.error("select"===t?o.EXPECT_SELECT_ARGUMENT_SELECTOR:o.EXPECT_PLURAL_ARGUMENT_SELECTOR,L(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(o.MISSING_OTHER_CLAUSE,L(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var i=this.char();if(!(i>=48&&i<=57))break;o=!0,a=10*a+(i-48),this.bump()}var s=L(r,this.clonePosition());return o?z(a*=n)?{val:a,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=Q(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($(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()&&oe(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 ne(e){return e>=97&&e<=122||e>=65&&e<=90}function re(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 oe(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ae(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 ie(e){e.forEach((function(e){if(delete e.location,p(e)||f(e))for(var t in e.options)delete e.options[t].location,ie(e.options[t].value);else u(e)&&g(e.style)||(l(e)||d(e))&&v(e.style)?delete e.style.location:m(e)&&ie(e.children)}))}function se(e,t){void 0===t&&(t={}),t=r({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new te(e,t).parse();if(n.err){var a=SyntaxError(o[n.err.kind]);throw a.location=n.err.location,a.originalMessage=n.err.message,a}return(null==t?void 0:t.captureLocation)||ie(n.val),n.val}},89160:(e,t,n)=>{"use strict";n.d(t,{Ar:()=>a,Ho:()=>l,OC:()=>i,hr:()=>c,lo:()=>r,pg:()=>u,sb:()=>d,uo:()=>s});var r,o=n(81293);!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"}(r||(r={}));var a=function(e){function t(n,r,o){var a=this,i=o?o instanceof Error?o:new Error(String(o)):void 0;return(a=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,"\n").concat(i?"\n".concat(i.message,"\n").concat(i.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return(0,o.C6)(t,e),t}(Error),i=function(e){function t(t,n){return e.call(this,r.UNSUPPORTED_FORMATTER,t,n)||this}return(0,o.C6)(t,e),t}(a),s=function(e){function t(t,n){return e.call(this,r.INVALID_CONFIG,t,n)||this}return(0,o.C6)(t,e),t}(a),c=function(e){function t(t,n){return e.call(this,r.MISSING_DATA,t,n)||this}return(0,o.C6)(t,e),t}(a),u=function(e){function t(t,n,o){var a=e.call(this,r.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),o)||this;return a.locale=n,a}return(0,o.C6)(t,e),t}(a),l=function(e){function t(t,n,r,o){var a=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,o)||this;return a.descriptor=r,a.locale=n,a}return(0,o.C6)(t,e),t}(u),d=function(e){function t(t,n){var o=e.call(this,r.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 o.descriptor=t,o}return(0,o.C6)(t,e),t}(a)},87683:(e,t,n)=>{"use strict";n.d(t,{F3:()=>f,GT:()=>p,J9:()=>c,JF:()=>u,MT:()=>l,V1:()=>s});var r=n(81293),o=n(54819),a=n(62587),i=n(89160);function s(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function c(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 u={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0},onWarn:function(e){0}};function l(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function d(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function p(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,i=Intl.DisplayNames,s=(0,o.B)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,r.fX)([void 0],t,!1)))}),{cache:d(e.dateTime),strategy:o.W.variadic}),c=(0,o.B)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,(0,r.fX)([void 0],t,!1)))}),{cache:d(e.number),strategy:o.W.variadic}),u=(0,o.B)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,(0,r.fX)([void 0],t,!1)))}),{cache:d(e.pluralRules),strategy:o.W.variadic});return{getDateTimeFormat:s,getNumberFormat:c,getMessageFormat:(0,o.B)((function(e,t,n,o){return new a.S(e,t,n,(0,r.Cl)({formatters:{getNumberFormat:c,getDateTimeFormat:s,getPluralRules:u}},o||{}))}),{cache:d(e.message),strategy:o.W.variadic}),getRelativeTimeFormat:(0,o.B)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,(0,r.fX)([void 0],e,!1)))}),{cache:d(e.relativeTime),strategy:o.W.variadic}),getPluralRules:u,getListFormat:(0,o.B)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,(0,r.fX)([void 0],e,!1)))}),{cache:d(e.list),strategy:o.W.variadic}),getDisplayNames:(0,o.B)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(i.bind.apply(i,(0,r.fX)([void 0],e,!1)))}),{cache:d(e.displayNames),strategy:o.W.variadic})}}function f(e,t,n,r){var o,a=e&&e[t];if(a&&(o=a[n]),o)return o;r(new i.OC("No ".concat(t," format named: ").concat(n)))}},9455:(e,t)=>{"use strict";t.A=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(",");if(0===n.length)return!0;var r=e.name||"",o=(e.type||"").toLowerCase(),a=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?a===t.replace(/\/.*$/,""):o===t}))}return!0}},94200:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={defaultTheme:{name:"default",colors:{paper:"#fff",primary:"#b22a31",primaryLight:"#d13e45",secondary:"#263e5b",secondaryLight:"#347da9",secondaryLighter:"#4fade5",text:"#000",textLight:"#595959",textLighter:"#8c8c8c",textDisabled:"#bcbcbc",textLabel:"#121212",textToaster:"#fcfcfc",textPopover:"#fcfcfc",backgroundBody:"#dee6ed",backgroundBreadcrumbs:"#dee6ed",backgroundPopover:"#424242",backgroundItemHover:"#e6e6e6",backgroundItemSelected:"#ccc",backgroundItemLastOpened:"#B9B9B9",backgroundTableEvenRow:"#f2f2f2",backgroundTableTiles:"#f2f2f2",backgroundScrollbar:"#999",backgroundScrollbarHover:"#808080",backgroundPanelHeaderFooter:"#f2f2f2",backgroundTypographyCode:"#e6e6e6",backgroundToccoCircleProduction:"#b22a31",backgroundToccoCircleTest:"#263e5b",backgroundBurgerMenuBars:"#fff",backgroundMultiValue:"#e6e6e6",backgroundUploadArea:"#f2f2f2",backgroundUploadOverlay:"#0000ff1a",backgroundConflict:"#f2f2f2",hoverInteractiveIcon:"#263e5b",loadingSpinner:"#000",breadcrumbsActive:"#b22a31",border:"#ccc",borderTable:"#ccc",borderLight:"#ededed",borderSelect:"#027cc1",signal:{danger:"#961b1b",dangerLight:"#e77c7c",info:"#027cc1",infoLight:"#78cdfe",success:"#337f37",successLight:"#91d395",warning:"#ec8a00",warningLight:"#ffd7a0",neutral:"#dee6ed"}},fontFamily:{monospace:"Ubuntu Mono, monospace",regular:"Ubuntu, sans-serif",url:"https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap"},fontSize:{base:1.3,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"13px",buttonLarge:"25px",form:0,dashboard:0,modal:0,toaster:"8px",menu:0,small:"4px"},space:{base:1.3,factor:2},specificProperties:{actionBarStickyTopPosition:0},codeEditorTheme:"textmate",diffViewerDarkTheme:!1,diffViewer:{codeFoldGutterBackground:"#e6e6e6",codeFoldBackground:"#f2f2f2",gutterBackground:"#f2f2f2",diffViewerTitleBackground:"#fff",diffViewerTitleBorderColor:"#fff",emptyLineBackground:"#fcfcfc",addedBackground:"#cbffce",addedColor:"#24292e",removedBackground:"#ffbfbf",removedColor:"#24292e",wordAddedBackground:"#91d395",wordRemovedBackground:"#e77c7c",addedGutterBackground:"#91d395",removedGutterBackground:"#e77c7c"}},darkTheme:{name:"dark",colors:{paper:"#212330",primary:"#b22a31",primaryLight:"#d13e45",secondary:"#6eafff",secondaryLight:"#82baff",secondaryLighter:"#9ECAFF",text:"#dfdfdf",textLight:"#bdbdbd",textLighter:"#818181",textDisabled:"#7a7a7a",textLabel:"#121212",textToaster:"#000",textPopover:"#fff",backgroundBody:"#2C2F41",backgroundBreadcrumbs:"#2C2F41",backgroundPopover:"#757575",backgroundItemHover:"#444",backgroundItemSelected:"#565656",backgroundItemLastOpened:"#636363",backgroundTableEvenRow:"#2f2f2f",backgroundTableTiles:"#2f2f2f",backgroundScrollbar:"#444",backgroundScrollbarHover:"#666",backgroundPanelHeaderFooter:"#444",backgroundTypographyCode:"#444",backgroundToccoCircleProduction:"#b22a31",backgroundToccoCircleTest:"#263e5b",backgroundBurgerMenuBars:"#fff",backgroundMultiValue:"#6e6e6e",backgroundUploadArea:"#2d2d2d",backgroundUploadOverlay:"#0000ff1a",backgroundConflict:"#2d2d2d",hoverInteractiveIcon:"#fff",loadingSpinner:"#cccccc",breadcrumbsActive:"#82baff",border:"#666",borderTable:"#666",borderLight:"#444",borderSelect:"#4fade5",signal:{danger:"#d74444",dangerLight:"#f18888",info:"#4fade5",infoLight:"#9ce6ff",success:"#4DAC54",successLight:"#72c172",warning:"#ec8a00",warningLight:"#ffcc84",neutral:"#CECECE"}},fontFamily:{monospace:"Ubuntu Mono, monospace",regular:"Ubuntu, sans-serif",url:"https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap"},fontSize:{base:1.3,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"13px",buttonLarge:"25px",form:0,dashboard:0,modal:0,toaster:"8px",menu:0,small:"4px"},space:{base:1.3,factor:2},specificProperties:{actionBarStickyTopPosition:0},codeEditorTheme:"dracula",diffViewerDarkTheme:!0,diffViewer:{diffViewerBackground:"#212330",codeFoldGutterBackground:"#444",codeFoldBackground:"#2f2f2f",gutterBackground:"#2f2f2f",diffViewerTitleBackground:"#212330",diffViewerTitleBorderColor:"#212330",emptyLineBackground:"#2f2f2f",diffViewerColor:"#dfdfdf",addedBackground:"#217a28",addedColor:"#dfdfdf",removedBackground:"#b92e2e",removedColor:"#dfdfdf",wordAddedBackground:"#35913c",wordRemovedBackground:"#d74444",addedGutterBackground:"#35913c",removedGutterBackground:"#d74444"}}}},64116:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r,o=n(26396),a=n.n(o),i=n(4883),s=n.n(i),c=n(74848);function u(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=(0,i.lazy)((function(){return Promise.all([n.e(310),n.e(103),n.e(916)]).then(n.bind(n,8264))}));const p=function(e){return(0,c.jsx)(i.Suspense,{fallback:r||(r=(0,c.jsx)(s().Fragment,{})),children:(0,c.jsx)(d,l({},e))})}},93564:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var r,o=n(72189),a=n.n(o),i=n(51510).Ay.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(r||(r=a()([""])))},44905:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r,o=n(64116),a=n(77271),i=n(72189),s=n.n(i),c=n(51510),u=n(85431),l=n(33090),d=n(47616);const p=c.Ay.a.withConfig({displayName:"StyledLink"})(r||(r=s()(["\n ","\n ","\n\n && {\n color: ",";\n text-decoration: ",";\n\n &:hover,\n &:focus {\n text-decoration: ",";\n }\n\n &:active {\n text-decoration: ",";\n }\n }\n"])),(0,u.A)(),(function(e){return e.breakWords?(0,l.K)():(0,l.s)()}),d.A.color("text"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}));var f=n(74848);const h=function(e){var t=e.alt,n=e.breakWords,r=void 0===n||n,i=e.download,s=e.href,c=void 0===s?"#":s,u=e.neutral,l=e.onClick,d=e.rel,h=e.tabIndex,m=e.target,g=void 0===m?"_self":m,v=e.title,y=e.label,b=e.icon,w=e.children,x=e.useTitle,O=void 0===x||x,k=v||(r?void 0:y);return(0,f.jsxs)(p,{alt:t,breakWords:r,download:i,href:c,neutral:u,onClick:l,rel:d,tabIndex:h,target:g,title:O?k:void 0,children:[b&&(0,f.jsx)(o.A,{icon:b,position:a.A.position.PREPEND}),y||w]})}},46005:(e,t,n)=>{"use strict";n.d(t,{g:()=>s});var r=n(58156),o=n.n(r),a=n(47616),i=n(26166),s=function(e,t){var n="\n color: ".concat(a.A.color("text")(e),";\n font-family: ").concat(a.A.fontFamily("regular")(e),";\n font-size: ").concat(i.A.font(0)(e),";\n font-style: ","normal",";\n font-weight: ").concat(a.A.fontWeight("regular")(e),";\n line-height: ").concat(a.A.lineHeight("regular")(e),";\n\n a {\n color: ").concat(a.A.color("secondary")(e),";\n\n &:hover,\n &:focus {\n color: ").concat(o()(e.theme,"colors.secondaryLight"),";\n text-decoration: underline;\n }\n\n &:active {\n color: ").concat(o()(e.theme,"colors.secondary"),";\n }\n }\n\n b,\n strong {\n font-weight: ").concat(a.A.fontWeight("bold")(e),"\n }\n\n em,\n i {\n font-style: italic;\n }\n\n u {\n text-decoration: underline;\n }\n\n h1 {font-size: ").concat(i.A.font(5)(e),";}\n h2 {font-size: ").concat(i.A.font(4)(e),";}\n h3 {font-size: ").concat(i.A.font(3)(e),";}\n h4 {font-size: ").concat(i.A.font(2)(e),";}\n h5 {font-size: ").concat(i.A.font(1)(e),";}\n h6 {font-size: ").concat(i.A.font(0)(e),";}\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: ").concat(a.A.fontWeight("bold")(e),";\n margin-top: ").concat(i.A.space(0)(e),";\n margin-bottom: ").concat(i.A.space(-1)(e),";\n\n + h1,\n + h2,\n + h3,\n + h4,\n + h5,\n + h6,\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n p {\n margin-bottom: ").concat(i.A.space(-1)(e),";\n &:last-child {\n margin-bottom: 0;\n }\n }\n ");return"ckeditor"!==t&&(n="\n ".concat(n,"\n a {\n text-decoration: none; \n }\n\n ol,\n ul {\n display: block;\n list-style-position: outside;\n margin: 0 0 ").concat(i.A.space(-1)(e)," 1.6rem;\n padding: 0;\n\n ol,\n ul,\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n ol li {\n list-style-type: decimal;\n }\n\n ul li {\n list-style-type: disc;\n }\n ")),n}},85431:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,o=n(72189),a=n.n(o),i=n(51510),s=n(47616),c=n(26166);const u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.AH)(r||(r=a()(["\n color: ",";\n font-family: ",";\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n"])),e.color||s.A.color("text"),e.fontFamily||s.A.fontFamily("regular"),e.fontSize||c.A.font(0),e.fontStyle||"normal",e.fontWeight||s.A.fontWeight("regular"),e.lineHeight||s.A.lineHeight("regular"))}},33090:(e,t,n)=>{"use strict";n.d(t,{K:()=>o,s:()=>r});var r=function(){return"\n display: inline-block;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"},o=function(){return"\n hyphens: auto;\n overflow-wrap: break-word;\n white-space: normal;\n word-wrap: break-word;\n"}},77271:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(5556),o=n.n(r),a={NONE:"none",SPIN:"spin"},i={BASE:"base",PRIMARY:"primary",SECONDARY:"secondary"},s={BOX:"layoutBox",CONTAINER:"layoutContainer",NONE:"none"},c={BALL:"ball",FLAT:"flat",PLAIN:"plain",RAISED:"raised"},u={APPEND:"append",BETWEEN:"between",PREPEND:"prepend",SOLE:"sole"},l=o().oneOf(Object.values(a)),d=o().oneOf(Object.values(i)),p=o().oneOf(Object.values(c)),f=o().oneOf(Object.values(u));const h={animation:a,animationPropTypes:l,condition:{BASE:"base",DANGER:"danger",PRIMARY:"primary",SUCCESS:"success",WARNING:"warning",INFO:"info"},ink:i,inkPropTypes:d,layout:s,layoutPropTypes:o().oneOf(Object.values(s)),look:c,lookPropTypes:p,fallbackColors:{SHADE:"#000000",INFO:"#0000ff",TEXT:"#010101",PAPER:"#fefefe"},format:{HTML:"html",SVG:"svg"},oneOfPropTypeAndCompletelyMapped:function(e,t){return o().oneOf(Object.values(e))},position:u,positionPropTypes:f}},57488:(e,t,n)=>{"use strict";n.d(t,{t7:()=>r});var r=n(47616).A},26166:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(36944),o=n.n(r),a=n(47616),i=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"rem";return"".concat(o()(s(t,e,n),3)).concat(r)},s=function(e,t,n){return Math.pow(n,t)*e};const c={declareScale:i,exponentiate:s,font:function(e,t){return function(n){return i(e,a.A.fontSize("base")(n),a.A.fontSize("factor")(n),t)}},space:function(e,t){return function(n){return i(e,a.A.space("base")(n),a.A.space("factor")(n),t)}}}},47616:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(58156),o=n.n(r),a=n(94200),i=function(e){return 0===Object.keys(e).length?a.A:e};const s={color:function(e){return function(t){var n=t.theme;return o()(i(n),"colors.".concat(e))}},fontFamily:function(e){return function(t){var n=t.theme;return o()(i(n),"fontFamily.".concat(e))}},fontSize:function(e){return function(t){var n=t.theme;return o()(i(n),"fontSize.".concat(e))}},fontWeight:function(e){return function(t){var n=t.theme;return o()(i(n),"fontWeights.".concat(e))}},lineHeight:function(e){return function(t){var n=t.theme;return o()(i(n),"lineHeights.".concat(e))}},radii:function(e){return function(t){var n=t.theme;return o()(i(n),"radii.".concat(e))}},space:function(e){return function(t){var n=t.theme;return o()(i(n),"space.".concat(e))}},specificProperty:function(e){return function(t){var n=t.theme;return o()(i(n),"specificProperties.".concat(e))}}}},3388:(e,t,n)=>{"use strict";n.d(t,{FF:()=>o,Rm:()=>a,vV:()=>r});var r=function(){window.console&&(console.error||console.log).apply(void 0,arguments)},o=function(){window.console&&(console.warn||console.log).apply(void 0,arguments)},a=function(){var e;window.console&&(e=console).log.apply(e,arguments)}},19461:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(3388);const o={log:r.Rm,logError:r.vV,logWarning:r.FF}},32224:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(19609);const o={millisecondsToDuration:r.ss,formatDuration:r.a3,getDateFnsLocale:r.Me,getLocalizedDateFormat:r.Rj,getLocalizedDateTimeFormat:r.ax,getLocalizedDateFormatWithoutPunctuation:r.zQ,getLocalizedDateTimeFormatWithoutPunctuation:r.yX,getTimeZone:r.O,useTwoDigitYear:r.EQ,setCurrentTime:r.hW,selectUnit:r.xb}},19609:(e,t,n)=>{"use strict";n.d(t,{EQ:()=>x,Me:()=>g,O:()=>S,Rj:()=>v,a3:()=>m,ax:()=>y,hW:()=>O,ss:()=>h,xb:()=>k,yX:()=>w,zQ:()=>b});var r=n(14533),o=n(40337),a=n(74279),i=n(4155),s=n(81007),c=n(36374),u=n(86688),l=n(14501),d=n(75867),p=n(95494),f=n(98166),h=function(e){if(!e&&0!==e)return{hours:"",minutes:"",seconds:""};var t=(0,f.O5)(e/1e3%60,3);e-=Math.round(1e3*t);var n=parseInt(e/6e4%60);e-=1e3*n*60;var r=parseInt(e/36e5);return(n<0||r<0)&&(t=Math.abs(t)),r<0&&(n=Math.abs(n)),{hours:r,minutes:n,seconds:t}},m=function(e){var t=h(e),n=t.hours,r=t.minutes,o=t.seconds,a="".concat(n.toString().padStart(2,"0"),":").concat(r.toString().padStart(2,"0")),i="".concat(a,":").concat(o.toFixed(3).padStart(6,"0"));return o?i:a},g=function(e){switch(e){case"fr":return d.O;case"en":return l.c;case"it":return p.it;default:return u.de}},v=function(e){return g(e).formatLong.date({width:"short"})},y=function(e){return"".concat(v(e)," HH:mm")},b=function(e){return v(e).replace(/[/.]/g,"")},w=function(e){return"".concat(b(e)," HHmm")},x=function(e){return e.replace(/y+/,"yy")},O=function(e){var t=new Date,n=new Date(e);return n=(0,r.a)(n,(0,o.q)(t)),n=(0,a.g)(n,(0,i.O)(t)),n=(0,s.g)(n,0),n=(0,c.$)(n,0)},k=function(e){var t=864e5,n=e-(new Date).getTime();if(n>-864e5){var r=Math.round(n/1e3);return r>-60?{diffValue:r,unit:"second"}:r>-3600?{diffValue:Math.ceil(r/60),unit:"minute"}:{diffValue:Math.ceil(r/3600),unit:"hour"}}var o=Math.round(n/t);return o>-30?{diffValue:o,unit:"day"}:o>-365?{diffValue:Math.ceil(o/30),unit:"month"}:{diffValue:Math.ceil(o/365),unit:"year"}},S=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone}},58169:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,r:()=>u});var r=n(26396),o=n.n(r),a=n(19461),i=n(44984),s=n(74848);function c(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}var u=function(e){var t=e.mapping;return t[(0,i.M7)()||i.w2.admin]||t[i.w2.admin]};const l=function(e){var t=e.mapping;e.propTypes;return function(e){var n=u({mapping:t});return n||a.A.logError("Unable to render embed component: No embed component defined."),(0,s.jsx)(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))}}},44984:(e,t,n)=>{"use strict";n.d(t,{KC:()=>f,K_:()=>g,M7:()=>h,Sk:()=>b,W2:()=>v,Wb:()=>u,Wi:()=>p,Zn:()=>l,f:()=>m,fG:()=>w,hZ:()=>i,ne:()=>d,w2:()=>a,wE:()=>c,wP:()=>y,wU:()=>o});var r=n(19461),o="__n-u-l-l__",a={admin:"admin",legacyAdmin:"legacy-admin",widget:"widget",legacyWidget:"legacy-widget"},i=Object.values(a),s={backendUrl:void 0,businessUnit:void 0,ruleProvider:void 0,embedType:a.admin,widgetConfigKey:void 0},c=function(){return s.backendUrl||""},u=function(e){s.backendUrl=e},l=function(){return s.businessUnit},d=function(e){s.businessUnit=e},p=function(){return s.ruleProvider},f=function(e){s.ruleProvider=e},h=function(){return s.embedType},m=function(){var e=h();return[a.admin,a.legacyAdmin].includes(e)},g=function(){var e=h();return[a.widget].includes(e)},v=function(e){i.includes(e)?s.embedType=e:r.A.logError("'".concat(e,"' as embedType is not allowed. Allowed embedTypes are: ").concat(i.join(", ")))},y=function(){return s.widgetConfigKey},b=function(e){s.widgetConfigKey=e},w=function(){return{backendUrl:s.backendUrl,businessUnit:s.businessUnit,appContext:{embedType:s.embedType,widgetConfigKey:s.widgetConfigKey}}}},8062:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(44984),o=function(e){var t,n,o,a;(e.backendUrl&&(0,r.Wb)(e.backendUrl),e.businessUnit&&(0,r.ne)(e.businessUnit),e.ruleProvider&&(0,r.KC)(e.ruleProvider),null!==(t=e.appContext)&&void 0!==t&&t.embedType)&&(0,r.W2)(null===(o=e.appContext)||void 0===o?void 0:o.embedType);null!==(n=e.appContext)&&void 0!==n&&n.widgetConfigKey&&(0,r.Sk)(null===(a=e.appContext)||void 0===a?void 0:a.widgetConfigKey)}},38159:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(58169),o=n(44984),a=n(8062);const i={EmbedType:o.w2,isInAdminEmbedded:o.f,isInWidgetEmbedded:o.K_,embedStrategyFactory:r.A,embedStrategy:r.r,getBackendUrl:o.wE,setBackendUrl:o.Wb,getBusinessUnit:o.Zn,getRuleProvider:o.Wi,setBusinessUnit:o.ne,setRuleProvider:o.KC,getEmbedType:o.M7,setEmbedType:o.W2,getWidgetConfigKey:o.wP,setWidgetConfigKey:o.Sk,asInputProps:o.fG,NULL_BUSINESS_UNIT:o.wU,ALLOWED_EMBED_TYPES:o.hZ,setInputEnvs:a.T}},98166:(e,t,n)=>{"use strict";n.d(t,{O5:()=>o,O9:()=>i,Yd:()=>r,lW:()=>a});var r=function(e){return e&&Array.isArray(e)?e.length>0?e[0]:[]:e},o=function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n},a=function(e){return navigator.clipboard?navigator.clipboard.writeText(e):Promise.reject(new Error("navigator.clipboard API not available"))},i=function(e){return null!=e}},84847:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={getOriginId:n(29272).A}},29272:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(18562),o="_tocco_originId";const a=function(){if(sessionStorage.getItem(o))return sessionStorage.getItem(o);var e="".concat("client_","_").concat((0,r.A)());return sessionStorage.setItem(o,e),e}},79253:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(46544);const o={prepareHeaders:r.qp,prepareUrl:r.Ne,executeRequest:r.Vc,extractBody:r.i9}},46544:(e,t,n)=>{"use strict";n.d(t,{Ne:()=>h,Vc:()=>m,i9:()=>g,qp:()=>f});var r=n(26396),o=n.n(r),a=n(85735),i=n.n(a),s=n(32224),c=n(38159),u=n(84847);function l(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p={method:"GET",credentials:"include"},f=function(e){var t=function(e){if(e){if(e instanceof Headers)return e;if("object"===i()(e))return new Headers(e)}return new Headers}(e.headers),n=e.body;return t.has("Content-Type")||("string"==typeof n?t.set("Content-Type","text/plain"):n instanceof FormData||t.set("Content-Type","application/json")),t.has("X-Origin-Id")||t.set("X-Origin-Id",u.A.getOriginId()),!t.has("X-Business-Unit")&&c.A.getBusinessUnit()&&t.set("X-Business-Unit",c.A.getBusinessUnit()),t.has("X-Client")||t.set("X-Client",c.A.isInAdminEmbedded()?"client":"widget"),c.A.getRuleProvider()&&t.set("X-Rule-Provider-Id",c.A.getRuleProvider()),t.has("X-Timezone")||t.set("X-Timezone",s.A.getTimeZone()),t},h=function(e,t){return t.startsWith("/")&&(t=t.substring(1)),t.startsWith("http")?t:t.startsWith("nice2")?"".concat(e,"/").concat(t):"".concat(e,"/nice2/").concat(t)},m=function(e){var t=function(e){return d(d(d({},p),e),{},{headers:f(e)})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),n=c.A.getBackendUrl(),r=h(n,e);return fetch(r,t)},g=function(e){return e.json()}},71508:e=>{function t(e){var n,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(n=0;n<a;n++)e[n]&&(r=t(e[n]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function n(){for(var e,n,r=0,o="",a=arguments.length;r<a;r++)(e=arguments[r])&&(n=t(e))&&(o&&(o+=" "),o+=n);return o}e.exports=n,e.exports.clsx=n},2063:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(31601),o=n.n(r),a=n(76314),i=n.n(a)()(o());i.push([e.id,'@charset "UTF-8";\n.react-datepicker__navigation-icon::before, .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view--down-arrow {\n border-color: #ccc;\n border-style: solid;\n border-width: 3px 3px 0 0;\n content: "";\n display: block;\n height: 9px;\n position: absolute;\n top: 6px;\n width: 9px;\n}\n.react-datepicker-wrapper {\n display: inline-block;\n padding: 0;\n border: 0;\n}\n\n.react-datepicker {\n font-family: "Helvetica Neue", helvetica, arial, sans-serif;\n font-size: 0.8rem;\n background-color: #fff;\n color: #000;\n border: 1px solid #aeaeae;\n border-radius: 0.3rem;\n display: inline-block;\n position: relative;\n line-height: initial;\n}\n\n.react-datepicker--time-only .react-datepicker__time-container {\n border-left: 0;\n}\n.react-datepicker--time-only .react-datepicker__time,\n.react-datepicker--time-only .react-datepicker__time-box {\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n}\n\n.react-datepicker-popper {\n z-index: 1;\n line-height: 0;\n}\n.react-datepicker-popper .react-datepicker__triangle {\n stroke: #aeaeae;\n}\n.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {\n fill: #f0f0f0;\n color: #f0f0f0;\n}\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {\n fill: #fff;\n color: #fff;\n}\n\n.react-datepicker__header {\n text-align: center;\n background-color: #f0f0f0;\n border-bottom: 1px solid #aeaeae;\n border-top-left-radius: 0.3rem;\n padding: 8px 0;\n position: relative;\n}\n.react-datepicker__header--time {\n padding-bottom: 8px;\n padding-left: 5px;\n padding-right: 5px;\n}\n.react-datepicker__header--time:not(.react-datepicker__header--time--only) {\n border-top-left-radius: 0;\n}\n.react-datepicker__header:not(.react-datepicker__header--has-time-select) {\n border-top-right-radius: 0.3rem;\n}\n\n.react-datepicker__year-dropdown-container--select,\n.react-datepicker__month-dropdown-container--select,\n.react-datepicker__month-year-dropdown-container--select,\n.react-datepicker__year-dropdown-container--scroll,\n.react-datepicker__month-dropdown-container--scroll,\n.react-datepicker__month-year-dropdown-container--scroll {\n display: inline-block;\n margin: 0 15px;\n}\n\n.react-datepicker__current-month,\n.react-datepicker-time__header,\n.react-datepicker-year-header {\n margin-top: 0;\n color: #000;\n font-weight: bold;\n font-size: 0.944rem;\n}\n\nh2.react-datepicker__current-month {\n padding: 0;\n margin: 0;\n}\n\n.react-datepicker-time__header {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n\n.react-datepicker__navigation {\n align-items: center;\n background: none;\n display: flex;\n justify-content: center;\n text-align: center;\n cursor: pointer;\n position: absolute;\n top: 2px;\n padding: 0;\n border: none;\n z-index: 1;\n height: 32px;\n width: 32px;\n text-indent: -999em;\n overflow: hidden;\n}\n.react-datepicker__navigation--previous {\n left: 2px;\n}\n.react-datepicker__navigation--next {\n right: 2px;\n}\n.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {\n right: 85px;\n}\n.react-datepicker__navigation--years {\n position: relative;\n top: 0;\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n.react-datepicker__navigation--years-previous {\n top: 4px;\n}\n.react-datepicker__navigation--years-upcoming {\n top: -4px;\n}\n.react-datepicker__navigation:hover *::before {\n border-color: rgb(165.75, 165.75, 165.75);\n}\n\n.react-datepicker__navigation-icon {\n position: relative;\n top: -1px;\n font-size: 20px;\n width: 0;\n}\n.react-datepicker__navigation-icon--next {\n left: -2px;\n}\n.react-datepicker__navigation-icon--next::before {\n transform: rotate(45deg);\n left: -7px;\n}\n.react-datepicker__navigation-icon--previous {\n right: -2px;\n}\n.react-datepicker__navigation-icon--previous::before {\n transform: rotate(225deg);\n right: -7px;\n}\n\n.react-datepicker__month-container {\n float: left;\n}\n\n.react-datepicker__year {\n margin: 0.4rem;\n text-align: center;\n}\n.react-datepicker__year-wrapper {\n display: flex;\n flex-wrap: wrap;\n max-width: 180px;\n}\n.react-datepicker__year .react-datepicker__year-text {\n display: inline-block;\n width: 4rem;\n margin: 2px;\n}\n\n.react-datepicker__month {\n margin: 0.4rem;\n text-align: center;\n}\n.react-datepicker__month .react-datepicker__month-text,\n.react-datepicker__month .react-datepicker__quarter-text {\n display: inline-block;\n width: 4rem;\n margin: 2px;\n}\n\n.react-datepicker__input-time-container {\n clear: both;\n width: 100%;\n float: left;\n margin: 5px 0 10px 15px;\n text-align: left;\n}\n.react-datepicker__input-time-container .react-datepicker-time__caption {\n display: inline-block;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container {\n display: inline-block;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input {\n display: inline-block;\n margin-left: 10px;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input {\n width: auto;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time] {\n -moz-appearance: textfield;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter {\n margin-left: 5px;\n display: inline-block;\n}\n\n.react-datepicker__time-container {\n float: right;\n border-left: 1px solid #aeaeae;\n width: 85px;\n}\n.react-datepicker__time-container--with-today-button {\n display: inline;\n border: 1px solid #aeaeae;\n border-radius: 0.3rem;\n position: absolute;\n right: -87px;\n top: 0;\n}\n.react-datepicker__time-container .react-datepicker__time {\n position: relative;\n background: white;\n border-bottom-right-radius: 0.3rem;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {\n width: 85px;\n overflow-x: hidden;\n margin: 0 auto;\n text-align: center;\n border-bottom-right-radius: 0.3rem;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {\n list-style: none;\n margin: 0;\n height: calc(195px + 1.7rem / 2);\n overflow-y: scroll;\n padding-right: 0;\n padding-left: 0;\n width: 100%;\n box-sizing: content-box;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {\n height: 30px;\n padding: 5px 10px;\n white-space: nowrap;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {\n cursor: pointer;\n background-color: #f0f0f0;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {\n background-color: #216ba5;\n color: white;\n font-weight: bold;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {\n background-color: #216ba5;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {\n color: #ccc;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {\n cursor: default;\n background-color: transparent;\n}\n\n.react-datepicker__week-number {\n color: #ccc;\n display: inline-block;\n width: 1.7rem;\n line-height: 1.7rem;\n text-align: center;\n margin: 0.166rem;\n}\n.react-datepicker__week-number.react-datepicker__week-number--clickable {\n cursor: pointer;\n}\n.react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected):hover {\n border-radius: 0.3rem;\n background-color: #f0f0f0;\n}\n.react-datepicker__week-number--selected {\n border-radius: 0.3rem;\n background-color: #216ba5;\n color: #fff;\n}\n.react-datepicker__week-number--selected:hover {\n background-color: rgb(28.75, 93.2196969697, 143.75);\n}\n\n.react-datepicker__day-names {\n white-space: nowrap;\n margin-bottom: -8px;\n}\n\n.react-datepicker__week {\n white-space: nowrap;\n}\n\n.react-datepicker__day-name,\n.react-datepicker__day,\n.react-datepicker__time-name {\n color: #000;\n display: inline-block;\n width: 1.7rem;\n line-height: 1.7rem;\n text-align: center;\n margin: 0.166rem;\n}\n\n.react-datepicker__day,\n.react-datepicker__month-text,\n.react-datepicker__quarter-text,\n.react-datepicker__year-text {\n cursor: pointer;\n}\n.react-datepicker__day:not([aria-disabled=true]):hover,\n.react-datepicker__month-text:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text:not([aria-disabled=true]):hover,\n.react-datepicker__year-text:not([aria-disabled=true]):hover {\n border-radius: 0.3rem;\n background-color: #f0f0f0;\n}\n.react-datepicker__day--today,\n.react-datepicker__month-text--today,\n.react-datepicker__quarter-text--today,\n.react-datepicker__year-text--today {\n font-weight: bold;\n}\n.react-datepicker__day--highlighted,\n.react-datepicker__month-text--highlighted,\n.react-datepicker__quarter-text--highlighted,\n.react-datepicker__year-text--highlighted {\n border-radius: 0.3rem;\n background-color: #3dcc4a;\n color: #fff;\n}\n.react-datepicker__day--highlighted:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--highlighted:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--highlighted:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--highlighted:not([aria-disabled=true]):hover {\n background-color: rgb(49.8551020408, 189.6448979592, 62.5632653061);\n}\n.react-datepicker__day--highlighted-custom-1,\n.react-datepicker__month-text--highlighted-custom-1,\n.react-datepicker__quarter-text--highlighted-custom-1,\n.react-datepicker__year-text--highlighted-custom-1 {\n color: magenta;\n}\n.react-datepicker__day--highlighted-custom-2,\n.react-datepicker__month-text--highlighted-custom-2,\n.react-datepicker__quarter-text--highlighted-custom-2,\n.react-datepicker__year-text--highlighted-custom-2 {\n color: green;\n}\n.react-datepicker__day--holidays,\n.react-datepicker__month-text--holidays,\n.react-datepicker__quarter-text--holidays,\n.react-datepicker__year-text--holidays {\n position: relative;\n border-radius: 0.3rem;\n background-color: #ff6803;\n color: #fff;\n}\n.react-datepicker__day--holidays .overlay,\n.react-datepicker__month-text--holidays .overlay,\n.react-datepicker__quarter-text--holidays .overlay,\n.react-datepicker__year-text--holidays .overlay {\n position: absolute;\n bottom: 100%;\n left: 50%;\n transform: translateX(-50%);\n background-color: #333;\n color: #fff;\n padding: 4px;\n border-radius: 4px;\n white-space: nowrap;\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s, opacity 0.3s ease-in-out;\n}\n.react-datepicker__day--holidays:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--holidays:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--holidays:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--holidays:not([aria-disabled=true]):hover {\n background-color: rgb(207, 82.9642857143, 0);\n}\n.react-datepicker__day--holidays:hover .overlay,\n.react-datepicker__month-text--holidays:hover .overlay,\n.react-datepicker__quarter-text--holidays:hover .overlay,\n.react-datepicker__year-text--holidays:hover .overlay {\n visibility: visible;\n opacity: 1;\n}\n.react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range,\n.react-datepicker__month-text--selected,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--selected,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--selected,\n.react-datepicker__year-text--in-selecting-range,\n.react-datepicker__year-text--in-range {\n border-radius: 0.3rem;\n background-color: #216ba5;\n color: #fff;\n}\n.react-datepicker__day--selected:not([aria-disabled=true]):hover, .react-datepicker__day--in-selecting-range:not([aria-disabled=true]):hover, .react-datepicker__day--in-range:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--selected:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--in-selecting-range:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--in-range:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--selected:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--in-selecting-range:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--in-range:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--selected:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--in-selecting-range:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--in-range:not([aria-disabled=true]):hover {\n background-color: rgb(28.75, 93.2196969697, 143.75);\n}\n.react-datepicker__day--keyboard-selected,\n.react-datepicker__month-text--keyboard-selected,\n.react-datepicker__quarter-text--keyboard-selected,\n.react-datepicker__year-text--keyboard-selected {\n border-radius: 0.3rem;\n background-color: rgb(186.25, 217.0833333333, 241.25);\n color: rgb(0, 0, 0);\n}\n.react-datepicker__day--keyboard-selected:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--keyboard-selected:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--keyboard-selected:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--keyboard-selected:not([aria-disabled=true]):hover {\n background-color: rgb(28.75, 93.2196969697, 143.75);\n}\n.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range) {\n background-color: rgba(33, 107, 165, 0.5);\n}\n.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range), .react-datepicker__year--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__year--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__year--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__year--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range) {\n background-color: #f0f0f0;\n color: #000;\n}\n.react-datepicker__day--disabled,\n.react-datepicker__month-text--disabled,\n.react-datepicker__quarter-text--disabled,\n.react-datepicker__year-text--disabled {\n cursor: default;\n color: #ccc;\n}\n.react-datepicker__day--disabled .overlay,\n.react-datepicker__month-text--disabled .overlay,\n.react-datepicker__quarter-text--disabled .overlay,\n.react-datepicker__year-text--disabled .overlay {\n position: absolute;\n bottom: 70%;\n left: 50%;\n transform: translateX(-50%);\n background-color: #333;\n color: #fff;\n padding: 4px;\n border-radius: 4px;\n white-space: nowrap;\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s, opacity 0.3s ease-in-out;\n}\n\n.react-datepicker__input-container {\n position: relative;\n display: inline-block;\n width: 100%;\n}\n.react-datepicker__input-container .react-datepicker__calendar-icon {\n position: absolute;\n padding: 0.5rem;\n box-sizing: content-box;\n}\n\n.react-datepicker__view-calendar-icon input {\n padding: 6px 10px 5px 25px;\n}\n\n.react-datepicker__year-read-view,\n.react-datepicker__month-read-view,\n.react-datepicker__month-year-read-view {\n border: 1px solid transparent;\n border-radius: 0.3rem;\n position: relative;\n}\n.react-datepicker__year-read-view:hover,\n.react-datepicker__month-read-view:hover,\n.react-datepicker__month-year-read-view:hover {\n cursor: pointer;\n}\n.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {\n border-top-color: rgb(178.5, 178.5, 178.5);\n}\n.react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view--down-arrow {\n transform: rotate(135deg);\n right: -16px;\n top: 0;\n}\n\n.react-datepicker__year-dropdown,\n.react-datepicker__month-dropdown,\n.react-datepicker__month-year-dropdown {\n background-color: #f0f0f0;\n position: absolute;\n width: 50%;\n left: 25%;\n top: 30px;\n z-index: 1;\n text-align: center;\n border-radius: 0.3rem;\n border: 1px solid #aeaeae;\n}\n.react-datepicker__year-dropdown:hover,\n.react-datepicker__month-dropdown:hover,\n.react-datepicker__month-year-dropdown:hover {\n cursor: pointer;\n}\n.react-datepicker__year-dropdown--scrollable,\n.react-datepicker__month-dropdown--scrollable,\n.react-datepicker__month-year-dropdown--scrollable {\n height: 150px;\n overflow-y: scroll;\n}\n\n.react-datepicker__year-option,\n.react-datepicker__month-option,\n.react-datepicker__month-year-option {\n line-height: 20px;\n width: 100%;\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n.react-datepicker__year-option:first-of-type,\n.react-datepicker__month-option:first-of-type,\n.react-datepicker__month-year-option:first-of-type {\n border-top-left-radius: 0.3rem;\n border-top-right-radius: 0.3rem;\n}\n.react-datepicker__year-option:last-of-type,\n.react-datepicker__month-option:last-of-type,\n.react-datepicker__month-year-option:last-of-type {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n}\n.react-datepicker__year-option:hover,\n.react-datepicker__month-option:hover,\n.react-datepicker__month-year-option:hover {\n background-color: #ccc;\n}\n.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,\n.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,\n.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {\n border-bottom-color: rgb(178.5, 178.5, 178.5);\n}\n.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,\n.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,\n.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {\n border-top-color: rgb(178.5, 178.5, 178.5);\n}\n.react-datepicker__year-option--selected,\n.react-datepicker__month-option--selected,\n.react-datepicker__month-year-option--selected {\n position: absolute;\n left: 15px;\n}\n\n.react-datepicker__close-icon {\n cursor: pointer;\n background-color: transparent;\n border: 0;\n outline: 0;\n padding: 0 6px 0 0;\n position: absolute;\n top: 0;\n right: 0;\n height: 100%;\n display: table-cell;\n vertical-align: middle;\n}\n.react-datepicker__close-icon::after {\n cursor: pointer;\n background-color: #216ba5;\n color: #fff;\n border-radius: 50%;\n height: 16px;\n width: 16px;\n padding: 2px;\n font-size: 12px;\n line-height: 1;\n text-align: center;\n display: table-cell;\n vertical-align: middle;\n content: "×";\n}\n.react-datepicker__close-icon--disabled {\n cursor: default;\n}\n.react-datepicker__close-icon--disabled::after {\n cursor: default;\n background-color: #ccc;\n}\n\n.react-datepicker__today-button {\n background: #f0f0f0;\n border-top: 1px solid #aeaeae;\n cursor: pointer;\n text-align: center;\n font-weight: bold;\n padding: 5px 0;\n clear: left;\n}\n\n.react-datepicker__portal {\n position: fixed;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.8);\n left: 0;\n top: 0;\n justify-content: center;\n align-items: center;\n display: flex;\n z-index: 2147483647;\n}\n.react-datepicker__portal .react-datepicker__day-name,\n.react-datepicker__portal .react-datepicker__day,\n.react-datepicker__portal .react-datepicker__time-name {\n width: 3rem;\n line-height: 3rem;\n}\n@media (max-width: 400px), (max-height: 550px) {\n .react-datepicker__portal .react-datepicker__day-name,\n .react-datepicker__portal .react-datepicker__day,\n .react-datepicker__portal .react-datepicker__time-name {\n width: 2rem;\n line-height: 2rem;\n }\n}\n.react-datepicker__portal .react-datepicker__current-month,\n.react-datepicker__portal .react-datepicker-time__header {\n font-size: 1.44rem;\n}\n\n.react-datepicker__children-container {\n width: 13.8rem;\n margin: 0.4rem;\n padding-right: 0.2rem;\n padding-left: 0.2rem;\n height: auto;\n}\n\n.react-datepicker__aria-live {\n position: absolute;\n clip-path: circle(0);\n border: 0;\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n width: 1px;\n white-space: nowrap;\n}\n\n.react-datepicker__calendar-icon {\n width: 1em;\n height: 1em;\n vertical-align: -0.125em;\n}\n',""]);const s=i},27752:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(31601),o=n.n(r),a=n(76314),i=n.n(a)()(o());i.push([e.id,"@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap);"]),i.push([e.id,"\n",""]);const s=i},76314: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,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(i[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);r&&i[l[0]]||(void 0!==a&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=a),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},31601:e=>{"use strict";e.exports=function(e){return e[1]}},30454:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),r=new RegExp("("+t+")+","gi");function o(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function a(e){try{return decodeURIComponent(e)}catch(a){for(var t=e.match(n)||[],r=1;r<t.length;r++)t=(e=o(t,r).join("")).match(n)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var o=a(n[0]);o!==n[0]&&(t[n[0]]=o)}n=r.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),s=0;s<i.length;s++){var c=i[s];e=e.replace(new RegExp(c,"g"),t[c])}return e}(e)}}},73055:e=>{"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),a=0;a<r.length;a++){var i=r[a],s=e[i];(o?-1!==t.indexOf(i):t(i,s,e))&&(n[i]=s)}return n}},4146:(e,t,n)=>{"use strict";var r=n(44363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var u=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var i=l(n);d&&(i=i.concat(d(n)));for(var s=c(t),m=c(n),g=0;g<i.length;++g){var v=i[g];if(!(a[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=p(n,v);try{u(t,v,y)}catch(e){}}}}return t}},62587:(e,t,n)=>{"use strict";n.d(t,{S:()=>u});var r=n(77801),o=n(54819),a=n(92960),i=n(31071);function s(e,t){return t?Object.keys(e).reduce((function(n,o){var a,i;return n[o]=(a=e[o],(i=t[o])?(0,r.Cl)((0,r.Cl)((0,r.Cl)({},a||{}),i||{}),Object.keys(a).reduce((function(e,t){return e[t]=(0,r.Cl)((0,r.Cl)({},a[t]),i[t]||{}),e}),{})):a),n}),(0,r.Cl)({},e)):e}function c(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}var u=function(){function e(t,n,a,u){void 0===n&&(n=e.defaultLocale);var l,d=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=d.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===i.TT.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(0,i.hN)(d.ast,d.locales,d.formatters,d.formats,e,void 0,d.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=d.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(d.locales)[0]}},this.getAst=function(){return d.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 p=u||{},f=(p.formatters,(0,r.Tt)(p,["formatters"]));this.ast=e.__parse(t,(0,r.Cl)((0,r.Cl)({},f),{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=s(e.formats,a),this.formatters=u&&u.formatters||(void 0===(l=this.formatterCache)&&(l={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,o.B)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,(0,r.fX)([void 0],t,!1)))}),{cache:c(l.number),strategy:o.W.variadic}),getDateTimeFormat:(0,o.B)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,r.fX)([void 0],t,!1)))}),{cache:c(l.dateTime),strategy:o.W.variadic}),getPluralRules:(0,o.B)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,(0,r.fX)([void 0],t,!1)))}),{cache:c(l.pluralRules),strategy:o.W.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=a.qg,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}()},11732:(e,t,n)=>{"use strict";n.d(t,{$x:()=>i,Ei:()=>c,IF:()=>a,O4:()=>r,Zo:()=>s});var r,o=n(77801);!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(r||(r={}));var a=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return(0,o.C6)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),i=function(e){function t(t,n,o,a){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(o).join('", "'),'"'),r.INVALID_VALUE,a)||this}return(0,o.C6)(t,e),t}(a),s=function(e){function t(t,n,o){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),r.INVALID_VALUE,o)||this}return(0,o.C6)(t,e),t}(a),c=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,'"'),r.MISSING_VALUE,n)||this}return(0,o.C6)(t,e),t}(a)},31071:(e,t,n)=>{"use strict";n.d(t,{RK:()=>i,TT:()=>r,hN:()=>s});var r,o=n(92960),a=n(11732);function i(e){return"function"==typeof e}function s(e,t,n,c,u,l,d){if(1===e.length&&(0,o.eW)(e[0]))return[{type:r.literal,value:e[0].value}];for(var p=[],f=0,h=e;f<h.length;f++){var m=h[f];if((0,o.eW)(m))p.push({type:r.literal,value:m.value});else if((0,o.jA)(m))"number"==typeof l&&p.push({type:r.literal,value:n.getNumberFormat(t).format(l)});else{var g=m.value;if(!u||!(g in u))throw new a.Ei(g,d);var v=u[g];if((0,o.Im)(m))v&&"string"!=typeof v&&"number"!=typeof v||(v="string"==typeof v||"number"==typeof v?String(v):""),p.push({type:"string"==typeof v?r.literal:r.object,value:v});else if((0,o.tv)(m)){var y="string"==typeof m.style?c.date[m.style]:(0,o.Tu)(m.style)?m.style.parsedOptions:void 0;p.push({type:r.literal,value:n.getDateTimeFormat(t,y).format(v)})}else if((0,o.Qh)(m)){y="string"==typeof m.style?c.time[m.style]:(0,o.Tu)(m.style)?m.style.parsedOptions:c.time.medium;p.push({type:r.literal,value:n.getDateTimeFormat(t,y).format(v)})}else if((0,o.oF)(m)){(y="string"==typeof m.style?c.number[m.style]:(0,o.N1)(m.style)?m.style.parsedOptions:void 0)&&y.scale&&(v*=y.scale||1),p.push({type:r.literal,value:n.getNumberFormat(t,y).format(v)})}else{if((0,o.xm)(m)){var b=m.children,w=m.value,x=u[w];if(!i(x))throw new a.Zo(w,"function",d);var O=x(s(b,t,n,c,u,l).map((function(e){return e.value})));Array.isArray(O)||(O=[O]),p.push.apply(p,O.map((function(e){return{type:"string"==typeof e?r.literal:r.object,value:e}})))}if((0,o.Jp)(m)){if(!(k=m.options[v]||m.options.other))throw new a.$x(m.value,v,Object.keys(m.options),d);p.push.apply(p,s(k.value,t,n,c,u))}else if((0,o.N6)(m)){var k;if(!(k=m.options["=".concat(v)])){if(!Intl.PluralRules)throw new a.IF('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',a.O4.MISSING_INTL_API,d);var S=n.getPluralRules(t,{type:m.pluralType}).select(v-(m.offset||0));k=m.options[S]||m.options.other}if(!k)throw new a.$x(m.value,v,Object.keys(m.options),d);p.push.apply(p,s(k.value,t,n,c,u,v-(m.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===r.literal&&t.type===r.literal?n.value+=t.value:e.push(t),e}),[])}(p)}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(r||(r={}))},55580:(e,t,n)=>{var r=n(56110)(n(9325),"DataView");e.exports=r},21549:(e,t,n)=>{var r=n(22032),o=n(63862),a=n(66721),i=n(12749),s=n(35749);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},80079:(e,t,n)=>{var r=n(63702),o=n(70080),a=n(24739),i=n(48655),s=n(31175);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},68223:(e,t,n)=>{var r=n(56110)(n(9325),"Map");e.exports=r},53661:(e,t,n)=>{var r=n(63040),o=n(17670),a=n(90289),i=n(4509),s=n(72949);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},32804:(e,t,n)=>{var r=n(56110)(n(9325),"Promise");e.exports=r},76545:(e,t,n)=>{var r=n(56110)(n(9325),"Set");e.exports=r},38859:(e,t,n)=>{var r=n(53661),o=n(31380),a=n(51459);function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},37217:(e,t,n)=>{var r=n(80079),o=n(51420),a=n(90938),i=n(63605),s=n(29817),c=n(80945);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,e.exports=u},51873:(e,t,n)=>{var r=n(9325).Symbol;e.exports=r},37828:(e,t,n)=>{var r=n(9325).Uint8Array;e.exports=r},28303:(e,t,n)=>{var r=n(56110)(n(9325),"WeakMap");e.exports=r},91033:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},63945:e=>{e.exports=function(e,t,n,r){for(var o=-1,a=null==e?0:e.length;++o<a;){var i=e[o];t(r,i,n(i),e)}return r}},83729:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},79770:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},15325:(e,t,n)=>{var r=n(96131);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},29905:e=>{e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},70695:(e,t,n)=>{var r=n(78096),o=n(72428),a=n(56449),i=n(3656),s=n(30361),c=n(37167),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),l=!n&&o(e),d=!n&&!l&&i(e),p=!n&&!l&&!d&&c(e),f=n||l||d||p,h=f?r(e.length,String):[],m=h.length;for(var g in e)!t&&!u.call(e,g)||f&&("length"==g||d&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},34932:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},14528:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},40882:e=>{e.exports=function(e,t,n,r){var o=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++o]);++o<a;)n=t(n,e[o],o,e);return n}},14248:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},87805:(e,t,n)=>{var r=n(43360),o=n(75288);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},16547:(e,t,n)=>{var r=n(43360),o=n(75288),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var i=e[t];a.call(e,t)&&o(i,n)&&(void 0!==n||t in e)||r(e,t,n)}},26025:(e,t,n)=>{var r=n(75288);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},62429:(e,t,n)=>{var r=n(80909);e.exports=function(e,t,n,o){return r(e,(function(e,r,a){t(o,e,n(e),a)})),o}},74733:(e,t,n)=>{var r=n(21791),o=n(95950);e.exports=function(e,t){return e&&r(t,o(t),e)}},43838:(e,t,n)=>{var r=n(21791),o=n(37241);e.exports=function(e,t){return e&&r(t,o(t),e)}},43360:(e,t,n)=>{var r=n(93243);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},9999:(e,t,n)=>{var r=n(37217),o=n(83729),a=n(16547),i=n(74733),s=n(43838),c=n(93290),u=n(23007),l=n(92271),d=n(48948),p=n(50002),f=n(83349),h=n(5861),m=n(76189),g=n(77199),v=n(35529),y=n(56449),b=n(3656),w=n(87730),x=n(23805),O=n(38440),k=n(95950),S=n(37241),E="[object Arguments]",P="[object Function]",j="[object Object]",_={};_[E]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_[j]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_[P]=_["[object WeakMap]"]=!1,e.exports=function e(t,n,D,C,T,M){var A,I=1&n,R=2&n,N=4&n;if(D&&(A=T?D(t,C,T,M):D(t)),void 0!==A)return A;if(!x(t))return t;var L=y(t);if(L){if(A=m(t),!I)return u(t,A)}else{var F=h(t),H=F==P||"[object GeneratorFunction]"==F;if(b(t))return c(t,I);if(F==j||F==E||H&&!T){if(A=R||H?{}:v(t),!I)return R?d(t,s(A,t)):l(t,i(A,t))}else{if(!_[F])return T?t:{};A=g(t,F,I)}}M||(M=new r);var W=M.get(t);if(W)return W;M.set(t,A),O(t)?t.forEach((function(r){A.add(e(r,n,D,r,t,M))})):w(t)&&t.forEach((function(r,o){A.set(o,e(r,n,D,o,t,M))}));var B=L?void 0:(N?R?f:p:R?S:k)(t);return o(B||t,(function(r,o){B&&(r=t[o=r]),a(A,o,e(r,n,D,o,t,M))})),A}},39344:(e,t,n)=>{var r=n(23805),o=Object.create,a=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=a},83915:(e,t,n)=>{var r=n(38859),o=n(15325),a=n(29905),i=n(34932),s=n(27301),c=n(19219);e.exports=function(e,t,n,u){var l=-1,d=o,p=!0,f=e.length,h=[],m=t.length;if(!f)return h;n&&(t=i(t,s(n))),u?(d=a,p=!1):t.length>=200&&(d=c,p=!1,t=new r(t));e:for(;++l<f;){var g=e[l],v=null==n?g:n(g);if(g=u||0!==g?g:0,p&&v==v){for(var y=m;y--;)if(t[y]===v)continue e;h.push(g)}else d(t,v,u)||h.push(g)}return h}},80909:(e,t,n)=>{var r=n(30641),o=n(38329)(r);e.exports=o},2523:e=>{e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},83120:(e,t,n)=>{var r=n(14528),o=n(45891);e.exports=function e(t,n,a,i,s){var c=-1,u=t.length;for(a||(a=o),s||(s=[]);++c<u;){var l=t[c];n>0&&a(l)?n>1?e(l,n-1,a,i,s):r(s,l):i||(s[s.length]=l)}return s}},86649:(e,t,n)=>{var r=n(83221)();e.exports=r},30641:(e,t,n)=>{var r=n(86649),o=n(95950);e.exports=function(e,t){return e&&r(e,t,o)}},47422:(e,t,n)=>{var r=n(31769),o=n(77797);e.exports=function(e,t){for(var n=0,a=(t=r(t,e)).length;null!=e&&n<a;)e=e[o(t[n++])];return n&&n==a?e:void 0}},82199:(e,t,n)=>{var r=n(14528),o=n(56449);e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},72552:(e,t,n)=>{var r=n(51873),o=n(659),a=n(59350),i=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):a(e)}},28077:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},96131:(e,t,n)=>{var r=n(2523),o=n(85463),a=n(76959);e.exports=function(e,t,n){return t==t?a(e,t,n):r(e,o,n)}},27534:(e,t,n)=>{var r=n(72552),o=n(40346);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},60270:(e,t,n)=>{var r=n(87068),o=n(40346);e.exports=function e(t,n,a,i,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,s))}},87068:(e,t,n)=>{var r=n(37217),o=n(25911),a=n(21986),i=n(50689),s=n(5861),c=n(56449),u=n(3656),l=n(37167),d="[object Arguments]",p="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=c(e),b=c(t),w=y?p:s(e),x=b?p:s(t),O=(w=w==d?f:w)==f,k=(x=x==d?f:x)==f,S=w==x;if(S&&u(e)){if(!u(t))return!1;y=!0,O=!1}if(S&&!O)return v||(v=new r),y||l(e)?o(e,t,n,m,g,v):a(e,t,w,n,m,g,v);if(!(1&n)){var E=O&&h.call(e,"__wrapped__"),P=k&&h.call(t,"__wrapped__");if(E||P){var j=E?e.value():e,_=P?t.value():t;return v||(v=new r),g(j,_,n,m,v)}}return!!S&&(v||(v=new r),i(e,t,n,m,g,v))}},29172:(e,t,n)=>{var r=n(5861),o=n(40346);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},41799:(e,t,n)=>{var r=n(37217),o=n(60270);e.exports=function(e,t,n,a){var i=n.length,s=i,c=!a;if(null==e)return!s;for(e=Object(e);i--;){var u=n[i];if(c&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i<s;){var l=(u=n[i])[0],d=e[l],p=u[1];if(c&&u[2]){if(void 0===d&&!(l in e))return!1}else{var f=new r;if(a)var h=a(d,p,l,e,t,f);if(!(void 0===h?o(p,d,3,a,f):h))return!1}}return!0}},85463:e=>{e.exports=function(e){return e!=e}},45083:(e,t,n)=>{var r=n(1882),o=n(87296),a=n(23805),i=n(47473),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,d=u.hasOwnProperty,p=RegExp("^"+l.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||o(e))&&(r(e)?p:s).test(i(e))}},16038:(e,t,n)=>{var r=n(5861),o=n(40346);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},4901:(e,t,n)=>{var r=n(72552),o=n(30294),a=n(40346),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&o(e.length)&&!!i[r(e)]}},15389:(e,t,n)=>{var r=n(93663),o=n(87978),a=n(83488),i=n(56449),s=n(50583);e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):s(e)}},88984:(e,t,n)=>{var r=n(55527),o=n(3650),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},72903:(e,t,n)=>{var r=n(23805),o=n(55527),a=n(90181),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&i.call(e,s))&&n.push(s);return n}},93663:(e,t,n)=>{var r=n(41799),o=n(10776),a=n(89578);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},87978:(e,t,n)=>{var r=n(60270),o=n(58156),a=n(80631),i=n(28586),s=n(30756),c=n(89578),u=n(77797);e.exports=function(e,t){return i(e)&&s(t)?c(u(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},85250:(e,t,n)=>{var r=n(37217),o=n(87805),a=n(86649),i=n(42824),s=n(23805),c=n(37241),u=n(14974);e.exports=function e(t,n,l,d,p){t!==n&&a(n,(function(a,c){if(p||(p=new r),s(a))i(t,n,c,l,e,d,p);else{var f=d?d(u(t,c),a,c+"",t,n,p):void 0;void 0===f&&(f=a),o(t,c,f)}}),c)}},42824:(e,t,n)=>{var r=n(87805),o=n(93290),a=n(71961),i=n(23007),s=n(35529),c=n(72428),u=n(56449),l=n(83693),d=n(3656),p=n(1882),f=n(23805),h=n(11331),m=n(37167),g=n(14974),v=n(69884);e.exports=function(e,t,n,y,b,w,x){var O=g(e,n),k=g(t,n),S=x.get(k);if(S)r(e,n,S);else{var E=w?w(O,k,n+"",e,t,x):void 0,P=void 0===E;if(P){var j=u(k),_=!j&&d(k),D=!j&&!_&&m(k);E=k,j||_||D?u(O)?E=O:l(O)?E=i(O):_?(P=!1,E=o(k,!0)):D?(P=!1,E=a(k,!0)):E=[]:h(k)||c(k)?(E=O,c(O)?E=v(O):f(O)&&!p(O)||(E=s(k))):P=!1}P&&(x.set(k,E),b(E,k,y,w,x),x.delete(k)),r(e,n,E)}}},76001:(e,t,n)=>{var r=n(97420),o=n(80631);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},97420:(e,t,n)=>{var r=n(47422),o=n(73170),a=n(31769);e.exports=function(e,t,n){for(var i=-1,s=t.length,c={};++i<s;){var u=t[i],l=r(e,u);n(l,u)&&o(c,a(u,e),l)}return c}},47237:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},17255:(e,t,n)=>{var r=n(47422);e.exports=function(e){return function(t){return r(t,e)}}},86151:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,r,o,a){for(var i=-1,s=n(t((r-e)/(o||1)),0),c=Array(s);s--;)c[a?s:++i]=e,e+=o;return c}},85558:e=>{e.exports=function(e,t,n,r,o){return o(e,(function(e,o,a){n=r?(r=!1,e):t(n,e,o,a)})),n}},69302:(e,t,n)=>{var r=n(83488),o=n(56757),a=n(32865);e.exports=function(e,t){return a(o(e,t,r),e+"")}},73170:(e,t,n)=>{var r=n(16547),o=n(31769),a=n(30361),i=n(23805),s=n(77797);e.exports=function(e,t,n,c){if(!i(e))return e;for(var u=-1,l=(t=o(t,e)).length,d=l-1,p=e;null!=p&&++u<l;){var f=s(t[u]),h=n;if("__proto__"===f||"constructor"===f||"prototype"===f)return e;if(u!=d){var m=p[f];void 0===(h=c?c(m,f,p):void 0)&&(h=i(m)?m:a(t[u+1])?[]:{})}r(p,f,h),p=p[f]}return e}},25160:e=>{e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r<o;)a[r]=e[r+t];return a}},78096:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},54128:(e,t,n)=>{var r=n(31800),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},27301:e=>{e.exports=function(e){return function(t){return e(t)}}},55765:(e,t,n)=>{var r=n(38859),o=n(15325),a=n(29905),i=n(19219),s=n(44517),c=n(84247);e.exports=function(e,t,n){var u=-1,l=o,d=e.length,p=!0,f=[],h=f;if(n)p=!1,l=a;else if(d>=200){var m=t?null:s(e);if(m)return c(m);p=!1,l=i,h=new r}else h=t?[]:f;e:for(;++u<d;){var g=e[u],v=t?t(g):g;if(g=n||0!==g?g:0,p&&v==v){for(var y=h.length;y--;)if(h[y]===v)continue e;t&&h.push(v),f.push(g)}else l(h,v,n)||(h!==f&&h.push(v),f.push(g))}return f}},19931:(e,t,n)=>{var r=n(31769),o=n(68090),a=n(68969),i=n(77797);e.exports=function(e,t){return t=r(t,e),null==(e=a(e,t))||delete e[i(o(t))]}},19219:e=>{e.exports=function(e,t){return e.has(t)}},31769:(e,t,n)=>{var r=n(56449),o=n(28586),a=n(61802),i=n(13222);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:a(i(e))}},49653:(e,t,n)=>{var r=n(37828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},93290:(e,t,n)=>{e=n.nmd(e);var r=n(9325),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o?r.Buffer:void 0,s=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},76169:(e,t,n)=>{var r=n(49653);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},73201:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},93736:(e,t,n)=>{var r=n(51873),o=r?r.prototype:void 0,a=o?o.valueOf:void 0;e.exports=function(e){return a?Object(a.call(e)):{}}},71961:(e,t,n)=>{var r=n(49653);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},23007:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},21791:(e,t,n)=>{var r=n(16547),o=n(43360);e.exports=function(e,t,n,a){var i=!n;n||(n={});for(var s=-1,c=t.length;++s<c;){var u=t[s],l=a?a(n[u],e[u],u,n,e):void 0;void 0===l&&(l=e[u]),i?o(n,u,l):r(n,u,l)}return n}},92271:(e,t,n)=>{var r=n(21791),o=n(4664);e.exports=function(e,t){return r(e,o(e),t)}},48948:(e,t,n)=>{var r=n(21791),o=n(86375);e.exports=function(e,t){return r(e,o(e),t)}},55481:(e,t,n)=>{var r=n(9325)["__core-js_shared__"];e.exports=r},42e3:(e,t,n)=>{var r=n(63945),o=n(62429),a=n(15389),i=n(56449);e.exports=function(e,t){return function(n,s){var c=i(n)?r:o,u=t?t():{};return c(n,e,a(s,2),u)}}},20999:(e,t,n)=>{var r=n(69302),o=n(36800);e.exports=function(e){return r((function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,s=a>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,s&&o(n[0],n[1],s)&&(i=a<3?void 0:i,a=1),t=Object(t);++r<a;){var c=n[r];c&&e(t,c,r,i)}return t}))}},38329:(e,t,n)=>{var r=n(64894);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var a=n.length,i=t?a:-1,s=Object(n);(t?i--:++i<a)&&!1!==o(s[i],i,s););return n}}},83221:e=>{e.exports=function(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),s=i.length;s--;){var c=i[e?s:++o];if(!1===n(a[c],c,a))break}return t}}},85508:(e,t,n)=>{var r=n(86151),o=n(36800),a=n(17400);e.exports=function(e){return function(t,n,i){return i&&"number"!=typeof i&&o(t,n,i)&&(n=i=void 0),t=a(t),void 0===n?(n=t,t=0):n=a(n),i=void 0===i?t<n?1:-1:a(i),r(t,n,i,e)}}},73893:(e,t,n)=>{var r=n(9325),o=n(61489),a=n(99374),i=n(13222),s=r.isFinite,c=Math.min;e.exports=function(e){var t=Math[e];return function(e,n){if(e=a(e),(n=null==n?0:c(o(n),292))&&s(e)){var r=(i(e)+"e").split("e"),u=t(r[0]+"e"+(+r[1]+n));return+((r=(i(u)+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}},44517:(e,t,n)=>{var r=n(76545),o=n(63950),a=n(84247),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},53138:(e,t,n)=>{var r=n(11331);e.exports=function(e){return r(e)?void 0:e}},93243:(e,t,n)=>{var r=n(56110),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},25911:(e,t,n)=>{var r=n(38859),o=n(14248),a=n(19219);e.exports=function(e,t,n,i,s,c){var u=1&n,l=e.length,d=t.length;if(l!=d&&!(u&&d>l))return!1;var p=c.get(e),f=c.get(t);if(p&&f)return p==t&&f==e;var h=-1,m=!0,g=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++h<l;){var v=e[h],y=t[h];if(i)var b=u?i(y,v,h,t,e,c):i(v,y,h,e,t,c);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!o(t,(function(e,t){if(!a(g,t)&&(v===e||s(v,e,n,i,c)))return g.push(t)}))){m=!1;break}}else if(v!==y&&!s(v,y,n,i,c)){m=!1;break}}return c.delete(e),c.delete(t),m}},21986:(e,t,n)=>{var r=n(51873),o=n(37828),a=n(75288),i=n(25911),s=n(20317),c=n(84247),u=r?r.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,d,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var h=1&r;if(f||(f=c),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var g=i(f(e),f(t),r,u,d,p);return p.delete(e),g;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},50689:(e,t,n)=>{var r=n(50002),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,s){var c=1&n,u=r(e),l=u.length;if(l!=r(t).length&&!c)return!1;for(var d=l;d--;){var p=u[d];if(!(c?p in t:o.call(t,p)))return!1}var f=s.get(e),h=s.get(t);if(f&&h)return f==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=c;++d<l;){var v=e[p=u[d]],y=t[p];if(a)var b=c?a(y,v,p,t,e,s):a(v,y,p,e,t,s);if(!(void 0===b?v===y||i(v,y,n,a,s):b)){m=!1;break}g||(g="constructor"==p)}if(m&&!g){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(m=!1)}return s.delete(e),s.delete(t),m}},38816:(e,t,n)=>{var r=n(35970),o=n(56757),a=n(32865);e.exports=function(e){return a(o(e,void 0,r),e+"")}},34840:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},50002:(e,t,n)=>{var r=n(82199),o=n(4664),a=n(95950);e.exports=function(e){return r(e,a,o)}},83349:(e,t,n)=>{var r=n(82199),o=n(86375),a=n(37241);e.exports=function(e){return r(e,a,o)}},12651:(e,t,n)=>{var r=n(74218);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},10776:(e,t,n)=>{var r=n(30756),o=n(95950);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},56110:(e,t,n)=>{var r=n(45083),o=n(10392);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},28879:(e,t,n)=>{var r=n(74335)(Object.getPrototypeOf,Object);e.exports=r},659:(e,t,n)=>{var r=n(51873),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[s]=n:delete e[s]),o}},4664:(e,t,n)=>{var r=n(79770),o=n(63345),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=s},86375:(e,t,n)=>{var r=n(14528),o=n(28879),a=n(4664),i=n(63345),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,a(e)),e=o(e);return t}:i;e.exports=s},5861:(e,t,n)=>{var r=n(55580),o=n(68223),a=n(32804),i=n(76545),s=n(28303),c=n(72552),u=n(47473),l="[object Map]",d="[object Promise]",p="[object Set]",f="[object WeakMap]",h="[object DataView]",m=u(r),g=u(o),v=u(a),y=u(i),b=u(s),w=c;(r&&w(new r(new ArrayBuffer(1)))!=h||o&&w(new o)!=l||a&&w(a.resolve())!=d||i&&w(new i)!=p||s&&w(new s)!=f)&&(w=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case m:return h;case g:return l;case v:return d;case y:return p;case b:return f}return t}),e.exports=w},10392:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},49326:(e,t,n)=>{var r=n(31769),o=n(72428),a=n(56449),i=n(30361),s=n(30294),c=n(77797);e.exports=function(e,t,n){for(var u=-1,l=(t=r(t,e)).length,d=!1;++u<l;){var p=c(t[u]);if(!(d=null!=e&&n(e,p)))break;e=e[p]}return d||++u!=l?d:!!(l=null==e?0:e.length)&&s(l)&&i(p,l)&&(a(e)||o(e))}},22032:(e,t,n)=>{var r=n(81042);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},63862:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},66721:(e,t,n)=>{var r=n(81042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},12749:(e,t,n)=>{var r=n(81042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},35749:(e,t,n)=>{var r=n(81042);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},76189:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},77199:(e,t,n)=>{var r=n(49653),o=n(76169),a=n(73201),i=n(93736),s=n(71961);e.exports=function(e,t,n){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return a(e);case"[object Symbol]":return i(e)}}},35529:(e,t,n)=>{var r=n(39344),o=n(28879),a=n(55527);e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:r(o(e))}},45891:(e,t,n)=>{var r=n(51873),o=n(72428),a=n(56449),i=r?r.isConcatSpreadable:void 0;e.exports=function(e){return a(e)||o(e)||!!(i&&e&&e[i])}},30361:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},36800:(e,t,n)=>{var r=n(75288),o=n(64894),a=n(30361),i=n(23805);e.exports=function(e,t,n){if(!i(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&a(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},28586:(e,t,n)=>{var r=n(56449),o=n(44394),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(i.test(e)||!a.test(e)||null!=t&&e in Object(t))}},74218:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},87296:(e,t,n)=>{var r,o=n(55481),a=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!a&&a in e}},55527:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},30756:(e,t,n)=>{var r=n(23805);e.exports=function(e){return e==e&&!r(e)}},63702:e=>{e.exports=function(){this.__data__=[],this.size=0}},70080:(e,t,n)=>{var r=n(26025),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},24739:(e,t,n)=>{var r=n(26025);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},48655:(e,t,n)=>{var r=n(26025);e.exports=function(e){return r(this.__data__,e)>-1}},31175:(e,t,n)=>{var r=n(26025);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},63040:(e,t,n)=>{var r=n(21549),o=n(80079),a=n(68223);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||o),string:new r}}},17670:(e,t,n)=>{var r=n(12651);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},90289:(e,t,n)=>{var r=n(12651);e.exports=function(e){return r(this,e).get(e)}},4509:(e,t,n)=>{var r=n(12651);e.exports=function(e){return r(this,e).has(e)}},72949:(e,t,n)=>{var r=n(12651);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},20317:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},89578:e=>{e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},62224:(e,t,n)=>{var r=n(50104);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},81042:(e,t,n)=>{var r=n(56110)(Object,"create");e.exports=r},3650:(e,t,n)=>{var r=n(74335)(Object.keys,Object);e.exports=r},90181:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},86009:(e,t,n)=>{e=n.nmd(e);var r=n(34840),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,s=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=s},59350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},74335:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},56757:(e,t,n)=>{var r=n(91033),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var a=arguments,i=-1,s=o(a.length-t,0),c=Array(s);++i<s;)c[i]=a[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=a[i];return u[t]=n(c),r(e,this,u)}}},68969:(e,t,n)=>{var r=n(47422),o=n(25160);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},9325:(e,t,n)=>{var r=n(34840),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},14974:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},31380:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},51459:e=>{e.exports=function(e){return this.__data__.has(e)}},84247:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},32865:e=>{e.exports=function(e){return e}},51420:(e,t,n)=>{var r=n(80079);e.exports=function(){this.__data__=new r,this.size=0}},90938:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},63605:e=>{e.exports=function(e){return this.__data__.get(e)}},29817:e=>{e.exports=function(e){return this.__data__.has(e)}},80945:(e,t,n)=>{var r=n(80079),o=n(68223),a=n(53661);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},76959:e=>{e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},61802:(e,t,n)=>{var r=n(62224),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(a,"$1"):n||e)})),t}));e.exports=i},77797:e=>{e.exports=function(e){return e}},47473:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},31800:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},38221:(e,t,n)=>{var r=n(23805),o=n(10124),a=n(99374),i=Math.max,s=Math.min;e.exports=function(e,t,n){var c,u,l,d,p,f,h=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=c,r=u;return c=u=void 0,h=t,d=e.apply(r,n)}function b(e){var n=e-f;return void 0===f||n>=t||n<0||g&&e-h>=l}function w(){var e=o();if(b(e))return x(e);p=setTimeout(w,function(e){var n=t-(e-f);return g?s(n,l-(e-h)):n}(e))}function x(e){return p=void 0,v&&c?y(e):(c=u=void 0,d)}function O(){var e=o(),n=b(e);if(c=arguments,u=this,f=e,n){if(void 0===p)return function(e){return h=e,p=setTimeout(w,t),m?y(e):d}(f);if(g)return clearTimeout(p),p=setTimeout(w,t),y(f)}return void 0===p&&(p=setTimeout(w,t)),d}return t=a(t)||0,r(n)&&(m=!!n.leading,l=(g="maxWait"in n)?i(a(n.maxWait)||0,t):l,v="trailing"in n?!!n.trailing:v),O.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=f=u=p=void 0},O.flush=function(){return void 0===p?d:x(o())},O}},66245:(e,t,n)=>{var r=n(83915),o=n(83120),a=n(69302),i=n(83693),s=a((function(e,t){return i(e)?r(e,o(t,1,i,!0)):[]}));e.exports=s},75288:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},35970:(e,t,n)=>{var r=n(83120);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},58156:(e,t,n)=>{var r=n(47422);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},94394:(e,t,n)=>{var r=n(43360),o=n(42e3),a=Object.prototype.hasOwnProperty,i=o((function(e,t,n){a.call(e,n)?e[n].push(t):r(e,n,[t])}));e.exports=i},80631:(e,t,n)=>{var r=n(28077),o=n(49326);e.exports=function(e,t){return null!=e&&o(e,t,r)}},83488:e=>{e.exports=function(e){return e}},72428:(e,t,n)=>{var r=n(27534),o=n(40346),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},56449:e=>{var t=Array.isArray;e.exports=t},64894:(e,t,n)=>{var r=n(1882),o=n(30294);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},83693:(e,t,n)=>{var r=n(64894),o=n(40346);e.exports=function(e){return o(e)&&r(e)}},3656:(e,t,n)=>{e=n.nmd(e);var r=n(9325),o=n(89935),a=t&&!t.nodeType&&t,i=a&&e&&!e.nodeType&&e,s=i&&i.exports===a?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;e.exports=c},62193:(e,t,n)=>{var r=n(88984),o=n(5861),a=n(72428),i=n(56449),s=n(64894),c=n(3656),u=n(55527),l=n(37167),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||l(e)||a(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(u(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},2404:(e,t,n)=>{var r=n(60270);e.exports=function(e,t){return r(e,t)}},1882:(e,t,n)=>{var r=n(72552),o=n(23805);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},30294:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},87730:(e,t,n)=>{var r=n(29172),o=n(27301),a=n(86009),i=a&&a.isMap,s=i?o(i):r;e.exports=s},69843:e=>{e.exports=function(e){return null==e}},23805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},40346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},11331:(e,t,n)=>{var r=n(72552),o=n(28879),a=n(40346),i=Function.prototype,s=Object.prototype,c=i.toString,u=s.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},38440:(e,t,n)=>{var r=n(16038),o=n(27301),a=n(86009),i=a&&a.isSet,s=i?o(i):r;e.exports=s},85015:(e,t,n)=>{var r=n(72552),o=n(56449),a=n(40346);e.exports=function(e){return"string"==typeof e||!o(e)&&a(e)&&"[object String]"==r(e)}},44394:(e,t,n)=>{var r=n(72552),o=n(40346);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},37167:(e,t,n)=>{var r=n(4901),o=n(27301),a=n(86009),i=a&&a.isTypedArray,s=i?o(i):r;e.exports=s},95950:(e,t,n)=>{var r=n(70695),o=n(88984),a=n(64894);e.exports=function(e){return a(e)?r(e):o(e)}},37241:(e,t,n)=>{var r=n(70695),o=n(72903),a=n(64894);e.exports=function(e){return a(e)?r(e,!0):o(e)}},68090:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},73916:(e,t,n)=>{var r=n(43360),o=n(30641),a=n(15389);e.exports=function(e,t){var n={};return t=a(t,3),o(e,(function(e,o,a){r(n,o,t(e,o,a))})),n}},50104:(e,t,n)=>{var r=n(53661);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},55364:(e,t,n)=>{var r=n(85250),o=n(20999)((function(e,t,n){r(e,t,n)}));e.exports=o},6048:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},63950:e=>{e.exports=function(){}},10124:(e,t,n)=>{var r=n(9325);e.exports=function(){return r.Date.now()}},90179:(e,t,n)=>{var r=n(34932),o=n(9999),a=n(19931),i=n(31769),s=n(21791),c=n(53138),u=n(38816),l=n(83349),d=u((function(e,t){var n={};if(null==e)return n;var u=!1;t=r(t,(function(t){return t=i(t,e),u||(u=t.length>1),t})),s(e,l(e),n),u&&(n=o(n,7,c));for(var d=t.length;d--;)a(n,t[d]);return n}));e.exports=d},42194:(e,t,n)=>{var r=n(15389),o=n(6048),a=n(71086);e.exports=function(e,t){return a(e,o(r(t)))}},44383:(e,t,n)=>{var r=n(76001),o=n(38816)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},71086:(e,t,n)=>{var r=n(34932),o=n(15389),a=n(97420),i=n(83349);e.exports=function(e,t){if(null==e)return{};var n=r(i(e),(function(e){return[e]}));return t=o(t),a(e,n,(function(e,n){return t(e,n[0])}))}},50583:(e,t,n)=>{var r=n(47237),o=n(17255),a=n(28586),i=n(77797);e.exports=function(e){return a(e)?r(i(e)):o(e)}},23181:(e,t,n)=>{var r=n(85508)();e.exports=r},40860:(e,t,n)=>{var r=n(40882),o=n(80909),a=n(15389),i=n(85558),s=n(56449);e.exports=function(e,t,n){var c=s(e)?r:i,u=arguments.length<3;return c(e,a(t,4),n,u,o)}},36944:(e,t,n)=>{var r=n(73893)("round");e.exports=r},63560:(e,t,n)=>{var r=n(73170);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},63345:e=>{e.exports=function(){return[]}},89935:e=>{e.exports=function(){return!1}},7350:(e,t,n)=>{var r=n(38221),o=n(23805);e.exports=function(e,t,n){var a=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(a="leading"in n?!!n.leading:a,i="trailing"in n?!!n.trailing:i),r(e,t,{leading:a,maxWait:t,trailing:i})}},17400:e=>{e.exports=function(e){return e}},61489:e=>{e.exports=function(e){return e}},99374:(e,t,n)=>{var r=n(54128),o=n(23805),a=n(44394),i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):i.test(e)?NaN:+e}},69884:(e,t,n)=>{var r=n(21791),o=n(37241);e.exports=function(e){return r(e,o(e))}},13222:e=>{e.exports=function(e){return e}},69752:(e,t,n)=>{var r=n(83729),o=n(39344),a=n(30641),i=n(15389),s=n(28879),c=n(56449),u=n(3656),l=n(1882),d=n(23805),p=n(37167);e.exports=function(e,t,n){var f=c(e),h=f||u(e)||p(e);if(t=i(t,4),null==n){var m=e&&e.constructor;n=h?f?new m:[]:d(e)&&l(m)?o(s(e)):{}}return(h?r:a)(e,(function(e,r,o){return t(n,e,r,o)})),n}},80299:(e,t,n)=>{var r=n(83120),o=n(69302),a=n(55765),i=n(83693),s=o((function(e){return a(r(e,1,i,!0))}));e.exports=s},63375:(e,t,n)=>{var r=n(55765);e.exports=function(e){return e&&e.length?r(e):[]}},73357:(e,t,n)=>{var r=n(19931);e.exports=function(e,t){return null==e||r(e,t)}},48067:(e,t)=>{"use strict";t.YW=function(e,t={}){const{decode:o=decodeURIComponent,loose:a=!0,delimiter:i=n}=t,s=v(e,t),c=p(a,i),u=s.keys.map((e=>{if(o&&("+"===e.modifier||"*"===e.modifier)){const{prefix:t="",suffix:n="",separator:r=n+t}=e,a=new RegExp(c(r),"g");return e=>e.split(a).map(o)}return o||r}));return function(e){const t=s.exec(e);if(!t)return!1;const{0:n,index:r}=t,o=Object.create(null);for(let e=1;e<t.length;e++){if(void 0===t[e])continue;const n=s.keys[e-1],r=u[e-1];o[n.name]=r(t[e])}return{path:n,index:r,params:o}}};const n="/",r=e=>e,o=/^\p{XID_Continue}$/u,a="https://git.new/pathToRegexpError",i={"!":"!","@":"@",";":";",",":",","*":"*","+":"+","?":"?","{":"{","}":"}"};class s{constructor(e){this.tokens=e,this.index=0}peek(){return this.tokens[this.index]}tryConsume(e){const t=this.peek();if(t.type===e)return this.index++,t.value}consume(e){const t=this.tryConsume(e);if(void 0!==t)return t;const{type:n,index:r}=this.peek();throw new TypeError(`Unexpected ${n} at ${r}, expected ${e}: ${a}`)}text(){let e,t="";for(;e=this.tryConsume("CHAR")||this.tryConsume("ESCAPED");)t+=e;return t}modifier(){return this.tryConsume("?")||this.tryConsume("*")||this.tryConsume("+")}}class c{constructor(e,t){this.tokens=e,this.delimiter=t}}function u(e,t={}){const{encodePath:u=r,delimiter:d=u(n)}=t,p=[],f=function(e){const t=[...e],n=[];let r=0;for(;r<t.length;){const e=t[r],a=i[e];if(a)n.push({type:a,index:r++,value:e});else if("\\"!==e)if(":"!==e)if("("!==e)n.push({type:"CHAR",index:r,value:t[r++]});else{const e=r++;let o=1,a="";if("?"===t[r])throw new TypeError(`Pattern cannot start with "?" at ${r}`);for(;r<t.length;)if("\\"!==t[r]){if(")"===t[r]){if(o--,0===o){r++;break}}else if("("===t[r]&&(o++,"?"!==t[r+1]))throw new TypeError(`Capturing groups are not allowed at ${r}`);a+=t[r++]}else a+=t[r++]+t[r++];if(o)throw new TypeError(`Unbalanced pattern at ${e}`);if(!a)throw new TypeError(`Missing pattern at ${e}`);n.push({type:"PATTERN",index:r,value:a})}else{let e="";for(;o.test(t[++r]);)e+=t[r];if(!e)throw new TypeError(`Missing parameter name at ${r}`);n.push({type:"NAME",index:r,value:e})}else n.push({type:"ESCAPED",index:r++,value:t[r++]})}return n.push({type:"END",index:r,value:""}),new s(n)}(e);let h=0;for(;;){const e=f.text();e&&p.push(u(e));const t=f.tryConsume("NAME"),n=f.tryConsume("PATTERN");if(t||n){p.push({name:t||String(h++),pattern:n});const e=f.peek();if("*"===e.type)throw new TypeError(`Unexpected * at ${e.index}, you probably want \`/*\` or \`{/:foo}*\`: ${a}`);continue}if(f.tryConsume("*")){p.push({name:String(h++),pattern:`(?:(?!${l(d)}).)*`,modifier:"*",separator:d});continue}if(!f.tryConsume("{")){f.consume("END");break}{const e=f.text(),t=f.tryConsume("NAME"),n=f.tryConsume("PATTERN"),r=f.text(),o=f.tryConsume(";")&&f.text();f.consume("}");const a=f.modifier();p.push({name:t||(n?String(h++):""),prefix:u(e),suffix:u(r),pattern:n,modifier:a,separator:o})}}return new c(p,d)}function l(e){return e.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}function d(e,t){const n=l(e);return t?`(?:${n})+(?!${n})`:n}function p(e,t){if(!e)return l;const n=new RegExp(`(?:(?!${l(t)}).)+|(.)`,"g");return e=>e.replace(n,d)}function f(e){return e.sensitive?"":"i"}function h(e,t,n,r){const o=e instanceof c?e:u(e,r),{trailing:a=!0,loose:i=!0,start:s=!0,end:d=!0,strict:f=!1}=r,h=p(i,o.delimiter);let g=s?"^":"";return g+=m(o,h,t,n,f).join(""),a&&(g+=`(?:${h(o.delimiter)}$)?`),g+=d?"$":`(?=${l(o.delimiter)}|$)`,g}function m(e,t,n,r,o){const i=`(?:(?!${l(e.delimiter)}).)+?`;let s="",c=!0;return e.tokens.map((e=>{if("string"==typeof e)return s=e,t(e);const{prefix:u="",suffix:l="",separator:d=l+u,modifier:p=""}=e,f=t(u),h=t(l);if(e.name){const m=e.pattern?`(?:${e.pattern})`:i,v=function(e,t,n){try{return new RegExp(`^${e}$`,n)}catch(e){throw new TypeError(`Invalid pattern for "${t}": ${e.message}`)}}(m,e.name,r);if(c||(c=g(v,u||s)),!c)throw new TypeError(`Ambiguous pattern for "${e.name}": ${a}`);if(c=!o||g(v,l),s="",n.push(e),"+"===p||"*"===p){const n="*"===p?"?":"",r=t(d);if(!r)throw new TypeError(`Missing separator for "${e.name}": ${a}`);if(c||(c=!o||g(v,d)),!c)throw new TypeError(`Ambiguous pattern for "${e.name}" separator: ${a}`);return c=!o,`(?:${f}(${m}(?:${r}${m})*)${h})${n}`}return`(?:${f}(${m})${h})${p}`}return`(?:${f}${h})${p}`}))}function g(e,t){return!!t&&!e.test(t)}function v(e,t={}){const n=[],r=f(t);if(Array.isArray(e)){const o=e.map((e=>h(e,n,r,t)));return Object.assign(new RegExp(o.join("|")),{keys:n})}const o=h(e,n,r,t);return Object.assign(new RegExp(o),{keys:n})}},2694:(e,t,n)=>{"use strict";var r=n(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==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:a,resetWarningCache:o};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},86663:(e,t,n)=>{"use strict";const r=n(24280),o=n(30454),a=n(528),i=n(73055),s=Symbol("encodeFragmentIdentifier");function c(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function l(e,t){return t.decode?o(e):e}function d(e){return Array.isArray(e)?e.sort():"object"==typeof e?d(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function f(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function m(e,t){c((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),a="string"==typeof n&&!o&&l(n,e).includes(e.arrayFormatSeparator);n=a?l(n,e):n;const i=o||a?n.split(e.arrayFormatSeparator).map((t=>l(t,e))):null===n?n:l(n,e);r[t]=i};case"bracket-separator":return(t,n,r)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(r[t]=n?l(n,e):n);const a=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>l(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],a):r[t]=a};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;let[e,i]=a(t.decode?o.replace(/\+/g," "):o,"=");i=void 0===i?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?i:l(i,t),n(l(e,t),i,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=h(n[e],t);else r[e]=h(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e}),Object.create(null))}t.extract=f,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";c((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[",o,"]"].join("")]:[...n,[u(t,e),"[",u(o,e),"]=",u(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[]"].join("")]:[...n,[u(t,e),"[]=",u(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),":list="].join("")]:[...n,[u(t,e),":list=",u(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[u(n,e),t,u(o,e)].join("")]:[[r,u(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,u(t,e)]:[...n,[u(t,e),"=",u(r,e)].join("")]}}(t),o={};for(const t of Object.keys(e))n(t)||(o[t]=e[t]);const a=Object.keys(o);return!1!==t.sort&&a.sort(t.sort),a.map((n=>{const o=e[n];return void 0===o?"":null===o?u(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?u(n,t)+"[]":o.reduce(r(n),[]).join("&"):u(n,t)+"="+u(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=a(e,"#");return Object.assign({url:n.split("?")[0]||"",query:m(f(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:l(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=p(e.url).split("?")[0]||"",o=t.extract(e.url),a=t.parse(o,{sort:!1}),i=Object.assign(a,e.query);let c=t.stringify(i,n);c&&(c=`?${c}`);let l=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(l=`#${n[s]?u(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${c}${l}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:o,query:a,fragmentIdentifier:c}=t.parseUrl(e,r);return t.stringifyUrl({url:o,query:i(a,n),fragmentIdentifier:c},r)},t.exclude=(e,n,r)=>{const o=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,o,r)}},29336:(e,t,n)=>{"use strict";var r=n(33567);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==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,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:a,resetWarningCache:o};return n.PropTypes=n,n}},12238:(e,t,n)=>{e.exports=n(29336)()},33567:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},87424:(e,t,n)=>{"use strict";t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=c(n(87695)),a=c(n(59321)),i=c(n(13486)),s=n(36462);function c(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e){return l="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},l(e)}function d(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(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 h(e){return function(){var t,n=g(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=g(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;return m(e)}(this,t)}}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(){return!0},w="suggestions-revealed",x="input-focused",O="input-changed",k="escape-pressed",S=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&&v(e,t)}(u,e);var t,n,o,c=h(u);function u(e){var t,n=e.alwaysRenderSuggestions;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),y(m(t=c.call(this)),"onDocumentMouseDown",(function(e){t.justClickedOnSuggestionsContainer=!1;for(var n=e.detail&&e.detail.target||e.target;null!==n&&n!==document;){if(n.getAttribute&&null!==n.getAttribute("data-suggestion-index"))return;if(n===t.suggestionsContainer)return void(t.justClickedOnSuggestionsContainer=!0);n=n.parentNode}})),y(m(t),"storeAutowhateverRef",(function(e){null!==e&&(t.autowhatever=e)})),y(m(t),"onSuggestionMouseEnter",(function(e,n){var r=n.sectionIndex,o=n.itemIndex;t.updateHighlightedSuggestion(r,o),e.target===t.pressedSuggestion&&(t.justSelectedSuggestion=!0),t.justMouseEntered=!0,setTimeout((function(){t.justMouseEntered=!1}))})),y(m(t),"highlightFirstSuggestion",(function(){t.updateHighlightedSuggestion(t.props.multiSection?0:null,0)})),y(m(t),"onDocumentMouseUp",(function(){t.pressedSuggestion&&!t.justSelectedSuggestion&&t.input.focus(),t.pressedSuggestion=null})),y(m(t),"onSuggestionMouseDown",(function(e){t.justSelectedSuggestion||(t.justSelectedSuggestion=!0,t.pressedSuggestion=e.target)})),y(m(t),"onSuggestionsClearRequested",(function(){var e=t.props.onSuggestionsClearRequested;e&&e()})),y(m(t),"onSuggestionSelected",(function(e,n){var r=t.props,o=r.alwaysRenderSuggestions,a=r.onSuggestionSelected,i=r.onSuggestionsFetchRequested;a&&a(e,n);var s=t.props.shouldKeepSuggestionsOnSelect(n.suggestion);o||s?i({value:n.suggestionValue,reason:"suggestion-selected"}):t.onSuggestionsClearRequested(),t.resetHighlightedSuggestion()})),y(m(t),"onSuggestionClick",(function(e){var n=t.props,r=n.alwaysRenderSuggestions,o=n.focusInputOnSuggestionClick,a=t.getSuggestionIndices(t.findSuggestionElement(e.target)),i=a.sectionIndex,s=a.suggestionIndex,c=t.getSuggestion(i,s),u=t.props.getSuggestionValue(c);t.maybeCallOnChange(e,u,"click"),t.onSuggestionSelected(e,{suggestion:c,suggestionValue:u,suggestionIndex:s,sectionIndex:i,method:"click"});var l=t.props.shouldKeepSuggestionsOnSelect(c);r||l||t.closeSuggestions(),!0===o?t.input.focus():t.onBlur(),setTimeout((function(){t.justSelectedSuggestion=!1}))})),y(m(t),"onBlur",(function(){var e=t.props,n=e.inputProps,r=e.shouldRenderSuggestions,o=n.value,a=n.onBlur,i=t.getHighlightedSuggestion(),s=r(o,"input-blurred");t.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!s}),a&&a(t.blurEvent,{highlightedSuggestion:i})})),y(m(t),"onSuggestionMouseLeave",(function(e){t.resetHighlightedSuggestion(!1),t.justSelectedSuggestion&&e.target===t.pressedSuggestion&&(t.justSelectedSuggestion=!1)})),y(m(t),"onSuggestionTouchStart",(function(){t.justSelectedSuggestion=!0})),y(m(t),"onSuggestionTouchMove",(function(){t.justSelectedSuggestion=!1,t.pressedSuggestion=null,t.input.focus()})),y(m(t),"itemProps",(function(e){return{"data-section-index":e.sectionIndex,"data-suggestion-index":e.itemIndex,onMouseEnter:t.onSuggestionMouseEnter,onMouseLeave:t.onSuggestionMouseLeave,onMouseDown:t.onSuggestionMouseDown,onTouchStart:t.onSuggestionTouchStart,onTouchMove:t.onSuggestionTouchMove,onClick:t.onSuggestionClick}})),y(m(t),"renderSuggestionsContainer",(function(e){var n=e.containerProps,r=e.children;return(0,t.props.renderSuggestionsContainer)({containerProps:n,children:r,query:t.getQuery()})})),t.state={isFocused:!1,isCollapsed:!n,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null},t.justPressedUpDown=!1,t.justMouseEntered=!1,t.pressedSuggestion=null,t}return t=u,n=[{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.onDocumentMouseDown),document.addEventListener("mouseup",this.onDocumentMouseUp),this.input=this.autowhatever.input,this.suggestionsContainer=this.autowhatever.itemsContainer}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=0===this.state.highlightedSuggestionIndex&&this.props.highlightFirstSuggestion&&!e.highlightFirstSuggestion;(0,a.default)(e.suggestions,this.props.suggestions)?e.highlightFirstSuggestion&&e.suggestions.length>0&&!1===this.justPressedUpDown&&!1===this.justMouseEntered?this.highlightFirstSuggestion():t&&this.resetHighlightedSuggestion():this.willRenderSuggestions(e,"suggestions-updated")?(this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions(),t&&this.resetHighlightedSuggestion()):this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.suggestions,o=n.onSuggestionHighlighted,i=n.highlightFirstSuggestion;if(!(0,a.default)(r,e.suggestions)&&r.length>0&&i)this.highlightFirstSuggestion();else if(o){var s=this.getHighlightedSuggestion();s!=t.highlightedSuggestion&&o({suggestion:s})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown),document.removeEventListener("mouseup",this.onDocumentMouseUp)}},{key:"updateHighlightedSuggestion",value:function(e,t,n){var r=this;this.setState((function(o){var a=o.valueBeforeUpDown;return null===t?a=null:null===a&&void 0!==n&&(a=n),{highlightedSectionIndex:e,highlightedSuggestionIndex:t,highlightedSuggestion:null===t?null:r.getSuggestion(e,t),valueBeforeUpDown:a}}))}},{key:"resetHighlightedSuggestion",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setState((function(t){var n=t.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:e?null:n}}))}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(e,t){var n=this.props,r=n.suggestions,o=n.multiSection,a=n.getSectionSuggestions;return o?a(r[e])[t]:r[t]}},{key:"getHighlightedSuggestion",value:function(){var e=this.state,t=e.highlightedSectionIndex,n=e.highlightedSuggestionIndex;return null===n?null:this.getSuggestion(t,n)}},{key:"getSuggestionValueByIndex",value:function(e,t){return(0,this.props.getSuggestionValue)(this.getSuggestion(e,t))}},{key:"getSuggestionIndices",value:function(e){var t=e.getAttribute("data-section-index"),n=e.getAttribute("data-suggestion-index");return{sectionIndex:"string"==typeof t?parseInt(t,10):null,suggestionIndex:parseInt(n,10)}}},{key:"findSuggestionElement",value:function(e){var t=e;do{if(t.getAttribute&&null!==t.getAttribute("data-suggestion-index"))return t;t=t.parentNode}while(null!==t);throw console.error("Clicked element:",e),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(e,t,n){var r=this.props.inputProps,o=r.value,a=r.onChange;t!==o&&a(e,{newValue:t,method:n})}},{key:"willRenderSuggestions",value:function(e,t){var n=e.suggestions,r=e.inputProps,o=e.shouldRenderSuggestions,a=r.value;return n.length>0&&o(a,t)}},{key:"getQuery",value:function(){var e=this.props.inputProps.value,t=this.state.valueBeforeUpDown;return(null===t?e:t).trim()}},{key:"render",value:function(){var e=this,t=this.props,n=t.suggestions,o=t.renderInputComponent,a=t.onSuggestionsFetchRequested,c=t.renderSuggestion,u=t.inputProps,l=t.multiSection,d=t.renderSectionTitle,f=t.id,h=t.getSectionSuggestions,m=t.theme,g=t.getSuggestionValue,v=t.alwaysRenderSuggestions,y=t.highlightFirstSuggestion,S=t.containerProps,E=this.state,P=E.isFocused,j=E.isCollapsed,_=E.highlightedSectionIndex,D=E.highlightedSuggestionIndex,C=E.valueBeforeUpDown,T=v?b:this.props.shouldRenderSuggestions,M=u.value,A=u.onFocus,I=u.onKeyDown,R=this.willRenderSuggestions(this.props,"render"),N=v||P&&!j&&R,L=N?n:[],F=p({},u,{onFocus:function(t){if(!e.justSelectedSuggestion&&!e.justClickedOnSuggestionsContainer){var n=T(M,x);e.setState({isFocused:!0,isCollapsed:!n}),A&&A(t),n&&a({value:M,reason:x})}},onBlur:function(t){e.justClickedOnSuggestionsContainer?e.input.focus():(e.blurEvent=t,e.justSelectedSuggestion||(e.onBlur(),e.onSuggestionsClearRequested()))},onChange:function(t){var n=t.target.value,r=T(n,O);e.maybeCallOnChange(t,n,"type"),e.suggestionsContainer&&(e.suggestionsContainer.scrollTop=0),e.setState(p({},y?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!r})),r?a({value:n,reason:O}):e.onSuggestionsClearRequested()},onKeyDown:function(t,r){var o=t.keyCode;switch(o){case 40:case 38:if(j)T(M,w)&&(a({value:M,reason:w}),e.revealSuggestions(),t.preventDefault());else if(n.length>0){var i,s=r.newHighlightedSectionIndex,c=r.newHighlightedItemIndex;i=null===c?null===C?M:C:e.getSuggestionValueByIndex(s,c),e.updateHighlightedSuggestion(s,c,M),e.maybeCallOnChange(t,i,40===o?"down":"up"),t.preventDefault()}e.justPressedUpDown=!0,setTimeout((function(){e.justPressedUpDown=!1}));break;case 13:if(229===t.keyCode)break;var u=e.getHighlightedSuggestion();if(N&&!v&&e.closeSuggestions(),null!=u){t.preventDefault();var l=g(u);e.maybeCallOnChange(t,l,"enter"),e.onSuggestionSelected(t,{suggestion:u,suggestionValue:l,suggestionIndex:D,sectionIndex:_,method:"enter"}),e.justSelectedSuggestion=!0,setTimeout((function(){e.justSelectedSuggestion=!1}))}break;case 27:N&&t.preventDefault();var d=N&&!v;null===C?d||(e.maybeCallOnChange(t,"","escape"),T("",k)?a({value:"",reason:k}):e.onSuggestionsClearRequested()):e.maybeCallOnChange(t,C,"escape"),d?(e.onSuggestionsClearRequested(),e.closeSuggestions()):e.resetHighlightedSuggestion()}I&&I(t)}}),H={query:this.getQuery()};return r.default.createElement(i.default,{multiSection:l,items:L,renderInputComponent:o,renderItemsContainer:this.renderSuggestionsContainer,renderItem:c,renderItemData:H,renderSectionTitle:d,getSectionItems:h,highlightedSectionIndex:_,highlightedItemIndex:D,containerProps:S,inputProps:F,itemProps:this.itemProps,theme:(0,s.mapToAutowhateverTheme)(m),id:f,ref:this.storeAutowhateverRef})}}],n&&f(t.prototype,n),o&&f(t,o),u}(r.Component);t.default=S,y(S,"propTypes",{suggestions:o.default.array.isRequired,onSuggestionsFetchRequested:function(e,t){var n=e[t];if("function"!=typeof n)throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(e,t){var n=e[t];if(!1===e.alwaysRenderSuggestions&&"function"!=typeof n)throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp")},shouldKeepSuggestionsOnSelect:o.default.func,onSuggestionSelected:o.default.func,onSuggestionHighlighted:o.default.func,renderInputComponent:o.default.func,renderSuggestionsContainer:o.default.func,getSuggestionValue:o.default.func.isRequired,renderSuggestion:o.default.func.isRequired,inputProps:function(e,t){var n=e[t];if(!n)throw new Error("'inputProps' must be passed.");if(!Object.prototype.hasOwnProperty.call(n,"value"))throw new Error("'inputProps' must have 'value'.");if(!Object.prototype.hasOwnProperty.call(n,"onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:o.default.func,alwaysRenderSuggestions:o.default.bool,multiSection:o.default.bool,renderSectionTitle:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!=typeof n)throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!=typeof n)throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp")},focusInputOnSuggestionClick:o.default.bool,highlightFirstSuggestion:o.default.bool,theme:o.default.object,id:o.default.string,containerProps:o.default.object}),y(S,"defaultProps",{renderSuggestionsContainer:function(e){var t=e.containerProps,n=e.children;return r.default.createElement("div",t,n)},shouldRenderSuggestions:function(e){return e.trim().length>0},alwaysRenderSuggestions:!1,multiSection:!1,shouldKeepSuggestionsOnSelect:function(){return!1},focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:s.defaultTheme,id:"1",containerProps:{}})},13486:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==m(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=u(n(87695)),a=u(n(61578)),i=u(n(54525)),s=u(n(42444)),c=u(n(97932));function u(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function d(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(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 h(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 m(e){return m="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},m(e)}function g(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 v(e){return function(){var t,n=b(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=b(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===m(t)||"function"==typeof t))return t;return y(e)}(this,t)}}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O={},k=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&&w(e,t)}(l,e);var t,n,o,u=v(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),x(y(t=u.call(this,e)),"storeInputReference",(function(e){null!==e&&(t.input=e);var n=t.props.inputProps.ref;n&&("function"==typeof n?n(e):"object"===m(n)&&Object.prototype.hasOwnProperty.call(n,"current")&&(n.current=e))})),x(y(t),"storeItemsContainerReference",(function(e){null!==e&&(t.itemsContainer=e)})),x(y(t),"onHighlightedItemChange",(function(e){t.highlightedItem=e})),x(y(t),"getItemId",(function(e,n){if(null===n)return null;var r=t.props.id,o=null===e?"":"section-".concat(e);return"react-autowhatever-".concat(r,"-").concat(o,"-item-").concat(n)})),x(y(t),"onFocus",(function(e){var n=t.props.inputProps;t.setState({isInputFocused:!0}),n.onFocus&&n.onFocus(e)})),x(y(t),"onBlur",(function(e){var n=t.props.inputProps;t.setState({isInputFocused:!1}),n.onBlur&&n.onBlur(e)})),x(y(t),"onKeyDown",(function(e){var n=t.props,r=n.inputProps,o=n.highlightedSectionIndex,a=n.highlightedItemIndex,i=e.keyCode;switch(i){case 40:case 38:var s=40===i?"next":"prev",c=f(t.sectionIterator[s]([o,a]),2),u=c[0],l=c[1];r.onKeyDown(e,{newHighlightedSectionIndex:u,newHighlightedItemIndex:l});break;default:r.onKeyDown(e,{highlightedSectionIndex:o,highlightedItemIndex:a})}})),t.highlightedItem=null,t.state={isInputFocused:!1},t.setSectionsItems(e),t.setSectionIterator(e),t.setTheme(e),t}return t=l,(n=[{key:"componentDidMount",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.items!==this.props.items&&this.setSectionsItems(e),e.items===this.props.items&&e.multiSection===this.props.multiSection||this.setSectionIterator(e),e.theme!==this.props.theme&&this.setTheme(e)}},{key:"componentDidUpdate",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"setSectionsItems",value:function(e){e.multiSection&&(this.sectionsItems=e.items.map((function(t){return e.getSectionItems(t)})),this.sectionsLengths=this.sectionsItems.map((function(e){return e.length})),this.allSectionsAreEmpty=this.sectionsLengths.every((function(e){return 0===e})))}},{key:"setSectionIterator",value:function(e){this.sectionIterator=(0,a.default)({multiSection:e.multiSection,data:e.multiSection?this.sectionsLengths:e.items.length})}},{key:"setTheme",value:function(e){this.theme=(0,i.default)(e.theme)}},{key:"renderSections",value:function(){var e=this;if(this.allSectionsAreEmpty)return null;var t=this.theme,n=this.props,o=n.id,a=n.items,i=n.renderItem,u=n.renderItemData,l=n.renderSectionTitle,d=n.highlightedSectionIndex,p=n.highlightedItemIndex,f=n.itemProps;return a.map((function(n,a){var h="react-autowhatever-".concat(o,"-"),m="".concat(h,"section-").concat(a,"-"),g=0===a;return r.default.createElement("div",t("".concat(m,"container"),"sectionContainer",g&&"sectionContainerFirst"),r.default.createElement(s.default,{section:n,renderSectionTitle:l,theme:t,sectionKeyPrefix:m}),r.default.createElement(c.default,{items:e.sectionsItems[a],itemProps:f,renderItem:i,renderItemData:u,sectionIndex:a,highlightedItemIndex:d===a?p:null,onHighlightedItemChange:e.onHighlightedItemChange,getItemId:e.getItemId,theme:t,keyPrefix:h,ref:e.storeItemsListReference}))}))}},{key:"renderItems",value:function(){var e=this.props.items;if(0===e.length)return null;var t=this.theme,n=this.props,o=n.id,a=n.renderItem,i=n.renderItemData,s=n.highlightedSectionIndex,u=n.highlightedItemIndex,l=n.itemProps;return r.default.createElement(c.default,{items:e,itemProps:l,renderItem:a,renderItemData:i,highlightedItemIndex:null===s?u:null,onHighlightedItemChange:this.onHighlightedItemChange,getItemId:this.getItemId,theme:t,keyPrefix:"react-autowhatever-".concat(o,"-")})}},{key:"ensureHighlightedItemIsVisible",value:function(){var e=this.highlightedItem;if(e){var t=this.itemsContainer,n=e.offsetParent===t?e.offsetTop:e.offsetTop-t.offsetTop,r=t.scrollTop;n<r?r=n:n+e.offsetHeight>r+t.offsetHeight&&(r=n+e.offsetHeight-t.offsetHeight),r!==t.scrollTop&&(t.scrollTop=r)}}},{key:"render",value:function(){var e=this.theme,t=this.props,n=t.id,o=t.multiSection,a=t.renderInputComponent,i=t.renderItemsContainer,s=t.highlightedSectionIndex,c=t.highlightedItemIndex,u=this.state.isInputFocused,l=o?this.renderSections():this.renderItems(),d=null!==l,f=this.getItemId(s,c),h="react-autowhatever-".concat(n),m=p({role:"combobox","aria-haspopup":"listbox","aria-owns":h,"aria-expanded":d},e("react-autowhatever-".concat(n,"-container"),"container",d&&"containerOpen"),{},this.props.containerProps),g=a(p({type:"text",value:"",autoComplete:"off","aria-autocomplete":"list","aria-controls":h,"aria-activedescendant":f},e("react-autowhatever-".concat(n,"-input"),"input",d&&"inputOpen",u&&"inputFocused"),{},this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),v=i({containerProps:p({id:h,role:"listbox"},e("react-autowhatever-".concat(n,"-items-container"),"itemsContainer",d&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:l});return r.default.createElement("div",m,g,v)}}])&&g(t.prototype,n),o&&g(t,o),l}(r.Component);t.default=k,x(k,"propTypes",{id:o.default.string,multiSection:o.default.bool,renderInputComponent:o.default.func,renderItemsContainer:o.default.func,items:o.default.array.isRequired,renderItem:o.default.func,renderItemData:o.default.object,renderSectionTitle:o.default.func,getSectionItems:o.default.func,containerProps:o.default.object,inputProps:o.default.object,itemProps:o.default.oneOfType([o.default.object,o.default.func]),highlightedSectionIndex:o.default.number,highlightedItemIndex:o.default.number,theme:o.default.oneOfType([o.default.object,o.default.array])}),x(k,"defaultProps",{id:"1",multiSection:!1,renderInputComponent:function(e){return r.default.createElement("input",e)},renderItemsContainer:function(e){var t=e.containerProps,n=e.children;return r.default.createElement("div",t,n)},renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:O,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},containerProps:O,inputProps:O,itemProps:O,highlightedSectionIndex:null,highlightedItemIndex:null,theme:{container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"}})},21572:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=i(n(87695)),a=i(n(81438));function i(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(e){return c="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},c(e)}function u(){return u=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},u.apply(this,arguments)}function l(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 d(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function p(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 f(e){return function(){var t,n=m(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=m(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return h(e)}(this,t)}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=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&&g(e,t)}(s,e);var t,n,o,i=f(s);function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(h(e=i.call.apply(i,[this].concat(n))),"storeItemReference",(function(t){null!==t&&(e.item=t)})),v(h(e),"onMouseEnter",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseEnter(t,{sectionIndex:r,itemIndex:o})})),v(h(e),"onMouseLeave",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseLeave(t,{sectionIndex:r,itemIndex:o})})),v(h(e),"onMouseDown",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseDown(t,{sectionIndex:r,itemIndex:o})})),v(h(e),"onClick",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onClick(t,{sectionIndex:r,itemIndex:o})})),e}return t=s,n=[{key:"shouldComponentUpdate",value:function(e){return(0,a.default)(e,this.props,["renderItemData"])}},{key:"render",value:function(){var e=this.props,t=e.isHighlighted,n=e.item,o=e.renderItem,a=e.renderItemData,i=d(e,["isHighlighted","item","renderItem","renderItemData"]);return delete i.sectionIndex,delete i.itemIndex,"function"==typeof i.onMouseEnter&&(i.onMouseEnter=this.onMouseEnter),"function"==typeof i.onMouseLeave&&(i.onMouseLeave=this.onMouseLeave),"function"==typeof i.onMouseDown&&(i.onMouseDown=this.onMouseDown),"function"==typeof i.onClick&&(i.onClick=this.onClick),r.default.createElement("li",u({role:"option"},i,{ref:this.storeItemReference}),o(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({isHighlighted:t},a)))}}],n&&p(t.prototype,n),o&&p(t,o),s}(r.Component);t.default=y,v(y,"propTypes",{sectionIndex:o.default.number,isHighlighted:o.default.bool.isRequired,itemIndex:o.default.number.isRequired,item:o.default.any.isRequired,renderItem:o.default.func.isRequired,renderItemData:o.default.object.isRequired,onMouseEnter:o.default.func,onMouseLeave:o.default.func,onMouseDown:o.default.func,onClick:o.default.func})},97932:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=s(n(87695)),a=s(n(21572)),i=s(n(81438));function s(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function u(e){return u="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},u(e)}function l(){return l=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},l.apply(this,arguments)}function d(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 p(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 f(e){return function(){var t,n=m(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=m(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;return h(e)}(this,t)}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=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&&g(e,t)}(c,e);var t,n,o,s=f(c);function c(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(h(e=s.call.apply(s,[this].concat(n))),"storeHighlightedItemReference",(function(t){e.props.onHighlightedItemChange(null===t?null:t.item)})),e}return t=c,n=[{key:"shouldComponentUpdate",value:function(e){return(0,i.default)(e,this.props,["itemProps"])}},{key:"render",value:function(){var e=this,t=this.props,n=t.items,o=t.itemProps,i=t.renderItem,s=t.renderItemData,c=t.sectionIndex,u=t.highlightedItemIndex,p=t.getItemId,f=t.theme,h=t.keyPrefix,m=null===c?h:"".concat(h,"section-").concat(c,"-"),g="function"==typeof o;return r.default.createElement("ul",l({role:"listbox"},f("".concat(m,"items-list"),"itemsList")),n.map((function(t,n){var h=0===n,y=n===u,b="".concat(m,"item-").concat(n),w=g?o({sectionIndex:c,itemIndex:n}):o,x=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:p(c,n),"aria-selected":y},f(b,"item",h&&"itemFirst",y&&"itemHighlighted"),{},w);return y&&(x.ref=e.storeHighlightedItemReference),r.default.createElement(a.default,l({},x,{sectionIndex:c,isHighlighted:y,itemIndex:n,item:t,renderItem:i,renderItemData:s}))})))}}],n&&p(t.prototype,n),o&&p(t,o),c}(r.Component);t.default=y,v(y,"propTypes",{items:o.default.array.isRequired,itemProps:o.default.oneOfType([o.default.object,o.default.func]),renderItem:o.default.func.isRequired,renderItemData:o.default.object.isRequired,sectionIndex:o.default.number,highlightedItemIndex:o.default.number,onHighlightedItemChange:o.default.func.isRequired,getItemId:o.default.func.isRequired,theme:o.default.func.isRequired,keyPrefix:o.default.string.isRequired}),v(y,"defaultProps",{sectionIndex:null})},42444:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=i(n(87695)),a=i(n(81438));function i(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(e){return c="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},c(e)}function u(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 l(e){return function(){var t,n=d(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=d(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,t)}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}var f,h,m,g=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&&p(e,t)}(s,e);var t,n,o,i=l(s);function s(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),i.apply(this,arguments)}return t=s,(n=[{key:"shouldComponentUpdate",value:function(e){return(0,a.default)(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.section,n=e.renderSectionTitle,o=e.theme,a=e.sectionKeyPrefix,i=n(t);return i?r.default.createElement("div",o("".concat(a,"title"),"sectionTitle"),i):null}}])&&u(t.prototype,n),o&&u(t,o),s}(r.Component);t.default=g,f=g,h="propTypes",m={section:o.default.any.isRequired,renderSectionTitle:o.default.func.isRequired,theme:o.default.func.isRequired,sectionKeyPrefix:o.default.string.isRequired},h in f?Object.defineProperty(f,h,{value:m,enumerable:!0,configurable:!0,writable:!0}):f[h]=m},81438:(e,t)=>{"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(e===t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!0;var i,s,c={};for(i=0,s=r.length;i<s;i++)c[r[i]]=!0;for(i=0,s=o.length;i<s;i++){var u=o[i],l=e[u],d=t[u];if(l!==d){if(!c[u]||null===l||null===d||"object"!==n(l)||"object"!==n(d))return!0;var p=Object.keys(l),f=Object.keys(d);if(p.length!==f.length)return!0;for(var h=0,m=p.length;h<m;h++){var g=p[h];if(l[g]!==d[g])return!0}}}return!1}},62243:(e,t,n)=>{"use strict";e.exports=n(87424).default},36462:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapToAutowhateverTheme=t.defaultTheme=void 0;t.defaultTheme={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"};t.mapToAutowhateverTheme=function(e){var t={};for(var n in e)switch(n){case"suggestionsContainer":t.itemsContainer=e[n];break;case"suggestionsContainerOpen":t.itemsContainerOpen=e[n];break;case"suggestion":t.item=e[n];break;case"suggestionFirst":t.itemFirst=e[n];break;case"suggestionHighlighted":t.itemHighlighted=e[n];break;case"suggestionsList":t.itemsList=e[n];break;default:t[n]=e[n]}return t}},915:(e,t,n)=>{"use strict";var r=n(96372);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==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,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:a,resetWarningCache:o};return n.PropTypes=n,n}},87695:(e,t,n)=>{e.exports=n(915)()},96372:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},59386:function(e,t,n){
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("ReactDOM"),require("React")):"function"==typeof define&&define.amd?define(["ReactDOM","React"],t):"object"==typeof exports?exports["tocco-login"]=t(require("ReactDOM"),require("React")):e["tocco-login"]=t(e.ReactDOM,e.React)}(this,((e,t)=>(()=>{var n,r,o,a,i={23490:e=>{e.exports=function(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}},24394:e=>{e.exports=function(e){if(Array.isArray(e))return e}},96374:(e,t,n)=>{var r=n(23490);e.exports=function(e){if(Array.isArray(e))return r(e)}},41972:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},79092:e=>{function t(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var n=this,r=arguments;return new Promise((function(o,a){var i=e.apply(n,r);function s(e){t(i,o,a,s,c,"next",e)}function c(e){t(i,o,a,s,c,"throw",e)}s(void 0)}))}}},82274:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},65044:e=>{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)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}},26396:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},16193:e=>{function t(){return e.exports=t=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},t.apply(this,arguments)}e.exports=t},18337:e=>{function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},t(n)}e.exports=t},56994:(e,t,n)=>{var r=n(67197);e.exports=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&&r(e,t)}},11572:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},4453:e=>{e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}}},66923:e=>{e.exports=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.")}},33694:e=>{e.exports=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.")}},72637:e=>{e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}},39892:(e,t,n)=>{var r=n(83712);e.exports=function(e,t){if(null==e)return{};var n,o,a=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},83712:e=>{e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},65611:(e,t,n)=>{var r=n(85735),o=n(41972);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},67197:e=>{function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(n,r)}e.exports=t},22056:(e,t,n)=>{var r=n(24394),o=n(4453),a=n(45051),i=n(66923);e.exports=function(e,t){return r(e)||o(e,t)||a(e,t)||i()}},72189:e=>{e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},21259:(e,t,n)=>{var r=n(96374),o=n(11572),a=n(45051),i=n(33694);e.exports=function(e){return r(e)||o(e)||a(e)||i()}},85735:e=>{function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(n)}e.exports=t},45051:(e,t,n)=>{var r=n(23490);e.exports=function(e,t){if(e){if("string"==typeof e)return r(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)?r(e,t):void 0}}},92207:(e,t,n)=>{e.exports=n(7452)},66828:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Composite:()=>z,CompositeItem:()=>V,FloatingArrow:()=>Q,FloatingDelayGroup:()=>fe,FloatingFocusManager:()=>Ke,FloatingList:()=>L,FloatingNode:()=>re,FloatingOverlay:()=>Ze,FloatingPortal:()=>We,FloatingTree:()=>oe,arrow:()=>h.UE,autoPlacement:()=>h.RK,autoUpdate:()=>m.ll,computePosition:()=>m.rD,detectOverflow:()=>m.__,flip:()=>h.UU,getOverflowAncestors:()=>f.v9,hide:()=>h.jD,inline:()=>h.mG,inner:()=>_t,limitShift:()=>h.ER,offset:()=>h.cY,platform:()=>m.iD,safePolygon:()=>Tt,shift:()=>h.BN,size:()=>h.Ej,useClick:()=>tt,useClientPoint:()=>rt,useDelayGroup:()=>he,useDelayGroupContext:()=>pe,useDismiss:()=>st,useFloating:()=>ut,useFloatingNodeId:()=>ne,useFloatingParentNodeId:()=>ee,useFloatingPortalNode:()=>He,useFloatingRootContext:()=>ct,useFloatingTree:()=>te,useFocus:()=>lt,useHover:()=>ue,useId:()=>K,useInnerOffset:()=>Dt,useInteractions:()=>ht,useListItem:()=>F,useListNavigation:()=>bt,useMergeRefs:()=>g,useRole:()=>xt,useTransitionStatus:()=>St,useTransitionStyles:()=>Et,useTypeahead:()=>Pt});var r=n(4883),o=n(66984);const a=Math.min,i=Math.max,s=Math.round,c=Math.floor;var u=n(74848),l=n(86635),d=n(49054),p=n(81845),f=n(88963),h=n(34743),m=n(18491);function g(e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}),e)}const v={...r},y=v.useInsertionEffect||(e=>e());function b(e){const t=r.useRef((()=>{0}));return y((()=>{t.current=e})),r.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}const w="ArrowUp",x="ArrowDown",O="ArrowLeft",k="ArrowRight";function S(e,t,n){return Math.floor(e/t)!==n}function E(e,t){return t<0||t>=e.current.length}function P(e,t){return _(e,{disabledIndices:t})}function j(e,t){return _(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function _(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:o,amount:a=1}=void 0===t?{}:t;const i=e.current;let s=n;do{s+=r?-a:a}while(s>=0&&s<=i.length-1&&A(i,s,o));return s}function D(e,t){let{event:n,orientation:r,loop:a,rtl:i,cols:s,disabledIndices:u,minIndex:l,maxIndex:d,prevIndex:p,stopEvent:f=!1}=t,h=p;if(n.key===w){if(f&&(0,o.jo)(n),-1===p)h=d;else if(h=_(e,{startingIndex:h,amount:s,decrement:!0,disabledIndices:u}),a&&(p-s<l||h<0)){const e=p%s,t=d%s,n=d-(t-e);h=t===e?d:t>e?n:n-s}E(e,h)&&(h=p)}if(n.key===x&&(f&&(0,o.jo)(n),-1===p?h=l:(h=_(e,{startingIndex:p,amount:s,disabledIndices:u}),a&&p+s>d&&(h=_(e,{startingIndex:p%s-s,amount:s,disabledIndices:u}))),E(e,h)&&(h=p)),"both"===r){const t=c(p/s);n.key===(i?O:k)&&(f&&(0,o.jo)(n),p%s!=s-1?(h=_(e,{startingIndex:p,disabledIndices:u}),a&&S(h,s,t)&&(h=_(e,{startingIndex:p-p%s-1,disabledIndices:u}))):a&&(h=_(e,{startingIndex:p-p%s-1,disabledIndices:u})),S(h,s,t)&&(h=p)),n.key===(i?k:O)&&(f&&(0,o.jo)(n),p%s!=0?(h=_(e,{startingIndex:p,decrement:!0,disabledIndices:u}),a&&S(h,s,t)&&(h=_(e,{startingIndex:p+(s-p%s),decrement:!0,disabledIndices:u}))):a&&(h=_(e,{startingIndex:p+(s-p%s),decrement:!0,disabledIndices:u})),S(h,s,t)&&(h=p));const r=c(d/s)===t;E(e,h)&&(h=a&&r?n.key===(i?k:O)?d:_(e,{startingIndex:p-p%s-1,disabledIndices:u}):p)}return h}function C(e,t,n){const r=[];let o=0;return e.forEach(((e,a)=>{let{width:i,height:s}=e,c=!1;for(n&&(o=0);!c;){const e=[];for(let n=0;n<i;n++)for(let r=0;r<s;r++)e.push(o+n+r*t);o%t+i<=t&&e.every((e=>null==r[e]))?(e.forEach((e=>{r[e]=a})),c=!0):o++}})),[...r]}function T(e,t,n,r,o){if(-1===e)return-1;const a=n.indexOf(e),i=t[e];switch(o){case"tl":return a;case"tr":return i?a+i.width-1:a;case"bl":return i?a+(i.height-1)*r:a;case"br":return n.lastIndexOf(e)}}function M(e,t){return t.flatMap(((t,n)=>e.includes(t)?[n]:[]))}function A(e,t,n){if(n)return n.includes(t);const r=e[t];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}var I="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function R(e,t){const n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}const N=r.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function L(e){const{children:t,elementsRef:n,labelsRef:o}=e,[a,i]=r.useState((()=>new Map)),s=r.useCallback((e=>{i((t=>new Map(t).set(e,null)))}),[]),c=r.useCallback((e=>{i((t=>{const n=new Map(t);return n.delete(e),n}))}),[]);return I((()=>{const e=new Map(a);Array.from(e.keys()).sort(R).forEach(((t,n)=>{e.set(t,n)})),function(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e.entries())if(r!==t.get(n))return!1;return!0}(a,e)||i(e)}),[a]),(0,u.jsx)(N.Provider,{value:r.useMemo((()=>({register:s,unregister:c,map:a,elementsRef:n,labelsRef:o})),[s,c,a,n,o]),children:t})}function F(e){void 0===e&&(e={});const{label:t}=e,{register:n,unregister:o,map:a,elementsRef:i,labelsRef:s}=r.useContext(N),[c,u]=r.useState(null),l=r.useRef(null),d=r.useCallback((e=>{if(l.current=e,null!==c&&(i.current[c]=e,s)){var n;const r=void 0!==t;s.current[c]=r?t:null!=(n=null==e?void 0:e.textContent)?n:null}}),[c,i,s,t]);return I((()=>{const e=l.current;if(e)return n(e),()=>{o(e)}}),[n,o]),I((()=>{const e=l.current?a.get(l.current):null;null!=e&&u(e)}),[a]),r.useMemo((()=>({ref:d,index:null==c?-1:c})),[c,d])}function H(e,t){return"function"==typeof e?e(t):e?r.cloneElement(e,t):(0,u.jsx)("div",{...t})}const W=r.createContext({activeIndex:0,onNavigate:()=>{}}),B=[O,k],U=[w,x],Y=[...B,...U],z=r.forwardRef((function(e,t){const{render:n,orientation:o="both",loop:a=!0,rtl:i=!1,cols:s=1,disabledIndices:c,activeIndex:l,onNavigate:d,itemSizes:p,dense:f=!1,...h}=e,[m,g]=r.useState(0),v=null!=l?l:m,y=b(null!=d?d:g),S=r.useRef([]),I=n&&"function"!=typeof n?n.props:{},R=r.useMemo((()=>({activeIndex:v,onNavigate:y})),[v,y]),N=s>1;const F={...h,...I,ref:t,"aria-orientation":"both"===o?void 0:o,onKeyDown(e){null==h.onKeyDown||h.onKeyDown(e),null==I.onKeyDown||I.onKeyDown(e),function(e){if(!Y.includes(e.key))return;let t=v;const n=P(S,c),r=j(S,c),u=i?O:k,l=i?k:O;if(N){const l=p||Array.from({length:S.current.length},(()=>({width:1,height:1}))),d=C(l,s,f),h=d.findIndex((e=>null!=e&&!A(S.current,e,c))),m=d.reduce(((e,t,n)=>null==t||A(S.current,t,c)?e:n),-1),g=d[D({current:d.map((e=>e?S.current[e]:null))},{event:e,orientation:o,loop:a,rtl:i,cols:s,disabledIndices:M([...c||S.current.map(((e,t)=>A(S.current,t)?t:void 0)),void 0],d),minIndex:h,maxIndex:m,prevIndex:T(v>r?n:v,l,d,s,e.key===x?"bl":e.key===u?"tr":"tl")})];null!=g&&(t=g)}const d={horizontal:[u],vertical:[x],both:[u,x]}[o],h={horizontal:[l],vertical:[w],both:[l,w]}[o],m=N?Y:{horizontal:B,vertical:U,both:Y}[o];var g;t===v&&[...d,...h].includes(e.key)&&(t=a&&t===r&&d.includes(e.key)?n:a&&t===n&&h.includes(e.key)?r:_(S,{startingIndex:t,decrement:h.includes(e.key),disabledIndices:c})),t===v||E(S,t)||(e.stopPropagation(),m.includes(e.key)&&e.preventDefault(),y(t),null==(g=S.current[t])||g.focus())}(e)}};return(0,u.jsx)(W.Provider,{value:R,children:(0,u.jsx)(L,{elementsRef:S,children:H(n,F)})})})),V=r.forwardRef((function(e,t){const{render:n,...o}=e,a=n&&"function"!=typeof n?n.props:{},{activeIndex:i,onNavigate:s}=r.useContext(W),{ref:c,index:u}=F(),l=g([c,t,a.ref]),d=i===u;return H(n,{...o,...a,ref:l,tabIndex:d?0:-1,"data-active":d?"":void 0,onFocus(e){null==o.onFocus||o.onFocus(e),null==a.onFocus||a.onFocus(e),s(u)}})}));let q=!1,$=0;const G=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+$++;const K=v.useId||function(){const[e,t]=r.useState((()=>q?G():void 0));return I((()=>{null==e&&t(G())}),[]),r.useEffect((()=>{q=!0}),[]),e};const Q=r.forwardRef((function(e,t){const{context:{placement:n,elements:{floating:o},middlewareData:{arrow:a,shift:i}},width:s=14,height:c=7,tipRadius:d=0,strokeWidth:p=0,staticOffset:f,stroke:h,d:m,style:{transform:g,...v}={},...y}=e;const b=K(),[w,x]=r.useState(!1);if(I((()=>{if(!o)return;"rtl"===(0,l.L9)(o).direction&&x(!0)}),[o]),!o)return null;const[O,k]=n.split("-"),S="top"===O||"bottom"===O;let E=f;(S&&null!=i&&i.x||!S&&null!=i&&i.y)&&(E=null);const P=2*p,j=P/2,_=s/2*(d/-8+1),D=c/2*d/4,C=!!m,T=E&&"end"===k?"bottom":"top";let M=E&&"end"===k?"right":"left";E&&w&&(M="end"===k?"left":"right");const A=null!=(null==a?void 0:a.x)?E||a.x:"",R=null!=(null==a?void 0:a.y)?E||a.y:"",N=m||"M0,0 H"+s+" L"+(s-_)+","+(c-D)+" Q"+s/2+","+c+" "+_+","+(c-D)+" Z",L={top:C?"rotate(180deg)":"",left:C?"rotate(90deg)":"rotate(-90deg)",bottom:C?"":"rotate(180deg)",right:C?"rotate(-90deg)":"rotate(90deg)"}[O];return(0,u.jsxs)("svg",{...y,"aria-hidden":!0,ref:t,width:C?s:s+P,height:s,viewBox:"0 0 "+s+" "+(c>s?c:s),style:{position:"absolute",pointerEvents:"none",[M]:A,[T]:R,[O]:S||C?"100%":"calc(100% - "+P/2+"px)",transform:[L,g].filter((e=>!!e)).join(" "),...v},children:[P>0&&(0,u.jsx)("path",{clipPath:"url(#"+b+")",fill:"none",stroke:h,strokeWidth:P+(m?0:1),d:N}),(0,u.jsx)("path",{stroke:P&&!m?y.fill:"none",d:N}),(0,u.jsx)("clipPath",{id:b,children:(0,u.jsx)("rect",{x:-j,y:j*(C?-1:1),width:s+P,height:s})})]})}));function X(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}const Z=r.createContext(null),J=r.createContext(null),ee=()=>{var e;return(null==(e=r.useContext(Z))?void 0:e.id)||null},te=()=>r.useContext(J);function ne(e){const t=K(),n=te(),r=ee(),o=e||r;return I((()=>{if(!t)return;const e={id:t,parentId:o};return null==n||n.addNode(e),()=>{null==n||n.removeNode(e)}}),[n,t,o]),t}function re(e){const{children:t,id:n}=e,o=ee();return(0,u.jsx)(Z.Provider,{value:r.useMemo((()=>({id:n,parentId:o})),[n,o]),children:t})}function oe(e){const{children:t}=e,n=r.useRef([]),o=r.useCallback((e=>{n.current=[...n.current,e]}),[]),a=r.useCallback((e=>{n.current=n.current.filter((t=>t!==e))}),[]),i=r.useState((()=>X()))[0];return(0,u.jsx)(J.Provider,{value:r.useMemo((()=>({nodesRef:n,addNode:o,removeNode:a,events:i})),[o,a,i]),children:t})}function ae(e){return"data-floating-ui-"+e}function ie(e){const t=(0,r.useRef)(e);return I((()=>{t.current=e})),t}const se=ae("safe-polygon");function ce(e,t,n){return n&&!(0,o.Go)(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function ue(e,t){void 0===t&&(t={});const{open:n,onOpenChange:a,dataRef:i,events:s,elements:c}=e,{enabled:u=!0,delay:d=0,handleClose:p=null,mouseOnly:f=!1,restMs:h=0,move:m=!0}=t,g=te(),v=ee(),y=ie(p),w=ie(d),x=ie(n),O=r.useRef(),k=r.useRef(-1),S=r.useRef(),E=r.useRef(-1),P=r.useRef(!0),j=r.useRef(!1),_=r.useRef((()=>{})),D=r.useRef(!1),C=r.useCallback((()=>{var e;const t=null==(e=i.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[i]);r.useEffect((()=>{if(u)return s.on("openchange",e),()=>{s.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(k.current),clearTimeout(E.current),P.current=!0,D.current=!1)}}),[u,s]),r.useEffect((()=>{if(!u)return;if(!y.current)return;if(!n)return;function e(e){C()&&a(!1,e,"hover")}const t=(0,o.YE)(c.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[c.floating,n,a,u,y,C]);const T=r.useCallback((function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const r=ce(w.current,"close",O.current);r&&!S.current?(clearTimeout(k.current),k.current=window.setTimeout((()=>a(!1,e,n)),r)):t&&(clearTimeout(k.current),a(!1,e,n))}),[w,a]),M=b((()=>{_.current(),S.current=void 0})),A=b((()=>{if(j.current){const e=(0,o.YE)(c.floating).body;e.style.pointerEvents="",e.removeAttribute(se),j.current=!1}})),R=b((()=>!!i.current.openEvent&&["click","mousedown"].includes(i.current.openEvent.type)));r.useEffect((()=>{if(u&&(0,l.vq)(c.domReference)){var e;const o=c.domReference;return n&&o.addEventListener("mouseleave",s),null==(e=c.floating)||e.addEventListener("mouseleave",s),m&&o.addEventListener("mousemove",t,{once:!0}),o.addEventListener("mouseenter",t),o.addEventListener("mouseleave",r),()=>{var e;n&&o.removeEventListener("mouseleave",s),null==(e=c.floating)||e.removeEventListener("mouseleave",s),m&&o.removeEventListener("mousemove",t),o.removeEventListener("mouseenter",t),o.removeEventListener("mouseleave",r)}}function t(e){if(clearTimeout(k.current),P.current=!1,f&&!(0,o.Go)(O.current)||h>0&&!ce(w.current,"open"))return;const t=ce(w.current,"open",O.current);t?k.current=window.setTimeout((()=>{x.current||a(!0,e,"hover")}),t):n||a(!0,e,"hover")}function r(e){if(R())return;_.current();const t=(0,o.YE)(c.floating);if(clearTimeout(E.current),D.current=!1,y.current&&i.current.floatingContext){n||clearTimeout(k.current),S.current=y.current({...i.current.floatingContext,tree:g,x:e.clientX,y:e.clientY,onClose(){A(),M(),R()||T(e,!0,"safe-polygon")}});const r=S.current;return t.addEventListener("mousemove",r),void(_.current=()=>{t.removeEventListener("mousemove",r)})}("touch"!==O.current||!(0,o.gR)(c.floating,e.relatedTarget))&&T(e)}function s(e){R()||i.current.floatingContext&&(null==y.current||y.current({...i.current.floatingContext,tree:g,x:e.clientX,y:e.clientY,onClose(){A(),M(),R()||T(e)}})(e))}}),[c,u,e,f,h,m,T,M,A,a,n,x,g,w,y,i,R]),I((()=>{var e;if(u&&n&&null!=(e=y.current)&&e.__options.blockPointerEvents&&C()){j.current=!0;const e=c.floating;if((0,l.vq)(c.domReference)&&e){var t;const n=(0,o.YE)(c.floating).body;n.setAttribute(se,"");const r=c.domReference,a=null==g||null==(t=g.nodesRef.current.find((e=>e.id===v)))||null==(t=t.context)?void 0:t.elements.floating;return a&&(a.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}}),[u,n,v,c,g,y,C]),I((()=>{n||(O.current=void 0,D.current=!1,M(),A())}),[n,M,A]),r.useEffect((()=>()=>{M(),clearTimeout(k.current),clearTimeout(E.current),A()}),[u,c.domReference,M,A]);const N=r.useMemo((()=>{function e(e){O.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function r(){P.current||x.current||a(!0,t,"hover")}f&&!(0,o.Go)(O.current)||n||0===h||D.current&&e.movementX**2+e.movementY**2<2||(clearTimeout(E.current),"touch"===O.current?r():(D.current=!0,E.current=window.setTimeout(r,h)))}}}),[f,a,n,x,h]),L=r.useMemo((()=>({onMouseEnter(){clearTimeout(k.current)},onMouseLeave(e){R()||T(e.nativeEvent,!1)}})),[T,R]);return r.useMemo((()=>u?{reference:N,floating:L}:{}),[u,N,L])}const le=()=>{},de=r.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:le,setState:le,isInstantPhase:!1}),pe=()=>r.useContext(de);function fe(e){const{children:t,delay:n,timeoutMs:o=0}=e,[a,i]=r.useReducer(((e,t)=>({...e,...t})),{delay:n,timeoutMs:o,initialDelay:n,currentId:null,isInstantPhase:!1}),s=r.useRef(null),c=r.useCallback((e=>{i({currentId:e})}),[]);return I((()=>{a.currentId?null===s.current?s.current=a.currentId:a.isInstantPhase||i({isInstantPhase:!0}):(a.isInstantPhase&&i({isInstantPhase:!1}),s.current=null)}),[a.currentId,a.isInstantPhase]),(0,u.jsx)(de.Provider,{value:r.useMemo((()=>({...a,setState:i,setCurrentId:c})),[a,c]),children:t})}function he(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,floatingId:o}=e,{id:a,enabled:i=!0}=t,s=null!=a?a:o,c=pe(),{currentId:u,setCurrentId:l,initialDelay:d,setState:p,timeoutMs:f}=c;return I((()=>{i&&u&&(p({delay:{open:1,close:ce(d,"close")}}),u!==s&&r(!1))}),[i,s,r,p,u,d]),I((()=>{function e(){r(!1),p({delay:d,currentId:null})}if(i&&u&&!n&&u===s){if(f){const t=window.setTimeout(e,f);return()=>{clearTimeout(t)}}e()}}),[i,n,p,u,s,r,d,f]),I((()=>{i&&l!==le&&n&&l(s)}),[i,n,l,s]),c}let me=0;function ge(e,t){void 0===t&&(t={});const{preventScroll:n=!1,cancelPrevious:r=!0,sync:o=!1}=t;r&&cancelAnimationFrame(me);const a=()=>null==e?void 0:e.focus({preventScroll:n});o?a():me=requestAnimationFrame(a)}function ve(e,t){var n;let r=[],o=null==(n=e.find((e=>e.id===t)))?void 0:n.parentId;for(;o;){const t=e.find((e=>e.id===o));o=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r}function ye(e,t){let n=e.filter((e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)})),r=n;for(;r.length;)r=e.filter((e=>{var t;return null==(t=r)?void 0:t.some((t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)}))})),n=n.concat(r);return n}let be=new WeakMap,we=new WeakSet,xe={},Oe=0;const ke=()=>"undefined"!=typeof HTMLElement&&"inert"in HTMLElement.prototype,Se=e=>e&&(e.host||Se(e.parentNode)),Ee=(e,t)=>t.map((t=>{if(e.contains(t))return t;const n=Se(t);return e.contains(n)?n:null})).filter((e=>null!=e));function Pe(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=(0,o.YE)(e[0]).body;return function(e,t,n,r){const o="data-floating-ui-inert",a=r?"inert":n?"aria-hidden":null,i=Ee(t,e),s=new Set,c=new Set(i),u=[];xe[o]||(xe[o]=new WeakMap);const d=xe[o];return i.forEach((function e(t){t&&!s.has(t)&&(s.add(t),t.parentNode&&e(t.parentNode))})),function e(t){t&&!c.has(t)&&[].forEach.call(t.children,(t=>{if("script"!==(0,l.mq)(t))if(s.has(t))e(t);else{const e=a?t.getAttribute(a):null,n=null!==e&&"false"!==e,r=be.get(t)||0,i=a?r+1:r,s=(d.get(t)||0)+1;be.set(t,i),d.set(t,s),u.push(t),1===i&&n&&we.add(t),1===s&&t.setAttribute(o,""),!n&&a&&t.setAttribute(a,"true")}}))}(t),s.clear(),Oe++,()=>{u.forEach((e=>{const t=be.get(e)||0,n=a?t-1:t,r=(d.get(e)||0)-1;be.set(e,n),d.set(e,r),n||(!we.has(e)&&a&&e.removeAttribute(a),we.delete(e)),r||e.removeAttribute(o)})),Oe--,Oe||(be=new WeakMap,be=new WeakMap,we=new WeakSet,xe={})}}(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}const je=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function _e(e,t){const n=(0,d.Kr)(e,je());"prev"===t&&n.reverse();const r=n.indexOf((0,o.RS)((0,o.YE)(e)));return n.slice(r+1)[0]}function De(){return _e(document.body,"next")}function Ce(){return _e(document.body,"prev")}function Te(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!(0,o.gR)(n,r)}function Me(e){(0,d.Kr)(e,je()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function Ae(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}const Ie={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function Re(e){"Tab"===e.key&&(e.target,clearTimeout(undefined))}const Ne=r.forwardRef((function(e,t){const[n,a]=r.useState();I((()=>((0,o.nr)()&&a("button"),document.addEventListener("keydown",Re),()=>{document.removeEventListener("keydown",Re)})),[]);const i={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[ae("focus-guard")]:"",style:Ie};return(0,u.jsx)("span",{...e,...i})})),Le=r.createContext(null),Fe=ae("portal");function He(e){void 0===e&&(e={});const{id:t,root:n}=e,o=K(),a=Be(),[i,s]=r.useState(null),c=r.useRef(null);return I((()=>()=>{null==i||i.remove(),queueMicrotask((()=>{c.current=null}))}),[i]),I((()=>{if(!o)return;if(c.current)return;const e=t?document.getElementById(t):null;if(!e)return;const n=document.createElement("div");n.id=o,n.setAttribute(Fe,""),e.appendChild(n),c.current=n,s(n)}),[t,o]),I((()=>{if(null===n)return;if(!o)return;if(c.current)return;let e=n||(null==a?void 0:a.portalNode);e&&!(0,l.vq)(e)&&(e=e.current),e=e||document.body;let r=null;t&&(r=document.createElement("div"),r.id=t,e.appendChild(r));const i=document.createElement("div");i.id=o,i.setAttribute(Fe,""),e=r||e,e.appendChild(i),c.current=i,s(i)}),[t,n,o,a]),i}function We(e){const{children:t,id:n,root:o,preserveTabOrder:a=!0}=e,i=He({id:n,root:o}),[s,c]=r.useState(null),l=r.useRef(null),d=r.useRef(null),f=r.useRef(null),h=r.useRef(null),m=null==s?void 0:s.modal,g=null==s?void 0:s.open,v=!!s&&!s.modal&&s.open&&a&&!(!o&&!i);return r.useEffect((()=>{if(i&&a&&!m)return i.addEventListener("focusin",e,!0),i.addEventListener("focusout",e,!0),()=>{i.removeEventListener("focusin",e,!0),i.removeEventListener("focusout",e,!0)};function e(e){if(i&&Te(e)){("focusin"===e.type?Ae:Me)(i)}}}),[i,a,m]),r.useEffect((()=>{i&&(g||Ae(i))}),[g,i]),(0,u.jsxs)(Le.Provider,{value:r.useMemo((()=>({preserveTabOrder:a,beforeOutsideRef:l,afterOutsideRef:d,beforeInsideRef:f,afterInsideRef:h,portalNode:i,setFocusManagerState:c})),[a,i]),children:[v&&i&&(0,u.jsx)(Ne,{"data-type":"outside",ref:l,onFocus:e=>{if(Te(e,i)){var t;null==(t=f.current)||t.focus()}else{const e=Ce()||(null==s?void 0:s.domReference);null==e||e.focus()}}}),v&&i&&(0,u.jsx)("span",{"aria-owns":i.id,style:Ie}),i&&p.createPortal(t,i),v&&i&&(0,u.jsx)(Ne,{"data-type":"outside",ref:d,onFocus:e=>{if(Te(e,i)){var t;null==(t=h.current)||t.focus()}else{const t=De()||(null==s?void 0:s.domReference);null==t||t.focus(),(null==s?void 0:s.closeOnFocusOut)&&(null==s||s.onOpenChange(!1,e.nativeEvent,"focus-out"))}}})]})}const Be=()=>r.useContext(Le),Ue="data-floating-ui-focusable";function Ye(e){return e?e.hasAttribute(Ue)?e:e.querySelector("["+Ue+"]")||e:null}const ze=20;let Ve=[];function qe(e){Ve=Ve.filter((e=>e.isConnected)),e&&"body"!==(0,l.mq)(e)&&(Ve.push(e),Ve.length>ze&&(Ve=Ve.slice(-ze)))}function $e(){return Ve.slice().reverse().find((e=>e.isConnected))}const Ge=r.forwardRef((function(e,t){return(0,u.jsx)("button",{...e,type:"button",ref:t,tabIndex:-1,style:Ie})}));function Ke(e){const{context:t,children:n,disabled:a=!1,order:i=["content"],guards:s=!0,initialFocus:c=0,returnFocus:p=!0,restoreFocus:f=!1,modal:h=!0,visuallyHiddenDismiss:m=!1,closeOnFocusOut:v=!0,outsideElementsInert:y=!1}=e,{open:w,onOpenChange:x,events:O,dataRef:k,elements:{domReference:S,floating:E}}=t,P=b((()=>{var e;return null==(e=k.current.floatingContext)?void 0:e.nodeId})),j="number"==typeof c&&c<0,_=(0,o.WZ)(S)&&j,D=ke(),C=!D||s,T=!C||D&&y,M=ie(i),A=ie(c),R=ie(p),N=te(),L=Be(),F=r.useRef(null),H=r.useRef(null),W=r.useRef(!1),B=r.useRef(!1),U=r.useRef(-1),Y=null!=L,z=Ye(E),V=b((function(e){return void 0===e&&(e=z),e?(0,d.Kr)(e,je()):[]})),q=b((e=>{const t=V(e);return M.current.map((e=>S&&"reference"===e?S:z&&"floating"===e?z:t)).filter(Boolean).flat()}));r.useEffect((()=>{if(a)return;if(!h)return;function e(e){if("Tab"===e.key){(0,o.gR)(z,(0,o.RS)((0,o.YE)(z)))&&0===V().length&&!_&&(0,o.jo)(e);const t=q(),n=(0,o.EW)(e);"reference"===M.current[0]&&n===S&&((0,o.jo)(e),e.shiftKey?ge(t[t.length-1]):ge(t[1])),"floating"===M.current[1]&&n===z&&e.shiftKey&&((0,o.jo)(e),ge(t[0]))}}const t=(0,o.YE)(z);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}}),[a,S,z,h,M,_,V,q]),r.useEffect((()=>{if(!a&&E)return E.addEventListener("focusin",e),()=>{E.removeEventListener("focusin",e)};function e(e){const t=(0,o.EW)(e),n=V().indexOf(t);-1!==n&&(U.current=n)}}),[a,E,V]),r.useEffect((()=>{if(!a&&v)return E&&(0,l.sb)(S)?(S.addEventListener("focusout",t),S.addEventListener("pointerdown",e),E.addEventListener("focusout",t),()=>{S.removeEventListener("focusout",t),S.removeEventListener("pointerdown",e),E.removeEventListener("focusout",t)}):void 0;function e(){B.current=!0,setTimeout((()=>{B.current=!1}))}function t(e){const t=e.relatedTarget;queueMicrotask((()=>{const n=P(),r=!((0,o.gR)(S,t)||(0,o.gR)(E,t)||(0,o.gR)(t,E)||(0,o.gR)(null==L?void 0:L.portalNode,t)||null!=t&&t.hasAttribute(ae("focus-guard"))||N&&(ye(N.nodesRef.current,n).find((e=>{var n,r;return(0,o.gR)(null==(n=e.context)?void 0:n.elements.floating,t)||(0,o.gR)(null==(r=e.context)?void 0:r.elements.domReference,t)}))||ve(N.nodesRef.current,n).find((e=>{var n,r,o;return[null==(n=e.context)?void 0:n.elements.floating,Ye(null==(r=e.context)?void 0:r.elements.floating)].includes(t)||(null==(o=e.context)?void 0:o.elements.domReference)===t}))));if(f&&r&&(0,o.RS)((0,o.YE)(z))===(0,o.YE)(z).body){(0,l.sb)(z)&&z.focus();const e=U.current,t=V(),n=t[e]||t[t.length-1]||z;(0,l.sb)(n)&&n.focus()}!_&&h||!t||!r||B.current||t===$e()||(W.current=!0,x(!1,e,"focus-out"))}))}}),[a,S,E,z,h,N,L,x,v,f,V,_,P]);const $=r.useRef(null),G=r.useRef(null),K=g([$,null==L?void 0:L.beforeInsideRef]),Q=g([G,null==L?void 0:L.afterInsideRef]);function X(e){return!a&&m&&h?(0,u.jsx)(Ge,{ref:"start"===e?F:H,onClick:e=>x(!1,e.nativeEvent),children:"string"==typeof m?m:"Dismiss"}):null}r.useEffect((()=>{var e;if(a)return;if(!E)return;const t=Array.from((null==L||null==(e=L.portalNode)?void 0:e.querySelectorAll("["+ae("portal")+"]"))||[]),n=N&&!h?ve(null==N?void 0:N.nodesRef.current,P()).map((e=>{var t;return null==(t=e.context)?void 0:t.elements.floating})):[],r=[E,...t,...n,F.current,H.current,$.current,G.current,null==L?void 0:L.beforeOutsideRef.current,null==L?void 0:L.afterOutsideRef.current,M.current.includes("reference")||_?S:null].filter((e=>null!=e)),o=h||_?Pe(r,!T,T):Pe(r);return()=>{o()}}),[a,S,E,h,M,L,_,C,T,N,P]),I((()=>{if(a||!(0,l.sb)(z))return;const e=(0,o.YE)(z),t=(0,o.RS)(e);queueMicrotask((()=>{const e=q(z),n=A.current,r=("number"==typeof n?e[n]:n.current)||z,a=(0,o.gR)(z,t);j||a||!w||ge(r,{preventScroll:r===z})}))}),[a,w,z,j,q,A]),I((()=>{if(a||!z)return;let e=!1;const t=(0,o.YE)(z),n=(0,o.RS)(t);let r=k.current.openEvent;function i(t){let{open:n,reason:a,event:i,nested:s}=t;n&&(r=i),"escape-key"===a&&S&&qe(S),["hover","safe-polygon"].includes(a)&&"mouseleave"===i.type&&(W.current=!0),"outside-press"===a&&(s?(W.current=!1,e=!0):W.current=!((0,o.YF)(i)||(0,o.Pg)(i)))}qe(n),O.on("openchange",i);const s=t.createElement("span");return s.setAttribute("tabindex","-1"),s.setAttribute("aria-hidden","true"),Object.assign(s.style,Ie),Y&&S&&S.insertAdjacentElement("afterend",s),()=>{O.off("openchange",i);const n=(0,o.RS)(t),a=(0,o.gR)(E,n)||N&&ye(N.nodesRef.current,P()).some((e=>{var t;return(0,o.gR)(null==(t=e.context)?void 0:t.elements.floating,n)}));(a||r&&["click","mousedown"].includes(r.type))&&S&&qe(S);const c="boolean"==typeof R.current?$e()||s:R.current.current||s;queueMicrotask((()=>{const r=function(e){const t=je();return(0,d.AO)(e,t)?e:(0,d.Kr)(e,t)[0]||e}(c);R.current&&!W.current&&(0,l.sb)(r)&&(r===n||n===t.body||a)&&r.focus({preventScroll:e}),s.remove()}))}}),[a,E,z,R,k,O,N,Y,S,P]),r.useEffect((()=>{queueMicrotask((()=>{W.current=!1}))}),[a]),I((()=>{if(!a&&L)return L.setFocusManagerState({modal:h,closeOnFocusOut:v,open:w,onOpenChange:x,domReference:S}),()=>{L.setFocusManagerState(null)}}),[a,L,h,w,x,v,S]),I((()=>{if(a)return;if(!z)return;if("function"!=typeof MutationObserver)return;if(j)return;const e=()=>{const e=z.getAttribute("tabindex"),t=V(),n=(0,o.RS)((0,o.YE)(E)),r=t.indexOf(n);-1!==r&&(U.current=r),M.current.includes("floating")||n!==S&&0===t.length?"0"!==e&&z.setAttribute("tabindex","0"):"-1"!==e&&z.setAttribute("tabindex","-1")};e();const t=new MutationObserver(e);return t.observe(z,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}}),[a,E,z,S,M,V,j]);const Z=!a&&C&&(!h||!_)&&(Y||h);return(0,u.jsxs)(u.Fragment,{children:[Z&&(0,u.jsx)(Ne,{"data-type":"inside",ref:K,onFocus:e=>{if(h){const e=q();ge("reference"===i[0]?e[0]:e[e.length-1])}else if(null!=L&&L.preserveTabOrder&&L.portalNode)if(W.current=!1,Te(e,L.portalNode)){const e=De()||S;null==e||e.focus()}else{var t;null==(t=L.beforeOutsideRef.current)||t.focus()}}}),!_&&X("start"),n,X("end"),Z&&(0,u.jsx)(Ne,{"data-type":"inside",ref:Q,onFocus:e=>{if(h)ge(q()[0]);else if(null!=L&&L.preserveTabOrder&&L.portalNode)if(v&&(W.current=!0),Te(e,L.portalNode)){const e=Ce()||S;null==e||e.focus()}else{var t;null==(t=L.afterOutsideRef.current)||t.focus()}}})]})}let Qe=0;let Xe=()=>{};const Ze=r.forwardRef((function(e,t){const{lockScroll:n=!1,...r}=e;return I((()=>{if(n)return Qe++,1===Qe&&(Xe=function(){const e=/iP(hone|ad|od)|iOS/.test((0,o.uo)()),t=document.body.style,n=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",r=window.innerWidth-document.documentElement.clientWidth,a=t.left?parseFloat(t.left):window.scrollX,i=t.top?parseFloat(t.top):window.scrollY;if(t.overflow="hidden",r&&(t[n]=r+"px"),e){var s,c;const e=(null==(s=window.visualViewport)?void 0:s.offsetLeft)||0,n=(null==(c=window.visualViewport)?void 0:c.offsetTop)||0;Object.assign(t,{position:"fixed",top:-(i-Math.floor(n))+"px",left:-(a-Math.floor(e))+"px",right:"0"})}return()=>{Object.assign(t,{overflow:"",[n]:""}),e&&(Object.assign(t,{position:"",top:"",left:"",right:""}),window.scrollTo(a,i))}}()),()=>{Qe--,0===Qe&&Xe()}}),[n]),(0,u.jsx)("div",{ref:t,...r,style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...r.style}})}));function Je(e){return(0,l.sb)(e.target)&&"BUTTON"===e.target.tagName}function et(e){return(0,o.$u)(e)}function tt(e,t){void 0===t&&(t={});const{open:n,onOpenChange:a,dataRef:i,elements:{domReference:s}}=e,{enabled:c=!0,event:u="click",toggle:l=!0,ignoreMouse:d=!1,keyboardHandlers:p=!0,stickIfOpen:f=!0}=t,h=r.useRef(),m=r.useRef(!1),g=r.useMemo((()=>({onPointerDown(e){h.current=e.pointerType},onMouseDown(e){const t=h.current;0===e.button&&"click"!==u&&((0,o.Go)(t,!0)&&d||(!n||!l||i.current.openEvent&&f&&"mousedown"!==i.current.openEvent.type?(e.preventDefault(),a(!0,e.nativeEvent,"click")):a(!1,e.nativeEvent,"click")))},onClick(e){const t=h.current;"mousedown"===u&&h.current?h.current=void 0:(0,o.Go)(t,!0)&&d||(!n||!l||i.current.openEvent&&f&&"click"!==i.current.openEvent.type?a(!0,e.nativeEvent,"click"):a(!1,e.nativeEvent,"click"))},onKeyDown(e){h.current=void 0,e.defaultPrevented||!p||Je(e)||(" "!==e.key||et(s)||(e.preventDefault(),m.current=!0),"Enter"===e.key&&a(!n||!l,e.nativeEvent,"click"))},onKeyUp(e){e.defaultPrevented||!p||Je(e)||et(s)||" "===e.key&&m.current&&(m.current=!1,a(!n||!l,e.nativeEvent,"click"))}})),[i,s,u,d,p,a,n,f,l]);return r.useMemo((()=>c?{reference:g}:{}),[c,g])}function nt(e){return null!=e&&null!=e.clientX}function rt(e,t){void 0===t&&(t={});const{open:n,dataRef:a,elements:{floating:i,domReference:s},refs:c}=e,{enabled:u=!0,axis:d="both",x:p=null,y:f=null}=t,h=r.useRef(!1),m=r.useRef(null),[g,v]=r.useState(),[y,w]=r.useState([]),x=b(((e,t)=>{h.current||a.current.openEvent&&!nt(a.current.openEvent)||c.setPositionReference(function(e,t){let n=null,r=null,o=!1;return{contextElement:e||void 0,getBoundingClientRect(){var a;const i=(null==e?void 0:e.getBoundingClientRect())||{width:0,height:0,x:0,y:0},s="x"===t.axis||"both"===t.axis,c="y"===t.axis||"both"===t.axis,u=["mouseenter","mousemove"].includes((null==(a=t.dataRef.current.openEvent)?void 0:a.type)||"")&&"touch"!==t.pointerType;let l=i.width,d=i.height,p=i.x,f=i.y;return null==n&&t.x&&s&&(n=i.x-t.x),null==r&&t.y&&c&&(r=i.y-t.y),p-=n||0,f-=r||0,l=0,d=0,!o||u?(l="y"===t.axis?i.width:0,d="x"===t.axis?i.height:0,p=s&&null!=t.x?t.x:p,f=c&&null!=t.y?t.y:f):o&&!u&&(d="x"===t.axis?i.height:d,l="y"===t.axis?i.width:l),o=!0,{width:l,height:d,x:p,y:f,top:f,right:p+l,bottom:f+d,left:p}}}}(s,{x:e,y:t,axis:d,dataRef:a,pointerType:g}))})),O=b((e=>{null==p&&null==f&&(n?m.current||w([]):x(e.clientX,e.clientY))})),k=(0,o.Go)(g)?i:n,S=r.useCallback((()=>{if(!k||!u||null!=p||null!=f)return;const e=(0,l.zk)(i);function t(n){const r=(0,o.EW)(n);(0,o.gR)(i,r)?(e.removeEventListener("mousemove",t),m.current=null):x(n.clientX,n.clientY)}if(!a.current.openEvent||nt(a.current.openEvent)){e.addEventListener("mousemove",t);const n=()=>{e.removeEventListener("mousemove",t),m.current=null};return m.current=n,n}c.setPositionReference(s)}),[k,u,p,f,i,a,c,s,x]);r.useEffect((()=>S()),[S,y]),r.useEffect((()=>{u&&!i&&(h.current=!1)}),[u,i]),r.useEffect((()=>{!u&&n&&(h.current=!0)}),[u,n]),I((()=>{!u||null==p&&null==f||(h.current=!1,x(p,f))}),[u,p,f,x]);const E=r.useMemo((()=>{function e(e){let{pointerType:t}=e;v(t)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:O,onMouseEnter:O}}),[O]);return r.useMemo((()=>u?{reference:E}:{}),[u,E])}const ot={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},at={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},it=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function st(e,t){void 0===t&&(t={});const{open:n,onOpenChange:a,elements:i,dataRef:s}=e,{enabled:c=!0,escapeKey:u=!0,outsidePress:d=!0,outsidePressEvent:p="pointerdown",referencePress:h=!1,referencePressEvent:m="pointerdown",ancestorScroll:g=!1,bubbles:v,capture:y}=t,w=te(),x=b("function"==typeof d?d:()=>!1),O="function"==typeof d?x:d,k=r.useRef(!1),S=r.useRef(!1),{escapeKey:E,outsidePress:P}=it(v),{escapeKey:j,outsidePress:_}=it(y),D=r.useRef(!1),C=b((e=>{var t;if(!n||!c||!u||"Escape"!==e.key)return;if(D.current)return;const r=null==(t=s.current.floatingContext)?void 0:t.nodeId,i=w?ye(w.nodesRef.current,r):[];if(!E&&(e.stopPropagation(),i.length>0)){let e=!0;if(i.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)})),!e)return}a(!1,(0,o.O_)(e)?e.nativeEvent:e,"escape-key")})),T=b((e=>{var t;const n=()=>{var t;C(e),null==(t=(0,o.EW)(e))||t.removeEventListener("keydown",n)};null==(t=(0,o.EW)(e))||t.addEventListener("keydown",n)})),M=b((e=>{var t;const n=k.current;k.current=!1;const r=S.current;if(S.current=!1,"click"===p&&r)return;if(n)return;if("function"==typeof O&&!O(e))return;const c=(0,o.EW)(e),u="["+ae("inert")+"]",d=(0,o.YE)(i.floating).querySelectorAll(u);let f=(0,l.vq)(c)?c:null;for(;f&&!(0,l.eu)(f);){const e=(0,l.$4)(f);if((0,l.eu)(e)||!(0,l.vq)(e))break;f=e}if(d.length&&(0,l.vq)(c)&&!(0,o.tZ)(c)&&!(0,o.gR)(c,i.floating)&&Array.from(d).every((e=>!(0,o.gR)(f,e))))return;if((0,l.sb)(c)&&R){const t=(0,l.eu)(c),n=(0,l.L9)(c),r=/auto|scroll/,o=t||r.test(n.overflowX),a=t||r.test(n.overflowY),i=o&&c.clientWidth>0&&c.scrollWidth>c.clientWidth,s=a&&c.clientHeight>0&&c.scrollHeight>c.clientHeight,u="rtl"===n.direction,d=s&&(u?e.offsetX<=c.offsetWidth-c.clientWidth:e.offsetX>c.clientWidth),p=i&&e.offsetY>c.clientHeight;if(d||p)return}const h=null==(t=s.current.floatingContext)?void 0:t.nodeId,m=w&&ye(w.nodesRef.current,h).some((t=>{var n;return(0,o.F2)(e,null==(n=t.context)?void 0:n.elements.floating)}));if((0,o.F2)(e,i.floating)||(0,o.F2)(e,i.domReference)||m)return;const g=w?ye(w.nodesRef.current,h):[];if(g.length>0){let e=!0;if(g.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}a(!1,e,"outside-press")})),A=b((e=>{var t;const n=()=>{var t;M(e),null==(t=(0,o.EW)(e))||t.removeEventListener(p,n)};null==(t=(0,o.EW)(e))||t.addEventListener(p,n)}));r.useEffect((()=>{if(!n||!c)return;s.current.__escapeKeyBubbles=E,s.current.__outsidePressBubbles=P;let e=-1;function t(e){a(!1,e,"ancestor-scroll")}function r(){window.clearTimeout(e),D.current=!0}function d(){e=window.setTimeout((()=>{D.current=!1}),(0,l.Tc)()?5:0)}const h=(0,o.YE)(i.floating);u&&(h.addEventListener("keydown",j?T:C,j),h.addEventListener("compositionstart",r),h.addEventListener("compositionend",d)),O&&h.addEventListener(p,_?A:M,_);let m=[];return g&&((0,l.vq)(i.domReference)&&(m=(0,f.v9)(i.domReference)),(0,l.vq)(i.floating)&&(m=m.concat((0,f.v9)(i.floating))),!(0,l.vq)(i.reference)&&i.reference&&i.reference.contextElement&&(m=m.concat((0,f.v9)(i.reference.contextElement)))),m=m.filter((e=>{var t;return e!==(null==(t=h.defaultView)?void 0:t.visualViewport)})),m.forEach((e=>{e.addEventListener("scroll",t,{passive:!0})})),()=>{u&&(h.removeEventListener("keydown",j?T:C,j),h.removeEventListener("compositionstart",r),h.removeEventListener("compositionend",d)),O&&h.removeEventListener(p,_?A:M,_),m.forEach((e=>{e.removeEventListener("scroll",t)})),window.clearTimeout(e)}}),[s,i,u,O,p,n,a,g,c,E,P,C,j,T,M,_,A]),r.useEffect((()=>{k.current=!1}),[O,p]);const I=r.useMemo((()=>({onKeyDown:C,...h&&{[ot[m]]:e=>{a(!1,e.nativeEvent,"reference-press")},..."click"!==m&&{onClick(e){a(!1,e.nativeEvent,"reference-press")}}}})),[C,a,h,m]),R=r.useMemo((()=>({onKeyDown:C,onMouseDown(){S.current=!0},onMouseUp(){S.current=!0},[at[p]]:()=>{k.current=!0}})),[C,p]);return r.useMemo((()=>c?{reference:I,floating:R}:{}),[c,I,R])}function ct(e){const{open:t=!1,onOpenChange:n,elements:o}=e,a=K(),i=r.useRef({}),[s]=r.useState((()=>X())),c=null!=ee();const[u,l]=r.useState(o.reference),d=b(((e,t,r)=>{i.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:r,nested:c}),null==n||n(e,t,r)})),p=r.useMemo((()=>({setPositionReference:l})),[]),f=r.useMemo((()=>({reference:u||o.reference||null,floating:o.floating||null,domReference:o.reference})),[u,o.reference,o.floating]);return r.useMemo((()=>({dataRef:i,open:t,onOpenChange:d,elements:f,events:s,floatingId:a,refs:p})),[t,d,f,s,a,p])}function ut(e){void 0===e&&(e={});const{nodeId:t}=e,n=ct({...e,elements:{reference:null,floating:null,...e.elements}}),o=e.rootContext||n,a=o.elements,[i,s]=r.useState(null),[c,u]=r.useState(null),d=(null==a?void 0:a.domReference)||i,p=r.useRef(null),f=te();I((()=>{d&&(p.current=d)}),[d]);const m=(0,h.we)({...e,elements:{...a,...c&&{reference:c}}}),g=r.useCallback((e=>{const t=(0,l.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;u(t),m.refs.setReference(t)}),[m.refs]),v=r.useCallback((e=>{((0,l.vq)(e)||null===e)&&(p.current=e,s(e)),((0,l.vq)(m.refs.reference.current)||null===m.refs.reference.current||null!==e&&!(0,l.vq)(e))&&m.refs.setReference(e)}),[m.refs]),y=r.useMemo((()=>({...m.refs,setReference:v,setPositionReference:g,domReference:p})),[m.refs,v,g]),b=r.useMemo((()=>({...m.elements,domReference:d})),[m.elements,d]),w=r.useMemo((()=>({...m,...o,refs:y,elements:b,nodeId:t})),[m,y,b,t,o]);return I((()=>{o.dataRef.current.floatingContext=w;const e=null==f?void 0:f.nodesRef.current.find((e=>e.id===t));e&&(e.context=w)})),r.useMemo((()=>({...m,context:w,refs:y,elements:b})),[m,y,b,w])}function lt(e,t){void 0===t&&(t={});const{open:n,onOpenChange:a,events:i,dataRef:s,elements:c}=e,{enabled:u=!0,visibleOnly:d=!0}=t,p=r.useRef(!1),f=r.useRef(),h=r.useRef(!0);r.useEffect((()=>{if(!u)return;const e=(0,l.zk)(c.domReference);function t(){!n&&(0,l.sb)(c.domReference)&&c.domReference===(0,o.RS)((0,o.YE)(c.domReference))&&(p.current=!0)}function r(){h.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",r,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",r,!0)}}),[c.domReference,n,u]),r.useEffect((()=>{if(u)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{reason:t}=e;"reference-press"!==t&&"escape-key"!==t||(p.current=!0)}}),[i,u]),r.useEffect((()=>()=>{clearTimeout(f.current)}),[]);const m=r.useMemo((()=>({onPointerDown(e){(0,o.Pg)(e.nativeEvent)||(h.current=!1)},onMouseLeave(){p.current=!1},onFocus(e){if(p.current)return;const t=(0,o.EW)(e.nativeEvent);if(d&&(0,l.vq)(t))try{if((0,o.nr)()&&(0,o.cX)())throw Error();if(!t.matches(":focus-visible"))return}catch(e){if(!h.current&&!(0,o.$u)(t))return}a(!0,e.nativeEvent,"focus")},onBlur(e){p.current=!1;const t=e.relatedTarget,n=e.nativeEvent,r=(0,l.vq)(t)&&t.hasAttribute(ae("focus-guard"))&&"outside"===t.getAttribute("data-type");f.current=window.setTimeout((()=>{var e;const i=(0,o.RS)(c.domReference?c.domReference.ownerDocument:document);(t||i!==c.domReference)&&((0,o.gR)(null==(e=s.current.floatingContext)?void 0:e.refs.floating.current,i)||(0,o.gR)(c.domReference,i)||r||a(!1,n,"focus"))}))}})),[s,c.domReference,a,d]);return r.useMemo((()=>u?{reference:m}:{}),[u,m])}const dt="active",pt="selected";function ft(e,t,n){const r=new Map,o="item"===n;let a=e;if(o&&e){const{[dt]:t,[pt]:n,...r}=e;a=r}return{..."floating"===n&&{tabIndex:-1,[Ue]:""},...a,...t.map((t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,a]=t;var i;o&&[dt,pt].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof a&&(null==(i=r.get(n))||i.push(a),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];return null==(e=r.get(n))?void 0:e.map((e=>e(...o))).find((e=>void 0!==e))})):e[n]=a)})),e):e),{})}}function ht(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),o=e.map((e=>null==e?void 0:e.item)),a=r.useCallback((t=>ft(t,e,"reference")),t),i=r.useCallback((t=>ft(t,e,"floating")),n),s=r.useCallback((t=>ft(t,e,"item")),o);return r.useMemo((()=>({getReferenceProps:a,getFloatingProps:i,getItemProps:s})),[a,i,s])}function mt(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function gt(e,t){return mt(t,e===w||e===x,e===O||e===k)}function vt(e,t,n){return mt(t,e===x,n?e===O:e===k)||"Enter"===e||" "===e||""===e}function yt(e,t,n){return mt(t,n?e===k:e===O,e===w)}function bt(e,t){const{open:n,onOpenChange:a,elements:i}=e,{listRef:s,activeIndex:c,onNavigate:u=(()=>{}),enabled:d=!0,selectedIndex:p=null,allowEscape:f=!1,loop:h=!1,nested:m=!1,rtl:g=!1,virtual:v=!1,focusItemOnOpen:y="auto",focusItemOnHover:w=!0,openOnArrowKeyDown:S=!0,disabledIndices:R,orientation:N="vertical",cols:L=1,scrollItemIntoView:F=!0,virtualItemRef:H,itemSizes:W,dense:B=!1}=t;const U=ie(Ye(i.floating)),Y=ee(),z=te(),V=b((()=>{u(-1===G.current?null:G.current)})),q=(0,o.WZ)(i.domReference),$=r.useRef(y),G=r.useRef(null!=p?p:-1),K=r.useRef(null),Q=r.useRef(!0),X=r.useRef(V),Z=r.useRef(!!i.floating),J=r.useRef(n),ne=r.useRef(!1),re=r.useRef(!1),oe=ie(R),ae=ie(n),se=ie(F),ce=ie(p),[ue,le]=r.useState(),[de,pe]=r.useState(),fe=b((()=>{function e(e){v?(le(e.id),null==z||z.events.emit("virtualfocus",e),H&&(H.current=e)):ge(e,{sync:ne.current,preventScroll:!0})}const t=s.current[G.current];t&&e(t);(ne.current?e=>e():requestAnimationFrame)((()=>{const n=s.current[G.current]||t;if(!n)return;t||e(n);const r=se.current;r&&me&&(re.current||!Q.current)&&(null==n.scrollIntoView||n.scrollIntoView("boolean"==typeof r?{block:"nearest",inline:"nearest"}:r))}))}));I((()=>{d&&(n&&i.floating?$.current&&null!=p&&(re.current=!0,G.current=p,V()):Z.current&&(G.current=-1,X.current()))}),[d,n,i.floating,p,V]),I((()=>{if(d&&n&&i.floating)if(null==c){if(ne.current=!1,null!=ce.current)return;if(Z.current&&(G.current=-1,fe()),(!J.current||!Z.current)&&$.current&&(null!=K.current||!0===$.current&&null==K.current)){let e=0;const t=()=>{if(null==s.current[0]){if(e<2){(e?requestAnimationFrame:queueMicrotask)(t)}e++}else G.current=null==K.current||vt(K.current,N,g)||m?P(s,oe.current):j(s,oe.current),K.current=null,V()};t()}}else E(s,c)||(G.current=c,fe(),re.current=!1)}),[d,n,i.floating,c,ce,m,s,N,g,V,fe,oe]),I((()=>{var e;if(!d||i.floating||!z||v||!Z.current)return;const t=z.nodesRef.current,n=null==(e=t.find((e=>e.id===Y)))||null==(e=e.context)?void 0:e.elements.floating,r=(0,o.RS)((0,o.YE)(i.floating)),a=t.some((e=>e.context&&(0,o.gR)(e.context.elements.floating,r)));n&&!a&&Q.current&&n.focus({preventScroll:!0})}),[d,i.floating,z,Y,v]),I((()=>{if(d&&z&&v&&!Y)return z.events.on("virtualfocus",e),()=>{z.events.off("virtualfocus",e)};function e(e){pe(e.id),H&&(H.current=e)}}),[d,z,v,Y,H]),I((()=>{X.current=V,J.current=n,Z.current=!!i.floating})),I((()=>{n||(K.current=null)}),[n]);const he=null!=c,me=r.useMemo((()=>{function e(e){if(!n)return;const t=s.current.indexOf(e);-1!==t&&G.current!==t&&(G.current=t,V())}return{onFocus(t){let{currentTarget:n}=t;ne.current=!0,e(n)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...w&&{onMouseMove(t){let{currentTarget:n}=t;ne.current=!0,re.current=!1,e(n)},onPointerLeave(e){let{pointerType:t}=e;var n;Q.current&&"touch"!==t&&(ne.current=!0,G.current=-1,V(),v||null==(n=U.current)||n.focus({preventScroll:!0}))}}}}),[n,U,w,s,V,v]),ve=b((e=>{if(Q.current=!1,ne.current=!0,229===e.which)return;if(!ae.current&&e.currentTarget===U.current)return;if(m&&yt(e.key,N,g))return(0,o.jo)(e),a(!1,e.nativeEvent,"list-navigation"),void((0,l.sb)(i.domReference)&&(v?null==z||z.events.emit("virtualfocus",i.domReference):i.domReference.focus()));const t=G.current,r=P(s,R),c=j(s,R);if(q||("Home"===e.key&&((0,o.jo)(e),G.current=r,V()),"End"===e.key&&((0,o.jo)(e),G.current=c,V())),L>1){const t=W||Array.from({length:s.current.length},(()=>({width:1,height:1}))),n=C(t,L,B),o=n.findIndex((e=>null!=e&&!A(s.current,e,R))),a=n.reduce(((e,t,n)=>null==t||A(s.current,t,R)?e:n),-1),i=n[D({current:n.map((e=>null!=e?s.current[e]:null))},{event:e,orientation:N,loop:h,rtl:g,cols:L,disabledIndices:M([...R||s.current.map(((e,t)=>A(s.current,t)?t:void 0)),void 0],n),minIndex:o,maxIndex:a,prevIndex:T(G.current>c?r:G.current,t,n,L,e.key===x?"bl":e.key===(g?O:k)?"tr":"tl"),stopEvent:!0})];if(null!=i&&(G.current=i,V()),"both"===N)return}if(gt(e.key,N)){if((0,o.jo)(e),n&&!v&&(0,o.RS)(e.currentTarget.ownerDocument)===e.currentTarget)return G.current=vt(e.key,N,g)?r:c,void V();vt(e.key,N,g)?G.current=h?t>=c?f&&t!==s.current.length?-1:r:_(s,{startingIndex:t,disabledIndices:R}):Math.min(c,_(s,{startingIndex:t,disabledIndices:R})):G.current=h?t<=r?f&&-1!==t?s.current.length:c:_(s,{startingIndex:t,decrement:!0,disabledIndices:R}):Math.max(r,_(s,{startingIndex:t,decrement:!0,disabledIndices:R})),E(s,G.current)&&(G.current=-1),V()}})),be=r.useMemo((()=>v&&n&&he&&{"aria-activedescendant":de||ue}),[v,n,he,de,ue]),we=r.useMemo((()=>({"aria-orientation":"both"===N?void 0:N,...q?{}:be,onKeyDown:ve,onPointerMove(){Q.current=!0}})),[be,ve,N,q]),xe=r.useMemo((()=>{function e(e){"auto"===y&&(0,o.YF)(e.nativeEvent)&&($.current=!0)}function t(e){$.current=y,"auto"===y&&(0,o.Pg)(e.nativeEvent)&&($.current=!0)}return{...be,onKeyDown(e){Q.current=!1;const t=e.key.startsWith("Arrow"),r=["Home","End"].includes(e.key),i=t||r,c=function(e,t,n){return mt(t,n?e===O:e===k,e===x)}(e.key,N,g),u=yt(e.key,N,g),l=gt(e.key,N),d=(m?c:l)||"Enter"===e.key||""===e.key.trim();if(v&&n){const t=null==z?void 0:z.nodesRef.current.find((e=>null==e.parentId)),n=z&&t?function(e,t){let n,r=-1;return function t(o,a){a>r&&(n=o,r=a),ye(e,o).forEach((e=>{t(e.id,a+1)}))}(t,0),e.find((e=>e.id===n))}(z.nodesRef.current,t.id):null;if(i&&n&&H){const t=new KeyboardEvent("keydown",{key:e.key,bubbles:!0});if(c||u){var f,h;const r=(null==(f=n.context)?void 0:f.elements.domReference)===e.currentTarget,a=u&&!r?null==(h=n.context)?void 0:h.elements.domReference:c?s.current.find((e=>(null==e?void 0:e.id)===ue)):null;a&&((0,o.jo)(e),a.dispatchEvent(t),pe(void 0))}var y;if((l||r)&&n.context)if(n.context.open&&n.parentId&&e.currentTarget!==n.context.elements.domReference)return(0,o.jo)(e),void(null==(y=n.context.elements.domReference)||y.dispatchEvent(t))}return ve(e)}(n||S||!t)&&(d&&(K.current=m&&l?null:e.key),m?c&&((0,o.jo)(e),n?(G.current=P(s,oe.current),V()):a(!0,e.nativeEvent,"list-navigation")):l&&(null!=p&&(G.current=p),(0,o.jo)(e),!n&&S?a(!0,e.nativeEvent,"list-navigation"):ve(e),n&&V()))},onFocus(){n&&!v&&(G.current=-1,V())},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}}),[ue,be,ve,oe,y,s,m,V,a,n,S,N,g,p,z,v,H]);return r.useMemo((()=>d?{reference:xe,floating:we,item:me}:{}),[d,xe,we,me])}const wt=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function xt(e,t){var n;void 0===t&&(t={});const{open:o,floatingId:a}=e,{enabled:i=!0,role:s="dialog"}=t,c=null!=(n=wt.get(s))?n:s,u=K(),l=null!=ee(),d=r.useMemo((()=>"tooltip"===c||"label"===s?{["aria-"+("label"===s?"labelledby":"describedby")]:o?a:void 0}:{"aria-expanded":o?"true":"false","aria-haspopup":"alertdialog"===c?"dialog":c,"aria-controls":o?a:void 0,..."listbox"===c&&{role:"combobox"},..."menu"===c&&{id:u},..."menu"===c&&l&&{role:"menuitem"},..."select"===s&&{"aria-autocomplete":"none"},..."combobox"===s&&{"aria-autocomplete":"list"}}),[c,a,l,o,u,s]),p=r.useMemo((()=>{const e={id:a,...c&&{role:c}};return"tooltip"===c||"label"===s?e:{...e,..."menu"===c&&{"aria-labelledby":u}}}),[c,a,u,s]),f=r.useCallback((e=>{let{active:t,selected:n}=e;const r={role:"option",...t&&{id:a+"-option"}};switch(s){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}}),[a,s]);return r.useMemo((()=>i?{reference:d,floating:p,item:f}:{}),[i,d,p,f])}const Ot=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,((e,t)=>(t?"-":"")+e.toLowerCase()));function kt(e,t){return"function"==typeof e?e(t):e}function St(e,t){void 0===t&&(t={});const{open:n,elements:{floating:o}}=e,{duration:a=250}=t,i=("number"==typeof a?a:a.close)||0,[s,c]=r.useState("unmounted"),u=function(e,t){const[n,o]=r.useState(e);return e&&!n&&o(!0),r.useEffect((()=>{if(!e&&n){const e=setTimeout((()=>o(!1)),t);return()=>clearTimeout(e)}}),[e,n,t]),n}(n,i);return u||"close"!==s||c("unmounted"),I((()=>{if(o){if(n){c("initial");const e=requestAnimationFrame((()=>{c("open")}));return()=>{cancelAnimationFrame(e)}}c("close")}}),[n,o]),{isMounted:u,status:s}}function Et(e,t){void 0===t&&(t={});const{initial:n={opacity:0},open:o,close:a,common:i,duration:s=250}=t,c=e.placement,u=c.split("-")[0],l=r.useMemo((()=>({side:u,placement:c})),[u,c]),d="number"==typeof s,p=(d?s:s.open)||0,f=(d?s:s.close)||0,[h,m]=r.useState((()=>({...kt(i,l),...kt(n,l)}))),{isMounted:g,status:v}=St(e,{duration:s}),y=ie(n),b=ie(o),w=ie(a),x=ie(i);return I((()=>{const e=kt(y.current,l),t=kt(w.current,l),n=kt(x.current,l),r=kt(b.current,l)||Object.keys(e).reduce(((e,t)=>(e[t]="",e)),{});if("initial"===v&&m((t=>({transitionProperty:t.transitionProperty,...n,...e}))),"open"===v&&m({transitionProperty:Object.keys(r).map(Ot).join(","),transitionDuration:p+"ms",...n,...r}),"close"===v){const r=t||e;m({transitionProperty:Object.keys(r).map(Ot).join(","),transitionDuration:f+"ms",...n,...r})}}),[f,w,y,b,x,p,v,l]),{isMounted:g,styles:h}}function Pt(e,t){var n;const{open:a,dataRef:i}=e,{listRef:s,activeIndex:c,onMatch:u,onTypingChange:l,enabled:d=!0,findMatch:p=null,resetMs:f=750,ignoreKeys:h=[],selectedIndex:m=null}=t,g=r.useRef(),v=r.useRef(""),y=r.useRef(null!=(n=null!=m?m:c)?n:-1),w=r.useRef(null),x=b(u),O=b(l),k=ie(p),S=ie(h);I((()=>{a&&(clearTimeout(g.current),w.current=null,v.current="")}),[a]),I((()=>{var e;a&&""===v.current&&(y.current=null!=(e=null!=m?m:c)?e:-1)}),[a,m,c]);const E=b((e=>{e?i.current.typing||(i.current.typing=e,O(e)):i.current.typing&&(i.current.typing=e,O(e))})),P=b((e=>{function t(e,t,n){const r=k.current?k.current(t,n):t.find((e=>0===(null==e?void 0:e.toLocaleLowerCase().indexOf(n.toLocaleLowerCase()))));return r?e.indexOf(r):-1}const n=s.current;if(v.current.length>0&&" "!==v.current[0]&&(-1===t(n,n,v.current)?E(!1):" "===e.key&&(0,o.jo)(e)),null==n||S.current.includes(e.key)||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;a&&" "!==e.key&&((0,o.jo)(e),E(!0));n.every((e=>{var t,n;return!e||(null==(t=e[0])?void 0:t.toLocaleLowerCase())!==(null==(n=e[1])?void 0:n.toLocaleLowerCase())}))&&v.current===e.key&&(v.current="",y.current=w.current),v.current+=e.key,clearTimeout(g.current),g.current=setTimeout((()=>{v.current="",y.current=w.current,E(!1)}),f);const r=y.current,i=t(n,[...n.slice((r||0)+1),...n.slice(0,(r||0)+1)],v.current);-1!==i?(x(i),w.current=i):" "!==e.key&&(v.current="",E(!1))})),j=r.useMemo((()=>({onKeyDown:P})),[P]),_=r.useMemo((()=>({onKeyDown:P,onKeyUp(e){" "===e.key&&E(!1)}})),[P,E]);return r.useMemo((()=>d?{reference:j,floating:_}:{}),[d,j,_])}function jt(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const _t=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:o,offset:c=0,index:u=0,minItemsVisible:l=4,referenceOverflowThreshold:d=0,scrollRef:f,...g}=(y=t,"function"==typeof(v=e)?v(y):v);var v,y;const{rects:b,elements:{floating:w}}=t,x=n.current[u],O=(null==f?void 0:f.current)||w,k=w.clientTop||O.clientTop,S=0!==w.clientTop,E=0!==O.clientTop,P=w===O;if(!x)return{};const j={...t,...await(0,h.cY)(-x.offsetTop-w.clientTop-b.reference.height/2-x.offsetHeight/2-c).fn(t)},_=await(0,m.__)(jt(j,O.scrollHeight+k+w.clientTop),g),D=await(0,m.__)(j,{...g,elementContext:"reference"}),C=i(0,_.top),T=j.y+C,M=(O.scrollHeight>O.clientHeight?e=>e:s)(i(0,O.scrollHeight+(S&&P||E?2*k:0)-C-i(0,_.bottom)));if(O.style.maxHeight=M+"px",O.scrollTop=C,o){const e=O.offsetHeight<x.offsetHeight*a(l,n.current.length)-1||D.top>=-d||D.bottom>=-d;p.flushSync((()=>o(e)))}return r&&(r.current=await(0,m.__)(jt({...j,y:T},O.offsetHeight+k+w.clientTop),g)),{y:T}}});function Dt(e,t){const{open:n,elements:a}=e,{enabled:i=!0,overflowRef:s,scrollRef:c,onChange:u}=t,l=b(u),d=r.useRef(!1),f=r.useRef(null),h=r.useRef(null);r.useEffect((()=>{if(!i)return;function e(e){if(e.ctrlKey||!t||null==s.current)return;const n=e.deltaY,r=s.current.top>=-.5,a=s.current.bottom>=-.5,i=t.scrollHeight-t.clientHeight,c=n<0?-1:1,u=n<0?"max":"min";t.scrollHeight<=t.clientHeight||(!r&&n>0||!a&&n<0?(e.preventDefault(),p.flushSync((()=>{l((e=>e+Math[u](n,i*c)))}))):/firefox/i.test((0,o.$t)())&&(t.scrollTop+=n))}const t=(null==c?void 0:c.current)||a.floating;return n&&t?(t.addEventListener("wheel",e),requestAnimationFrame((()=>{f.current=t.scrollTop,null!=s.current&&(h.current={...s.current})})),()=>{f.current=null,h.current=null,t.removeEventListener("wheel",e)}):void 0}),[i,n,a.floating,s,c,l]);const m=r.useMemo((()=>({onKeyDown(){d.current=!0},onWheel(){d.current=!1},onPointerMove(){d.current=!1},onScroll(){const e=(null==c?void 0:c.current)||a.floating;if(s.current&&e&&d.current){if(null!==f.current){const t=e.scrollTop-f.current;(s.current.bottom<-.5&&t<-1||s.current.top<-.5&&t>1)&&p.flushSync((()=>l((e=>e+t))))}requestAnimationFrame((()=>{f.current=e.scrollTop}))}}})),[a.floating,l,s,c]);return r.useMemo((()=>i?{floating:m}:{}),[i,m])}function Ct(e,t){const[n,r]=e;let o=!1;const a=t.length;for(let e=0,i=a-1;e<a;i=e++){const[a,s]=t[e]||[0,0],[c,u]=t[i]||[0,0];s>=r!=u>=r&&n<=(c-a)*(r-s)/(u-s)+a&&(o=!o)}return o}function Tt(e){void 0===e&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let a,i=!1,s=null,c=null,u=performance.now();const d=e=>{let{x:n,y:d,placement:p,elements:f,onClose:h,nodeId:m,tree:g}=e;return function(e){function v(){clearTimeout(a),h()}if(clearTimeout(a),!f.domReference||!f.floating||null==p||null==n||null==d)return;const{clientX:y,clientY:b}=e,w=[y,b],x=(0,o.EW)(e),O="mouseleave"===e.type,k=(0,o.gR)(f.floating,x),S=(0,o.gR)(f.domReference,x),E=f.domReference.getBoundingClientRect(),P=f.floating.getBoundingClientRect(),j=p.split("-")[0],_=n>P.right-P.width/2,D=d>P.bottom-P.height/2,C=function(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}(w,E),T=P.width>E.width,M=P.height>E.height,A=(T?E:P).left,I=(T?E:P).right,R=(M?E:P).top,N=(M?E:P).bottom;if(k&&(i=!0,!O))return;if(S&&(i=!1),S&&!O)return void(i=!0);if(O&&(0,l.vq)(e.relatedTarget)&&(0,o.gR)(f.floating,e.relatedTarget))return;if(g&&ye(g.nodesRef.current,m).some((e=>{let{context:t}=e;return null==t?void 0:t.open})))return;if("top"===j&&d>=E.bottom-1||"bottom"===j&&d<=E.top+1||"left"===j&&n>=E.right-1||"right"===j&&n<=E.left+1)return v();let L=[];switch(j){case"top":L=[[A,E.top+1],[A,P.bottom-1],[I,P.bottom-1],[I,E.top+1]];break;case"bottom":L=[[A,P.top+1],[A,E.bottom-1],[I,E.bottom-1],[I,P.top+1]];break;case"left":L=[[P.right-1,N],[P.right-1,R],[E.left+1,R],[E.left+1,N]];break;case"right":L=[[E.right-1,N],[E.right-1,R],[P.left+1,R],[P.left+1,N]]}if(!Ct([y,b],L)){if(i&&!C)return v();if(!O&&r){const t=function(e,t){const n=performance.now(),r=n-u;if(null===s||null===c||0===r)return s=e,c=t,u=n,null;const o=e-s,a=t-c,i=Math.sqrt(o*o+a*a);return s=e,c=t,u=n,i/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return v()}Ct([y,b],function(e){let[n,r]=e;switch(j){case"top":return[[T?n+t/2:_?n+4*t:n-4*t,r+t+1],[T?n-t/2:_?n+4*t:n-4*t,r+t+1],...[[P.left,_||T?P.bottom-t:P.top],[P.right,_?T?P.bottom-t:P.top:P.bottom-t]]];case"bottom":return[[T?n+t/2:_?n+4*t:n-4*t,r-t],[T?n-t/2:_?n+4*t:n-4*t,r-t],...[[P.left,_||T?P.top+t:P.bottom],[P.right,_?T?P.top+t:P.bottom:P.top+t]]];case"left":{const e=[n+t+1,M?r+t/2:D?r+4*t:r-4*t],o=[n+t+1,M?r-t/2:D?r+4*t:r-4*t];return[...[[D||M?P.right-t:P.left,P.top],[D?M?P.right-t:P.left:P.right-t,P.bottom]],e,o]}case"right":return[[n-t,M?r+t/2:D?r+4*t:r-4*t],[n-t,M?r-t/2:D?r+4*t:r-4*t],...[[D||M?P.left+t:P.right,P.top],[D?M?P.left+t:P.right:P.left+t,P.bottom]]]}}([n,d]))?!i&&r&&(a=window.setTimeout(v,40)):v()}}};return d.__options={blockPointerEvents:n},d}},54819:(e,t,n)=>{"use strict";function r(e,t){var n=t&&t.cache?t.cache:l,r=t&&t.serializer?t.serializer:c;return(t&&t.strategy?t.strategy:s)(e,{cache:n,serializer:r})}function o(e,t,n,r){var o,a=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),i=t.get(a);return void 0===i&&(i=e.call(this,r),t.set(a,i)),i}function a(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),a=t.get(o);return void 0===a&&(a=e.apply(this,r),t.set(o,a)),a}function i(e,t,n,r,o){return n.bind(t,e,r,o)}function s(e,t){return i(e,this,1===e.length?o:a,t.cache.create(),t.serializer)}n.d(t,{B:()=>r,W:()=>d});var c=function(){return JSON.stringify(arguments)},u=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}(),l={create:function(){return new u}},d={variadic:function(e,t){return i(e,this,a,t.cache.create(),t.serializer)},monadic:function(e,t){return i(e,this,o,t.cache.create(),t.serializer)}}},92960:(e,t,n)=>{"use strict";n.d(t,{ZE:()=>a,Im:()=>c,tv:()=>l,Tu:()=>v,eW:()=>s,oF:()=>u,N1:()=>g,N6:()=>f,jA:()=>h,Jp:()=>p,xm:()=>m,Qh:()=>d,qg:()=>se});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError;var o,a,i;function s(e){return e.type===a.literal}function c(e){return e.type===a.argument}function u(e){return e.type===a.number}function l(e){return e.type===a.date}function d(e){return e.type===a.time}function p(e){return e.type===a.select}function f(e){return e.type===a.plural}function h(e){return e.type===a.pound}function m(e){return e.type===a.tag}function g(e){return!(!e||"object"!=typeof e||e.type!==i.number)}function v(e){return!(!e||"object"!=typeof e||e.type!==i.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"}(o||(o={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(a||(a={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(i||(i={}));var y=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,b=/(?:[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 w(e){var t={};return e.replace(b,(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 x=function(){return x=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},x.apply(this,arguments)};Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError;var O=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var k=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,S=/^(@+)?(\+|#+)?[rs]?$/g,E=/(\*)(0+)|(#+)(0+)|(0+)/g,P=/^(0+)$/;function j(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(S,(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 _(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 D(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)),!P.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function C(e){var t=_(e);return t||{}}function T(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.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=o.options[0].replace(/^(.*?)-/,"");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=x(x(x({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return x(x({},e),C(t))}),{}));continue;case"engineering":t=x(x(x({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return x(x({},e),C(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(o.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(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(E,(function(e,n,r,o,a,i){if(n)t.minimumIntegerDigits=r.length;else{if(o&&a)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(P.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(k.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(k,(function(e,n,r,o,a,i){return"*"===r?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:a&&i?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+i.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var a=o.options[0];"w"===a?t=x(x({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=x(x({},t),j(a)))}else if(S.test(o.stem))t=x(x({},t),j(o.stem));else{var i=_(o.stem);i&&(t=x(x({},t),i));var s=D(o.stem);s&&(t=x(x({},t),s))}}return t}var M,A={"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 I(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),(A[n||""]||A[r||""]||A["".concat(r,"-001")]||A["001"])[0]}var R=new RegExp("^".concat(y.source,"*")),N=new RegExp("".concat(y.source,"*$"));function L(e,t){return{start:e,end:t}}var F=!!String.prototype.startsWith&&"_a".startsWith("a",1),H=!!String.fromCodePoint,W=!!Object.fromEntries,B=!!String.prototype.codePointAt,U=!!String.prototype.trimStart,Y=!!String.prototype.trimEnd,z=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},V=!0;try{V="a"===(null===(M=J("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===M?void 0:M[0])}catch(e){V=!1}var q,$=F?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},G=H?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,a=0;o>a;){if((n=e[a++])>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},K=W?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],a=o[0],i=o[1];t[a]=i}return t},Q=B?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,o=e.charCodeAt(t);return o<55296||o>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?o:r-56320+(o-55296<<10)+65536}},X=U?function(e){return e.trimStart()}:function(e){return e.replace(R,"")},Z=Y?function(e){return e.trimEnd()}:function(e){return e.replace(N,"")};function J(e,t){return new RegExp(e,t)}if(V){var ee=J("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");q=function(e,t){var n;return ee.lastIndex=t,null!==(n=ee.exec(e)[1])&&void 0!==n?n:""}}else q=function(e,t){for(var n=[];;){var r=Q(e,t);if(void 0===r||oe(r)||ae(r))break;n.push(r),t+=r>=65536?2:1}return G.apply(void 0,n)};var te=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((s=this.parseArgument(e,n)).err)return s;r.push(s.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(o.UNMATCHED_CLOSING_TAG,L(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&ne(this.peek()||0)){if((s=this.parseTag(e,t)).err)return s;r.push(s.val)}else{var s;if((s=this.parseLiteral(e,t)).err)return s;r.push(s.val)}}else{var c=this.clonePosition();this.bump(),r.push({type:a.pound,location:L(c,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:a.literal,value:"<".concat(r,"/>"),location:L(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var s=i.val,c=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ne(this.char()))return this.error(o.INVALID_TAG,L(c,this.clonePosition()));var u=this.clonePosition();return r!==this.parseTagName()?this.error(o.UNMATCHED_CLOSING_TAG,L(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:a.tag,value:r,children:s,location:L(n,this.clonePosition())},err:null}:this.error(o.INVALID_TAG,L(c,this.clonePosition())))}return this.error(o.UNCLOSED_TAG,L(n,this.clonePosition()))}return this.error(o.INVALID_TAG,L(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&re(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{var i=this.tryParseUnquoted(e,t);if(i)r+=i;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var c=L(n,this.clonePosition());return{val:{type:a.literal,value:r,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ne(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 G.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(),G(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,L(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(o.EMPTY_ARGUMENT,L(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(o.MALFORMED_ARGUMENT,L(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,L(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:a.argument,value:r,location:L(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,L(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(o.MALFORMED_ARGUMENT,L(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=q(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:L(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,s){var c,u=this.clonePosition(),l=this.parseIdentifierIfPossible().value,d=this.clonePosition();switch(l){case"":return this.error(o.EXPECT_ARGUMENT_TYPE,L(u,d));case"number":case"date":case"time":this.bumpSpace();var p=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition();if((O=this.parseSimpleArgStyleIfPossible()).err)return O;if(0===(v=Z(O.val)).length)return this.error(o.EXPECT_ARGUMENT_STYLE,L(this.clonePosition(),this.clonePosition()));p={style:v,styleLocation:L(f,this.clonePosition())}}if((k=this.tryParseArgumentClose(s)).err)return k;var h=L(s,this.clonePosition());if(p&&$(null==p?void 0:p.style,"::",0)){var m=X(p.style.slice(2));if("number"===l)return(O=this.parseNumberSkeletonFromString(m,p.styleLocation)).err?O:{val:{type:a.number,value:n,location:h,style:O.val},err:null};if(0===m.length)return this.error(o.EXPECT_DATE_TIME_SKELETON,h);var g=m;this.locale&&(g=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var a=0;r+1<e.length&&e.charAt(r+1)===o;)a++,r++;var i=1+(1&a),s=a<2?1:3+(a>>1),c=I(t);for("H"!=c&&"k"!=c||(s=0);s-- >0;)n+="a";for(;i-- >0;)n=c+n}else n+="J"===o?"H":o}return n}(m,this.locale));var v={type:i.dateTime,pattern:g,location:p.styleLocation,parsedOptions:this.shouldParseSkeletons?w(g):{}};return{val:{type:"date"===l?a.date:a.time,value:n,location:h,style:v},err:null}}return{val:{type:"number"===l?a.number:"date"===l?a.date:a.time,value:n,location:h,style:null!==(c=null==p?void 0:p.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(o.EXPECT_SELECT_ARGUMENT_OPTIONS,L(y,r({},y)));this.bumpSpace();var b=this.parseIdentifierIfPossible(),x=0;if("select"!==l&&"offset"===b.value){if(!this.bumpIf(":"))return this.error(o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,L(this.clonePosition(),this.clonePosition()));var O;if(this.bumpSpace(),(O=this.tryParseDecimalInteger(o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return O;this.bumpSpace(),b=this.parseIdentifierIfPossible(),x=O.val}var k,S=this.tryParsePluralOrSelectOptions(e,l,t,b);if(S.err)return S;if((k=this.tryParseArgumentClose(s)).err)return k;var E=L(s,this.clonePosition());return"select"===l?{val:{type:a.select,value:n,options:K(S.val),location:E},err:null}:{val:{type:a.plural,value:n,options:K(S.val),offset:x,pluralType:"plural"===l?"cardinal":"ordinal",location:E},err:null};default:return this.error(o.INVALID_ARGUMENT_TYPE,L(u,d))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,L(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(o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,L(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=[],n=0,r=e.split(O).filter((function(e){return e.length>0}));n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var a=o[0],i=o.slice(1),s=0,c=i;s<c.length;s++)if(0===c[s].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(e){return this.error(o.INVALID_NUMBER_SKELETON,t)}return{val:{type:i.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?T(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var a,i=!1,s=[],c=new Set,u=r.value,l=r.location;;){if(0===u.length){var d=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var p=this.tryParseDecimalInteger(o.EXPECT_PLURAL_ARGUMENT_SELECTOR,o.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;l=L(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}if(c.has(u))return this.error("select"===t?o.DUPLICATE_SELECT_ARGUMENT_SELECTOR:o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===u&&(i=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,L(this.clonePosition(),this.clonePosition()));var h=this.parseMessage(e+1,t,n);if(h.err)return h;var m=this.tryParseArgumentClose(f);if(m.err)return m;s.push([u,{value:h.val,location:L(f,this.clonePosition())}]),c.add(u),this.bumpSpace(),u=(a=this.parseIdentifierIfPossible()).value,l=a.location}return 0===s.length?this.error("select"===t?o.EXPECT_SELECT_ARGUMENT_SELECTOR:o.EXPECT_PLURAL_ARGUMENT_SELECTOR,L(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(o.MISSING_OTHER_CLAUSE,L(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var i=this.char();if(!(i>=48&&i<=57))break;o=!0,a=10*a+(i-48),this.bump()}var s=L(r,this.clonePosition());return o?z(a*=n)?{val:a,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=Q(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($(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()&&oe(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 ne(e){return e>=97&&e<=122||e>=65&&e<=90}function re(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 oe(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ae(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 ie(e){e.forEach((function(e){if(delete e.location,p(e)||f(e))for(var t in e.options)delete e.options[t].location,ie(e.options[t].value);else u(e)&&g(e.style)||(l(e)||d(e))&&v(e.style)?delete e.style.location:m(e)&&ie(e.children)}))}function se(e,t){void 0===t&&(t={}),t=r({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new te(e,t).parse();if(n.err){var a=SyntaxError(o[n.err.kind]);throw a.location=n.err.location,a.originalMessage=n.err.message,a}return(null==t?void 0:t.captureLocation)||ie(n.val),n.val}},89160:(e,t,n)=>{"use strict";n.d(t,{Ar:()=>a,Ho:()=>l,OC:()=>i,hr:()=>c,lo:()=>r,pg:()=>u,sb:()=>d,uo:()=>s});var r,o=n(81293);!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"}(r||(r={}));var a=function(e){function t(n,r,o){var a=this,i=o?o instanceof Error?o:new Error(String(o)):void 0;return(a=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,"\n").concat(i?"\n".concat(i.message,"\n").concat(i.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return(0,o.C6)(t,e),t}(Error),i=function(e){function t(t,n){return e.call(this,r.UNSUPPORTED_FORMATTER,t,n)||this}return(0,o.C6)(t,e),t}(a),s=function(e){function t(t,n){return e.call(this,r.INVALID_CONFIG,t,n)||this}return(0,o.C6)(t,e),t}(a),c=function(e){function t(t,n){return e.call(this,r.MISSING_DATA,t,n)||this}return(0,o.C6)(t,e),t}(a),u=function(e){function t(t,n,o){var a=e.call(this,r.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),o)||this;return a.locale=n,a}return(0,o.C6)(t,e),t}(a),l=function(e){function t(t,n,r,o){var a=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,o)||this;return a.descriptor=r,a.locale=n,a}return(0,o.C6)(t,e),t}(u),d=function(e){function t(t,n){var o=e.call(this,r.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 o.descriptor=t,o}return(0,o.C6)(t,e),t}(a)},87683:(e,t,n)=>{"use strict";n.d(t,{F3:()=>f,GT:()=>p,J9:()=>c,JF:()=>u,MT:()=>l,V1:()=>s});var r=n(81293),o=n(54819),a=n(62587),i=n(89160);function s(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function c(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 u={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0},onWarn:function(e){0}};function l(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function d(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function p(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,i=Intl.DisplayNames,s=(0,o.B)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,r.fX)([void 0],t,!1)))}),{cache:d(e.dateTime),strategy:o.W.variadic}),c=(0,o.B)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,(0,r.fX)([void 0],t,!1)))}),{cache:d(e.number),strategy:o.W.variadic}),u=(0,o.B)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,(0,r.fX)([void 0],t,!1)))}),{cache:d(e.pluralRules),strategy:o.W.variadic});return{getDateTimeFormat:s,getNumberFormat:c,getMessageFormat:(0,o.B)((function(e,t,n,o){return new a.S(e,t,n,(0,r.Cl)({formatters:{getNumberFormat:c,getDateTimeFormat:s,getPluralRules:u}},o||{}))}),{cache:d(e.message),strategy:o.W.variadic}),getRelativeTimeFormat:(0,o.B)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,(0,r.fX)([void 0],e,!1)))}),{cache:d(e.relativeTime),strategy:o.W.variadic}),getPluralRules:u,getListFormat:(0,o.B)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,(0,r.fX)([void 0],e,!1)))}),{cache:d(e.list),strategy:o.W.variadic}),getDisplayNames:(0,o.B)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(i.bind.apply(i,(0,r.fX)([void 0],e,!1)))}),{cache:d(e.displayNames),strategy:o.W.variadic})}}function f(e,t,n,r){var o,a=e&&e[t];if(a&&(o=a[n]),o)return o;r(new i.OC("No ".concat(t," format named: ").concat(n)))}},9455:(e,t)=>{"use strict";t.A=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(",");if(0===n.length)return!0;var r=e.name||"",o=(e.type||"").toLowerCase(),a=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?a===t.replace(/\/.*$/,""):o===t}))}return!0}},94200:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={defaultTheme:{name:"default",colors:{paper:"#fff",primary:"#b22a31",primaryLight:"#d13e45",secondary:"#263e5b",secondaryLight:"#347da9",secondaryLighter:"#4fade5",text:"#000",textLight:"#595959",textLighter:"#8c8c8c",textDisabled:"#bcbcbc",textLabel:"#121212",textToaster:"#fcfcfc",textPopover:"#fcfcfc",backgroundBody:"#dee6ed",backgroundBreadcrumbs:"#dee6ed",backgroundPopover:"#424242",backgroundItemHover:"#e6e6e6",backgroundItemSelected:"#ccc",backgroundItemLastOpened:"#B9B9B9",backgroundTableEvenRow:"#f2f2f2",backgroundTableTiles:"#f2f2f2",backgroundScrollbar:"#999",backgroundScrollbarHover:"#808080",backgroundPanelHeaderFooter:"#f2f2f2",backgroundTypographyCode:"#e6e6e6",backgroundToccoCircleProduction:"#b22a31",backgroundToccoCircleTest:"#263e5b",backgroundBurgerMenuBars:"#fff",backgroundMultiValue:"#e6e6e6",backgroundUploadArea:"#f2f2f2",backgroundUploadOverlay:"#0000ff1a",backgroundConflict:"#f2f2f2",hoverInteractiveIcon:"#263e5b",loadingSpinner:"#000",breadcrumbsActive:"#b22a31",border:"#ccc",borderTable:"#ccc",borderLight:"#ededed",borderSelect:"#027cc1",signal:{danger:"#961b1b",dangerLight:"#e77c7c",info:"#027cc1",infoLight:"#78cdfe",success:"#337f37",successLight:"#91d395",warning:"#ec8a00",warningLight:"#ffd7a0",neutral:"#dee6ed"}},fontFamily:{monospace:"Ubuntu Mono, monospace",regular:"Ubuntu, sans-serif",url:"https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap"},fontSize:{base:1.3,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"13px",buttonLarge:"25px",form:0,dashboard:0,modal:0,toaster:"8px",menu:0,small:"4px"},space:{base:1.3,factor:2},specificProperties:{actionBarStickyTopPosition:0},codeEditorTheme:"textmate",diffViewerDarkTheme:!1,diffViewer:{codeFoldGutterBackground:"#e6e6e6",codeFoldBackground:"#f2f2f2",gutterBackground:"#f2f2f2",diffViewerTitleBackground:"#fff",diffViewerTitleBorderColor:"#fff",emptyLineBackground:"#fcfcfc",addedBackground:"#cbffce",addedColor:"#24292e",removedBackground:"#ffbfbf",removedColor:"#24292e",wordAddedBackground:"#91d395",wordRemovedBackground:"#e77c7c",addedGutterBackground:"#91d395",removedGutterBackground:"#e77c7c"}},darkTheme:{name:"dark",colors:{paper:"#212330",primary:"#b22a31",primaryLight:"#d13e45",secondary:"#6eafff",secondaryLight:"#82baff",secondaryLighter:"#9ECAFF",text:"#dfdfdf",textLight:"#bdbdbd",textLighter:"#818181",textDisabled:"#7a7a7a",textLabel:"#121212",textToaster:"#000",textPopover:"#fff",backgroundBody:"#2C2F41",backgroundBreadcrumbs:"#2C2F41",backgroundPopover:"#757575",backgroundItemHover:"#444",backgroundItemSelected:"#565656",backgroundItemLastOpened:"#636363",backgroundTableEvenRow:"#2f2f2f",backgroundTableTiles:"#2f2f2f",backgroundScrollbar:"#444",backgroundScrollbarHover:"#666",backgroundPanelHeaderFooter:"#444",backgroundTypographyCode:"#444",backgroundToccoCircleProduction:"#b22a31",backgroundToccoCircleTest:"#263e5b",backgroundBurgerMenuBars:"#fff",backgroundMultiValue:"#6e6e6e",backgroundUploadArea:"#2d2d2d",backgroundUploadOverlay:"#0000ff1a",backgroundConflict:"#2d2d2d",hoverInteractiveIcon:"#fff",loadingSpinner:"#cccccc",breadcrumbsActive:"#82baff",border:"#666",borderTable:"#666",borderLight:"#444",borderSelect:"#4fade5",signal:{danger:"#d74444",dangerLight:"#f18888",info:"#4fade5",infoLight:"#9ce6ff",success:"#4DAC54",successLight:"#72c172",warning:"#ec8a00",warningLight:"#ffcc84",neutral:"#CECECE"}},fontFamily:{monospace:"Ubuntu Mono, monospace",regular:"Ubuntu, sans-serif",url:"https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap"},fontSize:{base:1.3,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"13px",buttonLarge:"25px",form:0,dashboard:0,modal:0,toaster:"8px",menu:0,small:"4px"},space:{base:1.3,factor:2},specificProperties:{actionBarStickyTopPosition:0},codeEditorTheme:"dracula",diffViewerDarkTheme:!0,diffViewer:{diffViewerBackground:"#212330",codeFoldGutterBackground:"#444",codeFoldBackground:"#2f2f2f",gutterBackground:"#2f2f2f",diffViewerTitleBackground:"#212330",diffViewerTitleBorderColor:"#212330",emptyLineBackground:"#2f2f2f",diffViewerColor:"#dfdfdf",addedBackground:"#217a28",addedColor:"#dfdfdf",removedBackground:"#b92e2e",removedColor:"#dfdfdf",wordAddedBackground:"#35913c",wordRemovedBackground:"#d74444",addedGutterBackground:"#35913c",removedGutterBackground:"#d74444"}}}},64116:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r,o=n(26396),a=n.n(o),i=n(4883),s=n.n(i),c=n(74848);function u(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=(0,i.lazy)((function(){return Promise.all([n.e(310),n.e(103),n.e(916)]).then(n.bind(n,8264))}));const p=function(e){return(0,c.jsx)(i.Suspense,{fallback:r||(r=(0,c.jsx)(s().Fragment,{})),children:(0,c.jsx)(d,l({},e))})}},93564:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var r,o=n(72189),a=n.n(o),i=n(51510).Ay.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(r||(r=a()([""])))},44905:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r,o=n(64116),a=n(77271),i=n(72189),s=n.n(i),c=n(51510),u=n(85431),l=n(33090),d=n(47616);const p=c.Ay.a.withConfig({displayName:"StyledLink"})(r||(r=s()(["\n ","\n ","\n\n && {\n color: ",";\n text-decoration: ",";\n\n &:hover,\n &:focus {\n text-decoration: ",";\n }\n\n &:active {\n text-decoration: ",";\n }\n }\n"])),(0,u.A)(),(function(e){return e.breakWords?(0,l.K)():(0,l.s)()}),d.A.color("text"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}));var f=n(74848);const h=function(e){var t=e.alt,n=e.breakWords,r=void 0===n||n,i=e.download,s=e.href,c=void 0===s?"#":s,u=e.neutral,l=e.onClick,d=e.rel,h=e.tabIndex,m=e.target,g=void 0===m?"_self":m,v=e.title,y=e.label,b=e.icon,w=e.children,x=e.useTitle,O=void 0===x||x,k=v||(r?void 0:y);return(0,f.jsxs)(p,{alt:t,breakWords:r,download:i,href:c,neutral:u,onClick:l,rel:d,tabIndex:h,target:g,title:O?k:void 0,children:[b&&(0,f.jsx)(o.A,{icon:b,position:a.A.position.PREPEND}),y||w]})}},46005:(e,t,n)=>{"use strict";n.d(t,{g:()=>s});var r=n(58156),o=n.n(r),a=n(47616),i=n(26166),s=function(e,t){var n="\n color: ".concat(a.A.color("text")(e),";\n font-family: ").concat(a.A.fontFamily("regular")(e),";\n font-size: ").concat(i.A.font(0)(e),";\n font-style: ","normal",";\n font-weight: ").concat(a.A.fontWeight("regular")(e),";\n line-height: ").concat(a.A.lineHeight("regular")(e),";\n\n a {\n color: ").concat(a.A.color("secondary")(e),";\n\n &:hover,\n &:focus {\n color: ").concat(o()(e.theme,"colors.secondaryLight"),";\n text-decoration: underline;\n }\n\n &:active {\n color: ").concat(o()(e.theme,"colors.secondary"),";\n }\n }\n\n b,\n strong {\n font-weight: ").concat(a.A.fontWeight("bold")(e),"\n }\n\n em,\n i {\n font-style: italic;\n }\n\n u {\n text-decoration: underline;\n }\n\n h1 {font-size: ").concat(i.A.font(5)(e),";}\n h2 {font-size: ").concat(i.A.font(4)(e),";}\n h3 {font-size: ").concat(i.A.font(3)(e),";}\n h4 {font-size: ").concat(i.A.font(2)(e),";}\n h5 {font-size: ").concat(i.A.font(1)(e),";}\n h6 {font-size: ").concat(i.A.font(0)(e),";}\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: ").concat(a.A.fontWeight("bold")(e),";\n margin-top: ").concat(i.A.space(0)(e),";\n margin-bottom: ").concat(i.A.space(-1)(e),";\n\n + h1,\n + h2,\n + h3,\n + h4,\n + h5,\n + h6,\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n p {\n margin-bottom: ").concat(i.A.space(-1)(e),";\n &:last-child {\n margin-bottom: 0;\n }\n }\n ");return"ckeditor"!==t&&(n="\n ".concat(n,"\n a {\n text-decoration: none; \n }\n\n ol,\n ul {\n display: block;\n list-style-position: outside;\n margin: 0 0 ").concat(i.A.space(-1)(e)," 1.6rem;\n padding: 0;\n\n ol,\n ul,\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n ol li {\n list-style-type: decimal;\n }\n\n ul li {\n list-style-type: disc;\n }\n ")),n}},85431:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,o=n(72189),a=n.n(o),i=n(51510),s=n(47616),c=n(26166);const u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.AH)(r||(r=a()(["\n color: ",";\n font-family: ",";\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n"])),e.color||s.A.color("text"),e.fontFamily||s.A.fontFamily("regular"),e.fontSize||c.A.font(0),e.fontStyle||"normal",e.fontWeight||s.A.fontWeight("regular"),e.lineHeight||s.A.lineHeight("regular"))}},33090:(e,t,n)=>{"use strict";n.d(t,{K:()=>o,s:()=>r});var r=function(){return"\n display: inline-block;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"},o=function(){return"\n hyphens: auto;\n overflow-wrap: break-word;\n white-space: normal;\n word-wrap: break-word;\n"}},77271:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(5556),o=n.n(r),a={NONE:"none",SPIN:"spin"},i={BASE:"base",PRIMARY:"primary",SECONDARY:"secondary"},s={BOX:"layoutBox",CONTAINER:"layoutContainer",NONE:"none"},c={BALL:"ball",FLAT:"flat",PLAIN:"plain",RAISED:"raised"},u={APPEND:"append",BETWEEN:"between",PREPEND:"prepend",SOLE:"sole"},l=o().oneOf(Object.values(a)),d=o().oneOf(Object.values(i)),p=o().oneOf(Object.values(c)),f=o().oneOf(Object.values(u));const h={animation:a,animationPropTypes:l,condition:{BASE:"base",DANGER:"danger",PRIMARY:"primary",SUCCESS:"success",WARNING:"warning",INFO:"info"},ink:i,inkPropTypes:d,layout:s,layoutPropTypes:o().oneOf(Object.values(s)),look:c,lookPropTypes:p,fallbackColors:{SHADE:"#000000",INFO:"#0000ff",TEXT:"#010101",PAPER:"#fefefe"},format:{HTML:"html",SVG:"svg"},oneOfPropTypeAndCompletelyMapped:function(e,t){return o().oneOf(Object.values(e))},position:u,positionPropTypes:f}},57488:(e,t,n)=>{"use strict";n.d(t,{t7:()=>r});var r=n(47616).A},26166:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(36944),o=n.n(r),a=n(47616),i=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"rem";return"".concat(o()(s(t,e,n),3)).concat(r)},s=function(e,t,n){return Math.pow(n,t)*e};const c={declareScale:i,exponentiate:s,font:function(e,t){return function(n){return i(e,a.A.fontSize("base")(n),a.A.fontSize("factor")(n),t)}},space:function(e,t){return function(n){return i(e,a.A.space("base")(n),a.A.space("factor")(n),t)}}}},47616:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(58156),o=n.n(r),a=n(94200),i=function(e){return 0===Object.keys(e).length?a.A:e};const s={color:function(e){return function(t){var n=t.theme;return o()(i(n),"colors.".concat(e))}},fontFamily:function(e){return function(t){var n=t.theme;return o()(i(n),"fontFamily.".concat(e))}},fontSize:function(e){return function(t){var n=t.theme;return o()(i(n),"fontSize.".concat(e))}},fontWeight:function(e){return function(t){var n=t.theme;return o()(i(n),"fontWeights.".concat(e))}},lineHeight:function(e){return function(t){var n=t.theme;return o()(i(n),"lineHeights.".concat(e))}},radii:function(e){return function(t){var n=t.theme;return o()(i(n),"radii.".concat(e))}},space:function(e){return function(t){var n=t.theme;return o()(i(n),"space.".concat(e))}},specificProperty:function(e){return function(t){var n=t.theme;return o()(i(n),"specificProperties.".concat(e))}}}},3388:(e,t,n)=>{"use strict";n.d(t,{FF:()=>o,Rm:()=>a,vV:()=>r});var r=function(){window.console&&(console.error||console.log).apply(void 0,arguments)},o=function(){window.console&&(console.warn||console.log).apply(void 0,arguments)},a=function(){var e;window.console&&(e=console).log.apply(e,arguments)}},19461:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(3388);const o={log:r.Rm,logError:r.vV,logWarning:r.FF}},32224:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(19609);const o={millisecondsToDuration:r.ss,formatDuration:r.a3,getDateFnsLocale:r.Me,getLocalizedDateFormat:r.Rj,getLocalizedDateTimeFormat:r.ax,getLocalizedDateFormatWithoutPunctuation:r.zQ,getLocalizedDateTimeFormatWithoutPunctuation:r.yX,getTimeZone:r.O,useTwoDigitYear:r.EQ,setCurrentTime:r.hW,selectUnit:r.xb}},19609:(e,t,n)=>{"use strict";n.d(t,{EQ:()=>x,Me:()=>g,O:()=>S,Rj:()=>v,a3:()=>m,ax:()=>y,hW:()=>O,ss:()=>h,xb:()=>k,yX:()=>w,zQ:()=>b});var r=n(14533),o=n(40337),a=n(74279),i=n(4155),s=n(81007),c=n(36374),u=n(86688),l=n(14501),d=n(75867),p=n(95494),f=n(98166),h=function(e){if(!e&&0!==e)return{hours:"",minutes:"",seconds:""};var t=(0,f.O5)(e/1e3%60,3);e-=Math.round(1e3*t);var n=parseInt(e/6e4%60);e-=1e3*n*60;var r=parseInt(e/36e5);return(n<0||r<0)&&(t=Math.abs(t)),r<0&&(n=Math.abs(n)),{hours:r,minutes:n,seconds:t}},m=function(e){var t=h(e),n=t.hours,r=t.minutes,o=t.seconds,a="".concat(n.toString().padStart(2,"0"),":").concat(r.toString().padStart(2,"0")),i="".concat(a,":").concat(o.toFixed(3).padStart(6,"0"));return o?i:a},g=function(e){switch(e){case"fr":return d.O;case"en":return l.c;case"it":return p.it;default:return u.de}},v=function(e){return g(e).formatLong.date({width:"short"})},y=function(e){return"".concat(v(e)," HH:mm")},b=function(e){return v(e).replace(/[/.]/g,"")},w=function(e){return"".concat(b(e)," HHmm")},x=function(e){return e.replace(/y+/,"yy")},O=function(e){var t=new Date,n=new Date(e);return n=(0,r.a)(n,(0,o.q)(t)),n=(0,a.g)(n,(0,i.O)(t)),n=(0,s.g)(n,0),n=(0,c.$)(n,0)},k=function(e){var t=864e5,n=e-(new Date).getTime();if(n>-864e5){var r=Math.round(n/1e3);return r>-60?{diffValue:r,unit:"second"}:r>-3600?{diffValue:Math.ceil(r/60),unit:"minute"}:{diffValue:Math.ceil(r/3600),unit:"hour"}}var o=Math.round(n/t);return o>-30?{diffValue:o,unit:"day"}:o>-365?{diffValue:Math.ceil(o/30),unit:"month"}:{diffValue:Math.ceil(o/365),unit:"year"}},S=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone}},58169:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,r:()=>u});var r=n(26396),o=n.n(r),a=n(19461),i=n(44984),s=n(74848);function c(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}var u=function(e){var t=e.mapping;return t[(0,i.M7)()||i.w2.admin]||t[i.w2.admin]};const l=function(e){var t=e.mapping;e.propTypes;return function(e){var n=u({mapping:t});return n||a.A.logError("Unable to render embed component: No embed component defined."),(0,s.jsx)(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))}}},44984:(e,t,n)=>{"use strict";n.d(t,{KC:()=>f,K_:()=>g,M7:()=>h,Sk:()=>b,W2:()=>v,Wb:()=>u,Wi:()=>p,YI:()=>x,Zn:()=>l,f:()=>m,fG:()=>O,hZ:()=>i,ne:()=>d,o6:()=>w,w2:()=>a,wE:()=>c,wP:()=>y,wU:()=>o});var r=n(19461),o="__n-u-l-l__",a={admin:"admin",legacyAdmin:"legacy-admin",widget:"widget",legacyWidget:"legacy-widget"},i=Object.values(a),s={backendUrl:void 0,businessUnit:void 0,ruleProvider:void 0,embedType:a.admin,widgetConfigKey:void 0,widgetShowcase:void 0},c=function(){return s.backendUrl||""},u=function(e){s.backendUrl=e},l=function(){return s.businessUnit},d=function(e){s.businessUnit=e},p=function(){return s.ruleProvider},f=function(e){s.ruleProvider=e},h=function(){return s.embedType},m=function(){var e=h();return[a.admin,a.legacyAdmin].includes(e)},g=function(){var e=h();return[a.widget].includes(e)},v=function(e){i.includes(e)?s.embedType=e:r.A.logError("'".concat(e,"' as embedType is not allowed. Allowed embedTypes are: ").concat(i.join(", ")))},y=function(){return s.widgetConfigKey},b=function(e){s.widgetConfigKey=e},w=function(){return s.widgetShowcase},x=function(e){s.widgetShowcase=e},O=function(){return{backendUrl:s.backendUrl,businessUnit:s.businessUnit,appContext:{embedType:s.embedType,widgetConfigKey:s.widgetConfigKey,widgetShowcase:s.widgetShowcase}}}},8062:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(44984),o=function(e){var t,n,o,a,i,s;(e.backendUrl&&(0,r.Wb)(e.backendUrl),e.businessUnit&&(0,r.ne)(e.businessUnit),e.ruleProvider&&(0,r.KC)(e.ruleProvider),null!==(t=e.appContext)&&void 0!==t&&t.embedType)&&(0,r.W2)(null===(a=e.appContext)||void 0===a?void 0:a.embedType);null!==(n=e.appContext)&&void 0!==n&&n.widgetConfigKey&&(0,r.Sk)(null===(i=e.appContext)||void 0===i?void 0:i.widgetConfigKey);null!==(o=e.appContext)&&void 0!==o&&o.widgetShowcase&&(0,r.YI)(null===(s=e.appContext)||void 0===s?void 0:s.widgetShowcase)}},38159:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(58169),o=n(44984),a=n(8062);const i={EmbedType:o.w2,isInAdminEmbedded:o.f,isInWidgetEmbedded:o.K_,embedStrategyFactory:r.A,embedStrategy:r.r,getBackendUrl:o.wE,setBackendUrl:o.Wb,getBusinessUnit:o.Zn,getRuleProvider:o.Wi,setBusinessUnit:o.ne,setRuleProvider:o.KC,getEmbedType:o.M7,setEmbedType:o.W2,getWidgetConfigKey:o.wP,setWidgetConfigKey:o.Sk,getWidgetShowcase:o.o6,setWidgetShowcase:o.YI,asInputProps:o.fG,NULL_BUSINESS_UNIT:o.wU,ALLOWED_EMBED_TYPES:o.hZ,setInputEnvs:a.T}},98166:(e,t,n)=>{"use strict";n.d(t,{O5:()=>o,O9:()=>i,Yd:()=>r,lW:()=>a});var r=function(e){return e&&Array.isArray(e)?e.length>0?e[0]:[]:e},o=function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n},a=function(e){return navigator.clipboard?navigator.clipboard.writeText(e):Promise.reject(new Error("navigator.clipboard API not available"))},i=function(e){return null!=e}},84847:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={getOriginId:n(29272).A}},29272:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(18562),o="_tocco_originId";const a=function(){if(sessionStorage.getItem(o))return sessionStorage.getItem(o);var e="".concat("client_","_").concat((0,r.A)());return sessionStorage.setItem(o,e),e}},79253:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(46544);const o={prepareHeaders:r.qp,prepareUrl:r.Ne,executeRequest:r.Vc,extractBody:r.i9}},46544:(e,t,n)=>{"use strict";n.d(t,{Ne:()=>h,Vc:()=>m,i9:()=>g,qp:()=>f});var r=n(26396),o=n.n(r),a=n(85735),i=n.n(a),s=n(32224),c=n(38159),u=n(84847);function l(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p={method:"GET",credentials:"include"},f=function(e){var t=function(e){if(e){if(e instanceof Headers)return e;if("object"===i()(e))return new Headers(e)}return new Headers}(e.headers),n=e.body;return t.has("Content-Type")||("string"==typeof n?t.set("Content-Type","text/plain"):n instanceof FormData||t.set("Content-Type","application/json")),t.has("X-Origin-Id")||t.set("X-Origin-Id",u.A.getOriginId()),!t.has("X-Business-Unit")&&c.A.getBusinessUnit()&&t.set("X-Business-Unit",c.A.getBusinessUnit()),t.has("X-Client")||t.set("X-Client",c.A.isInAdminEmbedded()?"client":"widget"),c.A.getRuleProvider()&&t.set("X-Rule-Provider-Id",c.A.getRuleProvider()),t.has("X-Timezone")||t.set("X-Timezone",s.A.getTimeZone()),t},h=function(e,t){return t.startsWith("/")&&(t=t.substring(1)),t.startsWith("http")?t:t.startsWith("nice2")?"".concat(e,"/").concat(t):"".concat(e,"/nice2/").concat(t)},m=function(e){var t=function(e){return d(d(d({},p),e),{},{headers:f(e)})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),n=c.A.getBackendUrl(),r=h(n,e);return fetch(r,t)},g=function(e){return e.json()}},71508:e=>{function t(e){var n,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(n=0;n<a;n++)e[n]&&(r=t(e[n]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function n(){for(var e,n,r=0,o="",a=arguments.length;r<a;r++)(e=arguments[r])&&(n=t(e))&&(o&&(o+=" "),o+=n);return o}e.exports=n,e.exports.clsx=n},2063:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(31601),o=n.n(r),a=n(76314),i=n.n(a)()(o());i.push([e.id,'@charset "UTF-8";\n.react-datepicker__navigation-icon::before, .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view--down-arrow {\n border-color: #ccc;\n border-style: solid;\n border-width: 3px 3px 0 0;\n content: "";\n display: block;\n height: 9px;\n position: absolute;\n top: 6px;\n width: 9px;\n}\n.react-datepicker-wrapper {\n display: inline-block;\n padding: 0;\n border: 0;\n}\n\n.react-datepicker {\n font-family: "Helvetica Neue", helvetica, arial, sans-serif;\n font-size: 0.8rem;\n background-color: #fff;\n color: #000;\n border: 1px solid #aeaeae;\n border-radius: 0.3rem;\n display: inline-block;\n position: relative;\n line-height: initial;\n}\n\n.react-datepicker--time-only .react-datepicker__time-container {\n border-left: 0;\n}\n.react-datepicker--time-only .react-datepicker__time,\n.react-datepicker--time-only .react-datepicker__time-box {\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n}\n\n.react-datepicker-popper {\n z-index: 1;\n line-height: 0;\n}\n.react-datepicker-popper .react-datepicker__triangle {\n stroke: #aeaeae;\n}\n.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {\n fill: #f0f0f0;\n color: #f0f0f0;\n}\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {\n fill: #fff;\n color: #fff;\n}\n\n.react-datepicker__header {\n text-align: center;\n background-color: #f0f0f0;\n border-bottom: 1px solid #aeaeae;\n border-top-left-radius: 0.3rem;\n padding: 8px 0;\n position: relative;\n}\n.react-datepicker__header--time {\n padding-bottom: 8px;\n padding-left: 5px;\n padding-right: 5px;\n}\n.react-datepicker__header--time:not(.react-datepicker__header--time--only) {\n border-top-left-radius: 0;\n}\n.react-datepicker__header:not(.react-datepicker__header--has-time-select) {\n border-top-right-radius: 0.3rem;\n}\n\n.react-datepicker__year-dropdown-container--select,\n.react-datepicker__month-dropdown-container--select,\n.react-datepicker__month-year-dropdown-container--select,\n.react-datepicker__year-dropdown-container--scroll,\n.react-datepicker__month-dropdown-container--scroll,\n.react-datepicker__month-year-dropdown-container--scroll {\n display: inline-block;\n margin: 0 15px;\n}\n\n.react-datepicker__current-month,\n.react-datepicker-time__header,\n.react-datepicker-year-header {\n margin-top: 0;\n color: #000;\n font-weight: bold;\n font-size: 0.944rem;\n}\n\nh2.react-datepicker__current-month {\n padding: 0;\n margin: 0;\n}\n\n.react-datepicker-time__header {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n\n.react-datepicker__navigation {\n align-items: center;\n background: none;\n display: flex;\n justify-content: center;\n text-align: center;\n cursor: pointer;\n position: absolute;\n top: 2px;\n padding: 0;\n border: none;\n z-index: 1;\n height: 32px;\n width: 32px;\n text-indent: -999em;\n overflow: hidden;\n}\n.react-datepicker__navigation--previous {\n left: 2px;\n}\n.react-datepicker__navigation--next {\n right: 2px;\n}\n.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {\n right: 85px;\n}\n.react-datepicker__navigation--years {\n position: relative;\n top: 0;\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n.react-datepicker__navigation--years-previous {\n top: 4px;\n}\n.react-datepicker__navigation--years-upcoming {\n top: -4px;\n}\n.react-datepicker__navigation:hover *::before {\n border-color: rgb(165.75, 165.75, 165.75);\n}\n\n.react-datepicker__navigation-icon {\n position: relative;\n top: -1px;\n font-size: 20px;\n width: 0;\n}\n.react-datepicker__navigation-icon--next {\n left: -2px;\n}\n.react-datepicker__navigation-icon--next::before {\n transform: rotate(45deg);\n left: -7px;\n}\n.react-datepicker__navigation-icon--previous {\n right: -2px;\n}\n.react-datepicker__navigation-icon--previous::before {\n transform: rotate(225deg);\n right: -7px;\n}\n\n.react-datepicker__month-container {\n float: left;\n}\n\n.react-datepicker__year {\n margin: 0.4rem;\n text-align: center;\n}\n.react-datepicker__year-wrapper {\n display: flex;\n flex-wrap: wrap;\n max-width: 180px;\n}\n.react-datepicker__year .react-datepicker__year-text {\n display: inline-block;\n width: 4rem;\n margin: 2px;\n}\n\n.react-datepicker__month {\n margin: 0.4rem;\n text-align: center;\n}\n.react-datepicker__month .react-datepicker__month-text,\n.react-datepicker__month .react-datepicker__quarter-text {\n display: inline-block;\n width: 4rem;\n margin: 2px;\n}\n\n.react-datepicker__input-time-container {\n clear: both;\n width: 100%;\n float: left;\n margin: 5px 0 10px 15px;\n text-align: left;\n}\n.react-datepicker__input-time-container .react-datepicker-time__caption {\n display: inline-block;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container {\n display: inline-block;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input {\n display: inline-block;\n margin-left: 10px;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input {\n width: auto;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time] {\n -moz-appearance: textfield;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter {\n margin-left: 5px;\n display: inline-block;\n}\n\n.react-datepicker__time-container {\n float: right;\n border-left: 1px solid #aeaeae;\n width: 85px;\n}\n.react-datepicker__time-container--with-today-button {\n display: inline;\n border: 1px solid #aeaeae;\n border-radius: 0.3rem;\n position: absolute;\n right: -87px;\n top: 0;\n}\n.react-datepicker__time-container .react-datepicker__time {\n position: relative;\n background: white;\n border-bottom-right-radius: 0.3rem;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {\n width: 85px;\n overflow-x: hidden;\n margin: 0 auto;\n text-align: center;\n border-bottom-right-radius: 0.3rem;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {\n list-style: none;\n margin: 0;\n height: calc(195px + 1.7rem / 2);\n overflow-y: scroll;\n padding-right: 0;\n padding-left: 0;\n width: 100%;\n box-sizing: content-box;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {\n height: 30px;\n padding: 5px 10px;\n white-space: nowrap;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {\n cursor: pointer;\n background-color: #f0f0f0;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {\n background-color: #216ba5;\n color: white;\n font-weight: bold;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {\n background-color: #216ba5;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {\n color: #ccc;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {\n cursor: default;\n background-color: transparent;\n}\n\n.react-datepicker__week-number {\n color: #ccc;\n display: inline-block;\n width: 1.7rem;\n line-height: 1.7rem;\n text-align: center;\n margin: 0.166rem;\n}\n.react-datepicker__week-number.react-datepicker__week-number--clickable {\n cursor: pointer;\n}\n.react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected):hover {\n border-radius: 0.3rem;\n background-color: #f0f0f0;\n}\n.react-datepicker__week-number--selected {\n border-radius: 0.3rem;\n background-color: #216ba5;\n color: #fff;\n}\n.react-datepicker__week-number--selected:hover {\n background-color: rgb(28.75, 93.2196969697, 143.75);\n}\n\n.react-datepicker__day-names {\n white-space: nowrap;\n margin-bottom: -8px;\n}\n\n.react-datepicker__week {\n white-space: nowrap;\n}\n\n.react-datepicker__day-name,\n.react-datepicker__day,\n.react-datepicker__time-name {\n color: #000;\n display: inline-block;\n width: 1.7rem;\n line-height: 1.7rem;\n text-align: center;\n margin: 0.166rem;\n}\n\n.react-datepicker__day,\n.react-datepicker__month-text,\n.react-datepicker__quarter-text,\n.react-datepicker__year-text {\n cursor: pointer;\n}\n.react-datepicker__day:not([aria-disabled=true]):hover,\n.react-datepicker__month-text:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text:not([aria-disabled=true]):hover,\n.react-datepicker__year-text:not([aria-disabled=true]):hover {\n border-radius: 0.3rem;\n background-color: #f0f0f0;\n}\n.react-datepicker__day--today,\n.react-datepicker__month-text--today,\n.react-datepicker__quarter-text--today,\n.react-datepicker__year-text--today {\n font-weight: bold;\n}\n.react-datepicker__day--highlighted,\n.react-datepicker__month-text--highlighted,\n.react-datepicker__quarter-text--highlighted,\n.react-datepicker__year-text--highlighted {\n border-radius: 0.3rem;\n background-color: #3dcc4a;\n color: #fff;\n}\n.react-datepicker__day--highlighted:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--highlighted:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--highlighted:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--highlighted:not([aria-disabled=true]):hover {\n background-color: rgb(49.8551020408, 189.6448979592, 62.5632653061);\n}\n.react-datepicker__day--highlighted-custom-1,\n.react-datepicker__month-text--highlighted-custom-1,\n.react-datepicker__quarter-text--highlighted-custom-1,\n.react-datepicker__year-text--highlighted-custom-1 {\n color: magenta;\n}\n.react-datepicker__day--highlighted-custom-2,\n.react-datepicker__month-text--highlighted-custom-2,\n.react-datepicker__quarter-text--highlighted-custom-2,\n.react-datepicker__year-text--highlighted-custom-2 {\n color: green;\n}\n.react-datepicker__day--holidays,\n.react-datepicker__month-text--holidays,\n.react-datepicker__quarter-text--holidays,\n.react-datepicker__year-text--holidays {\n position: relative;\n border-radius: 0.3rem;\n background-color: #ff6803;\n color: #fff;\n}\n.react-datepicker__day--holidays .overlay,\n.react-datepicker__month-text--holidays .overlay,\n.react-datepicker__quarter-text--holidays .overlay,\n.react-datepicker__year-text--holidays .overlay {\n position: absolute;\n bottom: 100%;\n left: 50%;\n transform: translateX(-50%);\n background-color: #333;\n color: #fff;\n padding: 4px;\n border-radius: 4px;\n white-space: nowrap;\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s, opacity 0.3s ease-in-out;\n}\n.react-datepicker__day--holidays:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--holidays:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--holidays:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--holidays:not([aria-disabled=true]):hover {\n background-color: rgb(207, 82.9642857143, 0);\n}\n.react-datepicker__day--holidays:hover .overlay,\n.react-datepicker__month-text--holidays:hover .overlay,\n.react-datepicker__quarter-text--holidays:hover .overlay,\n.react-datepicker__year-text--holidays:hover .overlay {\n visibility: visible;\n opacity: 1;\n}\n.react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range,\n.react-datepicker__month-text--selected,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--selected,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--selected,\n.react-datepicker__year-text--in-selecting-range,\n.react-datepicker__year-text--in-range {\n border-radius: 0.3rem;\n background-color: #216ba5;\n color: #fff;\n}\n.react-datepicker__day--selected:not([aria-disabled=true]):hover, .react-datepicker__day--in-selecting-range:not([aria-disabled=true]):hover, .react-datepicker__day--in-range:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--selected:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--in-selecting-range:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--in-range:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--selected:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--in-selecting-range:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--in-range:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--selected:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--in-selecting-range:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--in-range:not([aria-disabled=true]):hover {\n background-color: rgb(28.75, 93.2196969697, 143.75);\n}\n.react-datepicker__day--keyboard-selected,\n.react-datepicker__month-text--keyboard-selected,\n.react-datepicker__quarter-text--keyboard-selected,\n.react-datepicker__year-text--keyboard-selected {\n border-radius: 0.3rem;\n background-color: rgb(186.25, 217.0833333333, 241.25);\n color: rgb(0, 0, 0);\n}\n.react-datepicker__day--keyboard-selected:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--keyboard-selected:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--keyboard-selected:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--keyboard-selected:not([aria-disabled=true]):hover {\n background-color: rgb(28.75, 93.2196969697, 143.75);\n}\n.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range) {\n background-color: rgba(33, 107, 165, 0.5);\n}\n.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range), .react-datepicker__year--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__year--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__year--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__year--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range) {\n background-color: #f0f0f0;\n color: #000;\n}\n.react-datepicker__day--disabled,\n.react-datepicker__month-text--disabled,\n.react-datepicker__quarter-text--disabled,\n.react-datepicker__year-text--disabled {\n cursor: default;\n color: #ccc;\n}\n.react-datepicker__day--disabled .overlay,\n.react-datepicker__month-text--disabled .overlay,\n.react-datepicker__quarter-text--disabled .overlay,\n.react-datepicker__year-text--disabled .overlay {\n position: absolute;\n bottom: 70%;\n left: 50%;\n transform: translateX(-50%);\n background-color: #333;\n color: #fff;\n padding: 4px;\n border-radius: 4px;\n white-space: nowrap;\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s, opacity 0.3s ease-in-out;\n}\n\n.react-datepicker__input-container {\n position: relative;\n display: inline-block;\n width: 100%;\n}\n.react-datepicker__input-container .react-datepicker__calendar-icon {\n position: absolute;\n padding: 0.5rem;\n box-sizing: content-box;\n}\n\n.react-datepicker__view-calendar-icon input {\n padding: 6px 10px 5px 25px;\n}\n\n.react-datepicker__year-read-view,\n.react-datepicker__month-read-view,\n.react-datepicker__month-year-read-view {\n border: 1px solid transparent;\n border-radius: 0.3rem;\n position: relative;\n}\n.react-datepicker__year-read-view:hover,\n.react-datepicker__month-read-view:hover,\n.react-datepicker__month-year-read-view:hover {\n cursor: pointer;\n}\n.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {\n border-top-color: rgb(178.5, 178.5, 178.5);\n}\n.react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view--down-arrow {\n transform: rotate(135deg);\n right: -16px;\n top: 0;\n}\n\n.react-datepicker__year-dropdown,\n.react-datepicker__month-dropdown,\n.react-datepicker__month-year-dropdown {\n background-color: #f0f0f0;\n position: absolute;\n width: 50%;\n left: 25%;\n top: 30px;\n z-index: 1;\n text-align: center;\n border-radius: 0.3rem;\n border: 1px solid #aeaeae;\n}\n.react-datepicker__year-dropdown:hover,\n.react-datepicker__month-dropdown:hover,\n.react-datepicker__month-year-dropdown:hover {\n cursor: pointer;\n}\n.react-datepicker__year-dropdown--scrollable,\n.react-datepicker__month-dropdown--scrollable,\n.react-datepicker__month-year-dropdown--scrollable {\n height: 150px;\n overflow-y: scroll;\n}\n\n.react-datepicker__year-option,\n.react-datepicker__month-option,\n.react-datepicker__month-year-option {\n line-height: 20px;\n width: 100%;\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n.react-datepicker__year-option:first-of-type,\n.react-datepicker__month-option:first-of-type,\n.react-datepicker__month-year-option:first-of-type {\n border-top-left-radius: 0.3rem;\n border-top-right-radius: 0.3rem;\n}\n.react-datepicker__year-option:last-of-type,\n.react-datepicker__month-option:last-of-type,\n.react-datepicker__month-year-option:last-of-type {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n}\n.react-datepicker__year-option:hover,\n.react-datepicker__month-option:hover,\n.react-datepicker__month-year-option:hover {\n background-color: #ccc;\n}\n.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,\n.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,\n.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {\n border-bottom-color: rgb(178.5, 178.5, 178.5);\n}\n.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,\n.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,\n.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {\n border-top-color: rgb(178.5, 178.5, 178.5);\n}\n.react-datepicker__year-option--selected,\n.react-datepicker__month-option--selected,\n.react-datepicker__month-year-option--selected {\n position: absolute;\n left: 15px;\n}\n\n.react-datepicker__close-icon {\n cursor: pointer;\n background-color: transparent;\n border: 0;\n outline: 0;\n padding: 0 6px 0 0;\n position: absolute;\n top: 0;\n right: 0;\n height: 100%;\n display: table-cell;\n vertical-align: middle;\n}\n.react-datepicker__close-icon::after {\n cursor: pointer;\n background-color: #216ba5;\n color: #fff;\n border-radius: 50%;\n height: 16px;\n width: 16px;\n padding: 2px;\n font-size: 12px;\n line-height: 1;\n text-align: center;\n display: table-cell;\n vertical-align: middle;\n content: "×";\n}\n.react-datepicker__close-icon--disabled {\n cursor: default;\n}\n.react-datepicker__close-icon--disabled::after {\n cursor: default;\n background-color: #ccc;\n}\n\n.react-datepicker__today-button {\n background: #f0f0f0;\n border-top: 1px solid #aeaeae;\n cursor: pointer;\n text-align: center;\n font-weight: bold;\n padding: 5px 0;\n clear: left;\n}\n\n.react-datepicker__portal {\n position: fixed;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.8);\n left: 0;\n top: 0;\n justify-content: center;\n align-items: center;\n display: flex;\n z-index: 2147483647;\n}\n.react-datepicker__portal .react-datepicker__day-name,\n.react-datepicker__portal .react-datepicker__day,\n.react-datepicker__portal .react-datepicker__time-name {\n width: 3rem;\n line-height: 3rem;\n}\n@media (max-width: 400px), (max-height: 550px) {\n .react-datepicker__portal .react-datepicker__day-name,\n .react-datepicker__portal .react-datepicker__day,\n .react-datepicker__portal .react-datepicker__time-name {\n width: 2rem;\n line-height: 2rem;\n }\n}\n.react-datepicker__portal .react-datepicker__current-month,\n.react-datepicker__portal .react-datepicker-time__header {\n font-size: 1.44rem;\n}\n\n.react-datepicker__children-container {\n width: 13.8rem;\n margin: 0.4rem;\n padding-right: 0.2rem;\n padding-left: 0.2rem;\n height: auto;\n}\n\n.react-datepicker__aria-live {\n position: absolute;\n clip-path: circle(0);\n border: 0;\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n width: 1px;\n white-space: nowrap;\n}\n\n.react-datepicker__calendar-icon {\n width: 1em;\n height: 1em;\n vertical-align: -0.125em;\n}\n',""]);const s=i},27752:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(31601),o=n.n(r),a=n(76314),i=n.n(a)()(o());i.push([e.id,"@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap);"]),i.push([e.id,"\n",""]);const s=i},76314: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,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(i[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);r&&i[l[0]]||(void 0!==a&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=a),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},31601:e=>{"use strict";e.exports=function(e){return e[1]}},30454:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),r=new RegExp("("+t+")+","gi");function o(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function a(e){try{return decodeURIComponent(e)}catch(a){for(var t=e.match(n)||[],r=1;r<t.length;r++)t=(e=o(t,r).join("")).match(n)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var o=a(n[0]);o!==n[0]&&(t[n[0]]=o)}n=r.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),s=0;s<i.length;s++){var c=i[s];e=e.replace(new RegExp(c,"g"),t[c])}return e}(e)}}},73055:e=>{"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),a=0;a<r.length;a++){var i=r[a],s=e[i];(o?-1!==t.indexOf(i):t(i,s,e))&&(n[i]=s)}return n}},4146:(e,t,n)=>{"use strict";var r=n(44363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var u=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var i=l(n);d&&(i=i.concat(d(n)));for(var s=c(t),m=c(n),g=0;g<i.length;++g){var v=i[g];if(!(a[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=p(n,v);try{u(t,v,y)}catch(e){}}}}return t}},62587:(e,t,n)=>{"use strict";n.d(t,{S:()=>u});var r=n(77801),o=n(54819),a=n(92960),i=n(31071);function s(e,t){return t?Object.keys(e).reduce((function(n,o){var a,i;return n[o]=(a=e[o],(i=t[o])?(0,r.Cl)((0,r.Cl)((0,r.Cl)({},a||{}),i||{}),Object.keys(a).reduce((function(e,t){return e[t]=(0,r.Cl)((0,r.Cl)({},a[t]),i[t]||{}),e}),{})):a),n}),(0,r.Cl)({},e)):e}function c(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}var u=function(){function e(t,n,a,u){void 0===n&&(n=e.defaultLocale);var l,d=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=d.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===i.TT.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(0,i.hN)(d.ast,d.locales,d.formatters,d.formats,e,void 0,d.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=d.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(d.locales)[0]}},this.getAst=function(){return d.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 p=u||{},f=(p.formatters,(0,r.Tt)(p,["formatters"]));this.ast=e.__parse(t,(0,r.Cl)((0,r.Cl)({},f),{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=s(e.formats,a),this.formatters=u&&u.formatters||(void 0===(l=this.formatterCache)&&(l={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,o.B)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,(0,r.fX)([void 0],t,!1)))}),{cache:c(l.number),strategy:o.W.variadic}),getDateTimeFormat:(0,o.B)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,r.fX)([void 0],t,!1)))}),{cache:c(l.dateTime),strategy:o.W.variadic}),getPluralRules:(0,o.B)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,(0,r.fX)([void 0],t,!1)))}),{cache:c(l.pluralRules),strategy:o.W.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=a.qg,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}()},11732:(e,t,n)=>{"use strict";n.d(t,{$x:()=>i,Ei:()=>c,IF:()=>a,O4:()=>r,Zo:()=>s});var r,o=n(77801);!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(r||(r={}));var a=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return(0,o.C6)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),i=function(e){function t(t,n,o,a){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(o).join('", "'),'"'),r.INVALID_VALUE,a)||this}return(0,o.C6)(t,e),t}(a),s=function(e){function t(t,n,o){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),r.INVALID_VALUE,o)||this}return(0,o.C6)(t,e),t}(a),c=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,'"'),r.MISSING_VALUE,n)||this}return(0,o.C6)(t,e),t}(a)},31071:(e,t,n)=>{"use strict";n.d(t,{RK:()=>i,TT:()=>r,hN:()=>s});var r,o=n(92960),a=n(11732);function i(e){return"function"==typeof e}function s(e,t,n,c,u,l,d){if(1===e.length&&(0,o.eW)(e[0]))return[{type:r.literal,value:e[0].value}];for(var p=[],f=0,h=e;f<h.length;f++){var m=h[f];if((0,o.eW)(m))p.push({type:r.literal,value:m.value});else if((0,o.jA)(m))"number"==typeof l&&p.push({type:r.literal,value:n.getNumberFormat(t).format(l)});else{var g=m.value;if(!u||!(g in u))throw new a.Ei(g,d);var v=u[g];if((0,o.Im)(m))v&&"string"!=typeof v&&"number"!=typeof v||(v="string"==typeof v||"number"==typeof v?String(v):""),p.push({type:"string"==typeof v?r.literal:r.object,value:v});else if((0,o.tv)(m)){var y="string"==typeof m.style?c.date[m.style]:(0,o.Tu)(m.style)?m.style.parsedOptions:void 0;p.push({type:r.literal,value:n.getDateTimeFormat(t,y).format(v)})}else if((0,o.Qh)(m)){y="string"==typeof m.style?c.time[m.style]:(0,o.Tu)(m.style)?m.style.parsedOptions:c.time.medium;p.push({type:r.literal,value:n.getDateTimeFormat(t,y).format(v)})}else if((0,o.oF)(m)){(y="string"==typeof m.style?c.number[m.style]:(0,o.N1)(m.style)?m.style.parsedOptions:void 0)&&y.scale&&(v*=y.scale||1),p.push({type:r.literal,value:n.getNumberFormat(t,y).format(v)})}else{if((0,o.xm)(m)){var b=m.children,w=m.value,x=u[w];if(!i(x))throw new a.Zo(w,"function",d);var O=x(s(b,t,n,c,u,l).map((function(e){return e.value})));Array.isArray(O)||(O=[O]),p.push.apply(p,O.map((function(e){return{type:"string"==typeof e?r.literal:r.object,value:e}})))}if((0,o.Jp)(m)){if(!(k=m.options[v]||m.options.other))throw new a.$x(m.value,v,Object.keys(m.options),d);p.push.apply(p,s(k.value,t,n,c,u))}else if((0,o.N6)(m)){var k;if(!(k=m.options["=".concat(v)])){if(!Intl.PluralRules)throw new a.IF('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',a.O4.MISSING_INTL_API,d);var S=n.getPluralRules(t,{type:m.pluralType}).select(v-(m.offset||0));k=m.options[S]||m.options.other}if(!k)throw new a.$x(m.value,v,Object.keys(m.options),d);p.push.apply(p,s(k.value,t,n,c,u,v-(m.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===r.literal&&t.type===r.literal?n.value+=t.value:e.push(t),e}),[])}(p)}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(r||(r={}))},55580:(e,t,n)=>{var r=n(56110)(n(9325),"DataView");e.exports=r},21549:(e,t,n)=>{var r=n(22032),o=n(63862),a=n(66721),i=n(12749),s=n(35749);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},80079:(e,t,n)=>{var r=n(63702),o=n(70080),a=n(24739),i=n(48655),s=n(31175);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},68223:(e,t,n)=>{var r=n(56110)(n(9325),"Map");e.exports=r},53661:(e,t,n)=>{var r=n(63040),o=n(17670),a=n(90289),i=n(4509),s=n(72949);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},32804:(e,t,n)=>{var r=n(56110)(n(9325),"Promise");e.exports=r},76545:(e,t,n)=>{var r=n(56110)(n(9325),"Set");e.exports=r},38859:(e,t,n)=>{var r=n(53661),o=n(31380),a=n(51459);function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},37217:(e,t,n)=>{var r=n(80079),o=n(51420),a=n(90938),i=n(63605),s=n(29817),c=n(80945);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,e.exports=u},51873:(e,t,n)=>{var r=n(9325).Symbol;e.exports=r},37828:(e,t,n)=>{var r=n(9325).Uint8Array;e.exports=r},28303:(e,t,n)=>{var r=n(56110)(n(9325),"WeakMap");e.exports=r},91033:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},63945:e=>{e.exports=function(e,t,n,r){for(var o=-1,a=null==e?0:e.length;++o<a;){var i=e[o];t(r,i,n(i),e)}return r}},83729:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},79770:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},15325:(e,t,n)=>{var r=n(96131);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},29905:e=>{e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},70695:(e,t,n)=>{var r=n(78096),o=n(72428),a=n(56449),i=n(3656),s=n(30361),c=n(37167),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),l=!n&&o(e),d=!n&&!l&&i(e),p=!n&&!l&&!d&&c(e),f=n||l||d||p,h=f?r(e.length,String):[],m=h.length;for(var g in e)!t&&!u.call(e,g)||f&&("length"==g||d&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},34932:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},14528:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},40882:e=>{e.exports=function(e,t,n,r){var o=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++o]);++o<a;)n=t(n,e[o],o,e);return n}},14248:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},87805:(e,t,n)=>{var r=n(43360),o=n(75288);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},16547:(e,t,n)=>{var r=n(43360),o=n(75288),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var i=e[t];a.call(e,t)&&o(i,n)&&(void 0!==n||t in e)||r(e,t,n)}},26025:(e,t,n)=>{var r=n(75288);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},62429:(e,t,n)=>{var r=n(80909);e.exports=function(e,t,n,o){return r(e,(function(e,r,a){t(o,e,n(e),a)})),o}},74733:(e,t,n)=>{var r=n(21791),o=n(95950);e.exports=function(e,t){return e&&r(t,o(t),e)}},43838:(e,t,n)=>{var r=n(21791),o=n(37241);e.exports=function(e,t){return e&&r(t,o(t),e)}},43360:(e,t,n)=>{var r=n(93243);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},9999:(e,t,n)=>{var r=n(37217),o=n(83729),a=n(16547),i=n(74733),s=n(43838),c=n(93290),u=n(23007),l=n(92271),d=n(48948),p=n(50002),f=n(83349),h=n(5861),m=n(76189),g=n(77199),v=n(35529),y=n(56449),b=n(3656),w=n(87730),x=n(23805),O=n(38440),k=n(95950),S=n(37241),E="[object Arguments]",P="[object Function]",j="[object Object]",_={};_[E]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_[j]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_[P]=_["[object WeakMap]"]=!1,e.exports=function e(t,n,D,C,T,M){var A,I=1&n,R=2&n,N=4&n;if(D&&(A=T?D(t,C,T,M):D(t)),void 0!==A)return A;if(!x(t))return t;var L=y(t);if(L){if(A=m(t),!I)return u(t,A)}else{var F=h(t),H=F==P||"[object GeneratorFunction]"==F;if(b(t))return c(t,I);if(F==j||F==E||H&&!T){if(A=R||H?{}:v(t),!I)return R?d(t,s(A,t)):l(t,i(A,t))}else{if(!_[F])return T?t:{};A=g(t,F,I)}}M||(M=new r);var W=M.get(t);if(W)return W;M.set(t,A),O(t)?t.forEach((function(r){A.add(e(r,n,D,r,t,M))})):w(t)&&t.forEach((function(r,o){A.set(o,e(r,n,D,o,t,M))}));var B=L?void 0:(N?R?f:p:R?S:k)(t);return o(B||t,(function(r,o){B&&(r=t[o=r]),a(A,o,e(r,n,D,o,t,M))})),A}},39344:(e,t,n)=>{var r=n(23805),o=Object.create,a=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=a},83915:(e,t,n)=>{var r=n(38859),o=n(15325),a=n(29905),i=n(34932),s=n(27301),c=n(19219);e.exports=function(e,t,n,u){var l=-1,d=o,p=!0,f=e.length,h=[],m=t.length;if(!f)return h;n&&(t=i(t,s(n))),u?(d=a,p=!1):t.length>=200&&(d=c,p=!1,t=new r(t));e:for(;++l<f;){var g=e[l],v=null==n?g:n(g);if(g=u||0!==g?g:0,p&&v==v){for(var y=m;y--;)if(t[y]===v)continue e;h.push(g)}else d(t,v,u)||h.push(g)}return h}},80909:(e,t,n)=>{var r=n(30641),o=n(38329)(r);e.exports=o},2523:e=>{e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},83120:(e,t,n)=>{var r=n(14528),o=n(45891);e.exports=function e(t,n,a,i,s){var c=-1,u=t.length;for(a||(a=o),s||(s=[]);++c<u;){var l=t[c];n>0&&a(l)?n>1?e(l,n-1,a,i,s):r(s,l):i||(s[s.length]=l)}return s}},86649:(e,t,n)=>{var r=n(83221)();e.exports=r},30641:(e,t,n)=>{var r=n(86649),o=n(95950);e.exports=function(e,t){return e&&r(e,t,o)}},47422:(e,t,n)=>{var r=n(31769),o=n(77797);e.exports=function(e,t){for(var n=0,a=(t=r(t,e)).length;null!=e&&n<a;)e=e[o(t[n++])];return n&&n==a?e:void 0}},82199:(e,t,n)=>{var r=n(14528),o=n(56449);e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},72552:(e,t,n)=>{var r=n(51873),o=n(659),a=n(59350),i=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):a(e)}},28077:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},96131:(e,t,n)=>{var r=n(2523),o=n(85463),a=n(76959);e.exports=function(e,t,n){return t==t?a(e,t,n):r(e,o,n)}},27534:(e,t,n)=>{var r=n(72552),o=n(40346);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},60270:(e,t,n)=>{var r=n(87068),o=n(40346);e.exports=function e(t,n,a,i,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,s))}},87068:(e,t,n)=>{var r=n(37217),o=n(25911),a=n(21986),i=n(50689),s=n(5861),c=n(56449),u=n(3656),l=n(37167),d="[object Arguments]",p="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=c(e),b=c(t),w=y?p:s(e),x=b?p:s(t),O=(w=w==d?f:w)==f,k=(x=x==d?f:x)==f,S=w==x;if(S&&u(e)){if(!u(t))return!1;y=!0,O=!1}if(S&&!O)return v||(v=new r),y||l(e)?o(e,t,n,m,g,v):a(e,t,w,n,m,g,v);if(!(1&n)){var E=O&&h.call(e,"__wrapped__"),P=k&&h.call(t,"__wrapped__");if(E||P){var j=E?e.value():e,_=P?t.value():t;return v||(v=new r),g(j,_,n,m,v)}}return!!S&&(v||(v=new r),i(e,t,n,m,g,v))}},29172:(e,t,n)=>{var r=n(5861),o=n(40346);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},41799:(e,t,n)=>{var r=n(37217),o=n(60270);e.exports=function(e,t,n,a){var i=n.length,s=i,c=!a;if(null==e)return!s;for(e=Object(e);i--;){var u=n[i];if(c&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i<s;){var l=(u=n[i])[0],d=e[l],p=u[1];if(c&&u[2]){if(void 0===d&&!(l in e))return!1}else{var f=new r;if(a)var h=a(d,p,l,e,t,f);if(!(void 0===h?o(p,d,3,a,f):h))return!1}}return!0}},85463:e=>{e.exports=function(e){return e!=e}},45083:(e,t,n)=>{var r=n(1882),o=n(87296),a=n(23805),i=n(47473),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,d=u.hasOwnProperty,p=RegExp("^"+l.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||o(e))&&(r(e)?p:s).test(i(e))}},16038:(e,t,n)=>{var r=n(5861),o=n(40346);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},4901:(e,t,n)=>{var r=n(72552),o=n(30294),a=n(40346),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&o(e.length)&&!!i[r(e)]}},15389:(e,t,n)=>{var r=n(93663),o=n(87978),a=n(83488),i=n(56449),s=n(50583);e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):s(e)}},88984:(e,t,n)=>{var r=n(55527),o=n(3650),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},72903:(e,t,n)=>{var r=n(23805),o=n(55527),a=n(90181),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&i.call(e,s))&&n.push(s);return n}},93663:(e,t,n)=>{var r=n(41799),o=n(10776),a=n(89578);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},87978:(e,t,n)=>{var r=n(60270),o=n(58156),a=n(80631),i=n(28586),s=n(30756),c=n(89578),u=n(77797);e.exports=function(e,t){return i(e)&&s(t)?c(u(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},85250:(e,t,n)=>{var r=n(37217),o=n(87805),a=n(86649),i=n(42824),s=n(23805),c=n(37241),u=n(14974);e.exports=function e(t,n,l,d,p){t!==n&&a(n,(function(a,c){if(p||(p=new r),s(a))i(t,n,c,l,e,d,p);else{var f=d?d(u(t,c),a,c+"",t,n,p):void 0;void 0===f&&(f=a),o(t,c,f)}}),c)}},42824:(e,t,n)=>{var r=n(87805),o=n(93290),a=n(71961),i=n(23007),s=n(35529),c=n(72428),u=n(56449),l=n(83693),d=n(3656),p=n(1882),f=n(23805),h=n(11331),m=n(37167),g=n(14974),v=n(69884);e.exports=function(e,t,n,y,b,w,x){var O=g(e,n),k=g(t,n),S=x.get(k);if(S)r(e,n,S);else{var E=w?w(O,k,n+"",e,t,x):void 0,P=void 0===E;if(P){var j=u(k),_=!j&&d(k),D=!j&&!_&&m(k);E=k,j||_||D?u(O)?E=O:l(O)?E=i(O):_?(P=!1,E=o(k,!0)):D?(P=!1,E=a(k,!0)):E=[]:h(k)||c(k)?(E=O,c(O)?E=v(O):f(O)&&!p(O)||(E=s(k))):P=!1}P&&(x.set(k,E),b(E,k,y,w,x),x.delete(k)),r(e,n,E)}}},76001:(e,t,n)=>{var r=n(97420),o=n(80631);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},97420:(e,t,n)=>{var r=n(47422),o=n(73170),a=n(31769);e.exports=function(e,t,n){for(var i=-1,s=t.length,c={};++i<s;){var u=t[i],l=r(e,u);n(l,u)&&o(c,a(u,e),l)}return c}},47237:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},17255:(e,t,n)=>{var r=n(47422);e.exports=function(e){return function(t){return r(t,e)}}},86151:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,r,o,a){for(var i=-1,s=n(t((r-e)/(o||1)),0),c=Array(s);s--;)c[a?s:++i]=e,e+=o;return c}},85558:e=>{e.exports=function(e,t,n,r,o){return o(e,(function(e,o,a){n=r?(r=!1,e):t(n,e,o,a)})),n}},69302:(e,t,n)=>{var r=n(83488),o=n(56757),a=n(32865);e.exports=function(e,t){return a(o(e,t,r),e+"")}},73170:(e,t,n)=>{var r=n(16547),o=n(31769),a=n(30361),i=n(23805),s=n(77797);e.exports=function(e,t,n,c){if(!i(e))return e;for(var u=-1,l=(t=o(t,e)).length,d=l-1,p=e;null!=p&&++u<l;){var f=s(t[u]),h=n;if("__proto__"===f||"constructor"===f||"prototype"===f)return e;if(u!=d){var m=p[f];void 0===(h=c?c(m,f,p):void 0)&&(h=i(m)?m:a(t[u+1])?[]:{})}r(p,f,h),p=p[f]}return e}},25160:e=>{e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r<o;)a[r]=e[r+t];return a}},78096:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},54128:(e,t,n)=>{var r=n(31800),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},27301:e=>{e.exports=function(e){return function(t){return e(t)}}},55765:(e,t,n)=>{var r=n(38859),o=n(15325),a=n(29905),i=n(19219),s=n(44517),c=n(84247);e.exports=function(e,t,n){var u=-1,l=o,d=e.length,p=!0,f=[],h=f;if(n)p=!1,l=a;else if(d>=200){var m=t?null:s(e);if(m)return c(m);p=!1,l=i,h=new r}else h=t?[]:f;e:for(;++u<d;){var g=e[u],v=t?t(g):g;if(g=n||0!==g?g:0,p&&v==v){for(var y=h.length;y--;)if(h[y]===v)continue e;t&&h.push(v),f.push(g)}else l(h,v,n)||(h!==f&&h.push(v),f.push(g))}return f}},19931:(e,t,n)=>{var r=n(31769),o=n(68090),a=n(68969),i=n(77797);e.exports=function(e,t){return t=r(t,e),null==(e=a(e,t))||delete e[i(o(t))]}},19219:e=>{e.exports=function(e,t){return e.has(t)}},31769:(e,t,n)=>{var r=n(56449),o=n(28586),a=n(61802),i=n(13222);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:a(i(e))}},49653:(e,t,n)=>{var r=n(37828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},93290:(e,t,n)=>{e=n.nmd(e);var r=n(9325),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o?r.Buffer:void 0,s=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},76169:(e,t,n)=>{var r=n(49653);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},73201:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},93736:(e,t,n)=>{var r=n(51873),o=r?r.prototype:void 0,a=o?o.valueOf:void 0;e.exports=function(e){return a?Object(a.call(e)):{}}},71961:(e,t,n)=>{var r=n(49653);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},23007:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},21791:(e,t,n)=>{var r=n(16547),o=n(43360);e.exports=function(e,t,n,a){var i=!n;n||(n={});for(var s=-1,c=t.length;++s<c;){var u=t[s],l=a?a(n[u],e[u],u,n,e):void 0;void 0===l&&(l=e[u]),i?o(n,u,l):r(n,u,l)}return n}},92271:(e,t,n)=>{var r=n(21791),o=n(4664);e.exports=function(e,t){return r(e,o(e),t)}},48948:(e,t,n)=>{var r=n(21791),o=n(86375);e.exports=function(e,t){return r(e,o(e),t)}},55481:(e,t,n)=>{var r=n(9325)["__core-js_shared__"];e.exports=r},42e3:(e,t,n)=>{var r=n(63945),o=n(62429),a=n(15389),i=n(56449);e.exports=function(e,t){return function(n,s){var c=i(n)?r:o,u=t?t():{};return c(n,e,a(s,2),u)}}},20999:(e,t,n)=>{var r=n(69302),o=n(36800);e.exports=function(e){return r((function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,s=a>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,s&&o(n[0],n[1],s)&&(i=a<3?void 0:i,a=1),t=Object(t);++r<a;){var c=n[r];c&&e(t,c,r,i)}return t}))}},38329:(e,t,n)=>{var r=n(64894);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var a=n.length,i=t?a:-1,s=Object(n);(t?i--:++i<a)&&!1!==o(s[i],i,s););return n}}},83221:e=>{e.exports=function(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),s=i.length;s--;){var c=i[e?s:++o];if(!1===n(a[c],c,a))break}return t}}},85508:(e,t,n)=>{var r=n(86151),o=n(36800),a=n(17400);e.exports=function(e){return function(t,n,i){return i&&"number"!=typeof i&&o(t,n,i)&&(n=i=void 0),t=a(t),void 0===n?(n=t,t=0):n=a(n),i=void 0===i?t<n?1:-1:a(i),r(t,n,i,e)}}},73893:(e,t,n)=>{var r=n(9325),o=n(61489),a=n(99374),i=n(13222),s=r.isFinite,c=Math.min;e.exports=function(e){var t=Math[e];return function(e,n){if(e=a(e),(n=null==n?0:c(o(n),292))&&s(e)){var r=(i(e)+"e").split("e"),u=t(r[0]+"e"+(+r[1]+n));return+((r=(i(u)+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}},44517:(e,t,n)=>{var r=n(76545),o=n(63950),a=n(84247),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},53138:(e,t,n)=>{var r=n(11331);e.exports=function(e){return r(e)?void 0:e}},93243:(e,t,n)=>{var r=n(56110),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},25911:(e,t,n)=>{var r=n(38859),o=n(14248),a=n(19219);e.exports=function(e,t,n,i,s,c){var u=1&n,l=e.length,d=t.length;if(l!=d&&!(u&&d>l))return!1;var p=c.get(e),f=c.get(t);if(p&&f)return p==t&&f==e;var h=-1,m=!0,g=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++h<l;){var v=e[h],y=t[h];if(i)var b=u?i(y,v,h,t,e,c):i(v,y,h,e,t,c);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!o(t,(function(e,t){if(!a(g,t)&&(v===e||s(v,e,n,i,c)))return g.push(t)}))){m=!1;break}}else if(v!==y&&!s(v,y,n,i,c)){m=!1;break}}return c.delete(e),c.delete(t),m}},21986:(e,t,n)=>{var r=n(51873),o=n(37828),a=n(75288),i=n(25911),s=n(20317),c=n(84247),u=r?r.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,d,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var h=1&r;if(f||(f=c),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var g=i(f(e),f(t),r,u,d,p);return p.delete(e),g;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},50689:(e,t,n)=>{var r=n(50002),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,s){var c=1&n,u=r(e),l=u.length;if(l!=r(t).length&&!c)return!1;for(var d=l;d--;){var p=u[d];if(!(c?p in t:o.call(t,p)))return!1}var f=s.get(e),h=s.get(t);if(f&&h)return f==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=c;++d<l;){var v=e[p=u[d]],y=t[p];if(a)var b=c?a(y,v,p,t,e,s):a(v,y,p,e,t,s);if(!(void 0===b?v===y||i(v,y,n,a,s):b)){m=!1;break}g||(g="constructor"==p)}if(m&&!g){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(m=!1)}return s.delete(e),s.delete(t),m}},38816:(e,t,n)=>{var r=n(35970),o=n(56757),a=n(32865);e.exports=function(e){return a(o(e,void 0,r),e+"")}},34840:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},50002:(e,t,n)=>{var r=n(82199),o=n(4664),a=n(95950);e.exports=function(e){return r(e,a,o)}},83349:(e,t,n)=>{var r=n(82199),o=n(86375),a=n(37241);e.exports=function(e){return r(e,a,o)}},12651:(e,t,n)=>{var r=n(74218);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},10776:(e,t,n)=>{var r=n(30756),o=n(95950);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},56110:(e,t,n)=>{var r=n(45083),o=n(10392);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},28879:(e,t,n)=>{var r=n(74335)(Object.getPrototypeOf,Object);e.exports=r},659:(e,t,n)=>{var r=n(51873),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[s]=n:delete e[s]),o}},4664:(e,t,n)=>{var r=n(79770),o=n(63345),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=s},86375:(e,t,n)=>{var r=n(14528),o=n(28879),a=n(4664),i=n(63345),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,a(e)),e=o(e);return t}:i;e.exports=s},5861:(e,t,n)=>{var r=n(55580),o=n(68223),a=n(32804),i=n(76545),s=n(28303),c=n(72552),u=n(47473),l="[object Map]",d="[object Promise]",p="[object Set]",f="[object WeakMap]",h="[object DataView]",m=u(r),g=u(o),v=u(a),y=u(i),b=u(s),w=c;(r&&w(new r(new ArrayBuffer(1)))!=h||o&&w(new o)!=l||a&&w(a.resolve())!=d||i&&w(new i)!=p||s&&w(new s)!=f)&&(w=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case m:return h;case g:return l;case v:return d;case y:return p;case b:return f}return t}),e.exports=w},10392:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},49326:(e,t,n)=>{var r=n(31769),o=n(72428),a=n(56449),i=n(30361),s=n(30294),c=n(77797);e.exports=function(e,t,n){for(var u=-1,l=(t=r(t,e)).length,d=!1;++u<l;){var p=c(t[u]);if(!(d=null!=e&&n(e,p)))break;e=e[p]}return d||++u!=l?d:!!(l=null==e?0:e.length)&&s(l)&&i(p,l)&&(a(e)||o(e))}},22032:(e,t,n)=>{var r=n(81042);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},63862:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},66721:(e,t,n)=>{var r=n(81042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},12749:(e,t,n)=>{var r=n(81042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},35749:(e,t,n)=>{var r=n(81042);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},76189:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},77199:(e,t,n)=>{var r=n(49653),o=n(76169),a=n(73201),i=n(93736),s=n(71961);e.exports=function(e,t,n){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return a(e);case"[object Symbol]":return i(e)}}},35529:(e,t,n)=>{var r=n(39344),o=n(28879),a=n(55527);e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:r(o(e))}},45891:(e,t,n)=>{var r=n(51873),o=n(72428),a=n(56449),i=r?r.isConcatSpreadable:void 0;e.exports=function(e){return a(e)||o(e)||!!(i&&e&&e[i])}},30361:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},36800:(e,t,n)=>{var r=n(75288),o=n(64894),a=n(30361),i=n(23805);e.exports=function(e,t,n){if(!i(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&a(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},28586:(e,t,n)=>{var r=n(56449),o=n(44394),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(i.test(e)||!a.test(e)||null!=t&&e in Object(t))}},74218:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},87296:(e,t,n)=>{var r,o=n(55481),a=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!a&&a in e}},55527:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},30756:(e,t,n)=>{var r=n(23805);e.exports=function(e){return e==e&&!r(e)}},63702:e=>{e.exports=function(){this.__data__=[],this.size=0}},70080:(e,t,n)=>{var r=n(26025),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},24739:(e,t,n)=>{var r=n(26025);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},48655:(e,t,n)=>{var r=n(26025);e.exports=function(e){return r(this.__data__,e)>-1}},31175:(e,t,n)=>{var r=n(26025);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},63040:(e,t,n)=>{var r=n(21549),o=n(80079),a=n(68223);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||o),string:new r}}},17670:(e,t,n)=>{var r=n(12651);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},90289:(e,t,n)=>{var r=n(12651);e.exports=function(e){return r(this,e).get(e)}},4509:(e,t,n)=>{var r=n(12651);e.exports=function(e){return r(this,e).has(e)}},72949:(e,t,n)=>{var r=n(12651);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},20317:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},89578:e=>{e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},62224:(e,t,n)=>{var r=n(50104);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},81042:(e,t,n)=>{var r=n(56110)(Object,"create");e.exports=r},3650:(e,t,n)=>{var r=n(74335)(Object.keys,Object);e.exports=r},90181:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},86009:(e,t,n)=>{e=n.nmd(e);var r=n(34840),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,s=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=s},59350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},74335:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},56757:(e,t,n)=>{var r=n(91033),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var a=arguments,i=-1,s=o(a.length-t,0),c=Array(s);++i<s;)c[i]=a[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=a[i];return u[t]=n(c),r(e,this,u)}}},68969:(e,t,n)=>{var r=n(47422),o=n(25160);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},9325:(e,t,n)=>{var r=n(34840),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},14974:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},31380:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},51459:e=>{e.exports=function(e){return this.__data__.has(e)}},84247:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},32865:e=>{e.exports=function(e){return e}},51420:(e,t,n)=>{var r=n(80079);e.exports=function(){this.__data__=new r,this.size=0}},90938:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},63605:e=>{e.exports=function(e){return this.__data__.get(e)}},29817:e=>{e.exports=function(e){return this.__data__.has(e)}},80945:(e,t,n)=>{var r=n(80079),o=n(68223),a=n(53661);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},76959:e=>{e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},61802:(e,t,n)=>{var r=n(62224),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(a,"$1"):n||e)})),t}));e.exports=i},77797:e=>{e.exports=function(e){return e}},47473:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},31800:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},38221:(e,t,n)=>{var r=n(23805),o=n(10124),a=n(99374),i=Math.max,s=Math.min;e.exports=function(e,t,n){var c,u,l,d,p,f,h=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=c,r=u;return c=u=void 0,h=t,d=e.apply(r,n)}function b(e){var n=e-f;return void 0===f||n>=t||n<0||g&&e-h>=l}function w(){var e=o();if(b(e))return x(e);p=setTimeout(w,function(e){var n=t-(e-f);return g?s(n,l-(e-h)):n}(e))}function x(e){return p=void 0,v&&c?y(e):(c=u=void 0,d)}function O(){var e=o(),n=b(e);if(c=arguments,u=this,f=e,n){if(void 0===p)return function(e){return h=e,p=setTimeout(w,t),m?y(e):d}(f);if(g)return clearTimeout(p),p=setTimeout(w,t),y(f)}return void 0===p&&(p=setTimeout(w,t)),d}return t=a(t)||0,r(n)&&(m=!!n.leading,l=(g="maxWait"in n)?i(a(n.maxWait)||0,t):l,v="trailing"in n?!!n.trailing:v),O.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=f=u=p=void 0},O.flush=function(){return void 0===p?d:x(o())},O}},66245:(e,t,n)=>{var r=n(83915),o=n(83120),a=n(69302),i=n(83693),s=a((function(e,t){return i(e)?r(e,o(t,1,i,!0)):[]}));e.exports=s},75288:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},35970:(e,t,n)=>{var r=n(83120);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},58156:(e,t,n)=>{var r=n(47422);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},94394:(e,t,n)=>{var r=n(43360),o=n(42e3),a=Object.prototype.hasOwnProperty,i=o((function(e,t,n){a.call(e,n)?e[n].push(t):r(e,n,[t])}));e.exports=i},80631:(e,t,n)=>{var r=n(28077),o=n(49326);e.exports=function(e,t){return null!=e&&o(e,t,r)}},83488:e=>{e.exports=function(e){return e}},72428:(e,t,n)=>{var r=n(27534),o=n(40346),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},56449:e=>{var t=Array.isArray;e.exports=t},64894:(e,t,n)=>{var r=n(1882),o=n(30294);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},83693:(e,t,n)=>{var r=n(64894),o=n(40346);e.exports=function(e){return o(e)&&r(e)}},3656:(e,t,n)=>{e=n.nmd(e);var r=n(9325),o=n(89935),a=t&&!t.nodeType&&t,i=a&&e&&!e.nodeType&&e,s=i&&i.exports===a?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;e.exports=c},62193:(e,t,n)=>{var r=n(88984),o=n(5861),a=n(72428),i=n(56449),s=n(64894),c=n(3656),u=n(55527),l=n(37167),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||l(e)||a(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(u(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},2404:(e,t,n)=>{var r=n(60270);e.exports=function(e,t){return r(e,t)}},1882:(e,t,n)=>{var r=n(72552),o=n(23805);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},30294:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},87730:(e,t,n)=>{var r=n(29172),o=n(27301),a=n(86009),i=a&&a.isMap,s=i?o(i):r;e.exports=s},69843:e=>{e.exports=function(e){return null==e}},23805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},40346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},11331:(e,t,n)=>{var r=n(72552),o=n(28879),a=n(40346),i=Function.prototype,s=Object.prototype,c=i.toString,u=s.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},38440:(e,t,n)=>{var r=n(16038),o=n(27301),a=n(86009),i=a&&a.isSet,s=i?o(i):r;e.exports=s},85015:(e,t,n)=>{var r=n(72552),o=n(56449),a=n(40346);e.exports=function(e){return"string"==typeof e||!o(e)&&a(e)&&"[object String]"==r(e)}},44394:(e,t,n)=>{var r=n(72552),o=n(40346);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},37167:(e,t,n)=>{var r=n(4901),o=n(27301),a=n(86009),i=a&&a.isTypedArray,s=i?o(i):r;e.exports=s},95950:(e,t,n)=>{var r=n(70695),o=n(88984),a=n(64894);e.exports=function(e){return a(e)?r(e):o(e)}},37241:(e,t,n)=>{var r=n(70695),o=n(72903),a=n(64894);e.exports=function(e){return a(e)?r(e,!0):o(e)}},68090:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},73916:(e,t,n)=>{var r=n(43360),o=n(30641),a=n(15389);e.exports=function(e,t){var n={};return t=a(t,3),o(e,(function(e,o,a){r(n,o,t(e,o,a))})),n}},50104:(e,t,n)=>{var r=n(53661);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},55364:(e,t,n)=>{var r=n(85250),o=n(20999)((function(e,t,n){r(e,t,n)}));e.exports=o},6048:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},63950:e=>{e.exports=function(){}},10124:(e,t,n)=>{var r=n(9325);e.exports=function(){return r.Date.now()}},90179:(e,t,n)=>{var r=n(34932),o=n(9999),a=n(19931),i=n(31769),s=n(21791),c=n(53138),u=n(38816),l=n(83349),d=u((function(e,t){var n={};if(null==e)return n;var u=!1;t=r(t,(function(t){return t=i(t,e),u||(u=t.length>1),t})),s(e,l(e),n),u&&(n=o(n,7,c));for(var d=t.length;d--;)a(n,t[d]);return n}));e.exports=d},42194:(e,t,n)=>{var r=n(15389),o=n(6048),a=n(71086);e.exports=function(e,t){return a(e,o(r(t)))}},44383:(e,t,n)=>{var r=n(76001),o=n(38816)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},71086:(e,t,n)=>{var r=n(34932),o=n(15389),a=n(97420),i=n(83349);e.exports=function(e,t){if(null==e)return{};var n=r(i(e),(function(e){return[e]}));return t=o(t),a(e,n,(function(e,n){return t(e,n[0])}))}},50583:(e,t,n)=>{var r=n(47237),o=n(17255),a=n(28586),i=n(77797);e.exports=function(e){return a(e)?r(i(e)):o(e)}},23181:(e,t,n)=>{var r=n(85508)();e.exports=r},40860:(e,t,n)=>{var r=n(40882),o=n(80909),a=n(15389),i=n(85558),s=n(56449);e.exports=function(e,t,n){var c=s(e)?r:i,u=arguments.length<3;return c(e,a(t,4),n,u,o)}},36944:(e,t,n)=>{var r=n(73893)("round");e.exports=r},63560:(e,t,n)=>{var r=n(73170);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},63345:e=>{e.exports=function(){return[]}},89935:e=>{e.exports=function(){return!1}},7350:(e,t,n)=>{var r=n(38221),o=n(23805);e.exports=function(e,t,n){var a=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(a="leading"in n?!!n.leading:a,i="trailing"in n?!!n.trailing:i),r(e,t,{leading:a,maxWait:t,trailing:i})}},17400:e=>{e.exports=function(e){return e}},61489:e=>{e.exports=function(e){return e}},99374:(e,t,n)=>{var r=n(54128),o=n(23805),a=n(44394),i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):i.test(e)?NaN:+e}},69884:(e,t,n)=>{var r=n(21791),o=n(37241);e.exports=function(e){return r(e,o(e))}},13222:e=>{e.exports=function(e){return e}},69752:(e,t,n)=>{var r=n(83729),o=n(39344),a=n(30641),i=n(15389),s=n(28879),c=n(56449),u=n(3656),l=n(1882),d=n(23805),p=n(37167);e.exports=function(e,t,n){var f=c(e),h=f||u(e)||p(e);if(t=i(t,4),null==n){var m=e&&e.constructor;n=h?f?new m:[]:d(e)&&l(m)?o(s(e)):{}}return(h?r:a)(e,(function(e,r,o){return t(n,e,r,o)})),n}},80299:(e,t,n)=>{var r=n(83120),o=n(69302),a=n(55765),i=n(83693),s=o((function(e){return a(r(e,1,i,!0))}));e.exports=s},63375:(e,t,n)=>{var r=n(55765);e.exports=function(e){return e&&e.length?r(e):[]}},73357:(e,t,n)=>{var r=n(19931);e.exports=function(e,t){return null==e||r(e,t)}},48067:(e,t)=>{"use strict";t.YW=function(e,t={}){const{decode:o=decodeURIComponent,loose:a=!0,delimiter:i=n}=t,s=v(e,t),c=p(a,i),u=s.keys.map((e=>{if(o&&("+"===e.modifier||"*"===e.modifier)){const{prefix:t="",suffix:n="",separator:r=n+t}=e,a=new RegExp(c(r),"g");return e=>e.split(a).map(o)}return o||r}));return function(e){const t=s.exec(e);if(!t)return!1;const{0:n,index:r}=t,o=Object.create(null);for(let e=1;e<t.length;e++){if(void 0===t[e])continue;const n=s.keys[e-1],r=u[e-1];o[n.name]=r(t[e])}return{path:n,index:r,params:o}}};const n="/",r=e=>e,o=/^\p{XID_Continue}$/u,a="https://git.new/pathToRegexpError",i={"!":"!","@":"@",";":";",",":",","*":"*","+":"+","?":"?","{":"{","}":"}"};class s{constructor(e){this.tokens=e,this.index=0}peek(){return this.tokens[this.index]}tryConsume(e){const t=this.peek();if(t.type===e)return this.index++,t.value}consume(e){const t=this.tryConsume(e);if(void 0!==t)return t;const{type:n,index:r}=this.peek();throw new TypeError(`Unexpected ${n} at ${r}, expected ${e}: ${a}`)}text(){let e,t="";for(;e=this.tryConsume("CHAR")||this.tryConsume("ESCAPED");)t+=e;return t}modifier(){return this.tryConsume("?")||this.tryConsume("*")||this.tryConsume("+")}}class c{constructor(e,t){this.tokens=e,this.delimiter=t}}function u(e,t={}){const{encodePath:u=r,delimiter:d=u(n)}=t,p=[],f=function(e){const t=[...e],n=[];let r=0;for(;r<t.length;){const e=t[r],a=i[e];if(a)n.push({type:a,index:r++,value:e});else if("\\"!==e)if(":"!==e)if("("!==e)n.push({type:"CHAR",index:r,value:t[r++]});else{const e=r++;let o=1,a="";if("?"===t[r])throw new TypeError(`Pattern cannot start with "?" at ${r}`);for(;r<t.length;)if("\\"!==t[r]){if(")"===t[r]){if(o--,0===o){r++;break}}else if("("===t[r]&&(o++,"?"!==t[r+1]))throw new TypeError(`Capturing groups are not allowed at ${r}`);a+=t[r++]}else a+=t[r++]+t[r++];if(o)throw new TypeError(`Unbalanced pattern at ${e}`);if(!a)throw new TypeError(`Missing pattern at ${e}`);n.push({type:"PATTERN",index:r,value:a})}else{let e="";for(;o.test(t[++r]);)e+=t[r];if(!e)throw new TypeError(`Missing parameter name at ${r}`);n.push({type:"NAME",index:r,value:e})}else n.push({type:"ESCAPED",index:r++,value:t[r++]})}return n.push({type:"END",index:r,value:""}),new s(n)}(e);let h=0;for(;;){const e=f.text();e&&p.push(u(e));const t=f.tryConsume("NAME"),n=f.tryConsume("PATTERN");if(t||n){p.push({name:t||String(h++),pattern:n});const e=f.peek();if("*"===e.type)throw new TypeError(`Unexpected * at ${e.index}, you probably want \`/*\` or \`{/:foo}*\`: ${a}`);continue}if(f.tryConsume("*")){p.push({name:String(h++),pattern:`(?:(?!${l(d)}).)*`,modifier:"*",separator:d});continue}if(!f.tryConsume("{")){f.consume("END");break}{const e=f.text(),t=f.tryConsume("NAME"),n=f.tryConsume("PATTERN"),r=f.text(),o=f.tryConsume(";")&&f.text();f.consume("}");const a=f.modifier();p.push({name:t||(n?String(h++):""),prefix:u(e),suffix:u(r),pattern:n,modifier:a,separator:o})}}return new c(p,d)}function l(e){return e.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}function d(e,t){const n=l(e);return t?`(?:${n})+(?!${n})`:n}function p(e,t){if(!e)return l;const n=new RegExp(`(?:(?!${l(t)}).)+|(.)`,"g");return e=>e.replace(n,d)}function f(e){return e.sensitive?"":"i"}function h(e,t,n,r){const o=e instanceof c?e:u(e,r),{trailing:a=!0,loose:i=!0,start:s=!0,end:d=!0,strict:f=!1}=r,h=p(i,o.delimiter);let g=s?"^":"";return g+=m(o,h,t,n,f).join(""),a&&(g+=`(?:${h(o.delimiter)}$)?`),g+=d?"$":`(?=${l(o.delimiter)}|$)`,g}function m(e,t,n,r,o){const i=`(?:(?!${l(e.delimiter)}).)+?`;let s="",c=!0;return e.tokens.map((e=>{if("string"==typeof e)return s=e,t(e);const{prefix:u="",suffix:l="",separator:d=l+u,modifier:p=""}=e,f=t(u),h=t(l);if(e.name){const m=e.pattern?`(?:${e.pattern})`:i,v=function(e,t,n){try{return new RegExp(`^${e}$`,n)}catch(e){throw new TypeError(`Invalid pattern for "${t}": ${e.message}`)}}(m,e.name,r);if(c||(c=g(v,u||s)),!c)throw new TypeError(`Ambiguous pattern for "${e.name}": ${a}`);if(c=!o||g(v,l),s="",n.push(e),"+"===p||"*"===p){const n="*"===p?"?":"",r=t(d);if(!r)throw new TypeError(`Missing separator for "${e.name}": ${a}`);if(c||(c=!o||g(v,d)),!c)throw new TypeError(`Ambiguous pattern for "${e.name}" separator: ${a}`);return c=!o,`(?:${f}(${m}(?:${r}${m})*)${h})${n}`}return`(?:${f}(${m})${h})${p}`}return`(?:${f}${h})${p}`}))}function g(e,t){return!!t&&!e.test(t)}function v(e,t={}){const n=[],r=f(t);if(Array.isArray(e)){const o=e.map((e=>h(e,n,r,t)));return Object.assign(new RegExp(o.join("|")),{keys:n})}const o=h(e,n,r,t);return Object.assign(new RegExp(o),{keys:n})}},2694:(e,t,n)=>{"use strict";var r=n(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==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:a,resetWarningCache:o};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},86663:(e,t,n)=>{"use strict";const r=n(24280),o=n(30454),a=n(528),i=n(73055),s=Symbol("encodeFragmentIdentifier");function c(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function l(e,t){return t.decode?o(e):e}function d(e){return Array.isArray(e)?e.sort():"object"==typeof e?d(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function f(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function m(e,t){c((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),a="string"==typeof n&&!o&&l(n,e).includes(e.arrayFormatSeparator);n=a?l(n,e):n;const i=o||a?n.split(e.arrayFormatSeparator).map((t=>l(t,e))):null===n?n:l(n,e);r[t]=i};case"bracket-separator":return(t,n,r)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(r[t]=n?l(n,e):n);const a=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>l(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],a):r[t]=a};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;let[e,i]=a(t.decode?o.replace(/\+/g," "):o,"=");i=void 0===i?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?i:l(i,t),n(l(e,t),i,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=h(n[e],t);else r[e]=h(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e}),Object.create(null))}t.extract=f,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";c((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[",o,"]"].join("")]:[...n,[u(t,e),"[",u(o,e),"]=",u(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[]"].join("")]:[...n,[u(t,e),"[]=",u(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),":list="].join("")]:[...n,[u(t,e),":list=",u(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[u(n,e),t,u(o,e)].join("")]:[[r,u(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,u(t,e)]:[...n,[u(t,e),"=",u(r,e)].join("")]}}(t),o={};for(const t of Object.keys(e))n(t)||(o[t]=e[t]);const a=Object.keys(o);return!1!==t.sort&&a.sort(t.sort),a.map((n=>{const o=e[n];return void 0===o?"":null===o?u(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?u(n,t)+"[]":o.reduce(r(n),[]).join("&"):u(n,t)+"="+u(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=a(e,"#");return Object.assign({url:n.split("?")[0]||"",query:m(f(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:l(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=p(e.url).split("?")[0]||"",o=t.extract(e.url),a=t.parse(o,{sort:!1}),i=Object.assign(a,e.query);let c=t.stringify(i,n);c&&(c=`?${c}`);let l=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(l=`#${n[s]?u(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${c}${l}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:o,query:a,fragmentIdentifier:c}=t.parseUrl(e,r);return t.stringifyUrl({url:o,query:i(a,n),fragmentIdentifier:c},r)},t.exclude=(e,n,r)=>{const o=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,o,r)}},29336:(e,t,n)=>{"use strict";var r=n(33567);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==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,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:a,resetWarningCache:o};return n.PropTypes=n,n}},12238:(e,t,n)=>{e.exports=n(29336)()},33567:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},87424:(e,t,n)=>{"use strict";t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=c(n(87695)),a=c(n(59321)),i=c(n(13486)),s=n(36462);function c(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function l(e){return l="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},l(e)}function d(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(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 h(e){return function(){var t,n=g(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=g(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;return m(e)}(this,t)}}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(){return!0},w="suggestions-revealed",x="input-focused",O="input-changed",k="escape-pressed",S=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&&v(e,t)}(u,e);var t,n,o,c=h(u);function u(e){var t,n=e.alwaysRenderSuggestions;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),y(m(t=c.call(this)),"onDocumentMouseDown",(function(e){t.justClickedOnSuggestionsContainer=!1;for(var n=e.detail&&e.detail.target||e.target;null!==n&&n!==document;){if(n.getAttribute&&null!==n.getAttribute("data-suggestion-index"))return;if(n===t.suggestionsContainer)return void(t.justClickedOnSuggestionsContainer=!0);n=n.parentNode}})),y(m(t),"storeAutowhateverRef",(function(e){null!==e&&(t.autowhatever=e)})),y(m(t),"onSuggestionMouseEnter",(function(e,n){var r=n.sectionIndex,o=n.itemIndex;t.updateHighlightedSuggestion(r,o),e.target===t.pressedSuggestion&&(t.justSelectedSuggestion=!0),t.justMouseEntered=!0,setTimeout((function(){t.justMouseEntered=!1}))})),y(m(t),"highlightFirstSuggestion",(function(){t.updateHighlightedSuggestion(t.props.multiSection?0:null,0)})),y(m(t),"onDocumentMouseUp",(function(){t.pressedSuggestion&&!t.justSelectedSuggestion&&t.input.focus(),t.pressedSuggestion=null})),y(m(t),"onSuggestionMouseDown",(function(e){t.justSelectedSuggestion||(t.justSelectedSuggestion=!0,t.pressedSuggestion=e.target)})),y(m(t),"onSuggestionsClearRequested",(function(){var e=t.props.onSuggestionsClearRequested;e&&e()})),y(m(t),"onSuggestionSelected",(function(e,n){var r=t.props,o=r.alwaysRenderSuggestions,a=r.onSuggestionSelected,i=r.onSuggestionsFetchRequested;a&&a(e,n);var s=t.props.shouldKeepSuggestionsOnSelect(n.suggestion);o||s?i({value:n.suggestionValue,reason:"suggestion-selected"}):t.onSuggestionsClearRequested(),t.resetHighlightedSuggestion()})),y(m(t),"onSuggestionClick",(function(e){var n=t.props,r=n.alwaysRenderSuggestions,o=n.focusInputOnSuggestionClick,a=t.getSuggestionIndices(t.findSuggestionElement(e.target)),i=a.sectionIndex,s=a.suggestionIndex,c=t.getSuggestion(i,s),u=t.props.getSuggestionValue(c);t.maybeCallOnChange(e,u,"click"),t.onSuggestionSelected(e,{suggestion:c,suggestionValue:u,suggestionIndex:s,sectionIndex:i,method:"click"});var l=t.props.shouldKeepSuggestionsOnSelect(c);r||l||t.closeSuggestions(),!0===o?t.input.focus():t.onBlur(),setTimeout((function(){t.justSelectedSuggestion=!1}))})),y(m(t),"onBlur",(function(){var e=t.props,n=e.inputProps,r=e.shouldRenderSuggestions,o=n.value,a=n.onBlur,i=t.getHighlightedSuggestion(),s=r(o,"input-blurred");t.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!s}),a&&a(t.blurEvent,{highlightedSuggestion:i})})),y(m(t),"onSuggestionMouseLeave",(function(e){t.resetHighlightedSuggestion(!1),t.justSelectedSuggestion&&e.target===t.pressedSuggestion&&(t.justSelectedSuggestion=!1)})),y(m(t),"onSuggestionTouchStart",(function(){t.justSelectedSuggestion=!0})),y(m(t),"onSuggestionTouchMove",(function(){t.justSelectedSuggestion=!1,t.pressedSuggestion=null,t.input.focus()})),y(m(t),"itemProps",(function(e){return{"data-section-index":e.sectionIndex,"data-suggestion-index":e.itemIndex,onMouseEnter:t.onSuggestionMouseEnter,onMouseLeave:t.onSuggestionMouseLeave,onMouseDown:t.onSuggestionMouseDown,onTouchStart:t.onSuggestionTouchStart,onTouchMove:t.onSuggestionTouchMove,onClick:t.onSuggestionClick}})),y(m(t),"renderSuggestionsContainer",(function(e){var n=e.containerProps,r=e.children;return(0,t.props.renderSuggestionsContainer)({containerProps:n,children:r,query:t.getQuery()})})),t.state={isFocused:!1,isCollapsed:!n,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null},t.justPressedUpDown=!1,t.justMouseEntered=!1,t.pressedSuggestion=null,t}return t=u,n=[{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.onDocumentMouseDown),document.addEventListener("mouseup",this.onDocumentMouseUp),this.input=this.autowhatever.input,this.suggestionsContainer=this.autowhatever.itemsContainer}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=0===this.state.highlightedSuggestionIndex&&this.props.highlightFirstSuggestion&&!e.highlightFirstSuggestion;(0,a.default)(e.suggestions,this.props.suggestions)?e.highlightFirstSuggestion&&e.suggestions.length>0&&!1===this.justPressedUpDown&&!1===this.justMouseEntered?this.highlightFirstSuggestion():t&&this.resetHighlightedSuggestion():this.willRenderSuggestions(e,"suggestions-updated")?(this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions(),t&&this.resetHighlightedSuggestion()):this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.suggestions,o=n.onSuggestionHighlighted,i=n.highlightFirstSuggestion;if(!(0,a.default)(r,e.suggestions)&&r.length>0&&i)this.highlightFirstSuggestion();else if(o){var s=this.getHighlightedSuggestion();s!=t.highlightedSuggestion&&o({suggestion:s})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown),document.removeEventListener("mouseup",this.onDocumentMouseUp)}},{key:"updateHighlightedSuggestion",value:function(e,t,n){var r=this;this.setState((function(o){var a=o.valueBeforeUpDown;return null===t?a=null:null===a&&void 0!==n&&(a=n),{highlightedSectionIndex:e,highlightedSuggestionIndex:t,highlightedSuggestion:null===t?null:r.getSuggestion(e,t),valueBeforeUpDown:a}}))}},{key:"resetHighlightedSuggestion",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setState((function(t){var n=t.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:e?null:n}}))}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(e,t){var n=this.props,r=n.suggestions,o=n.multiSection,a=n.getSectionSuggestions;return o?a(r[e])[t]:r[t]}},{key:"getHighlightedSuggestion",value:function(){var e=this.state,t=e.highlightedSectionIndex,n=e.highlightedSuggestionIndex;return null===n?null:this.getSuggestion(t,n)}},{key:"getSuggestionValueByIndex",value:function(e,t){return(0,this.props.getSuggestionValue)(this.getSuggestion(e,t))}},{key:"getSuggestionIndices",value:function(e){var t=e.getAttribute("data-section-index"),n=e.getAttribute("data-suggestion-index");return{sectionIndex:"string"==typeof t?parseInt(t,10):null,suggestionIndex:parseInt(n,10)}}},{key:"findSuggestionElement",value:function(e){var t=e;do{if(t.getAttribute&&null!==t.getAttribute("data-suggestion-index"))return t;t=t.parentNode}while(null!==t);throw console.error("Clicked element:",e),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(e,t,n){var r=this.props.inputProps,o=r.value,a=r.onChange;t!==o&&a(e,{newValue:t,method:n})}},{key:"willRenderSuggestions",value:function(e,t){var n=e.suggestions,r=e.inputProps,o=e.shouldRenderSuggestions,a=r.value;return n.length>0&&o(a,t)}},{key:"getQuery",value:function(){var e=this.props.inputProps.value,t=this.state.valueBeforeUpDown;return(null===t?e:t).trim()}},{key:"render",value:function(){var e=this,t=this.props,n=t.suggestions,o=t.renderInputComponent,a=t.onSuggestionsFetchRequested,c=t.renderSuggestion,u=t.inputProps,l=t.multiSection,d=t.renderSectionTitle,f=t.id,h=t.getSectionSuggestions,m=t.theme,g=t.getSuggestionValue,v=t.alwaysRenderSuggestions,y=t.highlightFirstSuggestion,S=t.containerProps,E=this.state,P=E.isFocused,j=E.isCollapsed,_=E.highlightedSectionIndex,D=E.highlightedSuggestionIndex,C=E.valueBeforeUpDown,T=v?b:this.props.shouldRenderSuggestions,M=u.value,A=u.onFocus,I=u.onKeyDown,R=this.willRenderSuggestions(this.props,"render"),N=v||P&&!j&&R,L=N?n:[],F=p({},u,{onFocus:function(t){if(!e.justSelectedSuggestion&&!e.justClickedOnSuggestionsContainer){var n=T(M,x);e.setState({isFocused:!0,isCollapsed:!n}),A&&A(t),n&&a({value:M,reason:x})}},onBlur:function(t){e.justClickedOnSuggestionsContainer?e.input.focus():(e.blurEvent=t,e.justSelectedSuggestion||(e.onBlur(),e.onSuggestionsClearRequested()))},onChange:function(t){var n=t.target.value,r=T(n,O);e.maybeCallOnChange(t,n,"type"),e.suggestionsContainer&&(e.suggestionsContainer.scrollTop=0),e.setState(p({},y?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!r})),r?a({value:n,reason:O}):e.onSuggestionsClearRequested()},onKeyDown:function(t,r){var o=t.keyCode;switch(o){case 40:case 38:if(j)T(M,w)&&(a({value:M,reason:w}),e.revealSuggestions(),t.preventDefault());else if(n.length>0){var i,s=r.newHighlightedSectionIndex,c=r.newHighlightedItemIndex;i=null===c?null===C?M:C:e.getSuggestionValueByIndex(s,c),e.updateHighlightedSuggestion(s,c,M),e.maybeCallOnChange(t,i,40===o?"down":"up"),t.preventDefault()}e.justPressedUpDown=!0,setTimeout((function(){e.justPressedUpDown=!1}));break;case 13:if(229===t.keyCode)break;var u=e.getHighlightedSuggestion();if(N&&!v&&e.closeSuggestions(),null!=u){t.preventDefault();var l=g(u);e.maybeCallOnChange(t,l,"enter"),e.onSuggestionSelected(t,{suggestion:u,suggestionValue:l,suggestionIndex:D,sectionIndex:_,method:"enter"}),e.justSelectedSuggestion=!0,setTimeout((function(){e.justSelectedSuggestion=!1}))}break;case 27:N&&t.preventDefault();var d=N&&!v;null===C?d||(e.maybeCallOnChange(t,"","escape"),T("",k)?a({value:"",reason:k}):e.onSuggestionsClearRequested()):e.maybeCallOnChange(t,C,"escape"),d?(e.onSuggestionsClearRequested(),e.closeSuggestions()):e.resetHighlightedSuggestion()}I&&I(t)}}),H={query:this.getQuery()};return r.default.createElement(i.default,{multiSection:l,items:L,renderInputComponent:o,renderItemsContainer:this.renderSuggestionsContainer,renderItem:c,renderItemData:H,renderSectionTitle:d,getSectionItems:h,highlightedSectionIndex:_,highlightedItemIndex:D,containerProps:S,inputProps:F,itemProps:this.itemProps,theme:(0,s.mapToAutowhateverTheme)(m),id:f,ref:this.storeAutowhateverRef})}}],n&&f(t.prototype,n),o&&f(t,o),u}(r.Component);t.default=S,y(S,"propTypes",{suggestions:o.default.array.isRequired,onSuggestionsFetchRequested:function(e,t){var n=e[t];if("function"!=typeof n)throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(e,t){var n=e[t];if(!1===e.alwaysRenderSuggestions&&"function"!=typeof n)throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp")},shouldKeepSuggestionsOnSelect:o.default.func,onSuggestionSelected:o.default.func,onSuggestionHighlighted:o.default.func,renderInputComponent:o.default.func,renderSuggestionsContainer:o.default.func,getSuggestionValue:o.default.func.isRequired,renderSuggestion:o.default.func.isRequired,inputProps:function(e,t){var n=e[t];if(!n)throw new Error("'inputProps' must be passed.");if(!Object.prototype.hasOwnProperty.call(n,"value"))throw new Error("'inputProps' must have 'value'.");if(!Object.prototype.hasOwnProperty.call(n,"onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:o.default.func,alwaysRenderSuggestions:o.default.bool,multiSection:o.default.bool,renderSectionTitle:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!=typeof n)throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!=typeof n)throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp")},focusInputOnSuggestionClick:o.default.bool,highlightFirstSuggestion:o.default.bool,theme:o.default.object,id:o.default.string,containerProps:o.default.object}),y(S,"defaultProps",{renderSuggestionsContainer:function(e){var t=e.containerProps,n=e.children;return r.default.createElement("div",t,n)},shouldRenderSuggestions:function(e){return e.trim().length>0},alwaysRenderSuggestions:!1,multiSection:!1,shouldKeepSuggestionsOnSelect:function(){return!1},focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:s.defaultTheme,id:"1",containerProps:{}})},13486:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==m(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=u(n(87695)),a=u(n(61578)),i=u(n(54525)),s=u(n(42444)),c=u(n(97932));function u(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function d(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(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 h(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 m(e){return m="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},m(e)}function g(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 v(e){return function(){var t,n=b(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=b(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===m(t)||"function"==typeof t))return t;return y(e)}(this,t)}}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O={},k=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&&w(e,t)}(l,e);var t,n,o,u=v(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),x(y(t=u.call(this,e)),"storeInputReference",(function(e){null!==e&&(t.input=e);var n=t.props.inputProps.ref;n&&("function"==typeof n?n(e):"object"===m(n)&&Object.prototype.hasOwnProperty.call(n,"current")&&(n.current=e))})),x(y(t),"storeItemsContainerReference",(function(e){null!==e&&(t.itemsContainer=e)})),x(y(t),"onHighlightedItemChange",(function(e){t.highlightedItem=e})),x(y(t),"getItemId",(function(e,n){if(null===n)return null;var r=t.props.id,o=null===e?"":"section-".concat(e);return"react-autowhatever-".concat(r,"-").concat(o,"-item-").concat(n)})),x(y(t),"onFocus",(function(e){var n=t.props.inputProps;t.setState({isInputFocused:!0}),n.onFocus&&n.onFocus(e)})),x(y(t),"onBlur",(function(e){var n=t.props.inputProps;t.setState({isInputFocused:!1}),n.onBlur&&n.onBlur(e)})),x(y(t),"onKeyDown",(function(e){var n=t.props,r=n.inputProps,o=n.highlightedSectionIndex,a=n.highlightedItemIndex,i=e.keyCode;switch(i){case 40:case 38:var s=40===i?"next":"prev",c=f(t.sectionIterator[s]([o,a]),2),u=c[0],l=c[1];r.onKeyDown(e,{newHighlightedSectionIndex:u,newHighlightedItemIndex:l});break;default:r.onKeyDown(e,{highlightedSectionIndex:o,highlightedItemIndex:a})}})),t.highlightedItem=null,t.state={isInputFocused:!1},t.setSectionsItems(e),t.setSectionIterator(e),t.setTheme(e),t}return t=l,(n=[{key:"componentDidMount",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.items!==this.props.items&&this.setSectionsItems(e),e.items===this.props.items&&e.multiSection===this.props.multiSection||this.setSectionIterator(e),e.theme!==this.props.theme&&this.setTheme(e)}},{key:"componentDidUpdate",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"setSectionsItems",value:function(e){e.multiSection&&(this.sectionsItems=e.items.map((function(t){return e.getSectionItems(t)})),this.sectionsLengths=this.sectionsItems.map((function(e){return e.length})),this.allSectionsAreEmpty=this.sectionsLengths.every((function(e){return 0===e})))}},{key:"setSectionIterator",value:function(e){this.sectionIterator=(0,a.default)({multiSection:e.multiSection,data:e.multiSection?this.sectionsLengths:e.items.length})}},{key:"setTheme",value:function(e){this.theme=(0,i.default)(e.theme)}},{key:"renderSections",value:function(){var e=this;if(this.allSectionsAreEmpty)return null;var t=this.theme,n=this.props,o=n.id,a=n.items,i=n.renderItem,u=n.renderItemData,l=n.renderSectionTitle,d=n.highlightedSectionIndex,p=n.highlightedItemIndex,f=n.itemProps;return a.map((function(n,a){var h="react-autowhatever-".concat(o,"-"),m="".concat(h,"section-").concat(a,"-"),g=0===a;return r.default.createElement("div",t("".concat(m,"container"),"sectionContainer",g&&"sectionContainerFirst"),r.default.createElement(s.default,{section:n,renderSectionTitle:l,theme:t,sectionKeyPrefix:m}),r.default.createElement(c.default,{items:e.sectionsItems[a],itemProps:f,renderItem:i,renderItemData:u,sectionIndex:a,highlightedItemIndex:d===a?p:null,onHighlightedItemChange:e.onHighlightedItemChange,getItemId:e.getItemId,theme:t,keyPrefix:h,ref:e.storeItemsListReference}))}))}},{key:"renderItems",value:function(){var e=this.props.items;if(0===e.length)return null;var t=this.theme,n=this.props,o=n.id,a=n.renderItem,i=n.renderItemData,s=n.highlightedSectionIndex,u=n.highlightedItemIndex,l=n.itemProps;return r.default.createElement(c.default,{items:e,itemProps:l,renderItem:a,renderItemData:i,highlightedItemIndex:null===s?u:null,onHighlightedItemChange:this.onHighlightedItemChange,getItemId:this.getItemId,theme:t,keyPrefix:"react-autowhatever-".concat(o,"-")})}},{key:"ensureHighlightedItemIsVisible",value:function(){var e=this.highlightedItem;if(e){var t=this.itemsContainer,n=e.offsetParent===t?e.offsetTop:e.offsetTop-t.offsetTop,r=t.scrollTop;n<r?r=n:n+e.offsetHeight>r+t.offsetHeight&&(r=n+e.offsetHeight-t.offsetHeight),r!==t.scrollTop&&(t.scrollTop=r)}}},{key:"render",value:function(){var e=this.theme,t=this.props,n=t.id,o=t.multiSection,a=t.renderInputComponent,i=t.renderItemsContainer,s=t.highlightedSectionIndex,c=t.highlightedItemIndex,u=this.state.isInputFocused,l=o?this.renderSections():this.renderItems(),d=null!==l,f=this.getItemId(s,c),h="react-autowhatever-".concat(n),m=p({role:"combobox","aria-haspopup":"listbox","aria-owns":h,"aria-expanded":d},e("react-autowhatever-".concat(n,"-container"),"container",d&&"containerOpen"),{},this.props.containerProps),g=a(p({type:"text",value:"",autoComplete:"off","aria-autocomplete":"list","aria-controls":h,"aria-activedescendant":f},e("react-autowhatever-".concat(n,"-input"),"input",d&&"inputOpen",u&&"inputFocused"),{},this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),v=i({containerProps:p({id:h,role:"listbox"},e("react-autowhatever-".concat(n,"-items-container"),"itemsContainer",d&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:l});return r.default.createElement("div",m,g,v)}}])&&g(t.prototype,n),o&&g(t,o),l}(r.Component);t.default=k,x(k,"propTypes",{id:o.default.string,multiSection:o.default.bool,renderInputComponent:o.default.func,renderItemsContainer:o.default.func,items:o.default.array.isRequired,renderItem:o.default.func,renderItemData:o.default.object,renderSectionTitle:o.default.func,getSectionItems:o.default.func,containerProps:o.default.object,inputProps:o.default.object,itemProps:o.default.oneOfType([o.default.object,o.default.func]),highlightedSectionIndex:o.default.number,highlightedItemIndex:o.default.number,theme:o.default.oneOfType([o.default.object,o.default.array])}),x(k,"defaultProps",{id:"1",multiSection:!1,renderInputComponent:function(e){return r.default.createElement("input",e)},renderItemsContainer:function(e){var t=e.containerProps,n=e.children;return r.default.createElement("div",t,n)},renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:O,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},containerProps:O,inputProps:O,itemProps:O,highlightedSectionIndex:null,highlightedItemIndex:null,theme:{container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"}})},21572:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=i(n(87695)),a=i(n(81438));function i(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(e){return c="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},c(e)}function u(){return u=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},u.apply(this,arguments)}function l(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 d(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function p(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 f(e){return function(){var t,n=m(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=m(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return h(e)}(this,t)}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=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&&g(e,t)}(s,e);var t,n,o,i=f(s);function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(h(e=i.call.apply(i,[this].concat(n))),"storeItemReference",(function(t){null!==t&&(e.item=t)})),v(h(e),"onMouseEnter",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseEnter(t,{sectionIndex:r,itemIndex:o})})),v(h(e),"onMouseLeave",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseLeave(t,{sectionIndex:r,itemIndex:o})})),v(h(e),"onMouseDown",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseDown(t,{sectionIndex:r,itemIndex:o})})),v(h(e),"onClick",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onClick(t,{sectionIndex:r,itemIndex:o})})),e}return t=s,n=[{key:"shouldComponentUpdate",value:function(e){return(0,a.default)(e,this.props,["renderItemData"])}},{key:"render",value:function(){var e=this.props,t=e.isHighlighted,n=e.item,o=e.renderItem,a=e.renderItemData,i=d(e,["isHighlighted","item","renderItem","renderItemData"]);return delete i.sectionIndex,delete i.itemIndex,"function"==typeof i.onMouseEnter&&(i.onMouseEnter=this.onMouseEnter),"function"==typeof i.onMouseLeave&&(i.onMouseLeave=this.onMouseLeave),"function"==typeof i.onMouseDown&&(i.onMouseDown=this.onMouseDown),"function"==typeof i.onClick&&(i.onClick=this.onClick),r.default.createElement("li",u({role:"option"},i,{ref:this.storeItemReference}),o(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({isHighlighted:t},a)))}}],n&&p(t.prototype,n),o&&p(t,o),s}(r.Component);t.default=y,v(y,"propTypes",{sectionIndex:o.default.number,isHighlighted:o.default.bool.isRequired,itemIndex:o.default.number.isRequired,item:o.default.any.isRequired,renderItem:o.default.func.isRequired,renderItemData:o.default.object.isRequired,onMouseEnter:o.default.func,onMouseLeave:o.default.func,onMouseDown:o.default.func,onClick:o.default.func})},97932:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=s(n(87695)),a=s(n(21572)),i=s(n(81438));function s(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function u(e){return u="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},u(e)}function l(){return l=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},l.apply(this,arguments)}function d(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 p(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 f(e){return function(){var t,n=m(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=m(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;return h(e)}(this,t)}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=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&&g(e,t)}(c,e);var t,n,o,s=f(c);function c(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(h(e=s.call.apply(s,[this].concat(n))),"storeHighlightedItemReference",(function(t){e.props.onHighlightedItemChange(null===t?null:t.item)})),e}return t=c,n=[{key:"shouldComponentUpdate",value:function(e){return(0,i.default)(e,this.props,["itemProps"])}},{key:"render",value:function(){var e=this,t=this.props,n=t.items,o=t.itemProps,i=t.renderItem,s=t.renderItemData,c=t.sectionIndex,u=t.highlightedItemIndex,p=t.getItemId,f=t.theme,h=t.keyPrefix,m=null===c?h:"".concat(h,"section-").concat(c,"-"),g="function"==typeof o;return r.default.createElement("ul",l({role:"listbox"},f("".concat(m,"items-list"),"itemsList")),n.map((function(t,n){var h=0===n,y=n===u,b="".concat(m,"item-").concat(n),w=g?o({sectionIndex:c,itemIndex:n}):o,x=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:p(c,n),"aria-selected":y},f(b,"item",h&&"itemFirst",y&&"itemHighlighted"),{},w);return y&&(x.ref=e.storeHighlightedItemReference),r.default.createElement(a.default,l({},x,{sectionIndex:c,isHighlighted:y,itemIndex:n,item:t,renderItem:i,renderItemData:s}))})))}}],n&&p(t.prototype,n),o&&p(t,o),c}(r.Component);t.default=y,v(y,"propTypes",{items:o.default.array.isRequired,itemProps:o.default.oneOfType([o.default.object,o.default.func]),renderItem:o.default.func.isRequired,renderItemData:o.default.object.isRequired,sectionIndex:o.default.number,highlightedItemIndex:o.default.number,onHighlightedItemChange:o.default.func.isRequired,getItemId:o.default.func.isRequired,theme:o.default.func.isRequired,keyPrefix:o.default.string.isRequired}),v(y,"defaultProps",{sectionIndex:null})},42444:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=i(n(87695)),a=i(n(81438));function i(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(e){return c="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},c(e)}function u(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 l(e){return function(){var t,n=d(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=d(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,t)}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}var f,h,m,g=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&&p(e,t)}(s,e);var t,n,o,i=l(s);function s(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),i.apply(this,arguments)}return t=s,(n=[{key:"shouldComponentUpdate",value:function(e){return(0,a.default)(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.section,n=e.renderSectionTitle,o=e.theme,a=e.sectionKeyPrefix,i=n(t);return i?r.default.createElement("div",o("".concat(a,"title"),"sectionTitle"),i):null}}])&&u(t.prototype,n),o&&u(t,o),s}(r.Component);t.default=g,f=g,h="propTypes",m={section:o.default.any.isRequired,renderSectionTitle:o.default.func.isRequired,theme:o.default.func.isRequired,sectionKeyPrefix:o.default.string.isRequired},h in f?Object.defineProperty(f,h,{value:m,enumerable:!0,configurable:!0,writable:!0}):f[h]=m},81438:(e,t)=>{"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(e===t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!0;var i,s,c={};for(i=0,s=r.length;i<s;i++)c[r[i]]=!0;for(i=0,s=o.length;i<s;i++){var u=o[i],l=e[u],d=t[u];if(l!==d){if(!c[u]||null===l||null===d||"object"!==n(l)||"object"!==n(d))return!0;var p=Object.keys(l),f=Object.keys(d);if(p.length!==f.length)return!0;for(var h=0,m=p.length;h<m;h++){var g=p[h];if(l[g]!==d[g])return!0}}}return!1}},62243:(e,t,n)=>{"use strict";e.exports=n(87424).default},36462:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapToAutowhateverTheme=t.defaultTheme=void 0;t.defaultTheme={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"};t.mapToAutowhateverTheme=function(e){var t={};for(var n in e)switch(n){case"suggestionsContainer":t.itemsContainer=e[n];break;case"suggestionsContainerOpen":t.itemsContainerOpen=e[n];break;case"suggestion":t.item=e[n];break;case"suggestionFirst":t.itemFirst=e[n];break;case"suggestionHighlighted":t.itemHighlighted=e[n];break;case"suggestionsList":t.itemsList=e[n];break;default:t[n]=e[n]}return t}},915:(e,t,n)=>{"use strict";var r=n(96372);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==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,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:a,resetWarningCache:o};return n.PropTypes=n,n}},87695:(e,t,n)=>{e.exports=n(915)()},96372:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},59386:function(e,t,n){
|
|
2
2
|
/*!
|
|
3
3
|
react-datepicker v7.6.0
|
|
4
4
|
https://github.com/Hacker0x01/react-datepicker
|