PageSourceSearch

https://www.thomsonreuters.ca/etc.clientlibs/uefalcon/clientlibs/c…-3d50ecb90997dbb2955011fe1b7fc5c9-lc.min.js

js thomsonreuters.ca collected 2026-09-25 14:14:34 UTC 262,773 bytes, 2 lines download raw bytes

1!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/etc.clientlibs/uefalcon/clientlibs/",n(n.s=312)}({11:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},312:function(e,t,n){"use strict";n.r(t);n(313),n(314)},313:function(e,t,n){(function(e){/*! For license information please see main.bundle.js.LICENSE.txt */
2!function(){var t={18:function(e,t,n){"use strict";n.d(t,{FK:function(){return w},Ob:function(){return G},Qv:function(){return V},XX:function(){return z},_3:function(){return b},fF:function(){return a},h:function(){return g},n:function(){return g},q6:function(){return W},uA:function(){return _},v2:function(){return k}});var r,a,o,i,l,u,s,c,d={},f=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,m=Array.isArray;function h(e,t){for(var n in t)e[n]=t[n];return e}function v(e){var t=e.parentNode;t&&t.removeChild(e)}function g(e,t,n){var a,o,i,l={};for(i in t)"key"==i?a=t[i]:"ref"==i?o=t[i]:l[i]=t[i];if(arguments.length>2&&(l.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===l[i]&&(l[i]=e.defaultProps[i]);return y(e,l,a,o,null)}function y(e,t,n,r,i){var l={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==i?++o:i};return null==i&&null!=a.vnode&&a.vnode(l),l}function b(){return{current:null}}function w(e){return e.children}function _(e,t){this.props=e,this.context=t}function E(e,t){if(null==t)return e.__?E(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__d||n.__e;return"function"==typeof e.type?E(e):null}function C(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return C(e)}}function N(e){(!e.__d&&(e.__d=!0)&&i.push(e)&&!x.__r++||l!==a.debounceRendering)&&((l=a.debounceRendering)||u)(x)}function x(){var e,t,n,r,a,o,l,u,c;for(i.sort(s);e=i.shift();)e.__d&&(t=i.length,r=void 0,a=void 0,o=void 0,u=(l=(n=e).__v).__e,(c=n.__P)&&(r=[],a=[],(o=h({},l)).__v=l.__v+1,A(c,l,o,n.__n,void 0!==c.ownerSVGElement,null!=l.__h?[u]:null,r,null==u?E(l):u,l.__h,a),F(r,l,a),l.__e!=u&&C(l)),i.length>t&&i.sort(s));x.__r=0}function R(e,t,n,r,a,o,i,l,u,s,c){var p,h,v,g,b,_,C,N,x,R=0,k=r&&r.__k||f,L=k.length,T=L,I=t.length;for(n.__k=[],p=0;p<I;p++)null!=(g=n.__k[p]=null==(g=t[p])||"boolean"==typeof g||"function"==typeof g?null:"string"==typeof g||"number"==typeof g||"bigint"==typeof g?y(null,g,null,null,g):m(g)?y(w,{children:g},null,null,null):g.__b>0?y(g.type,g.props,g.key,g.ref?g.ref:null,g.__v):g)?(g.__=n,g.__b=n.__b+1,-1===(N=P(g,k,C=p+R,T))?v=d:(v=k[N]||d,k[N]=void 0,T--),A(e,g,v,a,o,i,l,u,s,c),b=g.__e,(h=g.ref)&&v.ref!=h&&(v.ref&&j(v.ref,null,g),c.push(h,g.__c||b,g)),null!=b&&(null==_&&(_=b),(x=v===d||null===v.__v)?-1==N&&R--:N!==C&&(N===C+1?R++:N>C?T>I-C?R+=N-C:R--:R=N<C&&N==C-1?N-C:0),C=p+R,"function"!=typeof g.type||N===C&&v.__k!==g.__k?"function"==typeof g.type||N===C&&!x?void 0!==g.__d?(u=g.__d,g.__d=void 0):u=b.nextSibling:u=O(e,b,u):u=S(g,u,e),"function"==typeof n.type&&(n.__d=u))):(v=k[p])&&null==v.key&&v.__e&&(v.__e==u&&(v.__=r,u=E(v)),M(v,v,!1),k[p]=null);for(n.__e=_,p=L;p--;)null!=k[p]&&("function"==typeof n.type&&null!=k[p].__e&&k[p].__e==n.__d&&(n.__d=k[p].__e.nextSibling),M(k[p],k[p]))}function S(e,t,n){for(var r,a=e.__k,o=0;a&&o<a.length;o++)(r=a[o])&&(r.__=e,t="function"==typeof r.type?S(r,t,n):O(n,r.__e,t));return t}function k(e,t){return t=t||[],null==e||"boolean"==typeof e||(m(e)?e.some((function(e){k(e,t)})):t.push(e)),t}function O(e,t,n){return null==n||n.parentNode!==e?e.insertBefore(t,null):t==n&&null!=t.parentNode||e.insertBefore(t,n),t.nextSibling}function P(e,t,n,r){var a=e.key,o=e.type,i=n-1,l=n+1,u=t[n];if(null===u||u&&a==u.key&&o===u.type)return n;if(r>(null!=u?1:0))for(;i>=0||l<t.length;){if(i>=0){if((u=t[i])&&a==u.key&&o===u.type)return i;i--}if(l<t.length){if((u=t[l])&&a==u.key&&o===u.type)return l;l++}}return-1}function L(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||p.test(t)?n:n+"px"}function T(e,t,n,r,a){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||L(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||L(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=Date.now(),e.addEventListener(t,o?B:I,o)):e.removeEventListener(t,o?B:I,o);else if("dangerouslySetInnerHTML"!==t){if(a)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&"role"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function I(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(a.event?a.event(e):e)}function B(e){return this.l[e.type+!0](a.event?a.event(e):e)}function A(e,t,n,r,o,i,l,u,s,c){var d,f,p,v,g,y,b,E,C,N,x,S,k,O,P,L=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(s=n.__h,u=t.__e=n.__e,t.__h=null,i=[u]),(d=a.__b)&&d(t);
vendor: 4,301 bytes, line 2
2e:if("function"==typeof L)try{if(E=t.props,C=(d=L.contextType)&&r[d.__c],N=d?C?C.props.value:d.__:r,n.__c?b=(f=t.__c=n.__c).__=f.__E:("prototype"in L&&L.prototype.render?t.__c=f=new L(E,N):(t.__c=f=new _(E,N),f.constructor=L,f.render=D),C&&C.sub(f),f.props=E,f.state||(f.state={}),f.context=N,f.__n=r,p=f.__d=!0,f.__h=[],f._sb=[]),null==f.__s&&(f.__s=f.state),null!=L.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=h({},f.__s)),h(f.__s,L.getDerivedStateFromProps(E,f.__s))),v=f.props,g=f.state,f.__v=t,p)null==L.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==L.getDerivedStateFromProps&&E!==v&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(E,N),!f.__e&&(null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(E,f.__s,N)||t.__v===n.__v)){for(t.__v!==n.__v&&(f.props=E,f.state=f.__s,f.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),x=0;x<f._sb.length;x++)f.__h.push(f._sb[x]);f._sb=[],f.__h.length&&l.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(E,f.__s,N),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(v,g,y)}))}if(f.context=N,f.props=E,f.__P=e,f.__e=!1,S=a.__r,k=0,"prototype"in L&&L.prototype.render){for(f.state=f.__s,f.__d=!1,S&&S(t),d=f.render(f.props,f.state,f.context),O=0;O<f._sb.length;O++)f.__h.push(f._sb[O]);f._sb=[]}else do{f.__d=!1,S&&S(t),d=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++k<25);f.state=f.__s,null!=f.getChildContext&&(r=h(h({},r),f.getChildContext())),p||null==f.getSnapshotBeforeUpdate||(y=f.getSnapshotBeforeUpdate(v,g)),R(e,m(P=null!=d&&d.type===w&&null==d.key?d.props.children:d)?P:[P],t,n,r,o,i,l,u,s,c),f.base=t.__e,t.__h=null,f.__h.length&&l.push(f),b&&(f.__E=f.__=null)}catch(e){t.__v=null,(s||null!=i)&&(t.__e=u,t.__h=!!s,i[i.indexOf(u)]=null),a.__e(e,t,n)}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=H(n.__e,t,n,r,o,i,l,s,c);(d=a.diffed)&&d(t)}function F(e,t,n){for(var r=0;r<n.length;r++)j(n[r],n[++r],n[++r]);a.__c&&a.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){a.__e(e,t.__v)}}))}function H(e,t,n,a,o,i,l,u,s){var c,f,p,h=n.props,g=t.props,y=t.type,b=0;if("svg"===y&&(o=!0),null!=i)for(;b<i.length;b++)if((c=i[b])&&"setAttribute"in c==!!y&&(y?c.localName===y:3===c.nodeType)){e=c,i[b]=null;break}if(null==e){if(null===y)return document.createTextNode(g);e=o?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,g.is&&g),i=null,u=!1}if(null===y)h===g||u&&e.data===g||(e.data=g);else{if(i=i&&r.call(e.childNodes),f=(h=n.props||d).dangerouslySetInnerHTML,p=g.dangerouslySetInnerHTML,!u){if(null!=i)for(h={},b=0;b<e.attributes.length;b++)h[e.attributes[b].name]=e.attributes[b].value;(p||f)&&(p&&(f&&p.__html==f.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}if(function(e,t,n,r,a){var o;for(o in n)"children"===o||"key"===o||o in t||T(e,o,null,n[o],r);for(o in t)a&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||T(e,o,t[o],n[o],r)}(e,g,h,o,u),p)t.__k=[];else if(R(e,m(b=t.props.children)?b:[b],t,n,a,o&&"foreignObject"!==y,i,l,i?i[0]:n.__k&&E(n,0),u,s),null!=i)for(b=i.length;b--;)null!=i[b]&&v(i[b]);u||("value"in g&&void 0!==(b=g.value)&&(b!==e.value||"progress"===y&&!b||"option"===y&&b!==h.value)&&T(e,"value",b,h.value,!1),"checked"in g&&void 0!==(b=g.checked)&&b!==e.checked&&T(e,"checked",b,h.checked,!1))}return e}function j(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){a.__e(e,n)}}function M(e,t,n){var r,o;if(a.unmount&&a.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||j(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){a.__e(e,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&M(r[o],t,n||"function"!=typeof e.type);n||null==e.__e||v(e.__e),e.__=e.__e=e.__d=void 0}function D(e,t,n){return this.constructor(e,n)}function z(e,t,n){var o,i,l,u;a.__&&a.__(e,t),i=(o="function"==typeof n)?null:n&&n.__k||t.__k,l=[],u=[],A(t,e=(!o&&n||t).__k=g(w,null,[e]),i||d,d,void 0!==t.ownerSVGElement,!o&&n?[n]:i?null:t.firstChild?r.call(t.childNodes):null,l,!o&&n?n:i?i.__e:t.firstChild,o,u),F(l,e,u)}
vendor: 1,533 bytes, line 2
2function V(e,t){z(e,t,V)}function G(e,t,n){var a,o,i,l,u=h({},e.props);for(i in e.type&&e.type.defaultProps&&(l=e.type.defaultProps),t)"key"==i?a=t[i]:"ref"==i?o=t[i]:u[i]=void 0===t[i]&&void 0!==l?l[i]:t[i];return arguments.length>2&&(u.children=arguments.length>3?r.call(arguments,2):n),y(e.type,u,a||e.key,o||e.ref,null)}function W(e,t){var n={__c:t="__cC"+c++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,N(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r=f.slice,a={__e:function(e,t,n,r){for(var a,o,i;t=t.__;)if((a=t.__c)&&!a.__)try{if((o=a.constructor)&&null!=o.getDerivedStateFromError&&(a.setState(o.getDerivedStateFromError(e)),i=a.__d),null!=a.componentDidCatch&&(a.componentDidCatch(e,r||{}),i=a.__d),i)return a.__E=a}catch(t){e=t}throw e}},o=0,_.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof e&&(e=e(h({},n),this.props)),e&&h(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),N(this))},_.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),N(this))},_.prototype.render=w,i=[],u="function"==typeof Promise?Promise.prototype.then.bind(Prom
2ise.resolve()):setTimeout,s=function(e,t){return e.__v.__b-t.__v.__b},x.__r=0,c=0},129:function(e){function t(n){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},258:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},286:function(e,t,n){var r=n(324),a=n(1854);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},324:function(e,t,n){var r=n(1589),a=n(2999),o=n(258),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)?a(e):o(e)}},534:function(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},906:function(e,t,n){var r=n(2868),a=n(4081),o=n(286),i=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||u.test(e)?s(e.slice(2),n?2:8):i.test(e)?NaN:+e}},1365:function(e){var t=Array.isArray;e.exports=t},1416:function(e,t,n){var r=n(4529);e.exports=function(){return r.Date.now()}},1460:function(e){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},1589:function(e,t,n){var r=n(4529).Symbol;e.exports=r},1854:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},1985:function(e,t,n){var r=n(3090)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},2238:function(e,t,n){var r=n(5388),a=n(2751)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=a},2292:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(5784)),a=o(n(5454));function o(e){return e&&e.__esModule?e:{default:e}}var i=function e(t){var n=t.children,o=t.focusable,i=t.height,l=t.label,u=t.width,s=(0,a.default)(e.displayName),c=r.default.cloneElement(n,{"aria-hidden":!l||void 0,"aria-label":l,role:l?"img":void 0,focusable:o}),d={className:s()},f={className:s({descendantName:"inner"})};return u&&(d.style={width:"".concat(u/16,"rem")}),i&&u&&(f.style={paddingBottom:"".concat(i/u*100,"%")}),r.default.createElement("span",d,r.default.createElement("span",f,c))};i.displayName="Svg";var l=i;t.default=l},2461:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var l in n)r.call(n,l)&&n[l]&&e.push(l);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},2657:function(e,t,n){function r(){"use strict";r=function(){return t};var e,t={},n=Object.prototype,a=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},l=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var a=t&&t.prototype instanceof g?t:g,i=Object.create(a.prototype),l=new P(r||[]);return o(i,"_invoke",{value:R(e,n,l)}),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var p="suspendedStart",m="executing",h="completed",v={};function g(){}function y(){}function b(){}var w={};c(w,l,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(L([])));E&&E!==n&&a.call(E,l)&&(w=E);
vendor: 4,211 bytes, line 2
2var C=b.prototype=g.prototype=Object.create(w);function N(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(r,o,i,l){var u=f(e[r],e,o);if("throw"!==u.type){var s=u.arg,c=s.value;return c&&"object"==typeof c&&a.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,i,l)}),(function(e){n("throw",e,i,l)})):t.resolve(c).then((function(e){s.value=e,i(s)}),(function(e){return n("throw",e,i,l)}))}l(u.arg)}var r;o(this,"_invoke",{value:function(e,a){function o(){return new t((function(t,r){n(e,a,t,r)}))}return r=r?r.then(o,o):o()}})}function R(t,n,r){var a=p;return function(o,i){if(a===m)throw new Error("Generator is already running");if(a===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var l=r.delegate;if(l){var u=S(l,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===p)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=m;var s=f(t,n,r);if("normal"===s.type){if(a=r.done?h:"suspendedYield",s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(a=h,r.method="throw",r.arg=s.arg)}}}function S(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,S(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var o=f(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function n(){for(;++r<t.length;)if(a.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return y.prototype=b,o(C,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,s,"GeneratorFunction")),e.prototype=Object.create(C),e},t.awrap=function(e){return{__await:e}},N(x.prototype),c(x.prototype,u,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new x(d(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},N(C),c(C,s,"Generator"),c(C,l,(function(){return this})),c(C,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=L,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,a){return l.type="throw",l.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");
2if(u&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;O(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:L(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}!function(e,t){"use strict";function n(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var i=e.apply(t,r);function l(e){n(i,a,o,l,u,"next",e)}function u(e){n(i,a,o,l,u,"throw",e)}l(void 0)}))}}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function l(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:String(t)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var u={init:"init"},s=function(e){var t=e.value;return void 0===t?"":t},c=function(){return t.createElement(t.Fragment,null," ")},d={Cell:s,width:150,minWidth:0,maxWidth:Number.MAX_SAFE_INTEGER};function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){var n=t.style,r=t.className;return e=o({},e,{},i(t,["style","className"])),n&&(e.style=e.style?o({},e.style||{},{},n||{}):n),r&&(e.className=e.className?e.className+" "+r:r),""===e.className&&delete e.className,e}),{})}var p=function(e,t){return void 0===t&&(t={}),function(n){return void 0===n&&(n={}),[].concat(e,[n]).reduce((function(e,r){return function e(t,n,r){return"function"==typeof n?e({},n(t,r)):Array.isArray(n)?f.apply(void 0,[t].concat(n)):f(t,n)}(e,r,o({},t,{userProps:n}))}),{})}},m=function(e,t,n,r){return void 0===n&&(n={}),e.reduce((function(e,t){return t(e,n)}),t)},h=function(e,t,n){return void 0===n&&(n={}),e.forEach((function(e){e(t,n)}))};function v(e,t,n,r){e.findIndex((function(e){return e.pluginName===n})),t.forEach((function(t){e.findIndex((function(e){return e.pluginName===t}))}))}function g(e,t){return"function"==typeof e?e(t):e}function y(e){var n=t.useRef();return n.current=e,t.useCallback((function(){return n.current}),[])}var b="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;function w(e,n){var r=t.useRef(!1);b((function(){r.current&&e(),r.current=!0}),n)}function _(e,t,n){return void 0===n&&(n={}),function(r,a){void 0===a&&(a={});var i="string"==typeof r?t[r]:r;if(void 0===i)throw console.info(t),new Error("Renderer Error ☝️");return E(i,o({},e,{column:t},n,{},a))}}function E(e,n){return function(e){return"function"==typeof e&&(t=Object.getPrototypeOf(e)).prototype&&t.prototype.isReactComponent;var t}(r=e)||"function"==typeof r||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(r)?t.createElement(e,n):e;var r}
2function C(e,t,n){return void 0===n&&(n=0),e.map((function(e){return x(e=o({},e,{parent:t,depth:n})),e.columns&&(e.columns=C(e.columns,e,n+1)),e}))}function N(e){return L(e,"columns")}function x(e){var t=e.id,n=e.accessor,r=e.Header;if("string"==typeof n){t=t||n;var a=n.split(".");n=function(e){return function(e,t,n){if(!t)return e;var r,a="function"==typeof t?t:JSON.stringify(t),o=k.get(a)||function(){var e=function(e){return function e(t,n){if(void 0===n&&(n=[]),Array.isArray(t))for(var r=0;r<t.length;r+=1)e(t[r],n);else n.push(t);return n}(e).map((function(e){return String(e).replace(".","_")})).join(".").replace(H,".").replace(j,"").split(".")}(t);return k.set(a,e),e}();try{r=o.reduce((function(e,t){return e[t]}),e)}catch(e){}return void 0!==r?r:void 0}(e,a)}}if(!t&&"string"==typeof r&&r&&(t=r),!t&&e.columns)throw console.error(e),new Error('A column ID (or unique "Header" value) is required!');if(!t)throw console.error(e),new Error("A column ID (or string accessor) is required!");return Object.assign(e,{id:t,accessor:n}),e}function R(e,t){if(!t)throw new Error;return Object.assign(e,o({Header:c,Footer:c},d,{},t,{},e)),Object.assign(e,{originalWidth:e.width}),e}function S(e,t,n){void 0===n&&(n=function(){return{}});for(var r=[],a=e,i=0,l=function(){return i++},u=function(){var e={headers:[]},i=[],u=a.some((function(e){return e.parent}));a.forEach((function(r){var a,s=[].concat(i).reverse()[0];u&&(a=r.parent?o({},r.parent,{originalId:r.parent.id,id:r.parent.id+"_"+l(),headers:[r]},n(r)):R(o({originalId:r.id+"_placeholder",id:r.id+"_placeholder_"+l(),placeholderOf:r,headers:[r]},n(r)),t),s&&s.originalId===a.originalId?s.headers.push(r):i.push(a)),e.headers.push(r)})),r.push(e),a=i};a.length;)u();return r.reverse()}var k=new Map;function O(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0;r<t.length;r+=1)if(void 0!==t[r])return t[r]}function P(e){if("function"==typeof e)return e}function L(e,t){var n=[];return function e(r){r.forEach((function(r){r[t]?e(r[t]):n.push(r)}))}(e),n}function T(e,t){var n=t.manualExpandedKey,r=t.expanded,a=t.expandSubRows,o=void 0===a||a,i=[];return e.forEach((function(e){return function e(t,a){void 0===a&&(a=!0),t.isExpanded=t.original&&t.original[n]||r[t.id],t.canExpand=t.subRows&&!!t.subRows.length,a&&i.push(t),t.subRows&&t.subRows.length&&t.isExpanded&&t.subRows.forEach((function(t){return e(t,o)}))}(e)})),i}function I(e,t,n){return P(e)||t[e]||n[e]||n.text}function B(e,t,n){return e?e(t,n):void 0===t}function A(){throw new Error("React-Table: You have not called prepareRow(row) one or more rows you are attempting to render.")}var F=null,H=/\[/g,j=/\]/g,M=function(e){return o({role:"table"},e)},D=function(e){return o({role:"rowgroup"},e)},z=function(e,t){var n=t.column;return o({key:"header_"+n.id,colSpan:n.totalVisibleHeaderCount,role:"columnheader"},e)},V=function(e,t){var n=t.column;return o({key:"footer_"+n.id,colSpan:n.totalVisibleHeaderCount},e)},G=function(e,t){return o({key:"headerGroup_"+t.index,role:"row"},e)},W=function(e,t){return o({key:"footerGroup_"+t.index},e)},U=function(e,t){return o({key:"row_"+t.row.id,role:"row"},e)},q=function(e,t){var n=t.cell;return o({key:"cell_"+n.row.id+"_"+n.column.id,role:"cell"},e)};function X(){return{useOptions:[],stateReducers:[],useControlledState:[],columns:[],columnsDeps:[],allColumns:[],allColumnsDeps:[],accessValue:[],materializedColumns:[],materializedColumnsDeps:[],useInstanceAfterData:[],visibleColumns:[],visibleColumnsDeps:[],headerGroups:[],headerGroupsDeps:[],useInstanceBeforeDimensions:[],useInstance:[],prepareRow:[],getTableProps:[M],getTableBodyProps:[D],getHeaderGroupProps:[G],getFooterGroupProps:[W],getHeaderProps:[z],getFooterProps:[V],getRowProps:[U],getCellProps:[q],useFinalInstance:[]}}u.resetHiddenColumns="resetHiddenColumns",u.toggleHideColumn="toggleHideColumn",u.setHiddenColumns="setHiddenColumns",u.toggleHideAllColumns="toggleHideAllColumns";var K=function(e){e.getToggleHiddenProps=[Y],e.getToggleHideAllColumnsProps=[Z],e.stateReducers.push(J),e.useInstanceBeforeDimensions.push($),e.headerGroupsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.hiddenColumns])})),e.useInstance.push(Q)};K.pluginName="useColumnVisibility";var Y=function(e,t){var n=t.column;return[e,{onChange:function(e){n.toggleHidden(!e.target.checked)},style:{cursor:"pointer"},checked:n.isVisible,title:"Toggle Column Visible"}]},Z=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleHideAllColumns(!e.target.checked)},style:{cursor:"pointer"},checked:!n.allColumnsHidden&&!n.state.hiddenColumns.length,title:"Toggle All Columns Hidden",indeterminate:!n.allColumnsHidden&&n.state.hiddenColumns.length}]};function J(e,t,n,r){if(t.type===u.init)return o({hiddenColumns:[]},e);
2if(t.type===u.resetHiddenColumns)return o({},e,{hiddenColumns:r.initialState.hiddenColumns||[]});if(t.type===u.toggleHideColumn){var a=(void 0!==t.value?t.value:!e.hiddenColumns.includes(t.columnId))?[].concat(e.hiddenColumns,[t.columnId]):e.hiddenColumns.filter((function(e){return e!==t.columnId}));return o({},e,{hiddenColumns:a})}return t.type===u.setHiddenColumns?o({},e,{hiddenColumns:g(t.value,e.hiddenColumns)}):t.type===u.toggleHideAllColumns?o({},e,{hiddenColumns:(void 0!==t.value?t.value:!e.hiddenColumns.length)?r.allColumns.map((function(e){return e.id})):[]}):void 0}function $(e){var n=e.headers,r=e.state.hiddenColumns;t.useRef(!1).current;var a=0;n.forEach((function(e){return a+=function e(t,n){t.isVisible=n&&!r.includes(t.id);var a=0;return t.headers&&t.headers.length?t.headers.forEach((function(n){return a+=e(n,t.isVisible)})):a=t.isVisible?1:0,t.totalVisibleHeaderCount=a,a}(e,!0)}))}function Q(e){var n=e.columns,r=e.flatHeaders,a=e.dispatch,o=e.allColumns,i=e.getHooks,l=e.state.hiddenColumns,s=e.autoResetHiddenColumns,c=void 0===s||s,d=y(e),f=o.length===l.length,m=t.useCallback((function(e,t){return a({type:u.toggleHideColumn,columnId:e,value:t})}),[a]),h=t.useCallback((function(e){return a({type:u.setHiddenColumns,value:e})}),[a]),v=t.useCallback((function(e){return a({type:u.toggleHideAllColumns,value:e})}),[a]),g=p(i().getToggleHideAllColumnsProps,{instance:d()});r.forEach((function(e){e.toggleHidden=function(t){a({type:u.toggleHideColumn,columnId:e.id,value:t})},e.getToggleHiddenProps=p(i().getToggleHiddenProps,{instance:d(),column:e})}));var b=y(c);w((function(){b()&&a({type:u.resetHiddenColumns})}),[a,n]),Object.assign(e,{allColumnsHidden:f,toggleHideColumn:m,setHiddenColumns:h,toggleHideAllColumns:v,getToggleHideAllColumnsProps:g})}var ee={},te={},ne=function(e,t,n){return e},re=function(e,t){return e.subRows||[]},ae=function(e,t,n){return""+(n?[n.id,t].join("."):t)},oe=function(e){return e};function ie(e){var t=e.initialState,n=void 0===t?ee:t,r=e.defaultColumn,a=void 0===r?te:r,l=e.getSubRows,u=void 0===l?re:l,s=e.getRowId,c=void 0===s?ae:s,d=e.stateReducer,f=void 0===d?ne:d,p=e.useControlledState,m=void 0===p?oe:p;return o({},i(e,["initialState","defaultColumn","getSubRows","getRowId","stateReducer","useControlledState"]),{initialState:n,defaultColumn:a,getSubRows:u,getRowId:c,stateReducer:f,useControlledState:m})}function le(e,t){void 0===t&&(t=0);var n=0,r=0,a=0,o=0;return e.forEach((function(e){var i=e.headers;if(e.totalLeft=t,i&&i.length){var l=le(i,t),u=l[0],s=l[1],c=l[2],d=l[3];e.totalMinWidth=u,e.totalWidth=s,e.totalMaxWidth=c,e.totalFlexWidth=d}else e.totalMinWidth=e.minWidth,e.totalWidth=Math.min(Math.max(e.minWidth,e.width),e.maxWidth),e.totalMaxWidth=e.maxWidth,e.totalFlexWidth=e.canResize?e.totalWidth:0;e.isVisible&&(t+=e.totalWidth,n+=e.totalMinWidth,r+=e.totalWidth,a+=e.totalMaxWidth,o+=e.totalFlexWidth)})),[n,r,a,o]}function ue(e){var t=e.data,n=e.rows,r=e.flatRows,a=e.rowsById,o=e.column,i=e.getRowId,l=e.getSubRows,u=e.accessValueHooks,s=e.getInstance;t.forEach((function(e,c){return function e(n,c,d,f,p){void 0===d&&(d=0);var h=n,v=i(n,c,f),g=a[v];if(g)g.subRows&&g.originalSubRows.forEach((function(t,n){return e(t,n,d+1,g)}));else if((g={id:v,original:h,index:c,depth:d,cells:[{}]}).cells.map=A,g.cells.filter=A,g.cells.forEach=A,g.cells[0].getCellProps=A,g.values={},p.push(g),r.push(g),a[v]=g,g.originalSubRows=l(n,c),g.originalSubRows){var y=[];g.originalSubRows.forEach((function(t,n){return e(t,n,d+1,g,y)})),g.subRows=y}o.accessor&&(g.values[o.id]=o.accessor(n,c,g,p,t)),g.values[o.id]=m(u,g.values[o.id],{row:g,column:o,instance:s()})}(e,c,0,void 0,n)}))}u.resetExpanded="resetExpanded",u.toggleRowExpanded="toggleRowExpanded",u.toggleAllRowsExpanded="toggleAllRowsExpanded";var se=function(e){e.getToggleAllRowsExpandedProps=[ce],e.getToggleRowExpandedProps=[de],e.stateReducers.push(fe),e.useInstance.push(pe),e.prepareRow.push(me)};se.pluginName="useExpanded";var ce=function(e,t){var n=t.instance;return[e,{onClick:function(e){n.toggleAllRowsExpanded()},style:{cursor:"pointer"},title:"Toggle All Rows Expanded"}]},de=function(e,t){var n=t.row;return[e,{onClick:function(){n.toggleRowExpanded()},style:{cursor:"pointer"},title:"Toggle Row Expanded"}]};function fe(e,t,n,r){if(t.type===u.init)return o({expanded:{}},e);if(t.type===u.resetExpanded)return o({},e,{expanded:r.initialState.expanded||{}});if(t.type===u.toggleAllRowsExpanded){var a=t.value,s=r.isAllRowsExpanded,c=r.rowsById;if(void 0!==a?a:!s){var d={};
2return Object.keys(c).forEach((function(e){d[e]=!0})),o({},e,{expanded:d})}return o({},e,{expanded:{}})}if(t.type===u.toggleRowExpanded){var f,p=t.id,m=t.value,h=e.expanded[p],v=void 0!==m?m:!h;if(!h&&v)return o({},e,{expanded:o({},e.expanded,(f={},f[p]=!0,f))});if(h&&!v){var g=e.expanded;return g[p],o({},e,{expanded:i(g,[p].map(l))})}return e}}function pe(e){var n=e.data,r=e.rows,a=e.rowsById,o=e.manualExpandedKey,i=void 0===o?"expanded":o,l=e.paginateExpandedRows,s=void 0===l||l,c=e.expandSubRows,d=void 0===c||c,f=e.autoResetExpanded,m=void 0===f||f,h=e.getHooks,g=e.plugins,b=e.state.expanded,_=e.dispatch;v(g,["useSortBy","useGroupBy","usePivotColumns","useGlobalFilter"],"useExpanded");var E=y(m),C=Boolean(Object.keys(a).length&&Object.keys(b).length);C&&Object.keys(a).some((function(e){return!b[e]}))&&(C=!1),w((function(){E()&&_({type:u.resetExpanded})}),[_,n]);var N=t.useCallback((function(e,t){_({type:u.toggleRowExpanded,id:e,value:t})}),[_]),x=t.useCallback((function(e){return _({type:u.toggleAllRowsExpanded,value:e})}),[_]),R=t.useMemo((function(){return s?T(r,{manualExpandedKey:i,expanded:b,expandSubRows:d}):r}),[s,r,i,b,d]),S=t.useMemo((function(){return function(e){var t=0;return Object.keys(e).forEach((function(e){var n=e.split(".");t=Math.max(t,n.length)})),t}(b)}),[b]),k=y(e),O=p(h().getToggleAllRowsExpandedProps,{instance:k()});Object.assign(e,{preExpandedRows:r,expandedRows:R,rows:R,expandedDepth:S,isAllRowsExpanded:C,toggleRowExpanded:N,toggleAllRowsExpanded:x,getToggleAllRowsExpandedProps:O})}function me(e,t){var n=t.instance.getHooks,r=t.instance;e.toggleRowExpanded=function(t){return r.toggleRowExpanded(e.id,t)},e.getToggleRowExpandedProps=p(n().getToggleRowExpandedProps,{instance:r,row:e})}var he=function(e,t,n){return e.filter((function(e){return t.some((function(t){var r=e.values[t];return String(r).toLowerCase().includes(String(n).toLowerCase())}))}))};he.autoRemove=function(e){return!e};var ve=function(e,t,n){return e.filter((function(e){return t.some((function(t){var r=e.values[t];return void 0===r||String(r).toLowerCase()===String(n).toLowerCase()}))}))};ve.autoRemove=function(e){return!e};var ge=function(e,t,n){return e.filter((function(e){return t.some((function(t){var r=e.values[t];return void 0===r||String(r)===String(n)}))}))};ge.autoRemove=function(e){return!e};var ye=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t].includes(n)}))}))};ye.autoRemove=function(e){return!e||!e.length};var be=function(e,t,n){return e.filter((function(e){return t.some((function(t){var r=e.values[t];return r&&r.length&&n.every((function(e){return r.includes(e)}))}))}))};be.autoRemove=function(e){return!e||!e.length};var we=function(e,t,n){return e.filter((function(e){return t.some((function(t){var r=e.values[t];return r&&r.length&&n.some((function(e){return r.includes(e)}))}))}))};we.autoRemove=function(e){return!e||!e.length};var _e=function(e,t,n){return e.filter((function(e){return t.some((function(t){var r=e.values[t];return n.includes(r)}))}))};_e.autoRemove=function(e){return!e||!e.length};var Ee=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t]===n}))}))};Ee.autoRemove=function(e){return void 0===e};var Ce=function(e,t,n){return e.filter((function(e){return t.some((function(t){return e.values[t]==n}))}))};Ce.autoRemove=function(e){return null==e};var Ne=function(e,t,n){var r=n||[],a=r[0],o=r[1];if((a="number"==typeof a?a:-1/0)>(o="number"==typeof o?o:1/0)){var i=a;a=o,o=i}return e.filter((function(e){return t.some((function(t){var n=e.values[t];return n>=a&&n<=o}))}))};Ne.autoRemove=function(e){return!e||"number"!=typeof e[0]&&"number"!=typeof e[1]};var xe=Object.freeze({__proto__:null,text:he,exactText:ve,exactTextCase:ge,includes:ye,includesAll:be,includesSome:we,includesValue:_e,exact:Ee,equals:Ce,between:Ne});u.resetFilters="resetFilters",u.setFilter="setFilter",u.setAllFilters="setAllFilters";var Re=function(e){e.stateReducers.push(Se),e.useInstance.push(ke)};function Se(e,t,n,r){if(t.type===u.init)return o({filters:[]},e);
2if(t.type===u.resetFilters)return o({},e,{filters:r.initialState.filters||[]});if(t.type===u.setFilter){var a=t.columnId,i=t.filterValue,l=r.allColumns,s=r.filterTypes,c=l.find((function(e){return e.id===a}));if(!c)throw new Error("React-Table: Could not find a column with id: "+a);var d=I(c.filter,s||{},xe),f=e.filters.find((function(e){return e.id===a})),p=g(i,f&&f.value);return B(d.autoRemove,p,c)?o({},e,{filters:e.filters.filter((function(e){return e.id!==a}))}):o({},e,f?{filters:e.filters.map((function(e){return e.id===a?{id:a,value:p}:e}))}:{filters:[].concat(e.filters,[{id:a,value:p}])})}if(t.type===u.setAllFilters){var m=t.filters,h=r.allColumns,v=r.filterTypes;return o({},e,{filters:g(m,e.filters).filter((function(e){var t=h.find((function(t){return t.id===e.id}));return!B(I(t.filter,v||{},xe).autoRemove,e.value,t)}))})}}function ke(e){var n=e.data,r=e.rows,a=e.flatRows,o=e.rowsById,i=e.allColumns,l=e.filterTypes,s=e.manualFilters,c=e.defaultCanFilter,d=void 0!==c&&c,f=e.disableFilters,p=e.state.filters,m=e.dispatch,h=e.autoResetFilters,v=void 0===h||h,g=t.useCallback((function(e,t){m({type:u.setFilter,columnId:e,filterValue:t})}),[m]),b=t.useCallback((function(e){m({type:u.setAllFilters,filters:e})}),[m]);i.forEach((function(e){var t=e.id,n=e.accessor,r=e.defaultCanFilter,a=e.disableFilters;e.canFilter=n?O(!0!==a&&void 0,!0!==f&&void 0,!0):O(r,d,!1),e.setFilter=function(t){return g(e.id,t)};var o=p.find((function(e){return e.id===t}));e.filterValue=o&&o.value}));var _=t.useMemo((function(){if(s||!p.length)return[r,a,o];var e=[],t={};return[function n(r,a){void 0===a&&(a=0);var o=r;return(o=p.reduce((function(e,t){var n=t.id,r=t.value,o=i.find((function(e){return e.id===n}));if(!o)return e;0===a&&(o.preFilteredRows=e);var u=I(o.filter,l||{},xe);return u?(o.filteredRows=u(e,[n],r),o.filteredRows):(console.warn("Could not find a valid 'column.filter' for column with the ID: "+o.id+"."),e)}),r)).forEach((function(r){e.push(r),t[r.id]=r,r.subRows&&(r.subRows=r.subRows&&r.subRows.length>0?n(r.subRows,a+1):r.subRows)})),o}(r),e,t]}),[s,p,r,a,o,i,l]),E=_[0],C=_[1],N=_[2];t.useMemo((function(){i.filter((function(e){return!p.find((function(t){return t.id===e.id}))})).forEach((function(e){e.preFilteredRows=E,e.filteredRows=E}))}),[E,p,i]);var x=y(v);w((function(){x()&&m({type:u.resetFilters})}),[m,s?null:n]),Object.assign(e,{preFilteredRows:r,preFilteredFlatRows:a,preFilteredRowsById:o,filteredRows:E,filteredFlatRows:C,filteredRowsById:N,rows:E,flatRows:C,rowsById:N,setFilter:g,setAllFilters:b})}Re.pluginName="useFilters",u.resetGlobalFilter="resetGlobalFilter",u.setGlobalFilter="setGlobalFilter";var Oe=function(e){e.stateReducers.push(Pe),e.useInstance.push(Le)};function Pe(e,t,n,r){if(t.type===u.resetGlobalFilter)return o({},e,{globalFilter:r.initialState.globalFilter||void 0});if(t.type===u.setGlobalFilter){var a=t.filterValue,l=r.userFilterTypes,s=I(r.globalFilter,l||{},xe),c=g(a,e.globalFilter);return B(s.autoRemove,c)?(e.globalFilter,i(e,["globalFilter"])):o({},e,{globalFilter:c})}}function Le(e){var n=e.data,r=e.rows,a=e.flatRows,o=e.rowsById,i=e.allColumns,l=e.filterTypes,s=e.globalFilter,c=e.manualGlobalFilter,d=e.state.globalFilter,f=e.dispatch,p=e.autoResetGlobalFilter,m=void 0===p||p,h=e.disableGlobalFilter,v=t.useCallback((function(e){f({type:u.setGlobalFilter,filterValue:e})}),[f]),g=t.useMemo((function(){if(c||void 0===d)return[r,a,o];var e=[],t={},n=I(s,l||{},xe);if(!n)return console.warn("Could not find a valid 'globalFilter' option."),r;i.forEach((function(e){var t=e.disableGlobalFilter;e.canFilter=O(!0!==t&&void 0,!0!==h&&void 0,!0)}));var u=i.filter((function(e){return!0===e.canFilter}));return[function r(a){return(a=n(a,u.map((function(e){return e.id})),d)).forEach((function(n){e.push(n),t[n.id]=n,n.subRows=n.subRows&&n.subRows.length?r(n.subRows):n.subRows})),a}(r),e,t]}),[c,d,s,l,i,r,a,o,h]),b=g[0],_=g[1],E=g[2],C=y(m);w((function(){C()&&f({type:u.resetGlobalFilter})}),[f,c?null:n]),Object.assign(e,{preGlobalFilteredRows:r,preGlobalFilteredFlatRows:a,preGlobalFilteredRowsById:o,globalFilteredRows:b,globalFilteredFlatRows:_,globalFilteredRowsById:E,rows:b,flatRows:_,rowsById:E,setGlobalFilter:v,disableGlobalFilter:h})}function Te(e,t){return t.reduce((function(e,t){return e+("number"==typeof t?t:0)}),0)}Oe.pluginName="useGlobalFilter";var Ie=Object.freeze({__proto__:null,sum:Te,min:function(e){var t=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.min(t,e))})),t},max:function(e){var t=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.max(t,e))})),t},minMax:function(e){var t=e[0]||0,n=e[0]||0;return e.forEach((function(e){"number"==typeof e&&(t=Math.min(t,e),n=Math.max(n,e))})),t+".."+n},average:function(e){return Te(0,e)/e.length},median:function(e){if(!e.length)return null;var t=Math.floor(e.length/2),n=[].concat(e).sort((function(e,t){return e-t}));return e.length%2!=0?n[t]:(n[t-1]+n[t])/2},unique:function(e){return Array.from(new Set(e).values())},uniqueCount:function(e){return new Set(e).size},count:function(e){return e.length}}),Be=[],Ae={};u.resetGroupBy="resetGroupBy",u.setGroupBy="setGroupBy",u.toggleGroupBy="toggleGroupBy";var Fe=function(e){e.getGroupByToggleProps=[He],e.stateReducers.push(je),e.visibleColumnsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.groupBy])})),e.visibleColumns.push(Me),e.useInstance.push(ze),e.prepareRow.push(Ve)};Fe.pluginName="useGroupBy";var He=function(e,t){var n=t.header;return[e,{onClick:n.canGroupBy?function(e){e.persist(),n.toggleGroupBy()}:void 0,style:{cursor:n.canGroupBy?"pointer":void 0},title:"Toggle GroupBy"}]};function je(e,t,n,r){if(t.type===u.init)return o({groupBy:[]},e);
2if(t.type===u.resetGroupBy)return o({},e,{groupBy:r.initialState.groupBy||[]});if(t.type===u.setGroupBy)return o({},e,{groupBy:t.value});if(t.type===u.toggleGroupBy){var a=t.columnId,i=t.value,l=void 0!==i?i:!e.groupBy.includes(a);return o({},e,l?{groupBy:[].concat(e.groupBy,[a])}:{groupBy:e.groupBy.filter((function(e){return e!==a}))})}}function Me(e,t){var n=t.instance.state.groupBy,r=n.map((function(t){return e.find((function(e){return e.id===t}))})).filter(Boolean),a=e.filter((function(e){return!n.includes(e.id)}));return(e=[].concat(r,a)).forEach((function(e){e.isGrouped=n.includes(e.id),e.groupedIndex=n.indexOf(e.id)})),e}var De={};function ze(e){var n=e.data,r=e.rows,a=e.flatRows,o=e.rowsById,i=e.allColumns,l=e.flatHeaders,s=e.groupByFn,c=void 0===s?Ge:s,d=e.manualGroupBy,f=e.aggregations,m=void 0===f?De:f,h=e.plugins,g=e.state.groupBy,b=e.dispatch,_=e.autoResetGroupBy,E=void 0===_||_,C=e.disableGroupBy,N=e.defaultCanGroupBy,x=e.getHooks;v(h,["useColumnOrder","useFilters"],"useGroupBy");var R=y(e);i.forEach((function(t){var n=t.accessor,r=t.defaultGroupBy,a=t.disableGroupBy;t.canGroupBy=n?O(t.canGroupBy,!0!==a&&void 0,!0!==C&&void 0,!0):O(t.canGroupBy,r,N,!1),t.canGroupBy&&(t.toggleGroupBy=function(){return e.toggleGroupBy(t.id)}),t.Aggregated=t.Aggregated||t.Cell}));var S=t.useCallback((function(e,t){b({type:u.toggleGroupBy,columnId:e,value:t})}),[b]),k=t.useCallback((function(e){b({type:u.setGroupBy,value:e})}),[b]);l.forEach((function(e){e.getGroupByToggleProps=p(x().getGroupByToggleProps,{instance:R(),header:e})}));var P=t.useMemo((function(){if(d||!g.length)return[r,a,o,Be,Ae,a,o];var e=g.filter((function(e){return i.find((function(t){return t.id===e}))})),t=[],n={},l=[],u={},s=[],f={},p=function r(a,o,d){if(void 0===o&&(o=0),o===e.length)return a;var p=e[o],h=c(a,p);return Object.entries(h).map((function(a,c){var h=a[0],v=a[1],g=p+":"+h,y=r(v,o+1,g=d?d+">"+g:g),b=o?L(v,"leafRows"):v,w=function(t,n,r){var a={};return i.forEach((function(o){if(e.includes(o.id))a[o.id]=n[0]?n[0].values[o.id]:null;else{var i="function"==typeof o.aggregate?o.aggregate:m[o.aggregate]||Ie[o.aggregate];if(i){var l=n.map((function(e){return e.values[o.id]})),u=t.map((function(e){var t=e.values[o.id];if(!r&&o.aggregateValue){var n="function"==typeof o.aggregateValue?o.aggregateValue:m[o.aggregateValue]||Ie[o.aggregateValue];if(!n)throw console.info({column:o}),new Error("React Table: Invalid column.aggregateValue option for column listed above");t=n(t,e,o)}return t}));a[o.id]=i(u,l)}else{if(o.aggregate)throw console.info({column:o}),new Error("React Table: Invalid column.aggregate option for column listed above");a[o.id]=null}}})),a}(b,v,o),_={id:g,isGrouped:!0,groupByID:p,groupByVal:h,values:w,subRows:y,leafRows:b,depth:o,index:c};return y.forEach((function(e){t.push(e),n[e.id]=e,e.isGrouped?(l.push(e),u[e.id]=e):(s.push(e),f[e.id]=e)})),_}))}(r);return p.forEach((function(e){t.push(e),n[e.id]=e,e.isGrouped?(l.push(e),u[e.id]=e):(s.push(e),f[e.id]=e)})),[p,t,n,l,u,s,f]}),[d,g,r,a,o,i,m,c]),T=P[0],I=P[1],B=P[2],A=P[3],F=P[4],H=P[5],j=P[6],M=y(E);w((function(){M()&&b({type:u.resetGroupBy})}),[b,d?null:n]),Object.assign(e,{preGroupedRows:r,preGroupedFlatRow:a,preGroupedRowsById:o,groupedRows:T,groupedFlatRows:I,groupedRowsById:B,onlyGroupedFlatRows:A,onlyGroupedRowsById:F,nonGroupedFlatRows:H,nonGroupedRowsById:j,rows:T,flatRows:I,rowsById:B,toggleGroupBy:S,setGroupBy:k})}function Ve(e){e.allCells.forEach((function(t){var n;t.isGrouped=t.column.isGrouped&&t.column.id===e.groupByID,t.isPlaceholder=!t.isGrouped&&t.column.isGrouped,t.isAggregated=!t.isGrouped&&!t.isPlaceholder&&(null==(n=e.subRows)?void 0:n.length)}))}function Ge(e,t){return e.reduce((function(e,n,r){var a=""+n.values[t];return e[a]=Array.isArray(e[a])?e[a]:[],e[a].push(n),e}),{})}var We=/([0-9]+)/gm;function Ue(e,t){return e===t?0:e>t?1:-1}function qe(e,t,n){return[e.values[n],t.values[n]]}function Xe(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}var Ke=Object.freeze({__proto__:null,alphanumeric:function(e,t,n){var r=qe(e,t,n),a=r[0],o=r[1];
2for(a=Xe(a),o=Xe(o),a=a.split(We).filter(Boolean),o=o.split(We).filter(Boolean);a.length&&o.length;){var i=a.shift(),l=o.shift(),u=parseInt(i,10),s=parseInt(l,10),c=[u,s].sort();if(isNaN(c[0])){if(i>l)return 1;if(l>i)return-1}else{if(isNaN(c[1]))return isNaN(u)?-1:1;if(u>s)return 1;if(s>u)return-1}}return a.length-o.length},datetime:function(e,t,n){var r=qe(e,t,n),a=r[0],o=r[1];return Ue(a=a.getTime(),o=o.getTime())},basic:function(e,t,n){var r=qe(e,t,n);return Ue(r[0],r[1])},string:function(e,t,n){var r=qe(e,t,n),a=r[0],o=r[1];for(a=a.split("").filter(Boolean),o=o.split("").filter(Boolean);a.length&&o.length;){var i=a.shift(),l=o.shift(),u=i.toLowerCase(),s=l.toLowerCase();if(u>s)return 1;if(s>u)return-1;if(i>l)return 1;if(l>i)return-1}return a.length-o.length},number:function(e,t,n){var r=qe(e,t,n),a=r[0],o=r[1],i=/[^0-9.]/gi;return Ue(a=Number(String(a).replace(i,"")),o=Number(String(o).replace(i,"")))}});u.resetSortBy="resetSortBy",u.setSortBy="setSortBy",u.toggleSortBy="toggleSortBy",u.clearSortBy="clearSortBy",d.sortType="alphanumeric",d.sortDescFirst=!1;var Ye=function(e){e.getSortByToggleProps=[Ze],e.stateReducers.push(Je),e.useInstance.push($e)};Ye.pluginName="useSortBy";var Ze=function(e,t){var n=t.instance,r=t.column,a=n.isMultiSortEvent,o=void 0===a?function(e){return e.shiftKey}:a;return[e,{onClick:r.canSort?function(e){e.persist(),r.toggleSortBy(void 0,!n.disableMultiSort&&o(e))}:void 0,style:{cursor:r.canSort?"pointer":void 0},title:r.canSort?"Toggle SortBy":void 0}]};function Je(e,t,n,r){if(t.type===u.init)return o({sortBy:[]},e);if(t.type===u.resetSortBy)return o({},e,{sortBy:r.initialState.sortBy||[]});if(t.type===u.clearSortBy)return o({},e,{sortBy:e.sortBy.filter((function(e){return e.id!==t.columnId}))});if(t.type===u.setSortBy)return o({},e,{sortBy:t.sortBy});if(t.type===u.toggleSortBy){var a,i=t.columnId,l=t.desc,s=t.multi,c=r.allColumns,d=r.disableMultiSort,f=r.disableSortRemove,p=r.disableMultiRemove,m=r.maxMultiSortColCount,h=void 0===m?Number.MAX_SAFE_INTEGER:m,v=e.sortBy,g=c.find((function(e){return e.id===i})).sortDescFirst,y=v.find((function(e){return e.id===i})),b=v.findIndex((function(e){return e.id===i})),w=null!=l,_=[];return"toggle"!=(a=!d&&s?y?"toggle":"add":b!==v.length-1||1!==v.length?"replace":y?"toggle":"replace")||f||w||s&&p||!(y&&y.desc&&!g||!y.desc&&g)||(a="remove"),"replace"===a?_=[{id:i,desc:w?l:g}]:"add"===a?(_=[].concat(v,[{id:i,desc:w?l:g}])).splice(0,_.length-h):"toggle"===a?_=v.map((function(e){return e.id===i?o({},e,{desc:w?l:!y.desc}):e})):"remove"===a&&(_=v.filter((function(e){return e.id!==i}))),o({},e,{sortBy:_})}}function $e(e){var n=e.data,r=e.rows,a=e.flatRows,o=e.allColumns,i=e.orderByFn,l=void 0===i?Qe:i,s=e.sortTypes,c=e.manualSortBy,d=e.defaultCanSort,f=e.disableSortBy,m=e.flatHeaders,h=e.state.sortBy,g=e.dispatch,b=e.plugins,_=e.getHooks,E=e.autoResetSortBy,C=void 0===E||E;v(b,["useFilters","useGlobalFilter","useGroupBy","usePivotColumns"],"useSortBy");var N=t.useCallback((function(e){g({type:u.setSortBy,sortBy:e})}),[g]),x=t.useCallback((function(e,t,n){g({type:u.toggleSortBy,columnId:e,desc:t,multi:n})}),[g]),R=y(e);m.forEach((function(e){var t=e.accessor,n=e.canSort,r=e.disableSortBy,a=e.id,o=t?O(!0!==r&&void 0,!0!==f&&void 0,!0):O(d,n,!1);e.canSort=o,e.canSort&&(e.toggleSortBy=function(t,n){return x(e.id,t,n)},e.clearSortBy=function(){g({type:u.clearSortBy,columnId:e.id})}),e.getSortByToggleProps=p(_().getSortByToggleProps,{instance:R(),column:e});var i=h.find((function(e){return e.id===a}));e.isSorted=!!i,e.sortedIndex=h.findIndex((function(e){return e.id===a})),e.isSortedDesc=e.isSorted?i.desc:void 0}));var S=t.useMemo((function(){if(c||!h.length)return[r,a];var e=[],t=h.filter((function(e){return o.find((function(t){return t.id===e.id}))}));return[function n(r){var a=l(r,t.map((function(e){var t=o.find((function(t){return t.id===e.id}));if(!t)throw new Error("React-Table: Could not find a column with id: "+e.id+" while sorting");var n=t.sortType,r=P(n)||(s||{})[n]||Ke[n];if(!r)throw new Error("React-Table: Could not find a valid sortType of '"+n+"' for column '"+e.id+"'.");return function(t,n){return r(t,n,e.id,e.desc)}})),t.map((function(e){var t=o.find((function(t){return t.id===e.id}));return t&&t.sortInverted?e.desc:!e.desc})));return a.forEach((function(t){e.push(t),t.subRows&&0!==t.subRows.length&&(t.subRows=n(t.subRows))})),a}(r),e]}),[c,h,r,a,o,l,s]),k=S[0],L=S[1],T=y(C);w((function(){T()&&g({type:u.resetSortBy})}),[c?null:n]),Object.assign(e,{preSortedRows:r,preSortedFlatRows:a,sortedRows:k,sortedFlatRows:L,rows:k,flatRows:L,setSortBy:N,toggleSortBy:x})}function Qe(e,t,n){return[].concat(e).sort((function(e,r){for(var a=0;a<t.length;a+=1){var o=t[a],i=!1===n[a]||"desc"===n[a],l=o(e,r);if(0!==l)return i?-l:l}return n[0]?e.index-r.index:r.index-e.index}))}u.resetPage="resetPage",u.gotoPage="gotoPage",u.setPageSize="setPageSize";var et=function(e){e.stateReducers.push(tt),e.useInstance.push(nt)};function tt(e,t,n,r){if(t.type===u.init)return o({pageSize:10,pageIndex:0},e);if(t.type===u.resetPage)return o({},e,{pageIndex:r.initialState.pageIndex||0});if(t.type===u.gotoPage){var a=r.pageCount,i=r.page,l=g(t.pageIndex,e.pageIndex),s=!1;return l>e.pageIndex?s=-1===a?i.length>=e.pageSize:l<a:l<e.pageIndex&&(s=l>-1),s?o({},e,{pageIndex:l}):e}if(t.type===u.setPageSize){var c=t.pageSize,d=e.pageSize*e.pageIndex;return o({},e,{pageIndex:Math.floor(d/c),pageSize:c})}}function nt(e){var n=e.rows,r=e.autoResetPage,a=void 0===r||r,o=e.manualExpandedKey,i=void 0===o?"expanded":o,l=e.plugins,s=e.pageCount,c=e.paginateExpandedRows,d=void 0===c||c,f=e.expandSubRows,p=void 0===f||f,m=e.state,h=m.pageSize,g=m.pageIndex,b=m.expanded,_=m.globalFilter,E=m.filters,C=m.groupBy,N=m.sortBy,x=e.dispatch,R=e.data,S=e.manualPagination;v(l,["useGlobalFilter","useFilters","useGroupBy","useSortBy","useExpanded"],"usePagination");var k=y(a);w((function(){k()&&x({type:u.resetPage})}
2),[x,S?null:R,_,E,C,N]);var O=S?s:Math.ceil(n.length/h),P=t.useMemo((function(){return O>0?[].concat(new Array(O)).fill(null).map((function(e,t){return t})):[]}),[O]),L=t.useMemo((function(){var e;if(S)e=n;else{var t=h*g,r=t+h;e=n.slice(t,r)}return d?e:T(e,{manualExpandedKey:i,expanded:b,expandSubRows:p})}),[p,b,i,S,g,h,d,n]),I=g>0,B=-1===O?L.length>=h:g<O-1,A=t.useCallback((function(e){x({type:u.gotoPage,pageIndex:e})}),[x]),F=t.useCallback((function(){return A((function(e){return e-1}))}),[A]),H=t.useCallback((function(){return A((function(e){return e+1}))}),[A]),j=t.useCallback((function(e){x({type:u.setPageSize,pageSize:e})}),[x]);Object.assign(e,{pageOptions:P,pageCount:O,page:L,canPreviousPage:I,canNextPage:B,gotoPage:A,previousPage:F,nextPage:H,setPageSize:j})}et.pluginName="usePagination",u.resetPivot="resetPivot",u.togglePivot="togglePivot";var rt=function(e){e.getPivotToggleProps=[ot],e.stateReducers.push(it),e.useInstanceAfterData.push(lt),e.allColumns.push(ut),e.accessValue.push(st),e.materializedColumns.push(ct),e.materializedColumnsDeps.push(dt),e.visibleColumns.push(ft),e.visibleColumnsDeps.push(pt),e.useInstance.push(mt),e.prepareRow.push(ht)};rt.pluginName="usePivotColumns";var at=[],ot=function(e,t){var n=t.header;return[e,{onClick:n.canPivot?function(e){e.persist(),n.togglePivot()}:void 0,style:{cursor:n.canPivot?"pointer":void 0},title:"Toggle Pivot"}]};function it(e,t,n,r){if(t.type===u.init)return o({pivotColumns:at},e);if(t.type===u.resetPivot)return o({},e,{pivotColumns:r.initialState.pivotColumns||at});if(t.type===u.togglePivot){var a=t.columnId,i=t.value,l=void 0!==i?i:!e.pivotColumns.includes(a);return o({},e,l?{pivotColumns:[].concat(e.pivotColumns,[a])}:{pivotColumns:e.pivotColumns.filter((function(e){return e!==a}))})}}function lt(e){e.allColumns.forEach((function(t){t.isPivotSource=e.state.pivotColumns.includes(t.id)}))}function ut(e,t){var n=t.instance;return e.forEach((function(e){e.isPivotSource=n.state.pivotColumns.includes(e.id),e.uniqueValues=new Set})),e}function st(e,t){var n=t.column;return n.uniqueValues&&void 0!==e&&n.uniqueValues.add(e),e}function ct(e,t){var n=t.instance,r=n.allColumns,a=n.state;if(!a.pivotColumns.length||!a.groupBy||!a.groupBy.length)return e;var i=a.pivotColumns.map((function(e){return r.find((function(t){return t.id===e}))})).filter(Boolean),l=r.filter((function(e){return!e.isPivotSource&&!a.groupBy.includes(e.id)&&!a.pivotColumns.includes(e.id)}
2)),u=N(function e(t,n,r){void 0===t&&(t=0),void 0===r&&(r=[]);var a=i[t];return a?Array.from(a.uniqueValues).sort().map((function(i){var l=o({},a,{Header:a.PivotHeader||"string"==typeof a.header?a.Header+": "+i:i,isPivotGroup:!0,parent:n,depth:t,id:n?n.id+"."+a.id+"."+i:a.id+"."+i,pivotValue:i});return l.columns=e(t+1,l,[].concat(r,[function(e){return e.values[a.id]===i}])),l})):l.map((function(e){return o({},e,{canPivot:!1,isPivoted:!0,parent:n,depth:t,id:""+(n?n.id+"."+e.id:e.id),accessor:function(t,n,a){if(r.every((function(e){return e(a)})))return a.values[e.id]}})}))}());return[].concat(e,u)}function dt(e,t){var n=t.instance.state,r=n.pivotColumns,a=n.groupBy;return[].concat(e,[r,a])}function ft(e,t){var n=t.instance.state;return e=e.filter((function(e){return!e.isPivotSource})),n.pivotColumns.length&&n.groupBy&&n.groupBy.length&&(e=e.filter((function(e){return e.isGrouped||e.isPivoted}))),e}function pt(e,t){var n=t.instance;return[].concat(e,[n.state.pivotColumns,n.state.groupBy])}function mt(e){var t=e.columns,n=e.allColumns,r=e.flatHeaders,a=e.getHooks,o=e.plugins,i=e.dispatch,l=e.autoResetPivot,s=void 0===l||l,c=e.manaulPivot,d=e.disablePivot,f=e.defaultCanPivot;v(o,["useGroupBy"],"usePivotColumns");var m=y(e);n.forEach((function(t){var n=t.accessor,r=t.defaultPivot,a=t.disablePivot;t.canPivot=n?O(t.canPivot,!0!==a&&void 0,!0!==d&&void 0,!0):O(t.canPivot,r,f,!1),t.canPivot&&(t.togglePivot=function(){return e.togglePivot(t.id)}),t.Aggregated=t.Aggregated||t.Cell})),r.forEach((function(e){e.getPivotToggleProps=p(a().getPivotToggleProps,{instance:m(),header:e})}));var h=y(s);w((function(){h()&&i({type:u.resetPivot})}),[i,c?null:t]),Object.assign(e,{togglePivot:function(e,t){i({type:u.togglePivot,columnId:e,value:t})}})}function ht(e){e.allCells.forEach((function(e){e.isPivoted=e.column.isPivoted}))}u.resetSelectedRows="resetSelectedRows",u.toggleAllRowsSelected="toggleAllRowsSelected",u.toggleRowSelected="toggleRowSelected",u.toggleAllPageRowsSelected="toggleAllPageRowsSelected";var vt=function(e){e.getToggleRowSelectedProps=[gt],e.getToggleAllRowsSelectedProps=[yt],e.getToggleAllPageRowsSelectedProps=[bt],e.stateReducers.push(wt),e.useInstance.push(_t),e.prepareRow.push(Et)};vt.pluginName="useRowSelect";var gt=function(e,t){var n=t.instance,r=t.row,a=n.manualRowSelectedKey,o=void 0===a?"isSelected":a;return[e,{onChange:function(e){r.toggleRowSelected(e.target.checked)},style:{cursor:"pointer"},checked:!(!r.original||!r.original[o])||r.isSelected,title:"Toggle Row Selected",indeterminate:r.isSomeSelected}]},yt=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllRowsSelected,title:"Toggle All Rows Selected",indeterminate:Boolean(!n.isAllRowsSelected&&Object.keys(n.state.selectedRowIds).length)}]},bt=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllPageRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllPageRowsSelected,title:"Toggle All Current Page Rows Selected",indeterminate:Boolean(!n.isAllPageRowsSelected&&n.page.some((function(e){var t=e.id;return n.state.selectedRowIds[t]})))}]};function wt(e,t,n,r){if(t.type===u.init)return o({selectedRowIds:{}},e);if(t.type===u.resetSelectedRows)return o({},e,{selectedRowIds:r.initialState.selectedRowIds||{}});if(t.type===u.toggleAllRowsSelected){var a=t.value,i=r.isAllRowsSelected,l=r.rowsById,s=r.nonGroupedRowsById,c=void 0===s?l:s,d=void 0!==a?a:!i,f=Object.assign({},e.selectedRowIds);return d?Object.keys(c).forEach((function(e){f[e]=!0})):Object.keys(c).forEach((function(e){delete f[e]})),o({},e,{selectedRowIds:f})}if(t.type===u.toggleRowSelected){var p=t.id,m=t.value,h=r.rowsById,v=r.selectSubRows,g=void 0===v||v,y=r.getSubRows,b=e.selectedRowIds[p],w=void 0!==m?m:!b;if(b===w)return e;var _=o({},e.selectedRowIds);return function e(t){var n=h[t];if(n.isGrouped||(w?_[t]=!0:delete _[t]),g&&y(n))return y(n).forEach((function(t){return e(t.id)}))}(p),o({},e,{selectedRowIds:_})}if(t.type===u.toggleAllPageRowsSelected){var E=t.value,C=r.page,N=r.rowsById,x=r.selectSubRows,R=void 0===x||x,S=r.isAllPageRowsSelected,k=r.getSubRows,O=void 0!==E?E:!S,P=o({},e.selectedRowIds);
2return C.forEach((function(e){return function e(t){var n=N[t];if(n.isGrouped||(O?P[t]=!0:delete P[t]),R&&k(n))return k(n).forEach((function(t){return e(t.id)}))}(e.id)})),o({},e,{selectedRowIds:P})}return e}function _t(e){var n=e.data,r=e.rows,a=e.getHooks,o=e.plugins,i=e.rowsById,l=e.nonGroupedRowsById,s=void 0===l?i:l,c=e.autoResetSelectedRows,d=void 0===c||c,f=e.state.selectedRowIds,m=e.selectSubRows,h=void 0===m||m,g=e.dispatch,b=e.page,_=e.getSubRows;v(o,["useFilters","useGroupBy","useSortBy","useExpanded","usePagination"],"useRowSelect");var E=t.useMemo((function(){var e=[];return r.forEach((function(t){var n=h?function e(t,n,r){if(n[t.id])return!0;var a=r(t);if(a&&a.length){var o=!0,i=!1;return a.forEach((function(t){i&&!o||(e(t,n,r)?i=!0:o=!1)})),!!o||!!i&&null}return!1}(t,f,_):!!f[t.id];t.isSelected=!!n,t.isSomeSelected=null===n,n&&e.push(t)})),e}),[r,h,f,_]),C=Boolean(Object.keys(s).length&&Object.keys(f).length),N=C;C&&Object.keys(s).some((function(e){return!f[e]}))&&(C=!1),C||b&&b.length&&b.some((function(e){var t=e.id;return!f[t]}))&&(N=!1);var x=y(d);w((function(){x()&&g({type:u.resetSelectedRows})}),[g,n]);var R=t.useCallback((function(e){return g({type:u.toggleAllRowsSelected,value:e})}),[g]),S=t.useCallback((function(e){return g({type:u.toggleAllPageRowsSelected,value:e})}),[g]),k=t.useCallback((function(e,t){return g({type:u.toggleRowSelected,id:e,value:t})}),[g]),O=y(e),P=p(a().getToggleAllRowsSelectedProps,{instance:O()}),L=p(a().getToggleAllPageRowsSelectedProps,{instance:O()});Object.assign(e,{selectedFlatRows:E,isAllRowsSelected:C,isAllPageRowsSelected:N,toggleRowSelected:k,toggleAllRowsSelected:R,getToggleAllRowsSelectedProps:P,getToggleAllPageRowsSelectedProps:L,toggleAllPageRowsSelected:S})}function Et(e,t){var n=t.instance;e.toggleRowSelected=function(t){return n.toggleRowSelected(e.id,t)},e.getToggleRowSelectedProps=p(n.getHooks().getToggleRowSelectedProps,{instance:n,row:e})}var Ct=function(e){return{}},Nt=function(e){return{}};u.setRowState="setRowState",u.setCellState="setCellState",u.resetRowState="resetRowState";var xt=function(e){e.stateReducers.push(Rt),e.useInstance.push(St),e.prepareRow.push(kt)};function Rt(e,t,n,r){var a=r.initialRowStateAccessor,i=void 0===a?Ct:a,l=r.initialCellStateAccessor,s=void 0===l?Nt:l,c=r.rowsById;if(t.type===u.init)return o({rowState:{}},e);if(t.type===u.resetRowState)return o({},e,{rowState:r.initialState.rowState||{}});if(t.type===u.setRowState){var d,f=t.rowId,p=t.value,m=void 0!==e.rowState[f]?e.rowState[f]:i(c[f]);return o({},e,{rowState:o({},e.rowState,(d={},d[f]=g(p,m),d))})}if(t.type===u.setCellState){var h,v,y,b,w,_=t.rowId,E=t.columnId,C=t.value,N=void 0!==e.rowState[_]?e.rowState[_]:i(c[_]),x=void 0!==(null==N||null==(h=N.cellState)?void 0:h[E])?N.cellState[E]:s(null==(v=c[_])||null==(y=v.cells)?void 0:y.find((function(e){return e.column.id===E})));return o({},e,{rowState:o({},e.rowState,(w={},w[_]=o({},N,{cellState:o({},N.cellState||{},(b={},b[E]=g(C,x),b))}),w))})}}function St(e){var n=e.autoResetRowState,r=void 0===n||n,a=e.data,o=e.dispatch,i=t.useCallback((function(e,t){return o({type:u.setRowState,rowId:e,value:t})}),[o]),l=t.useCallback((function(e,t,n){return o({type:u.setCellState,rowId:e,columnId:t,value:n})}),[o]),s=y(r);w((function(){s()&&o({type:u.resetRowState})}
2),[a]),Object.assign(e,{setRowState:i,setCellState:l})}function kt(e,t){var n=t.instance,r=n.initialRowStateAccessor,a=void 0===r?Ct:r,o=n.initialCellStateAccessor,i=void 0===o?Nt:o,l=n.state.rowState;e&&(e.state=void 0!==l[e.id]?l[e.id]:a(e),e.setState=function(t){return n.setRowState(e.id,t)},e.cells.forEach((function(t){e.state.cellState||(e.state.cellState={}),t.state=void 0!==e.state.cellState[t.column.id]?e.state.cellState[t.column.id]:i(t),t.setState=function(r){return n.setCellState(e.id,t.column.id,r)}})))}xt.pluginName="useRowState",u.resetColumnOrder="resetColumnOrder",u.setColumnOrder="setColumnOrder";var Ot=function(e){e.stateReducers.push(Pt),e.visibleColumnsDeps.push((function(e,t){var n=t.instance;return[].concat(e,[n.state.columnOrder])})),e.visibleColumns.push(Lt),e.useInstance.push(Tt)};function Pt(e,t,n,r){return t.type===u.init?o({columnOrder:[]},e):t.type===u.resetColumnOrder?o({},e,{columnOrder:r.initialState.columnOrder||[]}):t.type===u.setColumnOrder?o({},e,{columnOrder:g(t.columnOrder,e.columnOrder)}):void 0}function Lt(e,t){var n=t.instance.state.columnOrder;if(!n||!n.length)return e;for(var r=[].concat(n),a=[].concat(e),o=[],i=function(){var e=r.shift(),t=a.findIndex((function(t){return t.id===e}));t>-1&&o.push(a.splice(t,1)[0])};a.length&&r.length;)i();return[].concat(o,a)}function Tt(e){var n=e.dispatch;e.setColumnOrder=t.useCallback((function(e){return n({type:u.setColumnOrder,columnOrder:e})}),[n])}Ot.pluginName="useColumnOrder",d.canResize=!0,u.columnStartResizing="columnStartResizing",u.columnResizing="columnResizing",u.columnDoneResizing="columnDoneResizing",u.resetResize="resetResize";var It=function(e){e.getResizerProps=[Bt],e.getHeaderProps.push({style:{position:"relative"}}),e.stateReducers.push(At),e.useInstance.push(Ht),e.useInstanceBeforeDimensions.push(Ft)},Bt=function(e,t){var n=t.instance,r=t.header,a=n.dispatch,o=function(e,t){var n=!1;if("touchstart"===e.type){if(e.touches&&e.touches.length>1)return;n=!0}var r=function(e){var t=[];return function e(n){n.columns&&n.columns.length&&n.columns.map(e),t.push(n)}(e),t}(t).map((function(e){return[e.id,e.totalWidth]})),o=n?Math.round(e.touches[0].clientX):e.clientX,i=function(e){a({type:u.columnResizing,clientX:e})},l=function(){return a({type:u.columnDoneResizing})},s={mouse:{moveEvent:"mousemove",moveHandler:function(e){return i(e.clientX)},upEvent:"mouseup",upHandler:function(e){document.removeEventListener("mousemove",s.mouse.moveHandler),document.removeEventListener("mouseup",s.mouse.upHandler),l()}},touch:{moveEvent:"touchmove",moveHandler:function(e){return e.cancelable&&(e.preventDefault(),e.stopPropagation()),i(e.touches[0].clientX),!1},upEvent:"touchend",upHandler:function(e){document.removeEventListener(s.touch.moveEvent,s.touch.moveHandler),document.removeEventListener(s.touch.upEvent,s.touch.moveHandler),l()}}},c=n?s.touch:s.mouse,d=!!function(){if("boolean"==typeof F)return F;var e=!1;try{var t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){e=!1}return F=e}()&&{passive:!1};document.addEventListener(c.moveEvent,c.moveHandler,d),document.addEventListener(c.upEvent,c.upHandler,d),a({type:u.columnStartResizing,columnId:t.id,columnWidth:t.totalWidth,headerIdWidths:r,clientX:o})};return[e,{onMouseDown:function(e){return e.persist()||o(e,r)},onTouchStart:function(e){return e.persist()||o(e,r)},style:{cursor:"col-resize"},draggable:!1,role:"separator"}]};function At(e,t){if(t.type===u.init)return o({columnResizing:{columnWidths:{}}},e);if(t.type===u.resetResize)return o({},e,{columnResizing:{columnWidths:{}}});if(t.type===u.columnStartResizing){var n=t.clientX,r=t.columnId,a=t.columnWidth,i=t.headerIdWidths;return o({},e,{columnResizing:o({},e.columnResizing,{startX:n,headerIdWidths:i,columnWidth:a,isResizingColumn:r})})}if(t.type===u.columnResizing){var l=t.clientX,s=e.columnResizing,c=s.startX,d=s.columnWidth,f=s.headerIdWidths,p=(l-c)/d,m={};return(void 0===f?[]:f).forEach((function(e){var t=e[0],n=e[1];m[t]=Math.max(n+n*p,0)})),o({},e,{columnResizing:o({},e.columnResizing,{columnWidths:o({},e.columnResizing.columnWidths,{},m)})})}return t.type===u.columnDoneResizing?o({},e,{columnResizing:o({},e.columnResizing,{startX:null,isResizingColumn:null})}):void 0}It.pluginName="useResizeColumns";var Ft=function(e){var t=e.flatHeaders,n=e.disableResizing,r=e.getHooks,a=e.state.columnResizing,o=y(e);t.forEach((function(e){var t=O(!0!==e.disableResizing&&void 0,!0!==n&&void 0,!0);e.canResize=t,e.width=a.columnWidths[e.id]||e.originalWidth||e.width,e.isResizing=a.isResizingColumn===e.id,t&&(e.getResizerProps=p(r().getResizerProps,{instance:o(),header:e}))}))};function Ht(e){var n=e.plugins,r=e.dispatch,a=e.autoResetResize,o=void 0===a||a,i=e.columns;v(n,["useAbsoluteLayout"],"useResizeColumns");var l=y(o);w((function(){l()&&r({type:u.resetResize})}),[i]);var s=t.useCallback((function(){return r({type:u.resetResize})}),[r]);Object.assign(e,{resetResizing:s})}var jt={position:"absolute",top:0},Mt=function(e){e.getTableBodyProps.push(Dt),e.getRowProps.push(Dt),e.getHeaderGroupProps.push(Dt),e.getFooterGroupProps.push(Dt),e.getHeaderProps.push((function(e,t){var n=t.column;return[e,{style:o({},jt,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]})),e.getCellProps.push((function(e,t){var n=t.cell;return[e,{style:o({},jt,{left:n.column.totalLeft+"px",width:n.column.totalWidth+"px"})}]})),e.getFooterProps.push((function(e,t){var n=t.column;return[e,{style:o({},jt,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]}))};Mt.pluginName="useAbsoluteLayout";var Dt=function(e,t){return[e,{style:{position:"relative",width:t.instance.totalColumnsWidth+"px"}}]},zt={display:"inline-block",boxSizing:"border-box"},Vt=function(e,t){return[e,{style:{display:"flex",width:t.instance.totalColumnsWidth+"px"}}]},Gt=function(e){e.getRowProps.push(Vt),e.getHeaderGroupProps.push(Vt),e.getFooterGroupProps.push(Vt),e.getHeaderProps.push((function(e,t){var n=t.column;return[e,{style:o({},zt,{width:n.totalWidth+"px"})}]})),e.getCellProps.push((function(e,t){var n=t.cell;return[e,{style:o({},zt,{width:n.column.totalWidth+"px"})}]})),e.getFooterProps.push((function(e,t){var n=t.column;return[e,{style:o({},zt,{width:n.totalWidth+"px"})}]}))};function Wt(e){e.getTableProps.push(Ut),e.getRowProps.push(qt),e.getHeaderGroupProps.push(qt),e.getFooterGroupProps.push(qt),e.getHeaderProps.push(Xt),e.getCellProps.push(Kt),e.getFooterProps.push(Yt)}Gt.pluginName="useBlockLayout",Wt.pluginName="useFlexLayout";var Ut=function(e,t){return[e,{style:{minWidth:t.instance.totalColumnsMinWidth+"px"}}]},qt=function(e,t){return[e,{style:{display:"flex",flex:"1 0 auto",minWidth:t.instance.totalColumnsMinWidth+"px"}}]},Xt=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]},Kt=function(e,t){var n=t.cell;return[e,{style:{boxSizing:"border-box",flex:n.column.totalFlexWidth+" 0 auto",minWidth:n.column.totalMinWidth+"px",width:n.column.totalWidth+"px"}}]},Yt=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]};function Zt(e){e.stateReducers.push(Qt),e.getTableProps.push(Jt),e.getHeaderProps.push($t)}Zt.pluginName="useGridLayout";var Jt=function(e,t){return[e,{style:{display:"grid",gridTemplateColumns:t.instance.state.gridLayout.columnWidths.map((function(e){return e})).join(" ")}}]},$t=function(e,t){return[e,{id:"header-cell-"+t.column.id,style:{position:"sticky"}}]};function Qt(e,t,n,r){if("init"===t.type)return o({gridLayout:{columnWidths:r.columns.map((function(){return"auto"}))}},e);if("columnStartResizing"===t.type){var a=t.columnId,i=r.visibleColumns.findIndex((function(e){return e.id===a})),l=function(e){var t,n=null==(t=document.getElementById("header-cell-"+e))?void 0:t.offsetWidth;if(void 0!==n)return n}(a);return void 0!==l?o({},e,{gridLayout:o({},e.gridLayout,{columnId:a,columnIndex:i,startingWidth:l})}):e}if("columnResizing"===t.type){var u=e.gridLayout,s=u.columnIndex,c=u.startingWidth,d=u.columnWidths,f=c-(e.columnResizing.startX-t.clientX),p=[].concat(d);return p[s]=f+"px",o({},e,{gridLayout:o({},e.gridLayout,{columnWidths:p})})}}e._UNSTABLE_usePivotColumns=rt,e.actions=u,e.defaultColumn=d,e.defaultGroupByFn=Ge,e.defaultOrderByFn=Qe,e.defaultRenderer=s,e.emptyRenderer=c,e.ensurePluginOrder=v,e.flexRender=E,e.functionalUpdate=g,e.loopHooks=h,e.makePropGetter=p,e.makeRenderer=_,e.reduceHooks=m,e.safeUseLayoutEffect=b,e.useAbsoluteLayout=Mt,e.useAsyncDebounce=function(e,n){void 0===n&&(n=0);var o=t.useRef({}),i=y(e),l=y(n);return t.useCallback(function(){var e=a(r().mark((function e(){var t,n,u,s=arguments;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(t=s.length,n=new Array(t),u=0;u<t;u++)n[u]=s[u];return o.current.promise||(o.current.promise=new Promise((function(e,t){o.current.resolve=e,o.current.reject=t}))),o.current.timeout&&clearTimeout(o.current.timeout),o.current.timeout=setTimeout(a(r().mark((function e(){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete o.current.timeout,e.prev=1,e.t0=o.current,e.next=5,i().apply(void 0,n);case 5:e.t1=e.sent,e.t0.resolve.call(e.t0,e.t1),e.next=12;break;case 9:e.prev=9,e.t2=e.catch(1),o.current.reject(e.t2);case 12:return e.prev=12,delete o.current.promise,e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[1,9,12,15]])}))),l()),e.abrupt("return",o.current.promise);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),[i,l])},e.useBlockLayout=Gt,e.useColumnOrder=Ot,e.useExpanded=se,e.useFilters=Re,e.useFlexLayout=Wt,e.useGetLatest=y,e.useGlobalFilter=Oe,e.useGridLayout=Zt,e.useGroupBy=Fe,e.useMountedLayoutEffect=w,e.usePagination=et,e.useResizeColumns=It,e.useRowSelect=vt,e.useRowState=xt,e.useSortBy=Ye,e.useTable=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];e=ie(e),r=[K].concat(r);var i=y(t.useRef({}).current);Object.assign(i(),o({},e,{plugins:r,hooks:X()}
2)),r.filter(Boolean).forEach((function(e){e(i().hooks)}));var l=y(i().hooks);i().getHooks=l,delete i().hooks,Object.assign(i(),m(l().useOptions,ie(e)));var s=i(),c=s.data,d=s.columns,f=s.initialState,v=s.defaultColumn,g=s.getSubRows,b=s.getRowId,w=s.stateReducer,E=s.useControlledState,k=y(w),O=t.useCallback((function(e,t){if(!t.type)throw console.info({action:t}),new Error("Unknown Action 👆");return[].concat(l().stateReducers,Array.isArray(k())?k():[k()]).reduce((function(n,r){return r(n,t,e,i())||n}),e)}),[l,k,i]),P=t.useReducer(O,void 0,(function(){return O(f,{type:u.init})})),L=P[0],T=P[1],I=m([].concat(l().useControlledState,[E]),L,{instance:i()});Object.assign(i(),{state:I,dispatch:T});var B=t.useMemo((function(){return C(m(l().columns,d,{instance:i()}))}),[l,i,d].concat(m(l().columnsDeps,[],{instance:i()})));i().columns=B;var A=t.useMemo((function(){return m(l().allColumns,N(B),{instance:i()}).map(x)}),[B,l,i].concat(m(l().allColumnsDeps,[],{instance:i()})));i().allColumns=A;var F=t.useMemo((function(){for(var e=[],t=[],n={},r=[].concat(A);r.length;){var a=r.shift();ue({data:c,rows:e,flatRows:t,rowsById:n,column:a,getRowId:b,getSubRows:g,accessValueHooks:l().accessValue,getInstance:i})}return[e,t,n]}),[A,c,b,g,l,i]),H=F[0],j=F[1],M=F[2];Object.assign(i(),{rows:H,initialRows:[].concat(H),flatRows:j,rowsById:M}),h(l().useInstanceAfterData,i());var D=t.useMemo((function(){return m(l().visibleColumns,A,{instance:i()}).map((function(e){return R(e,v)}))}),[l,A,i,v].concat(m(l().visibleColumnsDeps,[],{instance:i()})));A=t.useMemo((function(){var e=[].concat(D);return A.forEach((function(t){e.find((function(e){return e.id===t.id}))||e.push(t)})),e}),[A,D]),i().allColumns=A;var z=t.useMemo((function(){return m(l().headerGroups,S(D,v),i())}),[l,D,v,i].concat(m(l().headerGroupsDeps,[],{instance:i()})));i().headerGroups=z;var V=t.useMemo((function(){return z.length?z[0].headers:[]}),[z]);i().headers=V,i().flatHeaders=z.reduce((function(e,t){return[].concat(e,t.headers)}),[]),h(l().useInstanceBeforeDimensions,i());var G=D.filter((function(e){return e.isVisible})).map((function(e){return e.id})).sort().join("_");D=t.useMemo((function(){return D.filter((function(e){return e.isVisible}))}),[D,G]),i().visibleColumns=D;var W=le(V),U=W[0],q=W[1],Y=W[2];return i().totalColumnsMinWidth=U,i().totalColumnsWidth=q,i().totalColumnsMaxWidth=Y,h(l().useInstance,i()),[].concat(i().flatHeaders,i().allColumns).forEach((function(e){e.render=_(i(),e),e.getHeaderProps=p(l().getHeaderProps,{instance:i(),column:e}),e.getFooterProps=p(l().getFooterProps,{instance:i(),column:e})})),i().headerGroups=t.useMemo((function(){return z.filter((function(e,t){return e.headers=e.headers.filter((function(e){return e.headers?function e(t){return t.filter((function(t){return t.headers?e(t.headers):t.isVisible})).length}(e.headers):e.isVisible})),!!e.headers.length&&(e.getHeaderGroupProps=p(l().getHeaderGroupProps,{instance:i(),headerGroup:e,index:t}),e.getFooterGroupProps=p(l().getFooterGroupProps,{instance:i(),headerGroup:e,index:t}),!0)}))}),[z,i,l]),i().footerGroups=[].concat(i().headerGroups).reverse(),i().prepareRow=t.useCallback((function(e){e.getRowProps=p(l().getRowProps,{instance:i(),row:e}),e.allCells=A.map((function(t){var n=e.values[t.id],r={column:t,row:e,value:n};return r.getCellProps=p(l().getCellProps,{instance:i(),cell:r}),r.render=_(i(),t,{row:e,cell:r,value:n}),r})),e.cells=D.map((function(t){return e.allCells.find((function(e){return e.column.id===t.id}))})),h(l().prepareRow,e,{instance:i()})}),[l,i,A,D]),i().getTableProps=p(l().getTableProps,{instance:i()}),i().getTableBodyProps=p(l().getTableBodyProps,{instance:i()}),h(l().useFinalInstance,i()),i()},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(5784))},2751:function(e,t,n){var r=n(7430),a=n(7664),o=n(7009),i=RegExp("['’]","g");e.exports=function(e){return function(t){return r(o(a(t).replace(i,"")),e,"")}}},2868:function(e,t,n){var r=n(4372),a=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(a,""):e}},2921:function(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},2999:function(e,t,n){var r=n(1589),a=Object.prototype,o=a.hasOwnProperty,i=a.toString,l=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var a=i.call(e);return r&&(t?e[l]=n:delete e[l]),a}},3090:function(e,t,n){var r=n(129).default;function a(){"use strict";e.exports=a=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},o=Object.prototype,i=o.hasOwnProperty,l=Object.defineProperty||function(e,t,n){e[t]=n.value},u="function"==typeof Symbol?Symbol:{},s=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",d=u.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var a=t&&t.prototype instanceof b?t:b,o=Object.create(a.prototype),i=new T(r||[]);return l(o,"_invoke",{value:k(e,n,i)}),o}function m(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=p;var h="suspendedStart",v="executing",g="completed",y={};function b(){}function w(){}function _(){}var E={};f(E,s,(function(){return this}));var C=Object.getPrototypeOf,N=C&&C(C(I([])));N&&N!==o&&i.call(N,s)&&(E=N);var x=_.prototype=b.prototype=Object.create(E);function R(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}
vendor: 5,025 bytes, line 2
2))}function S(e,t){function n(a,o,l,u){var s=m(e[a],e,o);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==r(d)&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,l,u)}),(function(e){n("throw",e,l,u)})):t.resolve(d).then((function(e){c.value=e,l(c)}),(function(e){return n("throw",e,l,u)}))}u(s.arg)}var a;l(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,a){n(e,r,t,a)}))}return a=a?a.then(o,o):o()}})}function k(e,n,r){var a=h;return function(o,i){if(a===v)throw new Error("Generator is already running");if(a===g){if("throw"===o)throw i;return{value:t,done:!0}}for(r.method=o,r.arg=i;;){var l=r.delegate;if(l){var u=O(l,r);if(u){if(u===y)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===h)throw a=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=v;var s=m(e,n,r);if("normal"===s.type){if(a=r.done?g:"suspendedYield",s.arg===y)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(a=g,r.method="throw",r.arg=s.arg)}}}function O(e,n){var r=n.method,a=e.iterator[r];if(a===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,O(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var o=m(a,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function I(e){if(e||""===e){var n=e[s];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function n(){for(;++a<e.length;)if(i.call(e,a))return n.value=e[a],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(r(e)+" is not iterable")}return w.prototype=_,l(x,"constructor",{value:_,configurable:!0}),l(_,"constructor",{value:w,configurable:!0}),w.displayName=f(_,d,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,f(e,d,"GeneratorFunction")),e.prototype=Object.create(x),e},n.awrap=function(e){return{__await:e}},R(S.prototype),f(S.prototype,c,(function(){return this})),n.AsyncIterator=S,n.async=function(e,t,r,a,o){void 0===o&&(o=Promise);var i=new S(p(e,t,r,a),o);return n.isGeneratorFunction(t)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},R(x),f(x,d,"Generator"),f(x,s,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=I,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,a){return l.type="throw",l.arg=e,n.next=r,a&&(n.method="next",n.arg=t),!!a}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],l=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];
2if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;L(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:I(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},n}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},3572:function(e,t,n){var r=n(6510),a=n(5782),o=n(8234);e.exports=function(e){return a(e)?o(e):r(e)}},3593:function(e,t,n){var r=n(4081),a=n(1416),o=n(906),i=Math.max,l=Math.min;e.exports=function(e,t,n){var u,s,c,d,f,p,m=0,h=!1,v=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=u,r=s;return u=s=void 0,m=t,d=e.apply(r,n)}function b(e){var n=e-p;return void 0===p||n>=t||n<0||v&&e-m>=c}function w(){var e=a();if(b(e))return _(e);f=setTimeout(w,function(e){var n=t-(e-p);return v?l(n,c-(e-m)):n}(e))}function _(e){return f=void 0,g&&u?y(e):(u=s=void 0,d)}function E(){var e=a(),n=b(e);if(u=arguments,s=this,p=e,n){if(void 0===f)return function(e){return m=e,f=setTimeout(w,t),h?y(e):d}(p);if(v)return clearTimeout(f),f=setTimeout(w,t),y(p)}return void 0===f&&(f=setTimeout(w,t)),d}return t=o(t)||0,r(n)&&(h=!!n.leading,c=(v="maxWait"in n)?i(o(n.maxWait)||0,t):c,g="trailing"in n?!!n.trailing:g),E.cancel=function(){void 0!==f&&clearTimeout(f),m=0,u=p=s=f=void 0},E.flush=function(){return void 0===f?d:_(a())},E}},3620:function(e,t,n){var r=n(8266),a=0;e.exports=function(e){var t=++a;return r(e)+t}},4081:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},4140:function(e,t,n){var r=n(4655)("toUpperCase");e.exports=r},4285:function(e){var t="\\ud800-\\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",a="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",i="["+o+"]",l="\\d+",u="["+n+"]",s="["+r+"]",c="[^"+t+o+l+n+r+a+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",p="["+a+"]",m="(?:"+s+"|"+c+")",h="(?:"+p+"|"+c+")",v="(?:['’](?:d|ll|m|re|s|t|ve))?",g="(?:['’](?:D|LL|M|RE|S|T|VE))?",y="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",b="[\\ufe0e\\ufe0f]?",w=b+y+"(?:\\u200d(?:"+["[^"+t+"]",d,f].join("|")+")"+b+y+")*",_="(?:"+[u,d,f].join("|")+")"+w,E=RegExp([p+"?"+s+"+"+v+"(?="+[i,p,"$"].join("|")+")",h+"+"+g+"(?="+[i,p+m,"$"].join("|")+")",p+"?"+m+"+"+v,p+"+"+g,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",l,_].join("|"),"g");e.exports=function(e){return e.match(E)||[]}},4372:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},4529:function(e,t,n){var r=n(6060),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();e.exports=o},4655:function(e,t,n){var r=n(9102),a=n(5782),o=n(3572),i=n(8266);e.exports=function(e){return function(t){t=i(t);var n=a(t)?o(t):void 0,l=n?n[0]:t.charAt(0),u=n?r(n,1).join(""):t.slice(1);return l[e]()+u}}},4694:function(e,t,n){"use strict";var r=n(8925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},4771:function(e,t,n){var r=n(1460)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"
2c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=r},5388:function(e,t,n){var r=n(8266),a=n(4140);e.exports=function(e){return a(r(e).toLowerCase())}},5454:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.getClassNameFactory=t.getClassName=void 0;var r=n(8118),a=n(7581);function o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=function(e){return(0,r.getClassName)(i({namespace:a.configuration.current.styles.namespace},e))};t.getClassName=u;var s=function(e){return function(t){return u(i({componentName:e},t))}};t.getClassNameFactory=s;var c=s;t.default=c},5782:function(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},5784:function(e,t,n){"use strict";n.r(t),n.d(t,{Children:function(){return m},Component:function(){return r.uA},Fragment:function(){return r.FK},PureComponent:function(){return u},StrictMode:function(){return Q},Suspense:function(){return y},SuspenseList:function(){return _},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:function(){return G},cloneElement:function(){return K},createContext:function(){return r.q6},createElement:function(){return r.n},createFactory:function(){return U},createPortal:function(){return x},createRef:function(){return r._3},default:function(){return ie},findDOMNode:function(){return Z},flushSync:function(){return $},forwardRef:function(){return f},hydrate:function(){return I},isElement:function(){return ae},isFragment:function(){return X},isValidElement:function(){return q},lazy:function(){return w},memo:function(){return s},render:function(){return T},startTransition:function(){return ee},unmountComponentAtNode:function(){return Y},unstable_batchedUpdates:function(){return J},useCallback:function(){return a.hb},useContext:function(){return a.NT},useDebugValue:function(){return a.MN},useDeferredValue:function(){return te},useEffect:function(){return a.vJ},useErrorBoundary:function(){return a.Md},useId:function(){return a.Bi},useImperativeHandle:function(){return a.Yn},useInsertionEffect:function(){return re},useLayoutEffect:function(){return a.Nf},useMemo:function(){return a.Kr},useReducer:function(){return a.WO},useRef:function(){return a.li},useState:function(){return a.J0},useSyncExternalStore:function(){return oe},useTransition:function(){return ne},version:function(){return W}});var r=n(18),a=n(8488);function o(e,t){for(var n in t)e[n]=t[n];return e}function i(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function l(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}function u(e){this.props=e}function s(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:i(this.props,e)}function a(t){return this.shouldComponentUpdate=n,(0,r.n)(e,t)}return a.displayName="Memo("+(e.displayName||e.name)+")",a.prototype.isReactComponent=!0,a.__f=!0,a}(u.prototype=new r.uA).isPureReactComponent=!0,u.prototype.shouldComponentUpdate=function(e,t){return i(this.props,e)||i(this.state,t)};var c=r.fF.__b;r.fF.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),c&&c(e)};var d="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function f(e){function t(t){var n=o({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=d,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var p=function(e,t){return null==e?null:(0,r.v2)((0,r.v2)(e).map(t))}
vendor: 4,617 bytes, line 2
2,m={map:p,forEach:p,count:function(e){return e?(0,r.v2)(e).length:0},only:function(e){var t=(0,r.v2)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:r.v2},h=r.fF.__e;r.fF.__e=function(e,t,n,r){if(e.then)for(var a,o=t;o=o.__;)if((a=o.__c)&&a.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),a.__c(e,t);h(e,t,n,r)};var v=r.fF.unmount;function g(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=o({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return g(e,t,n)}))),e}function y(){this.__u=0,this.t=null,this.__b=null}function b(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function w(e){var t,n,a;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){a=e})),a)throw a;if(!n)throw t;return(0,r.n)(n,o)}return o.displayName="Lazy",o.__f=!0,o}function _(){this.u=null,this.o=null}r.fF.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),v&&v(e)},(y.prototype=new r.uA).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var a=b(r.__v),o=!1,i=function(){o||(o=!0,n.__R=null,a?a(l):l())};n.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=function e(t,n,r){return t&&r&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},u=!0===t.__h;r.__u++||u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},y.prototype.componentWillUnmount=function(){this.t=[]},y.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),a=this.__v.__k[0].__c;this.__v.__k[0]=g(this.__b,n,a.__O=a.__P)}this.__b=null}var o=t.__a&&(0,r.n)(r.FK,null,e.fallback);return o&&(o.__h=null),[(0,r.n)(r.FK,null,t.__a?null:e.children),o]};var E=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function C(e){return this.getChildContext=function(){return e.context},e.children}function N(e){var t=this,n=e.i;t.componentWillUnmount=function(){(0,r.XX)(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),(0,r.XX)((0,r.n)(C,{context:t.context},e.__v),t.l)}function x(e,t){var n=(0,r.n)(N,{__v:e,i:t});return n.containerInfo=t,n}(_.prototype=new r.uA).__a=function(e){var t=this,n=b(t.__v),r=t.o.get(e);return r[0]++,function(a){var o=function(){t.props.revealOrder?(r.push(a),E(t,e,r)):a()};n?n(o):o()}},_.prototype.render=function(e){this.u=null,this.o=new Map;var t=(0,r.v2)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},_.prototype.componentDidUpdate=_.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){E(e,n,t)}))};var R="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,S=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,k=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,O=/[A-Z0-9]/g,P="undefined"!=typeof document,L=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function T(e,t,n){return null==t.__k&&(t.textContent=""),(0,r.XX)(e,t),"function"==typeof n&&n(),e?e.__c:null}function I(e,t,n){return(0,r.Qv)(e,t),"function"==typeof n&&n(),e?e.__c:null}r.uA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(r.uA.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var B=r.fF.event;function A(){}function F(){return this.cancelBubble}function H(){return this.defaultPrevented}r.fF.event=function(e){return B&&(e=B(e)),e.persist=A,e.isPropagationStopped=F,e.isDefaultPrevented=H,e.nativeEvent=e};
2var j,M={enumerable:!1,configurable:!0,get:function(){return this.class}},D=r.fF.vnode;r.fF.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,a={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||P&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var l=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===l?o="ondblclick":"onchange"!==l||"input"!==n&&"textarea"!==n||L(t.type)?"onfocus"===l?o="onfocusin":"onblur"===l?o="onfocusout":k.test(o)?o=l:-1===n.indexOf("-")&&S.test(o)?o=o.replace(O,"-$&").toLowerCase():null===i&&(i=void 0):l=o="oninput","oninput"===l&&a[o=l]&&(o="oninputCapture"),a[o]=i}}"select"==n&&a.multiple&&Array.isArray(a.value)&&(a.value=(0,r.v2)(t.children).forEach((function(e){e.props.selected=-1!=a.value.indexOf(e.props.value)}))),"select"==n&&null!=a.defaultValue&&(a.value=(0,r.v2)(t.children).forEach((function(e){e.props.selected=a.multiple?-1!=a.defaultValue.indexOf(e.props.value):a.defaultValue==e.props.value}))),t.class&&!t.className?(a.class=t.class,Object.defineProperty(a,"className",M)):(t.className&&!t.class||t.class&&t.className)&&(a.class=a.className=t.className),e.props=a}(e),e.$$typeof=R,D&&D(e)};var z=r.fF.__r;r.fF.__r=function(e){z&&z(e),j=e.__c};var V=r.fF.diffed;r.fF.diffed=function(e){V&&V(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),j=null};var G={ReactCurrentDispatcher:{current:{readContext:function(e){return j.__n[e.__c].props.value}}}},W="17.0.2";function U(e){return r.n.bind(null,e)}function q(e){return!!e&&e.$$typeof===R}function X(e){return q(e)&&e.type===r.FK}function K(e){return q(e)?r.Ob.apply(null,arguments):e}function Y(e){return!!e.__k&&((0,r.XX)(null,e),!0)}function Z(e){return e&&(e.base||1===e.nodeType&&e)||null}var J=function(e,t){return e(t)},$=function(e,t){return e(t)},Q=r.FK;function ee(e){e()}function te(e){return e}function ne(){return[!1,ee]}var re=a.Nf,ae=q;function oe(e,t){var n=t(),r=(0,a.J0)({h:{__:n,v:t}}),o=r[0].h,i=r[1];return(0,a.Nf)((function(){o.__=n,o.v=t,l(o.__,t())||i({h:o})}),[e,n,t]),(0,a.vJ)((function(){return l(o.__,o.v())||i({h:o}),e((function(){l(o.__,o.v())||i({h:o})}))}),[e]),n}var ie={useState:a.J0,useId:a.Bi,useReducer:a.WO,useEffect:a.vJ,useLayoutEffect:a.Nf,useInsertionEffect:re,useTransition:ne,useDeferredValue:te,useSyncExternalStore:oe,startTransition:ee,useRef:a.li,useImperativeHandle:a.Yn,useMemo:a.Kr,useCallback:a.hb,useContext:a.NT,useDebugValue:a.MN,version:"17.0.2",Children:m,render:T,hydrate:I,unmountComponentAtNode:Y,createPortal:x,createElement:r.n,createContext:r.q6,createFactory:U,cloneElement:K,createRef:r._3,Fragment:r.FK,isValidElement:q,isElement:ae,isFragment:X,findDOMNode:Z,Component:r.uA,PureComponent:u,memo:s,forwardRef:f,flushSync:$,unstable_batchedUpdates:J,StrictMode:Q,Suspense:y,SuspenseList:_,lazy:w,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:G}},5908:function(e,t,n){e.exports=n(4694)()},6060:function(t){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n},6361:function(e,t,n){e.exports=n(2657)},6510:function(e){e.exports=function(e){return e.split("")}},7009:function(e,t,n){var r=n(2921),a=n(534),o=n(8266),i=n(4285);e.exports=function(e,t,n){return e=o(e),void 0===(t=n?void 0:t)?a(e)?i(e):r(e):e.match(t)||[]}},7430:function(e){e.exports=function(e,t,n,r){var a=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++a]);++a<o;)n=t(n,e[a],a,e);return n}},7581:function(e,t,n){"use strict";function r(e){return(r="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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"configuration",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"updateConfiguration",{enumerable:!0,get:function(){return a.updateConfiguration}}),Object.defineProperty(t,"getClassNameFactory",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"getClassName",{enumerable:!0,get:function(){return o.getClassName}});var a=l(n(9716)),o=l(n(5454));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}
2function l(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var l=a?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(n,o,l):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}},7661:function(e,t,n){var r=n(2751)((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}));e.exports=r},7664:function(e,t,n){var r=n(4771),a=n(8266),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=a(e))&&e.replace(o,r).replace(i,"")}},8096:function(e,t,n){var r=n(1589),a=n(9416),o=n(1365),i=n(286),l=r?r.prototype:void 0,u=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return a(t,e)+"";if(i(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},8118:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBaseComponentName=o,t.getClassName=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(e){var t=e.namespace,n=e.componentName,r=e.descendantName,i=e.baseComponentName;return(n||t)&&(i=o(n,t)),r?i+"-"+a(r):i}(e);return[t].concat(i(e.modifiers,t+"--"),i(e.states,"is-"),i(e.utilities,"u-"),e.className).filter((function(e){return!!e})).join(" ")};var n=/[\-_/\.\s]+(.)?/g,r=/^(.)/;function a(e){return e.replace(n,(function(e,t){return t.toUpperCase()})).replace(r,(function(e,t){return t.toLowerCase()}))}function o(e,t){var n,r=(n=a(e)).charAt(0).toUpperCase()+n.slice(1);return t?t+"-"+r:r}function i(e,t){return e&&e.split(" ").map((function(e){return""+t+a(e)})).join(" ")}},8194:function(e,t,n){"use strict";Object.defineProperty(t,"A",{enumerable:!0,get:function(){return a.default}});var r,a=(r=n(2292))&&r.__esModule?r:{default:r}},8234:function(e){var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",a="\\ud83c[\\udffb-\\udfff]",o="[^"+t+"]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+r+"|"+a+")?",s="[\\ufe0e\\ufe0f]?",c=s+u+"(?:\\u200d(?:"+[o,i,l].join("|")+")"+s+u+")*",d="(?:"+[o+r+"?",r,i,l,n].join("|")+")",f=RegExp(a+"(?="+a+")|"+d+c,"g");e.exports=function(e){return e.match(f)||[]}},8266:function(e,t,n){var r=n(8096);e.exports=function(e){return null==e?"":r(e)}},8488:function(e,t,n){"use strict";n.d(t,{Bi:function(){return k},J0:function(){return g},Kr:function(){return C},MN:function(){return R},Md:function(){return S},NT:function(){return x},Nf:function(){return w},WO:function(){return y},Yn:function(){return E},hb:function(){return N},li:function(){return _},vJ:function(){return b}});var r,a,o,i,l=n(18),u=0,s=[],c=[],d=l.fF.__b,f=l.fF.__r,p=l.fF.diffed,m=l.fF.__c,h=l.fF.unmount;function v(e,t){l.fF.__h&&l.fF.__h(a,e,u||t),u=0;var n=a.__H||(a.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:c}),n.__[e]}function g(e){return u=1,y(A,e)}function y(e,t,n){var o=v(r++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):A(void 0,t),function(e){var t=o.__N?o.__N[0]:o.__[0],n=o.t(t,e);t!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}))}],o.__c=a,!a.u)){var i=function(e,t,n){if(!o.__c.__H)return!0;var r=o.__c.__H.__.filter((function(e){return e.__c}));if(r.every((function(e){return!e.__N})))return!l||l.call(this,e,t,n);var a=!1;return r.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&o.__c.props===e)&&(!l||l.call(this,e,t,n))};a.u=!0;var l=a.shouldComponentUpdate,u=a.componentWillUpdate;a.componentWillUpdate=function(e,t,n){if(this.__e){var r=l;l=void 0,i(e,t,n),l=r}u&&u.call(this,e,t,n)},a.shouldComponentUpdate=i}return o.__N||o.__}function b(e,t){var n=v(r++,3);!l.fF.__s&&B(n.__H,t)&&(n.__=e,n.i=t,a.__H.__h.push(n))}function w(e,t){var n=v(r++,4);!l.fF.__s&&B(n.__H,t)&&(n.__=e,n.i=t,a.__h.push(n))}function _(e){return u=5,C((function(){return{current:e}}),[])}function E(e,t,n){u=6,w((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function C(e,t){var n=v(r++,7);return B(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function N(e,t){return u=8,C((function(){return e}),t)}function x(e){var t=a.context[e.__c],n=v(r++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(a)),t.props.value):e.__}function R(e,t){l.fF.useDebugValue&&l.fF.useDebugValue(t?t(e):e)}
2function S(e){var t=v(r++,10),n=g();return t.__=e,a.componentDidCatch||(a.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]}function k(){var e=v(r++,11);if(!e.__){for(var t=a.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function O(){for(var e;e=s.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(T),e.__H.__h.forEach(I),e.__H.__h=[]}catch(t){e.__H.__h=[],l.fF.__e(t,e.__v)}}l.fF.__b=function(e){a=null,d&&d(e)},l.fF.__r=function(e){f&&f(e),r=0;var t=(a=e.__c).__H;t&&(o===a?(t.__h=[],a.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=c,e.__N=e.i=void 0}))):(t.__h.forEach(T),t.__h.forEach(I),t.__h=[],r=0)),o=a},l.fF.diffed=function(e){p&&p(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==s.push(t)&&i===l.fF.requestAnimationFrame||((i=l.fF.requestAnimationFrame)||L)(O)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==c&&(e.__=e.__V),e.i=void 0,e.__V=c}))),o=a=null},l.fF.__c=function(e,t){t.some((function(e){try{e.__h.forEach(T),e.__h=e.__h.filter((function(e){return!e.__||I(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],l.fF.__e(n,e.__v)}})),m&&m(e,t)},l.fF.unmount=function(e){h&&h(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{T(e)}catch(e){t=e}})),n.__H=void 0,t&&l.fF.__e(t,n.__v))};var P="function"==typeof requestAnimationFrame;function L(e){var t,n=function(){clearTimeout(r),P&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);P&&(t=requestAnimationFrame(n))}function T(e){var t=a,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),a=t}function I(e){var t=a;e.__c=e.__(),a=t}function B(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function A(e,t){return"function"==typeof t?t(e):t}},8925:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9102:function(e,t,n){var r=n(9812);e.exports=function(e,t,n){var a=e.length;return n=void 0===n?a:n,!t&&n>=a?e:r(e,t,n)}},9210:function(e){e.exports={styles:{namespace:"emcmUi"}}},9416:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}},9716:function(t,n){"use strict";function r(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(n,"__esModule",{value:!0}),n.updateConfiguration=n.default=void 0;var i={styles:{namespace:null}},l=function(e){i=a(a({},i),e)};n.updateConfiguration=l,e.emcmUiConfig&&l(e.emcmUiConfig);var u={get current(){return i}};n.default=u},9812:function(e){e.exports=function(e,t,n){var r=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(a);++r<a;)o[r]=e[r+t];return o}}},n={};function r(e){var a=n[e];if(void 0!==a)return a.exports;var o=n[e]={exports:{}};return t[e].call(o.exports,o,o.exports,r),o.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var t=r(9210),n=r.n(t);e.emcmUiConfig=n();var a=r(18);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=["context","children"];function l(e){this.getChildContext=function(){return e.context};var t=e.children,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}(e,i);return(0,a.Ob)(t,n)}function u(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=(0,a.h)(l,o({},this._props,{context:e.detail.context}),function e(t,n){if(3===t.nodeType)return t.data;if(1!==t.nodeType)return null;var r=[],o={},i=0,l=t.attributes,u=t.childNodes;for(i=l.length;i--;)"slot"!==l[i].name&&(o[l[i].name]=l[i].value,o[s(l[i].name)]=l[i].value);for(i=u.length;i--;){var c=e(u[i],null),d=u[i].slot;d?o[d]=(0,a.h)(f,{name:d},c):r[i]=c}var p=n?(0,a.h)(f,null,r):r;return(0,a.h)(n||t.nodeName.toLowerCase(),o,p)}
2(this,this._vdomComponent)),(this.hasAttribute("hydrate")?a.Qv:a.XX)(this._vdom,this._root)}function s(e){return e.replace(/-(\w)/g,(function(e,t){return t?t.toUpperCase():""}))}function c(e,t,n){if(this._vdom){var r={};r[e]=n=null==n?void 0:n,r[s(e)]=n,this._vdom=(0,a.Ob)(this._vdom,r),(0,a.XX)(this._vdom,this._root)}}function d(){(0,a.XX)(this._vdom=null,this._root)}function f(e,t){var n=this;return(0,a.h)("slot",o({},e,{ref:function(e){e?(n.ref=e,n._listener||(n._listener=function(e){e.stopPropagation(),e.detail.context=t},e.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}function p(e,t,n,r){function a(){var t=Reflect.construct(HTMLElement,[],a);return t._vdomComponent=e,t._root=r&&r.shadow?t.attachShadow({mode:r.mode||"open"}):t,t}return(a.prototype=Object.create(HTMLElement.prototype)).constructor=a,a.prototype.connectedCallback=u,a.prototype.attributeChangedCallback=c,a.prototype.disconnectedCallback=d,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),a.observedAttributes=n,n.forEach((function(e){Object.defineProperty(a.prototype,e,{get:function(){return this._vdom.props[e]},set:function(t){this._vdom?this.attributeChangedCallback(e,null,t):(this._props||(this._props={}),this._props[e]=t,this.connectedCallback());var n=typeof t;null!=t&&"string"!==n&&"boolean"!==n&&"number"!==n||this.setAttribute(e,t)}})})),customElements.define(t||e.tagName||e.displayName||e.name,a)}function m(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 h(e,t){if(e){if("string"==typeof e)return m(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(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw o}}return n}}(e,t)||h(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.")}()}var g=r(5908),y=r.n(g),b=r(5784),w=r(2461),_=r.n(w);function E(e){return(E="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})(e)}function C(e){var t=function(e,t){if("object"!==E(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!==E(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"===E(t)?t:String(t)}function N(e,t,n){return(t=C(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=r(8118);function R(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 S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var k,O={styles:{namespace:null}};e.emcmUiConfig&&(k=e.emcmUiConfig,O=S(S({},O),k));var P={get current(){return O}};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 T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?L(Object(n),!0).forEach((function(t){N(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 I=function(e){return function(t){return function(e){return(0,x.getClassName)(T({namespace:P.current.styles.namespace},e))}(T({componentName:e},t))}},B=I,A=function e(t){var n=t.children,r=t.background,a=t.fullWidth,o=t.withoutSpacings,i=t.borderTop,l=t.borderBottom,u=t.id,s=B(e.displayName);return b.default.createElement("div",{id:u,className:s({modifiers:_()(r,{borderTop:i,borderBottom:l})})},a?n:b.default.createElement("div",{className:s({descendantName:"inner",modifiers:_()({withoutSpacings:o})})},n))};A.displayName="Section",A.backgrounds=["grayDark","grayLighter","grayLightest"],A.propTypes={id:y().string,children:y().node,fullWidth:y().bool,background:y().oneOf(A.backgrounds),withoutSpacings:y().bool,borderTop:y().bool,borderBottom:y().bool};var F=A;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 j(e,t){if(e){if("string"==typeof e)return H(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)?H(e,t):void 0}}function M(e){return function(e){if(Array.isArray(e))return H(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||j(e)||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.")}()}function D(){return(D=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V(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,C(r.key),r)}}function G(e,t,n){return t&&V(e.prototype,t),n&&V(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function W(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U(e,t){return(U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function q(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&U(e,t)}function X(e,t){if(t&&("object"===E(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return W(e)}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Y=function(e){return P.current.styles.namespace?"".concat(P.current.styles.namespace,"-").concat(e):e},Z={currentOpenPanel:y().string},J=function(e){e&&e.querySelectorAll(".clickable-card[data-href]").forEach((function(e){!function(e){var t=e.getAttribute("data-href"),n=e.getAttribute("data-target")||"_self";t&&!e.hasAttribute("data-click-handler-added")&&(e.addEventListener("click",(function(e){(function(e){for(var t=["A","BUTTON","INPUT","SELECT","TEXTAREA"],n=["button","link","tab","option"],r=e;r&&r!==document.body;){if(t.includes(r.tagName))return!0;var a=r.getAttribute("role");if(a&&n.includes(a))return!0;if(r.hasAttribute("onclick")||r.onclick)return!0;r=r.parentElement}return!1})(e.target)||(e.preventDefault(),function(e,t){"_blank"===t?window.open(e,t,"noopener,noreferrer"):window.location.href=e}(t,n))})),e.setAttribute("data-click-handler-added","true"),e.style.cursor||(e.style.cursor="pointer"))}(e)}))};var $=function(e){q(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var a=K(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return X(this,n)}}(n);function n(){var e;z(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return N(W(e=t.call.apply(t,[this].concat(a))),"setupClickableCardHandlers",(function(){var t=0;setTimeout((function n(){e.containerRef&&(e.containerRef.querySelectorAll(".clickable-card[data-href]").length>0||t>=5?J(e.containerRef):(t++,setTimeout(n,100)))}),100)}
2)),N(W(e),"setContainerRef",(function(t){e.containerRef=t})),e}return G(n,[{key:"componentDidMount",value:function(){this.setupClickableCardHandlers()}},{key:"componentWillUnmount",value:function(){this.containerRef&&function(e){e&&e.querySelectorAll(".clickable-card[data-click-handler-added]").forEach((function(e){e.removeAttribute("data-click-handler-added"),e.style.cursor=""}))}(this.containerRef)}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.id,a=e.tabTitle,o=e.render,i=B("TabsPanel"),l=this.context.currentOpenPanel===r;return b.default.createElement("div",{"aria-labelledby":"tab-".concat(r),role:"tabpanel",className:i({states:_()({hidden:!l})}),"data-rehydratable":Y(n.displayName),"data-tab-title":a,id:"".concat(r,"-tab"),hidden:!l,tabIndex:"0",ref:this.setContainerRef},b.default.createElement("div",{"data-rehydratable-children":!0},o&&o(l),t))}}]),n}(b.Component);N($,"displayName","Tabs.Panel"),N($,"propTypes",{render:y().any,children:y().node,id:y().string.isRequired,tabTitle:y().string.isRequired,dataAttribute:y().string,isRehydrating:y().bool}),N($,"contextTypes",Z);var Q=$;function ee(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var te=r(8194),ne=function(e){return b.default.createElement(te.A,e,e.children)},re=function(e){var t=e.children,n=ee(e,["children"]);return b.default.createElement("svg",D({xmlns:"http://www.w3.org/2000/svg"},n),t)};function ae(e){var t=arguments.length>
21&&void 0!==arguments[1]&&!arguments[1]?"0 0 24 24":"0 0 64 64";return function(n){var r=function(e){return b.default.createElement(ne,e,b.default.createElement(re,{viewBox:t},b.default.createElement(n,null)))};return r.displayName=e,r.svg=b.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:t},b.default.createElement(n,null)),r}}var oe=ae("UiSmallRight",!1)((function(){return b.default.createElement("path",{d:"M10 8l4 4-4 4",fill:"none",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"2"})}));var ie=function(e){q(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var a=K(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return X(this,n)}}(n);function n(e){var r;return z(this,n),(r=t.call(this,e)).handleClick=r.handleClick.bind(W(r)),r.handleKeyDown=r.handleKeyDown.bind(W(r)),r}return G(n,[{key:"handleClick",value:function(e){this.props.onClick(e,this.props.relatedId)}},{key:"handleKeyDown",value:function(e){this.props.onKeyDown(e)}},{key:"componentDidUpdate",value:function(e){this.buttonRef&&!e.selected&&this.props.selected&&this.buttonRef.focus({preventScroll:!0})}},{key:"render",value:function(){var e=this,t=this.props,n=t.layoutVariant,r=t.relatedId,a=t.selected,o=t.title,i=t.dataAttribute,l=t.segment,u=t.subSegment,s=t.disabled,c=B("TabsTab"),d={className:c({descendantName:"link"}),href:"#".concat(r),onClick:this.handleClick,onKeyDown:this.handleKeyDown,id:"tab-".concat(r),role:"tab","data-label":i,"aria-controls":"".concat(r,"-tab"),"data-tab-segment":l,"data-tab-subsegment":u,"aria-disabled":s};return a?d["aria-selected"]=!0:(d["aria-selected"]=!1,d.tabIndex="-1"),b.default.createElement("li",{role:"presentation",className:c({modifiers:_()(n),states:_()({selected:a,disabled:s})})},b.default.createElement("button",D({},d,{ref:function(t){return e.buttonRef=t},target:"_self"}),o,"verticalAtDesktop"===n&&b.default.createElement("span",{className:c({descendantName:"icon"})},b.default.createElement(oe,{width:24}))))}}]),n}(b.Component);N(ie,"propTypes",{layoutVariant:y().oneOf(["verticalAtDesktop"]),onClick:y().func,onKeyDown:y().func,title:y().string.isRequired,relatedId:y().string.isRequired,selected:y().bool,dataAttribute:y().string,segment:y().string,subSegment:y().string,disabled:y().bool}),N(ie,"defaultProps",{onClick:function(){},onKeyDown:function(){}}),N(ie,"displayName","Tabs.Tab");var le=ie,ue=function(e){var t,n=e.children,r=e.layoutVariant,a=e.horizontalTabsActions,o=e.ariaLabelText,i=B("TabsTabList");return b.default.createElement("div",{role:"presentation",className:i({modifiers:_()((t={},N(t,r,r),N(t,"horizontalTabsActions",a),t))})},b.default.createElement("ul",{role:"tablist","aria-label":o,"aria-orientation":"horizontal",className:i({descendantName:"list"})},n),a&&b.default.createElement("div",{className:i({descendantName:"actions"})},a))};ue.propTypes={children:y().node,horizontalTabsActions:y().node,layoutVariant:y().oneOf(["verticalAtDesktop"]),ariaLabelText:y().string},ue.displayName="Tabs.TabList";var se=ue;function ce(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],u=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(e){s=!0,a=e}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}}(e,t)||j(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.")}()}var de,fe=ae("NucleoSmallUserInterfaceCheckCircle08",!1)((function(){return b.default.createElement("g",{className:"nc-icon-wrapper",fill:"none",strokeLinecap:"round",strokeWidth:"2"},b.default.createElement("path",{d:"M6 12l4 4 8-8",stroke:"#FF6400","data-color":"color-2"}),b.default.createElement("path",{d:"M12 1a11 11 0 1 0 0 22 11 11 0 1 0 0-22z",stroke:"#404040"}))})),pe=ae("NucleoSmallUserInterfaceAlertCircleExc",!1)((function(){return b.default.createElement("g",{className:"nc-icon-wrapper",fill:"#404040"},b.default.createElement("path",{d:"M12 1a11 11 0 1 0 0 22 11 11 0 1 0 0-22z",fill:"none",stroke:"#404040",strokeLinecap:"round",strokeWidth:"2"}),b.default.createElement("path",{d:"M12 7v6",fill:"none",stroke:"#FF6400",strokeLinecap:"round",strokeWidth:"2","data-color":"color-2"}),b.default.createElement("path",{d:"M12 16a1 1 0 1 0 0 2 1 1 0 1 0 0-2z",fill:"#FF6400","data-color":"color-2","data-stroke":"none"}))}));!function(e){e.SUCCESS="success",e.FAILURE="failure"}(de||(de={}));var me=function e(t){var n=t.alertState,r=t.state,a=t.children,o=t.id;n=n||r;var i=B(e.displayName);return b.default.createElement("div",{className:i({states:n}),role:"alert"},b.default.createElement("div",{className:i({descendantName:"icon"})},function(e){switch(e){case de.SUCCESS:return b.default.createElement(fe,{label:e,width:24});case de.FAILURE:return b.default.createElement(pe,{label:e,width:24})}}(n)),b.default.createElement("div",{id:o,className:i({descendantName:"content"})},a))};me.displayName="Alert";var he,ve,ge,ye,be,we,_e=me;!function(e){e.First="1",e.Second="2",e.Third="3",e.Forth="4",e.Fith="5",e.Sixth="6"}(he||(he={})),function(e){e.SMALLCAPS="small-caps",e.XXXTRASMALL="xxxs",e.XXTRASMALL="xxs",e.XTRASMALL="xs",e.SMALL="s",e.MEDIUM="m",e.LARGE="l",e.EXTRALARGE="xl",e.XEXTRALARGE="xxl",e.XXEXTRALARGE="xxxl"}(ve||(ve={})),function(e){e[e.Ok=200]="Ok",e[e.NoContent=204]="NoContent",e[e.BadRequest=400]="BadRequest",e[e.NotFound=404]="NotFound",e[e.Conflict=409]="Conflict",e[e.Error=500]="Error"}(ge||(ge={})),function(e){e.XS="xs",e.S="s",e.M="m",e.L="l",e.XL="xl"}(ye||(ye={})),function(e){e.SELECTED="selected"}(be||(be={})),function(e){e.Light="light",e.Regular="regular",e.Medium="medium",e.Bold="bold",e.Black="black"}(we||(we={}));var Ee=function e(t){var n=t.children,r=t.size,a=void 0===r?ye.M:r,o=B(e.displayName);return b.default.createElement("div",{className:o({modifiers:a})},n)};
2Ee.displayName="VerticalSpacing";var Ce=Ee,Ne=ae("UiChevronDown",!1)((function(){return b.default.createElement("path",{d:"M16 10l-4 4-4-4",fill:"none",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"2"})})),xe=b.default.forwardRef((function(e){var t=e.defaultValue,n=e.disabled,r=e.id,a=e.labelText,o=e.renderLabel,i=e.name,l=e.onChange,u=e.options,s=e.placeholderText,c=e.required,d=e.value,f=e.ariaRequired,p=e.isError,m=e.errorMessage,h=e.optionalText,v=void 0===h?"(Optional)":h,g=e.instructionalText,y=(0,b.useRef)(null),w=u,E=ce((0,b.useState)((function(){var e=w.find((function(e){return e.value===t})),n=d?w.find((function(e){return e.value===d})):e;return n?n.label:s})),2),C=E[0],N=E[1],x=ce((0,b.useState)((function(){var e=d||t,n=e?w.findIndex((function(t){return t.value===e})):-1;return n>=0?n:-1})),2),R=x[0],S=x[1],k=ce((0,b.useState)(!1),2),O=k[0],P=k[1],L=ce((0,b.useState)(""),2),T=L[0],I=L[1],A=(0,b.useMemo)((function(){var e={};return w.forEach((function(t,n){e[n]=(0,b.createRef)(null)})),e}),[w]),F=B(xe.displayName),H=(0,b.useCallback)((function(e){-1!==w.findIndex((function(t){return t.label===e}))&&N(e)}),[w]),j=function(e){return function(t){t.stopPropagation(),function(e){l&&l(e),c&&""===e.value?I(m||"This field is required."):I(""),H(e.label)}(e),P(!1)}};!function(e,t){var n=function(n){e.current&&!e.current.contains(n.target)&&t()};(0,b.useEffect)((function(){return document.addEventListener("mousedown",n),function(){document.removeEventListener("mousedown",n)}}),[t])}(y,(function(){O&&P(!1)}));var M=(0,b.useCallback)((function(){if(document.activeElement===y.current||O){var e=w[R];if(-1!==R&&O){l&&l(e);var t=c&&""===e.value;I(t?m||"This field is required.":""),N(e.label)}P(!O)}}),[O,R,w]),z=(0,b.useCallback)((function(){O&&P(!1)}),[O]),V=(0,b.useCallback)((function(e,t){if(O){t.preventDefault();var n=R;"down"===e&&n<w.length?n++:"up"===e&&n>-1&&n--;for(var r=w[n];r&&r.disabled;)r=w[n="down"===e?n+1:n-1];r&&(A[n].current.focus(),S(n),N(r.label))}}),[R,O,w,A]),G=function(e){O&&e.preventDefault()};return(0,b.useEffect)((function(){var e={Enter:M,Escape:z,ArrowDown:function(e){return V("down",e)},ArrowUp:function(e){return V("up",e)},Tab:G},t=function(t){var n=e[t.key];n&&n(t)};return document.addEventListener("keydown",t),function(){document.removeEventListener("keydown",t)}}),[O,V]),b.default.createElement("div",{className:F()},b.default.createElement("label",{className:F({descendantName:"label",states:_()({disabled:n})}),htmlFor:r,id:"".concat(r,"-label")},o?o():b.default.createElement("span",{className:F({descendantName:"labelText",states:_()({disabled:n})})},a,!c&&!f&&b.default.createElement("span",{className:F({descendantName:"optional",states:_()({disabled:n})})},v),g&&b.default.createElement("span",{className:F({descendantName:"instructional-text",states:_()({disabled:n})})},g)),b.default.createElement("span",{className:F({descendantName:"input",states:_()({error:p})})},b.default.createElement("div",D({id:r,className:F({descendantName:"custom-select",states:_()({disabled:n,invalid:T})}),onClick:function(){n||P(!O)},ref:y,role:"combobox",tabIndex:0,name:i,"aria-disabled":n,"aria-expanded":O,"aria-invalid":T?"true":"false","aria-controls":"select-control-list","aria-haspopup":"listbox","aria-labelledby":"".concat(r,"-label")},C&&{"aria-activedescendant":O?"combo-".concat(R):""}),b.default.createElement("span",{className:F({descendantName:"select-text"})},C||s),b.default.createElement("div",{className:F({descendantName:"arrow"})},b.default.createElement(Ne,{width:24})),O&&b.default.createElement("ul",{className:F({descendantName:"select-dropdown"}),id:"select-control-list",role:"listbox","aria-labelledby":"".concat(r,"-label")},w.map((function(e,t){return b.default.createElement("li",{tabIndex:0,id:"combo-".concat(t),value:t,key:e.value,"aria-selected":C===e.label,onClick:j(e),role:"option","aria-posinset":t+1,ref:A[t],className:F({descendantName:"dropdown-item",states:e.disabled?"disabled":""})},e.label)})))))),T&&b.default.createElement(Ce,{size:ye.XS}
2,b.default.createElement("div",{className:F({descendantName:"error"})},b.default.createElement(_e,{alertState:de.FAILURE},T))))}));xe.propTypes={defaultValue:y().string,disabled:y().bool,id:y().string.isRequired,labelText:y().string,name:y().string.isRequired,onBlur:y().func,onChange:y().func,options:y().arrayOf(y().shape({label:y().string.isRequired,value:y().string.isRequired,segment:y().string,subsegment:y().string,disabled:y().bool})),placeholder:y().bool,placeholderText:y().string,required:y().bool,value:y().string,ref:y().oneOfType([y().func,y().shape({current:y().any})]),ariaRequired:y().bool,ariaInvalid:y().bool,renderLabel:y().func,optionalText:y().string,isError:y().bool,errorMessage:y().string,instructionalText:y().string},xe.defaultProps={placeholder:!0,placeholderText:"Select an option…",ariaRequired:!1,ariaInvalid:!1,isError:!1},xe.displayName="Form.SelectControl";var Re=xe;function Se(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 ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Se(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Oe=function(e){q(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var a=K(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return X(this,n)}}(n);function n(e){var r;z(this,n),N(W(r=t.call(this,e)),"handleWindowResize",(function(){if(window&&window.innerWidth&&r.setState((function(e){return ke(ke({},e),{},{isMobile:window.innerWidth<r.mobileScreenBreakpoint})})),r.tabsRef){r.tabsRef.style="display:block;";var e=r.isOverflown(r.tabsRef);r.tabsRef.style="",r.setState({overflown:e})}})),r.getClassName=B(n.displayName);var a=n.getTabs(e.children);return r.state={currentOpenPanel:e.defaultTab||a[0]&&a[0].relatedId||null,tabs:a,isMobile:!1,overflown:!1},r.mobileScreenBreakpoint=768,r.updateFromHash=r.updateFromHash.bind(W(r)),r.handleTabClick=r.handleTabClick.bind(W(r)),r.handleTabListKeyDown=r.handleTabListKeyDown.bind(W(r)),r.setOpenPanel=r.setOpenPanel.bind(W(r)),r}return G(n,[{key:"isOverflown",value:function(e){return e.scrollWidth>e.clientWidth}},{key:"getChildContext",value:function(){return{currentOpenPanel:this.state.currentOpenPanel}}},{key:"setOpenPanel",value:function(e){var t=this.state,r=t.tabs,a=t.currentOpenPanel,o=this.props.handleTabChange;this.setState({currentOpenPanel:e}),n.setLocationHash(e);var i=r.findIndex((function(t){return t.relatedId===e})),l=r[i];o&&o(e,a),this.props.analytics("Tab navigation","Click ".concat(i+1),l.title,e)}},{key:"handleTabListKeyDown",value:function(e){var t=this,n=this.state.tabs.findIndex((function(e){return e.relatedId===t.state.currentOpenPanel})),r=getComputedStyle(this.ref).direction,a="Home",o="End",i="ArrowUp",l="ArrowDown",u="ltr"===r?"ArrowRight":"ArrowLeft",s="ltr"===r?"ArrowLeft":"ArrowRight",c="--disabled--";if("verticalAtDesktop"===this.props.layoutVariant&&window.innerWidth>=768&&(u="ArrowDown",s="ArrowUp",c="ltr"===r?"ArrowRight":"ArrowLeft"),[u,s,a,o,i,l].includes(e.key)){e.preventDefault();var d,f=this.state.tabs.length-1,p=0;switch(e.key){case s:case i:null===(p=this.getNextEnableTab(n,"up"))&&(p=n),d=this.state.tabs[p].relatedId;break;case u:case l:null===(p=this.getNextEnableTab(n,"down"))&&(p=n),d=this.state.tabs[p].relatedId;break;case a:d=this.state.tabs[0].relatedId;break;case o:d=this.state.tabs[f].relatedId}this.setOpenPanel(d)}else e.key===c&&this.ref.querySelector("#".concat(this.state.currentOpenPanel,"-tab")).focus()}},{key:"getNextEnableTab",value:function(e,t){var n=this.state.tabs.length-1,r="up"===t?Math.max(0,e-1):Math.min(e+1,n);
2!0===this.props.enableArrowKeyCarousel&&r===e&&(r="up"===t?n:0);var a=this.state.tabs[r];return!a.disabled||0!==r&&r!==n||!0===this.props.enableArrowKeyCarousel?a.disabled?this.getNextEnableTab(r,t):r:null}},{key:"handleTabClick",value:function(e,t){e&&e.preventDefault(),this.setOpenPanel(t)}},{key:"updateFromHash",value:function(){var e=n.getLocationHash();if(e&&this.state.tabs.map((function(e){return e.relatedId})).includes(e)){this.setOpenPanel(e);var t=this.ref.getBoundingClientRect().top+window.pageYOffset;setTimeout((function(){window.scrollTo(0,t-n.calculateHeaderOffset(t))}),0)}}},{key:"componentDidMount",value:function(){this.handleWindowResize(),this.updateFromHash(),window&&(window.addEventListener("resize",this.handleWindowResize),window.addEventListener("hashchange",this.updateFromHash))}},{key:"componentDidUpdate",value:function(e){if(e!==this.props){var t={tabs:n.getTabs(this.props.children)};0===t.tabs.length?t.currentOpenPanel=null:t.tabs.map((function(e){return e.relatedId})).includes(this.state.currentOpenPanel)||(t.currentOpenPanel=this.props.defaultTab||t.tabs[0].relatedId),this.setState(t)}}},{key:"componentWillUnmount",value:function(){window&&(window.removeEventListener("hashchange",this.updateFromHash),window.removeEventListener("resize",this.handleWindowResize))}},{key:"render",value:function(){var e=this,t=this.props,r=t.children,a=t.defaultTab,o=t.layoutVariant,i=t.ariaLabelText,l=t.dropdownLabelText,u=this.state,s=u.isMobile,c=u.tabs,d=u.overflown,f=c.map((function(e){return{value:e.relatedId,label:e.title,disabled:e.disabled,segment:e.segment,subsegment:e.subSegment}})),p=s||d;return b.default.createElement("div",{className:this.getClassName({modifiers:_()(o,{mobile:p})}),"data-default-tab":a,"data-layout-variant":o,"data-rehydratable":Y(n.displayName),"data-rehydratable-children-selector":".".concat(this.getClassName({descendantName:"panel"})),ref:function(t){return e.ref=t}},!s&&b.default.createElement("div",{className:this.getClassName({descendantName:"list",modifiers:_()({visible:!d})}),ref:function(t){return e.tabsRef=t}},b.default.createElement(se,{layoutVariant:o,horizontalTabsActions:!this.props.layoutVariant&&this.props.horizontalTabsActions,ariaLabelText:i},this.state.tabs.map((function(t){return b.default.createElement(le,D({},t,{key:t.relatedId,layoutVariant:o,onClick:e.handleTabClick,onKeyDown:e.handleTabListKeyDown,selected:t.relatedId===e.state.currentOpenPanel}))})))),p&&b.default.createElement("div",{className:this.getClassName({descendantName:"select"})},b.default.createElement(Re,{placeholder:!1,labelText:l,optionalText:"",options:f,value:this.state.currentOpenPanel,id:this.state.currentOpenPanel,onChange:function(t){return e.handleTabClick(null,t.value)}})),b.default.createElement("div",{className:this.getClassName({descendantName:"panel"})},r))}}],[{key:"getTabs",value:function(e){var t=[];return b.default.Children.forEach(e,(function(e){if((null==e?void 0:e.type)===Q){var r=e.props,a=r.tabTitle,o=r.id,i=r.dataAttribute,l=r.segment,u=r.subSegment,s=r.disabled,c=void 0!==s&&s;t.push(ke({title:a,relatedId:o,segment:l,subSegment:u,disabled:c},i&&{dataAttribute:i}))}else(null==e?void 0:e.type)===b.default.Fragment&&t.push.apply(t,M(n.getTabs(e.props.children)))})),t}},{key:"calculateHeaderOffset",value:function(e){for(var t=document.querySelectorAll("[class$=--sticky]"),n=0;n<t.length;n++){var r=t[n];if(r.getBoundingClientRect().top+window.pageYOffset<=e)return r.offsetHeight}return 0}}]),n}(b.Component);N(Oe,"displayName","Tabs"),N(Oe,"childContextTypes",Z),N(Oe,"propTypes",{analytics:y().func,children:y().node,defaultTab:y().string,handleTabChange:y().func,layoutVariant:y().oneOf(["verticalAtDesktop"]),horizontalTabsActions:y().node,ariaLabelText:y().string,dropdownLabelText:y().string,enableArrowKeyCarousel:y().bool}),N(Oe,"defaultProps",{analytics:function(){},enableArrowKeyCarousel:!0}),N(Oe,"getLocationHash",(function(){return window&&window.location&&window.location.hash?window.location.hash.substr(1):null})),N(Oe,"setLocationHash",(function(e){history&&history.pushState&&history.replaceState(null,"","#".concat(e))})),Oe.Panel=Q;var Pe=Oe,Le=function(e){var t={tabValues:[],initialDefaultTab:null,tabPanelValues:[],ariaLabelText:""},n=null;
vendor: 5,895 bytes, line 2
2return b.default.Children.forEach(e,(function(e){!function e(r){var a=r.props||{},o=a.role,i=a.id,l=a.dataTabDisabled,u=a.selected,s=a["aria-label"];switch(o){case"tab":t.tabValues.push(r.props),null===t.initialDefaultTab&&"true"!=l&&"true"==u&&(t.initialDefaultTab=i);break;case"tabpanel":n=document.getElementById(i).innerHTML,t.tabPanelValues.push(n);break;case"tablist":t.ariaLabelText=s}r.props&&r.props.children&&b.default.Children.forEach(r.props.children,(function(t){e(t)}))}(e)})),t},Te=r(3593),Ie=r.n(Te),Be=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var a=r[n];e.call(t,a[1],a[0])}},t}()}(),Ae="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,Fe=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),He="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(Fe):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},je=["top","right","bottom","left","width","height","size","weight"],Me="undefined"!=typeof MutationObserver,De=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,a=0;function o(){n&&(n=!1,e()),r&&l()}function i(){He(o)}function l(){var e=Date.now();if(n){if(e-a<2)return;r=!0}else n=!0,r=!1,setTimeout(i,20);a=e}return l}(this.refresh.bind(this))}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){Ae&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Me?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){Ae&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;je.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),ze=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var a=r[n];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},Ve=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||Fe},Ge=Ke(0,0,0,0);function We(e){return parseFloat(e)||0}function Ue(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+We(e["border-"+n+"-width"])}),0)}var qe="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof Ve(e).SVGGraphicsElement}:function(e){return e instanceof Ve(e).SVGElement&&"function"==typeof e.getBBox};function Xe(e){return Ae?qe(e)?function(e){var t=e.getBBox();return Ke(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return Ge;var r=Ve(e).getComputedStyle(e),a=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var a=r[n],o=e["padding-"+a];t[a]=We(o)}return t}(r),o=a.left+a.right,i=a.top+a.bottom,l=We(r.width),u=We(r.height);if("border-box"===r.boxSizing&&(Math.round(l+o)!==t&&(l-=Ue(r,"left","right")+o),Math.round(u+i)!==n&&(u-=Ue(r,"top","bottom")+i)),!function(e){return e===Ve(e).document.documentElement}(e)){var s=Math.round(l+o)-t,c=Math.round(u+i)-n;1!==Math.abs(s)&&(l-=s),1!==Math.abs(c)&&(u-=c)}return Ke(a.left,a.top,l,u)}(e):Ge}function Ke(e,t,n,r){return{x:e,y:t,width:n,height:r}}var Ye=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Ke(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=Xe(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),Ze=function(e,t){var n=function(e){var t=e.x,n=e.y,r=e.width,a=e.height,o="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,i=Object.create(o.prototype);
2return ze(i,{x:t,y:n,width:r,height:a,top:n,right:t+r,bottom:a+n,left:t}),i}(t);ze(this,{target:e,contentRect:n})},Je=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new Be,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Ve(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new Ye(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Ve(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new Ze(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),$e="undefined"!=typeof WeakMap?new WeakMap:new Be,Qe=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=De.getInstance(),r=new Je(t,n,this);$e.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){Qe.prototype[e]=function(){var t;return(t=$e.get(this))[e].apply(t,arguments)}}));var et=void 0!==Fe.ResizeObserver?Fe.ResizeObserver:Qe,tt=function(e){var t,n=e.getClassName,r=e.getItemHeight,a=e.isFocused,o=e.isSelected,i=e.item,l=e.linkRef,u=e.onBlur,s=e.onFocus,c=e.onItemClicked,d=e.withCheckmark,f=(0,b.useRef)(null),p=b.default.useRef(new et((function(e){var t=ce(e,1)[0].contentRect.height;r&&r(t)})));(0,b.useLayoutEffect)((function(){return f.current&&r&&p.current.observe(f.current),function(){f.current&&r&&p.current.unobserve(f.current)}}),[f,p,r]),(0,b.useEffect)((function(){if(a&&f.current){var e=f.current.firstElementChild;e&&document.activeElement!==e&&e.focus()}}),[a]);var m,h={"aria-selected":o,role:"option",tabIndex:-1},v=o&&d,g=null!==(t=null==i?void 0:i.customLabel)&&void 0!==t?t:i.label,y=b.default.createElement(b.default.Fragment,null,b.default.createElement("span",{className:n({descendantName:"itemInnerText"})},g));return m=i.href?b.default.createElement("a",{id:i.value?i.value.toString():"",className:n({descendantName:"itemInner",modifiers:_()({focused:a,withCheckmark:v})}),href:i.href,ref:l,tabIndex:0,onFocus:s},y):b.default.createElement("button",{id:i.value?i.value.toString():"",className:"".concat(n({descendantName:"itemInner",modifiers:_()({focused:a,withCheckmark:v})})," ").concat(n({descendantName:"itemInnerButton",modifiers:o?"selected":null})),tabIndex:0,onFocus:s,onMouseDown:function(e){e.preventDefault(),c(i,e)}},y),b.default.createElement("li",D({ref:f},h,{className:n({descendantName:"item"}),onBlur:u}),m)};tt.displayName="DropdownItem",tt.propTypes={getClassName:y().func.isRequired};var nt=tt,rt=function(e){var t=e.getClassName,n=e.text,r=e.toggleExpand,a=e.a11yHeaderProps,o=e.buttonRef;return b.default.createElement("div",D({ref:o},a,{className:t({descendantName:"header"}),onClick:r}),b.default.createElement("span",{id:"headerText",className:t({descendantName:"headerText"})},n),b.default.createElement("span",{className:t({descendantName:"headerIcon"})},b.default.createElement(Ne,null)))};rt.displayName="DropdownHeader";var at=rt,ot=ae("UiCross",!1)((function(){return b.default.createElement("g",{className:"nc-icon-wrapper",fill:"none",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"2"},b.default.createElement("path",{d:"M19 5L5 19M19 19L5 5"}))})),it=r(3620),lt=r.n(it);function ut(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 st(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?ut(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ut(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ct=function(e){q(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var a=K(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return X(this,n)}}(n);function n(){var e;z(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return N(W(e=t.call.apply(t,[this].concat(a))),"ulRef",b.default.createRef()),N(W(e),"toggleButtonRef",b.default.createRef()),N(W(e),"selectedLinkRef",b.default.createRef()),N(W(e),"filterContainerRef",b.default.createRef()),N(W(e),"inputRef",b.default.createRef()),N(W(e),"state",{id:e.props.id||lt()("dropdown-"),expanded:!1,value:e.props.value||"",index:0,maxListHeight:"0",filteredItems:e.props.items,isClearButtonVisible:!1}),N(W(e),"componentDidUpdate",(function(t){if(t.items!==e.props.items&&e.setState({filteredItems:e.props.items}),e.inputRef&&e.isTypeaheadMode){if(e.props.removeAutoFocus&&e.state.expanded||!e.props.removeAutoFocus){var n=e.inputRef.current,r=document.activeElement,a=r===n,o=Boolean(e.ulRef.current&&e.ulRef.current.contains(r));!n||a||o||n.focus()}}else e.state.expanded&&e.selectedLinkRef.current&&e.selectedLinkRef.current.focus()})),N(W(e),"getClassName",B(n.displayName)),N(W(e),"expandButtonId",lt()("expand-button-")),N(W(e),"filterInputId",lt()("filter-input-id-")),N(W(e),"listboxId",lt()("dropdown-listbox-")),N(W(e),"renderTypeahead",(function(){var t,n,r=b.default.forwardRef((function(t,n){var r=t.inputId,a=t.setValue,o=t.value;return b.default.createElement("label",{htmlFor:r,ref:n,onClick:function(t){e.toggleExpand(),e.setState({index:-1}),t.target.focus()},onKeyDown:e.onKeyDown,className:e.getClassName({descendantName:"filter"})},b.default.createElement("input",D({className:e.getClassName({descendantName:"filterInput"}),ref:e.inputRef,placeholder:e.props.placeholder,id:r,onChange:function(t){a({value:t.target.value}),e.state.expanded||(e.expand(),e.setState({index:-1})),e.handleFilter(t.target.value),e.setState({isClearButtonVisible:Boolean(t.target.value)}),e.props.onFilterValueChanged&&e.props.onFilterValueChanged(t.target.value)},autoComplete:"off",type:"text",role:"combobox","aria-expanded":e.state.expanded,"aria-controls":e.listboxId,value:o},e.props.describedBy&&{"aria-describedby":e.props.describedBy},e.props.labeledBy&&{"aria-labelledby":e.props.labeledBy})),b.default.createElement("div",{className:e.getClassName({descendantName:"buttons"})},e.state.isClearButtonVisible&&b.default.createElement("button",{type:"button",className:e.getClassName({descendantName:"clearButton"}),onClick:function(t){t&&t.stopPropagation(),e.expand(),e.setState({index:-1,value:"",isClearButtonVisible:!1}),e.handleFilter(""),e.props.onClearButtonClick&&e.props.onClearButtonClick()},"aria-label":e.props.clearButtonLabel},b.default.createElement("div",{className:e.getClassName({descendantName:"clearIcon"})},b.default.createElement(ot,null))),b.default.createElement("div",{className:e.getClassName({descendantName:"filterButton"})},b.default.createElement("span",{className:e.getClassName({descendantName:"filterIcon"})},b.default.createElement(Ne,null)))))}));return r.displayName="Filter",t=e.filterContainerRef,n=e.filterInputId,b.default.createElement(r,{inputId:n,value:e.state.value,ref:t,setValue:e.setState.bind(W(e))})})),N(W(e),"collapse",(function(){e.setState({expanded:!1}),e.props.onDropdownBlur&&e.props.onDropdownBlur(),e.toggleButtonRef&&e.toggleButtonRef.current&&e.toggleButtonRef.current.focus()})),N(W(e),"onItemFocused",(function(t){e.state.index!==t&&e.setState({index:t})})),N(W(e),"expand",(function(){e.inputRef&&e.isTypeaheadMode&&(e.setState({expanded:!0}),e.inputRef.current.focus());var t=e.props.items,n=void 0===t?[]:t;e.setState((function(e){var t=e.value,r=n.findIndex((function(e){return e.value===t}));return{expanded:!0,index:-1===r?0:r}}))})),N(W(e),"toggleExpand",(function(){e.state.expanded?e.collapse():e.expand()})),N(W(e),"maybeCollapse",(function(t){if(e.state.expanded){var n=t.relatedTarget||document.activeElement,r=document.getElementById(e.state.id);n&&r&&r.contains(n)||(e.props.onDropdownBlur&&e.props.onDropdownBlur(),e.collapse())}})),N(W(e),"calculateListHeight",(function(e,t){return"".concat(Math.abs(t)*e/16,"rem")})),N(W(e),"setListMaxHeight",(function(t){var n=e.props.maxVisibleItems;n&&e.setState({maxListHeight:e.calculateListHeight(t,n)})})),N(W(e),"getItemForCurrentValue",(function(t){if(null!=t)return e.props.items.find((function(e){return e.value===t}))})),N(W(e),"selectItem",(function(t){if(e.state.expanded){var n=e.isTypeaheadMode?t.label:t.value;e.isTypeaheadMode&&(e.handleFilter(n),e.setState({isClearButtonVisible:!0})),e.setState({value:n}),e.props.onItemClicked&&e.props.onItemClicked(t),e.props.onValueChanged&&e.props.onValueChanged(t.value),e.collapse()}})),N(W(e),"navigateToNextItem",(function(t){var n=e.props.items,r=void 0===n?[]:n,a=e.state,o=a.index;if(a.expanded){if(!("down"===t&&o>=r.length-1||"up"===t&&o<=0)){var i="down"===t?(o+1)%e.state.filteredItems.length:(o-1+e.state.filteredItems.length)%e.state.filteredItems.length;e.setState({index:i})}}else e.expand()})),N(W(e),"handleHomePress",(function(){e.setState({index:0})})),N(W(e),"handleEndPress",(function(){var t=e.props.items,n=void 0===t?[]:t;e.setState({index:n.length-1})})),N(W(e),"handleTabPress",(function(){e.state.expanded&&e.collapse()})),N(W(e),"handleEnterPress",(function(){var t=e.state.filteredItems,n=e.state,r=n.index;!n.expanded||r<0?e.toggleExpand():e.selectedLinkRef.current||e.selectItem(t[r])})),N(W(e),"onKeyDown",(function(t){var n,r=null===(n=e.filterContainerRef.current)||void 0===n?void 0:n.contains(t.target);switch(t.key){case"Escape":e.handleTabPress();break;case"ArrowUp":e.navigateToNextItem("up");break;case"ArrowDown":e.navigateToNextItem("down");break;case"Home":e.handleHomePress();break;case"End":e.handleEndPress();break;case"Enter":e.handleEnterPress();break;case" ":if(r)break;e.toggleExpand()}("Tab"!==t.key&&"Enter"!==t.key&&!r||"Enter"===t.key&&!e.selectedLinkRef.current)&&t.preventDefault()})),N(W(e),"renderHeaderComponent",(function(t,n,r){var a=t.label,o=t.customLabel;if(e.isTypeaheadMode)return e.renderTypeahead();if(e.props.renderHeader)return e.props.renderHeader(a,n,e.toggleExpand,e.expandButtonId);var i=null!=o?o:a;return b.default.createElement(at,{buttonRef:e.toggleButtonRef,a11yHeaderProps:r,text:i,toggleExpand:e.toggleExpand,getClassName:e.getClassName})})),N(W(e),"handleFilter",(function(t){if(t.length){if(e.props.filterFunction){var n=e.props.filterFunction(e.props.items,t);e.setState({filteredItems:n})}}else e.setState({filteredItems:e.props.items})})),e}return G(n,[{key:"dropDownItems",get:function(){return this.isTypeaheadMode?this.state.filteredItems:this.props.items}},{key:"isTypeaheadMode",get:function(){return Boolean(this.props.typeaheadMode)}},{key:"render",value:function(){var e,t=this,r=this.props,a=r.block,o=r.items,i=r.placeholder,l=r.size,u=r.labeledBy,s=r.ariaLabel,c=r.describedBy,d=r.maxVisibleItems,f=r.withCheckmark,p=r.renderItem,m=r.renderFilter,h=this.state,v=h.expanded,g=h.maxListHeight,y=h.value,w=h.index,E=this.getItemForCurrentValue(y),C=i;E&&(C=E.label,e=E.customLabel);var x=o.every((function(e){return!e.value&&e.href})),R=!s&&!x,S=u||"headerText",k=st(st(st(st({id:this.expandButtonId,tabIndex:0,role:x?"button":"combobox","aria-haspopup":x?"true":"listbox","aria-expanded":v},!x&&{"aria-controls":this.listboxId}),s&&{"aria-label":s}),R&&{"aria-labelledby":S}),c&&{"aria-describedby":c}),O=st(st({},!x&&{role:"listbox",id:this.listboxId}),{},{tabIndex:-1}),P=o.map((function(e){return{value:e.value,href:e.href,label:e.label}})),L={label:C,customLabel:e};return!this.state.isClearButtonVisible&&this.state.value&&this.setState({isClearButtonVisible:!0}),b.default.createElement("div",{tabIndex:this.props.tabIndex,className:this.getClassName({modifiers:_()(N({block:a},l,!0)),states:_()({expanded:v}),className:this.props.className}),onBlur:this.maybeCollapse,"data-block":JSON.stringify(a),"data-items":JSON.stringify(P),"data-placeholder":JSON.stringify(i),"data-rehydratable":Y(n.displayName),"data-size":JSON.stringify(l),"data-value":JSON.stringify(y),onKeyDown:this.onKeyDown,id:this.state.id},this.renderHeaderComponent(L,v,k),this.dropDownItems.length>0&&this.state.expanded&&b.default.createElement("div",{id:this.props.dropdownMenuId,className:this.getClassName({descendantName:"listWrapper"})},m&&!this.isTypeaheadMode&&m(this.collapse,this.filterContainerRef,this.filterInputId),b.default.createElement("ul",D({ref:this.ulRef,"aria-labelledby":this.isTypeaheadMode?u:this.expandButtonId,className:this.getClassName({descendantName:"items",modifiers:_()({scroll:d,links:x})})},O,{style:function(){if(d)return{maxHeight:g}}()}),this.dropDownItems.map((function(e,n){var r=y===e.value||t.isTypeaheadMode&&y===e.label,a=0===n&&d,o={getClassName:t.getClassName,getItemHeight:a?t.setListMaxHeight:void 0,isFocused:w===n,isSelected:r,item:e,linkRef:r&&e.href?t.selectedLinkRef:void 0,onBlur:t.maybeCollapse,onFocus:function(){return t.onItemFocused(n)},onItemClicked:t.selectItem,withCheckmark:f};return p?p(o,n):b.default.createElement(nt,D({},o,{key:e.label}))})))))}}]),n}(b.default.Component);N(ct,"displayName","Dropdown"),N(ct,"defaultProps",{block:!0,size:"large",items:[]}),N(ct,"rehydrator",(function(e){var t=function(t){var n=e.getAttribute("data-".concat(t));return n?JSON.parse(n):null},n={isRehydrating:!0,block:t("block"),items:t("items"),placeholder:t("placeholder"),size:t("size"),value:t("value")};return Promise.resolve(b.default.createElement(dt,n))}));var dt=ct,ft=function e(t){var n=t.current,r=t.href,a=t.text,o=B(e.displayName),i=a;
2return n||(i=b.default.createElement("a",{className:o({descendantName:"inner"}),href:r},a)),n?b.default.createElement("li",{className:o({states:"current"}),"aria-current":"page"},i):b.default.createElement("li",{className:o()},i)};ft.displayName="BreadcrumbItem";var pt=ft,mt=function e(t){var n=t.children,r=t.buttonAriaLabel,a=t.breadcrumbId,o=B(e.displayName),i=[],l=[],u=ce((0,b.useState)(!1),2),s=u[0],c=u[1],d=ce((0,b.useState)(2),2),f=d[0],p=d[1],m=ce((0,b.useState)(1),2),h=m[0],v=m[1],g=(0,b.useRef)(null),y=(0,b.useRef)(null),w=[],_=lt()("dropdown-menu-id-"),E=(0,b.useRef)(lt()("breadcumbs-id-"));b.default.Children.forEach(n,(function(e,t){if(e.type===pt){var n=t+1;i.push({"@type":"ListItem",position:n,item:{"@id":e.props.href,name:e.props.text}}),l.push(e)}}));var C=Ie()((function(){var e=function(){var e=!1;return g.current&&y.current&&(y.current.setAttribute("style","display:flex"),e=g.current.clientWidth<1024||g.current.scrollWidth>g.current.clientWidth,y.current.setAttribute("style","")),e}();c(e),g.current&&e?(v(0),p(1)):(v(1),p(3))}),100);if((0,b.useLayoutEffect)((function(){return window&&(C(),window.addEventListener("resize",C)),document.documentElement.style.setProperty("--scrollbar-width","".concat(window.innerWidth-document.documentElement.clientWidth,"px")),function(){window&&window.removeEventListener("resize",C)}}),[]),s){var N=l.length;l.splice(h,N-f).forEach((function(e){w.push({href:e.props.href,label:e.props.text})})),l.splice(h,0,b.default.createElement("li",{className:o({descendantName:"dropdown"}),key:"dropdown"},b.default.createElement(dt,{block:!1,items:w,placeholder:"",onValueChanged:function(){},dropdownMenuId:_,removeAutoFocus:!1,renderHeader:function(e,t,n,a){return b.default.createElement("button",{id:a,className:o({descendantName:"dropdown-btn"}),onClick:n,"aria-expanded":t,"aria-haspopup":!0,"aria-controls":_,"aria-label":r},b.default.createElement("svg",{width:"16",height:"16",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},b.default.createElement("path",{d:"M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"})))}})))}return b.default.createElement("nav",{id:a||E.current,className:o(),"aria-label":"breadcrumbs",ref:g},b.default.createElement("ol",{ref:y,className:o({descendantName:"items",modifiers:"hidden"})},n),b.default.createElement("ol",{className:o({descendantName:"items"})},l),b.default.createElement("script",{type:"application/ld+json"},JSON.stringify({"@context":"http://schema.org","@type":"BreadcrumbList",itemListElement:i})))};mt.defaultProps={buttonAriaLabel:"breadcrumbs"},mt.displayName="Breadcrumb",mt.Item=pt;var ht=mt,vt=function(e){var t={id:"",buttonAriaLabel:"",breadcrumbItems:[]};return b.default.Children.forEach(e,(function(e){!function e(n){var r,a=(n.props||{}).class;switch(a){case"dcl-cmp-breadcrumb":t.id=n.props.id,t.buttonAriaLabel=n.props["data-button-aria-label"];break;case"dcl-cmp-breadcrumb__item":t.breadcrumbItems.push({text:(r=n).props.children[1].props.children[1].props.children[0],href:r.props.children[1].props.href,current:r.props.ariaCurrent||""})}n.props&&n.props.children&&"dcl-cmp-breadcrumb__item"!==a&&b.default.Children.forEach(n.props.children,(function(t){e(t)}))}(e)})),t};function gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yt(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 bt=function(e){var t=e.width,n=e.height,r=e.color,a=void 0===r?"#737373":r;return b.default.createElement("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 18 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M9 1C6.46875 1 4.1875 2.34375 2.9375 4.5C1.65625 6.6875 1.65625 9.34375 2.9375 11.5C4.1875 13.6875 6.46875 15 9 15C11.5 15 13.7812 13.6875 15.0312 11.5C16.3125 9.34375 16.3125 6.6875 15.0312 4.5C13.7812 2.34375 11.5 1 9 1ZM9 16C6.125 16 3.5 14.5 2.0625 12C0.625 9.53125 0.625 6.5 2.0625 4C3.5 1.53125 6.125 0 9 0C11.8438 0 14.4688 1.53125 15.9062 4C17.3438 6.5 17.3438 9.53125 15.9062 12C14.4688 14.5 11.8438 16 9 16ZM6.625 5.65625C6.8125 5.46875 7.15625 5.46875 7.34375 5.65625L9 7.3125L10.625 5.65625C10.8125 5.46875 11.1562 5.46875 11.3438 5.65625C11.5312 5.84375 11.5312 6.1875 11.3438 6.375L9.6875 8L11.3438 9.65625C11.5312 9.84375 11.5312 10.1875 11.3438 10.375C11.1562 10.5625 10.8125 10.5625 10.625 10.375L9 8.71875L7.34375 10.375C7.15625 10.5625 6.8125 10.5625 6.625 10.375C6.4375 10.
21875 6.4375 9.84375 6.625 9.65625L8.28125 8L6.625 6.375C6.4375 6.1875 6.4375 5.84375 6.625 5.65625Z",fill:a}))};bt.propTypes={width:y().oneOfType([y().string,y().number]),height:y().oneOfType([y().string,y().number]),color:y().string},bt.defaultProps={width:18,height:16};var wt=bt,_t=function(e){var t=e.width,n=e.height,r=e.color,a=void 0===r?"#387C2B":r;return b.default.createElement("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 18 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M9 16C6.125 16 3.5 14.5 2.0625 12C0.625 9.53125 0.625 6.5 2.0625 4C3.5 1.53125 6.125 0 9 0C11.8438 0 14.4688 1.53125 15.9062 4C17.3438 6.5 17.3438 9.53125 15.9062 12C14.4688 14.5 11.8438 16 9 16ZM12.5312 6.53125H12.5C12.8125 6.25 12.8125 5.78125 12.5 5.46875C12.2188 5.1875 11.75 5.1875 11.4688 5.46875L8 8.96875L6.53125 7.5C6.21875 7.1875 5.75 7.1875 5.46875 7.5C5.15625 7.78125 5.15625 8.25 5.46875 8.53125L7.46875 10.5312C7.75 10.8438 8.21875 10.8438 8.53125 10.5312L12.5312 6.53125Z",fill:a}))};_t.propTypes={width:y().oneOfType([y().string,y().number]),height:y().oneOfType([y().string,y().number]),color:y().string},_t.defaultProps={width:18,height:16};var Et,Ct=_t,Nt=r(6361),xt="ComparisonGrid",Rt={role:void 0},St=B(xt),kt=function(e){return St({descendantName:"column",modifiers:e||"text"})};!function(e){e.TEXT="text",e.NUMERIC="numeric"}(Et||(Et={}));var Ot=function(e){var t=e.value.toLocaleString();return b.default.createElement(b.default.Fragment,null,t)};function Pt(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 Lt=function(e){var t=e.headerGroups,n=e.useDefaultColspan,r=e.getHeaderProps,a=e.getColumnProps,o=St({descendantName:"row",modifiers:"header"}),i=St({descendantName:"cell",modifiers:"header"}),l=function(e){var t=e.Header,o=e.accessor,l=e.type,u=e.style,s=e.className,c=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pt(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},!n&&{colSpan:null});return o&&(c.scope="col"),b.default.createElement("th",D({},e.getHeaderProps([c,(null==a?void 0:a(e))||{},(null==r?void 0:r(e))||{}]),{style:u,className:_()(s,kt(l),i)}),function(){return"function"==typeof t?e.render((n=t,function(e){var t=e.column.id;return n({id:t})})):e.render("Header");var n}())};return b.default.createElement(b.default.Fragment,null,t.map((function(e){var t=e.getHeaderGroupProps([Rt]);return b.default.createElement("tr",D({},t,{className:o}),e.headers.map(l))})))},Tt=function(e){var t=e.rows,n=e.getColumnProps,r=e.getCellProps,a=e.getRowProps,o=e.prepareRow,i=function(e){var t,a,o=e.column,i=o.type,l=o.rowHeader,u=o.className,s=o.style,c=o.formatCell,d=o.renderSelectionCell,f=c||function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:Et.TEXT)===Et.NUMERIC?Ot:"Cell"}(i),p=e.render(f),m=null==e||null===(t=e.value)||void 0===t||null===(a=t.props)||void 0===a?void 0:a.header,h=l||m?"th":"td",v=e.getCellProps([Rt,l||m?{scope:"row"}:{},(null==n?void 0:n(o))||{},(null==r?void 0:r(e))||{}]);return b.default.createElement(h,D({},v,{style:s,className:_()(St({descendantName:"cell",modifiers:"body"}),kt(i),l&&St({descendantName:"column",modifiers:"rowHeader"}),u)}),d?e.render(d(p)):p)};return b.default.createElement(b.default.Fragment,null,t.map((function(e){o(e);var t=e.getRowProps([Rt,(null==a?void 0:a(e))||{}]),n=St({className:(null==t?void 0:t.className)||"",descendantName:"row",modifiers:_()("body",e.isSelected?"selected":null)});return b.default.createElement("tr",D({},t,{className:n}),e.cells.map(i))})))},It=function(e){var t=e.ariaDescribedBy,n=e.ariaLabelledBy,r=e.data,a=e.columns,o=e.caption,i=e.className,l=e.useDefaultColspan,u=e.getRowId,s=e.getHeaderProps,c=e.getCellProps,d=e.getColumnProps,f=e.getRowProps,p=(0,b.useRef)(),m=(0,b.useMemo)((function(){return{columns:a,data:r,getRowId:u}}),[r,a]),h=(0,Nt.useTable)(m),v=h.rows,g=h.headerGroups,y=h.getTableProps,w=h.getTableBodyProps,_=h.prepareRow;return b.default.createElement("div",{className:St({descendantName:"wrapper",className:i})},b.default.createElement("div",{className:St({descendantName:"tableWrapper"})},b.default.createElement("table",D({},y(),{"aria-describedby":t,"aria-labelledby":n,className:St({descendantName:"table"})}),o&&b.default.createElement("caption",{className:St({descendantName:"caption"})},o),b.default.createElement("thead",{className:St({descendantName:"tableHeader"})},b.default.createElement(Lt,{headerGroups:g,useDefaultColspan:l,getColumnProps:d,getHeaderProps:s})),b.default.createElement("tbody",D({},w(),{ref:p,className:St({descendantName:"tableBody"})}),b.default.createElement(Tt,{rows:v,columns:a,prepareRow:_,getCellProps:c,getColumnProps:d,getRowProps:f})))))};function Bt(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,a)}function At(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Bt(o,r,a,i,l,"next",e)}function l(e){Bt(o,r,a,i,l,"throw",e)}i(void 0)}))}}It.displayName=xt;var Ft=r(1985),Ht=r.n(Ft),jt=function(){return(jt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};
vendor: 1,239 bytes, line 2
2function Mt(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{u(r.next(e))}catch(e){o(e)}}function l(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}u((r=r.apply(e,t||[])).next())}))}function Dt(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(u){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&l[0]?r.return:l[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,l[1])).done)return a;switch(r=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){o.label=l[1];break}if(6===l[0]&&o.label<a[1]){o.label=a[1],a=l;break}
2if(a&&o.label<a[2]){o.label=a[2],o.ops.push(l);break}a[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],r=0}finally{n=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,u])}}}function zt(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),a=0;for(t=0;t<n;t++)for(var o=arguments[t],i=0,l=o.length;i<l;i++,a++)r[a]=o[i];return r}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError,r(7661),r(2238);var Vt,Gt,Wt="data-rehydratable",Ut=["allowfullscreen","async","autofocus","autoplay","controls","default","defer","disabled","formnovalidate","hidden","itemscope","loop","nomodule","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless"],qt={"accent-height":"accentHeight",acceptcharset:"acceptCharset",accesskey:"accessKey","alignment-baseline":"alignmentBaseline",allowfullscreen:"allowFullScreen",allowreorder:"allowReorder",allowtransparency:"allowTransparency","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autocomplete:"autoComplete",autoplay:"autoPlay",autoreverse:"autoReverse",basefrequency:"baseFrequency","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode","cap-height":"capHeight",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID","clip-path":"clipPath","clip-rule":"clipRule",clippathunits:"clipPathUnits","color-interpolation":"colorInterpolation","color-interpolation-filters":"colorInterpolationFilters","color-profile":"colorProfile","color-rendering":"colorRendering",colspan:"colSpan",contenteditable:"contentEditable",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",contextmenu:"contextMenu",crossorigin:"crossOrigin",datetime:"dateTime",diffuseconstant:"diffuseConstant","dominant-baseline":"dominantBaseline",edgemode:"edgeMode","enable-background":"enableBackground",enctype:"encType",externalresourcesrequired:"externalResourcesRequired","fill-opacity":"fillOpacity","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits","flood-color":"floodColor","flood-opacity":"floodOpacity","font-family":"fontFamily","font-size":"fontSize","font-size-adjust":"fontSizeAdjust","font-stretch":"fontStretch","font-style":"fontStyle","font-variant":"fontVariant","font-weight":"fontWeight",for:"htmlFor",formnovalidate:"formNoValidate",frameborder:"frameBorder","glyph-name":"glyphName","glyph-orientation-horizontal":"glyphOrientationHorizontal","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits","horiz-adv-x":"horizAdvX","horiz-origin-x":"horizOriginX",hreflang:"hrefLang",httpequiv:"httpEquiv","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust","letter-spacing":"letterSpacing","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle","marker-end":"markerEnd","marker-mid":"markerMid","marker-start":"markerStart",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",maxlength:"maxLength",mediagroup:"mediaGroup",novalidate:"noValidate",numoctaves:"numOctaves","overline-position":"overlinePosition","overline-thickness":"overlineThickness","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",refx:"refX",refy:"refY","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",rowspan:"rowSpan","
2shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spellcheck:"spellCheck",spreadmethod:"spreadMethod",srcdoc:"srcDoc",srcset:"srcSet",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles","stop-color":"stopColor","stop-opacity":"stopOpacity","strikethrough-position":"strikethroughPosition","strikethrough-thickness":"strikethroughThickness","stroke-dasharray":"strokeDasharray","stroke-dashoffset":"strokeDashoffset","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","stroke-miterlimit":"strokeMiterlimit","stroke-opacity":"strokeOpacity","stroke-width":"strokeWidth",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tabindex:"tabIndex",tablevalues:"tableValues",targetx:"targetX",targety:"targetY","text-anchor":"textAnchor","text-decoration":"textDecoration","text-rendering":"textRendering",textlength:"textLength","underline-position":"underlinePosition","underline-thickness":"underlineThickness","unicode-bidi":"unicodeBidi","unicode-range":"unicodeRange","units-per-em":"unitsPerEm",usemap:"useMap","v-alphabetic":"vAlphabetic","v-hanging":"vHanging","v-ideographic":"vIdeographic","v-mathematical":"vMathematical","vector-effect":"vectorEffect","vert-adv-y":"vertAdvY","vert-origin-x":"vertOriginX","vert-origin-y":"vertOriginY",viewbox:"viewBox",viewtarget:"viewTarget","word-spacing":"wordSpacing","writing-mode":"writingMode","x-height":"xHeight",xchannelselector:"xChannelSelector","xlink:actuate":"xlinkActuate","xlink:arcrole":"xlinkArcrole","xlink:href":"xlinkHref","xlink:role":"xlinkRole","xlink:show":"xlinkShow","xlink:title":"xlinkTitle","xlink:type":"xlinkType","xml:base":"xmlBase","xml:lang":"xmlLang","xml:space":"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},Xt={input:function(e,t){var n=jt({},t);return void 0!==n.checked&&delete n.checked,void 0!==n.value&&delete n.value,e.checked&&(n.defaultChecked=e.checked),e.value&&(n.defaultValue=e.value),n},option:function(e,t){var n=jt({},t);return void 0!==n.selected&&delete n.selected,n},select:function(e,t){var n=jt({},t);return void 0!==n.value&&delete n.value,e.value&&(n.defaultValue=e.value),n},textarea:function(e,t){var n=jt({},t);return void 0!==n.value&&delete n.value,e.value&&(n.defaultValue=e.value),n}},Kt=function(e,t){return Mt(void 0,void 0,void 0,(function(){var n,r,a,o;return Dt(this,(function(i){switch(i.label){case 0:return n=e.tagName.toLowerCase(),r={},e.hasAttributes()&&("style"in(r=Array.from(e.attributes).map((function(e){var t=e.name,n=e.value;return Ut.includes(t)&&""===n?{name:t,value:!0}:{name:t,value:n}})).reduce((function(e,t){var n,r,a=t.name,o=t.value;return jt(jt({},e),((n={})[(r=a,qt[r.toLowerCase()]||r.toLowerCase())]=o,n))}),{}))&&(r=function(e){return jt(jt({},e),{ref:(t=e.style,function(e){null!==e&&e.setAttribute("style",t)}),style:void 0});var t}(r)),(a=Xt[n])&&(r=a(e,r))),"textarea"!==n&&e.childNodes?[4,Promise.all(Array.from(e.childNodes).map(t))]:[3,2];case 1:return o=i.sent(),[2,b.createElement.apply(b,zt([n,r],o))];case 2:return[2,b.createElement(n,r)]}}))}))},Yt=function(e){return e.data},Zt=function(e,t,n){return Mt(void 0,void 0,void 0,(function(){return Dt(this,(function(r){switch(r.label){case 0:return[4,t(e)];case 1:return[2,r.sent()||Kt(e,n)]}}))}))},Jt=function e(t,n){return Mt(void 0,void 0,void 0,(function(){var r;return Dt(this,(function(a){return r=function(t){return e(t,n)},t.nodeType===Node.TEXT_NODE?[2,Yt(t)]:t.nodeType===Node.ELEMENT_NODE?[2,Zt(t,n,r)]:[2,""]}))}))},$t=function(e,t,n){return r=e,a=Qt(t,n),Mt(void 0,void 0,void 0,(function(){var e;return Dt(this,(function(t){switch(t.label){case 0:return r&&r.childNodes?1===r.childNodes.length?[2,Jt(r.childNodes[0],a)]:[4,Promise.all(Array.from(r.childNodes).map((function(e){return Jt(e,a)})))]:[2,null];case 1:return e=t.sent(),[2,b.default.createElement.apply(b.default,zt([b.default.Fragment,{}],e))]}}))}));var r,a},Qt=function(e,t){return function(n){return n.nodeType===Node.ELEMENT_NODE&&n.hasAttribute(Wt)?en(n,e,t):Promise.resolve(!1)}},en=function(e,t,n){var r=e.getAttribute(Wt);if(!r)throw new TypeError("Rehydrator name is missing from element");var a=t[r];if(!a)throw new TypeError("No rehydrator found for type: "+r);return a(e,(function(e){return $t(e,t,n)}),n.extra)};!function(e){e.UNLOADED="unloaded",e.LOADING="loading",e.LOADED="loaded",e.FAILED="failed"}(Vt||(Vt={})),function(e){e.FETCH_ERROR="Fetch request failed",e.REHYDRATE_ERROR="Rehydration failed"}(Gt||(Gt={}));var tn=function(e){q(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var a=K(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return X(this,n)}}(n);function n(){var e;z(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return N(W(e=t.call.apply(t,[this].concat(a))),"state",{currentLocation:null,loadingState:Vt.UNLOADED,retrievedChildren:null}),N(W(e),"getClassName",B(n.displayName)),N(W(e),"isMounted",!1),N(W(e),"fetchContent",function(){var e=At(Ht().mark((function e(t){var n;return Ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t,{credentials:"same-origin"});case 2:if((n=e.sent).ok){e.next=5;break}throw new Error("Fetch failed for location: ".concat(t));case 5:return e.abrupt("return",n.text());case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),N(W(e),"loadContent",At(Ht().mark((function t(){var n,r;return Ht().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.props.location,e.state.loadingState===Vt.LOADING&&n&&e.isMounted){t.next=4;break}return t.abrupt("return");case 4:return t.prev=4,t.next=7,e.fetchContent(n);case 7:r=t.sent,e.renderAjaxChildren(r),t.next=14;break;case 11:t.prev=11,t.t0=t.catch(4),e.handleError(Gt.FETCH_ERROR,t.t0);case 14:case"end":return t.stop()}}),t,null,[[4,11]])})))),N(W(e),"renderAjaxChildren",function(){var t=At(Ht().mark((function t(n){var r,a,o,i,l,u;return Ht().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.props,a=r.location,o=r.reactFromMarkupOptions,i=r.reactFromMarkupRehydrators,e.isMounted){t.next=3;break}return t.abrupt("return");case 3:return t.prev=3,(l=document.createElement("div")).innerHTML=n,t.next=8,$t(l,i,o);case 8:u=t.sent,e.setState({retrievedChildren:u,currentLocation:a,loadingState:Vt.LOADED},e.handleOnChange),t.next=15;break;case 12:t.prev=12,t.t0=t.catch(3),e.handleError(Gt.REHYDRATE_ERROR,t.t0);case 15:case"end":return t.stop()}}),t,null,[[3,12]])})));return function(e){return t.apply(this,arguments)}}()),N(W(e),"handleOnChange",(function(){e.props.onChange&&e.props.onChange(e.state.loadingState)})),N(W(e),"handleError",(function(t,n){console.error(t,n),e.setState({retrievedChildren:null,currentLocation:e.props.location,loadingState:Vt.FAILED},e.handleOnChange)})),e}
2return G(n,[{key:"componentDidMount",value:function(){var e=At(Ht().mark((function e(){return Ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.isMounted=!0,e.next=3,this.loadContent();case 3:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"componentDidUpdate",value:function(){var e=At(Ht().mark((function e(){return Ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.loadContent();case 2:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"componentWillUnmount",value:function(){this.isMounted=!1}},{key:"render",value:function(){var e=this.state,t=e.loadingState,n=e.retrievedChildren,r=this.props,a=r.children,o=r.failedContent,i=r.loadingLabel,l=r.minHeight,u=t!==Vt.FAILED,s=t===Vt.LOADING,c=this.getClassName({descendantName:"content"});return b.default.createElement("div",{className:this.getClassName(),style:l?{minHeight:"".concat(l/16,"rem")}:{}},s&&b.default.createElement("div",{className:this.getClassName({descendantName:"loader"})},b.default.createElement("div",{className:this.getClassName({descendantName:"loaderLabel",utilities:"hiddenVisually"})},i)),u&&n&&b.default.createElement("div",{className:c},n),u&&!n&&b.default.createElement("div",{className:c},a),o&&t===Vt.FAILED&&b.default.createElement("div",{className:this.getClassName({descendantName:"failed"})},b.default.createElement(_e,{alertState:de.FAILURE},o)))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.location&&t.retrievedChildren?{currentLocation:null,loadingState:Vt.LOADED,retrievedChildren:null}:e.location!==t.currentLocation?{loadingState:Vt.LOADING}:t}}]),n}(b.default.Component);N(tn,"displayName","AjaxContent"),N(tn,"defaultProps",{location:"",failedContent:"Failed to retrieve content",loadingLabel:"Loading",reactFromMarkupRehydrators:{},reactFromMarkupOptions:{extra:{}}});var nn,rn,an,on,ln=tn;function un(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(e){e.CENTER="center",e.LEFT="left",e.RIGHT="right"}(nn||(nn={})),function(e){e.SmallCaps="small-caps",e.XtraSmall="xs",e.Small="s",e.Medium="m",e.Large="l",e.ExtraLarge="xl"}(rn||(rn={})),function(e){e.light="fwLight",e.regular="fwRegular",e.medium="fwMedium",e.bold="fwBold",e.black="fwBlack"}(an||(an={})),function(e){e.ALERT="alert",e.STATUS="status"}(on||(on={}));var sn=function e(t){var n,r=t.align,a=t.children,o=t.rank,i=t.boldOrange,l=t.type,u=t.id,s=t.className,c=t.boldType,d=t.role,f=t.presentational,p=B(e.displayName),m=!f&&Boolean(o&&["1","2","3","4","5","6"].includes(o.toString())),h=m?"h".concat(o):"span",v=o?Number(o):2,g=m||d||f?{role:d}:{role:"heading","aria-level":v};return b.default.createElement(h,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?un(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):un(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:p({className:s,modifiers:_()((n={},N(n,l,!0),N(n,r,r!==nn.LEFT),N(n,"boldOrange",i),N(n,c,Boolean(c)),n)),utilities:_()({typographySmallCaps:l===rn.SmallCaps})}),id:u},g),a)};sn.displayName="Heading",sn.defaultProps={align:nn.LEFT};var cn=sn,dn=(0,b.createContext)(!1),fn=(dn.Consumer,dn.Provider);var pn=function(e){q(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var a=K(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return X(this,n)}}(n);function n(){var e;z(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return N(W(e=t.call.apply(t,[this].concat(a))),"getClassName",B(n.displayName)),N(W(e),"titleRef",b.default.createRef()),N(W(e),"contentRef",b.default.createRef()),N(W(e),"dialogRef",b.default.createRef()),N(W(e),"closeRef",b.default.createRef()),N(W(e),"appRoot",document.getElementById(e.props.appRootId||"root")),N(W(e),"modalRoot",function(){var e="modalRoot",t=document.getElementById(e);if(!t){var n=document.createElement("div");return n.id=e,document.body.appendChild(n),n}return t}()),N(W(e),"el",document.createElement("div")),N(W(e),"lastScrollRatio",void 0),N(W(e),"lastFocusEl",void 0),N(W(e),"ref",void 0),N(W(e),"activeElementBeforeOpenModal",document.activeElement),N(W(e),"handleClose",(function(t){t&&t.stopPropagation(),e.props.closeThisComponent()})),N(W(e),"handleKeydown",(function(t){27!==t.keyCode&&"escape"!==t.key||e.handleClose()})),N(W(e),"handleOverlayClick",(function(t){t.target===e.ref.current&&e.handleClose(t)})),N(W(e),"handleFocus",(function(t){if(e.dialogRef.current)if(e.dialogRef.current.contains(t.target))e.lastFocusEl={current:t.target};else{var n=function(e){var t=["button:not([disabled])","[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","[tabindex]:not
2([tabindex='-1'])"].join(", ");return e.querySelectorAll(t)}(e.dialogRef.current);n.length||!e.contentRef.current?(e.lastFocusEl.current===n[0]?n[n.length-1].focus():n[0].focus(),e.lastFocusEl={current:document.activeElement}):e.contentRef.current.focus()}})),e}return G(n,[{key:"componentDidMount",value:function(){var e;this.modalRoot.appendChild(this.el),this.appRoot.setAttribute("aria-hidden","true");var t=window.scrollY||window.pageYOffset||0;this.lastScrollRatio=t/document.body.scrollHeight,null!==(e=this.props)&&void 0!==e&&e.disableScrollLocked||document.body.classList.add("is-scrollLocked"),document.addEventListener("focus",this.handleFocus,!0),this.props.uncloseable||document.addEventListener("keydown",this.handleKeydown,!1),this.lastFocusEl=this.contentRef,this.contentRef.current&&this.contentRef.current.focus(),this.titleRef.current&&!this.props.isCloseButtonHidden&&this.titleRef.current.focus(),n.mountedModals.forEach((function(e){return e.handleClose()})),n.mountedModals.push(this)}},{key:"componentWillUnmount",value:function(){var e=this;this.modalRoot.removeChild(this.el),this.appRoot.removeAttribute("aria-hidden"),document.body.classList.remove("is-scrollLocked"),document.removeEventListener("focus",this.handleFocus,!0),this.props.uncloseable||document.removeEventListener("keydown",this.handleKeydown,!1);var t=this.lastScrollRatio*document.body.scrollHeight;window.scroll(0,t),n.mountedModals=n.mountedModals.filter((function(t){return t!==e})),this.activeElementBeforeOpenModal&&this.activeElementBeforeOpenModal.focus()}},{key:"render",value:function(){var e=this,t={};this.props.ariaLabel&&!this.props.headerId?t={"aria-label":this.props.ariaLabel}:this.props.headerId&&(t={"aria-labelledby":this.props.headerId});var n={};return this.props.closeButtonAriaLabel&&(n["aria-label"]=this.props.closeButtonAriaLabel),this.props.headerId&&(n["aria-describedby"]=this.props.headerId),b.default.createPortal(b.default.createElement(fn,{value:!0},b.default.createElement("div",{className:_()(this.getClassName(),this.props.className),onClick:this.props.uncloseable?void 0:this.handleOverlayClick,ref:function(t){t&&(e.ref={current:t})}},b.default.createElement("div",D({},t,{"aria-modal":!0,className:_()(this.getClassName({descendantName:"dialog",modifiers:this.props.animation})),role:"dialog",ref:this.dialogRef}),!this.props.uncloseable&&b.default.createElement("div",{className:this.getClassName({descendantName:"header"})},b.default.createElement("div",{className:this.getClassName({descendantName:"headerOuter"})},this.props.headerTitle&&b.default.createElement("div",{className:this.getClassName({descendantName:"headerTitle"})},b.default.createElement("div",{className:this.getClassName({descendantName:"headerTitleCenter"}),ref:this.titleRef,tabIndex:-1},b.default.createElement(cn,{id:"Title",type:rn.Small,rank:he.Second},b.default.createElement("strong",null,this.props.headerTitle)))),!this.props.isCloseButtonHidden&&b.default.createElement("div",{className:this.getClassName({descendantName:"headerInner"})},b.default.createElement("button",D({},n,{className:this.getClassName({descendantName:"button"}),onClick:this.handleClose,ref:this.closeRef,"aria-label":"Close dialog"}),this.props.closeLabel&&b.default.createElement("span",{className:this.getClassName({descendantName:"buttonLabel",utilities:"typographySmallCaps"})},this.props.closeLabel),b.default.createElement("span",{className:this.getClassName({descendantName:"buttonCross"})},b.default.createElement(ot,null)))))),b.default.createElement("div",{className:this.getClassName({descendantName:"content"}),ref:this.contentRef},b.default.createElement("div",{className:this.getClassName({descendantName:"contentOuter"})},b.default.createElement("div",{className:this.getClassName({descendantName:"contentInner"})},this.props.children)))),b.default.createElement("div",{tabIndex:0}))),this.el)}}]),n}(b.default.Component);N(pn,"displayName","Modal"),N(pn,"mountedModals",[]);var mn,hn,vn=pn;!function(e){e.LINK="link",e.BUTTON="button",e.SUBMIT="submit"}(mn||(mn={})),function(e){e.DIV="div",e.SPAN="span",e.BUTTON="button",e.LINK="a"}(hn||(hn={}));var gn=function(e){q(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var a=K(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return X(this,n)}}(n);function n(){var e;z(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return N(W(e=t.call.apply(t,[this].concat(a))),"getClassName",B(n.displayName)),N(W(e),"state",{isModalOpen:!1}),N(W(e),"handleCloseModal",(function(){e.setState({isModalOpen:!1})})),N(W(e),"handleOnClick",(function(t){t.preventDefault(),e.props.onClick?e.props.onClick():e.setState({isModalOpen:!0})})),e}return G(n,[{key:"render",value:function(){var e,t=this.props,n=t.contentLocation,r=t.disabled,a=t.download,o=t.fallbackElementTag,i=t.href,l=t.kind,u=t.modalLabel,s=t.newWindow,c=t.onChange,d=t.onClick,f=t.reactFromMarkupOptions,p=t.reactFromMarkupRehydrators,m=t.children,h=t.innerRef,v=t.title,g=void 0===v?"":v,y=t.id,w=t.className,_=ee(t,["contentLocation","disabled","download","fallbackElementTag","href","kind","modalLabel","newWindow","onChange","onClick","reactFromMarkupOptions","reactFromMarkupRehydrators","children","innerRef","title","id","className"]),E="".concat(this.getClassName()," ").concat(w||""),C={title:g};return h&&(C.ref=h),l===mn.LINK?(e=o,i&&(e=hn.LINK,C.href=i,C.download=a),s&&(C.target="_blank",C.rel="noopener")):(e=hn.BUTTON,C.type=l,C.disabled=r),Boolean(n)&&(C["data-content-location"]=n,C["data-modal-label"]=u,C["data-content-modal"]=!0),y&&(C.id=y),(n||d)&&(C.onClick=this.handleOnClick),b.default.createElement(e,D({className:E},C,_),m,this.state.isModalOpen&&b.default.createElement(vn,{ariaLabel:u,closeLabel:"Close",closeThisComponent:this.handleCloseModal},b.default.createElement(ln,{failedContent:"Failed to retrieve content",loadingLabel:"Loading",location:n,onChange:c,reactFromMarkupOptions:f,reactFromMarkupRehydrators:p})))}}]),n}(b.default.Component);N(gn,"displayName","Anchor"),N(gn,"defaultProps",{kind:mn.LINK,fallbackElementTag:hn.SPAN});var yn,bn,wn,_n=gn;!function(e){e.PRIMARY="primary",e.SECONDARY="secondary",e.TERTIARY="tertiary"}(yn||(yn={})),function(e){e.SMALL="small",e.MEDIUM="medium"}(bn||(bn={})),function(e){e.LEFT="left",e.RIGHT="right"}(wn||(wn={}));var En=function(e){q(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var a=K(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return X(this,n)}}(n);function n(){var e;z(this,n);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return N(W(e=t.call.apply(t,[this].concat(a))),"getClassName",B(n.displayName)),e}return G(n,[{key:"render",value:function(){var e=this.props,t=e.active,n=e.block,r=e.children,a=e.color,o=e.contentLocation,i=e.disabled,l=e.href,u=e.icon,s=e.iconOnly,c=e.iconPosition,d=e.kind,f=e.loading,p=e.modalL
2abel,m=e.newWindow,h=e.onClick,v=e.shape,g=e.size,y=e.innerRef,w=e.title,E=e.id,C=e.role,N=e.ariaSelected,x=e.ariaControls,R=e.tabIndex,S=e.onKeyDown,k=ee(e,["active","block","children","color","contentLocation","disabled","href","icon","iconOnly","iconPosition","kind","loading","modalLabel","newWindow","onClick","shape","size","innerRef","title","id","role","ariaSelected","ariaControls","tabIndex","onKeyDown"]),O={className:this.getClassName({descendantName:"body",utilities:Boolean(u)&&s&&"hiddenVisually"})},P=c&&c===wn.LEFT?"left":"right",L={className:this.getClassName({descendantName:"icon",modifiers:P})};return b.default.createElement(_n,D({href:l,id:E,role:C,"aria-selected":N,"aria-controls":x,tabIndex:R,className:this.getClassName({modifiers:_()(a,n?"block":null,u&&s?"iconOnly":null,g,v),states:_()({active:t,disabled:i,loading:f})}),contentLocation:o,disabled:i,modalLabel:p,newWindow:m,onClick:h,onKeyDown:S,kind:d,innerRef:y,title:w},k),u&&P===wn.LEFT&&b.default.createElement("span",L,u),b.default.createElement("span",O,r),u&&P===wn.RIGHT&&b.default.createElement("span",L,u))}}]),n}(b.default.Component);N(En,"displayName","Button");var Cn=En,Nn=function(e){var t=e.size;return b.default.createElement("svg",{width:t,height:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M10 0H15C15.5312 0 16 0.46875 16 1V6C16 6.5625 15.5312 7 15 7C14.4375 7 14 6.5625 14 6V3.4375L7.6875 9.71875C7.3125 10.125 6.65625 10.125 6.28125 9.71875C5.875 9.34375 5.875 8.6875 6.28125 8.3125L12.5625 2H10C9.4375 2 9 1.5625 9 1C9 0.46875 9.4375 0 10 0ZM2.5 1H6C6.53125 1 7 1.46875 7 2C7 2.5625 6.53125 3 6 3H2.5C2.21875 3 2 3.25 2 3.5V13.5C2 13.7812 2.21875 14 2.5 14H12.5C12.75 14 13 13.7812 13 13.5V10C13 9.46875 13.4375 9 14 9C14.5312 9 15 9.46875 15 10V13.5C15 14.9062 13.875 16 12.5 16H2.5C1.09375 16 0 14.9062 0 13.5V3.5C0 2.125 1.09375 1 2.5 1Z",fill:"currentColor"}))},xn={1:{titleColumnSize:6,contentColumnSize:6,oneColumnSizePercent:8.3,totalSize:12},2:{titleColumnSize:4,contentColumnSize:4,oneColumnSizePercent:8.3,totalSize:12},3:{titleColumnSize:4,contentColumnSize:2.6,oneColumnSizePercent:8.3,totalSize:12},4:{titleColumnSize:4,contentColumnSize:2,oneColumnSizePercent:8.3,totalSize:12}},Rn=function e(t){var n,r=t.planName,a=t.price,o=t.priceInfo,i=t.description,l=t.actionLabel,u=t.ariaLabel,s=t.target,c=t.actionButtonProps,d=B(e.displayName),f=ce((0,b.useState)(),2),p=f[0],m=f[1],h=(0,b.useRef)();return(0,b.useLayoutEffect)((function(){var e,t;if(null!=h&&h.current&&0!==(null==h||null===(e=h.current)||void 0===e||null===(t=e.getBoundingClientRect())||void 0===t?void 0:t.height)){var n,r=h.current.closest(".emcmUi-PlanComparisonTable"),a=r.querySelectorAll(".emcmUi-PlanComparisonTablePlanInfo-planName"),o=r.querySelectorAll(".emcmUi-PlanComparisonTableFeatureCell:not(.emcmUi-PlanComparisonTableFeatureCell-featureName)");if(window.innerWidth>=768){var i=Array.from(r.querySelectorAll("thead tr:first-child th")),l=i.length,u=i.shift(),s=xn[l-1];u.style.width="".concat(Math.round((null==s?void 0:s.titleColumnSize)*(null==s?void 0:s.oneColumnSizePercent)),"%"),i.forEach((function(e){var t="".concat(Math.round((null==s?void 0:s.contentColumnSize)*(null==s?void 0:s.oneColumnSizePercent)),"%");e.style.width=t}))}o.forEach((function(e){e.childNodes[0].style.removeProperty("min-height");var t=e.parentNode.parentNode.clientHeight;e.childNodes[0].style.minHeight="".concat(t,"px")}));var c=0;a.forEach((function(e){c=Math.max(c,e.clientHeight)})),a.forEach((function(e){e.style.height="".concat(c,"px")})),m(null==h||null===(n=h.current)||void 0===n?void 0:n.clientHeight)}}),[null==h||null===(n=h.current)||void 0===n?void 0:n.clientHeight]),b.default.createElement("div",{className:d(),style:{marginBottom:p}},b.default.createElement("div",{className:d({descendantName:"plan-name"})},r||" "),b.default.createElement("div",{className:d({descendantName:"price"})},a,o&&b.default.createElement("p",{className:d({descendantName:"info"})},o)),i&&b.default.createElement("p",{className:d({descendantName:"text"})}
2,i),l&&b.default.createElement("div",{className:d({descendantName:"btn"}),ref:h},b.default.createElement(Cn,D({block:!0,color:yn.SECONDARY,kind:mn.LINK,newWindow:"_blank"===s,ariaLabel:u},c),b.default.createElement("span",null,l,s&&"_blank"===s&&b.default.createElement(Nn,{size:16})))))};Rn.displayName="PlanComparisonTable.PlanInfo",Rn.propTypes={planName:y().string.isRequired,price:y().string.isRequired,priceInfo:y().string,description:y().string,actionLabel:y().string,ariaLabel:y().string,target:y().string,actionButtonProps:y().object},Rn.defaultProps={actionButtonProps:{href:"#"},target:"_self"};var Sn=Rn,kn=function e(t){var n,r=t.title,a=t.content,o=t.dropdownProps,i=t.dropdownId,l="".concat(function(){for(var e="",t=0;t<10;t++)e+="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(52*Math.random())];return e}(),"-select"),u=B(e.displayName);return b.default.createElement("div",{className:u(),id:"column-header"},b.default.createElement("div",{className:u({descendantName:"title"})},r),a&&b.default.createElement("div",{className:u({descendantName:"content"})},a),(null==o||null===(n=o.options)||void 0===n?void 0:n.length)>0&&b.default.createElement("div",{className:u({descendantName:"dropdown"})},b.default.createElement(Re,D({id:i||l,name:"select",optionalText:"",placeholder:!1},o))))};kn.propTypes={title:y().string,content:y().string,dropdownProps:y().any,dropdownId:y().string},kn.displayName="PlanComparisonTable.columnHeader";var On,Pn=kn,Ln=ae("UiPlus",!1)((function(){return b.default.createElement("g",{className:"nc-icon-wrapper",fill:"none",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"2"},b.default.createElement("path",{d:"M12 7v10M17 12H7"}))}));!function(e){e.PRIMARY="primary",e.SECONDARY="secondary",e.INVERSE="inverse",e.ACTION="action",e.INLINE="inline"}(On||(On={}));var Tn=function(){return b.default.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M11.1665 0H16.1665C16.4165 0 16.6665 0.25 16.6665 0.5V5.5C16.6665 5.78125 16.4165 6 16.1665 6C15.8853 6 15.6665 5.78125 15.6665 5.5V1.71875L8.01025 9.375C7.82275 9.5625 7.479 9.5625 7.2915 9.375C7.104 9.1875 7.104 8.84375 7.2915 8.65625L14.9478 1H11.1665C10.8853 1 10.6665 0.78125 10.6665 0.5C10.6665 0.25 10.8853 0 11.1665 0ZM2.6665 2H7.1665C7.4165 2 7.6665 2.25 7.6665 2.5C7.6665 2.78125 7.4165 3 7.1665 3H2.6665C2.104 3 1.6665 3.46875 1.6665 4V14C1.6665 14.5625 2.104 15 2.6665 15H12.6665C13.1978 15 13.6665 14.5625 13.6665 14V9.5C13.6665 9.25 13.8853 9 14.1665 9C14.4165 9 14.6665 9.25 14.6665 9.5V14C14.6665 15.125 13.7603 16 12.6665 16H2.6665C1.5415 16 0.666504 15.125 0.666504 14V4C0.666504 2.90625 1.5415 2 2.6665 2Z",fill:"#006FC4"}))},In=function e(t){var n=t.ariaLabel,r=t.block,a=t.children,o=t.contentLocation,i=t.download,l=t.href,u=t.iconLeft,s=t.iconRight,c=t.modalLabel,d=t.newWindow,f=t.type,p=t.innerRef,m=B(e.displayName),h=u||s||"inline"!==f,v=s||u;switch(f){case On.ACTION:v=b.default.createElement(Ln,null);break;case On.PRIMARY:case On.SECONDARY:v=b.default.createElement(Tn,null)}var g=function(e){return b.default.createElement(_n,{className:m({modifiers:_()({block:r,iconLeft:u,withIcon:h},f)}),contentLocation:o,download:i,fallbackElementTag:hn.SPAN,href:l,innerRef:p,modalLabel:c,newWindow:d,"aria-label":n},e.children)};return h?b.default.createElement(g,null,u&&v&&b.default.createElement("span",{className:m({descendantName:"icon"})},v),b.default.createElement("span",{className:m({descendantName:"inner"})},a),!u&&v&&b.default.createElement("span",{className:m({descendantName:"icon"})},v)):b.default.createElement(g,null,a)};In.defaultProps={type:"inline"},In.displayName="Link",In.types=On;var Bn=In,An=function e(t){var n=t.href,r=t.text,a=t.icon,o=B(e.displayName);return b.default.createElement("li",{className:o({modifiers:_()(a?"icon":null)})},n?b.default.createElement(Bn,{href:n,iconLeft:a},r):b.default.createElement("span",{className:o({descendantName:"inner"})},a?b.default.createElement("span",{className:o({descendantName:"icon"})}
2,a):null,b.default.createElement("span",{className:o({descendantName:"text"})},r)))};An.displayName="ListItem";var Fn,Hn,jn=An;!function(e){e.DECIMAL="decimal",e.LOWER_ALPHA="lower-alpha",e.UPPER_ALPHA="upper-alpha"}(Fn||(Fn={})),function(e){e.CIRCLE="circle",e.DISC="disc",e.NONE="none",e.SQUARE="square"}(Hn||(Hn={}));var Mn=function(e,t){return Object.keys(e).find((function(n){return e[n]===t}))},Dn="ORDERED_STYLE",zn="UNORDERED_STYLE",Vn=function e(t){var n,r=t.children,a=t.listStyle,o=B(e.displayName),i={style:{listStyleType:a},className:o({descendantName:"items"})},l=Mn(Fn,n=a)?Dn:Mn(Hn,n)?zn:null;if(null===l)throw new Error("listStyle is not valid, see ListTypes.ts for options");return b.default.createElement("div",{className:o()},l===Dn&&b.default.createElement("ol",i,r),l===zn&&b.default.createElement("ul",i,r))};Vn.defaultProps={listStyle:"disc"},Vn.displayName="List",Vn.Item=jn;var Gn=Vn,Wn=function(e){var t=e.size,n=e.color,r=void 0===n?"#006FC4":n;return b.default.createElement("svg",{width:t,height:t,"aria-hidden":"true",viewBox:"0 0 18 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M9 16C6.125 16 3.5 14.5 2.0625 12C0.625 9.53125 0.625 6.5 2.0625 4C3.5 1.53125 6.125 0 9 0C11.8438 0 14.4688 1.53125 15.9062 4C17.3438 6.5 17.3438 9.53125 15.9062 12C14.4688 14.5 11.8438 16 9 16ZM7.75 10.5C7.3125 10.5 7 10.8438 7 11.25C7 11.6875 7.3125 12 7.75 12H10.25C10.6562 12 11 11.6875 11 11.25C11 10.8438 10.6562 10.5 10.25 10.5H10V7.75C10 7.34375 9.65625 7 9.25 7H7.75C7.3125 7 7 7.34375 7 7.75C7 8.1875 7.3125 8.5 7.75 8.5H8.5V10.5H7.75ZM9 4C8.4375 4 8 4.46875 8 5C8 5.5625 8.4375 6 9 6C9.53125 6 10 5.5625 10 5C10 4.46875 9.53125 4 9 4Z",fill:r}))};Wn.propTypes={size:y().oneOfType([y().string,y().number]),color:y().string},Wn.defaultProps={size:18};var Un=Wn,qn=function e(t){var n=t.name,r=t.listOptions,a=t.modal,o=B(e.displayName),i=ce((0,b.useState)(!1),2),l=i[0],u=i[1],s=ce((0,b.useState)(),2),c=s[0],d=s[1],f=function(e){d(e),u(!0)};return b.default.createElement("div",{className:"".concat(o()," ").concat((null==r?void 0:r.length)>0?o({descendantName:"featureName"}):"")},null!=r&&r.length?b.default.createElement("div",{className:o({descendantName:"name"})},n):b.default.createElement(Cn,{kind:mn.BUTTON,onClick:function(){return f(a)},icon:b.default.createElement(Un,null),iconPosition:wn.RIGHT,"aria-label":n,"aria-expanded":l},n),(null==r?void 0:r.length)>0&&b.default.createElement(Gn,null,r.map((function(e){return b.default.createElement("li",null,b.default.createElement(Cn,{kind:mn.BUTTON,onClick:function(){return f(e.modal)},"aria-label":e.text},e.text))}))),l&&c&&b.default.createElement(vn,{closeLabel:"",headerId:null==c?void 0:c.title,headerTitle:null==c?void 0:c.title,className:o({descendantName:"modal"}),closeThisComponent:function(){u(!1),null!=c&&c.onClose&&c.onClose()},isCloseButtonHidden:null==c?void 0:c.isCloseButtonHidden,disableScrollLocked:!(null!=c&&c.disableScrollLocked)},(null==c?void 0:c.subTitle)&&b.default.createElement("div",{className:o({descendantName:"subtitle"})},null==c?void 0:c.subTitle),b.default.createElement("div",{className:o({descendantName:"content"})},null==c?void 0:c.content),((null==c?void 0:c.cancelBtnLabel)||(null==c?void 0:c.okBtnLabel))&&b.default.createElement("div",{className:o({descendantName:"modal-footer"})},(null==c?void 0:c.cancelBtnLabel)&&b.default.createElement("a",{href:c.cancelBtnLink,target:c.cancelBtnTarget,"aria-label":c.cancelBtnAriaLabel,className:o({descendantName:"modal-secondary-link"}),onClick:function(){u(!1),null!=c&&c.onPressCancelBtn&&c.onPressCancelBtn()},tabIndex:0},b.default.createElement(Cn,{color:"secondary",kind:mn.BUTTON,tabIndex:-1},b.default.createElement("span",null,null==c?void 0:c.cancelBtnLabel,(null==c?void 0:c.cancelBtnTarget)&&"_blank"===c.cancelBtnTarget&&b.default.createElement(Nn,{size:16})))),(null==c?void 0:c.okBtnLabel)&&b.default.createElement("a",{href:c.okBtnLink,target:c.okBtnTarget,"aria-label":c.okBtnAriaLabel,className:o({descendantName:"modal-primary-link"}),onClick:function(){u(!1),null!=c&&c.onPressOkBtn&&c.onPressOkBtn()},tabIndex:0},b.default.createElement(Cn,{color:"primary",kind:mn.BUTTON,tabIndex:-1},b.default.createElement("span",null,null==c?void 0:c.okBtnLabel,(null==c?void 0:c.okBtnTarget)&&"_blank"===c.okBtnTarget&&b.default.createElement(Nn,{size:16})))))))};qn.displayName="PlanComparisonTable.FeatureCell",qn.propTypes={name:y().string,listOptions:y().arrayOf(y().shape({href:y().string,text:y().string}
2)),showInfoIcon:y().bool,modal:y().shape({title:y().string,subTitle:y().string,content:y().string,okBtnLabel:y().string,okBtnLink:y().string,okBtnTarget:y().string,okBtnAriaLabel:y().string,cancelBtnLabel:y().string,cancelBtnLink:y().string,cancelBtnTarget:y().string,cancelBtnAriaLabel:y().string,isCloseButtonHidden:y().bool,onPressOkBtn:y().func,onPressCancelBtn:y().func,onClose:y().func})};var Xn=qn,Kn=function e(t){var n=t.headerLabel,r=t.labelP1,a=t.labelP2,o=B(e.displayName);return b.default.createElement("div",{className:o()},b.default.createElement("div",{className:o({descendantName:"title"})},n),b.default.createElement("div",{className:o({descendantName:"column-container"})},b.default.createElement("div",{className:o({descendantName:"column"})},r),b.default.createElement("div",{className:o({descendantName:"column"})},a)))};Kn.displayName="PlanComparisonTable.MobileHeaderRow",Kn.propTypes={headerLabel:y().string,labelP1:y().string,labelP2:y().string};var Yn=Kn;function Zn(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 Jn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zn(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $n=function(e){q(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var a=K(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return X(this,n)}}(n);function n(e){var r;return z(this,n),N(W(r=t.call(this,e)),"handleWindowResize",(function(){window&&window.innerWidth&&r.setState((function(e){return Jn(Jn({},e),{},{isMobile:document.documentElement.clientWidth<r.mobileScreenBreakpoint})}))})),N(W(r),"handleScroll",(function(){var e=r.tableRef.current.querySelector("#column-header").getBoundingClientRect(),t=e.height,n=e.top,a=r.tableRef.current.querySelector("thead tr[class*=ComparisonGrid-row--header]:first-child").getBoundingClientRect();Math.abs(n)>t&&!r.state.isScrolled&&n<0?r.setState((function(e){return Jn(Jn({},e),{},{isScrolled:!0})})):Math.abs(n)<t&&r.state.isScrolled&&r.setState((function(e){return Jn(Jn({},e),{},{isScrolled:!1})})),r.setState((function(e){return Jn(Jn({},e),{},{showShadow:a.top<=0&&r.props.stickyHeader})}))})),r.state={isMobile:!1,isScrolled:!1,compareP1:0,compareP2:1,isVisible:!0,showShadow:!1},r.tableRef=b.default.createRef(),r.observer=new MutationObserver((function(){r.tableRef.current.clientHeight&&!r.state.isVisible?r.setState((function(e){return Jn(Jn({},e),{},{isVisible:!0})})):!r.tableRef.current.clientHeight&&r.state.isVisible&&r.setState((function(e){return Jn(Jn({},e),{},{isVisible:!1})}))})),r.mobileScreenBreakpoint=768,r.getClassName=B(n.displayName),r}return G(n,[{key:"componentDidMount",value:function(){this.handleWindowResize(),this.tableRef.current.clientHeight||this.setState((function(e){return Jn(Jn({},e),{},{isVisible:!1})}));var e=this.tableRef.current.closest(".emcmUi-TabsPanel");e&&this.observer.observe(e,{attributes:!0}),window.addEventListener("scroll",this.handleScroll,{passive:!0}),window&&window.addEventListener("resize",this.handleWindowResize)}},{key:"componentWillUnmount",value:function(){window&&window.removeEventListener("resize",this.handleWindowResize),window.removeEventListener("scroll",this.handleScroll),this.observer.disconnect()}},{key:"onSelectPlan1ToCompare",value:function(e){this.setState({compareP1:Number(e.value)})}},{key:"onSelectPlan2ToCompare",value:function(e){this.setState({compareP2:Number(e.value)})}},{key:"getSelectControl",value:function(e){var t=this,n=this.props.products,r=void 0===n?[]:n,a=this.state,o=a.compareP1,i=a.compareP2,l=r.map((function(e,t){return{value:String(t),label:null==e?void 0:e.name}}));return b.default.createElement("div",{className:this.getClassName({descendantName:"select-plan"})},b.default.createElement(Re,{id:"select-plan-".concat(e),name:"select-plan-".concat(e),labelText:"",optionalText:"",options:l,onChange:function(n){return"P1"===e?t.onSelectPlan1ToCompare(n):t.onSelectPlan2ToCompare(n)},value:"P1"===e?l[o].value:l[i].value}))}},{key:"getPlanHeader",value:function(e,t){var n=this,r=this.props.products,a=void 0===r?[]:r,o=this.state.isMobile,i=o?t:e.productId;return{id:i,columns:[{Header:"",accessor:i,cellProps:o?{colSpan:"P1"===t?"2":"1"}:{}}],Header:function(){return b.default.createElement("div",{className:n.getClassName({descendantName:"plan-container"})},o&&a.length>2&&n.getSelectControl(t),b.default.createElement(Sn,{planName:e.n
2ame,price:e.price,priceInfo:e.priceInfo,description:e.description,actionLabel:e.actionLabel,ariaLabel:e.ariaLabel,target:e.target,actionButtonProps:e.actionButtonProps}))}}}},{key:"getColumns",value:function(){var e=this,t=this.props,n=t.products,r=void 0===n?[]:n,a=t.firstColumnHeader,o=void 0===a?{}:a,i=t.dropdownId,l=[],u=Jn(Jn({},o),{},{id:i});return l.push({id:"colFeatures",Header:function(){return b.default.createElement(Pn,u)||""},columns:[{Header:"",accessor:"colFeatures"}]}),r.forEach((function(t){l.push(e.getPlanHeader(t))})),l}},{key:"getData",value:function(){var e=this,t=[];return this.props.bodyData.forEach((function(n){var r,a=n.rowHeader,o=void 0!==a&&a,i=n.featureCell,l=n.cells,u={};l.forEach((function(e,t){o?0===t?r=b.default.createElement("div",{header:o},null==e?void 0:e.content):u[t]=b.default.createElement("div",{header:o},null==e?void 0:e.content):(r=b.default.createElement("div",{header:!0},b.default.createElement(Xn,{name:i.name,listOptions:i.listOptions,showInfoIcon:i.showInfoIcon,modal:i.modal})),u[t+1]=b.default.createElement("div",null,!0===(null==e?void 0:e.included)&&b.default.createElement(Ct,{height:18}),!1===(null==e?void 0:e.included)&&b.default.createElement(wt,{height:18}),b.default.createElement("p",null,null==e?void 0:e.content)))})),t.push(Jn({colFeatures:r,rowProps:{className:o&&e.getClassName({descendantName:"header-row"})}},u))})),t}},{key:"getMobilecolumns",value:function(){var e=this.props.products,t=void 0===e?[]:e,n=this.state,r=n.compareP1,a=n.compareP2,o=[];return o.push(this.getPlanHeader(t[r],"P1")),t[a]&&o.push(this.getPlanHeader(t[a],"P2")),o}},{key:"getMobileData",value:function(){var e=this,t=this.state,n=t.compareP1,r=t.compareP2,a=[];return this.props.bodyData.forEach((function(t){var o,i,l,u,s=t.rowHeader,c=void 0!==s&&s,d=t.featureCell,f=t.cells;c?(o=b.default.createElement("div",{header:c},b.default.createElement(Yn,{headerLabel:null===(i=f[0])||void 0===i?void 0:i.content,labelP1:null===(l=f[n+1])||void 0===l?void 0:l.content,labelP2:null===(u=f[r+1])||void 0===u?void 0:u.content})),a.push({P1:o,rowProps:{className:e.getClassName({descendantName:"header-row"})},cellProps:{colSpan:2}})):(o=b.default.createElement("div",{header:!0},b.default.createElement(Xn,{name:d.name,listOptions:d.listOptions,showInfoIcon:d.showInfoIcon,modal:d.modal})),a.push({P1:o,rowProps:{className:e.getClassName({descendantName:"feature-row"})},cellProps:{colSpan:2,scope:"row"}}),a.push({P1:e.renderFeatureCell(f[n]),P2:e.renderFeatureCell(f[r])}))})),a}},{key:"renderMobileRowHeader",value:function(){var e,t,n=this.props,r=n.products,a=void 0===r?[]:r,o=n.firstColumnHeader,i=this.state,l=i.compareP1,u=i.compareP2;return b.default.createElement(Yn,{headerLabel:null==o?void 0:o.headerLabel,labelP1:null===(e=a[l])||void 0===e?void 0:e.headerLabel,labelP2:null===(t=a[u])||void 0===t?void 0:t.headerLabel})}},{key:"renderFeatureCell",value:function(e){return b.default.createElement("div",null,!0===(null==e?void 0:e.included)&&b.default.createElement(Ct,{height:18}),!1===(null==e?void 0:e.included)&&b.default.createElement(wt,{height:18}),b.default.createElement("p",null,null==e?void 0:e.content))}},{key:"render",value:function(){var e=this.props,t=e.stickyHeader,n=e.products,r=void 0===n?[]:n,a=e.firstColumnHeader,o=e.ariaLabelledByText,i=this.state,l=i.isMobile,u=i.isScrolled,s=i.isVisible,c=i.dropdownId,d=i.showShadow,f=l?this.getMobilecolumns():this.getColumns(),p=l?this.getMobileData():this.getData(),m=Jn(Jn({},a),{},{dropdownId:c}),h=b.default.createElement(Pn,m);return b.default.createElement("div",{className:this.getClassName({states:_()({stickyHeader:t,oneProd:1===r.length,colSize:!l&&r.length>1,mobile:l,scrolled:u,notVisible:!s,showShadow:d})}),ref:this.tableRef},b.default.createElement(It,{caption:l?h:null,columns:f,data:p,useDefaultColspan:!0,getHeaderProps:function(e){return null==e?void 0:e.cellProps},getRowProps:function(e){var t;return null==e||null===(t=e.original)||void 0===t?void 0:t.rowProps},getCellProps:function(e){var t,n;return null==e||null===(t=e.row)||void 0===t||null===(n=t.original)||void 0===n?void 0:n.cellProps},ariaLabelledBy:o||"Comparison Table Header"}))}}]),n}(b.Component);N($n,"displayName","PlanComparisonTable"),N($n,"propTypes",{stickyHeader:y().bool,firstColumnHeader:y().shape({title:y().string,content:y().string,dropdownProps:y().shape({labelText:y().string,instructionalText:y().string,options:y().arrayOf(y().shape({label:y().string,value:y().string})),onChange:y().func})}),products:y().arrayOf(y().shape({productId:y().string,name:y().string,price:y().string,description:y().string,actionLabel:y().string,ariaLabel:y().string,target:y().string,actionButtonProps:y().any})),bodyData:y().arrayOf(y().shape({rowHeader:y().bool,featureCell:y().shape({name:y().string,
2showInfoIcon:y().bool,listOptions:y().arrayOf(y().shape({text:y().string,modal:y().shape({title:y().string,subTitle:y().string,content:y().string,okBtnLabel:y().string,cancelBtnLabel:y().string,onPressOkBtn:y().func,onPressCancelBtn:y().func,onClose:y().func})})),modal:y().shape({title:y().string,subTitle:y().string,content:y().string,okBtnLabel:y().string,okBtnLink:y().string,okBtnTarget:y().string,cancelBtnLabel:y().string,cancelBtnLink:y().string,cancelBtnTarget:y().string,onPressOkBtn:y().func,onPressCancelBtn:y().func,onClose:y().func})}),cells:y().arrayOf(y().shape({included:y().bool,content:y().string}))})),ariaLabelledByText:y().string,dropdownId:y().string});var Qn=$n,er=function(e){var t={products:[],firstColumnHeader:{dropdownProps:{options:[]}},rows:[]},n=function e(n){var r,a,o=!0;switch((n.props||{}).class){case"cmp-comparison-table__head-title":t.firstColumnHeader.title=n.props.children[0];break;case"cmp-comparison-table__head-dropdown-label":t.firstColumnHeader.dropdownProps.labelText=n.props.children[0];break;case"cmp-comparison-table__head-dropdown-info":t.firstColumnHeader.dropdownProps.instructionalText=n.props.children[0];break;case"cmp-ct-product":t.products.push(JSON.parse(n.props.dataPropProductData));break;case"cmp-grid-row heading-row":var i={rowHeader:!0,cells:[]};b.default.Children.forEach(n.props.children,(function(e){!function(e){var t,n=((null==e?void 0:e.props)||{}).class,r={content:(null==e||null===(t=e.props)||void 0===t?void 0:t.children[0])||" "};switch(n){case"cmp-grid-row_feature-cell":case"cmp-grid-row__cell":i.cells.push(r)}}(e)})),t.rows.push(i),o=!1;break;case"cmp-grid-row":var l={rowHeader:!1,cells:[]},u=function(e){switch(((null==e?void 0:e.props)||{}).class){case"cmp-grid-row__cell":var t={};b.default.Children.forEach(e.props.children,(function(e){var n;switch(((null==e?void 0:e.props)||{}).class){case"cmp-grid-row__cell-icon icon-excluded":t.included=!1;break;case"cmp-grid-row__cell-icon icon-included":t.included=!0;break;case"cmp-grid-row__cell-text":t.content=null==e||null===(n=e.props)||void 0===n?void 0:n.children[0]}})),l.cells.push(t);break;case"cmp-grid-row_feature-cell":var r={subFeatures:[]};b.default.Children.forEach(n.props.children,(function(e){!function e(t){var n,a,o,i,l=(null==t?void 0:t.props)||{},u=l.class,s=l.dataPropDialog;switch(u){case"cmp-grid-row__feature-cell-title":r.featureTitle=JSON.parse(s);break;case"subFeature":r.subFeatures.push(JSON.parse(null===(n=t.props)||void 0===n||null===(a=n.children[1])||void 0===a||null===(o=a.props)||void 0===o?void 0:o.dataPropDialog))}return(null===(i=t.props)||void 0===i?void 0:i.children)&&b.default.Children.forEach(t.props.children,(function(t){e(t)})),s}(e)})),l.featureCell=r,o=!1}};b.default.Children.forEach(n.props.children,(function(e){u(e)})),t.rows.push(l)}"option"===n.type&&t.firstColumnHeader.dropdownProps.options.push({label:null===(r=n.props)||void 0===r?void 0:r.children[0],value:null===(a=n.props)||void 0===a?void 0:a.value}),n.props&&n.props.children&&o&&b.default.Children.forEach(n.props.children,(function(t){e(t)}))};return b.default.Children.forEach(e,(function(e){n(e)})),t},tr=ae("UiChevronUp",!1)((function(){return b.default.createElement("path",{d:"M8 14l4-4 4 4",fill:"none",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"2"})})),nr=Object.assign((function(e){var t=e.size;return b.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",focusable:"false"},b.default.createElement("path",{d:"M10.5 0H15.5H16V0.5V5.5V6H15V5.5V1.71875L7.34375 9.375L7 9.71875L6.28125 9L6.625 8.65625L14.2812 1H10.5H10V0H10.5ZM0.5 1H6.5H7V2H6.5H1V15H14V9.5V9H15V9.5V15.5V16H14.5H0.5H0V15.5V1.5V1H0.5Z",fill:"currentColor"}))}),{displayName:"OpenInNewTab3"}),rr=function e(t){var n=t.href,r=t.title,a=t.target,o=t.ariaLabel,i=t.rel,l=t.customIcon,u=t.showArrowIcon,s=t.customClass,c=t.showButtonEle,d=B(e.displayName);return b.default.createElement("li",{className:d()},!c&&b.default.createElement("a",{className:"".concat(d({descendantName:"inner"})).concat(s||""),target:a,"aria-label":o,href:n,rel:i}
2,l&&b.default.createElement("span",{className:d({descendantName:"custom-icon"})},l),r,u?b.default.createElement("span",{className:d({descendantName:"arrow"})},b.default.createElement(Ne,{width:24})):a&&"_blank"===a?b.default.createElement("span",{className:d({descendantName:"new-tab-icon"})},b.default.createElement(nr,{size:16})):void 0),c&&b.default.createElement("button",{className:"".concat(d({descendantName:"inner"})).concat(s||"")},r))};rr.displayName="GlobalFooterItem",rr.propTypes={href:y().string.isRequired,title:y().string.isRequired,target:y().string,ariaLabel:y().string,rel:y().string,customIcon:y().node,showArrowIcon:y().bool,customClass:y().string,showButtonEle:y().bool};var ar=rr,or=function(){var e=At(Ht().mark((function e(t,n){var r,a,o;return Ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.querySelector("[data-rehydratable-children]"),e.next=3,n(r);case 3:return a=e.sent,o={logoHref:t.getAttribute("data-logo-href"),logoText:t.getAttribute("data-logo-text")},e.abrupt("return",b.default.createElement(hr,o,a));case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),ir=function(e){var t=e.href,n=e.ariaLabel,r=ee(e,["href","ariaLabel"]);return t?b.default.createElement("a",D({href:t,"aria-label":n},r),r.children):b.default.createElement("div",r)};ir.propTypes={href:y().string,target:y().string,ariaLabel:y().string,children:y().node.isRequired},ir.defaultProps={href:null,isRebrandedLogo:!1};var lr=ir,ur=function e(t){var n=t.children,r=B(e.displayName);return b.default.createElement("div",{className:r()},n)};ur.displayName="GlobalPreFooterContainer",ur.propTypes={children:y().node.isRequired};var sr=ur,cr=function e(t){var n=t.children,r=t.iconHref,a=t.target,o=t.ariaLabel,i=B(e.displayName);return b.default.createElement("div",{className:i()},r&&b.default.createElement("a",{className:i({descendantName:"link"}),href:r,target:a,"aria-label":o},b.default.createElement("span",null,n,"_blank"===a&&b.default.createElement(nr,{size:16}))))};cr.displayName="GlobalFooterUnder",cr.propTypes={children:y().node.isRequired,iconHref:y().string,target:y().string,ariaLabel:y().string};var dr=cr;function fr(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 pr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fr(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var mr=function(e){q(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var a=K(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return X(this,n)}}(n);function n(e){var r;return z(this,n),N(W(r=t.call(this,e)),"handleWindowResize",(function(){window&&window.innerWidth&&r.setState((function(e){return pr(pr({},e),{},{isMobile:window.innerWidth<r.mobileScreenBreakpoint})}))})),r.getClassName=B(n.displayName),r.ref=null,r.mobileScreenBreakpoint=768,r.state={expanded:!1,isMobile:!1},r}return G(n,[{key:"componentDidMount",value:function(){this.handleWindowResize(),window.addEventListener("resize",this.handleWindowResize)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleWindowResize)}},{key:"componentDidUpdate",value:function(){this.ref&&this.state.expanded&&this.ref.offsetTop+this.ref.offsetHeight>window.innerHeight&&this.ref.scrollIntoView(!0)}},{key:"toggleExpand",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"getItems",value:function(e){var t=[];
2return b.default.Children.forEach(this.props.children,(function(n){n.type===e&&t.push(n)})),t}},{key:"getListTypeFooterItems",value:function(){var e,t=[];return b.default.Children.forEach(null===(e=this.props.children.props)||void 0===e?void 0:e.children,(function(e){"li"===e.type&&t.push(e)})),t}},{key:"render",value:function(){var e=this,t=this.props,r=t.logoHref,a=t.logoText,o=t.target,i=t.ariaLabel,l=this.state,u=l.expanded,s=l.isMobile,c=this.getItems(ar),d=c.length>0?c:this.getListTypeFooterItems(),f=this.getItems(sr),p=this.getItems(dr);return b.default.createElement("div",null,b.default.createElement("div",{className:this.getClassName({modifiers:_()()}),"data-logo-href":r,"data-logo-text":a,"data-rehydratable":Y(n.displayName),ref:function(t){return e.ref=t}},f.length>0&&b.default.createElement("div",{className:this.getClassName({descendantName:"columns"})},f),b.default.createElement("div",{className:this.getClassName({descendantName:"inner"})},b.default.createElement("div",{className:this.getClassName({descendantName:"top"})},b.default.createElement(lr,{className:this.getClassName({descendantName:"logo"}),href:r,target:o,ariaLabel:i},b.default.createElement("div",{className:this.getClassName({descendantName:"logoInner"})},b.default.createElement("span",{className:this.getClassName({descendantName:"logoLabel",utilities:"hiddenVisually"})},a)))),b.default.createElement("nav",{"aria-label":"global footer",role:"navigation"},s&&b.default.createElement("div",{className:this.getClassName({descendantName:"mobileHeader"})},b.default.createElement("button",{className:this.getClassName({descendantName:"mobileButton"}),onClick:this.toggleExpand.bind(this),"aria-haspopup":!0,"aria-expanded":u,title:"Expand site links menu","aria-label":"Expand site links menu"},b.default.createElement("span",{className:this.getClassName({descendantName:"mobileWrapper"})},b.default.createElement("span",{className:this.getClassName({descendantName:"mobileTitle"})},"Site links"),u?b.default.createElement(tr,{className:this.getClassName({descendantName:"mobileIcon"})}):b.default.createElement(Ne,{className:this.getClassName({descendantName:"mobileIcon"})})))),b.default.createElement("ul",{className:this.getClassName({descendantName:"items",modifiers:_()({expanded:u})}),"data-rehydratable-children":!0},d))),p.length>0&&b.default.createElement(b.default.Fragment,null,b.default.createElement("hr",{className:this.getClassName({descendantName:"separator"})}),b.default.createElement("div",{className:this.getClassName({descendantName:"under"})},p))))}}]),n}(b.Component);N(mr,"displayName","GlobalFooter"),N(mr,"rehydrator",or),N(mr,"Item",ar),N(mr,"propTypes",{children:y().node.isRequired,logoHref:y().string,target:y().string,ariaLabel:y().string,logoText:y().string}),N(mr,"defaultProps",{logoText:"Thomson Reuters",logoHref:null});var hr=mr,vr=function(e){var t={Item:[],disclaimer:{disclaimerHref:"",disclaimerLabel:"",disclaimerTarget:"",disclaimerAriaLabel:""},logo:{logoHref:"",logoLabel:"",logoTarget:"",logoAriaLabel:""}};return b.default.Children.forEach(e,(function(e){!function e(n){switch((n.props||{}).className){case"cmp-GlobalFooter__logo":t.logo.logoHref=n.props.href,t.logo.logoTarget=n.props.target,t.logo.logoAriaLabel=n.props.ariaLabel;break;case"cmp-GlobalFooter__logoLabel":t.logo.logoLabel=n.props.children[0];break;case"cmp-GlobalFooter__item":t.Item.push(n.props);break;case"cmp-GlobalFooter__under__label":t.disclaimer.disclaimerLabel=n.props.children[0];break;case"cmp-GlobalFooter__under__link":t.disclaimer.disclaimerHref=n.props.href,t.disclaimer.disclaimerTarget=n.props.target,t.disclaimer.disclaimerAriaLabel=n.props.ariaLabel}n.props&&n.props.children&&b.default.Children.forEach(n.props.children,(function(t){e(t)}))}(e)})),t};var gr=function e(t){var n=t.children,r=t.title,a=t.isExpanded,o=t.handleItemClick,i=B("SiteFooterNavList");return b.default.createElement("li",{className:i({states:_()({expanded:a})}),"data-rehydratable":Y(e.displayName),"data-title":r},b.default.createElement("button",{className:_()(i({descendantName:"title"}
2),i({descendantName:"mobileShow"})),onClick:function(){return o(String(r))},role:"button","aria-label":String(r),"aria-haspopup":!0,"aria-expanded":a},b.default.createElement("span",{className:i({descendantName:"text"})},b.default.createElement("p",null,r),a?b.default.createElement(tr,null):b.default.createElement(Ne,null))),b.default.createElement("h3",{className:_()(i({descendantName:"title"}),i({descendantName:"desktopShow"}))},b.default.createElement("span",{className:i({descendantName:"text"})},r)),b.default.createElement("ul",{className:i({descendantName:"inner"})},n))};gr.displayName="SiteFooter.NavList",gr.defaultProps={isExpanded:!1,handleItemClick:function(){}};var yr=gr,br=ae("UiSocialLinkedin",!1)((function(){return b.default.createElement("path",{d:"M23 0H1C.4 0 0 .4 0 1v22c0 .6.4 1 1 1h22c.6 0 1-.4 1-1V1c0-.6-.4-1-1-1zM7.1 20.5H3.6V9h3.6v11.5zM5.3 7.4c-1.1 0-2.1-.9-2.1-2.1 0-1.1.9-2.1 2.1-2.1 1.1 0 2.1.9 2.1 2.1 0 1.2-.9 2.1-2.1 2.1zm15.2 13.1h-3.6v-5.6c0-1.3 0-3-1.8-3-1.9 0-2.1 1.4-2.1 2.9v5.7H9.4V9h3.4v1.6c.5-.9 1.6-1.8 3.4-1.8 3.6 0 4.3 2.4 4.3 5.5v6.2z",fill:"currentColor"})})),wr=ae("UiSocialInstagram",!1)((function(){return b.default.createElement("g",{className:"nc-icon-wrapper",fill:"currentColor"},b.default.createElement("path",{d:"M12 2.162c3.204 0 3.584.012 4.849.07 1.366.062 2.633.336 3.608 1.311.975.975 1.249 2.242 1.311 3.608.058 1.265.07 1.645.07 4.849s-.012 3.584-.07 4.849c-.062 1.366-.336 2.633-1.311 3.608-.975.975-2.242 1.249-3.608 1.311-1.265.058-1.645.07-4.849.07s-3.584-.012-4.849-.07c-1.366-.062-2.633-.336-3.608-1.311-.975-.975-1.249-2.242-1.311-3.608-.058-1.265-.07-1.645-.07-4.849s.012-3.584.07-4.849c.062-1.366.336-2.633 1.311-3.608.975-.975 2.242-1.249 3.608-1.311 1.265-.058 1.645-.07 4.849-.07M12 0C8.741 0 8.332.014 7.052.072c-1.95.089-3.663.567-5.038 1.942C.639 3.389.161 5.102.072 7.052.014 8.332 0 8.741 0 12c0 3.259.014 3.668.072 4.948.089 1.95.567 3.663 1.942 5.038 1.375 1.375 3.088 1.853 5.038 1.942C8.332 23.986 8.741 24 12 24s3.668-.014 4.948-.072c1.95-.089 3.663-.567 5.038-1.942 1.375-1.375 1.853-3.088 1.942-5.038.058-1.28.072-1.689.072-4.948s-.014-3.668-.072-4.948c-.089-1.95-.567-3.663-1.942-5.038C20.611.639 18.898.161 16.948.072 15.668.014 15.259 0 12 0z"}),b.default.createElement("path",{d:"M12 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zM18.406 4.154a1.44 1.44 0 1 0 0 2.88 1.44 1.44 0 1 0 0-2.88z","data-color":"color-2"}))})),_r=ae("UiSocialFacebook",!1)((function(){return b.default.createElement("path",{d:"M9.032 23L9 13H5V9h4V6.5C9 2.789 11.298 1 14.61 1c1.585 0 2.948.118 3.345.17v3.88H15.66c-1.8 0-2.15.856-2.15 2.112V9h5.241l-2 4h-3.24v10H9.032z",fill:"currentColor"})})),Er=ae("UiSocialYoutube",!1)((function(){return b.default.createElement("path",{d:"M23.8 7.2s-.2-1.7-1-2.4c-.9-1-1.9-1-2.4-1-3.4-.2-8.4-.2-8.4-.2s-5 0-8.4.2c-.5.1-1.5.1-2.4 1-.7.7-1 2.4-1 2.4S0 9.1 0 11.1v1.8c0 1.9.2 3.9.2 3.9s.2 1.7 1 2.4c.9 1 2.1.9 2.6 1 1.9.2 8.2.2 8.2.2s5 0 8.4-.3c.5-.1 1.5-.1 2.4-1 .7-.7 1-2.4 1-2.4s.2-1.9.2-3.9V11c0-1.9-.2-3.8-.2-3.8zM9.5 15.1V8.4l6.5 3.4-6.5 3.3z",fill:"currentColor"})})),Cr=function(){return b.default.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M11.5156 7.98438C11.8203 8.26562 11.8203 8.75781 11.5156 9.03906L7.01562 13.5391C6.73438 13.8438 6.24219 13.8438 5.96094 13.5391C5.65625 13.2578 5.65625 12.7656 5.96094 12.4844L9.92188 8.5L5.96094 4.53906C5.65625 4.25781 5.65625 3.76562 5.96094 3.48438C6.24219 3.17969 6.73438 3.17969 7.01562 3.48438L11.5156 7.98438Z",fill:"#fa6400"}))},Nr=function(){return b.default.createElement("span",{className:"emcmUi-Svg",style:{width:"1rem"}},b.default.createElement("span",{className:"emcmUi-Svg-inner"},b.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512","aria-hidden":"true"},b.default.createElement("path",{d:"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z",fill:"
2currentColor"}))))},xr=function(e){var t=e.title,n=e.href,r=e.iconName,a=e.iconPosition,o=e.target,i=e.ariaLabel,l=B("SiteFooterNavItem"),u={chevron:b.default.createElement(Cr,null),x:b.default.createElement(Nr,null),linkedin:b.default.createElement(br,{width:16}),instagram:b.default.createElement(wr,{width:16}),facebook:b.default.createElement(_r,{width:16}),youtube:b.default.createElement(Er,{width:16}),newtab:b.default.createElement(nr,{size:16})};return b.default.createElement("li",{className:l()},b.default.createElement("a",{className:l({descendantName:"link"}),href:n,target:o,"data-icon-name":r,"data-icon-position":a,"aria-label":i},r&&"none"!==r&&b.default.createElement("span",{className:l({descendantName:"icon"})},u[r]),t,o&&"_blank"===o&&b.default.createElement("span",{className:l({descendantName:"new-tab-icon"})},u.newtab)))};xr.displayName="SiteFooter.NavItem";var Rr=xr,Sr=function e(t){var n=t.children,r=t.logoHref,a=t.isExpanded,o=void 0!==a&&a,i=t.handleItemClick,l=void 0===i?function(){}:i,u=B(e.displayName);return b.default.createElement("div",{className:u()},b.default.createElement("div",{className:u({descendantName:"inner"})},b.default.createElement("a",{href:r},b.default.createElement("div",{className:u({descendantName:"logo"})},b.default.createElement("div",{className:u({descendantName:"logoInner"})}))),b.default.createElement("div",{className:u({descendantName:"listContainer"})},b.default.createElement("ul",{className:u({descendantName:"list-desktopShow"})},n),b.default.createElement("div",{className:u({descendantName:"list-mobileShow"})},b.default.createElement(yr,{title:b.default.createElement("div",{className:u({descendantName:"logoInner"})}),isExpanded:o,handleItemClick:function(){return null==l?void 0:l("logo")}},n)))))};Sr.displayName="SiteFooter.Footer";var kr=Sr,Or=function e(t){var n=t.children,r=t.iconHref,a=B(e.displayName);return b.default.createElement("div",{className:a()},b.default.createElement("div",{className:a({descendantName:"inner"})},b.default.createElement("span",null,n),r&&b.default.createElement("a",{className:a({descendantName:"link"}),href:r},b.default.createElement("svg",{width:"14",height:"12",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.createElement("path",{d:"M10.5 0H15.5C15.75 0 16 0.25 16 0.5V5.5C16 5.78125 15.75 6 15.5 6C15.2188 6 15 5.78125 15 5.5V1.71875L7.34375 9.375C7.15625 9.5625 6.8125 9.5625 6.625 9.375C6.4375 9.1875 6.4375 8.84375 6.625 8.65625L14.2812 1H10.5C10.2188 1 10 0.78125 10 0.5C10 0.25 10.2188 0 10.5 0ZM2 2H6.5C6.75 2 7 2.25 7 2.5C7 2.78125 6.75 3 6.5 3H2C1.4375 3 1 3.46875 1 4V14C1 14.5625 1.4375 15 2 15H12C12.5312 15 13 14.5625 13 14V9.5C13 9.25 13.2188 9 13.5 9C13.75 9 14 9.25 14 9.5V14C14 15.125 13.0938 16 12 16H2C0.875 16 0 15.125 0 14V4C0 2.90625 0.875 2 2 2Z",fill:"currentColor"})))))};Or.displayName="SiteFooter.SubFooter";var Pr=Or,Lr=function e(t){var n=t.children,r=B(e.displayName),a=ce((0,b.useState)(""),2),o=a[0],i=a[1],l=function(e){i(e!==o?e:"")},u=function(e){var t=getComputedStyle(e).paddingBottom,n=parseInt(t);return e.offsetHeight-n},s=(0,b.useCallback)((function(){var e=Array.from(document.querySelectorAll(".emcmUi-SiteFooterNavList-desktopShow")),t=Math.max.apply(Math,M(e.map(u)));e.forEach((function(e){var n=u(e);e.style.paddingBottom=n<t?"".concat(t-n,"px"):"0"}))}),[window.screen.width]);(0,b.useEffect)((function(){var e=document;return e.fonts&&e.fonts.ready&&e.fonts.ready.then((function(){s()})),window.addEventListener("resize",s),function(){window.removeEventListener("resize",s)}}),[s]);var c=function(e,t,n){var r=[];return b.default.Children.forEach(e,(function(e){e.type===kr&&r.push(b.default.cloneElement(e,{isExpanded:"logo"===t,handleItemClick:n}))})),r}(n,o,l),d=function e(t,n,r){return b.default.Children.map(t,(function(t,a){var o=t.props,i=t.type;if(i===kr||i===Pr)return null;var l="".concat(null==o?void 0:o.title,"-").concat(a);return i===yr?b.default.cloneElement(t,{isExpanded:n===l,handleItemClick:function(){return r(l)}}):i===b.default.Fragment&&o.children?b.default.cloneElement(t,{children:e(o.children,n,r)}):t}))}(n,o,l),f=function(e){var t=[];
2return b.default.Children.forEach(e,(function(e){e.type===Pr&&t.push(e)})),t}(n),p=c.length>0||f.length>0;return b.default.createElement("div",{className:r({states:_()({extended:p})}),"data-rehydratable":Y(e.displayName)},(null==d?void 0:d.length)>0&&b.default.createElement("div",{className:r({descendantName:"inner"})},b.default.createElement("nav",{className:r({descendantName:"lists"}),"aria-label":"site footer"},b.default.createElement("ul",{className:r({descendantName:"listsInner"})},d))),c,f)};Lr.defaultProps={isRehydrating:!1},Lr.displayName="SiteFooter",Lr.NavList=yr,Lr.NavItem=Rr,Lr.Footer=kr,Lr.SubFooter=Pr;var Tr=Lr,Ir=function(e){var t=[],n={columnTitle:"",columnItems:[]},r=[],a=function e(a){switch((a.props||{}).className){case"cmp-SiteFooter-listsInner":var o;r.length>0&&((o=n.columnItems).push.apply(o,function(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||h(e)||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.")}()}(r)),t.push(n),n={columnTitle:"",columnItems:[]},r=[]),n.columnTitle=a.props.children.find((function(e){return"li"===e.type})).props.dataTitle;break;case"cmp-SiteFooterNavItem":a.props.children.filter((function(e){return!!e.type})).forEach((function(e){var t,n;r.push({title:e.props.children[0],target:null!==(t=null===(n=e.props)||void 0===n?void 0:n.target)&&void 0!==t?t:"_self",href:e.props.href,iconName:e.props.dataIconName,iconPosition:e.props.dataIconPosition,ariaLabel:e.props.ariaLabel})}))}a.props&&a.props.children&&b.default.Children.forEach(a.props.children,(function(t){e(t)}))};return b.default.Children.forEach(e,(function(e){a(e)})),t.push({columnTitle:n.columnTitle,columnItems:r}),t},Br={facets:[{id:"category1",name:"Items",options:[{id:"item1",label:"books"},{id:"item2",label:"electronics"},{id:"item3",label:"clothing"}]},{id:"category2",name:"Brand",options:[{id:"brand1",label:"apple"},{id:"brand2",label:"samsung"},{id:"brand3",label:"sony"}]},{id:"category3",name:"Price Range",options:[{id:"price1",label:"0-100"},{id:"price2",label:"101-500"},{id:"price3",label:"501+"}]}]},Ar=r(8488);var Fr=function(e){q(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var a=K(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return X(this,n)}}(n);function n(e){var r;return z(this,n),N(W(r=t.call(this,e)),"getClassName",void 0),N(W(r),"handleOptionClick",(function(e){r.props.handleOptionChange&&r.props.handleOptionChange(r.props.categoryId,e)})),r.getClassName=I(n.displayName),r}return G(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.categoryTitle,r=t.initialOptions,a=t.className,o=t.selectedCount,i=t.showFilterCountBadge,l=r||[];return b.default.createElement("div",{className:_()(this.getClassName(),a),"data-testid":"facet-filter"},b.default.createElement("div",{className:this.getClassName({descendantName:"divider"})}),b.default.createElement("div",{className:this.getClassName({descendantName:"title-container"})},n&&b.default.createElement("div",{className:this.getClassName({descendantName:"title"}),"data-testid":"facet-filter-category-title"},n),i&&o>0&&b.default.createElement("div",{className:this.getClassName({descendantName:"selected-count"}),"data-testid":"facet-filter-selected-count"},o)),b.default.createElement("div",{className:this.getClassName({descendantName:"option-container"})},l.map((function(t){return b.default.createElement("div",{key:t.id,className:e.getClassName({descendantName:"option-item"}),"data-testid":"facet-filter-option-item"},b.default.createElement("input",{type:"checkbox",className:e.getClassName({descendantName:"checkbox"}),onChange:function(t){return e.handleOptionClick(t.target.id)},id:t.id,name:t.label,"aria-label":n,role:"checkbox",checked:t.selected,onKeyDown:function(n){"Enter"!==n.key&&" "!==n.key||e.handleOptionClick(t.id)}}),b.default.createElement("span",{className:e.getClassName({descendantName:"option-label"})},t.label))}))))}}]),n}(b.Component);N(Fr,"displayName","FacetFilter"),N(Fr,"defaultProps",{categoryTitle:"Filter Options",initialOptions:[],handleOptionChange:function(){},className:""});var Hr=Fr,jr=function(e){var t=e.width,n=void 0===t?16:t,r=e.height,a=void 0===r?16:r;return b.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:a,viewBox:"0 0 16 16",fill:"none"},b.default.createElement("path",{d:"M7 9.65625V10V12.0625L9 13.8125V10V9.65625L9.21875 9.375L15 2.65625V2H1V2.65625L6.75 9.375L7 9.65625ZM0 3V2V1H1H15H16V2V3L10 10V14.6875V16L9 15.125L6 12.5V10L0 3Z",fill:"#212223"}))},Mr=function(e){var t=e.width,n=void 0===t?14:t,r=e.height,a=void 0===r?14:r;return b.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:a,viewBox:"0 0 14 14",fill:"none"},b.default.createElement("path",{d:"M0.5 5H0V4.5V0.5V0H1V0.5V3.40625C2.21875 1.375 4.4375 0 7 0C10.8438 0 14 3.15625 14 7C14 10.875 10.8438 14 7 14C4.28125 14 1.9375 12.4688 0.78125 10.25L1.65625 9.78125C2.65625 11.7188 4.65625 13 7 13C10.3125 13 13 10.3125 13 7C13 3.6875 10.3125 1 7 1C4.78125 1 2.8125 2.21875 1.78125 4H4.5H5V5H4.5H0.5Z",fill:"#212223"}))};function Dr(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 zr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Dr(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Vr=function(e){q(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=K(e);if(t){var a=K(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return X(this,n)}}(n);function n(e){var r;return z(this,n),N(W(r=t.call(this,e)),"getClassName",void 0),N(W(r),"filterRef",void 0),N(W(r),"handleResize",(function(){window.innerWidth>1024&&r.state.isOverlayVisible&&r.setState({isOverlayVisible:!1})})),N(W(r),"handleCategoryFilterChange",(function(e,t){r.setState((function(n){var a=n.allCategories.map((function(n){return n.id===e?zr(zr({},n),{},{options:n.options.map((function(e){return e.id===t?zr(zr({},e),{},{selected:!e.selected}):e}))}):n})),o={};a.forEach((function(e){o[e.name]=e.options.filter((function(e){return e.selected}))}));var i=a.flatMap((function(e){return e.options.filter((function(e){return e.selected})).map((function(e){return e.id}))}));return r.dispatchFilterChangeEvent(i),{allCategories:a,selectedFiltersByCategory:o}}))})),N(W(r),"dispatchFilterChangeEvent",(function(e){var t;null===(t=r.filterRef.current)||void 0===t||t.dispatchEvent(new CustomEvent("facetFilterChanged",{detail:e,bubbles:!0}))})),N(W(r),"getTotalSelectedCount",(function(){var e=r.state.allCategories,t=0;return e&&e.forEach((function(e){e.options&&e.options.forEach((function(e){e.selected&&t++}))})),t})),N(W(r),"clearFilters",(function(){r.setState((function(e){var t=e.allCategories.map((function(e){return zr(zr({},e),{},{options:e.options.map((function(e){return zr(zr({},e),{},{selected:!1})}))})})),n={};return t.forEach((function(e){n[e.name]=[]})),r.dispatchFilterChangeEvent([]),{allCategories:t,selectedFiltersByCategory:n}}))})),r.state={allCategories:r.initializeCategories(e.filterData),selectedFiltersByCategory:{},isOverlayVisible:!1},r.filterRef=b.default.createRef(),r.getClassName=I(n.displayName),r}return G(n,[{key:"componentDidUpdate",value:function(e){e.filterData!==this.props.filterData&&this.setState({allCategories:this.initializeCategories(this.props.filterData),selectedFiltersByCategory:{}})}},{key:"componentDidMount",value:function(){window.addEventListener("resize",this.handleResize)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize)}},{key:"initializeCategories",value:function(e){return e&&e.categories?e.categories.map((function(e){return{id:e.id,name:e.name,options:e.options.map((function(e){return zr(zr({},e),{},{selected:!1})}))}})):[]}},{key:"render",value:function(){var e=this,t=this.props,n=t.filterHeader,r=t.filterSubHeader,a=t.clearFilterText,o=t.applyFilterBtnText,i=t.showFilterCountBadge,l=this.state,u=l.allCategories,s=l.isOverlayVisible,c=this.getTotalSelectedCount();if(!u||0===u.length)return null;var d=b.default.createElement(b.default.Fragment,null,b.default.createElement("div",{className:this.getClassName({descendantName:"header"})},b.default.createElement("span",{"data-testid":"filter-count",className:this.getClassName({descendantName:"filter-count"})},n," (",c,")"),b.default.createElement("div",{className:this.getClassName({descendantName:"title-row"})},b.default.createElement("span",{className:this.getClassName({descendantName:"title"})},r),b.default.createElement("span",{className:this.getClassName({descendantName:"clear-filters"}),onClick:this.clearFilters,role:"button","data-testid":"clear-filters",onKeyDown:function(t){"Enter"!==t.key&&" "!==t.key||e.clearFilters()}},b.default.createElement("span",{className:this.getClassName({descendantName:"clear-icon"})},b.default.createElement(Mr,null)),a))),b.default.createElement("div",{className:this.getClassName({descendantName:"inner
2-container"})},u.map((function(t){var n=t.options.filter((function(e){return e.selected})).length;return b.default.createElement(Hr,{key:t.id,categoryTitle:t.name,categoryId:t.id,initialOptions:t.options,handleOptionChange:e.handleCategoryFilterChange,selectedCount:n,showFilterCountBadge:i})})))," ");return b.default.createElement("div",{ref:this.filterRef},b.default.createElement("button",{className:this.getClassName({descendantName:"filter-button"}),onClick:function(){return e.setState({isOverlayVisible:!0})},"aria-label":"Open filters"},b.default.createElement("span",{className:this.getClassName({descendantName:"filter-icon"})},b.default.createElement(jr,null)),n," (",c,")"),s?b.default.createElement("div",{"data-testid":"facet-filter-overlay",className:"".concat(this.getClassName({descendantName:"overlay"})," visible")},b.default.createElement("div",{className:this.getClassName({descendantName:"overlay-content"})},b.default.createElement("button",{className:this.getClassName({descendantName:"close-button"}),onClick:function(){return e.setState({isOverlayVisible:!1})},"aria-label":"Close filters"},b.default.createElement(ot,{width:16,height:16})),d,b.default.createElement("div",{className:this.getClassName({descendantName:"overlay-footer"})},b.default.createElement("button",{className:this.getClassName({descendantName:"apply-button"}),onClick:function(){return e.setState({isOverlayVisible:!1})},"data-testid":"apply-filters"},o)))):b.default.createElement("div",{className:this.getClassName({descendantName:"desktop-view"})},d))}}]),n}(b.Component);N(Vr,"displayName","FacetFilterManager");var Gr=Vr,Wr=function(e){if(!e)return null;try{var t="".concat(e.replace(" ","T"),":00Z"),n=new Date(t);return isNaN(n.getTime())?null:n}catch(t){return console.error("Error parsing date:",e),null}},Ur=function(e){var t=e.replace("announcement-banner-","");return"".concat("announcementBannerDismissed-").concat(t)},qr=function(e){var t=e.variant,n=void 0===t?"orange":t,r=e.startDate,a=void 0===r?null:r,o=e.endDate,i=void 0===o?null:o,l=e.id,u=e.children,s=e.dataIconAriaLabel,c=e.ariaLabel,d=B("AnnouncementBanner"),f=ce(b.default.useState(!0),2),p=f[0],m=f[1],h=(0,b.useCallback)((function(){m(!0),function(e){var t=new Date;t.setTime(t.getTime()+7776e6);var n=Ur(e);document.cookie="".concat(n,"=true; expires=").concat(t.toUTCString(),"; path=/")}(l)}),[l]);return(0,b.useEffect)((function(){var e=!0,t=function(e){var t="; ".concat(document.cookie).split("; ".concat(e,"="));if(2===t.length){var n=t.pop();return n?n.split(";")[0]:null}return null}(Ur(l)),n=document.querySelector(".announcement-banner-close-icon");return e=!function(e,t){var n=new Date;return!e&&t?n<=t:t&&e?n>=e&&n<=t:!(e&&!t)||n>=e}(Wr(a),Wr(i)),n&&n.addEventListener("click",h),t&&(e=!0),m(e),function(){n&&n.removeEventListener("click",h)}}),[a,i,l,h]),b.default.createElement("section",{className:d({states:_()({hidden:p}),modifiers:n}),"data-icon-aria-label":s,"aria-label":c},u)};qr.displayName="AnnouncementBanner";var Xr=qr;function Kr(e){var t=e.href,n=e.linkText,r=e.ariaLabel,a=e.target,o=e.ariaCurrent,i=e.variant,l=void 0===i?"original":i,u=e.children,s=B(Kr.displayName);return b.default.createElement("a",D({href:t,"aria-label":r,target:a},"true"===o?{"aria-current":"true"}:{},"_blank"===a?{rel:"noopener"}:{},{className:s({modifiers:l})}),n,b.default.createElement("span",{className:s({descendantName:"icon"})},u))}Kr.displayName="AnchorHeroLink";var Yr=Kr;p((function(e){var t=(0,b.useRef)(),n=(0,b.useMemo)((function(){return Le(e.children)}),[e.children]),r=v((0,b.useState)(n.initialDefaultTab),2),a=r[0],o=r[1],i=v(function(e){var t=v((0,b.useState)([window.innerWidth,window.innerHeight]),2),n=t[0],r=t[1];return(0,b.useEffect)((function(){var t=function(e,t){var n;return function(t){n&&clearTimeout(n),n=setTimeout(e,300,t)}}((function(){r([window.innerWidth,window.innerHeight]),e.current.handleWindowResize()}));return window.addEventListener("resize",t),function(){window.removeEventListener("resize",t)}}),[n]),n}(t),2);return i[0],i[1],b.default.createElement("div",null,b.default.createElement(F,null,b.default.createElement(Pe,{layout:null==e?void 0:e.variant,layoutVariant:null==e?void 0:e.variant,defaultTab:a,handleTabChange:function(e){o(e)},ariaLabelText:n.ariaLabelText,dropdownLabelText:null==e?void 0:e.dropdownLabel,ref:t},n.tabValues.map((function(e,t){return b.default.createElement(Pe.Panel,{id:e.id,segment:e.segment,subSegment:e.subsegment,tabTitle:e.children[0],key:e.id,disabled:!!e.dataTabDisabled,selected:e.selected},b.default.createElement("div",{dangerouslySetInnerHTML:{__html:n.tabPanelValues[t]}}
2))})))))}),"dcl-tab"),p((function(e){var t=(0,b.useMemo)((function(){return vt(e.children)}),[e.children]);return b.default.createElement(ht,{breadcrumbId:t.id,buttonAriaLabel:t.buttonAriaLabel},t.breadcrumbItems.map((function(e){return b.default.createElement(ht.Item,{text:e.text,href:e.href,current:e.current})})))}),"dcl-web-breadcrumb"),p((function(e){var t=(0,b.useMemo)((function(){return er(e.children)}),[e.children]),n=v((0,b.useState)(),2),r=n[0],a=n[1],o=function(e,t){e.firstColumnHeader.dropdownProps.value=t;var n,r=function(e){return{title:e.featureName,subTitle:e.dialogSubTitle,content:e.description,okBtnLabel:e.primaryButtonText,okBtnLink:e.primaryButtonLink,okBtnTarget:e.primaryButtonTarget,okBtnAriaLabel:e.primaryButtonAriaLabel,cancelBtnLabel:e.secondaryButtonText,cancelBtnLink:e.secondaryButtonLink,cancelBtnTarget:e.secondaryButtonTarget,cancelBtnAriaLabel:e.secondaryButtonAriaLabel}};return{firstColumnHeader:e.firstColumnHeader,products:(n=e.products,n.map((function(e,n){var r=t?e.varriationsMap[t]:e.defaultData;return{productId:"".concat(n+1),price:r.price,name:r.productName,priceInfo:r.subscriptionPeriod,description:r.description,actionLabel:r.buttonLabel,ariaLabel:r.ariaLabel,target:r.buttonTarget,actionButtonProps:{href:r.buttonLink}}}))),bodyData:function(e){var t=[];return e.forEach((function(e){var n,a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(n),!0).forEach((function(t){gt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e);e.rowHeader||(a.featureCell={name:(n=e.featureCell).featureTitle.featureName,showInfoIcon:!n.subFeatures.length,listOptions:n.subFeatures.map((function(e){return{text:e.featureName,modal:r(e)}})),modal:n.subFeatures.length?null:r(n.featureTitle)}),t.push(a)})),t}(e.rows)}}(t,r),i=(0,b.useCallback)((function(e){e&&a(e.value)}),[]);return o.firstColumnHeader.dropdownProps.onChange=i,b.default.createElement("div",null,b.default.createElement(Qn,{stickyHeader:!0,firstColumnHeader:o.firstColumnHeader,bodyData:o.bodyData,products:o.products}))}),"dcl-web-comparison-table"),p((function(e){var t=(0,b.useRef)(),n=(0,b.useMemo)((function(){return vr(e.children)}),[e.children]);return b.default.createElement(hr,{logoHref:n.logo.logoHref,logoText:n.logo.logoLabel,target:n.logo.logoTarget,ariaLabel:n.logo.logoAriaLabel,ref:t},n.Item.map((function(e){var t,n,r,a,o,i;return b.default.createElement(hr.Item,{href:null===(t=e.children[1].props)||void 0===t?void 0:t.href,title:null===(n=e.children[1].props)||void 0===n?void 0:n.title,target:null===(r=e.children[1].props)||void 0===r?void 0:r.target,ariaLabel:null===(a=e.children[1].props)||void 0===a?void 0:a.ariaLabel,customClass:null===(o=e.children[1].props)||void 0===o?void 0:o.customclass,showButtonEle:""===(null===(i=e.children[1].props)||void 0===i?void 0:i.showbuttonele)})})),n.disclaimer.disclaimerLabel?b.default.createElement(dr,{iconHref:n.disclaimer.disclaimerHref,target:n.disclaimer.disclaimerTarget,ariaLabel:n.disclaimer.disclaimerAriaLabel},n.disclaimer.disclaimerLabel):null)}),"dcl-globalfooter"),p((function(e){var t=(0,b.useMemo)((function(){return Ir(e.children)}),[e.children]);return b.default.createElement(Tr,null,t.map((function(e){return b.default.createElement(Tr.NavList,{title:e.columnTitle},e.columnItems.map((function(e){return b.default.createElement(Tr.NavItem,{href:e.href,target:e.target,title:e.title,iconName:e.iconName,iconPosition:e.iconPosition,ariaLabel:e.ariaLabel})})))})))}),"dcl-site-footer"),p((function(e){var t=v((0,Ar.J0)(Br),2),n=t[0],r=t[1];return(0,Ar.vJ)((function(){try{if(e["data-facet-filter"]){var t=JSON.parse(e["data-facet-filter"]);r(t)}}catch(e){console.warn("Failed to parse facet filter data:",e)}}),[e["data-facet-filter"]]),b.default.createElement(Gr,{filterData:{categories:n.facets},filterHeader:e.filterHeader,filterSubHeader:e.filterSubheader,clearFilterText:e.clearFilterText,applyFilterBtnText:e.applyFilterBtnText,showFilterCountBadge:"true"===e.showFilterCountBadge})}),"dcl-facet-filter"),p((function(e){var t=e.children,n=e.dataIconAriaLabel,r=e.startDate,a=e.endDate,o=e.id,i=e.variant,l=e.ariaLabel;return b.default.createElement("div",null,b.default.createElement(Xr,{variant:i,id:o,startDate:r,endDate:a,dataIconAriaLabel:n,ariaLabel:l},t))}),"dcl-announcement-banner"),p((function(e){var t=e.children,n=e.href,r=e.linkText,a=e.ariaLabel,o=e.ariaCurrent,i=e.target,l=e.variant;return b.default.createElement("div",{class:"emcmUi-AnchorHeroLink-wrapper"},b.default.createElement(Yr,{href:n,linkText:r,ariaLabel:a,target:i,ariaCurrent:o,variant:l},t))}),"dcl-anchor-hero-link")}()}()}).call(this,n(11))},314:function(e,t,n){}});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.