@transferwise/components 43.13.45 → 43.13.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/es/no-polyfill/common/focusBoundary/FocusBoundary.js +1 -1
- package/build/es/no-polyfill/dimmer/Dimmer.js +1 -1
- package/build/es/no-polyfill/modal/Modal.js +1 -1
- package/build/es/polyfill/common/focusBoundary/FocusBoundary.js +1 -1
- package/build/es/polyfill/dimmer/Dimmer.js +1 -1
- package/build/es/polyfill/modal/Modal.js +1 -1
- package/build/umd/no-polyfill/main.js +1 -1
- package/build/umd/polyfill/main.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("prop-types"),require("@wise/components-theming"),require("@transferwise/icons"),require("react-intl"),require("react-dom"),require("@wise/art")):"function"==typeof define&&define.amd?define(["exports","react","prop-types","@wise/components-theming","@transferwise/icons","react-intl","react-dom","@wise/art"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@transferwise/components"]={},e.React,e.PropTypes,e.componentsTheming,e.icons,e.reactIntl,e.ReactDOM,e.art)}(this,function(re,oe,e,ae,S,ie,a,c){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var Ne=t(oe),l=t(e),Pe=t(a),n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function o(e,t){return e(t={exports:{}},t.exports),t.exports}function i(e){return e&&e.default||e}var ke=o(function(e){e.exports=function(e,t){if(null==e)return{};for(var n,r={},o=Object.keys(e),a=0;a<o.length;a++)n=o[a],0<=t.indexOf(n)||(r[n]=e[n]);return r},e.exports.__esModule=!0,e.exports.default=e.exports});r(ke);var b=r(o(function(e){e.exports=function(e,t){if(null==e)return{};var n,r=ke(e,t);if(Object.getOwnPropertySymbols)for(var o=Object.getOwnPropertySymbols(e),a=0;a<o.length;a++)n=o[a],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n]);return r},e.exports.__esModule=!0,e.exports.default=e.exports})),le=r(o(function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports})),se=o(function(e){function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r,o=typeof n;if("string"==o||"number"==o)e.push(n);else if(Array.isArray(n))!n.length||(r=i.apply(null,n))&&e.push(r);else if("object"==o)if(n.toString===Object.prototype.toString)for(var a in n)l.call(n,a)&&n[a]&&e.push(a);else e.push(n.toString())}}return e.join(" ")}var l;l={}.hasOwnProperty,e.exports?(i.default=i,e.exports=i):window.classNames=i}),s=r(o(function(e){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports})),u=r(o(function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports})),p=s(function e(){var n=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;u(this,e),le(this,"reset",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[""],t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:20;n.history=e,n.currIndex=0<e.length-1?e.length-1:0,n.historyLimit=t}),le(this,"add",function(e){(!n.historyLimit||n.history.length<=n.historyLimit)&&n.history.push(e),n.currIndex=n.history.length-1}),le(this,"redo",function(){var e=n.history.length;return n.currIndex=n.currIndex+1<e?n.currIndex+1:e-1,n.history[n.currIndex]}),le(this,"undo",function(){return n.currIndex=0<n.currIndex-1?n.currIndex-1:0,n.history[n.currIndex]}),this.history=t&&0<t.length?t:[""],this.currIndex=this.history.length-1,this.historyLimit=r});function d(){var e=["iphone","ipad","ipod"].map(function(e){return"(".concat(e,")")}).join("|"),e=new RegExp(e,"ig");return"undefined"!=typeof navigator&&navigator.userAgent.match(e)}function m(){return"undefined"==typeof window}function ue(e){e.stopPropagation(),e.preventDefault(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}var f="no-scroll";($e=re.Theme||(re.Theme={})).LIGHT="light",$e.DARK="dark",$e.NAVY="navy",$e.PERSONAL="personal",$e.PERSONAL_FOREST_GREEN="personal--forest-green",$e.PERSONAL_BRIGHT_GREEN="personal--bright-green",$e.PERSONAL_DARK="personal--dark",(Je=re.Direction||(re.Direction={})).RTL="rtl",Je.LTR="ltr",Je.AUTO="auto",(Qe=re.ControlType||(re.ControlType={})).ACCENT="accent",Qe.POSITIVE="positive",Qe.NEGATIVE="negative",(et=re.Priority||(re.Priority={})).PRIMARY="primary",et.SECONDARY="secondary",et.TERTIARY="tertiary",(ft=re.Breakpoint||(re.Breakpoint={}))[ft.EXTRA_SMALL=480]="EXTRA_SMALL",ft[ft.SMALL=576]="SMALL",ft[ft.MEDIUM=768]="MEDIUM",ft[ft.LARGE=992]="LARGE",ft[ft.EXTRA_LARGE=1200]="EXTRA_LARGE",(ht=re.Size||(re.Size={})).EXTRA_SMALL="xs",ht.SMALL="sm",ht.MEDIUM="md",ht.LARGE="lg",ht.EXTRA_LARGE="xl",(Et=re.Typography||(re.Typography={})).DISPLAY_EXTRA_LARGE="display-extra-large",Et.DISPLAY_LARGE="display-large",Et.DISPLAY_MEDIUM="display-medium",Et.DISPLAY_SMALL="display-small",Et.TITLE_SCREEN="title-screen",Et.TITLE_SECTION="title-section",Et.TITLE_SUBSECTION="title-subsection",Et.TITLE_BODY="title-body",Et.TITLE_GROUP="title-group",Et.BODY_LARGE="body-large",Et.BODY_DEFAULT="body-default",Et.BODY_DEFAULT_BOLD="body-default-bold",Et.BODY_LARGE_BOLD="body-large-bold",Et.LINK_LARGE="link-large",Et.LINK_DEFAULT="link-default",(St=re.Width||(re.Width={})).BLOCK="block",St.AUTO="auto",(Ct=re.Type||(re.Type={})).PRIMARY="primary",Ct.PAY="pay",Ct.SECONDARY="secondary",Ct.DANGER="danger",Ct.LINK="link",(xt=re.DateMode||(re.DateMode={})).DAY_MONTH_YEAR="day-month-year",xt.MONTH_YEAR="month-year",(Dt=re.MonthFormat||(re.MonthFormat={})).SHORT="short",Dt.LONG="long",(At=re.Position||(re.Position={})).BOTTOM="bottom",At.BOTTOM_LEFT="bottom-left",At.BOTTOM_RIGHT="bottom-right",At.CENTER="center",At.LEFT="left",At.LEFT_TOP="left-top",At.RIGHT="right",At.RIGHT_TOP="right-top",At.TOP="top",(Pt=re.Layout||(re.Layout={})).VERTICAL="VERTICAL",Pt.VERTICAL_TWO_COLUMN="VERTICAL_TWO_COLUMN",Pt.VERTICAL_ONE_COLUMN="VERTICAL_ONE_COLUMN",Pt.HORIZONTAL="HORIZONTAL",Pt.HORIZONTAL_JUSTIFIED="HORIZONTAL_JUSTIFIED",Pt.HORIZONTAL_LEFT_ALIGNED="HORIZONTAL_LEFT_ALIGNED",Pt.HORIZONTAL_RIGHT_ALIGNED="HORIZONTAL_RIGHT_ALIGNED",(Rt=re.Status||(re.Status={})).PROCESSING="processing",Rt.FAILED="failed",Rt.SUCCEEDED="succeeded",Rt.HIDDEN="hidden",Rt.DONE="done",Rt.NOT_DONE="notDone",Rt.PENDING="pending",(hn=re.Sentiment||(re.Sentiment={})).NEGATIVE="negative",hn.NEUTRAL="neutral",hn.POSITIVE="positive",hn.WARNING="warning",hn.PENDING="pending",hn.INFO="info",hn.ERROR="error",hn.SUCCESS="success",(mn=re.ProfileType||(re.ProfileType={})).BUSINESS="BUSINESS",mn.PERSONAL="PERSONAL",(gn=re.Variant||(re.Variant={})).DESKTOP="desktop",gn.MOBILE="mobile",(fr=re.Scroll||(re.Scroll={})).CONTENT="content",fr.VIEWPORT="viewport",(gr=re.MarkdownNodeType||(re.MarkdownNodeType={})).BLOCK_QUOTE="block_quote",gr.CODE_BLOCK="code_block",gr.CODE="code",gr.EMPH="emph",gr.HEADING="heading",gr.HTML_BLOCK="html_block",gr.HTML_INLINE="html_inline",gr.IMAGE="image",gr.ITEM="item",gr.LINEBREAK="linebreak",gr.LINK="link",gr.LIST="list",gr.PARAGRAPH="paragraph",gr.SOFTBREAK="softbreak",gr.STRONG="strong",gr.THEMATIC_BREAK="thematic_break",(Or=re.FileType||(re.FileType={})).PDF=".pdf,application/pdf",Or.JPG=".jpg,.jpeg,image/jpeg",Or.PNG=".png,image/png",Or.CSV=".csv,text/csv";var h={ENTER:"Enter",ESCAPE:"Escape",SPACE:[" ","Spacebar"],TAB:"Tab",PERIOD:".",COMMA:","},g="en-GB",y=["ar","he"],v=["en","de","es","fr","hu","id","it","ja","pl","pt","ro","ru","th","tr","uk","zh"];function O(e){if(!e||0===e.trim().length)return null;try{return new Intl.Locale(e.trim().replace("_","-")).baseName}catch(e){return console.error(e),null}}function C(e){e=O(e);if(null===e)return null;try{var t=new Intl.Locale(e).region;return null!=t?t:null}catch(e){return console.error(e),null}}function w(e){try{var t=O(e),n=new Intl.Locale(t).language;return y.includes(n)?re.Direction.RTL:re.Direction.LTR}catch(e){return console.error(e),re.Direction.LTR}}var E=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var de=function(){try{if(!Object.assign)return;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},r)).join("")?void 0:1}catch(e){return}}()?Object.assign:function(e,t){for(var n,r=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))T.call(n,a)&&(r[a]=n[a]);if(E)for(var i=E(n),l=0;l<i.length;l++)x.call(n,i[l])&&(r[i[l]]=n[i[l]])}return r},D=o(function(e,t){var n,l=60103;t.Fragment=60107,"function"==typeof Symbol&&Symbol.for&&(l=(n=Symbol.for)("react.element"),t.Fragment=n("react.fragment"));var s=Ne.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function r(e,t,n){var r,o={},a=null,i=null;for(r in void 0!==n&&(a=""+n),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(i=t.ref),t)u.call(t,r)&&!c.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:l,type:e,key:a,ref:i,props:o,_owner:s.current}}t.jsx=r,t.jsxs=r}),A=(D.Fragment,D.jsx,D.jsxs,o(function(e,pe){"production"!==process.env.NODE_ENV&&function(){var e=Ne.default,d=de,f=60103,r=60106;pe.Fragment=60107;var t,h=60108,m=60114,g=60109,y=60110,b=60112,v=60113,O=60120,w=60115,E=60116,T=60121,S=60122,C=60117,x=60129,D=60131;"function"==typeof Symbol&&Symbol.for&&(f=(t=Symbol.for)("react.element"),r=t("react.portal"),pe.Fragment=t("react.fragment"),h=t("react.strict_mode"),m=t("react.profiler"),g=t("react.provider"),y=t("react.context"),b=t("react.forward_ref"),v=t("react.suspense"),O=t("react.suspense_list"),w=t("react.memo"),E=t("react.lazy"),T=t("react.block"),S=t("react.server.block"),C=t("react.fundamental"),t("react.scope"),t("react.opaque.id"),x=t("react.debug_trace_mode"),t("react.offscreen"),D=t("react.legacy_hidden"));var l="function"==typeof Symbol&&Symbol.iterator,s="@@iterator";var o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function A(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];!function(e,t,n){var r=o.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));n=n.map(function(e){return""+e});n.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,n)}("error",e,n)}var N=!1;function a(e){return e.displayName||"Context"}function P(e){if(null==e)return null;if("number"==typeof e.tag&&A("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case pe.Fragment:return"Fragment";case r:return"Portal";case m:return"Profiler";case h:return"StrictMode";case v:return"Suspense";case O:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case y:return a(e)+".Consumer";case g:return a(e._context)+".Provider";case b:return t=e.render,n="ForwardRef",t=t.displayName||t.name||"",e.displayName||(""!==t?n+"("+t+")":n);case w:return P(e.type);case T:return P(e._render);case E:t=e._payload,n=e._init;try{return P(n(t))}catch(e){return null}}var t,n;return null}var k,L,R,I,_,M,j,U=0;function B(){}var n,F=o.ReactCurrentDispatcher;function q(e){if(void 0===n)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);n=t&&t[1]||""}return"\n"+n+e}var z=!(B.__reactDisabledLog=!0),G=new("function"==typeof WeakMap?WeakMap:Map);function i(t,e){if(!t||z)return"";var n,r=G.get(t);if(void 0!==r)return r;z=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=F.current,F.current=null,0===U&&(k=console.log,L=console.info,R=console.warn,I=console.error,_=console.group,M=console.groupCollapsed,j=console.groupEnd,r={configurable:!0,enumerable:!0,value:B,writable:!0},Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})),U++;try{if(e){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(i,[])}catch(e){n=e}Reflect.construct(t,[],i)}else{try{i.call()}catch(e){n=e}t.call(i.prototype)}}else{try{throw Error()}catch(e){n=e}t()}}catch(e){if(e&&n&&"string"==typeof e.stack){for(var l=e.stack.split("\n"),s=n.stack.split("\n"),u=l.length-1,c=s.length-1;1<=u&&0<=c&&l[u]!==s[c];)c--;for(;1<=u&&0<=c;u--,c--)if(l[u]!==s[c]){if(1!==u||1!==c)do{if(u--,--c<0||l[u]!==s[c]){var p="\n"+l[u].replace(" at new "," at ");return"function"==typeof t&&G.set(t,p),p}}while(1<=u&&0<=c);break}}}finally{z=!1,F.current=o,0===--U&&(o={configurable:!0,enumerable:!0,writable:!0},Object.defineProperties(console,{log:d({},o,{value:k}),info:d({},o,{value:L}),warn:d({},o,{value:R}),error:d({},o,{value:I}),group:d({},o,{value:_}),groupCollapsed:d({},o,{value:M}),groupEnd:d({},o,{value:j})})),U<0&&A("disabledDepth fell below zero. This is a bug in React. Please file an issue."),Error.prepareStackTrace=a}a=t?t.displayName||t.name:"",a=a?q(a):"";return"function"==typeof t&&G.set(t,a),a}function u(e){return i(e,!1)}function c(e,t,n){if(null==e)return"";if("function"==typeof e)return i(e,!(!(r=(r=e).prototype)||!r.isReactComponent));var r;if("string"==typeof e)return q(e);switch(e){case v:return q("Suspense");case O:return q("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case b:return u(e.render);case w:return c(e.type,t,n);case T:return u(e._render);case E:var o=e._payload,a=e._init;try{return c(a(o),t,n)}catch(e){}}return""}var p={},V=o.ReactDebugCurrentFrame;function H(e){var t;e?(t=e._owner,t=c(e.type,e._source,t?t.type:null),V.setExtraStackFrame(t)):V.setExtraStackFrame(null)}var Y,W,K=o.ReactCurrentOwner,Z=Object.prototype.hasOwnProperty,X={key:!0,ref:!0,__self:!0,__source:!0};var $={},J=function(e,t,n,r,o,a,i){a={$$typeof:f,type:e,key:t,ref:n,props:i,_owner:a,_store:{}};return Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function Q(e,t,n,r,o){var a,i,l,s,u,c={},p=null,d=null;for(a in void 0!==n&&(p=""+n),function(e){if(Z.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return}return void 0!==e.key}(t)&&(p=""+t.key),function(e){if(Z.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return}return void 0!==e.ref}(t)&&(d=t.ref,u=o,"string"==typeof(n=t).ref&&K.current&&u&&K.current.stateNode!==u&&(u=P(K.current.type),$[u]||(A('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',P(K.current.type),n.ref),$[u]=!0))),t)Z.call(t,a)&&!X.hasOwnProperty(a)&&(c[a]=t[a]);if(e&&e.defaultProps){var f=e.defaultProps;for(a in f)void 0===c[a]&&(c[a]=f[a])}return(p||d)&&(u="function"==typeof e?e.displayName||e.name||"Unknown":e,p&&(l=c,s=u,m.isReactWarning=!0,Object.defineProperty(l,"key",{get:m,configurable:!0})),d&&(l=c,i=u,h.isReactWarning=!0,Object.defineProperty(l,"ref",{get:h,configurable:!0}))),J(e,p,d,o,r,K.current,c);function h(){W||(W=!0,A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",i))}function m(){Y||(Y=!0,A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",s))}}var ee=o.ReactCurrentOwner,te=o.ReactDebugCurrentFrame;function ne(e){var t;e?(t=e._owner,t=c(e.type,e._source,t?t.type:null),te.setExtraStackFrame(t)):te.setExtraStackFrame(null)}function re(e){return"object"==typeof e&&null!==e&&e.$$typeof===f}function oe(){if(ee.current){var e=P(ee.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}var ae=!1,ie={};function le(e,t){var n;e._store&&!e._store.validated&&null==e.key&&(e._store.validated=!0,n=t,(t=oe())||(n="string"==typeof n?n:n.displayName||n.name)&&(t="\n\nCheck the top-level render call using <"+n+">."),ie[n=t]||(ie[n]=!0,t="",e&&e._owner&&e._owner!==ee.current&&(t=" It was passed a child from "+P(e._owner.type)+"."),ne(e),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,t),ne(null)))}function se(e,t){if("object"==typeof e)if(Array.isArray(e))for(var n=0;n<e.length;n++){var r=e[n];re(r)&&le(r,t)}else if(re(e))e._store&&(e._store.validated=!0);else if(e){var o=null!==(o=e)&&"object"==typeof o&&"function"==typeof(o=l&&o[l]||o[s])?o:null;if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)re(a.value)&&le(a.value,t)}}function ue(e){var t,n,r=e.type;if(null!=r&&"string"!=typeof r){if("function"==typeof r)t=r.propTypes;else{if("object"!=typeof r||r.$$typeof!==b&&r.$$typeof!==w)return;t=r.propTypes}t?(n=P(r),function(e,t,n,r,o){var a,i=Function.call.bind(Object.prototype.hasOwnProperty);for(a in e)if(i(e,a)){var l=void 0;try{if("function"!=typeof e[a]){var s=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}l=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){l=e}!l||l instanceof Error||(H(o),A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,a,typeof l),H(null)),l instanceof Error&&!(l.message in p)&&(p[l.message]=!0,H(o),A("Failed %s type: %s",n,l.message),H(null))}}(t,e.props,"prop",n,e)):void 0===r.PropTypes||ae||(ae=!0,A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",P(r)||"Unknown")),"function"!=typeof r.getDefaultProps||r.getDefaultProps.isReactClassApproved||A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ce(e,t,n,r,o,a){var i,l,s="string"==typeof(u=e)||"function"==typeof u||(!(u!==pe.Fragment&&u!==m&&u!==x&&u!==h&&u!==v&&u!==O&&u!==D&&!N)||"object"==typeof u&&null!==u&&(u.$$typeof===E||u.$$typeof===w||u.$$typeof===g||u.$$typeof===y||u.$$typeof===b||u.$$typeof===C||u.$$typeof===T||u[0]===S));s||(i="",(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),i+=(void 0===(u=o)?"":"\n\nCheck your code at "+u.fileName.replace(/^.*[\\\/]/,"")+":"+u.lineNumber+".")||oe(),null===e?l="null":Array.isArray(e)?l="array":void 0!==e&&e.$$typeof===f?(l="<"+(P(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",l,i));var u,a=Q(e,t,n,o,a);if(null==a)return a;if(s){var c=t.children;if(void 0!==c)if(r)if(Array.isArray(c)){for(var p=0;p<c.length;p++)se(c[p],e);Object.freeze&&Object.freeze(c)}else A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else se(c,e)}return(e===pe.Fragment?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){ne(e),A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),ne(null);break}}null!==e.ref&&(ne(e),A("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null))}:ue)(a),a}e=function(e,t,n){return ce(e,t,n,!0)};pe.jsx=function(e,t,n){return ce(e,t,n,!1)},pe.jsxs=e}()})),N=(A.Fragment,A.jsx,A.jsxs,o(function(e){"production"===process.env.NODE_ENV?e.exports=D:e.exports=A})),ce=N.jsx,pe=N.jsxs,M=N.Fragment,P=["as","type","className"];function k(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function L(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?k(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var R=re.Typography.TITLE_GROUP,I=(le(Nr={},re.Typography.TITLE_SCREEN,"h1"),le(Nr,re.Typography.TITLE_SECTION,"h2"),le(Nr,re.Typography.TITLE_SUBSECTION,"h3"),le(Nr,re.Typography.TITLE_BODY,"h4"),le(Nr,re.Typography.TITLE_GROUP,"h5"),Nr);function _(e){var t=e.as,n=e.type,r=void 0===n?R:n,o=e.className,n=b(e,P),e=I[r];if(void 0!==e){e=null!=t?t:"".concat(e);return ce(e,L(L({},n),{},{className:se("np-text-".concat(r),o)}))}t=null!=t?t:"".concat(I[R]);return ce(t,L(L({},n),{},{className:se("np-text-".concat(R),o)}))}var j=["as","type","className"];function U(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function B(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?U(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var F=re.Typography.BODY_DEFAULT,q=new Set([re.Typography.BODY_DEFAULT,re.Typography.BODY_DEFAULT_BOLD,re.Typography.BODY_LARGE,re.Typography.BODY_LARGE_BOLD]),z=oe.forwardRef(function(e,t){var n=e.as,r=void 0===n?"div":n,o=e.type,a=void 0===o?F:o,n=e.className,o=b(e,j),e=q.has(a);return ce(r,B(B({},o),{},{ref:t,className:se("np-text-".concat(e?a:F),n)}))}),G=o(function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports});r(G);var V=o(function(e){e.exports=function(e){if(Array.isArray(e))return G(e)},e.exports.__esModule=!0,e.exports.default=e.exports});r(V);var H=o(function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports});r(H);var Y=o(function(e){e.exports=function(e,t){if(e){if("string"==typeof e)return G(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?G(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports});r(Y);var W=o(function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports});r(W);var K=r(o(function(e){e.exports=function(e){return V(e)||H(e)||Y(e)||W()},e.exports.__esModule=!0,e.exports.default=e.exports})),Z=o(function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports});r(Z);var X=o(function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports});r(X);var $=o(function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports});r($);function J(e){return e=e.className,ce("span",{className:se("tw-icon","tw-icon-chevron",e),role:"presentation","aria-hidden":!0,children:ce("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",focusable:"false",children:ce("path",{fillRule:"evenodd",d:"M4.9995 2.0865L0.0635004 6.7645L1.2745 7.9125L4.9995 4.3835L8.7245 7.9135L9.9355 6.7645L4.9995 2.0865Z"})})})}var fe=r(o(function(e){e.exports=function(e,t){return Z(e)||X(e,t)||Y(e,t)||$()},e.exports.__esModule=!0,e.exports.default=e.exports})),Q=(le(Pr={},re.Size.EXTRA_SMALL,10),le(Pr,re.Size.SMALL,16),le(Pr,re.Size.MEDIUM,24),Pr);J.propTypes={className:l.default.string},J.defaultProps={className:null};function he(e){var t=e.orientation,n=e.size,r=e.disabled,e=e.className,e=se("tw-chevron",{"chevron-color":!r},"".concat([t]).toLowerCase(),e);return n===re.Size.EXTRA_SMALL?ce(J,{className:e}):ce(S.ChevronUp,{className:e,size:Q[n]})}he.propTypes={orientation:l.default.oneOf(["top","bottom","left","right"]),size:l.default.oneOf(["xs","sm","md"]),disabled:l.default.bool,className:l.default.string},he.defaultProps={orientation:re.Position.BOTTOM,size:re.Size.SMALL,disabled:!1,className:null};var ee=["media","title","content","as","button","decision","disabled","complex","inverseMediaCircle","className","showMediaAtAllSizes","showMediaCircle","isContainerAligned"];function te(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function ne(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?te(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function me(e){var t=e["aria-label"],n=e.id,r=e.title,o=e.content,a=e.onClick,i=e.open,l=e.icon,s=e.theme,u=ae.useTheme().isModern,e=l?oe.cloneElement(l,{size:24}):null;return pe("div",{id:n,className:se("np-accordion-item","np-accordion-item--".concat(s),e?"np-accordion-item--with-icon":null,{"np-accordion-item--open":i}),children:[ce(ge,{"aria-label":t,as:"button",type:"button",media:e,title:r,button:ce(he,{orientation:i?re.Position.TOP:re.Position.DOWN,size:u?re.Size.MEDIUM:re.Size.SMALL}),inverseMediaCircle:!1,onClick:a}),i&&ce(z,{as:"span",type:re.Typography.BODY_LARGE,className:se("np-accordion-item__content","d-block",{"has-icon":l}),children:o})]})}var ge=oe.forwardRef(function(e,t){var n=e.media,r=void 0===n?"":n,o=e.title,a=e.content,i=e.as,l=e.button,s=e.decision,u=void 0===s||s,c=e.disabled,p=void 0!==c&&c,d=e.complex,f=e.inverseMediaCircle,h=void 0===f||f,n=e.className,s=e.showMediaAtAllSizes,c=e.showMediaCircle,f=void 0===c||c,c=e.isContainerAligned,c=void 0!==c&&c,e=b(e,ee),i=null!==i&&void 0!==i?i:"label";return ce(i,ne(ne({},e),{},{ref:t,className:se("np-option",n,{"decision-complex":d,decision:u,disabled:p,"np-option__sm-media":s,"np-option__container-aligned":c}),disabled:p&&"button"===i,children:pe("div",{className:"media",children:[r&&ce("div",{className:"media-left",children:ce("div",f?{className:se("circle circle-sm text-primary",{"circle-inverse":h}),children:r}:{className:"np-option__no-media-circle",children:r})}),pe("div",{className:"media-body",children:[ce(z,{as:"span",type:re.Typography.BODY_LARGE_BOLD,className:"text-primary np-option__title d-block",children:o}),a&&ce(z,{className:"d-block np-option__body",children:a})]}),ce("div",{className:"media-right",children:l})]})}))});function ye(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function be(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ye(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}me.propTypes={"aria-label":l.default.string,content:l.default.node.isRequired,icon:l.default.node,id:l.default.string,open:l.default.bool.isRequired,onClick:l.default.func.isRequired,title:l.default.node.isRequired,theme:l.default.oneOf(["light","dark"])},me.defaultProps={"aria-label":void 0,icon:null,id:null,theme:re.Theme.LIGHT};function ve(e){var t=e.items,n=e.onClick,r=e.indexOpen,o=e.theme,e=oe.useState(function(){return t.map(function(e,t){return t===r})}),a=(e=fe(e,2))[0],i=e[1];return t.map(function(e,t){return ce(me,be(be({open:a[t],onClick:function(){return function(e){n&&n(e);var t=K(a);t[e]=!a[e],i(t)}(t)}},e),{},{theme:o}),e.id||t)})}ve.propTypes={indexOpen:l.default.number,items:l.default.arrayOf(l.default.shape({id:l.default.string,title:l.default.node.isRequired,content:l.default.node.isRequired,icon:l.default.node})).isRequired,onClick:l.default.func,theme:l.default.oneOf(["light","dark"])},ve.defaultProps={indexOpen:-1,onClick:null,theme:re.Theme.LIGHT};var Oe=["disabled","className","onClick","text","children"];function we(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Ee(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?we(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):we(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Te=oe.forwardRef(function(e,t){var n=e.disabled,r=void 0!==n&&n,o=e.className,a=void 0===o?void 0:o,i=e.onClick,n=e.text,o=e.children,e=b(e,Oe);return ce("button",Ee(Ee({ref:t,type:"button",className:se("np-action-btn","np-text-body-default-bold",a),disabled:r,onClick:i},e),{},{children:o||n}))});function Se(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Ce(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Se(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Se(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var xe=function(r,o){return function(e,t,n){return"function"!=typeof r?new Error("Invalid react-required-if prop type supplied to "+n+". Validation failed."):"function"!=typeof o?new Error("Invalid react-required-if condition supplied to "+n+". Validation failed."):(o(e)?r.isRequired:r).apply(this,arguments)}},De=ie.defineMessages({ariaLabel:{id:"neptune.CloseButton.ariaLabel"}}),Ae=oe.forwardRef(function(e,t){var n=e["aria-label"],r=e.size,o=void 0===r?re.Size.MEDIUM:r,a=e.filled,i=void 0!==a&&a,l=e.className,r=e.onClick,a=ie.useIntl();null!==(e=n)&&void 0!==e||(n=a.formatMessage(De.ariaLabel));i=i?S.CrossCircleFill:S.Cross;return ce("button",{ref:t,type:"button",className:se("np-close-button","close btn-link","text-no-decoration",{"np-close-button--large":o===re.Size.MEDIUM,"np-close-button--x-large":o===re.Size.LARGE},l),"aria-label":n,onClick:r,children:ce(i,{size:o===re.Size.SMALL?16:24})})}),Le=["className","children","href","target","type","aria-label","onClick"];function Re(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Ie(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Re(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function _e(e){var t=e.className,n=e.children,r=e.href,o=e.target,a=e.type,i=e["aria-label"],l=e.onClick,s=b(e,Le),e="_blank"===o;return pe("a",Ie(Ie({href:r,target:o,className:se("np-link",a?"np-text-".concat(a):void 0,"d-inline-flex",t),"aria-label":i,rel:e?"noreferrer":void 0,onClick:l},s),{},{children:[n,e&&ce(S.NavigateAway,{})]}))}function Me(e){var t=void 0===(r=e.sentiment)?re.Sentiment.NEUTRAL:r,n=e.size,e=(le(r={},re.Sentiment.POSITIVE,S.Check),le(r,re.Sentiment.NEUTRAL,S.Info),le(r,re.Sentiment.WARNING,S.Alert),le(r,re.Sentiment.NEGATIVE,S.Cross),le(r,re.Sentiment.PENDING,S.ClockBorderless),le(r,re.Sentiment.INFO,S.Info),le(r,re.Sentiment.ERROR,S.Cross),le(r,re.Sentiment.SUCCESS,S.Check),r),r=[re.Sentiment.WARNING,re.Sentiment.PENDING].includes(t)?"dark":"light",e=e[t];return ce("span",{"data-testid":"status-icon",className:se("status-circle","status-circle-"+n,t),children:ce(e,{className:se("status-icon",r)})})}function je(e){var t,n;["development","test"].includes(null===(t=process)||void 0===t||null===(n=t.env)||void 0===n?void 0:n.NODE_ENV)&&console.warn(e)}function Ue(e,t){t&&je(e)}var Be=function(u,e){var c=e.component,t=e.message,p=void 0===t?"":t,t=e.newProp,d=void 0===t?null:t,e=e.expiryDate,f=void 0===e?null:e;return function(e,t){var n,r,o,a=d?"Please use ".concat(d," instead."):p;null!=e[t]&&void 0!==e[t]&&je((r=(n={component:c,propName:t,message:a,expiryDate:f}).component,o=n.propName,a=n.message,n=n.expiryDate,r=["".concat(r," has deprecated the use of ").concat(o,".")],a&&r.push(a),n&&r.push("".concat(o," will be removed on or after ").concat(n.toLocaleString("en-GB",{year:"numeric",month:"numeric",day:"numeric"}))),r.join(" ")));for(var i=arguments.length,l=new Array(2<i?i-2:0),s=2;s<i;s++)l[s-2]=arguments[s];return u.apply(void 0,[e,t].concat(l))}};function Fe(e){switch(e._type){case"document":case"block_quote":case"list":case"item":case"paragraph":case"heading":case"emph":case"strong":case"link":case"image":case"custom_inline":case"custom_block":return!0;default:return!1}}function qe(e,t){this.current=e,this.entering=!0===t}function ze(){var e=this.current,t=this.entering;if(null===e)return null;var n=Fe(e);return t&&n?e._firstChild?(this.current=e._firstChild,this.entering=!0):this.entering=!1:e===this.root?this.current=null:null===e._next?(this.current=e._parent,this.entering=!1):(this.current=e._next,this.entering=!0),{entering:t,node:e}}function Ge(e){return{current:e,root:e,entering:!0,next:ze,resumeAt:qe}}var Ve=function(e,t){this._type=e,this._parent=null,this._firstChild=null,this._lastChild=null,this._prev=null,this._next=null,this._sourcepos=t,this._lastLineBlank=!1,this._lastLineChecked=!1,this._open=!0,this._string_content=null,this._literal=null,this._listData={},this._info=null,this._destination=null,this._title=null,this._isFenced=!1,this._fenceChar=null,this._fenceLength=0,this._fenceOffset=null,this._level=null,this._onEnter=null,this._onExit=null},He=Ve.prototype;Object.defineProperty(He,"isContainer",{get:function(){return Fe(this)}}),Object.defineProperty(He,"type",{get:function(){return this._type}}),Object.defineProperty(He,"firstChild",{get:function(){return this._firstChild}}),Object.defineProperty(He,"lastChild",{get:function(){return this._lastChild}}),Object.defineProperty(He,"next",{get:function(){return this._next}}),Object.defineProperty(He,"prev",{get:function(){return this._prev}}),Object.defineProperty(He,"parent",{get:function(){return this._parent}}),Object.defineProperty(He,"sourcepos",{get:function(){return this._sourcepos}}),Object.defineProperty(He,"literal",{get:function(){return this._literal},set:function(e){this._literal=e}}),Object.defineProperty(He,"destination",{get:function(){return this._destination},set:function(e){this._destination=e}}),Object.defineProperty(He,"title",{get:function(){return this._title},set:function(e){this._title=e}}),Object.defineProperty(He,"info",{get:function(){return this._info},set:function(e){this._info=e}}),Object.defineProperty(He,"level",{get:function(){return this._level},set:function(e){this._level=e}}),Object.defineProperty(He,"listType",{get:function(){return this._listData.type},set:function(e){this._listData.type=e}}),Object.defineProperty(He,"listTight",{get:function(){return this._listData.tight},set:function(e){this._listData.tight=e}}),Object.defineProperty(He,"listStart",{get:function(){return this._listData.start},set:function(e){this._listData.start=e}}),Object.defineProperty(He,"listDelimiter",{get:function(){return this._listData.delimiter},set:function(e){this._listData.delimiter=e}}),Object.defineProperty(He,"onEnter",{get:function(){return this._onEnter},set:function(e){this._onEnter=e}}),Object.defineProperty(He,"onExit",{get:function(){return this._onExit},set:function(e){this._onExit=e}}),Ve.prototype.appendChild=function(e){e.unlink(),(e._parent=this)._lastChild?(this._lastChild._next=e)._prev=this._lastChild:this._firstChild=e,this._lastChild=e},Ve.prototype.prependChild=function(e){e.unlink(),(e._parent=this)._firstChild?((this._firstChild._prev=e)._next=this._firstChild,this._firstChild=e):(this._firstChild=e,this._lastChild=e)},Ve.prototype.unlink=function(){this._prev?this._prev._next=this._next:this._parent&&(this._parent._firstChild=this._next),this._next?this._next._prev=this._prev:this._parent&&(this._parent._lastChild=this._prev),this._parent=null,this._next=null,this._prev=null},Ve.prototype.insertAfter=function(e){e.unlink(),e._next=this._next,e._next&&(e._next._prev=e),((e._prev=this)._next=e)._parent=this._parent,e._next||(e._parent._lastChild=e)},Ve.prototype.insertBefore=function(e){e.unlink(),e._prev=this._prev,e._prev&&(e._prev._next=e),((e._next=this)._prev=e)._parent=this._parent,e._prev||(e._parent._firstChild=e)},Ve.prototype.walker=function(){return new Ge(this)};var Ye=Ve,We={};function Ke(e,t,n){var r,o,a,i,l,s="";for("string"!=typeof t&&(n=t,t=Ke.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,r=We[e];if(r)return r;for(r=We[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)r[e.charCodeAt(t)]=e[t];return r}(t),r=0,o=e.length;r<o;r++)a=e.charCodeAt(r),n&&37===a&&r+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(r+1,r+3))?(s+=e.slice(r,r+3),r+=2):a<128?s+=l[a]:55296<=a&&a<=57343?55296<=a&&a<=56319&&r+1<o&&56320<=(i=e.charCodeAt(r+1))&&i<=57343?(s+=encodeURIComponent(e[r]+e[r+1]),r++):s+="%EF%BF%BD":s+=encodeURIComponent(e[r]);return s}Ke.defaultChars=";/?:@&=+$,-_.!~*'()#",Ke.componentChars="-_.!~*'()";var Ze=Ke,e=i(Object.freeze({__proto__:null,amp:"&",apos:"'",gt:">",lt:"<",quot:'"',default:{amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}})),Xe=i(Object.freeze({__proto__:null,Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:"",default:{Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}})),$e=tt(e),Je=lt($e,nt($e)),Qe=tt(Xe),et=lt(Qe,nt(Qe));function tt(n){return Object.keys(n).sort().reduce(function(e,t){return e[n[t]]="&"+t+";",e},{})}function nt(e){var t=[],n=[];return Object.keys(e).forEach(function(e){1===e.length?t.push("\\"+e):n.push(e)}),n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}var rt=/[^\0-\x7F]/g,ot=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function at(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function it(e){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function lt(t,n){function r(e){return t[e]}return function(e){return e.replace(n,r).replace(ot,it).replace(rt,at)}}var st=nt($e);var ut={XML:Je,HTML:et,escape:function(e){return e.replace(st,at).replace(ot,it).replace(rt,at)}},ct=i(Object.freeze({__proto__:null,default:{0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}})),pt=function(e){if(55296<=e&&e<=57343||1114111<e)return"�";e in ct&&(e=ct[e]);var t="";65535<e&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e);return t+=String.fromCharCode(e)};var dt=i(Object.freeze({__proto__:null,Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ",default:{Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}})),ft=mt(e),ht=mt(Xe);function mt(e){var t=Object.keys(e).join("|"),n=yt(e);t+="|#[xX][\\da-fA-F]+|#\\d+";var r=new RegExp("&(?:"+t+");","g");return function(e){return String(e).replace(r,n)}}function gt(e,t){return e<t?1:-1}function yt(t){return function(e){return"#"===e.charAt(1)?"X"===e.charAt(2)||"x"===e.charAt(2)?pt(parseInt(e.substr(3),16)):pt(parseInt(e.substr(2),10)):t[e.slice(1,-1)]}}function bt(e){return 92===e.charCodeAt(0)?e.charAt(1):Tt(e)}function vt(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return e}}function Ot(e){return e.slice(1,e.length-1).trim().replace(It,function(e){return _t[e]||" "})}var wt={XML:ft,HTML:function(){for(var e=Object.keys(dt).sort(gt),t=Object.keys(Xe).sort(gt),n=0,r=0;n<t.length;n++)e[r]===t[n]?(t[n]+=";?",r++):t[n]+=";";var o=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),a=yt(Xe);function i(e){return";"!==e.substr(-1)&&(e+=";"),a(e)}return function(e){return String(e).replace(o,i)}}(),HTMLStrict:ht},Et=o(function(e,t){t.decode=function(e,t){return(!t||t<=0?wt.XML:wt.HTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?wt.XML:wt.HTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?ut.XML:ut.HTML)(e)},t.encodeXML=ut.XML,t.encodeHTML4=t.encodeHTML5=t.encodeHTML=ut.HTML,t.decodeXML=t.decodeXMLStrict=wt.XML,t.decodeHTML4=t.decodeHTML5=t.decodeHTML=wt.HTML,t.decodeHTML4Strict=t.decodeHTML5Strict=t.decodeHTMLStrict=wt.HTMLStrict,t.escape=ut.escape}),Tt=(Et.decode,Et.decodeStrict,Et.encode,Et.encodeXML,Et.encodeHTML4,Et.encodeHTML5,Et.encodeHTML,Et.decodeXML,Et.decodeXMLStrict,Et.decodeHTML4,Et.decodeHTML5,Et.decodeHTML,Et.decodeHTML4Strict,Et.decodeHTML5Strict,Et.decodeHTMLStrict,Et.escape,Et.decodeHTML),St="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",Ct="[A-Za-z][A-Za-z0-9-]*",xt="<"+Ct+"(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*/?>",Dt="</"+Ct+"\\s*[>]",At=new RegExp("^(?:<[A-Za-z][A-Za-z0-9-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*/?>|</[A-Za-z][A-Za-z0-9-]*\\s*[>]|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|[<][?].*?[?][>]|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)","i"),Nt=/[\\&]/,Pt="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",kt=new RegExp("\\\\"+Pt+"|"+St,"gi"),Lt=new RegExp('[&<>"]',"g"),Rt={unescapeString:function(e){return Nt.test(e)?e.replace(kt,bt):e},normalizeURI:function(t){try{return Ze(t)}catch(e){return t}},escapeXml:function(e){return Lt.test(e)?e.replace(Lt,vt):e},reHtmlTag:At,OPENTAG:xt,CLOSETAG:Dt,ENTITY:St,ESCAPABLE:Pt},It=/[ \t\r\n]+|[A-Z\xB5\xC0-\xD6\xD8-\xDF\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u0149\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u017F\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C5\u01C7\u01C8\u01CA\u01CB\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F0-\u01F2\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0345\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03AB\u03B0\u03C2\u03CF-\u03D1\u03D5\u03D6\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F0\u03F1\u03F4\u03F5\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u0587\u10A0-\u10C5\u10C7\u10CD\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E96-\u1E9B\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F50\u1F52\u1F54\u1F56\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1F80-\u1FAF\u1FB2-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD2\u1FD3\u1FD6-\u1FDB\u1FE2-\u1FE4\u1FE6-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A\u212B\u2132\u2160-\u216F\u2183\u24B6-\u24CF\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0\uA7B1\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A]|\uD801[\uDC00-\uDC27]|\uD806[\uDCA0-\uDCBF]/g,_t={A:"a",B:"b",C:"c",D:"d",E:"e",F:"f",G:"g",H:"h",I:"i",J:"j",K:"k",L:"l",M:"m",N:"n",O:"o",P:"p",Q:"q",R:"r",S:"s",T:"t",U:"u",V:"v",W:"w",X:"x",Y:"y",Z:"z","µ":"μ","À":"à","Á":"á","Â":"â","Ã":"ã","Ä":"ä","Å":"å","Æ":"æ","Ç":"ç","È":"è","É":"é","Ê":"ê","Ë":"ë","Ì":"ì","Í":"í","Î":"î","Ï":"ï","Ð":"ð","Ñ":"ñ","Ò":"ò","Ó":"ó","Ô":"ô","Õ":"õ","Ö":"ö","Ø":"ø","Ù":"ù","Ú":"ú","Û":"û","Ü":"ü","Ý":"ý","Þ":"þ","Ā":"ā","Ă":"ă","Ą":"ą","Ć":"ć","Ĉ":"ĉ","Ċ":"ċ","Č":"č","Ď":"ď","Đ":"đ","Ē":"ē","Ĕ":"ĕ","Ė":"ė","Ę":"ę","Ě":"ě","Ĝ":"ĝ","Ğ":"ğ","Ġ":"ġ","Ģ":"ģ","Ĥ":"ĥ","Ħ":"ħ","Ĩ":"ĩ","Ī":"ī","Ĭ":"ĭ","Į":"į","IJ":"ij","Ĵ":"ĵ","Ķ":"ķ","Ĺ":"ĺ","Ļ":"ļ","Ľ":"ľ","Ŀ":"ŀ","Ł":"ł","Ń":"ń","Ņ":"ņ","Ň":"ň","Ŋ":"ŋ","Ō":"ō","Ŏ":"ŏ","Ő":"ő","Œ":"œ","Ŕ":"ŕ","Ŗ":"ŗ","Ř":"ř","Ś":"ś","Ŝ":"ŝ","Ş":"ş","Š":"š","Ţ":"ţ","Ť":"ť","Ŧ":"ŧ","Ũ":"ũ","Ū":"ū","Ŭ":"ŭ","Ů":"ů","Ű":"ű","Ų":"ų","Ŵ":"ŵ","Ŷ":"ŷ","Ÿ":"ÿ","Ź":"ź","Ż":"ż","Ž":"ž","ſ":"s","Ɓ":"ɓ","Ƃ":"ƃ","Ƅ":"ƅ","Ɔ":"ɔ","Ƈ":"ƈ","Ɖ":"ɖ","Ɗ":"ɗ","Ƌ":"ƌ","Ǝ":"ǝ","Ə":"ə","Ɛ":"ɛ","Ƒ":"ƒ","Ɠ":"ɠ","Ɣ":"ɣ","Ɩ":"ɩ","Ɨ":"ɨ","Ƙ":"ƙ","Ɯ":"ɯ","Ɲ":"ɲ","Ɵ":"ɵ","Ơ":"ơ","Ƣ":"ƣ","Ƥ":"ƥ","Ʀ":"ʀ","Ƨ":"ƨ","Ʃ":"ʃ","Ƭ":"ƭ","Ʈ":"ʈ","Ư":"ư","Ʊ":"ʊ","Ʋ":"ʋ","Ƴ":"ƴ","Ƶ":"ƶ","Ʒ":"ʒ","Ƹ":"ƹ","Ƽ":"ƽ","DŽ":"dž","Dž":"dž","LJ":"lj","Lj":"lj","NJ":"nj","Nj":"nj","Ǎ":"ǎ","Ǐ":"ǐ","Ǒ":"ǒ","Ǔ":"ǔ","Ǖ":"ǖ","Ǘ":"ǘ","Ǚ":"ǚ","Ǜ":"ǜ","Ǟ":"ǟ","Ǡ":"ǡ","Ǣ":"ǣ","Ǥ":"ǥ","Ǧ":"ǧ","Ǩ":"ǩ","Ǫ":"ǫ","Ǭ":"ǭ","Ǯ":"ǯ","DZ":"dz","Dz":"dz","Ǵ":"ǵ","Ƕ":"ƕ","Ƿ":"ƿ","Ǹ":"ǹ","Ǻ":"ǻ","Ǽ":"ǽ","Ǿ":"ǿ","Ȁ":"ȁ","Ȃ":"ȃ","Ȅ":"ȅ","Ȇ":"ȇ","Ȉ":"ȉ","Ȋ":"ȋ","Ȍ":"ȍ","Ȏ":"ȏ","Ȑ":"ȑ","Ȓ":"ȓ","Ȕ":"ȕ","Ȗ":"ȗ","Ș":"ș","Ț":"ț","Ȝ":"ȝ","Ȟ":"ȟ","Ƞ":"ƞ","Ȣ":"ȣ","Ȥ":"ȥ","Ȧ":"ȧ","Ȩ":"ȩ","Ȫ":"ȫ","Ȭ":"ȭ","Ȯ":"ȯ","Ȱ":"ȱ","Ȳ":"ȳ","Ⱥ":"ⱥ","Ȼ":"ȼ","Ƚ":"ƚ","Ⱦ":"ⱦ","Ɂ":"ɂ","Ƀ":"ƀ","Ʉ":"ʉ","Ʌ":"ʌ","Ɇ":"ɇ","Ɉ":"ɉ","Ɋ":"ɋ","Ɍ":"ɍ","Ɏ":"ɏ","ͅ":"ι","Ͱ":"ͱ","Ͳ":"ͳ","Ͷ":"ͷ","Ϳ":"ϳ","Ά":"ά","Έ":"έ","Ή":"ή","Ί":"ί","Ό":"ό","Ύ":"ύ","Ώ":"ώ","Α":"α","Β":"β","Γ":"γ","Δ":"δ","Ε":"ε","Ζ":"ζ","Η":"η","Θ":"θ","Ι":"ι","Κ":"κ","Λ":"λ","Μ":"μ","Ν":"ν","Ξ":"ξ","Ο":"ο","Π":"π","Ρ":"ρ","Σ":"σ","Τ":"τ","Υ":"υ","Φ":"φ","Χ":"χ","Ψ":"ψ","Ω":"ω","Ϊ":"ϊ","Ϋ":"ϋ","ς":"σ","Ϗ":"ϗ","ϐ":"β","ϑ":"θ","ϕ":"φ","ϖ":"π","Ϙ":"ϙ","Ϛ":"ϛ","Ϝ":"ϝ","Ϟ":"ϟ","Ϡ":"ϡ","Ϣ":"ϣ","Ϥ":"ϥ","Ϧ":"ϧ","Ϩ":"ϩ","Ϫ":"ϫ","Ϭ":"ϭ","Ϯ":"ϯ","ϰ":"κ","ϱ":"ρ","ϴ":"θ","ϵ":"ε","Ϸ":"ϸ","Ϲ":"ϲ","Ϻ":"ϻ","Ͻ":"ͻ","Ͼ":"ͼ","Ͽ":"ͽ","Ѐ":"ѐ","Ё":"ё","Ђ":"ђ","Ѓ":"ѓ","Є":"є","Ѕ":"ѕ","І":"і","Ї":"ї","Ј":"ј","Љ":"љ","Њ":"њ","Ћ":"ћ","Ќ":"ќ","Ѝ":"ѝ","Ў":"ў","Џ":"џ","А":"а","Б":"б","В":"в","Г":"г","Д":"д","Е":"е","Ж":"ж","З":"з","И":"и","Й":"й","К":"к","Л":"л","М":"м","Н":"н","О":"о","П":"п","Р":"р","С":"с","Т":"т","У":"у","Ф":"ф","Х":"х","Ц":"ц","Ч":"ч","Ш":"ш","Щ":"щ","Ъ":"ъ","Ы":"ы","Ь":"ь","Э":"э","Ю":"ю","Я":"я","Ѡ":"ѡ","Ѣ":"ѣ","Ѥ":"ѥ","Ѧ":"ѧ","Ѩ":"ѩ","Ѫ":"ѫ","Ѭ":"ѭ","Ѯ":"ѯ","Ѱ":"ѱ","Ѳ":"ѳ","Ѵ":"ѵ","Ѷ":"ѷ","Ѹ":"ѹ","Ѻ":"ѻ","Ѽ":"ѽ","Ѿ":"ѿ","Ҁ":"ҁ","Ҋ":"ҋ","Ҍ":"ҍ","Ҏ":"ҏ","Ґ":"ґ","Ғ":"ғ","Ҕ":"ҕ","Җ":"җ","Ҙ":"ҙ","Қ":"қ","Ҝ":"ҝ","Ҟ":"ҟ","Ҡ":"ҡ","Ң":"ң","Ҥ":"ҥ","Ҧ":"ҧ","Ҩ":"ҩ","Ҫ":"ҫ","Ҭ":"ҭ","Ү":"ү","Ұ":"ұ","Ҳ":"ҳ","Ҵ":"ҵ","Ҷ":"ҷ","Ҹ":"ҹ","Һ":"һ","Ҽ":"ҽ","Ҿ":"ҿ","Ӏ":"ӏ","Ӂ":"ӂ","Ӄ":"ӄ","Ӆ":"ӆ","Ӈ":"ӈ","Ӊ":"ӊ","Ӌ":"ӌ","Ӎ":"ӎ","Ӑ":"ӑ","Ӓ":"ӓ","Ӕ":"ӕ","Ӗ":"ӗ","Ә":"ә","Ӛ":"ӛ","Ӝ":"ӝ","Ӟ":"ӟ","Ӡ":"ӡ","Ӣ":"ӣ","Ӥ":"ӥ","Ӧ":"ӧ","Ө":"ө","Ӫ":"ӫ","Ӭ":"ӭ","Ӯ":"ӯ","Ӱ":"ӱ","Ӳ":"ӳ","Ӵ":"ӵ","Ӷ":"ӷ","Ӹ":"ӹ","Ӻ":"ӻ","Ӽ":"ӽ","Ӿ":"ӿ","Ԁ":"ԁ","Ԃ":"ԃ","Ԅ":"ԅ","Ԇ":"ԇ","Ԉ":"ԉ","Ԋ":"ԋ","Ԍ":"ԍ","Ԏ":"ԏ","Ԑ":"ԑ","Ԓ":"ԓ","Ԕ":"ԕ","Ԗ":"ԗ","Ԙ":"ԙ","Ԛ":"ԛ","Ԝ":"ԝ","Ԟ":"ԟ","Ԡ":"ԡ","Ԣ":"ԣ","Ԥ":"ԥ","Ԧ":"ԧ","Ԩ":"ԩ","Ԫ":"ԫ","Ԭ":"ԭ","Ԯ":"ԯ","Ա":"ա","Բ":"բ","Գ":"գ","Դ":"դ","Ե":"ե","Զ":"զ","Է":"է","Ը":"ը","Թ":"թ","Ժ":"ժ","Ի":"ի","Լ":"լ","Խ":"խ","Ծ":"ծ","Կ":"կ","Հ":"հ","Ձ":"ձ","Ղ":"ղ","Ճ":"ճ","Մ":"մ","Յ":"յ","Ն":"ն","Շ":"շ","Ո":"ո","Չ":"չ","Պ":"պ","Ջ":"ջ","Ռ":"ռ","Ս":"ս","Վ":"վ","Տ":"տ","Ր":"ր","Ց":"ց","Ւ":"ւ","Փ":"փ","Ք":"ք","Օ":"օ","Ֆ":"ֆ","Ⴀ":"ⴀ","Ⴁ":"ⴁ","Ⴂ":"ⴂ","Ⴃ":"ⴃ","Ⴄ":"ⴄ","Ⴅ":"ⴅ","Ⴆ":"ⴆ","Ⴇ":"ⴇ","Ⴈ":"ⴈ","Ⴉ":"ⴉ","Ⴊ":"ⴊ","Ⴋ":"ⴋ","Ⴌ":"ⴌ","Ⴍ":"ⴍ","Ⴎ":"ⴎ","Ⴏ":"ⴏ","Ⴐ":"ⴐ","Ⴑ":"ⴑ","Ⴒ":"ⴒ","Ⴓ":"ⴓ","Ⴔ":"ⴔ","Ⴕ":"ⴕ","Ⴖ":"ⴖ","Ⴗ":"ⴗ","Ⴘ":"ⴘ","Ⴙ":"ⴙ","Ⴚ":"ⴚ","Ⴛ":"ⴛ","Ⴜ":"ⴜ","Ⴝ":"ⴝ","Ⴞ":"ⴞ","Ⴟ":"ⴟ","Ⴠ":"ⴠ","Ⴡ":"ⴡ","Ⴢ":"ⴢ","Ⴣ":"ⴣ","Ⴤ":"ⴤ","Ⴥ":"ⴥ","Ⴧ":"ⴧ","Ⴭ":"ⴭ","Ḁ":"ḁ","Ḃ":"ḃ","Ḅ":"ḅ","Ḇ":"ḇ","Ḉ":"ḉ","Ḋ":"ḋ","Ḍ":"ḍ","Ḏ":"ḏ","Ḑ":"ḑ","Ḓ":"ḓ","Ḕ":"ḕ","Ḗ":"ḗ","Ḙ":"ḙ","Ḛ":"ḛ","Ḝ":"ḝ","Ḟ":"ḟ","Ḡ":"ḡ","Ḣ":"ḣ","Ḥ":"ḥ","Ḧ":"ḧ","Ḩ":"ḩ","Ḫ":"ḫ","Ḭ":"ḭ","Ḯ":"ḯ","Ḱ":"ḱ","Ḳ":"ḳ","Ḵ":"ḵ","Ḷ":"ḷ","Ḹ":"ḹ","Ḻ":"ḻ","Ḽ":"ḽ","Ḿ":"ḿ","Ṁ":"ṁ","Ṃ":"ṃ","Ṅ":"ṅ","Ṇ":"ṇ","Ṉ":"ṉ","Ṋ":"ṋ","Ṍ":"ṍ","Ṏ":"ṏ","Ṑ":"ṑ","Ṓ":"ṓ","Ṕ":"ṕ","Ṗ":"ṗ","Ṙ":"ṙ","Ṛ":"ṛ","Ṝ":"ṝ","Ṟ":"ṟ","Ṡ":"ṡ","Ṣ":"ṣ","Ṥ":"ṥ","Ṧ":"ṧ","Ṩ":"ṩ","Ṫ":"ṫ","Ṭ":"ṭ","Ṯ":"ṯ","Ṱ":"ṱ","Ṳ":"ṳ","Ṵ":"ṵ","Ṷ":"ṷ","Ṹ":"ṹ","Ṻ":"ṻ","Ṽ":"ṽ","Ṿ":"ṿ","Ẁ":"ẁ","Ẃ":"ẃ","Ẅ":"ẅ","Ẇ":"ẇ","Ẉ":"ẉ","Ẋ":"ẋ","Ẍ":"ẍ","Ẏ":"ẏ","Ẑ":"ẑ","Ẓ":"ẓ","Ẕ":"ẕ","ẛ":"ṡ","Ạ":"ạ","Ả":"ả","Ấ":"ấ","Ầ":"ầ","Ẩ":"ẩ","Ẫ":"ẫ","Ậ":"ậ","Ắ":"ắ","Ằ":"ằ","Ẳ":"ẳ","Ẵ":"ẵ","Ặ":"ặ","Ẹ":"ẹ","Ẻ":"ẻ","Ẽ":"ẽ","Ế":"ế","Ề":"ề","Ể":"ể","Ễ":"ễ","Ệ":"ệ","Ỉ":"ỉ","Ị":"ị","Ọ":"ọ","Ỏ":"ỏ","Ố":"ố","Ồ":"ồ","Ổ":"ổ","Ỗ":"ỗ","Ộ":"ộ","Ớ":"ớ","Ờ":"ờ","Ở":"ở","Ỡ":"ỡ","Ợ":"ợ","Ụ":"ụ","Ủ":"ủ","Ứ":"ứ","Ừ":"ừ","Ử":"ử","Ữ":"ữ","Ự":"ự","Ỳ":"ỳ","Ỵ":"ỵ","Ỷ":"ỷ","Ỹ":"ỹ","Ỻ":"ỻ","Ỽ":"ỽ","Ỿ":"ỿ","Ἀ":"ἀ","Ἁ":"ἁ","Ἂ":"ἂ","Ἃ":"ἃ","Ἄ":"ἄ","Ἅ":"ἅ","Ἆ":"ἆ","Ἇ":"ἇ","Ἐ":"ἐ","Ἑ":"ἑ","Ἒ":"ἒ","Ἓ":"ἓ","Ἔ":"ἔ","Ἕ":"ἕ","Ἠ":"ἠ","Ἡ":"ἡ","Ἢ":"ἢ","Ἣ":"ἣ","Ἤ":"ἤ","Ἥ":"ἥ","Ἦ":"ἦ","Ἧ":"ἧ","Ἰ":"ἰ","Ἱ":"ἱ","Ἲ":"ἲ","Ἳ":"ἳ","Ἴ":"ἴ","Ἵ":"ἵ","Ἶ":"ἶ","Ἷ":"ἷ","Ὀ":"ὀ","Ὁ":"ὁ","Ὂ":"ὂ","Ὃ":"ὃ","Ὄ":"ὄ","Ὅ":"ὅ","Ὑ":"ὑ","Ὓ":"ὓ","Ὕ":"ὕ","Ὗ":"ὗ","Ὠ":"ὠ","Ὡ":"ὡ","Ὢ":"ὢ","Ὣ":"ὣ","Ὤ":"ὤ","Ὥ":"ὥ","Ὦ":"ὦ","Ὧ":"ὧ","Ᾰ":"ᾰ","Ᾱ":"ᾱ","Ὰ":"ὰ","Ά":"ά","ι":"ι","Ὲ":"ὲ","Έ":"έ","Ὴ":"ὴ","Ή":"ή","Ῐ":"ῐ","Ῑ":"ῑ","Ὶ":"ὶ","Ί":"ί","Ῠ":"ῠ","Ῡ":"ῡ","Ὺ":"ὺ","Ύ":"ύ","Ῥ":"ῥ","Ὸ":"ὸ","Ό":"ό","Ὼ":"ὼ","Ώ":"ώ","Ω":"ω","K":"k","Å":"å","Ⅎ":"ⅎ","Ⅰ":"ⅰ","Ⅱ":"ⅱ","Ⅲ":"ⅲ","Ⅳ":"ⅳ","Ⅴ":"ⅴ","Ⅵ":"ⅵ","Ⅶ":"ⅶ","Ⅷ":"ⅷ","Ⅸ":"ⅸ","Ⅹ":"ⅹ","Ⅺ":"ⅺ","Ⅻ":"ⅻ","Ⅼ":"ⅼ","Ⅽ":"ⅽ","Ⅾ":"ⅾ","Ⅿ":"ⅿ","Ↄ":"ↄ","Ⓐ":"ⓐ","Ⓑ":"ⓑ","Ⓒ":"ⓒ","Ⓓ":"ⓓ","Ⓔ":"ⓔ","Ⓕ":"ⓕ","Ⓖ":"ⓖ","Ⓗ":"ⓗ","Ⓘ":"ⓘ","Ⓙ":"ⓙ","Ⓚ":"ⓚ","Ⓛ":"ⓛ","Ⓜ":"ⓜ","Ⓝ":"ⓝ","Ⓞ":"ⓞ","Ⓟ":"ⓟ","Ⓠ":"ⓠ","Ⓡ":"ⓡ","Ⓢ":"ⓢ","Ⓣ":"ⓣ","Ⓤ":"ⓤ","Ⓥ":"ⓥ","Ⓦ":"ⓦ","Ⓧ":"ⓧ","Ⓨ":"ⓨ","Ⓩ":"ⓩ","Ⰰ":"ⰰ","Ⰱ":"ⰱ","Ⰲ":"ⰲ","Ⰳ":"ⰳ","Ⰴ":"ⰴ","Ⰵ":"ⰵ","Ⰶ":"ⰶ","Ⰷ":"ⰷ","Ⰸ":"ⰸ","Ⰹ":"ⰹ","Ⰺ":"ⰺ","Ⰻ":"ⰻ","Ⰼ":"ⰼ","Ⰽ":"ⰽ","Ⰾ":"ⰾ","Ⰿ":"ⰿ","Ⱀ":"ⱀ","Ⱁ":"ⱁ","Ⱂ":"ⱂ","Ⱃ":"ⱃ","Ⱄ":"ⱄ","Ⱅ":"ⱅ","Ⱆ":"ⱆ","Ⱇ":"ⱇ","Ⱈ":"ⱈ","Ⱉ":"ⱉ","Ⱊ":"ⱊ","Ⱋ":"ⱋ","Ⱌ":"ⱌ","Ⱍ":"ⱍ","Ⱎ":"ⱎ","Ⱏ":"ⱏ","Ⱐ":"ⱐ","Ⱑ":"ⱑ","Ⱒ":"ⱒ","Ⱓ":"ⱓ","Ⱔ":"ⱔ","Ⱕ":"ⱕ","Ⱖ":"ⱖ","Ⱗ":"ⱗ","Ⱘ":"ⱘ","Ⱙ":"ⱙ","Ⱚ":"ⱚ","Ⱛ":"ⱛ","Ⱜ":"ⱜ","Ⱝ":"ⱝ","Ⱞ":"ⱞ","Ⱡ":"ⱡ","Ɫ":"ɫ","Ᵽ":"ᵽ","Ɽ":"ɽ","Ⱨ":"ⱨ","Ⱪ":"ⱪ","Ⱬ":"ⱬ","Ɑ":"ɑ","Ɱ":"ɱ","Ɐ":"ɐ","Ɒ":"ɒ","Ⱳ":"ⱳ","Ⱶ":"ⱶ","Ȿ":"ȿ","Ɀ":"ɀ","Ⲁ":"ⲁ","Ⲃ":"ⲃ","Ⲅ":"ⲅ","Ⲇ":"ⲇ","Ⲉ":"ⲉ","Ⲋ":"ⲋ","Ⲍ":"ⲍ","Ⲏ":"ⲏ","Ⲑ":"ⲑ","Ⲓ":"ⲓ","Ⲕ":"ⲕ","Ⲗ":"ⲗ","Ⲙ":"ⲙ","Ⲛ":"ⲛ","Ⲝ":"ⲝ","Ⲟ":"ⲟ","Ⲡ":"ⲡ","Ⲣ":"ⲣ","Ⲥ":"ⲥ","Ⲧ":"ⲧ","Ⲩ":"ⲩ","Ⲫ":"ⲫ","Ⲭ":"ⲭ","Ⲯ":"ⲯ","Ⲱ":"ⲱ","Ⲳ":"ⲳ","Ⲵ":"ⲵ","Ⲷ":"ⲷ","Ⲹ":"ⲹ","Ⲻ":"ⲻ","Ⲽ":"ⲽ","Ⲿ":"ⲿ","Ⳁ":"ⳁ","Ⳃ":"ⳃ","Ⳅ":"ⳅ","Ⳇ":"ⳇ","Ⳉ":"ⳉ","Ⳋ":"ⳋ","Ⳍ":"ⳍ","Ⳏ":"ⳏ","Ⳑ":"ⳑ","Ⳓ":"ⳓ","Ⳕ":"ⳕ","Ⳗ":"ⳗ","Ⳙ":"ⳙ","Ⳛ":"ⳛ","Ⳝ":"ⳝ","Ⳟ":"ⳟ","Ⳡ":"ⳡ","Ⳣ":"ⳣ","Ⳬ":"ⳬ","Ⳮ":"ⳮ","Ⳳ":"ⳳ","Ꙁ":"ꙁ","Ꙃ":"ꙃ","Ꙅ":"ꙅ","Ꙇ":"ꙇ","Ꙉ":"ꙉ","Ꙋ":"ꙋ","Ꙍ":"ꙍ","Ꙏ":"ꙏ","Ꙑ":"ꙑ","Ꙓ":"ꙓ","Ꙕ":"ꙕ","Ꙗ":"ꙗ","Ꙙ":"ꙙ","Ꙛ":"ꙛ","Ꙝ":"ꙝ","Ꙟ":"ꙟ","Ꙡ":"ꙡ","Ꙣ":"ꙣ","Ꙥ":"ꙥ","Ꙧ":"ꙧ","Ꙩ":"ꙩ","Ꙫ":"ꙫ","Ꙭ":"ꙭ","Ꚁ":"ꚁ","Ꚃ":"ꚃ","Ꚅ":"ꚅ","Ꚇ":"ꚇ","Ꚉ":"ꚉ","Ꚋ":"ꚋ","Ꚍ":"ꚍ","Ꚏ":"ꚏ","Ꚑ":"ꚑ","Ꚓ":"ꚓ","Ꚕ":"ꚕ","Ꚗ":"ꚗ","Ꚙ":"ꚙ","Ꚛ":"ꚛ","Ꜣ":"ꜣ","Ꜥ":"ꜥ","Ꜧ":"ꜧ","Ꜩ":"ꜩ","Ꜫ":"ꜫ","Ꜭ":"ꜭ","Ꜯ":"ꜯ","Ꜳ":"ꜳ","Ꜵ":"ꜵ","Ꜷ":"ꜷ","Ꜹ":"ꜹ","Ꜻ":"ꜻ","Ꜽ":"ꜽ","Ꜿ":"ꜿ","Ꝁ":"ꝁ","Ꝃ":"ꝃ","Ꝅ":"ꝅ","Ꝇ":"ꝇ","Ꝉ":"ꝉ","Ꝋ":"ꝋ","Ꝍ":"ꝍ","Ꝏ":"ꝏ","Ꝑ":"ꝑ","Ꝓ":"ꝓ","Ꝕ":"ꝕ","Ꝗ":"ꝗ","Ꝙ":"ꝙ","Ꝛ":"ꝛ","Ꝝ":"ꝝ","Ꝟ":"ꝟ","Ꝡ":"ꝡ","Ꝣ":"ꝣ","Ꝥ":"ꝥ","Ꝧ":"ꝧ","Ꝩ":"ꝩ","Ꝫ":"ꝫ","Ꝭ":"ꝭ","Ꝯ":"ꝯ","Ꝺ":"ꝺ","Ꝼ":"ꝼ","Ᵹ":"ᵹ","Ꝿ":"ꝿ","Ꞁ":"ꞁ","Ꞃ":"ꞃ","Ꞅ":"ꞅ","Ꞇ":"ꞇ","Ꞌ":"ꞌ","Ɥ":"ɥ","Ꞑ":"ꞑ","Ꞓ":"ꞓ","Ꞗ":"ꞗ","Ꞙ":"ꞙ","Ꞛ":"ꞛ","Ꞝ":"ꞝ","Ꞟ":"ꞟ","Ꞡ":"ꞡ","Ꞣ":"ꞣ","Ꞥ":"ꞥ","Ꞧ":"ꞧ","Ꞩ":"ꞩ","Ɦ":"ɦ","Ɜ":"ɜ","Ɡ":"ɡ","Ɬ":"ɬ","Ʞ":"ʞ","Ʇ":"ʇ","A":"a","B":"b","C":"c","D":"d","E":"e","F":"f","G":"g","H":"h","I":"i","J":"j","K":"k","L":"l","M":"m","N":"n","O":"o","P":"p","Q":"q","R":"r","S":"s","T":"t","U":"u","V":"v","W":"w","X":"x","Y":"y","Z":"z","𐐀":"𐐨","𐐁":"𐐩","𐐂":"𐐪","𐐃":"𐐫","𐐄":"𐐬","𐐅":"𐐭","𐐆":"𐐮","𐐇":"𐐯","𐐈":"𐐰","𐐉":"𐐱","𐐊":"𐐲","𐐋":"𐐳","𐐌":"𐐴","𐐍":"𐐵","𐐎":"𐐶","𐐏":"𐐷","𐐐":"𐐸","𐐑":"𐐹","𐐒":"𐐺","𐐓":"𐐻","𐐔":"𐐼","𐐕":"𐐽","𐐖":"𐐾","𐐗":"𐐿","𐐘":"𐑀","𐐙":"𐑁","𐐚":"𐑂","𐐛":"𐑃","𐐜":"𐑄","𐐝":"𐑅","𐐞":"𐑆","𐐟":"𐑇","𐐠":"𐑈","𐐡":"𐑉","𐐢":"𐑊","𐐣":"𐑋","𐐤":"𐑌","𐐥":"𐑍","𐐦":"𐑎","𐐧":"𐑏","𑢠":"𑣀","𑢡":"𑣁","𑢢":"𑣂","𑢣":"𑣃","𑢤":"𑣄","𑢥":"𑣅","𑢦":"𑣆","𑢧":"𑣇","𑢨":"𑣈","𑢩":"𑣉","𑢪":"𑣊","𑢫":"𑣋","𑢬":"𑣌","𑢭":"𑣍","𑢮":"𑣎","𑢯":"𑣏","𑢰":"𑣐","𑢱":"𑣑","𑢲":"𑣒","𑢳":"𑣓","𑢴":"𑣔","𑢵":"𑣕","𑢶":"𑣖","𑢷":"𑣗","𑢸":"𑣘","𑢹":"𑣙","𑢺":"𑣚","𑢻":"𑣛","𑢼":"𑣜","𑢽":"𑣝","𑢾":"𑣞","𑢿":"𑣟","ß":"ss","İ":"i̇","ʼn":"ʼn","ǰ":"ǰ","ΐ":"ΐ","ΰ":"ΰ","և":"եւ","ẖ":"ẖ","ẗ":"ẗ","ẘ":"ẘ","ẙ":"ẙ","ẚ":"aʾ","ẞ":"ss","ὐ":"ὐ","ὒ":"ὒ","ὔ":"ὔ","ὖ":"ὖ","ᾀ":"ἀι","ᾁ":"ἁι","ᾂ":"ἂι","ᾃ":"ἃι","ᾄ":"ἄι","ᾅ":"ἅι","ᾆ":"ἆι","ᾇ":"ἇι","ᾈ":"ἀι","ᾉ":"ἁι","ᾊ":"ἂι","ᾋ":"ἃι","ᾌ":"ἄι","ᾍ":"ἅι","ᾎ":"ἆι","ᾏ":"ἇι","ᾐ":"ἠι","ᾑ":"ἡι","ᾒ":"ἢι","ᾓ":"ἣι","ᾔ":"ἤι","ᾕ":"ἥι","ᾖ":"ἦι","ᾗ":"ἧι","ᾘ":"ἠι","ᾙ":"ἡι","ᾚ":"ἢι","ᾛ":"ἣι","ᾜ":"ἤι","ᾝ":"ἥι","ᾞ":"ἦι","ᾟ":"ἧι","ᾠ":"ὠι","ᾡ":"ὡι","ᾢ":"ὢι","ᾣ":"ὣι","ᾤ":"ὤι","ᾥ":"ὥι","ᾦ":"ὦι","ᾧ":"ὧι","ᾨ":"ὠι","ᾩ":"ὡι","ᾪ":"ὢι","ᾫ":"ὣι","ᾬ":"ὤι","ᾭ":"ὥι","ᾮ":"ὦι","ᾯ":"ὧι","ᾲ":"ὰι","ᾳ":"αι","ᾴ":"άι","ᾶ":"ᾶ","ᾷ":"ᾶι","ᾼ":"αι","ῂ":"ὴι","ῃ":"ηι","ῄ":"ήι","ῆ":"ῆ","ῇ":"ῆι","ῌ":"ηι","ῒ":"ῒ","ΐ":"ΐ","ῖ":"ῖ","ῗ":"ῗ","ῢ":"ῢ","ΰ":"ΰ","ῤ":"ῤ","ῦ":"ῦ","ῧ":"ῧ","ῲ":"ὼι","ῳ":"ωι","ῴ":"ώι","ῶ":"ῶ","ῷ":"ῶι","ῼ":"ωι","ff":"ff","fi":"fi","fl":"fl","ffi":"ffi","ffl":"ffl","ſt":"st","st":"st","ﬓ":"մն","ﬔ":"մե","ﬕ":"մի","ﬖ":"վն","ﬗ":"մխ"},Mt=o(function(e){var a,i;String.fromCodePoint?e.exports=function(e){try{return String.fromCodePoint(e)}catch(e){if(e instanceof RangeError)return String.fromCharCode(65533);throw e}}:(a=String.fromCharCode,i=Math.floor,e.exports=function(){var e=[],t=-1,n=arguments.length;if(!n)return"";for(var r="";++t<n;){var o=Number(arguments[t]);if(!isFinite(o)||o<0||1114111<o||i(o)!==o)return String.fromCharCode(65533);o<=65535?e.push(o):(o-=65536,e.push(55296+(o>>10),o%1024+56320)),(t+1===n||16384<e.length)&&(r+=a.apply(null,e),e.length=0)}return r})});function jt(e){if(null==this)throw TypeError();var t=String(this),n=e?Number(e):0;if((n=n!=n?0:n)<0||n==1/0)throw RangeError();for(var r="";n;)n%2==1&&(r+=t),1<n&&(t+=t),n>>=1;return r}String.prototype.repeat||((fa=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(e){}return n}())?fa(String.prototype,"repeat",{value:jt,configurable:!0,writable:!0}):String.prototype.repeat=jt);function Ut(e){var t=new Ye("text");return t._literal=e,t}function Bt(e){return null===(e=e.exec(this.subject.slice(this.pos)))?null:(this.pos+=e.index+e[0].length,e[0])}function Ft(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1}function qt(){return this.match(Nn),!0}function zt(e){var t=this.match(Sn);if(null===t)return!1;for(var n,r,o=this.pos;null!==(r=this.match(Tn));)if(r===t)return n=new Ye("code"),0<(r=this.subject.slice(o,this.pos-t.length).replace(/\n/gm," ")).length&&null!==r.match(/[^ ]/)&&" "==r[0]&&" "==r[r.length-1]?n._literal=r.slice(1,r.length-1):n._literal=r,e.appendChild(n),!0;return this.pos=o,e.appendChild(Ut(t)),!0}function Gt(e){var t,n=this.subject;return this.pos+=1,10===this.peek()?(this.pos+=1,t=new Ye("linebreak"),e.appendChild(t)):wn.test(n.charAt(this.pos))?(e.appendChild(Ut(n.charAt(this.pos))),this.pos+=1):e.appendChild(Ut("\\")),!0}function Vt(e){var t,n,r;return(t=this.match(Dn))?(n=t.slice(1,t.length-1),(r=new Ye("link"))._destination=pn("mailto:"+n),r._title="",r.appendChild(Ut(n)),e.appendChild(r),!0):!!(t=this.match(An))&&(n=t.slice(1,t.length-1),(r=new Ye("link"))._destination=pn(n),r._title="",r.appendChild(Ut(n)),e.appendChild(r),!0)}function Ht(e){var t=this.match(yn);if(null===t)return!1;var n=new Ye("html_inline");return n._literal=t,e.appendChild(n),!0}function Yt(e){var t,n,r,o,a,i,l=0,s=this.pos;if(39===e||34===e)l++,this.pos++;else for(;this.peek()===e;)l++,this.pos++;return 0===l?null:(t=0===s?"\n":this.subject.charAt(s-1),i=-1===(a=this.peek())?"\n":Mt(a),r=kn.test(i),o=bn.test(i),a=kn.test(t),i=bn.test(t),t=!r&&(!o||a||i),r=!a&&(!i||r||o),r=95===e?(n=t&&(!r||i),r&&(!t||o)):(n=39===e||34===e?t&&!r:t,r),this.pos=s,{numdelims:l,can_open:n,can_close:r})}function Wt(e,t){var n=this.scanDelims(e);if(!n)return!1;var r=n.numdelims,o=this.pos;return this.pos+=r,o=39===e?"’":34===e?"“":this.subject.slice(o,this.pos),o=Ut(o),t.appendChild(o),!n.can_open&&!n.can_close||!this.options.smart&&39===e&&34===e||(this.delimiters={cc:e,numdelims:r,origdelims:r,node:o,previous:this.delimiters,next:null,can_open:n.can_open,can_close:n.can_close},null!==this.delimiters.previous&&(this.delimiters.previous.next=this.delimiters)),!0}function Kt(e){null!==e.previous&&(e.previous.next=e.next),null===e.next?this.delimiters=e.previous:e.next.previous=e.previous}function Zt(e){for(var t,n,r,o,a,i,l,s,u,c,p=[[],[],[]],d=0;d<3;d++)p[d][95]=e,p[d][42]=e,p[d][39]=e,p[d][34]=e;for(n=this.delimiters;null!==n&&n.previous!==e;)n=n.previous;for(;null!==n;){var f=n.cc;if(n.can_close){for(t=n.previous,l=!1;null!==t&&t!==e&&t!==p[n.origdelims%3][f];){if(s=(n.can_open||t.can_close)&&n.origdelims%3!=0&&(t.origdelims+n.origdelims)%3==0,t.cc===n.cc&&t.can_open&&!s){l=!0;break}t=t.previous}if(r=n,42===f||95===f)if(l){u=2<=n.numdelims&&2<=t.numdelims?2:1,a=t.node,o=n.node,t.numdelims-=u,n.numdelims-=u,a._literal=a._literal.slice(0,a._literal.length-u),o._literal=o._literal.slice(0,o._literal.length-u);for(var h=new Ye(1==u?"emph":"strong"),m=a._next;m&&m!==o;)i=m._next,m.unlink(),h.appendChild(m),m=i;a.insertAfter(h),c=n,(u=t).next!==c&&((u.next=c).previous=u),0===t.numdelims&&(a.unlink(),this.removeDelimiter(t)),0===n.numdelims&&(o.unlink(),a=n.next,this.removeDelimiter(n),n=a)}else n=n.next;else 39===f?(n.node._literal="’",l&&(t.node._literal="‘"),n=n.next):34===f&&(n.node._literal="”",l&&(t.node.literal="“"),n=n.next);l||(p[r.origdelims%3][f]=r.previous,r.can_open||this.removeDelimiter(r))}else n=n.next}for(;null!==this.delimiters&&this.delimiters!==e;)this.removeDelimiter(this.delimiters)}function Xt(){var e=this.match(vn);return null===e?null:dn(e.substr(1,e.length-2))}function $t(){var e=this.match(On);if(null!==e)return pn(dn(e.substr(1,e.length-2)));if(60===this.peek())return null;for(var t,n=this.pos,r=0;-1!==(t=this.peek());)if(92===t&&wn.test(this.subject.charAt(this.pos+1)))this.pos+=1,-1!==this.peek()&&(this.pos+=1);else if(40===t)this.pos+=1,r+=1;else if(41===t){if(r<1)break;this.pos+=1,--r}else{if(null!==Pn.exec(Mt(t)))break;this.pos+=1}return this.pos===n&&41!==t||0!==r?null:(e=this.subject.substr(n,this.pos-n),pn(dn(e)))}function Jt(){var e=this.match(_n);return null===e||1001<e.length?0:e.length}function Qt(e){var t=this.pos;this.pos+=1;var n=Ut("[");return e.appendChild(n),this.addBracket(n,t,!1),!0}function en(e){var t,n=this.pos;return this.pos+=1,91===this.peek()?(this.pos+=1,t=Ut("!["),e.appendChild(t),this.addBracket(t,n+1,!0)):e.appendChild(Ut("!")),!0}function tn(e){var t,n,r,o,a=!1;if(this.pos+=1,t=this.pos,null===(o=this.brackets))return e.appendChild(Ut("]")),!0;if(!o.active)return e.appendChild(Ut("]")),this.removeBracket(),!0;var i,l,s,u=o.image,c=this.pos;if(40===this.peek()&&(this.pos++,this.spnl()&&null!==(n=this.parseLinkDestination())&&this.spnl()&&(Pn.test(this.subject.charAt(this.pos-1))&&(r=this.parseLinkTitle()),1)&&this.spnl()&&41===this.peek()?(this.pos+=1,a=!0):this.pos=c),a||(i=this.pos,2<(l=this.parseLinkLabel())?s=this.subject.slice(i,i+l):o.bracketAfter||(s=this.subject.slice(o.index,t)),0===l&&(this.pos=c),!s||(s=this.refmap[Ot(s)])&&(n=s.destination,r=s.title,a=!0)),a){var p,d,f=new Ye(u?"image":"link");for(f._destination=n,f._title=r||"",p=o.node._next;p;)d=p._next,p.unlink(),f.appendChild(p),p=d;if(e.appendChild(f),this.processEmphasis(o.previousDelimiter),this.removeBracket(),o.node.unlink(),!u)for(o=this.brackets;null!==o;)o.image||(o.active=!1),o=o.previous;return!0}return this.removeBracket(),this.pos=t,e.appendChild(Ut("]")),!0}function nn(e,t,n){null!==this.brackets&&(this.brackets.bracketAfter=!0),this.brackets={node:e,previous:this.brackets,previousDelimiter:this.delimiters,index:t,image:n,active:!0}}function rn(){this.brackets=this.brackets.previous}function on(e){var t;return!!(t=this.match(En))&&(e.appendChild(Ut(fn(t))),!0)}function an(e){var t;return!!(t=this.match(Mn))&&(this.options.smart?e.appendChild(Ut(t.replace(Cn,"…").replace(xn,function(e){var t=0,n=0;return e.length%3==0?n=e.length/3:e.length%2==0?t=e.length/2:n=e.length%3==2?(t=1,(e.length-2)/3):(t=2,(e.length-4)/3),"—".repeat(n)+"–".repeat(t)}))):e.appendChild(Ut(t)),!0)}function ln(e){this.pos+=1;var t,n=e._lastChild;return n&&"text"===n.type&&" "===n._literal[n._literal.length-1]?(t=" "===n._literal[n._literal.length-2],n._literal=n._literal.replace(Ln,""),e.appendChild(new Ye(t?"linebreak":"softbreak"))):e.appendChild(new Ye("softbreak")),this.match(Rn),!0}function sn(e,t){var n,r;this.subject=e,this.pos=0;var o=this.pos;if(0===(a=this.parseLinkLabel()))return 0;if(i=this.subject.substr(0,a),58!==this.peek())return this.pos=o,0;if(this.pos++,this.spnl(),null===(n=this.parseLinkDestination()))return this.pos=o,0;e=this.pos,this.spnl(),null===(r=this.pos!==e?this.parseLinkTitle():r)&&(r="",this.pos=e);var a=!0;if(!(a=null===this.match(In)?""!==r&&(r="",this.pos=e,null!==this.match(In)):a))return this.pos=o,0;var i=Ot(i);return""===i?(this.pos=o,0):(t[i]||(t[i]={destination:n,title:r}),this.pos-o)}function un(e){var t=!1,n=this.peek();if(-1===n)return!1;switch(n){case 10:t=this.parseNewline(e);break;case 92:t=this.parseBackslash(e);break;case 96:t=this.parseBackticks(e);break;case 42:case 95:t=this.handleDelim(n,e);break;case 39:case 34:t=this.options.smart&&this.handleDelim(n,e);break;case 91:t=this.parseOpenBracket(e);break;case 33:t=this.parseBang(e);break;case 93:t=this.parseCloseBracket(e);break;case 60:t=this.parseAutolink(e)||this.parseHtmlTag(e);break;case 38:t=this.parseEntity(e);break;default:t=this.parseString(e)}return t||(this.pos+=1,e.appendChild(Ut(Mt(n)))),!0}function cn(e){for(this.subject=e._string_content.trim(),this.pos=0,this.delimiters=null,this.brackets=null;this.parseInline(e););e._string_content=null,this.processEmphasis(null)}var pn=Rt.normalizeURI,dn=Rt.unescapeString,fn=Et.decodeHTML,hn=Rt.ESCAPABLE,mn="\\\\"+hn,gn=Rt.ENTITY,yn=Rt.reHtmlTag,bn=new RegExp(/[!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/),vn=new RegExp('^(?:"('+mn+'|[^"\\x00])*"|\'('+mn+"|[^'\\x00])*'|\\(("+mn+"|[^()\\x00])*\\))"),On=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,wn=new RegExp("^"+hn),En=new RegExp("^"+gn,"i"),Tn=/`+/,Sn=/^`+/,Cn=/\.\.\./g,xn=/--+/g,Dn=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,An=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,Nn=/^ *(?:\n *)?/,Pn=/^[ \t\n\x0b\x0c\x0d]/,kn=/^\s/,Ln=/ *$/,Rn=/^ */,In=/^ *(?:\n|$)/,_n=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/,Mn=/^[^\n`\[\]\\!<&*_'"]+/m;function jn(e){return 32===e||9===e}function Un(e,t){return t<e.length?e.charCodeAt(t):-1}function Bn(e){for(;e;){if(e._lastLineBlank)return 1;var t=e.type;if(e._lastLineChecked||"list"!==t&&"item"!==t){e._lastLineChecked=!0;break}e._lastLineChecked=!0,e=e._lastChild}}function Fn(){var e;this.partiallyConsumedTab&&(this.offset+=1,e=4-this.column%4,this.tip._string_content+=" ".repeat(e)),this.tip._string_content+=this.currentLine.slice(this.offset)+"\n"}function qn(e,t){for(;!this.blocks[this.tip.type].canContain(e);)this.finalize(this.tip,this.lineNumber-1);return(t=new Ye(e,[[this.lineNumber,t+1],[0,0]]))._string_content="",this.tip.appendChild(t),this.tip=t}function zn(){if(!this.allClosed){for(;this.oldtip!==this.lastMatchedContainer;){var e=this.oldtip._parent;this.finalize(this.oldtip,this.lineNumber-1),this.oldtip=e}this.allClosed=!0}}function Gn(e,t){for(var n,r,o,a=this.currentLine;0<e&&(o=a[this.offset]);)"\t"===o?(n=4-this.column%4,t?(this.partiallyConsumedTab=e<n,this.column+=r=e<n?e:n,this.offset+=this.partiallyConsumedTab?0:1,e-=r):(this.partiallyConsumedTab=!1,this.column+=n,this.offset+=1,--e)):(this.partiallyConsumedTab=!1,this.offset+=1,this.column+=1,--e)}function Vn(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1}function Hn(){for(var e,t=this.currentLine,n=this.offset,r=this.column;""!==(e=t.charAt(n));)if(" "===e)n++,r++;else{if("\t"!==e)break;n++,r+=4-r%4}this.blank="\n"===e||"\r"===e||""===e,this.nextNonspace=n,this.nextNonspaceColumn=r,this.indent=this.nextNonspaceColumn-this.column,this.indented=4<=this.indent}function Yn(e){var t,n=!0,r=this.doc;for(this.oldtip=this.tip,this.offset=0,this.column=0,this.blank=!1,this.partiallyConsumedTab=!1,this.lineNumber+=1,-1!==e.indexOf("\0")&&(e=e.replace(/\0/g,"�")),this.currentLine=e;(t=r._lastChild)&&t._open;){switch(r=t,this.findNextNonspace(),this.blocks[r.type].continue(this,r)){case 0:break;case 1:n=!1;break;case 2:return;default:throw"continue returned illegal value, must be 0, 1, or 2"}if(!n){r=r._parent;break}}this.allClosed=r===this.oldtip;for(var o="paragraph"!==(this.lastMatchedContainer=r).type&&pr[r.type].acceptsLines,a=this.blockStarts,i=a.length;!o;){if(this.findNextNonspace(),!this.indented&&!nr.test(e.slice(this.nextNonspace))){this.advanceNextNonspace();break}for(var l=0;l<i;){var s=a[l](this,r);if(1===s){r=this.tip;break}if(2===s){r=this.tip,o=!0;break}l++}if(l===i){this.advanceNextNonspace();break}}if(this.allClosed||this.blank||"paragraph"!==this.tip.type){this.closeUnmatchedBlocks(),this.blank&&r.lastChild&&(r.lastChild._lastLineBlank=!0);for(var u=r.type,c=this.blank&&!("block_quote"===u||"code_block"===u&&r._isFenced||"item"===u&&!r._firstChild&&r.sourcepos[0][0]===this.lineNumber),p=r;p;)p._lastLineBlank=c,p=p._parent;this.blocks[u].acceptsLines?(this.addLine(),"html_block"===u&&1<=r._htmlBlockType&&r._htmlBlockType<=5&&er[r._htmlBlockType].test(this.currentLine.slice(this.offset))&&(this.lastLineLength=e.length,this.finalize(r,this.lineNumber))):this.offset<e.length&&!this.blank&&(r=this.addChild("paragraph",this.offset),this.advanceNextNonspace(),this.addLine())}else this.addLine();this.lastLineLength=e.length}function Wn(e,t){var n=e._parent;e._open=!1,e.sourcepos[1]=[t,this.lastLineLength],this.blocks[e.type].finalize(this,e),this.tip=n}function Kn(e){var t,n,r,o=e.walker();for(this.inlineParser.refmap=this.refmap,this.inlineParser.options=this.options;n=o.next();)r=(t=n.node).type,n.entering||"paragraph"!==r&&"heading"!==r||this.inlineParser.parse(t)}function Zn(){return new Ye("document",[[1,1],[0,0]])}function Xn(e){this.doc=new Zn,this.tip=this.doc,this.refmap={},this.lineNumber=0,this.lastLineLength=0,this.offset=0,this.column=0,this.lastMatchedContainer=this.doc,this.currentLine="",this.options.time&&console.time("preparing input");var t=e.split(cr),n=t.length;10===e.charCodeAt(e.length-1)&&--n,this.options.time&&console.timeEnd("preparing input"),this.options.time&&console.time("block parsing");for(var r=0;r<n;r++)this.incorporateLine(t[r]);for(;this.tip;)this.finalize(this.tip,n);return this.options.time&&console.timeEnd("block parsing"),this.options.time&&console.time("inline parsing"),this.processInlines(this.doc),this.options.time&&console.timeEnd("inline parsing"),this.doc}var $n=function(e){return{subject:"",delimiters:null,brackets:null,pos:0,refmap:{},match:Bt,peek:Ft,spnl:qt,parseBackticks:zt,parseBackslash:Gt,parseAutolink:Vt,parseHtmlTag:Ht,scanDelims:Yt,handleDelim:Wt,parseLinkTitle:Xt,parseLinkDestination:$t,parseLinkLabel:Jt,parseOpenBracket:Qt,parseBang:en,parseCloseBracket:tn,addBracket:nn,removeBracket:rn,parseEntity:on,parseString:an,parseNewline:ln,parseReference:sn,parseInline:un,processEmphasis:Zt,removeDelimiter:Kt,options:e||{},parse:cn}},Jn=Rt.unescapeString,Qn=[/./,/^<(?:script|pre|style)(?:\s|>|$)/i,/^<!--/,/^<[?]/,/^<![A-Z]/,/^<!\[CDATA\[/,/^<[/]?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[123456]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|[/]?[>]|$)/i,new RegExp("^(?:"+Rt.OPENTAG+"|"+Rt.CLOSETAG+")\\s*$","i")],er=[/./,/<\/(?:script|pre|style)>/i,/-->/,/\?>/,/>/,/\]\]>/],tr=/^(?:(?:\*[ \t]*){3,}|(?:_[ \t]*){3,}|(?:-[ \t]*){3,})[ \t]*$/,nr=/^[#`~*+_=<>0-9-]/,rr=/[^ \t\f\v\r\n]/,or=/^[*+-]/,ar=/^(\d{1,9})([.)])/,ir=/^#{1,6}(?:[ \t]+|$)/,lr=/^`{3,}(?!.*`)|^~{3,}/,sr=/^(?:`{3,}|~{3,})(?= *$)/,ur=/^(?:=+|-+)[ \t]*$/,cr=/\r\n|\n|\r/,pr={document:{continue:function(){return 0},finalize:function(){},canContain:function(e){return"item"!==e},acceptsLines:!1},list:{continue:function(){return 0},finalize:function(e,t){for(var n=t._firstChild;n;){if(Bn(n)&&n._next){t._listData.tight=!1;break}for(var r=n._firstChild;r;){if(Bn(r)&&(n._next||r._next)){t._listData.tight=!1;break}r=r._next}n=n._next}},canContain:function(e){return"item"===e},acceptsLines:!1},block_quote:{continue:function(e){var t=e.currentLine;return e.indented||62!==Un(t,e.nextNonspace)?1:(e.advanceNextNonspace(),e.advanceOffset(1,!1),jn(Un(t,e.offset))&&e.advanceOffset(1,!0),0)},finalize:function(){},canContain:function(e){return"item"!==e},acceptsLines:!1},item:{continue:function(e,t){if(e.blank){if(null==t._firstChild)return 1;e.advanceNextNonspace()}else{if(!(e.indent>=t._listData.markerOffset+t._listData.padding))return 1;e.advanceOffset(t._listData.markerOffset+t._listData.padding,!0)}return 0},finalize:function(){},canContain:function(e){return"item"!==e},acceptsLines:!1},heading:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},thematic_break:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},code_block:{continue:function(e,t){var n=e.currentLine,r=e.indent;if(t._isFenced){var o=r<=3&&n.charAt(e.nextNonspace)===t._fenceChar&&n.slice(e.nextNonspace).match(sr);if(o&&o[0].length>=t._fenceLength)return e.lastLineLength=o[0].length,e.finalize(t,e.lineNumber),2;for(var a=t._fenceOffset;0<a&&jn(Un(n,e.offset));)e.advanceOffset(1,!0),a--}else if(4<=r)e.advanceOffset(4,!0);else{if(!e.blank)return 1;e.advanceNextNonspace()}return 0},finalize:function(e,t){var n,r,o;t._isFenced?(o=(n=t._string_content).indexOf("\n"),r=n.slice(0,o),o=n.slice(o+1),t.info=Jn(r.trim()),t._literal=o):t._literal=t._string_content.replace(/(\n *)+$/,"\n"),t._string_content=null},canContain:function(){return!1},acceptsLines:!0},html_block:{continue:function(e,t){return!e.blank||6!==t._htmlBlockType&&7!==t._htmlBlockType?0:1},finalize:function(e,t){t._literal=t._string_content.replace(/(\n *)+$/,""),t._string_content=null},canContain:function(){return!1},acceptsLines:!0},paragraph:{continue:function(e){return e.blank?1:0},finalize:function(e,t){for(var n,r,o=!1;91===Un(t._string_content,0)&&(n=e.inlineParser.parseReference(t._string_content,e.refmap));)t._string_content=t._string_content.slice(n),o=!0;o&&(r=t._string_content,!rr.test(r))&&t.unlink()},canContain:function(){return!1},acceptsLines:!0}},dr=[function(e){return e.indented||62!==Un(e.currentLine,e.nextNonspace)?0:(e.advanceNextNonspace(),e.advanceOffset(1,!1),jn(Un(e.currentLine,e.offset))&&e.advanceOffset(1,!0),e.closeUnmatchedBlocks(),e.addChild("block_quote",e.nextNonspace),1)},function(e){var t;if(e.indented||!(t=e.currentLine.slice(e.nextNonspace).match(ir)))return 0;e.advanceNextNonspace(),e.advanceOffset(t[0].length,!1),e.closeUnmatchedBlocks();var n=e.addChild("heading",e.nextNonspace);return n.level=t[0].trim().length,n._string_content=e.currentLine.slice(e.offset).replace(/^[ \t]*#+[ \t]*$/,"").replace(/[ \t]+#+[ \t]*$/,""),e.advanceOffset(e.currentLine.length-e.offset),2},function(e){var t;if(e.indented||!(t=e.currentLine.slice(e.nextNonspace).match(lr)))return 0;var n=t[0].length;e.closeUnmatchedBlocks();var r=e.addChild("code_block",e.nextNonspace);return r._isFenced=!0,r._fenceLength=n,r._fenceChar=t[0][0],r._fenceOffset=e.indent,e.advanceNextNonspace(),e.advanceOffset(n,!1),2},function(e,t){if(!e.indented&&60===Un(e.currentLine,e.nextNonspace))for(var n=e.currentLine.slice(e.nextNonspace),r=1;r<=7;r++)if(Qn[r].test(n)&&(r<7||"paragraph"!==t.type))return e.closeUnmatchedBlocks(),e.addChild("html_block",e.offset)._htmlBlockType=r,2;return 0},function(e,t){var n,r;if(e.indented||"paragraph"!==t.type||!(n=e.currentLine.slice(e.nextNonspace).match(ur)))return 0;for(e.closeUnmatchedBlocks();91===Un(t._string_content,0)&&(r=e.inlineParser.parseReference(t._string_content,e.refmap));)t._string_content=t._string_content.slice(r);if(0<t._string_content.length){var o=new Ye("heading",t.sourcepos);return o.level="="===n[0][0]?1:2,o._string_content=t._string_content,t.insertAfter(o),t.unlink(),e.tip=o,e.advanceOffset(e.currentLine.length-e.offset,!1),2}return 0},function(e){return!e.indented&&tr.test(e.currentLine.slice(e.nextNonspace))?(e.closeUnmatchedBlocks(),e.addChild("thematic_break",e.nextNonspace),e.advanceOffset(e.currentLine.length-e.offset,!1),2):0},function(e,t){var n,r,o;return e.indented&&"list"!==t.type||!(n=function(e,t){var n,r,o,a,i=e.currentLine.slice(e.nextNonspace),l={type:null,tight:!0,bulletChar:null,start:null,delimiter:null,padding:null,markerOffset:e.indent};if(4<=e.indent)return null;if(n=i.match(or))l.type="bullet",l.bulletChar=n[0][0];else{if(!(n=i.match(ar))||"paragraph"===t.type&&"1"!==n[1])return null;l.type="ordered",l.start=parseInt(n[1]),l.delimiter=n[2]}if(-1!==(r=Un(e.currentLine,e.nextNonspace+n[0].length))&&9!==r&&32!==r)return null;if("paragraph"===t.type&&!e.currentLine.slice(e.nextNonspace+n[0].length).match(rr))return null;for(e.advanceNextNonspace(),e.advanceOffset(n[0].length,!0),o=e.column,a=e.offset;e.advanceOffset(1,!0),r=Un(e.currentLine,e.offset),e.column-o<5&&jn(r););i=-1===Un(e.currentLine,e.offset),t=e.column-o;return 5<=t||t<1||i?(l.padding=n[0].length+1,e.column=o,e.offset=a,jn(Un(e.currentLine,e.offset))&&e.advanceOffset(1,!0)):l.padding=n[0].length+t,l}(e,t))?0:(e.closeUnmatchedBlocks(),"list"===e.tip.type&&(r=t._listData,o=n,r.type===o.type&&r.delimiter===o.delimiter&&r.bulletChar===o.bulletChar)||((t=e.addChild("list",e.nextNonspace))._listData=n),(t=e.addChild("item",e.nextNonspace))._listData=n,1)},function(e){return e.indented&&"paragraph"!==e.tip.type&&!e.blank?(e.advanceOffset(4,!0),e.closeUnmatchedBlocks(),e.addChild("code_block",e.offset),2):0}];var fr=function(e){return{doc:new Zn,blocks:pr,blockStarts:dr,tip:this.doc,oldtip:this.doc,currentLine:"",lineNumber:0,offset:0,column:0,nextNonspace:0,nextNonspaceColumn:0,indent:0,indented:!1,blank:!1,partiallyConsumedTab:!1,allClosed:!0,lastMatchedContainer:this.doc,refmap:{},lastLineLength:0,inlineParser:new $n(e),findNextNonspace:Hn,advanceOffset:Gn,advanceNextNonspace:Vn,addLine:Fn,addChild:qn,incorporateLine:Yn,finalize:Wn,processInlines:Kn,closeUnmatchedBlocks:zn,parse:Xn,options:e||{}}};function hr(){}hr.prototype.render=function(e){var t,n,r=e.walker();for(this.buffer="",this.lastOut="\n";t=r.next();)this[n=t.node.type]&&this[n](t.node,t.entering);return this.buffer},hr.prototype.out=function(e){this.lit(e)},hr.prototype.lit=function(e){this.buffer+=e,this.lastOut=e},hr.prototype.cr=function(){"\n"!==this.lastOut&&this.lit("\n")},hr.prototype.esc=function(e){return e};function mr(e){return yr.test(e)&&!br.test(e)}var gr=hr,yr=/^javascript:|vbscript:|file:|data:/i,br=/^data:image\/(?:png|gif|jpeg|webp)/i;function vr(e){(e=e||{}).softbreak=e.softbreak||"\n",this.disableTags=0,this.lastOut="\n",this.options=e}(vr.prototype=Object.create(gr.prototype)).text=function(e){this.out(e.literal)},vr.prototype.html_inline=function(e){this.options.safe?this.lit("\x3c!-- raw HTML omitted --\x3e"):this.lit(e.literal)},vr.prototype.html_block=function(e){this.cr(),this.options.safe?this.lit("\x3c!-- raw HTML omitted --\x3e"):this.lit(e.literal),this.cr()},vr.prototype.softbreak=function(){this.lit(this.options.softbreak)},vr.prototype.linebreak=function(){this.tag("br",[],!0),this.cr()},vr.prototype.link=function(e,t){var n=this.attrs(e);t?(this.options.safe&&mr(e.destination)||n.push(["href",this.esc(e.destination)]),e.title&&n.push(["title",this.esc(e.title)]),this.tag("a",n)):this.tag("/a")},vr.prototype.image=function(e,t){t?(0===this.disableTags&&(this.options.safe&&mr(e.destination)?this.lit('<img src="" alt="'):this.lit('<img src="'+this.esc(e.destination)+'" alt="')),this.disableTags+=1):(--this.disableTags,0===this.disableTags&&(e.title&&this.lit('" title="'+this.esc(e.title)),this.lit('" />')))},vr.prototype.emph=function(e,t){this.tag(t?"em":"/em")},vr.prototype.strong=function(e,t){this.tag(t?"strong":"/strong")},vr.prototype.paragraph=function(e,t){var n=e.parent.parent,e=this.attrs(e);null!==n&&"list"===n.type&&n.listTight||(t?(this.cr(),this.tag("p",e)):(this.tag("/p"),this.cr()))},vr.prototype.heading=function(e,t){var n="h"+e.level,e=this.attrs(e);t?(this.cr(),this.tag(n,e)):(this.tag("/"+n),this.cr())},vr.prototype.code=function(e){this.tag("code"),this.out(e.literal),this.tag("/code")},vr.prototype.code_block=function(e){var t=e.info?e.info.split(/\s+/):[],n=this.attrs(e);0<t.length&&0<t[0].length&&n.push(["class","language-"+this.esc(t[0])]),this.cr(),this.tag("pre"),this.tag("code",n),this.out(e.literal),this.tag("/code"),this.tag("/pre"),this.cr()},vr.prototype.thematic_break=function(e){e=this.attrs(e),this.cr(),this.tag("hr",e,!0),this.cr()},vr.prototype.block_quote=function(e,t){e=this.attrs(e),t?(this.cr(),this.tag("blockquote",e)):(this.cr(),this.tag("/blockquote")),this.cr()},vr.prototype.list=function(e,t){var n="bullet"===e.listType?"ul":"ol",r=this.attrs(e);t?(null!==(e=e.listStart)&&1!==e&&r.push(["start",e.toString()]),this.cr(),this.tag(n,r)):(this.cr(),this.tag("/"+n)),this.cr()},vr.prototype.item=function(e,t){e=this.attrs(e),t?this.tag("li",e):(this.tag("/li"),this.cr())},vr.prototype.custom_inline=function(e,t){t&&e.onEnter?this.lit(e.onEnter):!t&&e.onExit&&this.lit(e.onExit)},vr.prototype.custom_block=function(e,t){this.cr(),t&&e.onEnter?this.lit(e.onEnter):!t&&e.onExit&&this.lit(e.onExit),this.cr()},vr.prototype.esc=Rt.escapeXml,vr.prototype.out=function(e){this.lit(this.esc(e))},vr.prototype.tag=function(e,t,n){if(!(0<this.disableTags)){if(this.buffer+="<"+e,t&&0<t.length)for(var r,o=0;void 0!==(r=t[o]);)this.buffer+=" "+r[0]+'="'+r[1]+'"',o++;n&&(this.buffer+=" /"),this.buffer+=">",this.lastOut=">"}},vr.prototype.attrs=function(e){var t=[];return!this.options.sourcepos||(e=e.sourcepos)&&t.push(["data-sourcepos",String(e[0][0])+":"+String(e[0][1])+"-"+String(e[1][0])+":"+String(e[1][1])]),t};var Or=vr,wr=/\<[^>]*\>/;function Er(e){e=e||{},this.disableTags=0,this.lastOut="\n",this.indentLevel=0,this.indent=" ",this.options=e}(Er.prototype=Object.create(gr.prototype)).render=function(e){var t;this.buffer="";var n,r,o,a,i,l,s=e.walker(),u=this.options;for(u.time&&console.time("rendering"),this.buffer+='<?xml version="1.0" encoding="UTF-8"?>\n',this.buffer+='<!DOCTYPE document SYSTEM "CommonMark.dtd">\n';n=s.next();)if(o=n.entering,i=(r=n.node).type,a=r.isContainer,l="thematic_break"===i||"linebreak"===i||"softbreak"===i,n=i.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase(),o){switch(t=[],i){case"document":t.push(["xmlns","http://commonmark.org/xml/1.0"]);break;case"list":null!==r.listType&&t.push(["type",r.listType.toLowerCase()]),null!==r.listStart&&t.push(["start",String(r.listStart)]),null!==r.listTight&&t.push(["tight",r.listTight?"true":"false"]);var c=r.listDelimiter;null!==c&&t.push(["delimiter","."===c?"period":"paren"]);break;case"code_block":r.info&&t.push(["info",r.info]);break;case"heading":t.push(["level",String(r.level)]);break;case"link":case"image":t.push(["destination",r.destination]),t.push(["title",r.title]);break;case"custom_inline":case"custom_block":t.push(["on_enter",r.onEnter]),t.push(["on_exit",r.onExit])}!u.sourcepos||(i=r.sourcepos)&&t.push(["sourcepos",String(i[0][0])+":"+String(i[0][1])+"-"+String(i[1][0])+":"+String(i[1][1])]),this.cr(),this.out(this.tag(n,t,l)),a?this.indentLevel+=1:a||l||((l=r.literal)&&this.out(this.esc(l)),this.out(this.tag("/"+n)))}else--this.indentLevel,this.cr(),this.out(this.tag("/"+n));return u.time&&console.timeEnd("rendering"),this.buffer+="\n",this.buffer},Er.prototype.out=function(e){0<this.disableTags?this.buffer+=e.replace(wr,""):this.buffer+=e,this.lastOut=e},Er.prototype.cr=function(){if("\n"!==this.lastOut){this.buffer+="\n",this.lastOut="\n";for(var e=this.indentLevel;0<e;e--)this.buffer+=this.indent}},Er.prototype.tag=function(e,t,n){var r="<"+e;if(t&&0<t.length)for(var o,a=0;void 0!==(o=t[a]);)r+=" "+o[0]+'="'+this.esc(o[1])+'"',a++;return n&&(r+=" /"),r+=">"},Er.prototype.esc=Rt.escapeXml;var N={Node:Ye,Parser:fr,Renderer:gr,HtmlRenderer:Or,XmlRenderer:Er},Tr="__lodash_hash_undefined__",Sr=9007199254740991,Cr="[object Arguments]",xr="[object Function]",Dr="[object GeneratorFunction]",Ar=/^\[object .+?Constructor\]$/,Nr="object"==typeof n&&n&&n.Object===Object&&n,Pr="object"==typeof self&&self&&self.Object===Object&&self,He=Nr||Pr||Function("return this")();function kr(e,t){return!!(e?e.length:0)&&-1<function(e,t,n){if(t!=t)return function(e,t,n,r){var o=e.length,a=n+(r?1:-1);for(;r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}(e,Rr,n);var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,0)}function Lr(e,t,n){for(var r=-1,o=e?e.length:0;++r<o;)if(n(t,e[r]))return!0;return!1}function Rr(e){return e!=e}function Ir(e,t){return e.has(t)}var Ve=Array.prototype,Qe=Function.prototype,$e=Object.prototype,Je=He["__core-js_shared__"],_r=(et=/[^.]+$/.exec(Je&&Je.keys&&Je.keys.IE_PROTO||""))?"Symbol(src)_1."+et:"",Mr=Qe.toString,jr=$e.hasOwnProperty,Ur=$e.toString,Br=RegExp("^"+Mr.call(jr).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),e=He.Symbol,Fr=$e.propertyIsEnumerable,qr=Ve.splice,zr=e?e.isConcatSpreadable:void 0,Gr=Math.max,Vr=to(He,"Map"),Hr=to(Object,"create");function Yr(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Wr(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Kr(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Zr(e){var t=-1,n=e?e.length:0;for(this.__data__=new Kr;++t<n;)this.add(e[t])}function Xr(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function $r(e,t,n,r){var o,a=-1,i=kr,l=!0,s=e.length,u=[],c=t.length;if(!s)return u;n&&(t=function(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}(t,(o=n,function(e){return o(e)}))),r?(i=Lr,l=!1):200<=t.length&&(i=Ir,l=!1,t=new Zr(t));e:for(;++a<s;){var p=e[a],d=n?n(p):p,p=r||0!==p?p:0;if(l&&d==d){for(var f=c;f--;)if(t[f]===d)continue e;u.push(p)}else i(t,d,r)||u.push(p)}return u}function Jr(e,t,n,r,o){var a=-1,i=e.length;for(n=n||no,o=o||[];++a<i;){var l=e[a];0<t&&n(l)?1<t?Jr(l,t-1,n,r,o):function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n]}(o,l):r||(o[o.length]=l)}return o}function Qr(e){var t;return uo(e)&&(t=e,!(_r&&_r in t))&&(so(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?Br:Ar).test(function(e){if(null!=e){try{return Mr.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function eo(e,t){var n,r=e.__data__;return("string"==(e=typeof(n=t))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function to(e,t){t=t,t=null==(e=e)?void 0:e[t];return Qr(t)?t:void 0}function no(e){return ao(e)||lo(t=e)&&jr.call(t,"callee")&&(!Fr.call(t,"callee")||Ur.call(t)==Cr)||!!(zr&&e&&e[zr]);var t}Yr.prototype.clear=function(){this.__data__=Hr?Hr(null):{}},Yr.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Yr.prototype.get=function(e){var t=this.__data__;if(Hr){var n=t[e];return n===Tr?void 0:n}return jr.call(t,e)?t[e]:void 0},Yr.prototype.has=function(e){var t=this.__data__;return Hr?void 0!==t[e]:jr.call(t,e)},Yr.prototype.set=function(e,t){return this.__data__[e]=Hr&&void 0===t?Tr:t,this},Wr.prototype.clear=function(){this.__data__=[]},Wr.prototype.delete=function(e){var t=this.__data__;return!((e=Xr(t,e))<0)&&(e==t.length-1?t.pop():qr.call(t,e,1),!0)},Wr.prototype.get=function(e){var t=this.__data__;return(e=Xr(t,e))<0?void 0:t[e][1]},Wr.prototype.has=function(e){return-1<Xr(this.__data__,e)},Wr.prototype.set=function(e,t){var n=this.__data__,r=Xr(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Kr.prototype.clear=function(){this.__data__={hash:new Yr,map:new(Vr||Wr),string:new Yr}},Kr.prototype.delete=function(e){return eo(this,e).delete(e)},Kr.prototype.get=function(e){return eo(this,e).get(e)},Kr.prototype.has=function(e){return eo(this,e).has(e)},Kr.prototype.set=function(e,t){return eo(this,e).set(e,t),this},Zr.prototype.add=Zr.prototype.push=function(e){return this.__data__.set(e,Tr),this},Zr.prototype.has=function(e){return this.__data__.has(e)};var ro,oo,ft=(ro=function(e,t){return lo(e)?$r(e,Jr(t,1,lo,!0)):[]},oo=Gr(void 0===oo?ro.length-1:oo,0),function(){for(var e=arguments,t=-1,n=Gr(e.length-oo,0),r=Array(n);++t<n;)r[t]=e[oo+t];for(var t=-1,o=Array(oo+1);++t<oo;)o[t]=e[t];return o[oo]=r,function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(ro,this,o)});var ao=Array.isArray;function io(e){return null!=e&&("number"==typeof(t=e.length)&&-1<t&&t%1==0&&t<=Sr)&&!so(e);var t}function lo(e){return!!(t=e)&&"object"==typeof t&&io(e);var t}function so(e){e=uo(e)?Ur.call(e):"";return e==xr||e==Dr}function uo(e){var t=typeof e;return e&&("object"==t||"function"==t)}function co(e){var t=e.as,n=e.children,r=e.className,o=e.allowList,a=e.blockList,e=e.config;return n?(null!=o&&o.length&&null!=a&&a.length&&je("Markdown supports only one of `allowList` or `blockList` to be used at a time. `blockList` will be ignored."),ce(t,{className:r,dangerouslySetInnerHTML:{__html:(e=e.link.target,n=function(e){e=fo.parse(e);return o||a?function(e){var t=e.blockList,e=e.parsed;if(!e)return e;var n=e.walker(),r=n.next();for(;r;){var o=r.node;if(t.includes(o.type)&&!r.entering){for(;o.firstChild;)o.insertBefore(o.firstChild);o.unlink()}r=n.next()}return n.root}({parsed:e,blockList:o?po(mo,o):a}):e}(n),ho.render(n).replace(/<a href="/g,'<a target="'.concat(e,'" href="')))}})):null}var po=ft,fo=new N.Parser,ho=new N.HtmlRenderer({safe:!0}),mo=Object.values(re.MarkdownNodeType);function go(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function yo(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?go(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):go(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}co.propTypes={children:l.default.string.isRequired,as:l.default.string,className:l.default.string,allowList:l.default.arrayOf(l.default.oneOf(["block_quote","code_block","code","emph","heading","html_block","html_inline","image","item","linebreak","link","list","paragraph","softbreak","strong","thematic_break"])),blockList:l.default.arrayOf(l.default.oneOf(["block_quote","code_block","code","emph","heading","html_block","html_inline","image","item","linebreak","link","list","paragraph","softbreak","strong","thematic_break"])),config:l.default.shape({link:l.default.shape({target:l.default.oneOf(["_blank","_self"])})})},co.defaultProps={as:"div",className:void 0,allowList:null,blockList:null,config:{link:{target:"_self"}}};function bo(e){return ce(co,yo(yo({},e),{},{as:"span",allowList:vo,blockList:void 0}))}var vo=[re.MarkdownNodeType.STRONG];function Oo(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function wo(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Oo(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Oo(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Eo(t,n){function e(e){return ce(t,wo(wo({},e),{},{className:se(e.className,function(e){if(e){var t=["arrow"],n=re.AlertArrowPosition.BOTTOM,r=re.AlertArrowPosition.BOTTOM_LEFT,o=re.AlertArrowPosition.BOTTOM_RIGHT,a=re.AlertArrowPosition.TOP,i=re.AlertArrowPosition.TOP_RIGHT,l=re.AlertArrowPosition.TOP_LEFT;switch(e){case n:return t.concat("arrow-bottom","arrow-center");case r:return t.concat("arrow-bottom","arrow-left");case o:return t.concat("arrow-bottom","arrow-right");case a:return t.concat("arrow-center");case i:return t.concat("arrow-right");case l:default:return t}}return""}(n)),arrow:void 0}))}return e.propTypes={className:l.default.string},e.defaultProps={className:void 0},e}function To(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}bo.propTypes={children:l.default.string.isRequired,className:l.default.string},bo.defaultProps={className:void 0},(ht=re.AlertArrowPosition||(re.AlertArrowPosition={})).TOP_LEFT="up-left",ht.TOP="up-center",ht.TOP_RIGHT="up-right",ht.BOTTOM_LEFT="down-left",ht.BOTTOM="down-center",ht.BOTTOM_RIGHT="down-right";var So=(le(Ct={},re.Sentiment.SUCCESS,re.Sentiment.POSITIVE),le(Ct,re.Sentiment.INFO,re.Sentiment.NEUTRAL),le(Ct,re.Sentiment.ERROR,re.Sentiment.NEGATIVE),Ct),At=function e(t){var n=ae.useTheme().isModern,r=(le(h={},re.Sentiment.POSITIVE,S.CheckCircle),le(h,re.Sentiment.NEUTRAL,S.InfoCircle),le(h,re.Sentiment.WARNING,S.Warning),le(h,re.Sentiment.NEGATIVE,S.CrossCircle),le(h,re.Sentiment.PENDING,S.Clock),h),o=oe.useState(!1),a=fe(o,2),i=a[0],l=a[1],s=t.arrow,u=t.action,c=t.children,p=t.className,d=t.icon,f=t.onDismiss,h=t.message,o=t.type,a=t.variant,m=oe.useRef(null);if(s){var g=Eo(e,s);return ce(g,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?To(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):To(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},t))}t=(g=t).size,g=g.type,Ue("Alert no longer supports any possible variations in size. Please remove the `size` prop.",!!t),Ue("Alert has deprecated the ".concat(g," value for the `type` prop. Please update to ").concat(Co[g],"."),xo.includes(g));var y=So[o]||o,b=r[y];return pe("div",{role:"alert",className:se("alert d-flex","alert-".concat(y),p),onTouchStart:function(){return l(!0)},onTouchEnd:function(e){i&&u&&null!=m&&m.current&&!m.current.contains(e.target)&&("_blank"===(null==u?void 0:u.target)?window.top.open(u.href):window.top.location.assign(u.href)),l(!1)},onTouchMove:function(){return l(!1)},children:[pe("div",{className:se("alert__content","d-flex","flex-grow-1",a),"data-testid":a,children:[d?oe.cloneElement(d,{size:24}):n?ce(Me,{size:re.Size.LARGE,sentiment:y}):ce(b,{size:24}),pe("div",{className:"alert__message",children:[ce(z,{as:"span",className:"d-block",type:re.Typography.BODY_LARGE,children:c||ce(bo,{children:h})}),u&&ce(_e,{href:u.href,className:"m-t-1","aria-label":u["aria-label"],target:u.target,type:re.Typography.LINK_LARGE,children:u.text})]})]}),f&&ce(Ae,{ref:m,className:"m-l-2",onClick:f})]})},Co=(le(xt={},re.Sentiment.SUCCESS,"Sentiment.POSITIVE"),le(xt,re.Sentiment.INFO,"Sentiment.NEUTRAL"),le(xt,re.Sentiment.ERROR,"Sentiment.NEGATIVE"),xt),xo=Object.keys(So);At.propTypes={action:l.default.shape({"aria-label":l.default.string,href:l.default.string.isRequired,target:l.default.string,text:l.default.node.isRequired}),className:l.default.string,icon:l.default.element,message:xe(l.default.node,function(e){return!e.children}),onDismiss:l.default.func,type:l.default.oneOf(["negative","neutral","positive","warning","info","error","success"]),variant:l.default.oneOf(["desktop","mobile"]),arrow:Be(l.default.oneOf(["up-left","up-center","up-right","down-left","down-center","down-right"]),{component:"Alert",expiryDate:new Date("03-01-2021")}),children:Be(xe(l.default.node,function(e){return!e.message}),{component:"Alert",message:"You should now use the `message` prop. Be aware `message` only accepts plain text or text with **bold** markdown.",expiryDate:new Date("03-01-2021")}),dismissible:Be(l.default.bool,{component:"Alert",message:"The Alert will now be considered dismissible if an `onDismiss` hander is present.",expiryDate:new Date("03-01-2021")})},At.defaultProps={action:void 0,arrow:void 0,className:void 0,dismissible:void 0,icon:void 0,type:re.Sentiment.NEUTRAL,variant:re.Variant.DESKTOP},(Dt=re.AvatarType||(re.AvatarType={})).THUMBNAIL="thumbnail",Dt.ICON="icon",Dt.EMOJI="emoji",Dt.INITIALS="initials";function Do(e){var t=e.backgroundColor,n=e.children,r=e.className,o=e.outlined,a=e.size,i=e.theme,e=e.type;return ce("div",{className:se("tw-avatar",r,"tw-avatar--".concat(a),"tw-avatar--".concat(e),"tw-avatar--".concat(i),{"tw-avatar--outlined":o,"np-text-title-body":e===re.AvatarType.INITIALS}),children:ce("div",{className:"tw-avatar__content",style:{backgroundColor:t||void 0},children:n})})}Do.propTypes={backgroundColor:l.default.string,children:l.default.node,className:l.default.string,outlined:l.default.bool,size:l.default.oneOf(["sm","md","lg"]),theme:l.default.oneOf(["light","dark"]),type:l.default.oneOf(["thumbnail","icon","emoji","initials"])},Do.defaultProps={backgroundColor:null,children:null,className:null,outlined:!1,size:re.Size.MEDIUM,theme:re.Theme.LIGHT,type:re.AvatarType.THUMBNAIL};function Ao(e){var t=e.badge,n=void 0===(a=e.className)?void 0:a,r=void 0===(o=e.size)?re.Size.SMALL:o,o=void 0===(a=e.border)?re.Theme.LIGHT:a,a=e.children,n=se("tw-badge",(le(e={},"tw-badge-border-".concat(o),o),le(e,"tw-badge-".concat(r),r),e),n);return pe("div",{className:n,children:[ce("div",{className:"tw-badge__children",children:a}),ce("div",{className:"tw-badge__content",children:t})]})}var No=["url","altText","statusIcon","children"];function Po(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function ko(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Po(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Po(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Lo(e){var t=e.url,n=e.altText,r=e.statusIcon,o=e.children,e=b(e,No);return t?ce(Ao,ko(ko({badge:ce("img",{src:t,alt:n})},e),{},{children:o})):r?ce(Ao,ko(ko({badge:ce(Me,{sentiment:r,size:re.Size.SMALL})},e),{},{children:o})):o}Lo.propTypes={url:l.default.string,altText:l.default.string,statusIcon:l.default.oneOf([re.Sentiment.POSITIVE,re.Sentiment.NEGATIVE,re.Sentiment.NEUTRAL,re.Sentiment.WARNING,re.Sentiment.PENDING]),children:l.default.node.isRequired},Lo.defaultProps={url:void 0,altText:void 0,statusIcon:void 0};St=function(e){var t=e.url,n=e.profileType,r=e.badgeUrl,o=e.badgeAltText,a=e.badgeStatusIcon,i=e.name,l=e.avatarProps,s=e.badgeProps,e=oe.useState(!1),e=fe(e,2),u=e[0],c=e[1],p=n===re.ProfileType.BUSINESS;oe.useEffect(function(){return c(!1)},[t]);return ce(Lo,ko(ko({url:r,altText:o,statusIcon:a},s),{},{children:ce(Do,ko({size:re.Size.MEDIUM},ko(t&&!u?{type:re.AvatarType.THUMBNAIL,children:ce("img",{src:t,alt:"avatar",onError:function(){return c(!0)}})}:n?{type:re.AvatarType.ICON,children:ce(p?S.Briefcase:S.Person,{size:"24"})}:i?{type:re.AvatarType.INITIALS,children:ce(M,{children:function(e){e=e.split(" ").map(function(e){return e[0]}).join("").toUpperCase();return 1!==e.length?e[0]+e.slice(-1):e[0]}(i)})}:{type:re.AvatarType.ICON,children:ce(S.Person,{size:"24"})},l)))}))};function Ro(){return(Ro=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Io(e,t){if(null==e)return{};for(var n,r={},o=Object.keys(e),a=0;a<o.length;a++)n=o[a],0<=t.indexOf(n)||(r[n]=e[n]);return r}function _o(e,t){return(_o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Mo(e,t){e.prototype=Object.create(t.prototype),_o(e.prototype.constructor=e,t)}function jo(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}St.defaultProps={url:void 0,profileType:void 0,badgeUrl:void 0,badgeAltText:void 0,badgeStatusIcon:void 0,name:void 0,avatarProps:{},badgeProps:{}};var Uo=!(St.propTypes={url:l.default.string,profileType:l.default.oneOf([re.ProfileType.PERSONAL,re.ProfileType.BUSINESS]),badgeUrl:l.default.string,badgeAltText:l.default.string,badgeStatusIcon:l.default.oneOf([re.Sentiment.POSITIVE,re.Sentiment.NEGATIVE,re.Sentiment.NEUTRAL,re.Sentiment.WARNING,re.Sentiment.PENDING]),name:l.default.string,avatarProps:l.default.shape({}),badgeProps:l.default.shape({})}),Bo="production"!==process.env.NODE_ENV?l.default.oneOfType([l.default.number,l.default.shape({enter:l.default.number,exit:l.default.number,appear:l.default.number}).isRequired]):null,Pt="production"!==process.env.NODE_ENV?l.default.oneOfType([l.default.string,l.default.shape({enter:l.default.string,exit:l.default.string,active:l.default.string}),l.default.shape({enter:l.default.string,enterDone:l.default.string,enterActive:l.default.string,exit:l.default.string,exitDone:l.default.string,exitActive:l.default.string})]):null,Fo=Ne.default.createContext(null),qo="unmounted",zo="exited",Go="entering",Vo="entered",Ho="exiting",Yo=function(o){function e(e,t){var n,r=o.call(this,e,t)||this,t=t&&!t.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?t?(n=zo,r.appearStatus=Go):n=Vo:n=e.unmountOnExit||e.mountOnEnter?qo:zo,r.state={status:n},r.nextCallback=null,r}Mo(e,o),e.getDerivedStateFromProps=function(e,t){return e.in&&t.status===qo?{status:zo}:null};var t=e.prototype;return t.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.componentDidUpdate=function(e){var t=null;e!==this.props&&(e=this.state.status,this.props.in?e!==Go&&e!==Vo&&(t=Go):e!==Go&&e!==Vo||(t=Ho)),this.updateStatus(!1,t)},t.componentWillUnmount=function(){this.cancelNextCallback()},t.getTimeouts=function(){var e,t,n=this.props.timeout,r=e=t=n;return null!=n&&"number"!=typeof n&&(r=n.exit,e=n.enter,t=void 0!==n.appear?n.appear:e),{exit:r,enter:e,appear:t}},t.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===Go?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===zo&&this.setState({status:qo})},t.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[Pe.default.findDOMNode(this),r],a=o[0],i=o[1],o=this.getTimeouts(),l=r?o.appear:o.enter;!e&&!n||Uo?this.safeSetState({status:Vo},function(){t.props.onEntered(a)}):(this.props.onEnter(a,i),this.safeSetState({status:Go},function(){t.props.onEntering(a,i),t.onTransitionEnd(l,function(){t.safeSetState({status:Vo},function(){t.props.onEntered(a,i)})})}))},t.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Pe.default.findDOMNode(this);t&&!Uo?(this.props.onExit(r),this.safeSetState({status:Ho},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:zo},function(){e.props.onExited(r)})})})):this.safeSetState({status:zo},function(){e.props.onExited(r)})},t.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},t.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},t.setNextCallback=function(t){var n=this,r=!0;return this.nextCallback=function(e){r&&(r=!1,n.nextCallback=null,t(e))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},t.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Pe.default.findDOMNode(this),t=null==e&&!this.props.addEndListener;n&&!t?(this.props.addEndListener&&(n=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],this.props.addEndListener(n[0],n[1])),null!=e&&setTimeout(this.nextCallback,e)):setTimeout(this.nextCallback,0)},t.render=function(){var e=this.state.status;if(e===qo)return null;var t=this.props,n=t.children,t=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Io(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return Ne.default.createElement(Fo.Provider,{value:null},"function"==typeof n?n(e,t):Ne.default.cloneElement(Ne.default.Children.only(n),t))},e}(Ne.default.Component);function Wo(){}Yo.contextType=Fo,Yo.propTypes="production"!==process.env.NODE_ENV?{nodeRef:l.default.shape({current:"undefined"==typeof Element?l.default.any:function(e,t,n,r,o,a){var i=e[t];return l.default.instanceOf(i&&"ownerDocument"in i?i.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,a)}}),children:l.default.oneOfType([l.default.func.isRequired,l.default.element.isRequired]).isRequired,in:l.default.bool,mountOnEnter:l.default.bool,unmountOnExit:l.default.bool,appear:l.default.bool,enter:l.default.bool,exit:l.default.bool,timeout:function(e){var t=Bo;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,r=new Array(1<n?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,[e].concat(r))},addEndListener:l.default.func,onEnter:l.default.func,onEntering:l.default.func,onEntered:l.default.func,onExit:l.default.func,onExiting:l.default.func,onExited:l.default.func}:{},Yo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Wo,onEntering:Wo,onEntered:Wo,onExit:Wo,onExiting:Wo,onExited:Wo},Yo.UNMOUNTED=qo,Yo.EXITED=zo,Yo.ENTERING=Go,Yo.ENTERED=Vo,Yo.EXITING=Ho;function Ko(o,e){return o&&e&&e.split(" ").forEach(function(e){var t,n,r;n=e,(t=o).classList?t.classList.add(n):(r=n,((e=t).classList?r&&e.classList.contains(r):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+r+" "))||("string"==typeof t.className?t.className=t.className+" "+n:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+n)))})}function Zo(n,e){return n&&e&&e.split(" ").forEach(function(e){var t;t=e,(e=n).classList?e.classList.remove(t):"string"==typeof e.className?e.className=jo(e.className,t):e.setAttribute("class",jo(e.className&&e.className.baseVal||"",t))})}var Xo=function(r){function e(){for(var o,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(o=r.call.apply(r,[this].concat(t))||this).appliedClasses={appear:{},enter:{},exit:{}},o.onEnter=function(e,t){var n=o.resolveArguments(e,t),r=n[0],n=n[1];o.removeClasses(r,"exit"),o.addClass(r,n?"appear":"enter","base"),o.props.onEnter&&o.props.onEnter(e,t)},o.onEntering=function(e,t){var n=o.resolveArguments(e,t),r=n[0],n=n[1];o.addClass(r,n?"appear":"enter","active"),o.props.onEntering&&o.props.onEntering(e,t)},o.onEntered=function(e,t){var n=o.resolveArguments(e,t),r=n[0],n=n[1]?"appear":"enter";o.removeClasses(r,n),o.addClass(r,n,"done"),o.props.onEntered&&o.props.onEntered(e,t)},o.onExit=function(e){var t=o.resolveArguments(e)[0];o.removeClasses(t,"appear"),o.removeClasses(t,"enter"),o.addClass(t,"exit","base"),o.props.onExit&&o.props.onExit(e)},o.onExiting=function(e){var t=o.resolveArguments(e)[0];o.addClass(t,"exit","active"),o.props.onExiting&&o.props.onExiting(e)},o.onExited=function(e){var t=o.resolveArguments(e)[0];o.removeClasses(t,"exit"),o.addClass(t,"exit","done"),o.props.onExited&&o.props.onExited(e)},o.resolveArguments=function(e,t){return o.props.nodeRef?[o.props.nodeRef.current,e]:[e,t]},o.getClassNames=function(e){var t=o.props.classNames,n="string"==typeof t,r=n?(n&&t?t+"-":"")+e:t[e];return{baseClassName:r,activeClassName:n?r+"-active":t[e+"Active"],doneClassName:n?r+"-done":t[e+"Done"]}},o}Mo(e,r);var t=e.prototype;return t.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&e.scrollTop,r&&(this.appliedClasses[t][n]=r,Ko(e,r))},t.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,n=n.done;this.appliedClasses[t]={},r&&Zo(e,r),o&&Zo(e,o),n&&Zo(e,n)},t.render=function(){var e=this.props,e=(e.classNames,Io(e,["classNames"]));return Ne.default.createElement(Yo,Ro({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},e}(Ne.default.Component);Xo.defaultProps={classNames:""},Xo.propTypes="production"!==process.env.NODE_ENV?Ro({},Yo.propTypes,{classNames:Pt,onEnter:l.default.func,onEntering:l.default.func,onEntered:l.default.func,onExit:l.default.func,onExiting:l.default.func,onExited:l.default.func}):{};function $o(e){try{return!!e()}catch(e){return!0}}function Jo(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}function Qo(e){return Ta(Ea(e),8,-1)}function ea(e){if("Function"===Qo(e))return wa(e)}function ta(e){return null==e}function na(e){if(ta(e))throw Da("Can't call method on "+e);return e}function ra(e){return xa(na(e))}function oa(e,t){return arguments.length<2?(n=ha[e],Na(n)?n:void 0):ha[e]&&ha[e][t];var n}function aa(e){if(Na(e))return e;throw Ba(function(e){try{return Ua(e)}catch(e){return"Object"}}(e)+" is not a function")}function ia(t,n){try{qa(ha,t,{value:n,configurable:!0,writable:!0})}catch(e){ha[t]=n}return n}function la(e){return Ga(na(e))}function sa(e){return"Symbol("+(void 0===e?"":e)+")_"+Ka(++Ya+Wa,36)}function ua(e,t){if(!ka(e)||ja(e))return e;var n=function(e,t){t=e[t];return ta(t)?void 0:aa(t)}(e,ei);if(n){if(n=ya(n,e,t=void 0===t?"default":t),!ka(n)||ja(n))return n;throw Qa("Can't convert object to primitive value")}return function(e,t){var n,r;if("string"===t&&Na(n=e.toString)&&!ka(r=ya(n,e)))return r;if(Na(n=e.valueOf)&&!ka(r=ya(n,e)))return r;if("string"!==t&&Na(n=e.toString)&&!ka(r=ya(n,e)))return r;throw Fa("Can't convert object to primitive value")}(e,t=void 0===t?"number":t)}function ca(e){return e=ua(e,"string"),ja(e)?e:e+""}function pa(e){return ni?ti.createElement(e):{}}function da(e){if(ka(e))return e;throw li(ii(e)+" is not an object")}var fa=function(e){return e&&e.Math==Math&&e},ha=fa("object"==typeof globalThis&&globalThis)||fa("object"==typeof window&&window)||fa("object"==typeof self&&self)||fa("object"==typeof n&&n)||function(){return this}()||Function("return this")(),ma=!$o(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),Et=!$o(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),ga=Function.prototype.call,ya=Et?ga.bind(ga):function(){return ga.apply(ga,arguments)},mn={}.propertyIsEnumerable,ba=Object.getOwnPropertyDescriptor,va={f:ba&&!mn.call({1:2},1)?function(e){e=ba(this,e);return!!e&&e.enumerable}:mn},hn=Function.prototype,Oa=hn.call,gn=Et&&hn.bind.bind(Oa,Oa),wa=Et?gn:function(e){return function(){return Oa.apply(e,arguments)}},Ea=wa({}.toString),Ta=wa("".slice),Sa=Object,Ca=ea("".split),xa=$o(function(){return!Sa("z").propertyIsEnumerable(0)})?function(e){return"String"==Qo(e)?Ca(e,""):Sa(e)}:Sa,Da=TypeError,Rt="object"==typeof document&&document.all,fr={all:Rt,IS_HTMLDDA:void 0===Rt&&void 0!==Rt},Aa=fr.all,Na=fr.IS_HTMLDDA?function(e){return"function"==typeof e||e===Aa}:function(e){return"function"==typeof e},Pa=fr.all,ka=fr.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Na(e)||e===Pa}:function(e){return"object"==typeof e?null!==e:Na(e)},La=ea({}.isPrototypeOf),gr=oa("navigator","userAgent")||"",Or=ha.process,Nr=ha.Deno,Pr=Or&&Or.versions||Nr&&Nr.version,Je=Pr&&Pr.v8,Ra=Wd=!(Wd=Je?0<(ls=Je.split("."))[0]&&ls[0]<4?1:+(ls[0]+ls[1]):Wd)&&gr&&(!(ls=gr.match(/Edge\/(\d+)/))||74<=ls[1])&&(ls=gr.match(/Chrome\/(\d+)/))?+ls[1]:Wd,Ia=!!Object.getOwnPropertySymbols&&!$o(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Ra&&Ra<41}),_a=Ia&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ma=Object,ja=_a?function(e){return"symbol"==typeof e}:function(e){var t=oa("Symbol");return Na(t)&&La(t.prototype,Ma(e))},Ua=String,Ba=TypeError,Fa=TypeError,qa=Object.defineProperty,et="__core-js_shared__",za=ha[et]||ia(et,{}),Qe=o(function(e){(e.exports=function(e,t){return za[e]||(za[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.0",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE",source:"https://github.com/zloirock/core-js"})}),Ga=Object,Va=ea({}.hasOwnProperty),Ha=Object.hasOwn||function(e,t){return Va(la(e),t)},Ya=0,Wa=Math.random(),Ka=ea(1..toString),Za=Qe("wks"),Xa=ha.Symbol,$a=Xa&&Xa.for,Ja=_a?Xa:Xa&&Xa.withoutSetter||sa,$e=function(e){var t;return Ha(Za,e)&&(Ia||"string"==typeof Za[e])||(t="Symbol."+e,Ia&&Ha(Xa,e)?Za[e]=Xa[e]:Za[e]=(_a&&$a?$a:Ja)(t)),Za[e]},Qa=TypeError,ei=$e("toPrimitive"),ti=ha.document,ni=ka(ti)&&ka(ti.createElement),ri=!ma&&!$o(function(){return 7!=Object.defineProperty(pa("div"),"a",{get:function(){return 7}}).a}),oi=Object.getOwnPropertyDescriptor,ai={f:ma?oi:function(e,t){if(e=ra(e),t=ca(t),ri)try{return oi(e,t)}catch(e){}if(Ha(e,t))return Jo(!ya(va.f,e,t),e[t])}},Ve=ma&&$o(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),ii=String,li=TypeError,si=TypeError,ui=Object.defineProperty,ci=Object.getOwnPropertyDescriptor,pi="enumerable",di="configurable",fi="writable",hi={f:ma?Ve?function(e,t,n){var r;return da(e),t=ca(t),da(n),"function"==typeof e&&"prototype"===t&&"value"in n&&fi in n&&!n[fi]&&((r=ci(e,t))&&r[fi]&&(e[t]=n.value,n={configurable:(di in n?n:r)[di],enumerable:(pi in n?n:r)[pi],writable:!1})),ui(e,t,n)}:ui:function(e,t,n){if(da(e),t=ca(t),da(n),ri)try{return ui(e,t,n)}catch(e){}if("get"in n||"set"in n)throw si("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},mi=ma?function(e,t,n){return hi.f(e,t,Jo(1,n))}:function(e,t,n){return e[t]=n,e},e=Function.prototype,He=ma&&Object.getOwnPropertyDescriptor,ft=Ha(e,"name"),gi={EXISTS:ft,PROPER:ft&&"something"===function(){}.name,CONFIGURABLE:ft&&(!ma||ma&&He(e,"name").configurable)},yi=ea(Function.toString);Na(za.inspectSource)||(za.inspectSource=function(e){return yi(e)});function bi(e,t,n,r){var o=(r=r||{}).enumerable,a=void 0!==r.name?r.name:t;if(Na(n)&&Ri(n,a,r),r.global)o?e[t]=n:ia(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=n:hi.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e}function vi(e){return(e=+e)!=e||0==e?0:Mi(e)}function Oi(e){return 0<(e=e.length)?Bi(vi(e),9007199254740991):0}function wi(e,t){var n,r=ra(e),o=0,a=[];for(n in r)!Ha(Ai,n)&&Ha(r,n)&&qi(a,n);for(;t.length>o;)Ha(r,n=t[o++])&&(~Fi(a,n)||qi(a,n));return a}var Ei,Ti,Si,Ci,xi=za.inspectSource,N=ha.WeakMap,ht=Na(N)&&/native code/.test(String(N)),Di=Qe("keys"),Ct=function(e){return Di[e]||(Di[e]=sa(e))},Ai={},Ni="Object already initialized",Pi=ha.TypeError,xt=ha.WeakMap,ki=ht||za.state?((Si=za.state||(za.state=new xt)).get=Si.get,Si.has=Si.has,Si.set=Si.set,Ei=function(e,t){if(Si.has(e))throw Pi(Ni);return t.facade=e,Si.set(e,t),t},Ti=function(e){return Si.get(e)||{}},function(e){return Si.has(e)}):(Ci=Ct("state"),Ai[Ci]=!0,Ei=function(e,t){if(Ha(e,Ci))throw Pi(Ni);return t.facade=e,mi(e,Ci,t),t},Ti=function(e){return Ha(e,Ci)?e[Ci]:{}},function(e){return Ha(e,Ci)}),Li={set:Ei,get:Ti,has:ki,enforce:function(e){return ki(e)?Ti(e):Ei(e,{})},getterFor:function(n){return function(e){var t;if(!ka(e)||(t=Ti(e)).type!==n)throw Pi("Incompatible receiver, "+n+" required");return t}}},Ri=o(function(e){var r=gi.CONFIGURABLE,o=Li.enforce,t=Li.get,a=Object.defineProperty,i=ma&&!$o(function(){return 8!==a(function(){},"length",{value:8}).length}),l=String(String).split("String"),e=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!Ha(e,"name")||r&&e.name!==t)&&(ma?a(e,"name",{value:t,configurable:!0}):e.name=t),i&&n&&Ha(n,"arity")&&e.length!==n.arity&&a(e,"length",{value:n.arity});try{n&&Ha(n,"constructor")&&n.constructor?ma&&a(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}n=o(e);return Ha(n,"source")||(n.source=l.join("string"==typeof t?t:"")),e};Function.prototype.toString=e(function(){return Na(this)&&t(this).source||xi(this)},"toString")}),Ii=Math.ceil,_i=Math.floor,Mi=Math.trunc||function(e){e=+e;return(0<e?_i:Ii)(e)},ji=Math.max,Ui=Math.min,Bi=Math.min,Dt=function(l){return function(e,t,n){var r,o=ra(e),a=Oi(o),i=function(e,t){e=vi(e);return e<0?ji(e+t,0):Ui(e,t)}(n,a);if(l&&t!=t){for(;i<a;)if((r=o[i++])!=r)return!0}else for(;i<a;i++)if((l||i in o)&&o[i]===t)return l||i||0;return!l&&-1}},Pt={includes:Dt(!0),indexOf:Dt(!1)},Fi=Pt.indexOf,qi=ea([].push),zi=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Gi=zi.concat("length","prototype"),Vi={f:Object.getOwnPropertyNames||function(e){return wi(e,Gi)}},Hi={f:Object.getOwnPropertySymbols},Yi=ea([].concat),Wi=oa("Reflect","ownKeys")||function(e){var t=Vi.f(da(e)),n=Hi.f;return n?Yi(t,n(e)):t},Ki=/#|\.prototype\./,fa=function(e,t){e=Xi[Zi(e)];return e==Ji||e!=$i&&(Na(t)?$o(t):!!t)},Zi=fa.normalize=function(e){return String(e).replace(Ki,".").toLowerCase()},Xi=fa.data={},$i=fa.NATIVE="N",Ji=fa.POLYFILL="P",Qi=fa,el=ai.f,mn=function(e,t){var n,r,o,a=e.target,i=e.global,l=e.stat,s=i?ha:l?ha[a]||ia(a,{}):(ha[a]||{}).prototype;if(s)for(n in t){if(r=t[n],o=e.dontCallGetSet?(o=el(s,n))&&o.value:s[n],!Qi(i?n:a+(l?".":"#")+n,e.forced)&&void 0!==o){if(typeof r==typeof o)continue;!function(e,t,n){for(var r=Wi(t),o=hi.f,a=ai.f,i=0;i<r.length;i++){var l=r[i];Ha(e,l)||n&&Ha(n,l)||o(e,l,a(t,l))}}(r,o)}(e.sham||o&&o.sham)&&mi(r,"sham",!0),bi(s,n,r,e)}};mn({target:"Number",stat:!0},{isNaN:function(e){return e!=e}});var tl=String,nl=TypeError,rl=Object.setPrototypeOf||("__proto__"in{}?function(){var n,r=!1,e={};try{(n=ea(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(e,[]),r=e instanceof Array}catch(e){}return function(e,t){return da(e),function(e){if("object"==typeof e||Na(e))return;throw nl("Can't set "+tl(e)+" as a prototype")}(t),r?n(e,t):e.__proto__=t,e}}():void 0),ol=ea(1..valueOf),hn={};hn[$e("toStringTag")]="z";function al(e){if("Symbol"===ul(e))throw TypeError("Cannot convert a Symbol value to a string");return cl(e)}var Et="[object z]"===String(hn),il=$e("toStringTag"),ll=Object,sl="Arguments"==Qo(function(){return arguments}()),ul=Et?Qo:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(e=function(e,t){try{return e[t]}catch(e){}}(t=ll(e),il))?e:sl?Qo(t):"Object"==(e=Qo(t))&&Na(t.callee)?"Arguments":e},cl=String,pl=ea("".replace),gn="[\t\n\v\f\r \u2028\u2029\ufeff]",dl=RegExp("^"+gn+gn+"*"),fl=RegExp(gn+gn+"*$"),Rt=function(t){return function(e){e=al(na(e));return 1&t&&(e=pl(e,dl,"")),e=2&t?pl(e,fl,""):e}},fr={start:Rt(1),end:Rt(2),trim:Rt(3)},Or=Vi.f,hl=ai.f,ml=hi.f,gl=fr.trim,Nr="Number",yl=ha[Nr],bl=yl.prototype,vl=ha.TypeError,Ol=ea("".slice),wl=ea("".charCodeAt),El=function(e){var t,n,r,o,a,i,l,s=ua(e,"number");if(ja(s))throw vl("Cannot convert a Symbol value to a number");if("string"==typeof s&&2<s.length)if(s=gl(s),43===(t=wl(s,0))||45===t){if(88===(e=wl(s,2))||120===e)return NaN}else if(48===t){switch(wl(s,1)){case 66:case 98:n=2,r=49;break;case 79:case 111:n=8,r=55;break;default:return+s}for(a=(o=Ol(s,2)).length,i=0;i<a;i++)if((l=wl(o,i))<48||r<l)return NaN;return parseInt(o,n)}return+s};if(Qi(Nr,!yl(" 0o1")||!yl("0b1")||yl("+0x1"))){for(var Tl,Sl=function(e){var t,n,r,o,a=arguments.length<1?0:yl(function(e){e=ua(e,"number");return"bigint"==typeof e?e:El(e)}(e)),i=this;return La(bl,i)&&$o(function(){ol(i)})?(t=Object(a),n=i,e=Sl,rl&&Na(r=n.constructor)&&r!==e&&ka(o=r.prototype)&&o!==e.prototype&&rl(t,o),t):a},Cl=ma?Or(yl):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),xl=0;Cl.length>xl;xl++)Ha(yl,Tl=Cl[xl])&&!Ha(Sl,Tl)&&ml(Sl,Tl,hl(yl,Tl));(Sl.prototype=bl).constructor=Sl,bi(ha,Nr,Sl,{constructor:!0})}function Dl(e){return Array.isArray(e)}var Al=function(e){return"number"==typeof e&&!Number.isNaN(e)},Nl=function(e){return null===e},Pl=function(e){return void 0===e},kl=Object.keys||function(e){return wi(e,zi)};mn({target:"Object",stat:!0,forced:$o(function(){kl(1)})},{keys:function(e){return kl(la(e))}});function Ll(){}function Rl(e){return"<script>"+e+"</"+Fl+">"}function Il(e){e.write(Rl("")),e.close();var t=e.parentWindow.Object;return e=null,t}var _l,Ml=function(e){return"string"==typeof e&&0===e.length||(!Nl(t=e)&&!Pl(t)&&t.constructor===Object||Dl(e))&&0===Object.keys(e).length;var t},jl={f:ma&&!Ve?Object.defineProperties:function(e,t){da(e);for(var n,r=ra(t),o=kl(t),a=o.length,i=0;i<a;)hi.f(e,n=o[i++],r[n]);return e}},Ul=oa("document","documentElement"),Bl="prototype",Fl="script",ql=Ct("IE_PROTO"),zl=function(){try{_l=new ActiveXObject("htmlfile")}catch(e){}var e;zl="undefined"==typeof document||document.domain&&_l?Il(_l):((e=pa("iframe")).style.display="none",Ul.appendChild(e),e.src=String("javascript:"),(e=e.contentWindow.document).open(),e.write(Rl("document.F=Object")),e.close(),e.F);for(var t=zi.length;t--;)delete zl[Bl][zi[t]];return zl()};Ai[ql]=!0;var Pr=Object.create||function(e,t){var n;return null!==e?(Ll[Bl]=da(e),n=new Ll,Ll[Bl]=null,n[ql]=e):n=zl(),void 0===t?n:jl.f(n,t)},Je=hi.f,Gl=$e("unscopables"),Vl=Array.prototype;null==Vl[Gl]&&Je(Vl,Gl,{configurable:!0,value:Pr(null)});var Hl=Pt.includes;mn({target:"Array",proto:!0,forced:$o(function(){return!Array(1).includes()})},{includes:function(e){return Hl(this,e,1<arguments.length?arguments[1]:void 0)}}),Vl[Gl].includes=!0;function Yl(e){if(ka(t=e)&&(void 0!==(n=t[Wl])?!!n:"RegExp"==Qo(t)))throw Kl("The method doesn't accept regular expressions");var t,n;return e}var Wl=$e("match"),Kl=TypeError,Zl=$e("match"),Xl=ea("".indexOf);mn({target:"String",proto:!0,forced:!function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[Zl]=!1,"/./"[t](n)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~Xl(al(na(this)),al(Yl(e)),1<arguments.length?arguments[1]:void 0)}});function $l(e){var t=e.keyType,n=e.event;return t&&n&&(e=t.toUpperCase(),(t=Jl[e])&&(e=n.key,n=n.keyCode,e?Dl(t.key)?t.key.includes(e):e===t.key:n===t.keyCode))}var Jl={SPACE:{key:[" ","Spacebar"],keyCode:32},ENTER:{key:"Enter",keyCode:13},TAB:{key:"Tab",keyCode:9},ESCAPE:{key:"Escape",keyCode:27}},Ql="Expected a function",es=NaN,ts="[object Symbol]",ns=/^\s+|\s+$/g,rs=/^[-+]0x[0-9a-f]+$/i,os=/^0b[01]+$/i,as=/^0o[0-7]+$/i,is=parseInt,gr="object"==typeof n&&n&&n.Object===Object&&n,ls="object"==typeof self&&self&&self.Object===Object&&self,ss=gr||ls||Function("return this")(),us=Object.prototype.toString,cs=Math.max,ps=Math.min,ds=function(){return ss.Date.now()};function fs(r,n,e){var o,a,i,l,s,u,c=0,p=!1,d=!1,t=!0;if("function"!=typeof r)throw new TypeError(Ql);function f(e){var t=o,n=a;return o=a=void 0,c=e,l=r.apply(n,t)}function h(e){var t=e-u;return void 0===u||n<=t||t<0||d&&i<=e-c}function m(){var e,t=ds();if(h(t))return g(t);s=setTimeout(m,(t=n-((e=t)-u),d?ps(t,i-(e-c)):t))}function g(e){return s=void 0,t&&o?f(e):(o=a=void 0,l)}function y(){var e=ds(),t=h(e);if(o=arguments,a=this,u=e,t){if(void 0===s)return c=t=u,s=setTimeout(m,n),p?f(t):l;if(d)return s=setTimeout(m,n),f(u)}return void 0===s&&(s=setTimeout(m,n)),l}return n=ms(n)||0,hs(e)&&(p=!!e.leading,d="maxWait"in e,i=d?cs(ms(e.maxWait)||0,n):i,t="trailing"in e?!!e.trailing:t),y.cancel=function(){void 0!==s&&clearTimeout(s),o=u=a=s=void(c=0)},y.flush=function(){return void 0===s?l:g(ds())},y}function hs(e){var t=typeof e;return e&&("object"==t||"function"==t)}function ms(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||!!(n=t)&&"object"==typeof n&&us.call(t)==ts)return es;var t,n;if("string"!=typeof(e=hs(e)?hs(r="function"==typeof e.valueOf?e.valueOf():e)?r+"":r:e))return 0===e?e:+e;e=e.replace(ns,"");var r=os.test(e);return r||as.test(e)?is(e.slice(2),r?2:8):rs.test(e)?es:+e}function gs(e){var n=e.ref,t=e.throttleMs,r=void 0===t?100:t,e=oe.useState(null),e=(t=fe(e,2))[0],o=t[1];return bs(function(){function e(){n&&(n.innerWidth?o(n.innerWidth):n.current&&o(n.current.clientWidth))}var t=ys(e,r);return window.addEventListener("resize",t,!0),window.requestAnimationFrame(e),function(){return window.removeEventListener("resize",t,!0)}},[]),[e]}var ys=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError(Ql);return hs(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),fs(e,t,{leading:r,maxWait:t,trailing:o})},bs="undefined"!=typeof window?oe.useLayoutEffect:oe.useEffect;gs.THROTTLE_MS=100;function vs(e){var t=e.attachListener,n=e.callback,r=e.eventType,o=e.parent;oe.useEffect(function(){return t&&!Pl(o)&&o.addEventListener(r,n,!0),function(){Pl(o)||o.removeEventListener(r,n,!0)}},[t,n,r,o])}function Os(e){var t=e.direction,e=e.children;return ce(Cs.Provider,{value:t,children:e})}function ws(){var e=oe.useContext(Cs);return{direction:e,isRTL:"rtl"===e}}function Es(e){function n(e,t){e.forEach(function(e){e.isIntersecting&&(a(!0),t.unobserve(i))})}var r=e.elRef,t=e.loading,o=oe.useState(!1),o=(e=fe(o,2))[0],a=e[1],i=(r||{}).current;return oe.useEffect(function(){var e,t=!1;return"undefined"!=typeof window&&window.IntersectionObserver&&r&&i?t||(e=new IntersectionObserver(n,xs)).observe(i):a(!0),function(){t=!0,e&&e.unobserve(i)}},[r]),"eager"===t?[!1]:[o]}function Ts(){var e="undefined"==typeof window?void 0:window,t=oe.useState(),n=fe(t,2),t=n[0],r=n[1],e=gs({ref:e}),o=fe(e,1)[0];return oe.useEffect(function(){o&&(o<=re.Breakpoint.EXTRA_SMALL?r(re.Breakpoint.EXTRA_SMALL):re.Breakpoint.EXTRA_SMALL<o&&o<=re.Breakpoint.SMALL?r(re.Breakpoint.SMALL):re.Breakpoint.SMALL<o&&o<=re.Breakpoint.MEDIUM?r(re.Breakpoint.MEDIUM):re.Breakpoint.MEDIUM<o&&o<=re.Breakpoint.LARGE?r(re.Breakpoint.LARGE):re.Breakpoint.LARGE<o&&r(re.Breakpoint.EXTRA_LARGE))},[o]),{isMobile:!!t&&[re.Breakpoint.EXTRA_SMALL,re.Breakpoint.SMALL].includes(t),isExtraSmall:t===re.Breakpoint.EXTRA_SMALL,isSmall:t===re.Breakpoint.SMALL,isMedium:t===re.Breakpoint.MEDIUM,isLarge:t===re.Breakpoint.LARGE,isExtraLarge:t===re.Breakpoint.EXTRA_LARGE}}function Ss(e){var t=e.children,r=oe.useRef(null),n=Pl(document)?void 0:document,e=oe.useState({}),o=(e=fe(e,2))[0],a=e[1];return oe.useEffect(function(){var e,t,n;null!=r&&r.current&&(r.current.focus(),a((e=r.current,n={first:e,last:e},null==e||!e.querySelectorAll||0<(t=K(e.querySelectorAll('a, button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])')).filter(function(e){return!e.hasAttribute("disabled")})).length&&(e=fe(t,1),n.first=e[0],n.last=t[t.length-1]),n)))},[]),vs({eventType:"keydown",callback:function(e){var t,n,r;$l({keyType:Ds,event:e})&&(n=(t={event:e,focusableEls:o}).focusableEls,r=n.first,e=n.last,n=t.event,t=document.activeElement,n.shiftKey&&t===r&&(e&&e.focus(),n.preventDefault()),n.shiftKey||t!==e||(r&&r.focus(),n.preventDefault()))},attachListener:!0,parent:n}),ce("span",{ref:r,tabIndex:-1,className:"np-focus-boundary outline-none",children:t})}var Cs=oe.createContext(re.Direction.LTR),xs={threshold:.1},Ds=h.TAB;function As(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Ns(o){return function(e){var t=oe.useState(!1),n=fe(t,2),t=n[0],r=n[1];return oe.useEffect(function(){r(!0)},[r]),t?a.createPortal(ce(o,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?As(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):As(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},e)),document.body):null}}function Ps(e){var t=e.target.classList.contains("dimmer");d()&&t&&(e.stopPropagation(),e.preventDefault())}var ks=new(function(){function e(){u(this,e),this.dimmers=[]}return s(e,[{key:"add",value:function(e){var t=this.dimmers.indexOf(e);return-1!==t||(t=this.dimmers.length,this.dimmers.push(e)),t}},{key:"remove",value:function(e){e=this.dimmers.indexOf(e);return-1!==e&&this.dimmers.splice(e,1),e}},{key:"isTop",value:function(e){return 0<this.dimmers.length&&this.dimmers[this.dimmers.length-1]===e}}]),e}()),Ls=function(e){var t=e.open,n=e.hasNotExited,r=e.children,o=ae.useTheme(),e=o.screenMode,o=o.theme;return t||n?ce(ae.ThemeProvider,{theme:o,screenMode:e,isNotRootProvider:!0,children:r}):ce(M,{children:r})},Rs=function(e){var t=e.children,n=e.scrollBody;return oe.useEffect(function(){return n&&(document.documentElement.classList.add(f),document.body.classList.add(f)),function(){n&&(document.documentElement.classList.remove(f),document.body.classList.remove(f))}},[n]),t},Is=Ns(function(e){var t=e.children,n=e.className,r=e.disableClickToClose,o=void 0!==r&&r,a=e.contentPosition,i=e.fadeContentOnEnter,l=void 0!==i&&i,s=e.fadeContentOnExit,u=void 0!==s&&s,r=e.open,c=void 0!==r&&r,i=e.scrollable,s=void 0!==i&&i,r=e.transparent,i=void 0!==r&&r,p=e.onClose,r=oe.useState(!1),e=fe(r,2),r=e[0],d=e[1],f=oe.useRef(null),h=oe.useCallback(function(e){"Escape"===e.key&&(e.stopPropagation(),p&&f.current&&ks.isTop(f.current)&&p(e))},[p]);return oe.useEffect(function(){var e=f.current;return c&&(document.addEventListener("keydown",h),null!=e&&e.addEventListener("touchmove",Ps,{passive:!0})),function(){document.removeEventListener("keydown",h),null!=e&&e.removeEventListener("touchmove",Ps)}},[h,c]),ce(Ls,{open:c,hasNotExited:r,children:ce(Xo,{nodeRef:f,in:c,appear:!0,timeout:{enter:0,exit:350},classNames:{enter:se({"dimmer--enter-fade":l}),enterDone:se("dimmer--enter-done",{"dimmer--enter-fade":l}),exit:se("dimmer--exit",{"dimmer--exit-fade":u})},unmountOnExit:!0,onEnter:function(){d(!0),f.current&&ks.add(f.current)},onExited:function(){d(!1),f.current&&ks.remove(f.current)},children:ce(Rs,{scrollBody:!i,children:ce("div",{ref:f,className:se("dimmer",{"dimmer--scrollable":s,"dimmer--transparent":i},n),role:"presentation",onClick:function(e){var t;!o&&p&&(t=e).target===f.current&&null!=p&&p(t)},children:ce("div",{className:se("dimmer-content-positioner",null!=a&&["d-flex justify-content-center",{"align-items-start":"top"===a,"align-items-center":"center"===a,"align-items-end":"bottom"===a}]),children:ce(Ss,{children:t})})})})})})});var _s=["children","className","open","position","showSlidingPanelBorder","slidingPanelPositionFixed"];function Ms(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function js(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ms(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ms(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Us=oe.forwardRef(function(e,t){var n,r=e.children,o=e.className,a=e.open,i=e.position,l=e.showSlidingPanelBorder,s=e.slidingPanelPositionFixed,u=b(e,_s),e=oe.useRef(null);return ce(Xo,js(js({},u),{},{nodeRef:e,in:a,timeout:{enter:0,exit:350},classNames:se("sliding-panel--open-".concat(i),l&&"sliding-panel--border-".concat(i),{"sliding-panel--fixed":s},"sliding-panel"),appear:!0,unmountOnExit:!0,children:ce("div",{ref:(n=[t,e],function(t){n.forEach(function(e){"function"==typeof e?e(t):null!=e&&(e.current=t)})}),className:se("sliding-panel","sliding-panel--open-".concat(i),o),children:r})}))});Us.propTypes={children:l.default.node,className:l.default.string,open:l.default.bool,position:l.default.oneOf(["top","bottom","left","right"]),showSlidingPanelBorder:l.default.bool,slidingPanelPositionFixed:l.default.bool},Us.defaultProps={children:null,className:void 0,open:!1,position:"left",showSlidingPanelBorder:!1,slidingPanelPositionFixed:!1};function Bs(t){var r=oe.useRef(null),n=oe.useRef(null),o=oe.useRef(null),e=oe.useState(!1),a=(d=fe(e,2))[0],i=d[1],l=oe.useRef(0),s=oe.useRef(0),u=oe.useRef(0);function c(e){null!==r.current&&(r.current.style.transform="translateY(".concat(e,"px)"))}function p(e){i(!1),s.current=0,null!==r.current&&r.current.style.removeProperty("transform"),t.onClose&&t.onClose(e)}vs({attachListener:t.open&&!m(),callback:function(){var e;null!==n.current&&(e=n.current.classList,h()?e.remove("np-bottom-sheet--top-bar--shadow"):e.add("np-bottom-sheet--top-bar--shadow"))},eventType:"scroll",parent:m()?void 0:document});var e=function(t){return function(e){u.current=(t?e.touches[0]:e).clientY,i(!0)}},d=function(n){return function(e){var t;!a||0<(t=(n?e.touches[0]:e).clientY-u.current)&&h()&&(s.current=t,l.current=requestAnimationFrame(function(){void 0!==l.current&&null!==r.current&&c(t)}))}};function f(e){cancelAnimationFrame(l.current),i(!1),50<s.current&&h()?p(e):c(0),s.current=0}function h(){var e;return void 0!==(null==o||null===(e=o.current)||void 0===e?void 0:e.scrollTop)&&o.current.scrollTop<=1}return ce(Is,{open:t.open,fadeContentOnEnter:!0,fadeContentOnExit:!0,onClose:p,children:pe(Us,{ref:r,open:t.open,position:re.Position.BOTTOM,className:se("np-bottom-sheet",t.className),role:"dialog",onTouchStart:e(!0),onTouchMove:d(!0),onTouchEnd:f,onMouseDown:e(!1),onMouseMove:d(!1),onMouseUp:f,children:[pe("div",{ref:n,className:"np-bottom-sheet--top-bar",children:[ce("div",{className:"np-bottom-sheet--handler"}),ce(Ae,{size:"sm",className:"sr-only np-bottom-sheet--close-btn",onClick:p})]}),ce("div",{ref:o,style:(d=m()?0:window.innerHeight,d="".concat(.01*d*100,"px"),{maxHeight:"calc(".concat(d," - ").concat("64px"," - ").concat("32px",")")}),className:"np-bottom-sheet--content",children:t.children})]})})}function Fs(e){return Gs[e]||e}var qs=(le(Wd={},re.ControlType.ACCENT,"btn-accent"),le(Wd,re.ControlType.POSITIVE,"btn-positive"),le(Wd,re.ControlType.NEGATIVE,"btn-negative"),Wd),zs=(le(et={},re.Priority.PRIMARY,"btn-priority-1"),le(et,re.Priority.SECONDARY,"btn-priority-2"),le(et,re.Priority.TERTIARY,"btn-priority-3"),et),Gs=(le(ft={},re.Type.PRIMARY,re.ControlType.ACCENT),le(ft,re.Type.SECONDARY,re.ControlType.ACCENT),le(ft,re.Type.LINK,re.ControlType.ACCENT),le(ft,re.Type.PAY,re.ControlType.POSITIVE),le(ft,re.Type.DANGER,re.ControlType.NEGATIVE),ft),Vs=(le(He={},re.Type.DANGER,re.Priority.SECONDARY),le(He,re.Type.LINK,re.Priority.TERTIARY),le(He,re.Type.SECONDARY,re.Priority.SECONDARY),He),Hs=(le(e={},re.Type.DANGER,"Type.NEGATIVE"),le(e,re.Type.LINK,"ControlType.ACCENT with priority Priority.TERTIARY"),le(e,re.Type.PAY,"ControlType.POSITIVE"),le(e,re.Type.PRIMARY,"ControlType.ACCENT"),le(e,re.Type.SECONDARY,"ControlType.ACCENT with priority Priority.SECONDARY"),e),Ys=Object.keys(Gs),Ws=["as","block","children","className","disabled","loading","priority","size","type"],Ks=["htmlType"];function Zs(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Xs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Zs(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Zs(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var $s=oe.forwardRef(function(e,t){var n=e.as,r=e.block,o=void 0!==r&&r,a=e.children,i=e.className,l=e.disabled,s=e.loading,u=void 0!==s&&s,c=e.priority,p=void 0===c?re.Priority.PRIMARY:c,d=e.size,r=void 0===d?re.Size.MEDIUM:d,s=e.type,c=void 0===s?re.ControlType.ACCENT:s,d=b(e,Ws);e=(s={size:r,type:c}).size,s=s.type,Ue("Button has deprecated the `Size.EXTRA_SMALL` value for the `size` prop. Please use Size.SMALL instead.",e===re.Size.EXTRA_SMALL),Ue("Button has deprecated the ".concat(s," value for the `type` prop. Please update to ").concat(Hs[s],"."),Ys.includes(s));e=Fs(c),s=p,c=Fs(p=c),s=Vs[p]||(s===re.Priority.TERTIARY&&c!==re.ControlType.ACCENT?re.Priority.SECONDARY:s),s=se("btn btn-".concat(r),"np-btn np-btn-".concat(r),{"btn-loading":u,"btn-block np-btn-block":o},{disabled:l||u},qs[e],zs[s],i),i=null!==n&&void 0!==n?n:"button";return d="button"===i?(n=void 0===(n=d.htmlType)?"button":n,Xs(Xs({},b(d,Ks)),{},{disabled:l||u,type:n})):Xs({},d),pe(i,Xs(Xs({ref:t,className:s},d),{},{children:[a,u&&ce("span",{className:se("btn-loader",{"m-l-2":!o})})]}))}),Js=["aria-label","as","isExpanded","title","details","children","onClick","icon","id","className"],N=oe.forwardRef(function(e,t){var n=e["aria-label"],r=e.as,o=e.isExpanded,a=e.title,i=e.details,l=e.children,s=e.onClick,u=e.icon,c=e.id,p=e.className,d=b(e,Js),e=!(!o||!l);return pe(r,{ref:t,className:se("np-card",p,{"np-card--expanded":e,"np-card--inactive":!l,"np-card--has-icon":!!u}),id:c,"data-testid":d["data-testid"],children:[ce(ge,{"aria-label":n,as:l?"button":"div",className:se("np-card__button"),media:u,title:a,content:i,showMediaAtAllSizes:!0,button:l&&ce(he,{orientation:e?re.Position.TOP:re.Position.BOTTOM}),onClick:function(){return l&&s(!o)}}),ce("div",{className:se("np-card__divider",{"np-card__divider--expanded":e})}),e&&ce(z,{as:"span",type:re.Typography.BODY_LARGE,className:"np-card__content d-block",children:l})]})}),Qe=function(e){return e.children};N.propTypes={"aria-label":l.default.string,as:l.default.string,isExpanded:xe(l.default.bool,Qe),title:l.default.node.isRequired,details:l.default.node.isRequired,onClick:xe(l.default.func,Qe),icon:l.default.node,children:l.default.node,id:l.default.string,className:l.default.string,"data-testid":l.default.string},N.defaultProps={"aria-label":void 0,as:"div",children:null,id:null,className:null,"data-testid":null};var Qs=["checked","className","disabled","onChange"];function eu(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function tu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?eu(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):eu(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var nu=oe.forwardRef(function(e,t){var n=e.checked,r=e.className,o=e.disabled,a=e.onChange,e=b(e,Qs);return pe("span",{className:se("np-checkbox-button",r,o&&"disabled"),children:[ce("input",tu(tu({},e),{},{ref:t,type:"checkbox",disabled:o,checked:n,onChange:a})),ce("span",{className:"tw-checkbox-button",children:ce("span",{className:"tw-checkbox-check"})})]})}),ht=function(e){var t=e.id,n=e.checked,r=e.required,o=e.disabled,a=e.readOnly,i=e.label,l=e.className,s=e.secondary,u=e.onChange,c=e.onFocus,p=e.onBlur,e=ae.useTheme().isModern,l=se("np-checkbox",{checkbox:!0,"checkbox-lg":s,disabled:e&&o},l),a=o||a;return ce("div",{id:t,className:l,children:pe("label",{className:se({disabled:o}),children:[ce(nu,{className:"p-r-2",checked:n,disabled:a,required:!a&&r,onFocus:c,onChange:function(){return u(!n)},onBlur:p}),pe(z,{as:"span",className:"np-checkbox__text",type:s?re.Typography.BODY_LARGE_BOLD:re.Typography.BODY_LARGE,children:[ce("span",{className:r?"has-required":void 0,children:i}),s&&ce(z,{as:"span",className:se({secondary:!e}),children:s})]})]})})};ht.propTypes={id:l.default.string,checked:l.default.bool,required:l.default.bool,disabled:l.default.bool,readOnly:l.default.bool,label:l.default.node.isRequired,secondary:l.default.string,onFocus:l.default.func,onChange:l.default.func.isRequired,onBlur:l.default.func,className:l.default.string},ht.defaultProps={id:null,checked:!1,required:!1,disabled:!1,readOnly:!1,secondary:null,onFocus:null,onBlur:null,className:void 0};var ru=["checked","disabled","onChange"];function ou(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function au(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ou(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ou(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}xt=oe.forwardRef(function(e,t){var n=e.checked,r=e.disabled,o=e.onChange,e=b(e,ru);return ce(ge,au(au({},e),{},{ref:t,disabled:r,button:ce(nu,{checked:n,disabled:r,onChange:function(){return o(!n)}})}))});function iu(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function lu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?iu(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):iu(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var su=function(e){var t=e.label,n=e.value,r=e.onRemove,o=e.onClick,a=e.onKeyPress,i=e.className,l=void 0===i?void 0:i,s=e["aria-label"],u=e["aria-checked"],c=e.role,p=e.closeButton,d=o||a,f=d?"button":void 0,i=d?0:-1,e=ae.useTheme().isModern,h=oe.useRef(null),m=oe.useRef();return oe.useEffect(function(){var e;null!=h.current&&!1===m.current&&null!==(e=h.current)&&void 0!==e&&e.focus(),m.current=null!=h.current},[r]),pe("div",lu(lu({role:null!=c?c:f,tabIndex:i,"aria-label":s,"aria-checked":u,className:se("np-chip","d-flex","align-items-center","justify-content-between",r?"np-chip--removable":"",l)},d&&{onClick:o,onKeyPress:a}),{},{children:[e?ce(z,{"aria-hidden":!!r,type:re.Typography.BODY_DEFAULT_BOLD,children:t}):ce("span",{"aria-hidden":"false",className:"np-chip-label",children:t}),r?ce(Ae,{ref:h,className:e?"btn-unstyled":"btn-unstyled m-l-1","aria-label":p&&p["aria-label"],size:"sm",filled:e,onClick:r}):null]}),n)},uu=ie.defineMessages({ariaLabel:{id:"neptune.Chips.ariaLabel"}});function cu(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}var pu=["className","children","disabled","icon","priority","type"];function du(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}Dt=function(e){var t=e.className,n=e.children,r=e.disabled,o=e.icon,a=e.priority,i=e.type,l=b(e,pu),e=se("btn np-btn",qs[i],zs[a]),o=24!==o.props.size?oe.cloneElement(o,{size:24}):o;return pe("label",{className:se("np-circular-btn",a,i,r?"disabled":"",t),children:[ce("input",function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?du(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):du(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({type:"button","aria-label":n,className:e,disabled:r},l)),o,ce(z,{as:"span",className:"np-circular-btn__label",type:re.Typography.BODY_DEFAULT_BOLD,children:n})]})};Dt.propTypes={className:l.default.string,children:l.default.string.isRequired,disabled:l.default.bool,icon:l.default.element.isRequired,onClick:l.default.func.isRequired,priority:l.default.oneOf(["primary","secondary"]),type:l.default.oneOf(["accent","positive","negative"])},Dt.defaultProps={className:void 0,disabled:!1,priority:re.Priority.PRIMARY,type:re.ControlType.ACCENT};var fu,hu={TYPE:"SignificantDigits",MIN_PRECISION:1,MAX_PRECISION:21},mu={TYPE:"FractionDigits",MIN_PRECISION:0,MAX_PRECISION:20},gu={};function yu(e,t){var n=t?""+e+Object.entries(t):e;return gu[n]||(gu[n]=t?new Intl.NumberFormat(e,t):new Intl.NumberFormat(e)),gu[n]}function bu(e,t,n,r){if(void 0===t&&(t="en-GB"),void 0===r&&(r="FractionDigits"),!e&&0!==e)return"";"string"==typeof e&&Number(e)&&(e=Number(e));var o,a=r===hu.TYPE?hu:mu,i=null!=n&&"number"==typeof n&&n>=a.MIN_PRECISION&&n<=a.MAX_PRECISION,l=function(e){try{var t=e.replace(/_/,"-");return Intl.NumberFormat(t),t}catch(e){return"en-GB"}}(t);return(fu=void 0===fu?"object"==typeof Intl&&void 0!==Intl&&"function"==typeof Intl.NumberFormat&&Intl.NumberFormat&&"function"==typeof Intl.NumberFormat.supportedLocalesOf&&Intl.NumberFormat.supportedLocalesOf&&1===Intl.NumberFormat.supportedLocalesOf(l).length:fu)?(i?yu(l,((o={})["minimum"+(a=r)]=t=n,o["maximum"+a]=t,o)):yu(l)).format(e):i?(i=e,n=n,r===hu.TYPE?i.toPrecision(n):i.toFixed(n)):""+e}var vu,Ou={BIF:0,BYR:0,CLP:0,DJF:0,GNF:0,JPY:0,KMF:0,KRW:0,MGA:0,PYG:0,RWF:0,VND:0,VUV:0,XAF:0,XOF:0,XPF:0,HUF:0,UGX:0,KES:0,BHD:3,JOD:3,KWD:3,OMR:3,TND:3};function wu(e,t,n,r){void 0===n&&(n="en-GB");var o,r=(o=e,t=t,r=(r=void 0===r?{alwaysShowDecimals:!1}:r).alwaysShowDecimals,o%1!=0||r?(t=(void 0===t?"":t).toUpperCase(),Object.prototype.hasOwnProperty.call(Ou,t)?Ou[t]:2):0),t=e<0,r=bu(Math.abs(e),n,r);return t?"- "+r:r}var Eu={},Tu=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Su=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Cu={};function xu(e,t,n){return void 0===t&&(t="en-GB"),(vu=void 0===vu?function(){try{var e=new Date(2018,11,1);return"01/12/2018"===new Intl.DateTimeFormat("en-GB").format(e)}catch(e){return!1}}():vu)?(void 0===Eu[t=r=t]&&(Eu[t]=function(e){try{return 0<Intl.DateTimeFormat.supportedLocalesOf([e]).length}catch(e){return!1}}(t)),t=Eu[t]?r:"en-GB",r=n,Cu[t]||(Cu[t]=new Map),Cu[t].has(r)||Cu[t].set(r,new Intl.DateTimeFormat(t,r)),Cu[t].get(r).format(e)):function e(t,n){var r,o="UTC"===(n=void 0===n?{}:n).timeZone,a=[];n.day&&a.push(o?t.getUTCDate():t.getDate()),n.month&&(r=o,i=t,i="short"===n.month?Su[r?i.getUTCMonth():i.getMonth()]:(r?i.getUTCMonth():i.getMonth())+1,"short"!==n.month?a.push(i):a.unshift(i)),n.year&&a.push(t.getUTCFullYear());var i="short"===n.month?" ":"/",i=a.join(i);return n.weekday&&(o=Tu[o?t.getUTCDay():t.getDay()],i=i?o+", "+i:o),i||e(t,{timeZone:n.timeZone,day:"true",month:"true",year:"true"})}(e,n);var r}function Du(e,t){for(var n=1<arguments.length&&void 0!==t?t:"short",r=[],o=new Date(2018,0,1);r.length<7;)r.push(xu(o,e,{weekday:n})),o.setDate(o.getDate()+1);return r}function Au(e,t,n){return!e||(!t||t<=e)&&(!n||e<=n)}function Nu(e,t,n){return Au(e,t,n)?e:new Date(t&&e<t?+t:+n)}(fa={}).SECOND="second",fa.MINUTE="minute",fa.HOUR="hour";function Pu(e){for(var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"long",n=[],r=new Date(2018,0,1),o={month:t};n.length<12;)n.push(xu(r,e,o)),r.setMonth(r.getMonth()+1);return n}function ku(e){return Iu(e)||Ru(e)}function Lu(e){return e.reduce(function(e,t){var n=t[0],t=t[1];return e[n]=t,e},{})}var Ru=function(e){return"string"==typeof e&&Iu(new Date(e))},Iu=function(e){return e instanceof Date&&!isNaN(e)},_u={DOWN:40,UP:38,LEFT:37,RIGHT:39,ENTER:13,ESCAPE:27,TAB:9,SPACE:32,BACKSPACE:8,DELETE:46,COMMA:188,PERIOD:190},Mu="undefined"!=typeof window&&window.document&&window.document.createElement?oe.useLayoutEffect:oe.useEffect,ju="top",Uu="bottom",Bu="right",Fu="left",qu="auto",zu=[ju,Uu,Bu,Fu],Gu="start",Vu="end",Hu="clippingParents",Yu="viewport",Wu="popper",Ku="reference",Zu=zu.reduce(function(e,t){return e.concat([t+"-"+Gu,t+"-"+Vu])},[]),Xu=[].concat(zu,[qu]).reduce(function(e,t){return e.concat([t,t+"-"+Gu,t+"-"+Vu])},[]),$u=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ju(e){return e?(e.nodeName||"").toLowerCase():null}function Qu(e){if(null==e)return window;if("[object Window]"===e.toString())return e;e=e.ownerDocument;return e&&e.defaultView||window}function ec(e){return e instanceof Qu(e).Element||e instanceof Element}function tc(e){return e instanceof Qu(e).HTMLElement||e instanceof HTMLElement}function nc(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Qu(e).ShadowRoot||e instanceof ShadowRoot)}function rc(e){return e.split("-")[0]}function oc(e){e=e.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function ac(e){var t=oc(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ic(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&nc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0}while(r=r.parentNode||r.host)}return!1}function lc(e){return Qu(e).getComputedStyle(e)}function sc(e){return((ec(e)?e.ownerDocument:e.document)||window.document).documentElement}function uc(e){return"html"===Ju(e)?e:e.assignedSlot||e.parentNode||(nc(e)?e.host:null)||sc(e)}function cc(e){return tc(e)&&"fixed"!==lc(e).position?e.offsetParent:null}function pc(e){for(var t,n=Qu(e),r=cc(e);r&&(t=r,0<=["table","td","th"].indexOf(Ju(t)))&&"static"===lc(r).position;)r=cc(r);return(!r||"html"!==Ju(r)&&("body"!==Ju(r)||"static"!==lc(r).position))&&(r||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&tc(e)&&"fixed"===lc(e).position)return null;for(var r=uc(e);tc(r)&&["html","body"].indexOf(Ju(r))<0;){var o=lc(r);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return r;r=r.parentNode}return null}(e))||n}function dc(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}var fc=Math.max,hc=Math.min,mc=Math.round;function gc(e,t,n){return fc(e,hc(t,n))}function yc(){return{top:0,right:0,bottom:0,left:0}}function bc(e){return Object.assign({},yc(),e)}function vc(n,e){return e.reduce(function(e,t){return e[t]=n,e},{})}var Oc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function wc(e){var t=e.popper,n=e.popperRect,r=e.placement,o=e.offsets,a=e.position,i=e.gpuAcceleration,l=e.adaptive,s=e.roundOffsets,u=!0===s?(f=(m=o).x,h=m.y,m=window.devicePixelRatio||1,{x:mc(mc(f*m)/m)||0,y:mc(mc(h*m)/m)||0}):"function"==typeof s?s(o):o,c=u.x,p=void 0===c?0:c,d=u.y,e=void 0===d?0:d,f=o.hasOwnProperty("x"),h=o.hasOwnProperty("y"),m=Fu,s=ju,c=window;l&&(u="clientHeight",d="clientWidth",(o=pc(t))===Qu(t)&&"static"!==lc(o=sc(t)).position&&(u="scrollHeight",d="scrollWidth"),r===ju&&(s=Uu,e-=o[u]-n.height,e*=i?1:-1),r===Fu&&(m=Bu,p-=o[d]-n.width,p*=i?1:-1));var l=Object.assign({position:a},l&&Oc);return i?Object.assign({},l,((i={})[s]=h?"0":"",i[m]=f?"0":"",i.transform=(c.devicePixelRatio||1)<2?"translate("+p+"px, "+e+"px)":"translate3d("+p+"px, "+e+"px, 0)",i)):Object.assign({},l,((l={})[s]=h?e+"px":"",l[m]=f?p+"px":"",l.transform="",l))}var Ec={passive:!0};var Tc={left:"right",right:"left",bottom:"top",top:"bottom"};function Sc(e){return e.replace(/left|right|bottom|top/g,function(e){return Tc[e]})}var Cc={start:"end",end:"start"};function xc(e){return e.replace(/start|end/g,function(e){return Cc[e]})}function Dc(e){e=Qu(e);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ac(e){return oc(sc(e)).left+Dc(e).scrollLeft}function Nc(e){var t=lc(e),n=t.overflow,e=t.overflowX,t=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+t+e)}function Pc(e,t){void 0===t&&(t=[]);var n=function e(t){return 0<=["html","body","#document"].indexOf(Ju(t))?t.ownerDocument.body:tc(t)&&Nc(t)?t:e(uc(t))}(e),e=n===(null==(r=e.ownerDocument)?void 0:r.body),r=Qu(n),n=e?[r].concat(r.visualViewport||[],Nc(n)?n:[]):n,t=t.concat(n);return e?t:t.concat(Pc(uc(n)))}function kc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Lc(e,t){return t===Yu?kc((a=Qu(o=e),i=sc(o),l=a.visualViewport,s=i.clientWidth,u=i.clientHeight,i=a=0,l&&(s=l.width,u=l.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=l.offsetLeft,i=l.offsetTop)),{width:s,height:u,x:a+Ac(o),y:i})):tc(t)?((r=oc(n=t)).top=r.top+n.clientTop,r.left=r.left+n.clientLeft,r.bottom=r.top+n.clientHeight,r.right=r.left+n.clientWidth,r.width=n.clientWidth,r.height=n.clientHeight,r.x=r.left,r.y=r.top,r):kc((o=sc(e),i=sc(o),t=Dc(o),r=null==(n=o.ownerDocument)?void 0:n.body,e=fc(i.scrollWidth,i.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),n=fc(i.scrollHeight,i.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),o=-t.scrollLeft+Ac(o),t=-t.scrollTop,"rtl"===lc(r||i).direction&&(o+=fc(i.clientWidth,r?r.clientWidth:0)-e),{width:e,height:n,x:o,y:t}));var n,r,o,a,i,l,s,u}function Rc(n,e,t){var r,o,a,e="clippingParents"===e?(o=Pc(uc(r=n)),ec(a=0<=["absolute","fixed"].indexOf(lc(r).position)&&tc(r)?pc(r):r)?o.filter(function(e){return ec(e)&&ic(e,a)&&"body"!==Ju(e)}):[]):[].concat(e),e=[].concat(e,[t]),t=e[0],t=e.reduce(function(e,t){t=Lc(n,t);return e.top=fc(t.top,e.top),e.right=hc(t.right,e.right),e.bottom=hc(t.bottom,e.bottom),e.left=fc(t.left,e.left),e},Lc(n,t));return t.width=t.right-t.left,t.height=t.bottom-t.top,t.x=t.left,t.y=t.top,t}function Ic(e){return e.split("-")[1]}function _c(e){var t,n=e.reference,r=e.element,o=e.placement,e=o?rc(o):null,o=o?Ic(o):null,a=n.x+n.width/2-r.width/2,i=n.y+n.height/2-r.height/2;switch(e){case ju:t={x:a,y:n.y-r.height};break;case Uu:t={x:a,y:n.y+n.height};break;case Bu:t={x:n.x+n.width,y:i};break;case Fu:t={x:n.x-r.width,y:i};break;default:t={x:n.x,y:n.y}}var l=e?dc(e):null;if(null!=l){var s="y"===l?"height":"width";switch(o){case Gu:t[l]=t[l]-(n[s]/2-r[s]/2);break;case Vu:t[l]=t[l]+(n[s]/2-r[s]/2)}}return t}function Mc(e,t){var r,n=t=void 0===t?{}:t,o=n.placement,a=void 0===o?e.placement:o,i=n.boundary,l=void 0===i?Hu:i,s=n.rootBoundary,u=void 0===s?Yu:s,t=n.elementContext,o=void 0===t?Wu:t,i=n.altBoundary,s=void 0!==i&&i,t=n.padding,i=void 0===t?0:t,n=bc("number"!=typeof i?i:vc(i,zu)),t=e.elements.reference,i=e.rects.popper,s=e.elements[s?o===Wu?Ku:Wu:o],l=Rc(ec(s)?s:s.contextElement||sc(e.elements.popper),l,u),u=oc(t),t=_c({reference:u,element:i,strategy:"absolute",placement:a}),t=kc(Object.assign({},i,t)),u=o===Wu?t:u,c={top:l.top-u.top+n.top,bottom:u.bottom-l.bottom+n.bottom,left:l.left-u.left+n.left,right:u.right-l.right+n.right},e=e.modifiersData.offset;return o===Wu&&e&&(r=e[a],Object.keys(c).forEach(function(e){var t=0<=[Bu,Uu].indexOf(e)?1:-1,n=0<=[ju,Uu].indexOf(e)?"y":"x";c[e]+=r[n]*t})),c}function jc(e,t,n){return{top:e.top-t.height-(n=void 0===n?{x:0,y:0}:n).y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Uc(t){return[ju,Bu,Uu,Fu].some(function(e){return 0<=t[e]})}function Bc(e,t,n){void 0===n&&(n=!1);var r=sc(t),o=oc(e),a=tc(t),i={scrollLeft:0,scrollTop:0},e={x:0,y:0};return!a&&(a||n)||("body"===Ju(t)&&!Nc(r)||(i=(n=t)!==Qu(n)&&tc(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:Dc(n)),tc(t)?((e=oc(t)).x+=t.clientLeft,e.y+=t.clientTop):r&&(e.x=Ac(r))),{x:o.left+i.scrollLeft-e.x,y:o.top+i.scrollTop-e.y,width:o.width,height:o.height}}function Fc(e){var n=new Map,r=new Set,o=[];return e.forEach(function(e){n.set(e.name,e)}),e.forEach(function(e){r.has(e.name)||!function t(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){r.has(e)||(e=n.get(e))&&t(e)}),o.push(e)}(e)}),o}function qc(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce(function(e,t){return e.replace(/%s/,t)},e)}var zc='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Gc='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',Vc=["name","enabled","phase","fn","effect","requires","options"];var Hc="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Yc={placement:"bottom",modifiers:[],strategy:"absolute"};function Wc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Kc(e){var t=e=void 0===e?{}:e,e=t.defaultModifiers,f=void 0===e?[]:e,t=t.defaultOptions,h=void 0===t?Yc:t;return function(i,l,t){void 0===t&&(t=h);var n,r,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Yc,h),modifiersData:{},elements:{reference:i,popper:l},attributes:{},styles:{}},u=[],c=!1,p={state:s,setOptions:function(e){d(),s.options=Object.assign({},h,s.options,e),s.scrollParents={reference:ec(i)?Pc(i):i.contextElement?Pc(i.contextElement):[],popper:Pc(l)};var n,t,r,o,a,e=(e=[].concat(f,s.options.modifiers),t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),e=Object.keys(t).map(function(e){return t[e]}),n=Fc(e),$u.reduce(function(e,t){return e.concat(n.filter(function(e){return e.phase===t}))},[]));return s.orderedModifiers=e.filter(function(e){return e.enabled}),"production"!==process.env.NODE_ENV&&(e=[].concat(e,s.options.modifiers),o=function(e){return e.name},a=new Set,e=e.filter(function(e){e=o(e);if(!a.has(e))return a.add(e),!0}),(r=e).forEach(function(n){Object.keys(n).forEach(function(e){switch(e){case"name":"string"!=typeof n.name&&console.error(qc(zc,String(n.name),'"name"','"string"','"'+String(n.name)+'"'));break;case"enabled":"boolean"!=typeof n.enabled&&console.error(qc(zc,n.name,'"enabled"','"boolean"','"'+String(n.enabled)+'"'));case"phase":$u.indexOf(n.phase)<0&&console.error(qc(zc,n.name,'"phase"',"either "+$u.join(", "),'"'+String(n.phase)+'"'));break;case"fn":"function"!=typeof n.fn&&console.error(qc(zc,n.name,'"fn"','"function"','"'+String(n.fn)+'"'));break;case"effect":"function"!=typeof n.effect&&console.error(qc(zc,n.name,'"effect"','"function"','"'+String(n.fn)+'"'));break;case"requires":Array.isArray(n.requires)||console.error(qc(zc,n.name,'"requires"','"array"','"'+String(n.requires)+'"'));break;case"requiresIfExists":Array.isArray(n.requiresIfExists)||console.error(qc(zc,n.name,'"requiresIfExists"','"array"','"'+String(n.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+n.name+'" modifier, valid properties are '+Vc.map(function(e){return'"'+e+'"'}).join(", ")+'; but "'+e+'" was provided.')}n.requires&&n.requires.forEach(function(t){null==r.find(function(e){return e.name===t})&&console.error(qc(Gc,String(n.name),t,t))})})}),rc(s.options.placement)===qu&&(s.orderedModifiers.find(function(e){return"flip"===e.name})||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))),[(e=lc(l)).marginTop,e.marginRight,e.marginBottom,e.marginLeft].some(function(e){return parseFloat(e)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,e=e.effect;"function"==typeof e&&(n=e({state:s,name:t,instance:p,options:void 0===n?{}:n}),u.push(n||function(){}))}),p.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,e=e.popper;if(Wc(t,e)){s.rects={reference:Bc(t,pc(e),"fixed"===s.options.strategy),popper:ac(e)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var n,r,o,a=0,i=0;i<s.orderedModifiers.length;i++){if("production"!==process.env.NODE_ENV&&100<(a+=1)){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}!0!==s.reset?(n=(o=s.orderedModifiers[i]).fn,r=o.options,o=o.name,"function"==typeof n&&(s=n({state:s,options:void 0===r?{}:r,name:o,instance:p})||s)):(s.reset=!1,i=-1)}}else"production"!==process.env.NODE_ENV&&console.error(Hc)}},update:(n=function(){return new Promise(function(e){p.forceUpdate(),e(s)})},function(){return r=r||new Promise(function(e){Promise.resolve().then(function(){r=void 0,e(n())})})}),destroy:function(){d(),c=!0}};return Wc(i,l)?p.setOptions(t).then(function(e){!c&&t.onFirstUpdate&&t.onFirstUpdate(e)}):"production"!==process.env.NODE_ENV&&console.error(Hc),p;function d(){u.forEach(function(e){return e()}),u=[]}}}var Zc=Kc({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=void 0===(e=r.scroll)||e,a=void 0===(r=r.resize)||r,i=Qu(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach(function(e){e.addEventListener("scroll",n.update,Ec)}),a&&i.addEventListener("resize",n.update,Ec),function(){o&&l.forEach(function(e){e.removeEventListener("scroll",n.update,Ec)}),a&&i.removeEventListener("resize",n.update,Ec)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,e=e.name;t.modifiersData[e]=_c({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t,n=e.state,r=e.options,e=void 0===(o=r.gpuAcceleration)||o,o=void 0===(o=r.adaptive)||o,r=void 0===(r=r.roundOffsets)||r;"production"!==process.env.NODE_ENV&&(t=lc(n.elements.popper).transitionProperty||"",o&&["transform","top","right","bottom","left"].some(function(e){return 0<=t.indexOf(e)})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))),e={placement:rc(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:e},null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,wc(Object.assign({},e,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:o,roundOffsets:r})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,wc(Object.assign({},e,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:r})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var o=e.state;Object.keys(o.elements).forEach(function(e){var t=o.styles[e]||{},n=o.attributes[e]||{},r=o.elements[e];tc(r)&&Ju(r)&&(Object.assign(r.style,t),Object.keys(n).forEach(function(e){var t=n[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var r=e.state,o={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,o.popper),r.styles=o,r.elements.arrow&&Object.assign(r.elements.arrow.style,o.arrow),function(){Object.keys(r.elements).forEach(function(e){var t=r.elements[e],n=r.attributes[e]||{},e=Object.keys((r.styles.hasOwnProperty(e)?r.styles:o)[e]).reduce(function(e,t){return e[t]="",e},{});tc(t)&&Ju(t)&&(Object.assign(t.style,e),Object.keys(n).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var i=e.state,t=e.options,n=e.name,l=void 0===(r=t.offset)?[0,0]:r,e=Xu.reduce(function(e,t){var n,r,o,a;return e[t]=(n=t,r=i.rects,o=l,a=rc(n),t=0<=[Fu,ju].indexOf(a)?-1:1,o=(o=(n="function"==typeof o?o(Object.assign({},r,{placement:n})):o)[0])||0,n=((n=n[1])||0)*t,0<=[Fu,Bu].indexOf(a)?{x:n,y:o}:{x:o,y:n}),e},{}),r=(t=e[i.placement]).x,t=t.y;null!=i.modifiersData.popperOffsets&&(i.modifiersData.popperOffsets.x+=r,i.modifiersData.popperOffsets.y+=t),i.modifiersData[n]=e}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var n=e.state,t=e.options,r=e.name;if(!n.modifiersData[r]._skip){for(var o=t.mainAxis,a=void 0===o||o,e=t.altAxis,i=void 0===e||e,o=t.fallbackPlacements,l=t.padding,s=t.boundary,u=t.rootBoundary,c=t.altBoundary,e=t.flipVariations,p=void 0===e||e,d=t.allowedAutoPlacements,e=n.options.placement,t=rc(e),t=o||(t===e||!p?[Sc(e)]:function(e){if(rc(e)===qu)return[];var t=Sc(e);return[xc(e),t,xc(t)]}(e)),f=[e].concat(t).reduce(function(e,t){return e.concat(rc(t)===qu?function(n,e){var t=e=void 0===e?{}:e,r=t.placement,o=t.boundary,a=t.rootBoundary,i=t.padding,e=t.flipVariations,l=void 0===(t=t.allowedAutoPlacements)?Xu:t,s=Ic(r),r=s?e?Zu:Zu.filter(function(e){return Ic(e)===s}):zu;0===(e=r.filter(function(e){return 0<=l.indexOf(e)})).length&&(e=r,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var u=e.reduce(function(e,t){return e[t]=Mc(n,{placement:t,boundary:o,rootBoundary:a,padding:i})[rc(t)],e},{});return Object.keys(u).sort(function(e,t){return u[e]-u[t]})}(n,{placement:t,boundary:s,rootBoundary:u,padding:l,flipVariations:p,allowedAutoPlacements:d}):t)},[]),h=n.rects.reference,m=n.rects.popper,g=new Map,y=!0,b=f[0],v=0;v<f.length;v++){var O=f[v],w=rc(O),E=Ic(O)===Gu,T=0<=[ju,Uu].indexOf(w),S=T?"width":"height",C=Mc(n,{placement:O,boundary:s,rootBoundary:u,altBoundary:c,padding:l}),T=T?E?Bu:Fu:E?Uu:ju;h[S]>m[S]&&(T=Sc(T));E=Sc(T),S=[];if(a&&S.push(C[w]<=0),i&&S.push(C[T]<=0,C[E]<=0),S.every(function(e){return e})){b=O,y=!1;break}g.set(O,S)}if(y)for(var x=p?3:1;0<x;x--)if("break"===function(t){var e=f.find(function(e){e=g.get(e);if(e)return e.slice(0,t).every(function(e){return e})});if(e)return b=e,"break"}(x))break;n.placement!==b&&(n.modifiersData[r]._skip=!0,n.placement=b,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=void 0===(E=n.mainAxis)||E,a=void 0!==(T=n.altAxis)&&T,i=n.boundary,l=n.rootBoundary,s=n.altBoundary,u=n.padding,c=n.tether,p=void 0===c||c,d=n.tetherOffset,f=void 0===d?0:d,h=Mc(t,{boundary:i,rootBoundary:l,padding:u,altBoundary:s}),m=rc(t.placement),g=Ic(t.placement),y=!g,b=dc(m),v="x"===b?"y":"x",O=t.modifiersData.popperOffsets,w=t.rects.reference,e=t.rects.popper,E="function"==typeof f?f(Object.assign({},t.rects,{placement:t.placement})):f,T={x:0,y:0};O&&((o||a)&&(c="y"===b?"height":"width",n=O[b],i=O[b]+h[d="y"===b?ju:Fu],u=O[b]-h[l="y"===b?Uu:Bu],s=p?-e[c]/2:0,m=(g===Gu?w:e)[c],f=g===Gu?-e[c]:-w[c],g=t.elements.arrow,e=p&&g?ac(g):{width:0,height:0},d=(g=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:yc())[d],l=g[l],e=gc(0,w[c],e[c]),d=y?w[c]/2-s-e-d-E:m-e-d-E,e=y?-w[c]/2+s+e+l+E:f+e+l+E,E=(l=t.elements.arrow&&pc(t.elements.arrow))?"y"===b?l.clientTop||0:l.clientLeft||0:0,l=t.modifiersData.offset?t.modifiersData.offset[t.placement][b]:0,E=O[b]+d-l-E,l=O[b]+e-l,o&&(u=gc(p?hc(i,E):i,n,p?fc(u,l):u),O[b]=u,T[b]=u-n),a&&(a=(n=O[v])+h["x"===b?ju:Fu],b=n-h["x"===b?Uu:Bu],b=gc(p?hc(a,E):a,n,p?fc(b,l):b),O[v]=b,T[v]=b-n)),t.modifiersData[r]=T)},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r=e.state,o=e.name,a=e.options,i=r.elements.arrow,l=r.modifiersData.popperOffsets,s=rc(r.placement),u=dc(s),c=0<=[Fu,Bu].indexOf(s)?"height":"width";i&&l&&(t=a.padding,n=r,e=bc("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:vc(t,zu)),s=ac(i),a="y"===u?ju:Fu,n="y"===u?Uu:Bu,t=r.rects.reference[c]+r.rects.reference[u]-l[u]-r.rects.popper[c],l=l[u]-r.rects.reference[u],i=(i=pc(i))?"y"===u?i.clientHeight||0:i.clientWidth||0:0,a=e[a],n=i-s[c]-e[n],n=gc(a,l=i/2-s[c]/2+(t/2-l/2),n),r.modifiersData[o]=((o={})[u]=n,o.centerOffset=n-l,o))},effect:function(e){var t=e.state;null!=(e=void 0===(e=e.options.element)?"[data-popper-arrow]":e)&&("string"==typeof e&&!(e=t.elements.popper.querySelector(e))||("production"!==process.env.NODE_ENV&&(tc(e)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),ic(t.elements.popper,e)?t.elements.arrow=e:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "))))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=Mc(t,{elementContext:"reference"}),e=Mc(t,{altBoundary:!0}),r=jc(i,r),e=jc(e,o,a),o=Uc(r),a=Uc(e);t.modifiersData[n]={referenceClippingOffsets:r,popperEscapeOffsets:e,isReferenceHidden:o,hasPopperEscaped:a},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":o,"data-popper-escaped":a})}}]}),Xc="undefined"!=typeof Element,$c="function"==typeof Map,Jc="function"==typeof Set,Qc="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function ep(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,a,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if($c&&t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(i=t.entries();!(o=i.next()).done;)if(!n.has(o.value[0]))return!1;for(i=t.entries();!(o=i.next()).done;)if(!e(o.value[1],n.get(o.value[0])))return!1;return!0}if(Jc&&t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(i=t.entries();!(o=i.next()).done;)if(!n.has(o.value[0]))return!1;return!0}if(Qc&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(n)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(t[o]!==n[o])return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,a[o]))return!1;if(Xc&&t instanceof Element)return!1;for(o=r;0!=o--;)if(("_owner"!==a[o]&&"__v"!==a[o]&&"__o"!==a[o]||!t.$$typeof)&&!e(t[a[o]],n[a[o]]))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),0;throw e}}function tp(t,n,r){void 0===r&&(r={});var o=oe.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||np},e=oe.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"}},attributes:{}}),i=e[0],l=e[1],s=oe.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,e=Object.keys(t.elements);l({styles:Lu(e.map(function(e){return[e,t.styles[e]||{}]})),attributes:Lu(e.map(function(e){return[e,t.attributes[e]]}))})},requires:["computeStyles"]}},[]),u=oe.useMemo(function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[s,{name:"applyStyles",enabled:!1}])};return ep(o.current,e)?o.current||e:o.current=e},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,s]),c=oe.useRef();return Mu(function(){c.current&&c.current.setOptions(u)},[u]),Mu(function(){if(null!=t&&null!=n){var e=(r.createPopper||Zc)(t,n,u);return c.current=e,function(){e.destroy(),c.current=null}}},[t,n,r.createPopper]),{state:c.current?c.current.state:null,styles:i.styles,attributes:i.attributes,update:c.current?c.current.update:null,forceUpdate:c.current?c.current.forceUpdate:null}}var np=[],rp=["arrow","flip","altAxis","children","open","onClose","position","anchorRef","anchorWidth"];function op(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function ap(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?op(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):op(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function ip(e){var t=e.children,n=e.className,r=e.footerContent,o=e.headerTitle,a=e.onClose,i=e.open,l=e.position;Ue("Drawer now expects `onClose`, and will soon make this prop required. Please update your usage to provide it.",!a);var s=Ts().isMobile,e=ae.useTheme().theme;return ce(Is,{open:i,onClose:a,children:ce(Us,{open:i,position:s?re.Position.BOTTOM:l,children:pe("div",{className:se("np-drawer","np-theme-".concat(e),n),children:[pe("div",{className:se("np-drawer-header",{"np-drawer-header--withborder":o}),children:[o&&ce(_,{type:re.Typography.TITLE_BODY,children:o}),ce(Ae,{onClick:a})]}),t&&ce("div",{className:se("np-drawer-content"),children:t}),r&&ce("div",{className:se("np-drawer-footer"),children:r})]})})})}var lp=[0,16],sp=(le(hn={},re.Position.TOP,[re.Position.BOTTOM,re.Position.RIGHT,re.Position.LEFT]),le(hn,re.Position.BOTTOM,[re.Position.TOP,re.Position.RIGHT,re.Position.LEFT]),le(hn,re.Position.LEFT,[re.Position.RIGHT,re.Position.TOP,re.Position.BOTTOM]),le(hn,re.Position.RIGHT,[re.Position.LEFT,re.Position.TOP,re.Position.BOTTOM]),hn),up=oe.forwardRef(function(e,t){var n=e.arrow,r=void 0!==n&&n,o=e.flip,a=void 0===o||o,i=e.altAxis,l=void 0!==i&&i,s=e.children,u=e.open,c=void 0!==u&&u,p=e.onClose,d=e.position,f=void 0===d?re.Position.BOTTOM:d,h=e.anchorRef,m=e.anchorWidth,n=void 0!==m&&m,o=b(e,rp),i=oe.useState(null),u=fe(i,2),d=u[0],m=u[1],e=oe.useState(null),i=fe(e,2),u=i[0],e=i[1],i=[];l&&i.push({name:"preventOverflow",options:{altAxis:!0,tether:!1}}),r&&(i.push({name:"arrow",options:{element:d,options:{padding:8}}}),i.push({name:"offset",options:{offset:lp}})),a&&sp[f]&&i.push({name:"flip",options:{fallbackPlacements:sp[f]}});var u=tp(h.current,u,{placement:f,modifiers:i}),f=u.styles,i=u.attributes,g=u.forceUpdate;oe.useEffect(function(){c&&g&&g()},[c]);var y=ap({},n?{width:null===(y=h.current)||void 0===y?void 0:y.clientWidth}:void 0);return ce(Is,{open:c,transparent:!0,fadeContentOnEnter:!0,fadeContentOnExit:!0,onClose:p,children:ce("div",ap(ap(ap({},o),{},{ref:e,style:ap({},f.popper)},i.popper),{},{className:se("np-panel",{"np-panel--open":c},o.className),children:pe("div",{ref:t,style:y,className:se("np-panel__content"),children:[s,r&&ce("div",{ref:m,className:se("np-panel__arrow"),style:f.arrow})]})}))})});ip.propTypes={children:l.default.node,className:l.default.string,footerContent:l.default.node,headerTitle:l.default.node,onClose:l.default.func,open:l.default.bool,position:l.default.oneOf(["left","right","bottom"])},ip.defaultProps={children:null,className:void 0,footerContent:null,headerTitle:null,onClose:null,open:!1,position:re.Position.RIGHT};var cp=ie.defineMessages({searchPlaceholder:{id:"neptune.Select.searchPlaceholder"}});function pp(e){var t=e.label,n=e.currency,r=void 0===n?"":n,o=e.note,a=void 0===o?"":o,i=e.secondary,l=void 0===i?"":i,s=e.icon,u=e.classNames,c=void 0===u?{}:u,n=e.selected,o=void 0!==n&&n,i=ae.useTheme().isModern,u=function(e){return e.map(function(e){return c[e]||e}).join(" ")},e=r?"".concat(u(["currency-flag","currency-flag-".concat(r.toLowerCase()),"".concat(o?"hidden-xs":"")])):void 0,n=a?"".concat(u(["d-inline-flex align-items-center"])):void 0,e=s?oe.cloneElement(s,{size:24,className:"".concat(u(["tw-icon","".concat(o&&r?"hidden-xs":"")]))}):r&&ce("i",{className:e}),a=pe(z,{as:"span",type:re.Typography.BODY_LARGE,className:n,children:[t,a&&ce(z,{as:"span",className:i?"m-l-1":"m-l-1 body-2",children:a})]}),l=l&&ce(z,{as:"span",className:i?"text-ellipsis":"text-ellipsis body-2",children:l});return e&&l?pe("div",{className:"d-inline-flex",children:[ce("div",{className:"d-flex flex-column justify-content-center",children:e}),pe("div",{className:"d-flex flex-column justify-content-center",children:[a,l]})]}):pe(M,{children:[e,a,l]})}var dp=oe.forwardRef(function(e,t){var n=e.id,r=e.classNames,o=void 0===r?{}:r,a=e.onChange,i=e.onClick,l=e.placeholder,r=void 0===l?void 0:l,l=e.value,e=void 0===l?"":l,l=function(e){return o[e]||e};return ce("li",{className:l("border-bottom"),children:ce("a",{className:"".concat(l("np-select-filter-link")," ").concat(l("p-a-0")),children:pe("div",{className:l("input-group"),children:[ce("span",{className:se("input-group-addon","input-group-addon--search"),children:ce(S.Search,{className:se(l("tw-icon"),l("tw-icon-search")),size:24})}),ce("input",{ref:t,id:n,type:"text",className:se(l("np-select-filter"),l("form-control")),placeholder:r,value:e,spellCheck:"false",onChange:a,onClick:i})]})})})});function fp(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function hp(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fp(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fp(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var mp=function(e,t){return e.toLowerCase().includes(t.toLowerCase())};function gp(e){return!e.header&&!e.separator&&!e.disabled}var yp=null;function bp(e){return e===yp||"placeholder"in e}function vp(e){var r=e.placeholder,t=e.id,o=e.required,n=e.disabled,a=e.inverse,i=e.dropdownWidth,l=e.size,s=e.block,u=e.selected,c=e.search,p=e.onChange,d=e.onFocus,f=e.onBlur,h=e.options,m=e.onSearchChange,g=e.searchValue,y=e.searchPlaceholder,b=e.classNames,v=e.dropdownUp,O=e.dropdownProps,w=e.buttonProps,E=ie.useIntl().formatMessage,T=ae.useTheme().isModern,S=function(e){return b[e]||e},C=oe.useState(!1),e=fe(C,2),x=e[0],D=e[1],C=oe.useState(""),e=fe(C,2),A=e[0],N=e[1],C=oe.useState(null),e=fe(C,2),P=e[0],k=e[1],L=oe.useRef(),R=oe.useRef(),C=oe.useState(1e3),e=fe(C,2),I=e[0],_=e[1],M=oe.useRef(null),C=oe.useRef(null),j=oe.useRef(null),U=oe.useRef(null),B=!!m||!!c,F=null==i,e=oe.useMemo(function(){return e="np-select-",t=Math.ceil(999999*Math.random()),"".concat(e).concat(t);var e,t},[]),t=t||e,q="".concat(t,"-listbox"),z="".concat(t,"-searchbox"),G=Ts().isMobile;oe.useEffect(function(){var n;if(0<=P)return requestAnimationFrame(function(){var e,t;n||(B?null===(t=L.current)||void 0===t||null!==(e=t.scrollIntoView)&&void 0!==e&&e.call(t,{block:"center"}):null!==(t=L.current)&&void 0!==t&&t.focus())}),function(){n=!0}},[P,B]);function V(){return c&&A?h.filter(function(e){return gp(e)&&!bp(e)}).filter(function(e){return("function"==typeof c?c:function(e,t){if(bp(e))return!0;var n=e.label,r=e.note,o=e.secondary,a=e.currency,e=e.searchStrings;return!!n&&mp(n,t)||!!r&&mp(r,t)||!!o&&mp(o,t)||!!a&&mp(a,t)||!!e&&e.some(function(e){return mp(e,t)})})(e,A)}):h}function H(e){_(1e3),N(e.target.value),m&&m(e.target.value)}function Y(){var e;null==P||0<(e=V().filter(gp)).length&&Z(e[P])}oe.useEffect(function(){x?(G&&!A||(B&&M.current&&M.current.focus(),B||!U.current||null!=R.current&&!Number.isNaN(R.current)||U.current.focus()),R.current=P):R.current=null},[x,A,B,G,P]);var W=function(){D(!1),k(null),j.current&&j.current.focus()};function K(t){return function(e){ue(e),Z(t)}}function Z(e){p(bp(e)?yp:e),W()}function X(e){var t=(0<arguments.length&&void 0!==e?e:{}).className,e=se(S("np-dropdown-menu"),(le(n={},S("np-dropdown-menu-desktop"),!G),le(n,S("np-dropdown-menu-".concat(i)),!G&&!F),n),S(t)),n=!o&&!B&&Boolean(r),t=V();return pe("ul",hp(hp({ref:U,id:q,role:"listbox",tabIndex:"-1",className:e},O),{},{children:[n&&ce(J,{}),B&&ce(dp,{ref:M,id:z,classNames:b,value:g||A,placeholder:y||E(cp.searchPlaceholder),onChange:H,onClick:ue}),t.slice(0,I).map(ne),I<t.length&&ce($,{})]}))}function $(){function e(e){ue(e),_(I+1e3)}return ce("li",{className:se(S("clickable"),S("border-bottom"),S("show-more")),onClick:e,onKeyPress:e,children:ce("a",{children:"..."})})}function J(){var e={placeholder:r};return ce("li",{className:se(S("clickable"),S("border-bottom")),onClick:K(e),onKeyPress:K(e),children:ce("a",{children:r})})}function Q(){return ce("li",{className:S("np-separator"),"aria-hidden":!0})}function ee(e){e=e.children;return ce("li",{className:se(S("np-dropdown-header"),S("np-text-title-group")),onClick:ue,onKeyPress:ue,children:e})}function te(e,t){return(null==e?void 0:e.value)===(null==t?void 0:t.value)}function ne(e,t){if(null!=(o=a=e)&&"separator"in o&&null!=a&&a.separator)return ce(Q,{},t);if(null!=(l=i=e)&&"header"in l&&i.header)return ce(ee,{children:i.header},t);var r,n=te(u,e),o=e,a=!o.disabled&&P===(r=t,V().reduce(function(e,t,n){return n<r&&gp(t)?e+1:e},0)),i=se(S("np-dropdown-item"),o.disabled?[S("disabled")]:S("clickable"),(le(l={},S("active"),n),le(l,S("np-dropdown-item--focused"),a),l)),l=o.disabled?ue:K(o);return ce("li",{ref:a?L:void 0,"aria-selected":n,"aria-disabled":e.disabled,role:"option",tabIndex:"-1",className:i,onClick:l,onKeyPress:l,children:ce("a",{disabled:o.disabled,children:ce(pp,hp(hp({},o),{},{classNames:b}))})},t)}e=!!h.length;return x&&(g||A)&&(e&&null==P&&k(0),e||null==P||k(null)),pe("div",{ref:C,className:se(S("np-select"),s?S("btn-block"):null,S("btn-group")),onKeyDown:function(e){switch(e.keyCode){case _u.UP:case _u.DOWN:x?function(e){var t=V().filter(gp),n=t.reduce(function(e,t,n){return null!=e?e:te(u,t)?n:null},null),r=null!==(o=R.current)&&void 0!==o?o:-1,o=r;-1===r&&(null==n?k(0):o=n);e=o+e,e=function(e,t,n){return Math.max(Math.min(t,n),e)}(0,t.length-1,e);k(e)}(e.keyCode===_u.UP?-1:1):D(!0),ue(e);break;case _u.SPACE:e.target!==M.current&&(x?Y():D(!0),ue(e));break;case _u.ENTER:x?Y():D(!0),ue(e);break;case _u.ESCAPE:W(),ue(e);break;case _u.TAB:x&&Y()}},onTouchMove:function(e){e.currentTarget===e.target&&x&&W()},onFocus:function(e){d&&d(e)},onBlur:function(e){var t=e.nativeEvent;if(t){var n=t.relatedTarget,t=e.currentTarget;if(t&&n&&t.contains(n))return}f&&f(e)},children:[pe($s,hp(hp({ref:j,id:t,block:s,size:l,htmlType:"button",className:se(S("np-dropdown-toggle"),S("np-text-body-large"),a?S("np-dropdown-toggle-navy"):null),type:null,priority:null,disabled:n,role:"combobox","aria-controls":q,"aria-expanded":x,"aria-autocomplete":"none",onClick:function(){D(!0)}},w),{},{children:[u?ce(pp,hp(hp({},u),{},{classNames:b,selected:!0})):ce("span",{className:S("form-control-placeholder"),children:r}),ce(he,{className:se(S("tw-icon"),S("tw-chevron-up-icon"),S("tw-chevron"),S("bottom"),S("np-select-chevron"))})]})),G?B?ce(ip,{open:x,headerTitle:y||E(cp.searchPlaceholder),onClose:W,children:X()}):ce(Bs,{open:x,onClose:W,children:X({className:T?"":"p-a-1"})}):ce(up,{open:x,flip:!1,altAxis:!0,anchorRef:C,anchorWidth:F,position:v?re.Position.TOP:re.Position.BOTTOM,onClose:W,children:X({className:"p-a-1"})})]})}vp.propTypes={placeholder:l.default.string,id:l.default.string,required:l.default.bool,disabled:l.default.bool,inverse:l.default.bool,dropdownRight:l.default.oneOf(["xs","sm","md","lg","xl"]),dropdownWidth:l.default.oneOf(["sm","md","lg"]),size:l.default.oneOf(["sm","md","lg"]),block:l.default.bool,selected:l.default.shape({value:l.default.any.isRequired,label:l.default.node,icon:l.default.node,currency:l.default.string,note:l.default.node,secondary:l.default.node}),search:l.default.oneOfType([l.default.bool,l.default.func]),onChange:l.default.func.isRequired,onFocus:l.default.func,onBlur:l.default.func,options:l.default.arrayOf(l.default.shape({value:l.default.any,label:l.default.node,header:l.default.node,icon:l.default.node,currency:l.default.string,note:l.default.node,secondary:l.default.node,separator:l.default.bool,disabled:l.default.bool,searchStrings:l.default.arrayOf(l.default.string)})).isRequired,onSearchChange:l.default.func,searchValue:l.default.string,searchPlaceholder:l.default.string,classNames:l.default.objectOf(l.default.string),dropdownUp:l.default.bool,buttonProps:l.default.object,dropdownProps:l.default.object},vp.defaultProps={id:void 0,placeholder:void 0,size:"md",dropdownRight:null,dropdownWidth:null,inverse:!1,required:!1,disabled:!1,block:!0,selected:null,onFocus:null,onBlur:null,onSearchChange:void 0,search:!1,searchValue:"",searchPlaceholder:void 0,classNames:{},dropdownUp:!1,buttonProps:{},dropdownProps:{}};var Op=ie.defineMessages({monthLabel:{id:"neptune.DateInput.month.label"},dayLabel:{id:"neptune.DateInput.day.label"},yearLabel:{id:"neptune.DateInput.year.label"}});function wp(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}var Ep=new Set(["en-US","ja-JP"]),Tp={year:null,month:null,day:null},Et=function(e){function r(){return i&&ku(i)?"string"==typeof i?function(e){e=new Date(e.split("T")[0]);return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate())}(i):i:null}function t(e){var t,n=Tp;return i&&ku(i)&&(t=r(),n={year:(t=t).getFullYear(),month:t.getMonth(),day:t.getDate()},Ru(t=i)&&t.split("-").length<3&&(n.day=null)),n[e]}function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:E,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:S,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:x,r=null!=e&&null!=t&&null!=n?new Date(n,t,e):null;(r=ku(r)?r:null)||L(Tp),p===re.DateMode.MONTH_YEAR?0<=t&&n&&(t!==S||n!==x)&&L(r):e&&0<=t&&n&&(e!==E||t!==S||n!==x)&&L(r)}var o=e.disabled,a=e.size,i=e.value,l=e.dayLabel,s=e.monthLabel,u=e.yearLabel,c=e.monthFormat,p=e.mode,d=e.onChange,f=e.onFocus,h=e.onBlur,m=e.placeholders,g=e.id,y=e.selectProps,b=ie.useIntl(),v=b.locale,O=b.formatMessage,w=oe.useState(function(){return t("day")}),e=fe(w,2),E=e[0],T=e[1],b=oe.useState(function(){return t("month")}),w=fe(b,2),S=w[0],C=w[1],e=oe.useState(function(){return t("year")}),b=fe(e,2),x=b[0],D=b[1],w=oe.useState(r),e=fe(w,2),A=e[0],N=e[1],l=l||O(Op.dayLabel),s=s||O(Op.monthLabel),u=u||O(Op.yearLabel),m={day:(null===m||void 0===m?void 0:m.day)||"DD",month:(null===m||void 0===m?void 0:m.month)||O(Op.monthLabel),year:(null===m||void 0===m?void 0:m.year)||"YYYY"},b=function(){var e=Pu(v,c);return pe("label",{children:[ce("span",{className:"sr-only",children:s}),ce(vp,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wp(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wp(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({id:g?"".concat(g,"-select"):void 0,name:"month",disabled:o,placeholder:m.month,options:P(),size:a,selected:null===S?null:{value:S,label:e[S]},onChange:function(e){return k(e)}},y))]})},P=function(){var n=[];return Pu(v,c).forEach(function(e,t){n.push({value:t,label:e})}),n},k=function(e){if(!e)return C(null),void n(E,null,x);var t=e?e.value:0,e=R(E,t,x).checkedDay;C(t),E&&e!==E&&T(e),n(e,t,x)},L=function(e){e!==A&&(N(e),d(function(e){if(!ku(e))return"";switch(p){case re.DateMode.MONTH_YEAR:return[e.getFullYear(),"0".concat(e.getMonth()+1).slice(-2)].join("-");case re.DateMode.DAY_MONTH_YEAR:default:return[e.getFullYear(),"0".concat(e.getMonth()+1).slice(-2),"0".concat(e.getDate()).slice(-2)].join("-")}}(e)||null))},R=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,r=e,o=new Date(n||2e3,t+1,0).getDate();return e||(r=null),(e&&e<0||"00"===e)&&(r=1),{checkedDay:r=e&&t||31<e?o<e?o:e:r,checkedMonth:t,checkedYear:n}},w=p===re.DateMode.MONTH_YEAR,e=se({"col-sm-8":w,"col-sm-5":!w}),O=Ep.has(v);return ce("div",{className:"tw-date",id:g,onFocus:function(e){return n=(t=e).target,t=t.relatedTarget,n=n.closest(".tw-date"),t=t&&t.closest(".tw-date"),n!==t?f&&f():e.stopPropagation();var t,n},onBlur:function(e){return t=e,n=e.target,r=e.relatedTarget,t=n.closest(".tw-date"),n=(n=r||(document.activeElement!==n?document.activeElement:null))&&n.closest(".tw-date"),t!==n?h&&h():e.stopPropagation();var t,n,r},children:pe("div",{className:"row",children:[O&&ce("div",{className:e,children:b()}),!w&&ce("div",{className:"col-sm-3",children:pe("label",{children:[ce("span",{className:"sr-only",children:l}),ce("div",{className:"input-group input-group-".concat(a),children:ce("input",{type:"number",name:"day",className:"form-control",value:E||"",placeholder:m.day,disabled:o,onChange:function(e){e=R(e.target.value,S,x).checkedDay;T(e),n(e,S,x)}})})]})}),!O&&ce("div",{className:e,children:b()}),ce("div",{className:"col-sm-4",children:pe("label",{children:[ce("span",{className:"sr-only",children:u}),ce("div",{className:"input-group input-group-".concat(a),children:ce("input",{type:"number",name:"year",className:"form-control",placeholder:m.year,value:x||"",disabled:o,onChange:function(e){var t;4===(t=4<(e=(t=e).target.value).length?e.slice(0,4):e).toString().length?(e=R(E,S,e).checkedDay,E&&e!==E&&T(e),D(t),n(e,S,t)):(D(t),n(E,S,null))}})})]})})]})})};Et.propTypes={disabled:l.default.bool,size:l.default.oneOf(["sm","md","lg"]),value:l.default.oneOfType([l.default.string,l.default.instanceOf(Date)]),onChange:l.default.func.isRequired,onFocus:l.default.func,onBlur:l.default.func,dayLabel:l.default.string,monthLabel:l.default.string,yearLabel:l.default.string,monthFormat:l.default.oneOf(["long","short"]),mode:l.default.oneOf(["day-month-year","month-year"]),placeholders:l.default.shape({day:l.default.node,month:l.default.node,year:l.default.node}),id:l.default.string,selectProps:l.default.object},Et.defaultProps={disabled:!1,size:re.Size.MEDIUM,value:null,onFocus:null,onBlur:null,monthFormat:re.MonthFormat.LONG,mode:re.DateMode.DAY_MONTH_YEAR,id:"",selectProps:{}};var Sp=o(function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports}),Cp=r(Sp),xp=o(function(n){function r(e,t){return n.exports=r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n.exports.__esModule=!0,n.exports.default=n.exports,r(e,t)}n.exports=r,n.exports.__esModule=!0,n.exports.default=n.exports});r(xp);function Dp(e){var t=e.selectedDate,n=e.size,r=e.placeholder,o=e.label,a=e.monthFormat,i=e.disabled,l=e.onClick,s=e.onClear,u=ae.useTheme().isModern,e=(c=ie.useIntl()).locale,c=c.formatMessage;return pe(M,{children:[pe("button",{className:"btn btn-".concat(n," btn-input np-date-trigger"),disabled:i,type:"button",onClick:l,children:[o&&ce("span",{className:"control-label small m-r-1",children:o}),ce("span",t?{className:u?"":"font-weight-normal",children:xu(t,e,{day:"numeric",month:a,year:"numeric"})}:{className:"form-control-placeholder visible-xs-inline visible-sm-inline visible-md-inline visible-lg-inline visible-xl-inline",children:r}),s?null:ce(he,{orientation:re.Position.BOTTOM,disabled:i})]}),s?pe(M,{children:[ce("div",{className:"clearfix"}),ce("span",{className:"input-group-addon",children:ce(Ae,{className:"clear-btn clear-btn--".concat(n),"aria-label":c(Ip.ariaLabel),size:re.Size.SMALL,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()},onKeyPress:function(e){($l({keyType:"Space",event:e})||$l({keyType:"Enter",event:e}))&&(e.stopPropagation(),e.preventDefault(),s())}})})]}):null]})}var Ap=r(o(function(e){e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xp(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports})),Np=o(function(t){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}),Pp=r(Np),kp=r(o(function(e){var n=Np.default;e.exports=function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Sp(e)},e.exports.__esModule=!0,e.exports.default=e.exports})),Lp=r(o(function(t){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),Rp=oe.forwardRef(function(e,t){var n=e.anchorRef,r=e.arrow,o=void 0!==r&&r,a=e.flip,i=void 0===a||a,l=e.children,s=e.className,u=void 0===s?void 0:s,r=e.onClose,a=e.open,s=void 0!==a&&a,a=e.position,e=void 0===a?re.Position.BOTTOM:a,a=ae.useTheme().className;return Ts().isMobile?ce(Bs,{open:s,className:u,onClose:r,children:l},"bottomSheet"):ce(up,{ref:t,flip:i,arrow:o,open:s,position:e,anchorRef:n,className:se(a,u),onClose:r,children:l},"panel")}),Ip=ie.defineMessages({ariaLabel:{id:"neptune.ClearButton.ariaLabel"}});Dp.propTypes={selectedDate:l.default.instanceOf(Date),size:l.default.oneOf(["sm","md","lg"]),placeholder:l.default.string.isRequired,label:l.default.string.isRequired,monthFormat:l.default.oneOf(["short","long"]).isRequired,disabled:l.default.bool.isRequired,onClick:l.default.func.isRequired,onClear:l.default.func},Dp.defaultProps={selectedDate:null,size:re.Size.MEDIUM,onClear:void 0};function _p(e){var t=e.label,n=e.onLabelClick,r=e.onPreviousClick,e=e.onNextClick;return pe("div",{className:"text-xs-center p-t-1 p-b-2 clearfix",children:[ce("div",{className:"pull-left-single-direction",children:ce("button",{type:"button",className:"d-inline-flex ".concat(Mp),onClick:r,children:ce(he,{orientation:re.Position.LEFT,className:"left-single-direction",size:re.Size.MEDIUM})})}),t&&ce("button",{type:"button",className:"tw-date-lookup-header-current ".concat(Mp),onClick:n,children:t}),ce("div",{className:"pull-right-single-direction",children:ce("button",{type:"button",className:"d-inline-flex ".concat(Mp),onClick:e,children:ce(he,{orientation:re.Position.RIGHT,className:"right-single-direction",size:re.Size.MEDIUM})})})]})}var Mp="btn-link p-a-0 text-no-decoration np-text-body-large-bold rounded-sm";function jp(e){return e?new Date(e.getFullYear(),e.getMonth(),e.getDate()):null}function Up(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}_p.propTypes={label:l.default.string,onLabelClick:l.default.func,onPreviousClick:l.default.func.isRequired,onNextClick:l.default.func.isRequired},_p.defaultProps={label:null,onLabelClick:function(){}};var Bp=function(e){Ap(a,e);var o=Up(a);function a(){var t;u(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t=o.call.apply(o,[this].concat(n)),le(Cp(t),"onClick",function(e){e.preventDefault(),t.props.disabled||t.props.onClick(t.props.item)}),t}return s(a,[{key:"render",value:function(){var e=this.props,t=e.item,n=e.type,r=e.title,o=e.longTitle,a=e.active,i=e.disabled,e=e.today;return ce(M,{children:ce("button",{type:"button",className:"tw-date-lookup-".concat(n,"-option ").concat(a?"active":""," ").concat(e?"today":""," np-text-body-default-bold"),disabled:i,"aria-label":o,onClick:this.onClick,children:r||t})})}}]),a}(oe.PureComponent);function Fp(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}Bp.propTypes={item:l.default.number.isRequired,type:l.default.oneOf(["day","month","year"]).isRequired,title:l.default.string,longTitle:l.default.string,active:l.default.bool.isRequired,disabled:l.default.bool.isRequired,today:l.default.bool.isRequired,onClick:l.default.func.isRequired},Bp.defaultProps={title:null,longTitle:null};var qp={day:"numeric"},gn=function(e){Ap(o,e);var r=Fp(o);function o(){var l;u(this,o);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return l=r.call.apply(r,[this].concat(t)),le(Cp(l),"getTableStructure",function(){var e=l.props,t=e.viewMonth,e=e.viewYear,n=new Date(e,t,1).getDay();0===n&&(n=7);for(var r=new Date(e,t+1,0).getDate(),o=[],a=[],i=1;i<n;i+=1)o.push(!1);for(i=1;i<=r;i+=1)o.push(i),(n+i-1)%7==0&&(a.push(o),o=[]);if(0<o.length){for(i=o.length;i<7;i+=1)o.push(!1);a.push(o)}return a}),le(Cp(l),"days",Du(l.props.intl.locale,"short")),le(Cp(l),"daysShort",Du(l.props.intl.locale,"narrow")),le(Cp(l),"selectDay",function(e){var t=l.props,n=t.viewMonth,r=t.viewYear;(0,t.onSelect)(new Date(r,n,e))}),le(Cp(l),"isDisabled",function(e){var t=l.props,n=t.min,r=t.max,o=t.viewMonth,t=t.viewYear;return!Au(new Date(t,o,e),n,r)}),le(Cp(l),"isActive",function(e){var t=l.props,n=t.selectedDate,r=t.viewMonth,t=t.viewYear;return!(!n||+new Date(t,r,e)!=+n)}),l}return s(o,[{key:"render",value:function(){var n=this,e=this.props,r=e.viewMonth,o=e.viewYear,a=e.intl.locale,e=this.getTableStructure();return pe("table",{className:"table table-condensed table-bordered tw-date-lookup-calendar m-b-0",children:[ce("thead",{children:ce("tr",{children:this.days.map(function(e,t){return pe("th",{className:"text-xs-center np-text-body-default-bold",children:[ce("span",{className:"hidden-xs",children:e.slice(0,3)}),ce("span",{className:"visible-xs-inline-block",children:n.daysShort[t].slice(0,2)})]},e)})})}),ce("tbody",{children:e.map(function(e,t){return ce("tr",{children:e.map(function(e,t){return ce("td",{className:4<t?"default":"",children:e&&ce(Bp,{item:e,type:"day",title:xu(new Date(o,r,e),a,qp),longTitle:xu(new Date(o,r,e),a),active:n.isActive(e),disabled:n.isDisabled(e),today:+jp(new Date)==+new Date(o,r,e),onClick:n.selectDay})},t)})},t)})})]})}}]),o}(oe.PureComponent);gn.propTypes={selectedDate:l.default.instanceOf(Date),min:l.default.instanceOf(Date),max:l.default.instanceOf(Date),viewMonth:l.default.number.isRequired,viewYear:l.default.number.isRequired,onSelect:l.default.func.isRequired},gn.defaultProps={selectedDate:null,min:null,max:null};var zp=ie.injectIntl(gn);function Gp(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}Rt=function(e){Ap(a,e);var o=Gp(a);function a(){var n;u(this,a);for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n=o.call.apply(o,[this].concat(t)),le(Cp(n),"selectPreviousMonth",function(){var e=n.props,t=e.viewMonth,e=e.viewYear;n.props.onViewDateUpdate({month:t<=0?11:t-1,year:t<=0?e-1:e})}),le(Cp(n),"selectNextMonth",function(){var e=n.props,t=e.viewMonth,e=e.viewYear;n.props.onViewDateUpdate({month:11<=t?0:t+1,year:11<=t?e+1:e})}),n}return s(a,[{key:"render",value:function(){var e=this.props,t=e.selectedDate,n=e.min,r=e.max,o=e.viewMonth,a=e.viewYear,i=e.intl.locale,l=e.monthFormat,s=e.onLabelClick,e=e.onSelect;return pe(M,{children:[ce(_p,{label:xu(new Date(a,o),i,{month:l,year:"numeric"}),onLabelClick:s,onPreviousClick:this.selectPreviousMonth,onNextClick:this.selectNextMonth}),ce(zp,{selectedDate:t,min:n,max:r,viewMonth:o,viewYear:a,onSelect:e})]})}}]),a}(oe.PureComponent);Rt.propTypes={selectedDate:l.default.instanceOf(Date),min:l.default.instanceOf(Date),max:l.default.instanceOf(Date),viewMonth:l.default.number.isRequired,viewYear:l.default.number.isRequired,monthFormat:l.default.oneOf([re.MonthFormat.LONG,re.MonthFormat.SHORT]).isRequired,onSelect:l.default.func.isRequired,onLabelClick:l.default.func.isRequired,onViewDateUpdate:l.default.func.isRequired},Rt.defaultProps={selectedDate:null,min:null,max:null};function Vp(e){var o=e.selectedDate,t=e.min,n=e.max,a=e.viewYear,r=e.placeholder,i=e.onSelect,l=ie.useIntl().locale,s=function(e){e=new Date(a,e);return!!(t&&e<new Date(t.getFullYear(),t.getMonth())||n&&e>new Date(n.getFullYear(),n.getMonth()))};return pe("table",{className:"table table-condensed table-bordered tw-date-lookup-calendar np-text-body-default-bold m-b-0",children:[ce("thead",{className:"sr-only",children:ce("tr",{children:ce("th",{colSpan:"3",children:r})})}),ce("tbody",{children:K(new Array(3)).map(function(e,r){return ce("tr",{children:K(new Array(4)).map(function(e,t){return ce("td",{children:ce(Bp,{item:n=4*r+t,type:"month",title:xu(new Date(a,n),l,Yp),active:!(!o||n!==o.getMonth()||a!==o.getFullYear()),disabled:s(n),today:a===(new Date).getFullYear()&&n===(new Date).getMonth(),onClick:i})},t);var n})},r)})})]})}var Hp=ie.injectIntl(Rt),Yp={month:"short"};function Wp(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}Vp.propTypes={selectedDate:l.default.instanceOf(Date),min:l.default.instanceOf(Date),max:l.default.instanceOf(Date),viewYear:l.default.number.isRequired,placeholder:l.default.string.isRequired,onSelect:l.default.func.isRequired},Vp.defaultProps={selectedDate:null,min:null,max:null};fr=function(e){Ap(a,e);var o=Wp(a);function a(){var t;u(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t=o.call.apply(o,[this].concat(n)),le(Cp(t),"onMonthSelect",function(e){t.props.onViewDateUpdate({month:e}),t.props.onSelect()}),le(Cp(t),"selectPreviousYear",function(){t.props.onViewDateUpdate({year:t.props.viewYear-1})}),le(Cp(t),"selectNextYear",function(){t.props.onViewDateUpdate({year:t.props.viewYear+1})}),t}return s(a,[{key:"render",value:function(){var e=this.props,t=e.selectedDate,n=e.min,r=e.max,o=e.viewYear,a=e.intl.locale,i=e.placeholder,e=e.onLabelClick;return pe(M,{children:[ce(_p,{label:xu(new Date(o,0),a,{year:"numeric"}),onLabelClick:e,onPreviousClick:this.selectPreviousYear,onNextClick:this.selectNextYear}),ce(Vp,{selectedDate:t,min:n,max:r,viewYear:o,placeholder:i,onSelect:this.onMonthSelect})]})}}]),a}(oe.PureComponent);fr.propTypes={selectedDate:l.default.instanceOf(Date),min:l.default.instanceOf(Date),max:l.default.instanceOf(Date),viewYear:l.default.number.isRequired,placeholder:l.default.string.isRequired,onSelect:l.default.func.isRequired,onLabelClick:l.default.func.isRequired,onViewDateUpdate:l.default.func.isRequired},fr.defaultProps={selectedDate:null,min:null,max:null};function Kp(e){var o=e.selectedDate,a=e.min,i=e.max,t=e.viewYear,n=e.placeholder,l=e.onSelect,s=ie.useIntl().locale,u=t-t%20;return pe("table",{className:"table table-condensed table-bordered tw-date-lookup-calendar m-b-0",children:[ce("thead",{className:"sr-only",children:ce("tr",{children:ce("th",{colSpan:"4",children:n})})}),ce("tbody",{children:K(new Array(5)).map(function(e,r){return ce("tr",{children:K(new Array(4)).map(function(e,t){return ce("td",{children:ce(Bp,{item:n=u+4*r+t,type:"year",title:xu(new Date(n,0),s,Xp),active:!(!o||n!==o.getFullYear()),disabled:!!(a&&n<a.getFullYear()||i&&n>i.getFullYear()),today:n===(new Date).getFullYear(),onClick:l})},t);var n})},r)})})]})}var Zp=ie.injectIntl(fr),Xp={year:"numeric"};function $p(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}Kp.propTypes={selectedDate:l.default.instanceOf(Date),min:l.default.instanceOf(Date),max:l.default.instanceOf(Date),viewYear:l.default.number.isRequired,placeholder:l.default.string.isRequired,onSelect:l.default.func.isRequired},Kp.defaultProps={selectedDate:null,min:null,max:null};var Jp=function(e){Ap(a,e);var o=$p(a);function a(){var t;u(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t=o.call.apply(o,[this].concat(n)),le(Cp(t),"onYearSelect",function(e){t.props.onViewDateUpdate({year:e}),t.props.onSelect()}),le(Cp(t),"selectPreviousYears",function(){t.props.onViewDateUpdate({year:t.props.viewYear-20})}),le(Cp(t),"selectNextYears",function(){t.props.onViewDateUpdate({year:t.props.viewYear+20})}),t}return s(a,[{key:"render",value:function(){var e=this.props,t=e.selectedDate,n=e.min,r=e.max,o=e.viewYear,e=e.placeholder;return pe(M,{children:[ce(_p,{onPreviousClick:this.selectPreviousYears,onNextClick:this.selectNextYears}),ce(Kp,{selectedDate:t,min:n,max:r,viewYear:o,placeholder:e,onSelect:this.onYearSelect})]})}}]),a}(oe.PureComponent);function Qp(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}Jp.propTypes={selectedDate:l.default.instanceOf(Date),min:l.default.instanceOf(Date),max:l.default.instanceOf(Date),viewYear:l.default.number.isRequired,placeholder:l.default.string.isRequired,onSelect:l.default.func.isRequired,onViewDateUpdate:l.default.func.isRequired},Jp.defaultProps={selectedDate:null,min:null,max:null};var ed={DAY:"day",MONTH:"month",YEAR:"year"},Or=function(e){Ap(n,e);var t=Qp(n);function n(e){var s;return u(this,n),s=t.call(this,e),le(Cp(s),"element",oe.createRef()),le(Cp(s),"dropdown",oe.createRef()),le(Cp(s),"open",function(){var e=s.props.onFocus;s.setState({open:!0,mode:ed.DAY}),e&&e()}),le(Cp(s),"close",function(){var e=s.props.onBlur;s.setState({open:!1}),e&&e()}),le(Cp(s),"handleKeyDown",function(e){var t=s.state.open;switch(e.keyCode){case _u.LEFT:t?s.adjustDate(-1,-1,-1):s.open(),e.preventDefault();break;case _u.UP:t?s.adjustDate(-7,-4,-4):s.open(),e.preventDefault();break;case _u.RIGHT:t?s.adjustDate(1,1,1):s.open(),e.preventDefault();break;case _u.DOWN:t?s.adjustDate(7,4,4):s.open(),e.preventDefault();break;case _u.ESCAPE:s.close(),e.preventDefault()}}),le(Cp(s),"adjustDate",function(e,t,n){var r=s.state,o=r.selectedDate,a=r.min,i=r.max,r=r.mode,e=o?new Date(r===ed.YEAR?o.getFullYear()+n:o.getFullYear(),r===ed.MONTH?o.getMonth()+t:o.getMonth(),r===ed.DAY?o.getDate()+e:o.getDate()):jp(new Date);+(e=Nu(e,a,i))!=+o&&s.props.onChange(e)}),le(Cp(s),"focusOn",function(e,t){e=s.element.current.querySelector(e);e?e.focus():t&&s.focusOn(t)}),le(Cp(s),"switchMode",function(e){s.setState({mode:e},function(){s.focusOn(".active",".today")})}),le(Cp(s),"switchToDays",function(){return s.switchMode(ed.DAY)}),le(Cp(s),"switchToMonths",function(){return s.switchMode(ed.MONTH)}),le(Cp(s),"switchToYears",function(){return s.switchMode(ed.YEAR)}),le(Cp(s),"handleSelectedDateUpdate",function(e){s.setState({selectedDate:e},function(){s.props.onChange(e),s.close(),s.focusOn(".btn")})}),le(Cp(s),"handleViewDateUpdate",function(e){var t=e.month,t=void 0===t?s.state.viewMonth:t,e=e.year,e=void 0===e?s.state.viewYear:e;s.setState({viewMonth:t,viewYear:e})}),le(Cp(s),"getCalendar",function(){var e=s.state,t=e.selectedDate,n=e.min,r=e.max,o=e.viewMonth,a=e.viewYear,i=e.mode,l=s.props,e=l.placeholder,l=l.monthFormat;return pe("div",{className:"p-a-1",children:[i===ed.DAY&&ce(Hp,{selectedDate:t,min:n,max:r,viewMonth:o,viewYear:a,monthFormat:l,onSelect:s.handleSelectedDateUpdate,onLabelClick:s.switchToYears,onViewDateUpdate:s.handleViewDateUpdate}),i===ed.MONTH&&ce(Zp,{selectedDate:t,min:n,max:r,viewYear:a,placeholder:e,onSelect:s.switchToDays,onLabelClick:s.switchToYears,onViewDateUpdate:s.handleViewDateUpdate}),i===ed.YEAR&&ce(Jp,{selectedDate:t,min:n,max:r,viewYear:a,placeholder:e,onSelect:s.switchToMonths,onViewDateUpdate:s.handleViewDateUpdate})]})}),le(Cp(s),"handleClear",function(){s.props.onChange(null),s.focusOn(".np-date-trigger")}),s.state={selectedDate:jp(e.value),min:jp(e.min),max:jp(e.max),viewMonth:(e.value||new Date).getMonth(),viewYear:(e.value||new Date).getFullYear(),open:!1,mode:ed.DAY},s}return s(n,[{key:"componentDidUpdate",value:function(e){+this.props.value!=+e.value&&this.state.open&&this.focusOn(".active")}},{key:"componentWillUnmount",value:function(){this.setState=function(){}}},{key:"render",value:function(){var e=this.state,t=e.selectedDate,n=e.open,r=this.props,o=r.size,a=r.placeholder,i=r.label,l=r.monthFormat,s=r.disabled,e=r.clearable,r=r.value;return pe("div",{ref:this.element,className:"input-group",onKeyDown:this.handleKeyDown,children:[ce(Dp,{selectedDate:t,size:o,placeholder:a,label:i,monthFormat:l,disabled:s,onClick:this.open,onClear:!s&&e&&r?this.handleClear:null}),ce(Rp,{anchorRef:this.element,open:n,className:"tw-date-lookup-menu",position:re.Position.BOTTOM,onClose:this.close,children:this.getCalendar()})]})}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=jp(e.value),r=jp(e.min),o=jp(e.max),a=+t.selectedDate!=+n,i=+t.min!=+r,l=+t.max!=+o;if(a||i||l){n=a?n:t.selectedDate,r=i?r:t.min,o=l?o:t.max;if(!Au(n,r,o))return e.onChange(Nu(n,r,o)),null;t=(n||new Date).getMonth(),e=(n||new Date).getFullYear();return{selectedDate:n,min:r,max:o,viewMonth:t,viewYear:e}}return null}}]),n}(oe.PureComponent);Or.propTypes={value:l.default.instanceOf(Date).isRequired,min:l.default.instanceOf(Date),max:l.default.instanceOf(Date),size:l.default.oneOf(["sm","md","lg"]),placeholder:l.default.string,label:l.default.string,monthFormat:l.default.oneOf(["long","short"]),disabled:l.default.bool,onChange:l.default.func.isRequired,onFocus:l.default.func,onBlur:l.default.func,clearable:l.default.bool},Or.defaultProps={min:null,max:null,size:re.Size.MEDIUM,placeholder:"",label:"",monthFormat:re.MonthFormat.LONG,disabled:!1,onFocus:null,onBlur:null,clearable:!1},(Nr=re.DecisionPresentation||(re.DecisionPresentation={})).LIST="LIST",Nr.LIST_BLOCK="LIST_BLOCK",Nr.LIST_BLOCK_GRID="LIST_BLOCK_GRID",(re.DecisionType||(re.DecisionType={})).NAVIGATION="NAVIGATION";var td=["as","disabled","onClick","className"];function nd(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function rd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nd(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nd(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var od=oe.forwardRef(function(e,t){var n=e.as,r=void 0===n?"button":n,n=e.disabled,o=void 0!==n&&n,a=e.onClick,n=e.className,e=b(e,td);return"href"in e&&e.href&&(r="a"),ce(ge,rd(rd({},e),{},{ref:t,as:r,className:se("np-navigation-option",n),button:ce(he,{orientation:re.Position.RIGHT,disabled:o,className:"d-block"}),disabled:o,onClick:function(e){o?e.preventDefault():a&&a(e)}}))}),ad={COLUMN:"COLUMN"},id=oe.forwardRef(function(e,t){var n=e.items,r=e.inline,e=oe.useRef(null),t=gs({ref:t||e}),o=fe(t,1)[0];if(!n||0===n.length)return null;t=[];return o?t=n.filter(function(e){e=e.breakpoint;return(void 0===e?0:e)<=o}).pop():t.items=n.map(function(e){e=e.items;return Object.values(e)}),ce("div",{ref:e,className:se("np-size-swapper",{"d-flex":!r,"d-inline-flex":r,"flex-column":t&&t.layout===ad.COLUMN,"flex-wrap":t&&t.wrap}),style:{visibility:o?"visible":"hidden"},children:t&&t.items})});id.Breakpoint=re.Breakpoint,id.Layout=ad,id.propTypes={inline:l.default.bool,items:l.default.arrayOf(l.default.shape({items:l.default.arrayOf(l.default.element),breakpoint:l.default.number,layout:l.default.oneOf([id.Layout.COLUMN]),wrap:l.default.bool})).isRequired},id.defaultProps={inline:!1};function ld(e){var t=e.className,n=e.description,r=e.disabled,o=e.href,a=e.target,i=e.media,l=e.onClick,s=e.size,u=e.title,e=s===re.Size.SMALL,s=ae.useTheme().isModern;return pe(o?"a":"button",{className:se("decision","flex-column","np-tile","text-no-decoration","text-xs-center",t,{"p-a-3":!e&&s,"p-y-5 p-x-4":!e&&!s,"p-a-2":e,"np-tile--small":e,disabled:r}),href:o,target:a,"aria-label":u,onClick:r?null:l,onKeyDown:r?null:function(e){e=e.key;e!==h.ENTER&&!h.SPACE.includes(e)||l()},children:[ce("div",{className:"np-tile__media d-flex justify-content-center",children:i}),ce(_,{type:re.Typography.TITLE_SUBSECTION,className:se(e?"m-t-1":"m-t-2"),children:u}),s&&n&&ce(z,{as:"span",type:re.Typography.BODY_DEFAULT,className:"m-t-1",children:n}),!s&&n&&ce("div",{className:"np-tile__description",children:n})]})}ld.propTypes={className:l.default.string,description:l.default.node,disabled:l.default.bool,href:l.default.string.isRequired,target:l.default.oneOf(["_self","_blank","_parent","_top"]),media:l.default.node.isRequired,onClick:l.default.func.isRequired,size:l.default.oneOf(["sm","md"]),title:l.default.node.isRequired},ld.defaultProps={className:"",description:null,disabled:!1,size:re.Size.MEDIUM,target:void 0};Ve=function(e){var t=e.options,n=e.presentation,r=e.type,u=e.showMediaCircleInList,c=e.isContainerAligned,o=e.size;if(r!==re.DecisionType.NAVIGATION)return ce(M,{});e=re.DecisionPresentation.LIST_BLOCK,r=re.DecisionPresentation.LIST_BLOCK_GRID;if(n!==e&&n!==r)return t.map(function(e,t){var n=e.title,r=e.description,o=e.disabled,a=e.href,i=e.target,l=e.media.list,e=e.onClick;return ce(od,{complex:!1,content:r,disabled:o,href:a,target:i,media:l,showMediaAtAllSizes:!0,showMediaCircle:u,isContainerAligned:c,title:n,onClick:e},"nav-".concat(t))});var p=o===re.Size.SMALL,d=n===r,f=[{items:[],layout:id.Layout.COLUMN},{items:[],breakpoint:p?re.Breakpoint.EXTRA_SMALL:re.Breakpoint.SMALL,wrap:d}];return t.forEach(function(e,t){var n=e.description,r=e.disabled,o=e.href,a=e.target,i=e.media,l=i.block,s=i.list,i=e.onClick,e=e.title;f[0].items.push(ce(od,{complex:!1,content:n,disabled:r,href:o,target:a,media:s,showMediaAtAllSizes:!0,showMediaCircle:u,isContainerAligned:c,title:e,onClick:i},"nav-".concat(t))),f[1].items.push(ce(ld,{className:se("np-decision__tile".concat(p?"--small":""),{"np-decision__tile--fixed-width":d}),description:n,disabled:r,href:o,target:a,media:l,size:p?re.Size.SMALL:re.Size.MEDIUM,title:e,onClick:i},"tile-".concat(t)))}),ce("div",{className:se("np-decision",{"np-decision--small":p,"np-decision--grid":d}),children:ce(id,{items:f})})};Ve.propTypes={options:l.default.arrayOf(l.default.shape({description:l.default.node,disabled:l.default.bool,href:xe(l.default.string,function(e){return e.type===re.DecisionType.NAVIGATION}),target:l.default.oneOf(["_self","_blank","_parent","_top"]),media:l.default.shape({block:l.default.node.isRequired,list:l.default.node.isRequired}),onClick:l.default.func,title:l.default.node.isRequired})).isRequired,presentation:l.default.oneOf(["LIST","LIST_BLOCK","LIST_BLOCK_GRID"]),size:l.default.oneOf(["sm","md"]),type:l.default.oneOf(["NAVIGATION"]),showMediaCircleInList:l.default.bool,isContainerAligned:l.default.bool},Ve.defaultProps={presentation:re.DecisionPresentation.LIST,size:re.Size.MEDIUM,type:re.DecisionType.NAVIGATION,showMediaCircleInList:!0,isContainerAligned:!1};function sd(e){return[re.Layout.HORIZONTAL_LEFT_ALIGNED,re.Layout.HORIZONTAL_RIGHT_ALIGNED,re.Layout.HORIZONTAL_JUSTIFIED].includes(e)}function ud(e){var t=e.definitions,a=e.layout,e=e.muted;return ce("dl",{className:se("tw-definition-list d-flex ",{"text-muted":e,"flex-column":a===re.Layout.VERTICAL_ONE_COLUMN,"tw-definition-list--columns flex-column flex-row--sm":a===re.Layout.VERTICAL_TWO_COLUMN,"tw-definition-list--horizontal flex-column":sd(a)}),children:t.filter(function(e){return e}).map(function(e){var t=e.action,n=e.title,r=e.value,o=e.key;return pe("div",{className:"tw-definition-list__item",children:[ce("dt",{children:n}),pe("dd",{className:se.apply(void 0,K((e=a,n=["d-flex"],t&&(sd(e)?n.push("align-items-center"):n.push("align-items-start")),e===re.Layout.HORIZONTAL_RIGHT_ALIGNED?n.push("text-sm-right tw-definition-list--right-aligned-desktop"):n.push("justify-content-between"),e===re.Layout.HORIZONTAL_JUSTIFIED&&n.push("text-sm-justify"),n))),children:[ce("div",{children:r}),t?ce("div",{className:se(sd(a)?"p-l-2":"p-x-2","tw-definition-list__action"),children:ce(Te,{className:"tw-definition-list__button",onClick:t.onClick,children:t.label})}):null]})]},o)})})}ud.propTypes={definitions:l.default.arrayOf(l.default.shape({action:l.default.shape({label:l.default.string.isRequired,onClick:l.default.func.isRequired}),title:l.default.node.isRequired,value:l.default.node.isRequired,key:l.default.string.isRequired})),layout:l.default.oneOf(["VERTICAL_TWO_COLUMN","VERTICAL_ONE_COLUMN","HORIZONTAL_JUSTIFIED","HORIZONTAL_LEFT_ALIGNED","HORIZONTAL_RIGHT_ALIGNED"]),muted:l.default.bool},ud.defaultProps={definitions:[],layout:re.Layout.VERTICAL_TWO_COLUMN,muted:!1};var cd=function(e,t,n){e=Sd(e);return gd(e),md(e),vd(e),Od(e,n),e},pd=function(e){if(Array.isArray(e)){var t=[];return e.forEach(function(e){e.fields?t=t.concat(dd(e,e.fields)):e.group?t=t.concat(dd(e,e.group)):t.push(e)}),t}return e},dd=function(e,t){return e.name&&0<t.length&&!t[0].name&&(t[0].name=e.name),e.width&&0<t.length&&!t[0].width&&(t[0].width=e.width),e.tooltip&&0<t.length&&!t[0].help&&(t[0].help={message:e.tooltip}),e.info&&0<t.length&&!t[0].help&&(t[0].help={message:e.info}),2===t.length&&t.forEach(function(e){e.width="md"}),3===t.length&&(t[0].width="md",t[1].width="md"),t},fd=function(e){if(Array.isArray(e)){var n={};return e.forEach(function(e){var t=e.key||e.name;delete e.key,n[t]=Sd(e)}),n}return e},hd=function(r){if(Array.isArray(r))throw new TypeError("Expecting a map of fields, not an array");var o={};return Object.keys(r).forEach(function(e){var t,n;0<e.indexOf(".")?(n=(t=e.split("."))[0],o[n]||(o[n]={type:"object",properties:{}}),o[n].properties[t[1]]=r[e]):o[e]=r[e]}),o},md=function(e){switch(e.type&&e.type.toLowerCase&&e.type.toLowerCase()){case"text":e.type="string";break;case"date":e.type="string",e.format="date";break;case"password":e.type="string",e.control="password";break;case"checkbox":e.type="boolean";break;case"select":e.control||(e.control="select"),delete e.type;break;case"radio":e.control="radio",delete e.type;break;case"upload":e.type="string",e.format="base64url";break;case"tel":e.type="string",e.format="phone";break;case"textarea":e.type="string",e.control="textarea"}e.control||"object"===e.type||(e.control=wd(e))},gd=function(e){e.name&&!e.title&&(e.title=e.name,delete e.name),e.validationRegexp&&(e.pattern=e.validationRegexp,delete e.validationRegexp),e.min&&(e.minimum=e.min,delete e.min),e.max&&(e.maximum=e.max,delete e.max),e.example&&!e.placeholder&&(e.placeholder=e.example,delete e.example),e.tooltip&&!e.help&&(e.help={message:e.tooltip},delete e.tooltip),e.valuesAllowed&&!e.values&&(e.values=e.valuesAllowed,delete e.valuesAllowed),e.values&&e.values.map&&(e.values=yd(e.values)),e.value&&!e.default&&(e.default=e.value,delete e.value),e.values&&e.values&&0<e.values.length&&e.values[0]&&!e.values[0].value&&e.values[0].label&&!e.placeholder&&(e.placeholder=e.values[0].label,e.values=e.values.slice(1))},yd=function(e){return e.map(bd)},bd=function(e){return!e.label&&e.title&&(e.label=e.title,delete e.title),!e.label&&e.name&&(e.label=e.name,delete e.name),!e.value&&e.code&&(e.value=e.code,delete e.code),!e.value&&e.key&&(e.value=e.key,delete e.key),e},vd=function(t){if(t.pattern)try{new RegExp(t.pattern)}catch(e){console.warn("API regexp is invalid"),delete t.pattern}else delete t.pattern},Od=function(e,t){e.validationMessages=e.validationMessages||t,e.validationMessages?(e.validationMessages.minimum&&(e.validationMessages.min=e.validationMessages.minimum,delete e.validationMessages.minimum),e.validationMessages.maximum&&(e.validationMessages.max=e.validationMessages.maximum,delete e.validationMessages.maximum)):delete e.validationMessages},wd=function(e){if(e.control)return e.control.toLowerCase();if(e.hidden)return"hidden";if(e.values&&0<e.values.length)return Td(e);switch(e.type){case"string":return Ed(e.format);case"number":case"integer":return"number";case"boolean":return"checkbox";default:return"text"}},Ed=function(e){switch(e){case"date":return"date";case"base64url":return"file";case"password":return"password";case"uri":case"email":return"text";case"phone":return"tel";default:return"text"}},Td=function(e){return e.control||("select"===e.type||"radio"!==e.type&&(!e.values||3<e.values.length)?"select":"radio")},Sd=function(e){return JSON.parse(JSON.stringify(e))},Cd=9007199254740991,xd="[object Arguments]",Dd="[object Function]",Ad="[object GeneratorFunction]",Nd="[object Map]",Pd="[object Promise]",kd="[object Set]",Ld="[object WeakMap]",Rd="[object DataView]",Id=/^\[object .+?Constructor\]$/,_d=/^(?:0|[1-9]\d*)$/,Ct="object"==typeof n&&n&&n.Object===Object&&n,Je="object"==typeof self&&self&&self.Object===Object&&self,Pr=Ct||Je||Function("return this")();function Md(t,e){return function(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}(e,function(e){return[e,t[e]]})}var jd,Ud,Pt=Function.prototype,Bd=Object.prototype,$e=Pr["__core-js_shared__"],Fd=(mn=/[^.]+$/.exec($e&&$e.keys&&$e.keys.IE_PROTO||""))?"Symbol(src)_1."+mn:"",qd=Pt.toString,zd=Bd.hasOwnProperty,Gd=Bd.toString,Vd=RegExp("^"+qd.call(zd).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Hd=Bd.propertyIsEnumerable,Yd=(jd=Object.keys,Ud=Object,function(e){return jd(Ud(e))}),gr=nf(Pr,"DataView"),ls=nf(Pr,"Map"),Wd=nf(Pr,"Promise"),et=nf(Pr,"Set"),ft=nf(Pr,"WeakMap"),Kd=of(gr),Zd=of(ls),Xd=of(Wd),$d=of(et),Jd=of(ft);function Qd(e,t){var n,r,o,a,i=af(e)||function(e){return function(e){return!!e&&"object"==typeof e}(e)&&lf(e)}(n=e)&&zd.call(n,"callee")&&(!Hd.call(n,"callee")||Gd.call(n)==xd)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=i.length,s=!!l;for(r in e)!t&&!zd.call(e,r)||s&&("length"==r||(o=r,!!(a=null==(a=l)?Cd:a)&&("number"==typeof o||_d.test(o))&&-1<o&&o%1==0&&o<a))||i.push(r);return i}function ef(e){var t;return uf(e)&&(t=e,!(Fd&&Fd in t))&&(sf(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?Vd:Id).test(of(e))}function tf(e){if(n="function"==typeof(n=(t=e)&&t.constructor)&&n.prototype||Bd,t!==n)return Yd(e);var t,n,r,o=[];for(r in Object(e))zd.call(e,r)&&"constructor"!=r&&o.push(r);return o}function nf(e,t){t=t,t=null==(e=e)?void 0:e[t];return ef(t)?t:void 0}var rf=function(e){return Gd.call(e)};function of(e){if(null!=e){try{return qd.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(gr&&rf(new gr(new ArrayBuffer(1)))!=Rd||ls&&rf(new ls)!=Nd||Wd&&rf(Wd.resolve())!=Pd||et&&rf(new et)!=kd||ft&&rf(new ft)!=Ld)&&(rf=function(e){var t=Gd.call(e),e="[object Object]"==t?e.constructor:void 0,e=e?of(e):void 0;if(e)switch(e){case Kd:return Rd;case Zd:return Nd;case Xd:return Pd;case $d:return kd;case Jd:return Ld}return t});var af=Array.isArray;function lf(e){return null!=e&&("number"==typeof(t=e.length)&&-1<t&&t%1==0&&t<=Cd)&&!sf(e);var t}function sf(e){e=uf(e)?Gd.call(e):"";return e==Dd||e==Ad}function uf(e){var t=typeof e;return e&&("object"==t||"function"==t)}var cf,pf=(cf=function(e){return(lf(e)?Qd:tf)(e)},function(e){var t,n,r,o,a,i=rf(e);return i==Nd?(t=e,n=-1,r=Array(t.size),t.forEach(function(e,t){r[++n]=[t,e]}),r):i==kd?(i=e,o=-1,a=Array(i.size),i.forEach(function(e){a[++o]=[e,e]}),a):Md(e,cf(e))}),df=function(e,t){for(var n=0;ff(e,t+n);)n+=1;return n},ff=function(e,t){return e[t]&&"*"!==e[t]},hf=function(e){var t=e.field,n=e.value,r=ie.useIntl().locale,o=[];switch(t.tagClassName&&t.tagClassName.h3&&(o.push("np-text-body-large-bold"),o.push("formatted-value__h3-custom-alignment")),t.control){case"select":case"radio":return ce("span",{children:function(e,t){e=e.find(function(e){return e.value===t});return e&&e.label?e.label:t}(t.values,n)});case"date":return ce("span",{children:xu(n instanceof Date?n:new Date(n),r)});case"number":return ce("span",{children:bu(n,r)});case"password":return ce("span",{children:new Array(n.length+1).join("*")});case"file":return ce("div",{className:"thumbnail",children:ce("img",{alt:t.title,src:n})});case"checkbox":return ce("span",{children:JSON.stringify(n)});default:return ce("span",{className:se(o),children:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length?arguments[1]:void 0;if("string"!=typeof t)return e;var n=t;0<n.indexOf("||")&&(n=n.slice(0,Math.max(0,t.indexOf("||"))));for(var r="",o=0,a=e.length,i=0;a;)ff(n,i)?(r+=n[i],o+=1):(r+=e[i-o],--a),i+=1;t=df(n,i);return t&&(r+=n.slice(i,t)),r}(n,t.displayFormat)})}};function mf(e,i){return pf(e).map(function(e){var n,r,t=fe(e,2),o=t[0],a=t[1];return n=o,r=i,t=(e=a).title,o=e.group,a=e.hidden,r[n]&&!a?{title:t,value:o?o.map(function(e,t){return ce(hf,{field:e,value:r[n]},t)}):ce(hf,{field:e,value:r[n]}),key:n}:null}).filter(function(e){return!!e})}hf.propTypes={field:l.default.shape({control:l.default.string.isRequired,displayFormat:l.default.string,refreshRequirementsOnChange:l.default.bool,title:l.default.string.isRequired,type:l.default.string.isRequired,width:l.default.string,tagClassName:l.default.shape({h3:l.default.bool}),values:l.default.arrayOf(l.default.shape({value:l.default.any}))}).isRequired,value:l.default.any.isRequired};He=function(e){var t=e.model,n=e.title,r=e.layout,e=e.fields;return pe(M,{children:[n&&ce("div",{className:"m-t-1 m-b-3",children:ce(_,{type:re.Typography.TITLE_BODY,className:"p-t-3",children:n})}),ce(ud,{layout:r,definitions:mf(function(e,t,n){if(!e)return{};var r=Sd(e),r=pd(r);return r=fd(r),r=hd(r),Object.keys(r).forEach(function(e){r[e]=cd(r[e],t,n)}),r}(e),t)})]})};He.propTypes={model:l.default.shape({}).isRequired,fields:l.default.shape({}).isRequired,title:l.default.string,layout:l.default.oneOf(["VERTICAL_TWO_COLUMN","VERTICAL_ONE_COLUMN","HORIZONTAL_JUSTIFIED","HORIZONTAL_LEFT_ALIGNED"])},He.defaultProps={title:null,layout:re.Layout.VERTICAL_TWO_COLUMN};var gf="<",yf=">",bf=new(function(){function t(e){u(this,t),this.tags=(e||[]).map(function(e){return{transformed:{opening:'<em class="emphasis emphasis--'.concat(e,'">'),closing:"</em>"},escapedRegex:{opening:new RegExp("".concat(gf).concat(e).concat(yf),"g"),closing:new RegExp("".concat(gf,"/").concat(e).concat(yf),"g")}}})}return s(t,[{key:"transform",value:function(e){if(!e)return null;e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");return this.tags.reduce(function(e,t){return e.replace(t.escapedRegex.opening,t.transformed.opening).replace(t.escapedRegex.closing,t.transformed.closing)},e).replace(/\\n|\n/g,"<br />")}}]),t}())(["important","positive","negative","warning"]),vf=oe.forwardRef(function(e,t){var n=e.bottomContent,r=e.className,o=e.layout,a=e.leftContent,e=e.rightContent,o=o===re.Layout.VERTICAL;return pe("div",{ref:t,className:se("np-flow-header","d-flex","flex-wrap","align-items-center",r),children:[ce("div",{className:se("np-flow-header__left",{"flex__item--8":o}),children:a}),ce("div",{className:se("align-items-center","d-flex","np-flow-header__right","justify-content-end",{"flex__item--4 ":o,"order-2":!o}),children:e}),ce("div",{className:se("align-items-center","d-flex","justify-content-center",{"flex__item--12":o,"order-1 flex-grow-1":!o}),children:n})]})});function Of(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function wf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Of(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Of(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}vf.defaultProps={bottomContent:void 0,className:void 0,layout:re.Layout.HORIZONTAL,leftContent:void 0,rightContent:void 0},vf.propTypes={bottomContent:l.default.node,className:l.default.string,layout:l.default.oneOf(["HORIZONTAL","VERTICAL"]),leftContent:l.default.node,rightContent:l.default.node},(e=re.LogoType||(re.LogoType={})).WISE="WISE",e.WISE_BUSINESS="WISE_BUSINESS";Qe=function(e){return ce("svg",wf(wf({},e),{},{children:ce("path",{fill:"#9FE870",d:"M6.826 7.232 0 15.21h12.188l1.37-3.762H8.335l3.191-3.69.01-.098L9.461 4.09h9.336L11.56 24h4.953L25.25 0H2.676l4.15 7.232Z"})}))};Qe.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"26",height:"24",fill:"none"};fa=function(e){return ce("svg",wf(wf({},e),{},{children:ce("path",{fill:"#163300",d:"M6.826 7.232 0 15.21h12.188l1.37-3.762H8.335l3.191-3.69.01-.098L9.461 4.09h9.336L11.56 24h4.953L25.25 0H2.676l4.15 7.232Z"})}))};fa.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"26",height:"24",fill:"none"};hn=function(e){return ce("svg",wf(wf({},e),{},{children:ce("path",{fill:"#9FE870",d:"M58.738.359h6.498l-3.27 23.322h-6.498L58.739.359Zm-8.193 0L46.16 13.794 44.247.359h-4.545L33.96 13.754 33.243.36h-6.299l2.193 23.322h5.223l6.458-14.75 2.272 14.75h5.143L56.725.359h-6.18Zm54.558 13.555H89.674c.08 3.03 1.894 5.023 4.565 5.023 2.014 0 3.608-1.077 4.844-3.13l5.208 2.368C102.501 21.702 98.729 24 94.08 24c-6.339 0-10.545-4.266-10.545-11.123C83.535 5.342 88.478 0 95.455 0c6.14 0 10.007 4.146 10.007 10.605 0 1.076-.12 2.152-.359 3.309Zm-5.78-4.466c0-2.71-1.516-4.425-3.947-4.425-2.512 0-4.585 1.794-5.144 4.425h9.09ZM6.632 7.387 0 15.139h11.844l1.33-3.655H8.1l3.1-3.586.01-.095-2.016-3.471h9.072l-7.032 19.35h4.812L24.538.358H2.6l4.033 7.028Zm69.168-2.364c2.292 0 4.3 1.233 6.055 3.346l.921-6.575C81.143.688 78.93 0 76 0c-5.82 0-9.09 3.409-9.09 7.734 0 3 1.675 4.834 4.426 6.02l1.315.598c2.452 1.047 3.11 1.565 3.11 2.671 0 1.146-1.106 1.874-2.79 1.874-2.782.01-5.034-1.415-6.728-3.847l-.94 6.699C67.234 23.22 69.708 24 72.97 24c5.532 0 8.93-3.19 8.93-7.615 0-3.01-1.335-4.943-4.704-6.458l-1.435-.678c-1.994-.887-2.671-1.375-2.671-2.352 0-1.056.927-1.874 2.71-1.874Z"})}))};hn.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"106",height:"24",fill:"none"};gn=function(e){return ce("svg",wf(wf({},e),{},{children:ce("path",{fill:"#163300",d:"M58.738.359h6.498l-3.27 23.322h-6.498L58.739.359Zm-8.193 0L46.16 13.794 44.247.359h-4.545L33.96 13.754 33.243.36h-6.299l2.193 23.322h5.223l6.458-14.75 2.272 14.75h5.143L56.725.359h-6.18Zm54.558 13.555H89.674c.08 3.03 1.894 5.023 4.565 5.023 2.014 0 3.608-1.077 4.844-3.13l5.208 2.368C102.501 21.702 98.729 24 94.08 24c-6.339 0-10.545-4.266-10.545-11.123C83.535 5.342 88.478 0 95.455 0c6.14 0 10.007 4.146 10.007 10.605 0 1.076-.12 2.152-.359 3.309Zm-5.78-4.466c0-2.71-1.516-4.425-3.947-4.425-2.512 0-4.585 1.794-5.144 4.425h9.09ZM6.632 7.387 0 15.139h11.844l1.33-3.655H8.1l3.1-3.586.01-.095-2.016-3.471h9.072l-7.032 19.35h4.812L24.538.358H2.6l4.033 7.028Zm69.168-2.364c2.292 0 4.3 1.233 6.055 3.346l.921-6.575C81.143.688 78.93 0 76 0c-5.82 0-9.09 3.409-9.09 7.734 0 3 1.675 4.834 4.426 6.02l1.315.598c2.452 1.047 3.11 1.565 3.11 2.671 0 1.146-1.106 1.874-2.79 1.874-2.782.01-5.034-1.415-6.728-3.847l-.94 6.699C67.234 23.22 69.708 24 72.97 24c5.532 0 8.93-3.19 8.93-7.615 0-3.01-1.335-4.943-4.704-6.458l-1.435-.678c-1.994-.887-2.671-1.375-2.671-2.352 0-1.056.927-1.874 2.71-1.874Z"})}))};gn.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"106",height:"24",fill:"none"};var Ef={WISE:"brand_logo.svg",WISE_BUSINESS:"brand_logo_business.svg",WISE_INVERSE:"brand_logo_inverse.svg",WISE_BUSINESS_INVERSE:"brand_logo_business_inverse.svg",WISE_FLAG:"brand_flag.svg"},Tf={WISE:gn,WISE_BUSINESS:gn,WISE_INVERSE:hn,WISE_BUSINESS_INVERSE:hn,WISE_FLAG:fa,WISE_FLAG_INVERSE:Qe},Rt=function(e){var t=e.className,n=e.inverse,r=e.type,o=ae.useTheme().isModern,a=gs({ref:m()?void 0:window}),e=fe(a,1)[0]<re.Breakpoint.SMALL,a=e?Ef.WISE_FLAG:Ef["".concat(r).concat(n?"_INVERSE":"")],n=e?Tf["WISE_FLAG".concat(n?"_INVERSE":"")]:Tf["".concat(r).concat(n?"_INVERSE":"")];return o?ce(n,{className:"np-logo-svg"}):ce("img",{className:se("np-logo",t),alt:r===re.LogoType.WISE?"Wise":"Wise business",src:"".concat("https://wise.com/public-resources/assets/logos/wise/").concat(a)})};function Sf(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Cf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Sf(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Sf(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}Rt.propTypes={className:l.default.string,inverse:l.default.bool,type:l.default.oneOf(["WISE","WISE_BUSINESS"])},Rt.defaultProps={className:void 0,inverse:!1,type:re.LogoType.WISE};function xf(e){var t=void 0===(u=e.position)?re.Position.TOP:u,n=void 0===(p=e.children)?void 0:p,r=e.label,o=e.className,a=oe.useState(!1),i=(c=fe(a,2))[0],l=c[1],s=oe.useRef(null),u=oe.useState(null),e=(p=fe(u,2))[0],a=p[1],c=oe.useState(null),p=(u=fe(c,2))[0],c=u[1];(u=[]).push({name:"arrow",options:{element:e,options:{padding:8}}}),u.push({name:"offset",options:{offset:[0,16]}}),u.push({name:"flip",options:{fallbackPlacements:re.Position.TOP}});var t=(p=tp(s.current,p,{placement:t,modifiers:u})).styles,u=p.attributes,d=p.forceUpdate;return oe.useEffect(function(){i&&d&&d()},[i]),pe(M,{children:[ce("span",{ref:s,className:"d-inline-block",children:n?oe.cloneElement(n,{onMouseOver:function(){var e;null!=n&&null!==(e=n.props)&&void 0!==e&&e.onMouseOver&&(null==n||null!==(e=n.props)&&void 0!==e&&e.onMouseOver()),l(!0)},onFocus:function(){var e;null!=n&&null!==(e=n.props)&&void 0!==e&&e.onFocus&&n.props.onFocus(),l(!0)},onMouseOut:function(){var e;null!=n&&null!==(e=n.props)&&void 0!==e&&e.onMouseOver&&n.props.onMouseOver(),l(!1)},onBlur:function(){var e;null!=n&&null!==(e=n.props)&&void 0!==e&&e.onBlur&&n.props.onBlur(),l(!1)}}):null}),i?ce("div",Cf(Cf({ref:c,className:se("np-tooltip","np-panel","np-panel--open","bg-screen",o),style:Cf({},t.popper)},u.popper),{},{children:pe("div",{className:"np-panel__content tooltip-inner",children:[r,ce("div",{ref:a,className:se("np-panel__arrow"),style:t.arrow})]})})):null]})}function Df(){return e="undefined"!=typeof window&&void 0!==window.ontouchstart,t="undefined"!=typeof navigator&&navigator.maxTouchPoints,n="undefined"!=typeof window&&window.DocumentTouch&&document instanceof window.DocumentTouch,!!(e||t||n)||(n=["android","iemobile","iphone","ipad","ipod","blackberry","bada"].map(function(e){return"(".concat(e,")")}).join("|"),n=new RegExp(n,"ig"),"undefined"!=typeof navigator&&!!navigator.userAgent.match(n));var e,t,n}function Af(e){var t=e.steps,n=e.activeStep,r=e.className,a=ws().isRTL;if(0===t.length)return null;var i=(o=0,e=t.length-1,Math.max(Math.min(e,n),o)),l=1/(t.length-1),n=i/(t.length-1),o=Math.max(n-l,0),n=Math.min(i,1)*l;return pe("div",{className:se("tw-stepper",r),children:[pe("div",{className:"progress",children:[ce("div",{className:"progress-bar-filler",style:{width:"".concat(100*o,"%")}}),ce("div",{className:"progress-bar-ending",style:{width:"".concat(100*n,"%")}})]}),ce("ul",{className:"tw-stepper-steps p-t-1 m-b-0",children:t.map(function(e,t){var n=t===i,r=e.onClick&&!n,o=r?ce("button",{type:"button",className:"btn-unstyled tw-stepper__step-label",onClick:function(){return r&&e.onClick()},children:ce("small",{children:e.label})}):ce(z,{as:"span",className:"tw-stepper__step-label small",children:e.label});return ce("li",{className:se("hidden-xs","tw-stepper__step",n&&"tw-stepper__step--active",r&&"tw-stepper__step--clickable",e.hoverLabel&&"tw-stepper__step--has-tooltip"),style:a?{right:"".concat(t*l*100,"%")}:{left:"".concat(t*l*100,"%")},children:e.hoverLabel&&!Df()?ce(xf,{position:re.Position.BOTTOM,label:e.hoverLabel,children:o}):o},t)})})]})}Af.propTypes={steps:l.default.arrayOf(l.default.shape({label:l.default.node.isRequired,onClick:l.default.func,hoverLabel:l.default.node})).isRequired,activeStep:l.default.number,className:l.default.string},Af.defaultProps={activeStep:0,className:void 0};function Nf(e){var r=e.activeLabel,t=e.className,o=(e=e.labels).length-1;return ce("div",{className:se("np-animated-label","np-text-body-large-bold",t),children:e.map(function(e,t){var n=t-1;return ce("div",{className:se("text-xs-left",{"np-animated-label--in":t===r,"np-animated-label--out":n===r&&n!=o}),children:e},n)})})}Nf.propTypes={activeLabel:l.default.number.isRequired,className:l.default.string,labels:l.default.arrayOf(l.default.node).isRequired},Nf.defaultProps={className:void 0};function Pf(e){var t=e.label,n=e.className,e=e.onClick;return pe("button",{type:"button",className:se("np-back-button","align-items-center","btn-unstyled",n),onClick:e,children:[ce(S.ArrowLeft,{size:24}),t]})}Pf.propTypes={className:l.default.string,label:l.default.element,onClick:l.default.func.isRequired};var kf={"np-flow-navigation--sm":re.Breakpoint.SMALL,"np-flow-navigation--lg":re.Breakpoint.LARGE},fr=function(e){var t=e.activeStep,n=e.avatar,r=e.logo,o=e.onClose,a=e.onGoBack,i=e.done,l=e.steps,s=oe.useRef(null),e=gs({ref:s}),u=fe(e,1)[0],e=o&&ce(Ae,{size:"lg",onClick:o}),o=u<re.Breakpoint.SMALL,n=i?null:n;return ce("div",{ref:s,className:se("np-flow-navigation d-flex align-items-center justify-content-center p-y-3",{"np-flow-navigation--border-bottom":!i}),children:ce(vf,{className:se("np-flow-navigation__content p-x-3",{"np-flow-navigation--hidden":!u,"np-flow-navigation--xs-max":o},Object.keys(kf).filter(function(e){return kf[e]<=u})),leftContent:o?ce(M,{children:a&&0<t?ce(Pf,{label:ce(Nf,{className:"m-x-1",labels:l.map(function(e){return e.label}),activeLabel:t-1}),onClick:a}):r}):r,rightContent:pe(M,{children:[n,n&&e&&ce("span",{className:"separator"}),e]}),bottomContent:!i&&ce(Af,{activeStep:t,steps:l,className:se("np-flow-navigation__stepper")}),layout:u<re.Breakpoint.LARGE?re.Layout.VERTICAL:re.Layout.HORIZONTAL})})};function Lf(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Rf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Lf(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Lf(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}fr.defaultProps={activeStep:0,avatar:void 0,logo:ce(Rt,{}),onGoBack:void 0,onClose:void 0,done:!(Pf.defaultProps={className:void 0,label:void 0})},fr.propTypes={activeStep:l.default.number,avatar:l.default.element,logo:l.default.node,onClose:l.default.func,onGoBack:l.default.func,done:l.default.bool,steps:l.default.arrayOf(l.default.shape({label:l.default.node.isRequired,onClick:l.default.func,hoverLabel:l.default.node})).isRequired};function If(e){var t=e.action,n=ae.useTheme().isModern,e={"aria-label":t["aria-label"]};return"href"in t?ce(_e,Rf(Rf({href:t.href,target:t.target,onClick:t.onClick},e),{},{children:t.text})):n?ce($s,Rf(Rf({className:"np-header__button",priority:"tertiary",size:"sm",onClick:t.onClick},e),{},{children:t.text})):ce(Te,Rf(Rf({onClick:t.onClick},e),{},{children:t.text}))}Nr=function(e){var t=e.id,n=e.src,r=e.alt,o=e.onLoad,a=e.onError,i=e.className,l=e.loading,s=e.stretch,u=e.shrink,c=oe.useRef(),e=Es({elRef:c,loading:l}),e=fe(e,1)[0],n=n,o=o;return"lazy"!==l||e||(n="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",o=null),ce("img",{ref:c,id:t,alt:r,src:n,className:se(["tw-image",{"tw-image__stretch":s,"tw-image__shrink":u},i]),onLoad:o,onError:a})};Nr.propTypes={id:l.default.string,src:l.default.string.isRequired,alt:l.default.string.isRequired,onLoad:l.default.func,onError:l.default.func,className:l.default.string,loading:l.default.oneOf(["lazy","eager"]),stretch:l.default.bool,shrink:l.default.bool},Nr.defaultProps={id:null,className:"",onLoad:function(){},onError:function(){},loading:"eager",stretch:!0,shrink:!0},(Ct=re.InfoPresentation||(re.InfoPresentation={})).POPOVER="POPOVER",Ct.MODAL="MODAL";var _f=["title","body","footer","onClose","className","open","size","scroll","position"];function Mf(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function jf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mf(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mf(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Uf(e){var t=void 0===(u=e.title)?null:u,n=e.body,r=void 0===(c=e.footer)?null:c,o=e.onClose,a=e.className,i=e.open,l=void 0===(p=e.size)?re.Size.MEDIUM:p,s=void 0===(d=e.scroll)?re.Scroll.VIEWPORT:d,u=void 0===(f=e.position)?re.Position.CENTER:f,c=b(e,_f),p=function(e){return null==a?void 0:a.split(" ").includes(e)},d=Ts().isMobile,f=p("compact"),e=p("no-divider"),p=oe.useRef(null);return d?ce(ip,{open:i,headerTitle:t,footerContent:r,position:re.Position.BOTTOM,onClose:o,children:n}):ce(Is,{open:i,scrollable:s===re.Scroll.VIEWPORT,contentPosition:u,onClose:o,children:ce(Xo,{nodeRef:p,appear:!0,in:i,classNames:{enterDone:"in"},timeout:150,unmountOnExit:!0,children:ce("div",jf(jf({ref:p,className:se("tw-modal","d-flex","fade","outline-none",a,{"align-self-center":u===re.Position.CENTER,"tw-modal--scrollable":s===re.Scroll.CONTENT})},c),{},{children:ce("div",{className:se("tw-modal-dialog","d-flex",le({},"tw-modal-".concat(l),l)),"aria-modal":!0,role:"dialog",children:pe("div",{className:se("tw-modal-content","d-flex","flex-column","justify-content-between",{"tw-modal-compact":f,"tw-modal-no-title":!t}),children:[pe("div",{className:se("tw-modal-header","d-flex","align-items-center","justify-content-between","flex-wrap",{"modal--withoutborder":!t||e}),children:[ce(_,{type:re.Typography.TITLE_BODY,className:"tw-modal-title",children:t}),ce(Ae,{onClick:o})]}),ce("div",{className:se("tw-modal-body",{"tw-modal-body--scrollable":s===re.Scroll.CONTENT}),children:n}),r&&ce("div",{className:se("tw-modal-footer","d-flex","align-items-center","flex-wrap",{"modal--withoutborder":e}),children:r})]})})}))})})}function Bf(e){var t=e.children,n=e.className,r=e.content,o=e.preferredPlacement,a=e.title;Ff({preferredPlacement:o});var i=oe.useRef(null),e=oe.useState(!1),l=(e=fe(e,2))[0],s=e[1],e=ae.useTheme().isModern;return pe("span",{className:se("np-popover",n),children:[ce("span",{ref:i,className:"d-inline-block",children:oe.cloneElement(t,{onClick:function(){var e;null!=t&&null!==(e=t.props)&&void 0!==e&&e.onClick&&t.props.onClick(),s(!l)}})}),ce(Rp,{open:l,anchorRef:i,position:qf[o]||o,arrow:!0,className:"np-popover__container",onClose:function(){return s(!1)},children:pe("div",{className:e?"np-popover__content np-text-default-body":"np-popover__content","aria-hidden":!l,role:"tooltip",children:[a&&ce(_,{type:re.Typography.TITLE_BODY,className:"m-b-1",children:a}),r]})})]})}var Ff=function(e){e=e.preferredPlacement;Ue("Popover has deprecated ".concat(e," value for the 'preferredPlacement' prop. Please use ").concat(qf[e]," instead."),qf[e])};Bf.defaultProps={className:void 0,preferredPlacement:re.Position.RIGHT,title:void 0},Bf.propTypes={children:l.default.node.isRequired,className:l.default.string,content:l.default.node.isRequired,preferredPlacement:l.default.oneOf(["top","right","bottom","left","left-top","right-top","bottom-right","bottom-left"]),title:l.default.node};var qf=(le(Je={},re.Position.BOTTOM_LEFT,re.Position.BOTTOM),le(Je,re.Position.BOTTOM_RIGHT,re.Position.BOTTOM),le(Je,re.Position.LEFT_TOP,re.Position.TOP),le(Je,re.Position.RIGHT_TOP,re.Position.TOP),Je);function zf(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Gf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?zf(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):zf(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Vf(e){var t=e.className,n=e.content,r=e.onClick,o=e.presentation,a=e.size,i=e.title,l=oe.useState(!1),s=(l=fe(l,2))[0],u=l[1],o=o===re.InfoPresentation.MODAL,a=a===re.Size.SMALL,e={"aria-label":e["aria-label"],className:"btn-unstyled",children:ce(S.QuestionMarkCircle,{size:a?16:24})};return ce("span",{className:se(t,"np-info",{"np-info__small":a,"np-info__large":!a}),children:o?pe(M,{children:[ce("button",Gf({type:"button",onClick:function(){u(!s),r&&r()}},e)),ce(Uf,{body:n,open:s,title:i,onClose:function(){return u(!1)}})]}):ce(Bf,{content:n,preferredPlacement:re.Position.BOTTOM,title:i,children:ce("button",Gf(Gf({type:"button"},e),{},{onClick:function(){r&&r()}}))})})}function Hf(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}Vf.propTypes={"aria-label":l.default.string.isRequired,className:l.default.string,content:l.default.node,onClick:l.default.func,presentation:l.default.oneOf(["MODAL","POPOVER"]),size:l.default.oneOf(["sm","lg"]),title:l.default.node},Vf.defaultProps={className:void 0,content:void 0,onClick:void 0,presentation:re.InfoPresentation.POPOVER,size:re.Size.SMALL,title:void 0};function Yf(n){var e=ae.useTheme().isModern,r="alert-".concat(Wf[n.type]||n.type);return e?pe("div",{role:"alert",id:n.id,className:se("alert alert-detach",r,n.className),children:[("error"===n.type||"negative"===n.type)&&ce(S.AlertCircle,{}),ce("div",{children:n.children})]}):(e=Eo(function(e){var t=e.children,e=e.className;return ce("div",{role:"alert",id:n.id,className:se("alert alert-detach p-x-2 p-y-1",r,e),children:t})},re.AlertArrowPosition.TOP_LEFT),ce(e,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Hf(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hf(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},n)))}var Wf=(le($e={},re.Sentiment.ERROR,"danger"),le($e,re.Sentiment.NEGATIVE,"danger"),$e);Yf.propTypes={children:l.default.node.isRequired,className:l.default.string,id:l.default.string,type:l.default.oneOf(["positive","negative","warning","neutral","success","info","error"])},Yf.defaultProps={className:void 0,id:void 0,type:re.Sentiment.NEUTRAL};function Kf(e){var n=[];return e.split("").forEach(function(e,t){"*"!==e&&n.push({index:t,symbol:e})}),n}var Zf=function(e,t){if(!e||""===e)return"";for(var n=e.toString().split(""),r=Kf(t),o=[],a=0;a<n.length;a+=1)!function(t){1===(o=r.filter(function(e){return e.index===t})).length&&n.splice(t,0,o.pop().symbol)}(a);return n.join("")},Xf=function(e,t){var n=[""];return(n=e&&0<e.length?(n=e.toString().split("")).filter(function(e){return!$f(t).includes(e)}):n).join("")},$f=function(e){return e.split("").filter(function(e){return"*"!==e})},Jf=function(t,n,e){return Kf(e).filter(function(e){return e.index>=t&&e.index<n}).length},Qf=function(t,e){e=Kf(e).filter(function(e){return e.index>=t});return th(t,e,"left")},eh=function(t,e){e=Kf(e).filter(function(e){return e.index<t}).reverse();return th(t,e,"right")},th=function(e,t,n){for(var r=e,o=0;o<t.length;o+=1){if(t[o].index!==("left"===n?r:r-1))break;r="left"===n?r+1:r-1}return o},nh=function(e,t,n,r,o){var a=t;switch(e){case"Backspace":t===n&&(a=0<(a-=eh(t,r))?a-1:0);break;case"Paste":a+=o+Jf(t,t+o,r)+Qf(t+o,r);break;case"Cut":case"Delete":break;default:a+=1+Qf(t,r)}return a};function rh(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}var oh=function(e){Ap(o,e);var r=rh(o);function o(e){var l;u(this,o),l=r.call(this,e),le(Cp(l),"getUserAction",function(e){var t=l.state,n=t.triggerEvent,r=t.triggerType,o=t.value,a=l.props.displayPattern,t=String.fromCharCode(n.which).toLowerCase();return"Paste"===r||"Cut"===r?r:(n.ctrlKey||n.metaKey)&&"z"===t?n.shiftKey?"Redo":"Undo":n.ctrlKey&&"d"===t?"Delete":void 0===n.key&&e.length<=Xf(o,a).length?"Backspace":n.key}),le(Cp(l),"resetEvent",function(){l.setState({triggerType:null,triggerEvent:null,pastedLength:0})}),le(Cp(l),"detectUndoRedo",function(e){var t=String.fromCharCode(e.which).toLowerCase();return(e.ctrlKey||e.metaKey)&&"z"===t?e.shiftKey?"Redo":"Undo":null}),le(Cp(l),"handleOnKeyDown",function(e){e.persist();var t=e.target,n=t.selectionStart,r=t.selectionEnd,o=l.state.historyNavigator,a=l.props.displayPattern,t="";"Undo"===l.detectUndoRedo(e)?(t=Zf(o.undo(),a),l.setState({value:t,triggerType:"Undo"})):"Redo"===l.detectUndoRedo(e)?(t=Zf(o.redo(),a),l.setState({value:t,triggerType:"Redo"})):l.setState({triggerEvent:e,triggerType:"KeyDown",selectionStart:n,selectionEnd:r})}),le(Cp(l),"handleOnPaste",function(e){var t=l.props.displayPattern,t=Xf(e.clipboardData.getData("Text"),t).length;l.setState({triggerType:"Paste",pastedLength:t})}),le(Cp(l),"handleOnCut",function(){l.setState({triggerType:"Cut"})}),le(Cp(l),"isKeyAllowed",function(e){return!l.props.displayPattern.split("").filter(function(e){return"*"!==e}).includes(e)}),le(Cp(l),"handleOnChange",function(e){var t=l.state,n=t.historyNavigator,r=t.triggerEvent,o=t.triggerType,a=l.props,t=a.displayPattern,a=a.onChange,e=e.target.value,e=Xf(e,t),r=null===r?"Paste":l.getUserAction(e);l.isKeyAllowed(r)&&"Undo"!==o&&"Redo"!==o&&("Backspace"!==r&&"Delete"!==r||(e=l.handleDelete(e,r)),o=Zf(e,t),n.add(e),l.handleCursorPositioning(r),t=Xf(o,t),l.setState({value:o},l.resetEvent(),a(t)))}),le(Cp(l),"handleOnBlur",function(e){var t=l.props,n=t.displayPattern,t=t.onBlur;t&&t(Xf(e.target.value,n))}),le(Cp(l),"handleOnFocus",function(e){var t=l.props,n=t.displayPattern,t=t.onFocus;t&&(l.handleOnChange(e),t(Xf(e.target.value,n)))}),le(Cp(l),"handleDelete",function(e,t){var n=l.props.displayPattern,r=l.state,o=r.selectionStart,a=r.selectionEnd,i=K(e);return o===a&&(r=o-Jf(0,o,n),e=0,a=Qf(o,n),"Backspace"===t&&(--r,a=eh(o,n)),i.splice(r,e=0<=r&&a?1:e)),i.join("")}),le(Cp(l),"handleCursorPositioning",function(e){var t=l.props.displayPattern,n=l.state,r=n.triggerEvent,o=n.selectionStart,a=n.selectionEnd,n=n.pastedLength,i=nh(e,o,a,t,n);setTimeout(function(){r&&r.target.setSelectionRange(i,i),l.setState({selectionStart:i,selectionEnd:i})},0)});var t=e.value,n=e.displayPattern,t=Xf(t,n);return l.state={value:Zf(t,n),historyNavigator:new p,prevDisplayPattern:e.displayPattern,triggerType:null,triggerEvent:null},l}return s(o,[{key:"render",value:function(){var e=this.props,e={type:e.type,inputMode:e.inputMode,className:e.className,id:e.id,name:e.name,placeholder:e.placeholder,readOnly:e.readOnly,required:e.required,minLength:e.minLength,maxLength:e.maxLength,disabled:e.disabled,autoComplete:e.autoComplete,value:this.state.value,onFocus:this.handleOnFocus,onBlur:this.handleOnBlur,onPaste:this.handleOnPaste,onKeyDown:this.handleOnKeyDown,onChange:this.handleOnChange,onCut:this.handleOnCut};return this.props.render(e)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.displayPattern,r=t.prevDisplayPattern;if(t.prevDisplayPattern===n)return null;e=t.value,t=t.historyNavigator,r=Xf(e,r);return t.reset(),{prevDisplayPattern:n,value:Zf(r,n),triggerType:null,triggerEvent:null,pastedLength:0}}}]),o}(oe.Component);function ah(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function ih(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ah(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ah(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}oh.propTypes={autoComplete:l.default.oneOf(["on","off","disabled"]),className:l.default.string,disabled:l.default.bool,id:l.default.string,maxLength:l.default.number,minLength:l.default.number,name:l.default.string,onFocus:l.default.func,onBlur:l.default.func,onChange:l.default.func.isRequired,placeholder:l.default.string,readOnly:l.default.bool,render:l.default.func.isRequired,required:l.default.bool,displayPattern:l.default.string,type:l.default.string,inputMode:l.default.string,value:l.default.string},oh.defaultProps={autoComplete:"off",className:null,disabled:!1,id:null,maxLength:null,minLength:null,name:null,placeholder:null,readOnly:!1,required:!1,displayPattern:"",type:"text",inputMode:null,value:"",onFocus:null,onBlur:null};mn=function(e){return ce(oh,ih(ih({},e),{},{render:function(e){return ce("input",ih({},e))}}))};mn.propTypes={displayPattern:l.default.string.isRequired,onChange:l.default.func.isRequired};var lh=["small","size","classNames"],sh=function(e){switch(e){case re.Size.EXTRA_LARGE:case re.Size.LARGE:return re.Size.LARGE;case re.Size.SMALL:case re.Size.EXTRA_SMALL:return re.Size.SMALL;case re.Size.MEDIUM:default:return re.Size.MEDIUM}},Pt=function(e){var t,n=e.amount,r=e.currency,o=ie.useIntl().locale;return ce(M,{children:(e=o,wu(n,r=r,e=void 0===o?"en-GB":e,t=void 0===t?{alwaysShowDecimals:!1}:t)+" "+(r||"").toUpperCase())})};Pt.propTypes={amount:l.default.number.isRequired,currency:l.default.string.isRequired};var uh=ie.defineMessages({selectPlaceholder:{id:"neptune.MoneyInput.Select.placeholder"}}),ch={BIF:0,BYR:0,CLP:0,DJF:0,GNF:0,JPY:0,KMF:0,KRW:0,MGA:0,PYG:0,RWF:0,VND:0,VUV:0,XAF:0,XOF:0,XPF:0,HUF:0,BHD:3,JOD:3,KWD:3,OMR:3,TND:3},ph=2;function dh(){return"1,234"===(1234..toLocaleString&&1234..toLocaleString(g))}function fh(e,t,n){var r=function(e){try{var t=e.replace(/_/,"-");return Intl.NumberFormat(t),t}catch(e){return"en-GB"}}(n),n=function(e){return e=(0<arguments.length&&void 0!==e?e:"").toUpperCase(),Object.prototype.hasOwnProperty.call(ch,e)?ch[e]:ph}(t),t=dh()?1e4.toLocaleString(r)[2]:",",r=(r=r,dh()?1.1.toLocaleString(r)[1]:"."),r=(e?"".concat(e):"").replace(new RegExp("\\".concat(t),"g"),"").replace(new RegExp("\\".concat(r),"g"),".").replace(/[^0-9.]/g,""),n=parseFloat(parseFloat(r).toFixed(n));return Math.abs(n)}function hh(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function mh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?hh(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):hh(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function gh(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}var Pr=l.default.shape({header:l.default.string,value:l.default.string,label:l.default.string,currency:l.default.string,note:l.default.string,searchable:l.default.string}),yh="CUSTOM_ACTION",bh=function(e){return Al(e)||Nl(e)},vh=function(e,t,n,r){return r?e||"":"number"==typeof e?wu(e,t,n):""},Oh=function(e,t,n,r){return r?r&&e.length>r?0:+e:fh(e,t,n)},wh=new Set([_u.BACKSPACE,_u.DELETE,_u.COMMA,_u.PERIOD,_u.DOWN,_u.UP,_u.LEFT,_u.RIGHT,_u.ENTER,_u.ESCAPE,_u.TAB]),Eh=new Set([h.PERIOD,h.COMMA]),gr=function(e){Ap(o,e);var n=gh(o);function o(e){var r;u(this,o),r=n.call(this,e),le(Cp(r),"isInputAllowedForKeyEvent",function(e){var t=e.keyCode,n=e.metaKey,r=e.key,e=e.ctrlKey;return Al(parseInt(r,10))||n||e||wh.has(t)||Eh.has(r)}),le(Cp(r),"handleKeyDown",function(e){r.isInputAllowedForKeyEvent(e)||e.preventDefault()}),le(Cp(r),"handlePaste",function(e){var t=(e.clipboardData||window.clipboardData).getData("text"),n=r.state.locale,t=Ml(t)?null:Oh(t,r.props.selectedCurrency.currency,n,r.props.maxLengthOverride);bh(t)&&(r.setState({formattedAmount:vh(t,r.props.selectedCurrency.currency,n,r.props.maxLengthOverride)}),r.props.onAmountChange(t)),e.preventDefault()}),le(Cp(r),"onAmountChange",function(e){e=e.target.value;r.setState({formattedAmount:e});e=Ml(e)?null:Oh(e,r.props.selectedCurrency.currency,r.state.locale,r.props.maxLengthOverride);bh(e)&&r.props.onAmountChange(e)}),le(Cp(r),"onAmountBlur",function(){r.amountFocused=!1,r.setAmount()}),le(Cp(r),"onAmountFocus",function(){r.amountFocused=!0}),le(Cp(r),"handleSelectChange",function(e){r.handleSearchChange(""),r.props.onCustomAction&&e.value===yh?r.props.onCustomAction():r.props.onCurrencyChange(e)}),le(Cp(r),"handleSearchChange",function(e){r.setState({searchQuery:e}),r.props.onSearchChange&&r.props.onSearchChange({searchQuery:e,filteredOptions:Th(r.props.currencies,e)})}),le(Cp(r),"style",function(e){return r.props.classNames[e]||e});var t=r.props.intl.locale;return r.formatMessage=r.props.intl.formatMessage,r.state={searchQuery:"",formattedAmount:vh(e.amount,e.selectedCurrency.currency,t,e.maxLengthOverride),locale:t},r}return s(o,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t,n;this.setState({locale:null==e||null===(t=e.intl)||void 0===t?void 0:t.locale}),this.amountFocused||this.setState({formattedAmount:vh(e.amount,e.selectedCurrency.currency,null==e||null===(n=e.intl)||void 0===n?void 0:n.locale,e.maxLengthOverride)})}},{key:"getSelectOptions",value:function(){var e=K(Th(this.props.currencies,this.state.searchQuery));return this.props.onCustomAction&&e.push({value:yh,label:this.props.customActionLabel}),e}},{key:"setAmount",value:function(){var n=this;this.setState(function(e){var t=Oh(e.formattedAmount,n.props.selectedCurrency.currency,e.locale,n.props.maxLengthOverride);return bh(t)?{formattedAmount:vh(t,n.props.selectedCurrency.currency,e.locale,n.props.maxLengthOverride)}:{formattedAmount:e.formattedAmount}})}},{key:"render",value:function(){var e=this.props,t=e.selectedCurrency,n=e.onCurrencyChange,r=e.size,o=e.addon,a=e.id,i=e.selectProps,l=e.maxLengthOverride,s=this.getSelectOptions(),e=!this.state.searchQuery&&(1===s.length&&s[0].currency===t.currency||!n),n=!this.props.onAmountChange;return pe("div",{className:se(this.style("tw-money-input"),this.style("input-group"),this.style("input-group-".concat(r))),children:[ce("input",{id:a,value:this.state.formattedAmount,type:"text",inputMode:"decimal",className:se(this.style("form-control")),disabled:n,maxLength:l,placeholder:vh(this.props.placeholder,this.props.selectedCurrency.currency,this.state.locale,this.props.maxLengthOverride),autoComplete:"off",onKeyDown:this.handleKeyDown,onChange:this.onAmountChange,onFocus:this.onAmountFocus,onBlur:this.onAmountBlur,onPaste:this.handlePaste}),o&&ce("span",{className:se(this.style("input-group-addon"),this.style("input-".concat(r)),n?this.style("disabled"):""),children:o}),e?pe("div",{className:se(this.style("input-group-addon"),this.style("input-".concat(r)),this.style("tw-money-input__fixed-currency"),n?this.style("disabled"):""),children:[("lg"===r||"md"===r)&&pe(M,{children:[ce("i",{className:se(this.style("tw-money-input__keyline"))}),ce("i",{className:se(this.style("currency-flag"),this.style("currency-flag-".concat(t.currency.toLowerCase())),this.style("m-r-2"))})]}),ce(_,{as:"span",type:re.Typography.TITLE_SUBSECTION,className:"lg"===r?this.style("m-r-1"):"",children:t.currency.toUpperCase()})]}):ce("div",{className:se(this.style("input-group-btn"),this.style("amount-currency-select-btn")),children:ce(vp,mh({id:a?"".concat(a,"-select"):void 0,classNames:this.props.classNames,options:s,selected:mh(mh({},t),{},{label:ce(_,{as:"span",type:re.Typography.TITLE_SUBSECTION,className:"tw-money-input__text",children:t.label}),note:null}),placeholder:this.formatMessage(uh.selectPlaceholder),searchPlaceholder:this.props.searchPlaceholder,searchValue:this.state.searchQuery,size:r,required:!0,dropdownWidth:re.Size.LARGE,inverse:!0,onChange:this.handleSelectChange,onSearchChange:this.handleSearchChange},i))})]})}}]),o}(oe.Component);function Th(e,n){if(!n)return e;var t,r,o,e=(t=[],r=[],e.forEach(function(e){e.value&&!r.includes(e.value)&&(t.push(e),r.push(e.value))}),t.filter(function(e){return t=n,!!(e=e).value&&(Sh(e.label,t)||Sh(e.searchable,t)||Sh(e.note,t));var t}));return o=n,e.sort(function(e,t){e=Sh(e.label,o),t=Sh(t.label,o);return e&&t?0:e?-1:t?1:0})}function Sh(e,t){return e&&e.toLowerCase().includes(t.toLowerCase())}gr.propTypes={id:l.default.string,currencies:l.default.arrayOf(Pr).isRequired,selectedCurrency:Pr.isRequired,onCurrencyChange:l.default.func,placeholder:l.default.number,amount:l.default.number,size:l.default.oneOf(["sm","md","lg"]),onAmountChange:l.default.func,addon:l.default.node,searchPlaceholder:l.default.string,onSearchChange:l.default.func,customActionLabel:l.default.node,onCustomAction:l.default.func,classNames:l.default.objectOf(l.default.string),selectProps:l.default.object,maxLengthOverride:l.default.number},gr.defaultProps={id:null,size:re.Size.LARGE,addon:null,searchPlaceholder:"",onSearchChange:void 0,onCurrencyChange:null,placeholder:null,amount:null,onAmountChange:null,customActionLabel:"",onCustomAction:null,classNames:{},selectProps:{},maxLengthOverride:null};ls=ie.injectIntl(gr),Wd=function(e){e=e.children;return ce("ul",{className:"np-navigation-options-list",children:oe.Children.map(e,function(e){return ce("li",{className:"np-navigation-options-list__item",children:e},e.key)})})};Wd.propTypes={children:l.default.node.isRequired};et=function(e){var t=e.media,n=e.mediaName,r=e.title,o=e.link,a=e.href,i=e.onClick,l=e.onDismiss,s=e.id,u=e.className,e=ae.useTheme().isModern;return pe("div",{className:se("wds-nudge",u),id:s,children:[e?!!n&&ce("div",{className:"wds-nudge-media",children:ce(c.Illustration,{name:n,className:se("wds-nudge-media-".concat(n)),size:"small",disablePadding:!0})}):ce("div",{className:"wds-nudge-media",children:t}),pe("div",{className:"wds-nudge-container",children:[pe("div",{className:"wds-nudge-content",children:[e?ce(z,{type:re.Typography.BODY_LARGE,className:se("wds-nudge-body"),children:r}):ce("div",{className:"wds-nudge-title",children:r}),o&&ce(_e,{href:a,type:re.Typography.LINK_LARGE,className:"wds-nudge-link",onClick:i,children:o})]}),l&&ce(Ae,{className:"wds-nudge-control",size:"sm",onClick:l})]})]})};et.propTypes={media:l.default.node,mediaName:l.default.oneOf(["globe","lock","wallet","gear","invite-letter"]),title:l.default.node.isRequired,link:l.default.node,href:l.default.string,onClick:l.default.func,onDismiss:l.default.func,id:l.default.string,className:l.default.string},et.Media={GLOBE:"globe",LOCK:"lock",WALLET:"wallet",GEAR:"gear","INVITE-LETTER":"invite-letter"},et.defaultProps={id:null,className:null,onClick:void 0,onDismiss:void 0};ft=function(e){var t=e.avatar,n=e.onClose,e=e.logo,n=n&&ce(Ae,{onClick:n});return ce("div",{className:"np-overlay-header d-flex justify-content-center",children:ce(vf,{className:"np-overlay-header__content p-a-3",leftContent:e,rightContent:pe(M,{children:[t,t&&n&&ce("span",{className:"separator"}),n]})})})};ft.defaultProps={avatar:null,logo:ce(Rt,{}),onClose:null},ft.propTypes={avatar:l.default.element,logo:l.default.node,onClose:l.default.func};function Ch(e){return e.reduce(function(e,t){return e.phone.length>t.phone.length?e:t})}function xh(t){var e;return(e=t&&2===t.length?Lh.filter(function(e){return t.toUpperCase()===e.iso2}):e)&&0<e.length?Ch(e):null}function Dh(e){return/^\+[\d-\s]+$/.test(e)&&e.match(/\d+/g)&&4<=e.match(/\d+/g).join("").length}function Ah(e){var t,n="",r="",o="",a=(a=null,(a=(t=e)&&1<t.length?Lh.filter(function(e){return 0===t.indexOf(e.phone)}):a)&&0<a.length?Ch(a):null),o=a?(n=a.phone,r=e.slice(a.phone.length),a.phoneFormat||""):(n="",r=e.slice(1),"");return{prefix:n,suffix:r,format:o}}function Nh(e,n){return e.filter(function(e){return t=n,Rh((e=e).iso3,t)||Rh(e.iso2,t)||Rh(e.name,t)||Rh(e.phone,t);var t})}function Ph(e){return e.match(_h)&&e.match(_h).join("")||""}function kh(e,n){return K(e).sort(function(e,t){return e[n].localeCompare(t[n])})}var Lh=[{name:"Afghanistan",iso2:"AF",iso3:"AFG",phone:"+93"},{name:"Åland Islands",iso2:"AX",iso3:"ALA",phone:"+358"},{name:"Albania",iso2:"AL",iso3:"ALB",phone:"+355"},{name:"Algeria",iso2:"DZ",iso3:"DZA",phone:"+213"},{name:"American Samoa",iso2:"AS",iso3:"ASM",phone:"+1684"},{name:"Andorra",iso2:"AD",iso3:"AND",phone:"+376"},{name:"Angola",iso2:"AO",iso3:"AGO",phone:"+244"},{name:"Anguilla",iso2:"AI",iso3:"AIA",phone:"+1264"},{name:"Antarctica",iso2:"AQ",iso3:"ATA",phone:"+672"},{name:"Antigua",iso2:"AG",iso3:"ATG",phone:"+1268"},{name:"Argentina",iso2:"AR",iso3:"ARG",phone:"+54"},{name:"Armenia",iso2:"AM",iso3:"ARM",phone:"+374"},{name:"Aruba",iso2:"AW",iso3:"ABW",phone:"+297"},{name:"Ascension Island",iso2:"SH",iso3:"SHN",phone:"+247"},{name:"Australia",iso2:"AU",iso3:"AUS",phone:"+61"},{name:"Australian Antarctic Territory",iso2:"AQ",iso3:"ATA",phone:"+672"},{name:"Austria",iso2:"AT",iso3:"AUT",phone:"+43"},{name:"Azerbaijan",iso2:"AZ",iso3:"AZE",phone:"+994"},{name:"Bahamas",iso2:"BS",iso3:"BHS",phone:"+1242"},{name:"Bahrain",iso2:"BH",iso3:"BHR",phone:"+973"},{name:"Bangladesh",iso2:"BD",iso3:"BGD",phone:"+880"},{name:"Barbados",iso2:"BB",iso3:"BRB",phone:"+1246"},{name:"Belarus",iso2:"BY",iso3:"BLR",phone:"+375"},{name:"Belgium",iso2:"BE",iso3:"BEL",phone:"+32"},{name:"Belize",iso2:"BZ",iso3:"BLZ",phone:"+501"},{name:"Benin",iso2:"BJ",iso3:"BEN",phone:"+229"},{name:"Bermuda",iso2:"BM",iso3:"BMU",phone:"+1441"},{name:"Bhutan",iso2:"BT",iso3:"BTN",phone:"+975"},{name:"Bolivia",iso2:"BO",iso3:"BOL",phone:"+591"},{name:"Bonaire, Sint Eustatius and Saba",iso2:"BQ",iso3:"BES",phone:"+599"},{name:"Bosnia and Herzegovina",iso2:"BA",iso3:"BIH",phone:"+387"},{name:"Botswana",iso2:"BW",iso3:"BWA",phone:"+267"},{name:"Brazil",iso2:"BR",iso3:"BRA",phone:"+55"},{name:"British Virgin Islands",iso2:"VG",iso3:"VGB",phone:"+1284"},{name:"Brunei",iso2:"BN",iso3:"BRN",phone:"+673"},{name:"Bulgaria",iso2:"BG",iso3:"BGR",phone:"+359"},{name:"Burkina Faso",iso2:"BF",iso3:"BFA",phone:"+226"},{name:"Burundi",iso2:"BI",iso3:"BDI",phone:"+257"},{name:"Cambodia",iso2:"KH",iso3:"KHM",phone:"+855"},{name:"Cameroon",iso2:"CM",iso3:"CMR",phone:"+237"},{name:"Canada",iso2:"CA",iso3:"CAN",phone:"+1"},{name:"Cape Verde",iso2:"CV",iso3:"CPV",phone:"+238"},{name:"Cayman Islands",iso2:"KY",iso3:"CYM",phone:"+1345"},{name:"Central African Republic",iso2:"CF",iso3:"CAF",phone:"+236"},{name:"Chad",iso2:"TD",iso3:"TCD",phone:"+235"},{name:"Chile",iso2:"CL",iso3:"CHL",phone:"+56"},{name:"China",iso2:"CN",iso3:"CHN",phone:"+86"},{name:"Christmas Island",iso2:"CX",iso3:"CXR",phone:"+61"},{name:"Cocos (Keeling) Islands",iso2:"CC",iso3:"CCK",phone:"+61"},{name:"Colombia",iso2:"CO",iso3:"COL",phone:"+57"},{name:"Comoros",iso2:"KM",iso3:"COM",phone:"+269"},{name:"Congo",iso2:"CG",iso3:"COG",phone:"+242"},{name:"Cook Islands",iso2:"CK",iso3:"COK",phone:"+682"},{name:"Costa Rica",iso2:"CR",iso3:"CRI",phone:"+506"},{name:"Croatia",iso2:"HR",iso3:"HRV",phone:"+385"},{name:"Cuba",iso2:"CU",iso3:"CUB",phone:"+53"},{name:"Curaçao",iso2:"CW",iso3:"CUW",phone:"+599"},{name:"Cyprus",iso2:"CY",iso3:"CYP",phone:"+357"},{name:"Czech Republic",iso2:"CZ",iso3:"CZE",phone:"+420"},{name:"Democratic Republic of the Congo",iso2:"CD",iso3:"COD",phone:"+243"},{name:"Denmark",iso2:"DK",iso3:"DNK",phone:"+45"},{name:"Diego Garcia",iso2:"IO",iso3:"IOT",phone:"+246"},{name:"Djibouti",iso2:"DJ",iso3:"DJI",phone:"+253"},{name:"Dominica",iso2:"DM",iso3:"DMA",phone:"+1767"},{name:"Dominican Republic",iso2:"DO",iso3:"DOM",phone:"+1809"},{name:"Dominican Republic",iso2:"DO",iso3:"DOM",phone:"+1829"},{name:"Dominican Republic",iso2:"DO",iso3:"DOM",phone:"+1849"},{name:"East Timor",iso2:"TL",iso3:"TLS",phone:"+670"},{name:"Ecuador",iso2:"EC",iso3:"ECU",phone:"+593"},{name:"Egypt",iso2:"EG",iso3:"EGY",phone:"+20"},{name:"El Salvador",iso2:"SV",iso3:"SLV",phone:"+503"},{name:"Equatorial Guinea",iso2:"GQ",iso3:"GNQ",phone:"+240"},{name:"Eritrea",iso2:"ER",iso3:"ERI",phone:"+291"},{name:"Estonia",iso2:"EE",iso3:"EST",phone:"+372"},{name:"Ethiopia",iso2:"ET",iso3:"ETH",phone:"+251"},{name:"Falkland Islands",iso2:"FK",iso3:"FLK",phone:"+500"},{name:"Faroe Islands",iso2:"FO",iso3:"FRO",phone:"+298"},{name:"Fiji",iso2:"FJ",iso3:"FJI",phone:"+679"},{name:"Finland",iso2:"FI",iso3:"FIN",phone:"+358"},{name:"France",iso2:"FR",iso3:"FRA",phone:"+33"},{name:"French Guiana",iso2:"GF",iso3:"GUF",phone:"+594"},{name:"French Polynesia",iso2:"PF",iso3:"PYF",phone:"+689"},{name:"French Southern Territories",iso2:"TF",iso3:"ATF",phone:"+262"},{name:"Gabon",iso2:"GA",iso3:"GAB",phone:"+241"},{name:"Gambia",iso2:"GM",iso3:"GMB",phone:"+220"},{name:"Georgia",iso2:"GE",iso3:"GEO",phone:"+995"},{name:"Germany",iso2:"DE",iso3:"DEU",phone:"+49"},{name:"Ghana",iso2:"GH",iso3:"GHA",phone:"+233"},{name:"Gibraltar",iso2:"GI",iso3:"GIB",phone:"+350"},{name:"Greece",iso2:"GR",iso3:"GRC",phone:"+30"},{name:"Greenland",iso2:"GL",iso3:"GRL",phone:"+299"},{name:"Grenada",iso2:"GD",iso3:"GRD",phone:"+1473"},{name:"Guadeloupe",iso2:"GP",iso3:"GLP",phone:"+596"},{name:"Guadeloupe",iso2:"GP",iso3:"GLP",phone:"+590"},{name:"Guam",iso2:"GU",iso3:"GUM",phone:"+1671"},{name:"Guatemala",iso2:"GT",iso3:"GTM",phone:"+502"},{name:"Guernsey",iso2:"GG",iso3:"GGY",phone:"+44",phoneFormat:"**** *** ***"},{name:"Guinea",iso2:"GN",iso3:"GIN",phone:"+224"},{name:"Guinea-Bissau",iso2:"GW",iso3:"GNB",phone:"+245"},{name:"Guyana",iso2:"GY",iso3:"GUY",phone:"+592"},{name:"Haiti",iso2:"HT",iso3:"HTI",phone:"+509"},{name:"Holy See",iso2:"VA",iso3:"VAT",phone:"+379"},{name:"Honduras",iso2:"HN",iso3:"HND",phone:"+504"},{name:"Hong Kong",iso2:"HK",iso3:"HKG",phone:"+852"},{name:"Hungary",iso2:"HU",iso3:"HUN",phone:"+36"},{name:"Iceland",iso2:"IS",iso3:"ISL",phone:"+354"},{name:"India",iso2:"IN",iso3:"IND",phone:"+91"},{name:"Indonesia",iso2:"ID",iso3:"IDN",phone:"+62"},{name:"Iran",iso2:"IR",iso3:"IRN",phone:"+98"},{name:"Iraq",iso2:"IQ",iso3:"IRQ",phone:"+964"},{name:"Ireland",iso2:"IE",iso3:"IRL",phone:"+353"},{name:"Isle of Man",iso2:"IM",iso3:"IMN",phone:"+44"},{name:"Israel",iso2:"IL",iso3:"ISR",phone:"+972"},{name:"Italy",iso2:"IT",iso3:"ITA",phone:"+39"},{name:"Ivory Coast",iso2:"CI",iso3:"CIV",phone:"+225"},{name:"Jamaica",iso2:"JM",iso3:"JAM",phone:"+1876"},{name:"Japan",iso2:"JP",iso3:"JPN",phone:"+81"},{name:"Jersey",iso2:"JE",iso3:"JEY",phone:"+44"},{name:"Jordan",iso2:"JO",iso3:"JOR",phone:"+962"},{name:"Kazakhstan",iso2:"KZ",iso3:"KAZ",phone:"+7"},{name:"Kenya",iso2:"KE",iso3:"KEN",phone:"+254"},{name:"Kiribati",iso2:"KI",iso3:"KIR",phone:"+686"},{name:"Kosovo",iso2:"XK",iso3:"RKS",phone:"+383"},{name:"Kuwait",iso2:"KW",iso3:"KWT",phone:"+965"},{name:"Kyrgyzstan",iso2:"KG",iso3:"KGZ",phone:"+996"},{name:"Laos",iso2:"LA",iso3:"LAO",phone:"+856"},{name:"Latvia",iso2:"LV",iso3:"LVA",phone:"+371"},{name:"Lebanon",iso2:"LB",iso3:"LBN",phone:"+961"},{name:"Lesotho",iso2:"LS",iso3:"LSO",phone:"+266"},{name:"Liberia",iso2:"LR",iso3:"LBR",phone:"+231"},{name:"Libya",iso2:"LY",iso3:"LBY",phone:"+218"},{name:"Liechtenstein",iso2:"LI",iso3:"LIE",phone:"+423"},{name:"Lithuania",iso2:"LT",iso3:"LTU",phone:"+370"},{name:"Luxembourg",iso2:"LU",iso3:"LUX",phone:"+352"},{name:"Macau",iso2:"MO",iso3:"MAC",phone:"+853"},{name:"Macedonia",iso2:"MK",iso3:"MKD",phone:"+389"},{name:"Madagascar",iso2:"MG",iso3:"MDG",phone:"+261"},{name:"Malawi",iso2:"MW",iso3:"MWI",phone:"+265"},{name:"Malaysia",iso2:"MY",iso3:"MYS",phone:"+60"},{name:"Maldives",iso2:"MV",iso3:"MDV",phone:"+960"},{name:"Mali",iso2:"ML",iso3:"MLI",phone:"+223"},{name:"Malta",iso2:"MT",iso3:"MLT",phone:"+356"},{name:"Marshall Islands",iso2:"MH",iso3:"MHL",phone:"+692"},{name:"Martinique",iso2:"MQ",iso3:"MTQ",phone:"+596"},{name:"Mauritania",iso2:"MR",iso3:"MRT",phone:"+222"},{name:"Mauritius",iso2:"MU",iso3:"MUS",phone:"+230"},{name:"Mayotte",iso2:"YT",iso3:"MYT",phone:"+262"},{name:"Mexico",iso2:"MX",iso3:"MEX",phone:"+52"},{name:"Micronesia",iso2:"FM",iso3:"FSM",phone:"+691"},{name:"Moldova",iso2:"MD",iso3:"MDA",phone:"+373"},{name:"Monaco",iso2:"MC",iso3:"MCO",phone:"+377"},{name:"Mongolia",iso2:"MN",iso3:"MNG",phone:"+976"},{name:"Montenegro",iso2:"ME",iso3:"MNE",phone:"+382"},{name:"Montserrat",iso2:"MS",iso3:"MSR",phone:"+1664"},{name:"Morocco",iso2:"MA",iso3:"MAR",phone:"+212"},{name:"Mozambique",iso2:"MZ",iso3:"MOZ",phone:"+258"},{name:"Myanmar",iso2:"MM",iso3:"MMR",phone:"+95"},{name:"Namibia",iso2:"NA",iso3:"NAM",phone:"+264"},{name:"Nauru",iso2:"NR",iso3:"NRU",phone:"+674"},{name:"Nepal",iso2:"NP",iso3:"NPL",phone:"+977"},{name:"Netherlands",iso2:"NL",iso3:"NLD",phone:"+31"},{name:"Netherlands Antilles",iso2:"AN",iso3:"ANT",phone:"+599"},{name:"New Caledonia",iso2:"NC",iso3:"NCL",phone:"+687"},{name:"New Zealand",iso2:"NZ",iso3:"NZL",phone:"+64"},{name:"Nicaragua",iso2:"NI",iso3:"NIC",phone:"+505"},{name:"Niger",iso2:"NE",iso3:"NER",phone:"+227"},{name:"Nigeria",iso2:"NG",iso3:"NGA",phone:"+234"},{name:"Niue",iso2:"NU",iso3:"NIU",phone:"+683"},{name:"Norfolk Island",iso2:"NF",iso3:"NFK",phone:"+672"},{name:"North Korea",iso2:"KP",iso3:"PRK",phone:"+850"},{name:"Northern Mariana Islands",iso2:"MP",iso3:"MNP",phone:"+1670"},{name:"Norway",iso2:"NO",iso3:"NOR",phone:"+47"},{name:"Oman",iso2:"OM",iso3:"OMN",phone:"+968"},{name:"Pakistan",iso2:"PK",iso3:"PAK",phone:"+92"},{name:"Palau",iso2:"PW",iso3:"PLW",phone:"+680"},{name:"Palestine",iso2:"PS",iso3:"PSE",phone:"+970"},{name:"Panama",iso2:"PA",iso3:"PAN",phone:"+507"},{name:"Papua New Guinea",iso2:"PG",iso3:"PNG",phone:"+675"},{name:"Paraguay",iso2:"PY",iso3:"PRY",phone:"+595"},{name:"Peru",iso2:"PE",iso3:"PER",phone:"+51"},{name:"Philippines",iso2:"PH",iso3:"PHL",phone:"+63"},{name:"Pitcairn",iso2:"PN",iso3:"PCN",phone:"+64"},{name:"Poland",iso2:"PL",iso3:"POL",phone:"+48"},{name:"Portugal",iso2:"PT",iso3:"PRT",phone:"+351"},{name:"Puerto Rico",iso2:"PR",iso3:"PRI",phone:"+1939"},{name:"Qatar",iso2:"QA",iso3:"QAT",phone:"+974"},{name:"Reunion Island",iso2:"RE",iso3:"REU",phone:"+262"},{name:"Romania",iso2:"RO",iso3:"ROU",phone:"+40"},{name:"Russia",iso2:"RU",iso3:"RUS",phone:"+7"},{name:"Rwanda",iso2:"RW",iso3:"RWA",phone:"+250"},{name:"Saint Barthélemy",iso2:"BL",iso3:"BLM",phone:"+590"},{name:"Saint Helena",iso2:"SH",iso3:"SHN",phone:"+290"},{name:"Saint Kitts and Nevis",iso2:"KN",iso3:"KNA",phone:"+1869"},{name:"Saint Lucia",iso2:"LC",iso3:"LCA",phone:"+1758"},{name:"Saint Martin (French part)",iso2:"MF",iso3:"MAF",phone:"+590"},{name:"Saint Pierre and Miquelon",iso2:"PM",iso3:"SPM",phone:"+508"},{name:"Saint Vincent and the Grenadines",iso2:"VC",iso3:"VCT",phone:"+1784"},{name:"San Marino",iso2:"SM",iso3:"SMR",phone:"+378"},{name:"Sao Tome and Principe",iso2:"ST",iso3:"STP",phone:"+239"},{name:"Saudi Arabia",iso2:"SA",iso3:"SAU",phone:"+966"},{name:"Senegal",iso2:"SN",iso3:"SEN",phone:"+221"},{name:"Serbia",iso2:"RS",iso3:"SRB",phone:"+381"},{name:"Seychelles",iso2:"SC",iso3:"SYC",phone:"+248"},{name:"Sierra Leone",iso2:"SL",iso3:"SLE",phone:"+232"},{name:"Singapore",iso2:"SG",iso3:"SGP",phone:"+65"},{name:"Sint Maarten",iso2:"SX",iso3:"SXM",phone:"+1721"},{name:"Slovakia",iso2:"SK",iso3:"SVK",phone:"+421"},{name:"Slovenia",iso2:"SI",iso3:"SVN",phone:"+386"},{name:"Solomon Islands",iso2:"SB",iso3:"SLB",phone:"+677"},{name:"Somalia",iso2:"SO",iso3:"SOM",phone:"+252"},{name:"South Africa",iso2:"ZA",iso3:"ZAF",phone:"+27"},{name:"South Georgia and the South Sandwich Islands",iso2:"GS",iso3:"SGS",phone:"+500"},{name:"South Korea",iso2:"KR",iso3:"KOR",phone:"+82"},{name:"South Sudan",iso2:"SS",iso3:"SSD",phone:"+211"},{name:"Spain",iso2:"ES",iso3:"ESP",phone:"+34"},{name:"Sri Lanka",iso2:"LK",iso3:"LKA",phone:"+94"},{name:"Sudan",iso2:"SD",iso3:"SDN",phone:"+249"},{name:"Suriname",iso2:"SR",iso3:"SUR",phone:"+597"},{name:"Svalbard and Jan Mayen",iso2:"SJ",iso3:"SJM",phone:"+47"},{name:"Swaziland",iso2:"SZ",iso3:"SWZ",phone:"+268"},{name:"Sweden",iso2:"SE",iso3:"SWE",phone:"+46"},{name:"Switzerland",iso2:"CH",iso3:"CHE",phone:"+41"},{name:"Syria",iso2:"SY",iso3:"SYR",phone:"+963"},{name:"Taiwan",iso2:"TW",iso3:"TWN",phone:"+886"},{name:"Tajikistan",iso2:"TJ",iso3:"TJK",phone:"+992"},{name:"Tanzania",iso2:"TZ",iso3:"TZA",phone:"+255"},{name:"Thailand",iso2:"TH",iso3:"THA",phone:"+66"},{name:"Togo",iso2:"TG",iso3:"TGO",phone:"+228"},{name:"Tokelau",iso2:"TK",iso3:"TKL",phone:"+690"},{name:"Tonga",iso2:"TO",iso3:"TON",phone:"+676"},{name:"Trinidad and Tobago",iso2:"TT",iso3:"TTO",phone:"+1868"},{name:"Tunisia",iso2:"TN",iso3:"TUN",phone:"+216"},{name:"Turkey",iso2:"TR",iso3:"TUR",phone:"+90"},{name:"Turkmenistan",iso2:"TM",iso3:"TKM",phone:"+993"},{name:"Turks and Caicos",iso2:"TC",iso3:"TCA",phone:"+1649"},{name:"Tuvalu",iso2:"TV",iso3:"TUV",phone:"+688"},{name:"Uganda",iso2:"UG",iso3:"UGA",phone:"+256"},{name:"Ukraine",iso2:"UA",iso3:"UKR",phone:"+380"},{name:"United Arab Emirates",iso2:"AE",iso3:"ARE",phone:"+971"},{name:"United Kingdom",iso2:"GB",iso3:"GBR",phone:"+44",phoneFormat:"**** *** ***"},{name:"United States Minor Outlying Islands",iso2:"UM",iso3:"UMI",phone:"+1"},{name:"United States of America",iso2:"US",iso3:"USA",phone:"+1"},{name:"Uruguay",iso2:"UY",iso3:"URY",phone:"+598"},{name:"Uzbekistan",iso2:"UZ",iso3:"UZB",phone:"+998"},{name:"Vanuatu",iso2:"VU",iso3:"VUT",phone:"+678"},{name:"Venezuela",iso2:"VE",iso3:"VEN",phone:"+58"},{name:"Vietnam",iso2:"VN",iso3:"VNM",phone:"+84"},{name:"Virgin Islands (U.S.)",iso2:"VI",iso3:"VIR",phone:"+1340"},{name:"Wallis and Futuna",iso2:"WF",iso3:"WLF",phone:"+681"},{name:"Western Sahara",iso2:"EH",iso3:"ESH",phone:"+212"},{name:"Western Samoa",iso2:"WS",iso3:"WSM",phone:"+685"},{name:"Yemen",iso2:"YE",iso3:"YEM",phone:"+967"},{name:"Zambia",iso2:"ZM",iso3:"ZMB",phone:"+260"},{name:"Zimbabwe",iso2:"ZW",iso3:"ZWE",phone:"+263"}],Rh=function(e,t){return Dl(e)?0<e.filter(function(e){return 0===Ih(e).indexOf(Ih(t))}).length:0===Ih(e).indexOf(Ih(t))},Ih=function(e){return e.toLowerCase().replace("+","")},_h=/^$|^(\+)|([\d]+)/g;function Mh(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function jh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mh(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mh(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Uh(e){return e=e.reduce(function(e,t){var n,r=t.name,o=t.iso2,a=t.iso3,i=t.phone;return e[i]?(n=e[i],e[i]=jh(jh({},n),{},{name:Dl(n.name)?[].concat(K(n.name),[r]):[n.name,r],iso2:Dl(n.iso2)?[].concat(K(n.iso2),[o]):[n.iso2,o],iso3:Dl(n.iso3)?[].concat(K(n.iso3),[a]):[n.iso3,a]})):e[i]=t,e},{}),Object.values(e)}function Bh(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}var Fh=/^$|^[\d-\s]+$/,e=function(e){var t,n=e.id,r=e.onChange,o=e.searchPlaceholder,a=e.disabled,i=e.required,l=e.size,s=e.placeholder,u=e.onFocus,c=e.onBlur,p=e.countryCode,d=e.selectProps,f=ie.useIntl().locale,h=oe.useState((t=(t=e.initialValue)?Ph(t):null)&&Dh(t)?Ah(t):{prefix:function(e,t){e=xh(t)||xh(C(e))||xh(e);return(null==e?void 0:e.phone)||"+44"}(f,p),suffix:""}),h=fe(h,2),m=h[0],g=h[1],h=oe.useState(null),h=fe(h,2),y=h[0],b=h[1],h=oe.useState(""),h=fe(h,2),v=h[0],O=h[1],w=Uh(kh(Lh,"iso3")),E=Uh(kh(Lh,"phone")),T=Nh(/^\+?[\d-\s]+$/.test(v)?E:w,v).map(function(e){var t=e.phone,n=e.iso3,r=e.iso2,e="";return n?e=Dl(n)?n.join(", "):n:r&&(e=Dl(r)?r.join(", "):r),{value:t,label:t,note:e}});return oe.useEffect(function(){if(null===y)return b(m);var e=m.prefix+m.suffix;e!==y.prefix+y.suffix&&(e=Dh(e)?Ph(e):null,r(e),b(m))},[r,y,m]),pe("div",{className:"tw-telephone",children:[ce("div",{className:"tw-telephone__country-select",children:ce(vp,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Bh(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bh(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({id:n?"".concat(n,"-select"):void 0,options:T,selected:{value:m.prefix,label:m.prefix},placeholder:"Select an option...",searchPlaceholder:o,dropdownWidth:re.Size.SMALL,searchValue:v,required:i,disabled:a,size:l,onChange:function(e){e=e.value;O(""),g({prefix:e,suffix:m.suffix})},onSearchChange:function(e){return O(e)}},d))}),ce("div",{className:"tw-telephone__number-input",children:ce("div",{className:"input-group input-group-".concat(l),children:ce("input",{id:n,name:"phoneNumber",inputMode:"numeric",value:m.suffix,type:"text",className:"form-control",disabled:a,required:i,placeholder:s,onChange:function(e){e=e.target.value,e=void 0===e?"":e;Fh.test(e)&&g({prefix:m.prefix,suffix:e})},onPaste:function(e){var t;e.nativeEvent.clipboardData&&(e=(e.nativeEvent.clipboardData.getData("text/plain")||"").replace(/(\s|-)+/g,""),e=Ah(e),t=e.prefix,e=e.suffix,T.find(function(e){return e.value===t})&&Fh.test(e)&&g({prefix:t,suffix:e}))},onFocus:u,onBlur:c})})})]})};function qh(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}e.propTypes={id:l.default.string,required:l.default.bool,disabled:l.default.bool,initialValue:l.default.string,onChange:l.default.func.isRequired,onFocus:l.default.func,onBlur:l.default.func,countryCode:l.default.string,searchPlaceholder:l.default.string,size:l.default.oneOf(["sm","md","lg"]),placeholder:l.default.string,selectProps:l.default.object},e.defaultProps={id:null,required:!1,disabled:!1,initialValue:null,onFocus:function(){},onBlur:function(){},countryCode:null,searchPlaceholder:"Prefix",size:re.Size.MEDIUM,placeholder:"",selectProps:{}};var zh={xs:11,sm:22,xl:61},Gh=1500,Vh=function(e){Ap(r,e);var t=qh(r);function r(e){var n;return u(this,r),n=t.call(this,e),le(Cp(n),"runCallBack",function(e){var t=n.props.onAnimationCompleted;t&&(n.timeouts=setTimeout(function(){t(e)},Gh))}),n.state={status:e.status,size:e.size},n.interval=null,n.timeout=null,n}return s(r,[{key:"componentDidMount",value:function(){var o=this;this.interval=setInterval(function(){var e=o.state.status,t=o.state.size,n=o.props.status,r=o.props.size;e!==n&&o.setState({status:n},o.runCallBack(n)),t!==r&&o.setState({size:r})},Gh)}},{key:"shouldComponentUpdate",value:function(e,t){var n=e.status===t.status,t=e.size===t.size;return n&&t}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval),clearTimeout(this.timeout)}},{key:"render",value:function(){var e=this.props,t=e.className,n=e["data-testid"],r=this.state,e=r.size,r=r.status,t=se("process process-".concat(e),t,(le(t={},"process-danger",r===re.Status.FAILED),le(t,"process-stopped",r===re.Status.HIDDEN),le(t,"process-success",r===re.Status.SUCCEEDED),t));return pe("span",{className:t,"data-testid":n,children:[pe("span",{className:"process-icon-container",children:[ce("span",{className:"process-icon-horizontal"}),ce("span",{className:"process-icon-vertical"})]}),ce("svg",{xmlns:"http://www.w3.org/2000/svg",children:ce("circle",{className:"process-circle",cx:"50%",cy:"50%",r:zh[this.state.size],fillOpacity:"0.0"})})]})}}]),r}(oe.Component);function Hh(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Yh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Hh(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hh(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}Vh.propTypes={status:l.default.oneOf(["processing","failed","succeeded","hidden"]),size:l.default.oneOf(["xs","sm","xl"]),onAnimationCompleted:l.default.func,className:l.default.string,"data-testid":l.default.string},Vh.defaultProps={status:re.Status.PROCESSING,size:re.Size.SMALL,onAnimationCompleted:null,className:void 0,"data-testid":null};function Wh(e){var t=e.className,n=e.id,r=e.progress,o=oe.useState(0),o=(e=fe(o,2))[0],a=e[1];return oe.useEffect(function(){a(r.value)}),pe("progress",Yh(Yh({id:n,className:se("np-progress d-block",t)},r),{},{value:o,children:[o,"%"]}))}function Kh(e){var t=e.locale,e=e.children;return ce(Zh.Provider,{value:t,children:e})}var Zh=oe.createContext(g),Xh={"neptune.Chips.ariaLabel":"Clear {choice}","neptune.ClearButton.ariaLabel":"Clear","neptune.CloseButton.ariaLabel":"Close","neptune.DateInput.day.label":"Day","neptune.DateInput.month.label":"Month","neptune.DateInput.year.label":"Year","neptune.MoneyInput.Select.placeholder":"Select an option...","neptune.Pagination.ariaLabel":"Pagination navigation","neptune.PaginationLink.ariaLabel.active":"Go to page {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Current page, page {pageNumber}","neptune.Select.searchPlaceholder":"Search...","neptune.Summary.statusDone":"Item done","neptune.Summary.statusNotDone":"Item to do","neptune.Summary.statusPending":"Item pending","neptune.Upload.csButtonText":"Upload another file?","neptune.Upload.csFailureText":"Upload failed. Please, try again","neptune.Upload.csSuccessText":"Upload complete!","neptune.Upload.csTooLargeMessage":"Please provide a file smaller than 5MB","neptune.Upload.csWrongTypeMessage":"File type not supported. Please try again with a different file","neptune.Upload.psButtonText":"Cancel","neptune.Upload.psProcessingText":"Uploading...","neptune.Upload.usButtonText":"Or select a file","neptune.Upload.usDropMessage":"Drop file to start upload","neptune.Upload.usPlaceholder":"Drag and drop a file less than 5MB","neptune.UploadButton.allFileTypes":"All file types","neptune.UploadButton.dropFiles":"Drop file to start upload","neptune.UploadButton.instructions":"{fileTypes}, less than {size}MB","neptune.UploadButton.uploadFile":"Upload file","neptune.UploadButton.uploadFiles":"Upload files","neptune.UploadInput.deleteModalBody":"Removing this file will delete it from our system.","neptune.UploadInput.deleteModalCancelButtonText":"Cancel","neptune.UploadInput.deleteModalConfirmButtonText":"Remove","neptune.UploadInput.deleteModalTitle":"Sure you want to remove this file?","neptune.UploadInput.fileIsTooLarge":"File is too large","neptune.UploadInput.fileTypeNotSupported":"File type not supported","neptune.UploadInput.maximumFilesAlreadyUploaded":"Sorry, this upload failed because we can only accept {maxFilesAllowed} files at once.","neptune.UploadItem.deleting":"Deleting...","neptune.UploadItem.removeFile":"Remove file {filename}","neptune.UploadItem.uploaded":"Uploaded","neptune.UploadItem.uploadedFile":"Uploaded file","neptune.UploadItem.uploading":"Uploading...","neptune.UploadItem.uploadingFailed":"Uploading failed"};function $h(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Jh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?$h(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$h(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}gn=function(e){var t=e.i18n,n=e.children,r=t.locale,o=t.messages,e=t.defaultRichTextElements,t=O(r),o=null===t?(console.warn("Unsupported locale value was provided: '".concat(r,"', defaulting to '").concat(g,"'")),{locale:g,messages:Jh(Jh({},Xh),o)}):{locale:t,messages:o};return ce(Os,{direction:w(r),children:ce(Kh,{locale:r,children:ce(ie.IntlProvider,{defaultLocale:g,locale:o.locale,messages:o.messages,defaultRichTextElements:e,children:n})})})};gn.propTypes={i18n:l.default.shape({locale:l.default.string.isRequired,messages:l.default.shape({}).isRequired,defaultRichTextElements:l.default.shape({})}).isRequired,children:l.default.node},gn.defaultProps={children:void 0};function Qh(e){var t=e.id,n=e.value,r=e.name,o=e.checked,a=e.onChange,i=e.disabled,e=e.readOnly;return pe(M,{children:[ce("input",{type:"radio",className:"sr-only",id:t,value:n,name:r,checked:o,disabled:i||e,onChange:function(){return o?null:a(n)}}),ce("span",{className:se("tw-radio-button",{checked:o,disabled:i||e}),children:ce("span",{className:"tw-radio-check"})})]})}Qh.propTypes={id:l.default.string,name:l.default.string.isRequired,checked:l.default.bool,onChange:l.default.func,disabled:l.default.bool,value:l.default.oneOfType([l.default.number,l.default.string]),readOnly:l.default.bool},Qh.defaultProps={checked:!1,onChange:function(){},disabled:!1,id:null,value:"",readOnly:!1};var em=["label","id","disabled","className","avatar","secondary"];function tm(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function nm(e){var t=e.label,n=e.id,r=e.disabled,o=e.className,a=e.avatar,i=e.secondary,l=b(e,em),e=ae.useTheme().isModern;return ce("div",{className:se("radio np-radio",{"radio-lg":i,disabled:e&&r},o),children:pe("label",{className:se({disabled:r}),htmlFor:n,children:[ce("span",{className:se(e?"m-r-2":"p-r-2","np-radio-button"),children:ce(Qh,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?tm(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tm(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({id:n,disabled:r},l))}),pe(z,{as:"span",type:i?re.Typography.BODY_LARGE_BOLD:re.Typography.BODY_LARGE,className:"np-radio__text",children:[t,i&&ce(z,{as:"span",className:se({secondary:!e}),children:i})]}),a&&ce("span",{className:"np-radio__avatar m-l-auto",children:a})]})})}function rm(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}nm.propTypes={avatar:l.default.element,checked:l.default.bool,disabled:l.default.bool,id:l.default.string,label:l.default.string.isRequired,name:l.default.string.isRequired,onChange:l.default.func.isRequired,secondary:l.default.string,value:l.default.oneOfType([l.default.number,l.default.string]),className:l.default.string},nm.defaultProps={avatar:void 0,checked:!1,disabled:!1,id:null,secondary:null,value:"",className:void 0};hn=function(e){Ap(r,e);var t=rm(r);function r(e){var n;return u(this,r),n=t.call(this,e),le(Cp(n),"handleOnChange",function(e){var t=n.props.onChange;n.setState({selectedValue:e},t&&t(e))}),n.state={selectedValue:e.selectedValue},n}return s(r,[{key:"render",value:function(){var s=this,e=this.props,t=e.radios,u=e.name,c=this.state.selectedValue;return t&&1<t.length?ce(M,{children:t.map(function(e,t){var n=e.id,r=e.avatar,o=e.value,a=e.label,i=e.disabled,l=e.secondary,e=e.readOnly;return ce(nm,{id:n,value:o,label:a,name:u,disabled:i,checked:c===o,secondary:l,readOnly:e,avatar:r,onChange:function(e){return s.handleOnChange(e)}},t)})}):null}}]),r}(oe.Component);function om(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function am(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?om(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):om(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}hn.propTypes={radios:l.default.arrayOf(l.default.shape({id:l.default.string,avatar:l.default.element,value:l.default.oneOfType([l.default.number,l.default.string]),secondary:l.default.string,label:l.default.string.isRequired,disabled:l.default.bool,readOnly:l.default.bool})).isRequired,onChange:l.default.func.isRequired,selectedValue:l.default.oneOfType([l.default.number,l.default.string]),name:l.default.string.isRequired},hn.defaultProps={selectedValue:null};fa=function(e){var t=e["aria-label"],n=e.media,r=e.title,o=e.content,a=e.id,i=e.name,l=e.checked,s=e.onChange,u=e.complex,c=e.disabled,p=e.value,d=e.showMediaCircle,f=e.showMediaAtAllSizes,e=e.isContainerAligned;return ce(ge,am(am({},{"aria-label":t,media:n,title:r,content:o,name:i,complex:u,disabled:c,showMediaCircle:d,showMediaAtAllSizes:f,isContainerAligned:e}),{},{button:ce(Qh,{id:a,name:i,checked:l,disabled:c,value:p,onChange:s})}))};fa.propTypes={"aria-label":l.default.string,media:l.default.node,id:l.default.string.isRequired,name:l.default.string.isRequired,title:l.default.node.isRequired,content:l.default.node,checked:l.default.bool,onChange:l.default.func.isRequired,complex:l.default.bool,disabled:l.default.bool,value:l.default.string,showMediaCircle:l.default.bool,showMediaAtAllSizes:l.default.bool,isContainerAligned:l.default.bool},fa.defaultProps={"aria-label":void 0,media:null,content:null,checked:!1,complex:!1,disabled:!1,showMediaCircle:!0,showMediaAtAllSizes:!1,isContainerAligned:!1,value:""};function im(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}Qe=function(e){Ap(r,e);var n=im(r);function r(){var t;return u(this,r),t=n.call(this),le(Cp(t),"bodyRef",oe.createRef()),le(Cp(t),"setLeaveTimeout",function(){var e=t.props.timeout;t.timeout=setTimeout(function(){t.setState({visible:!1})},e)}),t.state={visible:!1,text:""},t}return s(r,[{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),clearTimeout(this.transitionTimeout)}},{key:"shouldComponentUpdate",value:function(e,t){return!!e.text&&(e.timestamp!==this.props.timestamp||t.visible!==this.state.visible||t.text!==this.state.text)}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,r=n.action,o=n.text,a=n.theme,n=n.timestamp;e.text?e.timestamp!==n&&(clearTimeout(this.timeout),this.state.visible?this.setState({visible:!1},function(){t.transitionTimeout=setTimeout(function(){t.setState({visible:!0,action:r,text:o,theme:a}),t.setLeaveTimeout()},400)}):(this.setState({visible:!0,action:r,text:o,theme:a}),this.setLeaveTimeout())):this.setState({visible:!0,action:r,text:o,theme:a},function(){t.setLeaveTimeout()})}},{key:"render",value:function(){var e=this.state,t=e.action,n=e.text,r=e.theme,o=e.visible,e=this.props.timeout;return ce("div",{className:"snackbar",children:ce(Xo,{nodeRef:this.bodyRef,in:o,classNames:"snackbar__text-container",timeout:{appear:0,enter:e,exit:400},unmountOnExit:!0,children:pe(z,{ref:this.bodyRef,as:"span",className:"snackbar__text snackbar__text--".concat(r),children:[n,t?ce(Te,{className:"snackbar__text__action",onClick:t.onClick,children:t.label}):null]})})})}}]),r}(oe.Component);Qe.contextType=Cs,Qe.propTypes={action:l.default.shape({label:l.default.string.isRequired,onClick:l.default.func.isRequired}),text:l.default.node.isRequired,theme:l.default.oneOf(["light","dark"]),timeout:l.default.number.isRequired,timestamp:l.default.number.isRequired},Qe.defaultProps={action:null,theme:re.Theme.LIGHT};var lm=Ns(Qe),sm=oe.createContext(),Ct=sm.Consumer;function um(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}Je=function(e){Ap(n,e);var t=um(n);function n(){var r;return u(this,n),r=t.call(this),le(Cp(r),"create",function(e){var t=e.action,n=e.text,e=e.theme;r.setState({action:t,text:n,theme:e,timestamp:Date.now()})}),r.state={text:"",timestamp:0},r}return s(n,[{key:"render",value:function(){var e=this.state,t=e.action,n=e.text,r=e.theme,e=e.timestamp;return pe(sm.Provider,{value:{createSnackbar:this.create},children:[ce(lm,{action:t,text:n,timestamp:e,timeout:this.props.timeout,theme:r}),this.props.children]})}}]),n}(oe.Component);Je.propTypes={children:l.default.node.isRequired,timeout:l.default.number},Je.defaultProps={timeout:4500};$e=function(e){var t=e.open,n=e.position,e=e.children;return ce(Us,{open:t,position:n,slidingPanelPositionFixed:!0,showSlidingPanelBorder:!0,children:e})};$e.propTypes={open:l.default.bool,position:l.default.oneOf(["top","bottom"]),children:l.default.node},$e.defaultProps={open:!0,position:"bottom",children:null};var cm=ie.defineMessages({statusNotDone:{id:"neptune.Summary.statusNotDone"},statusPending:{id:"neptune.Summary.statusPending"},statusDone:{id:"neptune.Summary.statusDone"}}),pm={done:S.CheckCircleFill,pending:S.ClockFill},dm=(le(Pr={},re.Status.NOT_DONE,"statusNotDone"),le(Pr,re.Status.DONE,"statusDone"),le(Pr,re.Status.PENDING,"statusPending"),Pr),fm=(le(gr={},re.Status.DONE,re.Sentiment.POSITIVE),le(gr,re.Status.PENDING,re.Sentiment.PENDING),gr),Qe=new Date("03-01-2021"),Pr=function(e){var t,n=e.action,r=e.as,o=e.className,a=e.content,i=e.description,l=void 0===i?a:i,s=e.help,u=e.icon,c=e.illustration,p=e.info,a=void 0===p?s:p,i=e.status,s=e.title,p=ae.useTheme().isModern,e=ie.useIntl(),c=c;u&&(c=24!==(null==u||null===(t=u.props)||void 0===t?void 0:t.size)?oe.cloneElement(u,{size:24}):u);u=i&&pm[i];return pe(r,{className:se("np-summary d-flex align-items-start",o),"aria-label":i&&e.formatMessage(cm[dm[i]]),children:[pe("div",{className:"np-summary__icon",children:[c,u&&(p?ce("div",{children:ce(Me,{size:re.Size.SMALL,sentiment:fm[i]})}):ce(u,{size:16,className:"np-summary-icon__".concat(i)}))]}),pe("div",{className:"np-summary__body m-l-2",children:[pe("div",{className:"np-summary__title d-flex",children:[ce(z,{as:"span",type:re.Typography.BODY_LARGE_BOLD,className:"text-primary m-b-1",children:s}),a&&ce(Vf,{"aria-label":a["aria-label"],className:"m-l-1 hidden-xs",content:a.content,presentation:a.presentation,size:p?re.Size.LARGE:re.Size.SMALL,title:a.title,onClick:a.onClick})]}),l&&ce(z,{as:"span",type:re.Typography.BODY_DEFAULT,className:"d-block np-summary__description",children:l}),n&&ce(_e,{href:n.href,target:n.target,className:"np-summary__action","aria-label":n["aria-label"],onClick:n.onClick,children:n.text})]}),a&&ce(Vf,{"aria-label":a["aria-label"],className:"m-l-2 hidden-sm hidden-md hidden-lg hidden-xl",content:a.content,presentation:a.presentation,size:p?re.Size.LARGE:re.Size.SMALL,title:a.title,onClick:a.onClick})]})};Pr.propTypes={action:l.default.shape({text:l.default.node.isRequired,href:l.default.string.isRequired,"aria-label":l.default.string,target:l.default.string,onClick:l.default.func}),as:l.default.string,className:l.default.string,content:Be(l.default.node,{component:"Summary",newProp:"description",expiryDate:Qe}),description:l.default.node,help:Be(l.default.shape({content:l.default.node.isRequired,title:l.default.node}),{component:"Summary",newProp:"info",expiryDate:Qe}),info:l.default.shape({"aria-label":l.default.string.isRequired,content:l.default.node.isRequired,onClick:l.default.func,presentation:l.default.oneOf(["POPOVER","MODAL"]),title:l.default.node}),illustration:Be(l.default.node,{component:"Summary",newProp:"icon",expiryDate:Qe}),icon:xe(l.default.node,function(e){return!e.illustration}),status:l.default.oneOf(["notDone","done","pending"]),title:l.default.node.isRequired},Pr.defaultProps={action:null,as:"div",className:null,content:null,help:null,illustration:null,status:null};function hm(e){var t=ae.useTheme().isModern,n=e.checked,r=e.className,o=e.id,a=e.onClick,i=e.disabled,l=e["aria-label"],e=l?void 0:e["aria-labelledby"];return Ue("Switch now expects either `aria-label` or `aria-labelledby`, and will soon make these props required. Please update your usage to provide one or the other.",!l&&!e),pe("span",{className:se("np-switch",{"np-switch--unchecked":!n,"np-switch--checked":n,disabled:i},r),tabIndex:0,role:"switch","aria-checked":n,"aria-label":l,"aria-labelledby":e,id:o,"aria-disabled":i,onClick:i?void 0:a,onKeyDown:i?void 0:function(e){"32"!==e.code&&e.keyCode!==_u.SPACE||(e.preventDefault(),a())},children:[ce("span",t?{className:"np-switch--thumb"}:n?{className:"np-switch--thumb",children:ce(S.CheckCircleFill,{size:24})}:{className:"np-switch--thumb",children:ce(S.CrossCircleFill,{size:24})}),ce("input",{type:"checkbox",checked:n,readOnly:!0})]})}function mm(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function gm(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?mm(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):mm(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var ym=NaN,bm="[object Symbol]",vm=/^\s+|\s+$/g,Om=/^[-+]0x[0-9a-f]+$/i,wm=/^0b[01]+$/i,Em=/^0o[0-7]+$/i,Tm=parseInt,Sm=Object.prototype.toString;function Cm(e){var t=typeof e;return e&&("object"==t||"function"==t)}function xm(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||!!(n=t)&&"object"==typeof n&&Sm.call(t)==bm)return ym;var t,n;if("string"!=typeof(e=Cm(e)?Cm(r="function"==typeof e.valueOf?e.valueOf():e)?r+"":r:e))return 0===e?e:+e;e=e.replace(vm,"");var r=wm.test(e);return r||Em.test(e)?Tm(e.slice(2),r?2:8):Om.test(e)?ym:+e}var Dm=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=xm(n))==n?n:0),void 0!==t&&(t=(t=xm(t))==t?t:0),e=xm(e),t=t,n=n,e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=t<=e?e:t)),e},Am=o(function(e){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,xp(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports});r(Am);var Nm=o(function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports});r(Nm);gr=o(function(e,t){function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});function r(e){return w=e}function o(e){return h=e}function a(e){return m=e}function i(e){return g=e}function l(t){return Object.keys(t).map(function(e){return t[e]})}var S=n(ke),s=n(Am),u=n(Sp),C=n(Nm),y=n(Ne.default),f=n(Pe.default),c=void 0,p=void 0,w=[],T=function(e){return"undefined"!=typeof window&&window.requestAnimationFrame(e)},d=function(e){return"undefined"!=typeof window&&window.cancelAnimationFrame(e)},h=void 0,x=function(){return Date.now()},m=void 0,g=void 0,b=function(e,t){return p={fn:e,transform:t}},v=function(e){return c=e},O=Object.freeze({get bugfixes(){return c},get applyAnimatedValues(){return p},get colorNames(){return w},get requestFrame(){return T},get cancelFrame(){return d},get interpolation(){return h},get now(){return x},get defaultElement(){return m},get createAnimatedStyle(){return g},injectApplyAnimatedValues:b,injectColorNames:r,injectBugfixes:v,injectInterpolation:o,injectFrame:function(e,t){t=[e,t];return T=t[0],d=t[1],t},injectNow:function(e){return x=e},injectDefaultElement:a,injectCreateAnimatedStyle:i}),D=function(){function e(){}var t=e.prototype;return t.attach=function(){},t.detach=function(){},t.getValue=function(){},t.getAnimatedValue=function(){return this.getValue()},t.addChild=function(e){},t.removeChild=function(e){},t.getChildren=function(){return[]},e}(),E=function(o){function e(){for(var t,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=o.call.apply(o,[this].concat(n))||this).children=[],t.getChildren=function(){return t.children},t.getPayload=function(e){return void 0!==(e=void 0===e?void 0:e)&&t.payload?t.payload[e]:t.payload||u(t)},t}s(e,o);var t=e.prototype;return t.addChild=function(e){0===this.children.length&&this.attach(),this.children.push(e)},t.removeChild=function(e){e=this.children.indexOf(e);this.children.splice(e,1),0===this.children.length&&this.detach()},e}(D),A=function(o){function e(){for(var t,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=o.call.apply(o,[this].concat(n))||this).payload=[],t.getAnimatedValue=function(){return t.getValue()},t.attach=function(){return t.payload.forEach(function(e){return e instanceof D&&e.addChild(u(t))})},t.detach=function(){return t.payload.forEach(function(e){return e instanceof D&&e.removeChild(u(t))})},t}return s(e,o),e}(E),N=function(o){function e(){for(var t,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=o.call.apply(o,[this].concat(n))||this).payload={},t.getAnimatedValue=function(){return t.getValue(!0)},t.attach=function(){return l(t.payload).forEach(function(e){return e instanceof D&&e.addChild(u(t))})},t.detach=function(){return l(t.payload).forEach(function(e){return e instanceof D&&e.removeChild(u(t))})},t}return s(e,o),e.prototype.getValue=function(e){void 0===e&&(e=!1);var t,n={};for(t in this.payload){var r=this.payload[t];(!e||r instanceof D)&&(n[t]=r instanceof D?r[e?"getAnimatedValue":"getValue"]():r)}return n},e}(E),P=function(n){function e(e){var t=n.call(this)||this;return!(e=e||{}).transform||e.transform instanceof D||(e=p.transform(e)),t.payload=e,t}return s(e,n),e}(N),k={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},L=function(){function u(){}return u.create=function(e,t,n){if("function"==typeof e)return e;if(h&&e.output&&"string"==typeof e.output[0])return h(e);if(Array.isArray(e))return u.create({range:e,output:t,extrapolate:n||"extend"});var r=e.output,o=e.range||[0,1],a=e.easing||function(e){return e},i="extend",l=e.map;void 0!==e.extrapolateLeft?i=e.extrapolateLeft:void 0!==e.extrapolate&&(i=e.extrapolate);var s="extend";return void 0!==e.extrapolateRight?s=e.extrapolateRight:void 0!==e.extrapolate&&(s=e.extrapolate),function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,o,a,i,l,s){s=s?s(e):e;if(s<t){if("identity"===i)return s;"clamp"===i&&(s=t)}if(n<s){if("identity"===l)return s;"clamp"===l&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=a(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,o[t],o[t+1],r[t],r[t+1],a,i,s,l)}},u}();var R="[-+]?\\d*\\.?\\d+",I=R+"%";function _(){return"\\(\\s*("+Array.prototype.slice.call(arguments).join(")\\s*,\\s*(")+")\\s*\\)"}var M=new RegExp("rgb"+_(R,R,R)),j=new RegExp("rgba"+_(R,R,R,R)),U=new RegExp("hsl"+_(R,I,I)),B=new RegExp("hsla"+_(R,I,I,R)),F=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,q=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,z=/^#([0-9a-fA-F]{6})$/,G=/^#([0-9a-fA-F]{8})$/;function V(e,t,n){return n<0&&(n+=1),1<n&&--n,n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function H(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,t=V(o,r,e+1/3),n=V(o,r,e),e=V(o,r,e-1/3);return Math.round(255*t)<<24|Math.round(255*n)<<16|Math.round(255*e)<<8}function Y(e){e=parseInt(e,10);return e<0?0:255<e?255:e}function W(e){return(parseFloat(e)%360+360)%360/360}function K(e){e=parseFloat(e);return e<0?0:1<e?255:Math.round(255*e)}function Z(e){e=parseFloat(e);return e<0?0:100<e?1:e/100}function X(e){var t,n,n="number"==typeof(t=e)?t>>>0===t&&0<=t&&t<=4294967295?t:null:(n=z.exec(t))?parseInt(n[1]+"ff",16)>>>0:k.hasOwnProperty(t)?k[t]:(n=M.exec(t))?(Y(n[1])<<24|Y(n[2])<<16|Y(n[3])<<8|255)>>>0:(n=j.exec(t))?(Y(n[1])<<24|Y(n[2])<<16|Y(n[3])<<8|K(n[4]))>>>0:(n=F.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=G.exec(t))?parseInt(n[1],16)>>>0:(n=q.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=U.exec(t))?(255|H(W(n[1]),Z(n[2]),Z(n[3])))>>>0:(n=B.exec(t))?(H(W(n[1]),Z(n[2]),Z(n[3]))|K(n[4]))>>>0:null;return null===n?e:"rgba("+((4278190080&(n=n||0))>>>24)+", "+((16711680&n)>>>16)+", "+((65280&n)>>>8)+", "+(255&n)/255+")"}var $=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,J=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Q=new RegExp("("+Object.keys(k).join("|")+")","g");var ee=function(o){function a(e,t,n){var r=o.call(this)||this;return r.getValue=function(){return r.calc.apply(r,r.payload.map(function(e){return e.getValue()}))},r.updateConfig=function(e,t){return r.calc=L.create(e,t)},r.interpolate=function(e,t){return new a(u(r),e,t)},r.payload=e instanceof A&&!e.updateConfig?e.payload:Array.isArray(e)?e:[e],r.calc=L.create(t,n),r}return s(a,o),a}(A);var te=function(t){function e(e){var n=t.call(this)||this;return n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.getValue=function(){return n.value},n.updateStyles=function(){return function t(e,n){"function"==typeof e.update?n.add(e):e.getChildren().forEach(function(e){return t(e,n)})}(u(n),n.animatedStyles)},n.updateValue=function(e){return n.flush(n.value=e)},n.interpolate=function(e,t){return new ee(u(n),e,t)},n.value=e,n.animatedStyles=new Set,n.done=!1,n.startPosition=e,n.lastPosition=e,n.lastVelocity=void 0,n.lastTime=void 0,n.controller=void 0,n}s(e,t);var n=e.prototype;return n.flush=function(){0===this.animatedStyles.size&&this.updateStyles(),this.animatedStyles.forEach(function(e){return e.update()})},n.prepare=function(e){void 0===this.controller&&(this.controller=e),this.controller===e&&(this.startPosition=this.value,this.lastPosition=this.value,this.lastVelocity=e.isActive?this.lastVelocity:void 0,this.lastTime=e.isActive?this.lastTime:void 0,this.done=!1,this.animatedStyles.clear())},e}(E),ne=function(t){function e(e){var o=t.call(this)||this;return o.setValue=function(n,r){void 0===r&&(r=!0),Array.isArray(n)?n.length===o.payload.length&&n.forEach(function(e,t){return o.payload[t].setValue(e,r)}):o.payload.forEach(function(e,t){return o.payload[t].setValue(n,r)})},o.getValue=function(){return o.payload.map(function(e){return e.getValue()})},o.interpolate=function(e,t){return new ee(u(o),e,t)},o.payload=e.map(function(e){return new te(e)}),o}return s(e,t),e}(A);function re(e,t){return null==e?t:e}function oe(e){return void 0!==e?Array.isArray(e)?e:[e]:[]}function ae(e,t){if(typeof e==typeof t){if("string"==typeof e||"number"==typeof e)return e===t;for(var n in e)if(!(n in t))return;for(n in t)if(e[n]!==t[n])return;return void 0!==n||e===t}}function ie(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e}function le(t){return Object.keys(t).map(function(e){return t[e]})}function se(n){var r=(n.to,n.from,n.config,n.native,n.onStart,n.onRest,n.onFrame,n.children,n.reset,n.reverse,n.force,n.immediate,n.impl,n.inject,n.delay,n.attach,n.destroyed,n.interpolateTo,n.autoStart,n.ref,S(n,["to","from","config","native","onStart","onRest","onFrame","children","reset","reverse","force","immediate","impl","inject","delay","attach","destroyed","interpolateTo","autoStart","ref"])),e=Object.keys(n).reduce(function(e,t){return void 0!==r[t]?e:C({},e,((e={})[t]=n[t],e))},{});return C({to:r},e)}function ue(e,t){var n=t[0],t=t[1];return C({},e,((e={})[n]=new(Array.isArray(t)?ne:te)(t),e))}function ce(e){var t=e.from,n=e.to,r=e.native,e=Object.entries(C({},t,n));return r?e.reduce(ue,{}):C({},t,n)}function pe(e,t){return t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e}function de(e){return"auto"===e}var fe={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","Ms","Moz","O"];var fe=Object.keys(fe).reduce(function(t,n){return he.forEach(function(e){return t[e+(e=n).charAt(0).toUpperCase()+e.substring(1)]=t[n]}),t},fe),me={};i(function(e){return new P(e)}),a("div"),o(function(n){var r=n.output.map(function(e){return e.replace(J,X)}).map(function(e){return e.replace(Q,X)}),o=r[0].match($).map(function(){return[]});r.forEach(function(e){e.match($).forEach(function(e,t){return o[t].push(+e)})});var a=r[0].match($).map(function(e,t){return L.create(C({},n,{output:o[t]}))});return function(e){var t=0;return r[0].replace($,function(){return a[t++](e)}).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,function(e,t,n,r,o){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+o+")"})}}),r(k),v(function(u,c){var p=u.from,d=u.to,e=u.children;if(le(d).some(de)||le(p).some(de)){var t=e(ce(u));if(t){e=(t=Array.isArray(t)?{type:"div",props:{children:t}}:t).props.style;return y.createElement(t.type,C({key:t.key||void 0},t.props,{style:C({},e,{position:"absolute",visibility:"hidden"}),ref:function(e){var t,n,r,o,a,i,l,s;e&&(t=f.findDOMNode(e),i="border-box"===(n=getComputedStyle(t)).boxSizing?(a=t.offsetWidth,t.offsetHeight):(r=parseFloat(n.paddingLeft||0)+parseFloat(n.paddingRight||0),o=parseFloat(n.paddingTop||0)+parseFloat(n.paddingBottom||0),e=parseFloat(n.borderLeftWidth||0)+parseFloat(n.borderRightWidth||0),i=parseFloat(n.borderTopWidth||0)+parseFloat(n.borderBottomWidth||0),a=t.offsetWidth-r-e,t.offsetHeight-o-i),l=a,s=i,i=function(e,t){var n=t[0],t=t[1];return C({},e,((e={})[n]="auto"===t?~n.indexOf("height")?s:l:t,e))},c(C({},u,{from:Object.entries(p).reduce(i,p),to:Object.entries(d).reduce(i,d)})))}}))}}}),b(function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n,r,o,a,i,l,s=t.style,u=t.children,c=t.scrollTop,p=t.scrollLeft,d=S(t,["style","children","scrollTop","scrollLeft"]);for(n in void 0!==c&&(e.scrollTop=c),void 0!==p&&(e.scrollLeft=p),void 0!==u&&(e.textContent=u),s)s.hasOwnProperty(n)&&(r=0===n.indexOf("--"),i=s[a=n],l=r,i=null==i||"boolean"==typeof i||""===i?"":l||"number"!=typeof i||0===i||fe.hasOwnProperty(a)&&fe[a]?(""+i).trim():i+"px","float"===n&&(n="cssFloat"),r?e.style.setProperty(n,i):e.style[n]=i);for(o in d){var f=me[o]||(me[o]=o.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}));void 0!==e.getAttribute(f)&&e.setAttribute(f,d[o])}},function(e){return e});function ge(){for(var e,t=x(),n=ve,r=Array.isArray(n),o=0,n=r?n:n[Symbol.iterator]();;){if(r){if(o>=n.length)break;e=n[o++]}else{if((o=n.next()).done)break;e=o.value}for(var a=e,i=!0,l=!0,s=0;s<a.configs.length;s++){for(var u=a.configs[s],c=void 0,p=void 0,d=0;d<u.animatedValues.length;d++){var f=u.animatedValues[d];if(!f.done){var h=u.fromValues[d],m=u.toValues[d],g=f.lastPosition,y=m instanceof D,b=Array.isArray(u.initialVelocity)?u.initialVelocity[d]:u.initialVelocity;if(y&&(m=m.getValue()),u.immediate||!y&&!u.decay&&h===m)f.updateValue(m),f.done=!0;else if(u.delay&&t-a.startTime<u.delay)i=!1;else if(l=!1,"string"!=typeof h&&"string"!=typeof m){if(void 0!==u.duration)g=h+u.easing((t-a.startTime-u.delay)/u.duration)*(m-h),c=t>=a.startTime+u.delay+u.duration;else if(u.decay)g=h+b/(1-.998)*(1-Math.exp(-(1-.998)*(t-a.startTime))),(c=Math.abs(f.lastPosition-g)<.1)&&(m=g);else{p=void 0!==f.lastTime?f.lastTime:t,b=void 0!==f.lastVelocity?f.lastVelocity:u.initialVelocity,p+64<t&&(p=t);for(var v=Math.floor(t-p),O=0;O<v;++O)g+=+(b+=(-u.tension*(g-m)+-u.friction*b)/u.mass/1e3)/1e3;var w=!(!u.clamp||0===u.tension)&&(h<m?m<g:g<m),E=Math.abs(b)<=u.precision,h=0===u.tension||Math.abs(m-g)<=u.precision,c=w||E&&h;f.lastVelocity=b,f.lastTime=t}(c=y&&!u.toValues[d].done?!1:c)?(f.value!==m&&(g=m),f.done=!0):i=!1,f.updateValue(g),f.lastPosition=g}else f.updateValue(m),f.done=!0}}!a.props.onFrame&&a.props.native||(a.animatedProps[u.name]=u.interpolation.getValue())}!a.props.onFrame&&a.props.native||(!a.props.native&&a.onUpdate&&a.onUpdate(),a.props.onFrame&&a.props.onFrame(a.animatedProps)),i&&(ve.delete(a),a.debouncedOnEnd({finished:!0,noChange:l}))}ve.size?T(ge):be=!1}function ye(e){ve.has(e)&&ve.delete(e)}var be=!1,ve=new Set,Oe=function(){function e(e,t){var n=this;void 0===t&&(t={native:!0,interpolateTo:!0,autoStart:!0}),this.getValues=function(){return n.props.native?n.interpolations:n.animatedProps},this.dependents=new Set,this.isActive=!1,this.hasChanged=!1,this.props={},this.merged={},this.animations={},this.interpolations={},this.animatedProps={},this.configs=[],this.frame=void 0,this.startTime=void 0,this.lastTime=void 0,this.update(C({},e,t))}var t=e.prototype;return t.update=function(e){var h=this;this.props=C({},this.props,e);var t=this.props.interpolateTo?se(this.props):this.props,n=t.from,m=void 0===n?{}:n,r=t.to,o=void 0===r?{}:r,e=t.config,g=void 0===e?{}:e,n=t.delay,y=void 0===n?0:n,r=t.reverse,e=t.attach,b=t.reset,v=t.immediate,n=t.autoStart,t=t.ref;r&&(m=(r=[o,m])[0],o=r[1]),this.hasChanged=!1;var O=e&&e(this),e=b?{}:this.merged;if(this.merged=C({},m,e,o),this.animations=Object.entries(this.merged).reduce(function(e,t,n){var r,o,a=t[0],i=t[1],l=!b&&e[a]||{},s="number"==typeof i,u="string"==typeof i&&!i.startsWith("#")&&!/\d/.test(i)&&!w[i],c=!s&&!u&&Array.isArray(i),p=void 0!==m[a]?m[a]:i,d=s||c||u?i:1,t=ie(g,a);if(O&&(d=O.animations[a].parent),void 0===t.decay&&ae(l.changes,i))return e;h.hasChanged=!0,s||u?r=o=l.parent||new te(p):c?r=o=l.parent||new ne(p):(f=l.interpolation&&l.interpolation.calc(l.parent.value),l.parent?(r=l.parent).setValue(0,!1):r=new te(0),f={output:[void 0!==f?f:p,i]},l.interpolation?(o=l.interpolation,l.interpolation.updateConfig(f)):o=r.interpolate(f)),ie(v,a)&&r.setValue(i,!1);var f=oe(r.getPayload());return f.forEach(function(e){return e.prepare(h)}),C({},e,((e={})[a]=C({},l,{name:a,parent:r,interpolation:o,animatedValues:f,changes:i,fromValues:oe(r.getValue()),toValues:oe(O?d.getPayload():d),immediate:ie(v,a),delay:re(t.delay,y||0),initialVelocity:re(t.velocity,0),clamp:re(t.clamp,!1),precision:re(t.precision,.01),tension:re(t.tension,170),friction:re(t.friction,26),mass:re(t.mass,1),duration:t.duration,easing:re(t.easing,function(e){return e}),decay:t.decay}),e))},this.animations),this.hasChanged)for(var a in this.configs=le(this.animations),this.animatedProps={},this.interpolations={},this.animations)this.interpolations[a]=this.animations[a].interpolation,this.animatedProps[a]=this.animations[a].interpolation.getValue();for(var i=arguments.length,l=new Array(1<i?i-1:0),s=1;s<i;s++)l[s-1]=arguments[s];t||!n&&!l.length||this.start.apply(this,l);t=l[0],n=l[1];return this.onEnd="function"==typeof t&&t,this.onUpdate=n,this.getValues()},t.start=function(e,t){var n=this;return this.startTime=x(),this.isActive&&this.stop(),this.isActive=!0,this.onEnd="function"==typeof e&&e,this.onUpdate=t,this.props.onStart&&this.props.onStart(),t=this,ve.has(t)||(ve.add(t),be||T(ge),be=!0),new Promise(function(e){return n.resolve=e})},t.stop=function(e){(e=void 0===e?!1:e)&&le(this.animations).forEach(function(e){return e.changes=void 0}),this.debouncedOnEnd({finished:e})},t.destroy=function(){ye(this),this.props={},this.merged={},this.animations={},this.interpolations={},this.animatedProps={},this.configs=[]},t.debouncedOnEnd=function(e){ye(this),this.isActive=!1;var t=this.onEnd;this.onEnd=null,t&&t(e),this.resolve&&this.resolve(),this.resolve=null},e}(),we=function(r){function e(e,t){var n=r.call(this)||this;return e.style&&(e=C({},e,{style:g(e.style)})),n.payload=e,n.update=t,n.attach(),n}return s(e,r),e}(N);function Ee(r){var n=function(n){function e(e){var t=n.call(this)||this;return t.callback=function(){t.node&&!1===p.fn(t.node,t.propsAnimated.getAnimatedValue(),u(t))&&t.forceUpdate()},t.attachProps(e),t}s(e,n);var t=e.prototype;return t.componentWillUnmount=function(){this.propsAnimated&&this.propsAnimated.detach()},t.setNativeProps=function(e){!1===p.fn(this.node,e,this)&&this.forceUpdate()},t.attachProps=function(e){e.forwardRef;var t=S(e,["forwardRef"]),e=this.propsAnimated;this.propsAnimated=new we(t,this.callback),e&&e.detach()},t.shouldComponentUpdate=function(e){var t=e.style,n=S(e,["style"]),r=this.props,o=r.style;return(!ae(S(r,["style"]),n)||!ae(o,t))&&(this.attachProps(e),!0)},t.render=function(){var t=this,e=this.propsAnimated.getValue(),e=(e.scrollTop,e.scrollLeft,S(e,["scrollTop","scrollLeft"]));return y.createElement(r,C({},e,{ref:function(e){return t.node=pe(e,t.props.forwardRef)}}))},e}(y.Component);return y.forwardRef(function(e,t){return y.createElement(n,C({},e,{forwardRef:t}))})}var v={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},Te=function(o){function e(){for(var r,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(r=o.call.apply(o,[this].concat(t))||this).state={lastProps:{from:{},to:{}},propsChanged:!1,internal:!1},r.controller=new Oe(null,null),r.didUpdate=!1,r.didInject=!1,r.finished=!0,r.start=function(){r.finished=!1;var t=r.mounted;r.controller.start(function(e){return r.finish(C({},e,{wasMounted:t}))},r.update)},r.stop=function(){return r.controller.stop(!0)},r.update=function(){return r.mounted&&r.setState({internal:!0})},r.finish=function(e){var t=e.finished,n=e.noChange,e=e.wasMounted;r.finished=!0,r.mounted&&t&&(!r.props.onRest||!e&&n||r.props.onRest(r.controller.merged),r.mounted&&r.didInject&&(r.afterInject=ce(r.props),r.setState({internal:!0})),r.mounted&&(r.didInject||r.props.after)&&r.setState({internal:!0}),r.didInject=!1)},r}s(e,o);var t=e.prototype;return t.componentDidMount=function(){this.componentDidUpdate(),this.mounted=!0},t.componentWillUnmount=function(){this.mounted=!1,this.stop()},e.getDerivedStateFromProps=function(e,t){var n=t.internal,r=t.lastProps,o=e.from,a=e.to,i=e.reset,t=e.force;return{propsChanged:!ae(a,r.to)||!ae(o,r.from)||i&&!n||t&&!n,lastProps:e,internal:!1}},t.render=function(){var t=this,e=this.props.children,n=this.state.propsChanged;if(this.props.inject&&n&&!this.injectProps){var r=this.props.inject(this.props,function(e){t.injectProps=e,t.setState({internal:!0})});if(r)return r}(this.injectProps||n)&&(this.didInject=!1,this.injectProps?(this.controller.update(this.injectProps),this.didInject=!0):n&&this.controller.update(this.props),this.didUpdate=!0,this.afterInject=void 0,this.injectProps=void 0);n=C({},this.controller.getValues(),this.afterInject);return this.finished&&(n=C({},n,this.props.after)),Object.keys(n).length?e(n):null},t.componentDidUpdate=function(){this.didUpdate&&this.start(),this.didUpdate=!1},e}(y.Component);Te.defaultProps={from:{},to:{},config:v.default,native:!1,immediate:!1,reset:!1,force:!1,inject:c};var Se=function(r){function e(){for(var o,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(o=r.call.apply(r,[this].concat(t))||this).first=!0,o.instances=new Set,o.hook=function(e,t,n,r){return o.instances.add(e),(r?t===n-1:0===t)?void 0:Array.from(o.instances)[r?t+1:t-1]},o}s(e,r);var t=e.prototype;return t.render=function(){var t=this,e=this.props,n=e.items,o=e.children,r=e.from,a=void 0===r?{}:r,i=e.initial,l=e.reverse,s=e.keys,u=e.delay,c=e.onRest,p=S(e,["items","children","from","initial","reverse","keys","delay","onRest"]),d=oe(n);return oe(d).map(function(n,r){return y.createElement(Te,C({onRest:0===r?c:null,key:"function"==typeof s?s(n):oe(s)[r],from:t.first&&void 0!==i?i||{}:a},p,{delay:0===r&&u||void 0,attach:function(e){return t.hook(e,r,d.length,l)},children:function(e){var t=o(n,r);return t?t(e):null}}))})},t.componentDidUpdate=function(e){this.first=!1,e.items!==this.props.items&&this.instances.clear()},e}(y.PureComponent);Se.defaultProps={keys:function(e){return e}};var Ce=function(o){function e(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.call.apply(o,[this].concat(n))||this).guid=0,e.state={props:{},resolve:function(){return null},last:!0,index:0},e.next=function(n,r,o){return void 0===r&&(r=!0),void 0===o&&(o=0),e.running=!0,new Promise(function(t){e.mounted&&e.setState(function(e){return{props:n,resolve:t,last:r,index:o}},function(){return e.running=!1})})},e}s(e,o);var t=e.prototype;return t.componentDidMount=function(){this.mounted=!0,this.componentDidUpdate({})},t.componentWillUnmount=function(){this.mounted=!1},t.componentDidUpdate=function(e){var l=this,t=this.props,r=t.states,s=t.filter,u=t.state;(e.state!==this.props.state||this.props.reset&&!this.running||!ae(r[u],e.states[e.state]))&&r&&u&&r[u]&&function(){var n,o=++l.guid,a=r[u];if(a)if(Array.isArray(a))for(var i=Promise.resolve(),e=0;e<a.length;e++)!function(e){var t=e,n=a[t],r=t===a.length-1;i=i.then(function(){return o===l.guid&&l.next(s(n),r,t)})}(e);else"function"==typeof a?(n=0,a(function(e,t){return void 0===t&&(t=!1),o===l.guid&&l.next(s(e),t,n++)},function(){return T(function(){return l.instance&&l.instance.stop()})},l.props)):l.next(s(r[u]))}()},t.render=function(){var t=this,e=this.state,n=e.props,r=e.resolve,o=e.last,a=e.index;if(!n||0===Object.keys(n).length)return null;var i=this.props,l=(i.state,i.filter,i.states,i.config),e=i.primitive,s=i.onRest,u=i.forwardRef,i=S(i,["state","filter","states","config","primitive","onRest","forwardRef"]);return Array.isArray(l)&&(l=l[a]),y.createElement(e,C({ref:function(e){return t.instance=pe(e,u)},config:l},i,n,{onRest:function(e){r(e),s&&o&&s(e)}}))},e}(y.PureComponent);Ce.defaultProps={state:"__default"};var xe=y.forwardRef(function(e,t){return y.createElement(Ce,C({},e,{forwardRef:t}))});xe.create=function(r){return function(t,n){var e;return void 0===n&&(n=function(e){return e}),"function"!=typeof t&&!Array.isArray(t)||((e={}).__default=t,t=e),function(e){return y.createElement(Ce,C({primitive:r,states:t,filter:n},e))}}},xe.Spring=function(e){return xe.create(Te)(e,se)},xe.Trail=function(e){return xe.create(Se)(e,se)};function De(e){var t=e.items,n=e.keys,e=S(e,["items","keys"]),t=oe(void 0!==t?t:null),n="function"==typeof n?t.map(n):oe(n);return C({items:t,keys:n.map(function(e){return String(e)})},e)}var Ae=0,b=function(t){s(n,t);var e=n.prototype;function n(e){var i=t.call(this,e)||this;return i.destroyItem=function(r,o,a){return function(e){var t=i.props,n=t.onRest,t=t.onDestroyed;i.mounted&&(t&&t(r),i.setState(function(e){return{deleted:e.deleted.filter(function(e){return e.key!==o})}}),n&&n(r,a,e))}},i.state={first:!0,transitions:[],current:{},deleted:[],prevProps:e},i}return e.componentDidMount=function(){this.mounted=!0},e.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(e,t){var n=t.first,r=t.prevProps,o=S(t,["first","prevProps"]),a=De(e),i=a.items,l=a.keys,s=a.initial,u=a.from,c=a.enter,p=a.leave,d=a.update,t=a.trail,f=void 0===t?0:t,h=a.unique,m=a.config,a=De(r),g=a.keys,y=a.items,b=C({},o.current),v=[].concat(o.deleted),r=Object.keys(b),O=new Set(r),w=new Set(l),a=l.filter(function(e){return!O.has(e)}),r=o.transitions.filter(function(e){return!e.destroyed&&!w.has(e.originalKey)}).map(function(e){return e.originalKey}),o=l.filter(function(e){return O.has(e)}),E=0;a.forEach(function(t){h&&v.find(function(e){return e.originalKey===t})&&(v=v.filter(function(e){return e.originalKey!==t}));var e=l.indexOf(t),e=i[e];b[t]={state:"enter",originalKey:t,key:h?String(t):Ae++,item:e,trail:E+=f,config:ie(m,e,"enter"),from:ie(n&&void 0!==s?s||{}:u,e),to:ie(c,e)}}),r.forEach(function(e){var t=g.indexOf(e),n=y[t];v.push(C({},b[e],{state:"leave",destroyed:!0,left:g[Math.max(0,t-1)],right:g[Math.min(g.length,t+1)],trail:E+=f,config:ie(m,n,"leave"),to:ie(p,n)})),delete b[e]}),o.forEach(function(e){var t=l.indexOf(e),t=i[t];b[e]=C({},b[e],{item:t,state:"update",trail:E+=f,config:ie(m,t,"update"),to:ie(d,t)})});var T=l.map(function(e){return b[e]});return v.forEach(function(e){var t=e.left,n=e.right,r=S(e,["left","right"]);-1!==(e=T.findIndex(function(e){return e.originalKey===t}))&&(e+=1),-1===(e=-1===(e=-1===e?T.findIndex(function(e){return e.originalKey===n}):e)?v.findIndex(function(e){return e.originalKey===t}):e)&&(e=v.findIndex(function(e){return e.originalKey===n})),e=Math.max(0,e),T=[].concat(T.slice(0,e),[r],T.slice(e))}),{first:n&&0===a.length,transitions:T,current:b,deleted:v,prevProps:e}},e.render=function(){var c=this,e=this.props,p=(e.initial,e.from,e.enter,e.leave,e.update,e.onDestroyed,e.keys,e.items,e.onFrame),d=e.onRest,f=e.onStart,h=(e.trail,e.config,e.children),m=(e.unique,e.reset),g=S(e,["initial","from","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","trail","config","children","unique","reset"]);return this.state.transitions.map(function(e,n){var r=e.state,t=e.key,o=e.item,a=e.from,i=e.to,l=e.trail,s=e.config,u=e.destroyed;return y.createElement(xe,C({reset:m&&"enter"===r,primitive:Te,state:r,filter:se,states:((e={})[r]=i,e),key:t,onRest:u?c.destroyItem(o,t,r):d&&function(e){return d(o,r,e)},onStart:f&&function(){return f(o,r)},onFrame:p&&function(e){return p(o,r,e)},delay:l,config:s},g,{from:a,children:function(e){var t=h(o,r,n);return t?t(e):null}}))})},n}(y.PureComponent);b.defaultProps={keys:function(e){return e},unique:!1,reset:!1};N=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].reduce(function(e,t){return e[t]=Ee(t),e},Ee);t.Spring=Te,t.Keyframes=xe,t.Transition=b,t.Trail=Se,t.Controller=Oe,t.config=v,t.animated=N,t.interpolate=function(e,t,n){return e&&new ee(e,t,n)},t.Globals=O});r(gr);var Pm=gr.Spring,km=(gr.Keyframes,gr.Transition,gr.Trail,gr.Controller,gr.config,gr.animated,gr.interpolate,gr.Globals,oe.forwardRef(function(e,t){var n=e.children,r=e.id,o=e.disabled,a=e.panelId,i=e.selected,l=e.onKeyDown,s=e.onClick,u=e.style,c=e.focusTab,p=oe.useRef(!0);return oe.useEffect(function(){p.current?p.current=!1:i&&c&&c()},[i]),ce("li",{ref:t,className:se("tabs__tab",i?"np-text-body-large-bold":"np-text-body-large",{"tabs__tab--selected":i,clickable:!o,disabled:o}),role:"tab",id:r,"aria-selected":i?"true":"false","aria-disabled":o?"true":"false","aria-controls":o?null:a,tabIndex:"0",style:u,onKeyDown:o?null:l,onClick:s,children:ce("span",{className:"tabs__tab__content",children:n})})}));km.defaultProps={disabled:!1,selected:!1,onClick:null,style:null,focusTab:null},km.propTypes={children:l.default.node.isRequired,disabled:l.default.bool,selected:l.default.bool,id:l.default.string.isRequired,panelId:l.default.string.isRequired,onKeyDown:l.default.func.isRequired,onClick:l.default.func,style:l.default.shape({width:l.default.string}),focusTab:l.default.func};function Lm(e){return e=e.children,ce("ul",{className:"tabs__tab-list",role:"tablist",children:e})}Lm.propTypes={children:l.default.oneOfType([l.default.object,l.default.array]).isRequired};function Rm(e){var t=e.children,n=e.id,r=e.tabId,e=e.style;return ce("div",{className:"tabs__panel",role:"tabpanel",id:n,"aria-labelledby":r,style:e,children:t})}Rm.propTypes={children:l.default.node.isRequired,id:l.default.string.isRequired,tabId:l.default.string.isRequired,style:l.default.shape({width:l.default.string.isRequired}).isRequired};var Im=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"x";return Math.abs(e[n]-t[n])},_m=function(e,t){return t.x>e.x},Mm=function(e,t){return e.x>t.x},jm=function(e,t){var n,r=Im(e,t),n=(n=t.time-e.time,Im(e,t)/n);return 50<Math.abs(r)&&.1<n};var Um=function(e){return Math.min(150,window.innerWidth/3)*(1-Math.pow(Math.E,-.005*e))};function Bm(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Fm(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Bm(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bm(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function qm(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}function zm(e){return!e.disabled}var Gm=0,Vm={default:0,xs:8,sm:16,md:24,lg:32},Be=function(e){Ap(n,e);var t=qm(n);function n(e){var c;return u(this,n),c=t.call(this,e),le(Cp(c),"containerReference",oe.createRef()),le(Cp(c),"container",null),le(Cp(c),"containerWidth",0),le(Cp(c),"tabRefs",[]),le(Cp(c),"handleResize",function(){c.setContainerWidth(c.container),c.setState(function(e){e=e.selectedTabIndex;return{translateTo:-c.containerWidth*e}})}),le(Cp(c),"setContainerRefAndWidth",function(e){c.container=e,c.setContainerWidth(e)}),le(Cp(c),"setContainerWidth",function(e){e&&(e=e.getBoundingClientRect().width,c.containerWidth=e)}),le(Cp(c),"isTabDisabled",function(e){var t=c.props.tabs;return t[e]&&t[e].disabled}),le(Cp(c),"getAllTabsWidth",function(){return c.tabRefs.map(function(e){return e?e.getBoundingClientRect().width:0}).reduce(function(e,t){return e+t},0)}),le(Cp(c),"getDistanceToSelectedTab",function(n){return c.tabRefs.filter(function(e,t){return t<n}).map(function(e){return e?e.getBoundingClientRect().width:0}).reduce(function(e,t){return e+t},0)}),le(Cp(c),"setTabWidth",function(){var e=c.state.fullWidthTabs,t=c.props,n=t.headerWidth,r=t.selected,t=c.getAllTabsWidth();!e&&(n===re.Width.BLOCK||c.containerWidth<t)&&c.setState({fullWidthTabs:!0,translateLineX:"".concat(100*r,"%")}),e&&n===re.Width.AUTO&&c.containerWidth>=t&&c.setState({fullWidthTabs:!1,translateLineX:"".concat(c.getDistanceToSelectedTab(r),"px")})}),le(Cp(c),"getTabLineWidth",function(){var e=c.state.fullWidthTabs,t=c.props,n=t.selected,t=t.tabs;if(e)return"".concat(1/t.length*100,"%");n=c.tabRefs[n]||c.tabRefs[c.tabRefs.length-1],n=n?n.getBoundingClientRect().width:0;return"".concat(n,"px")}),le(Cp(c),"getTabToSelect",function(e,t,n){var r=e;if(_m(t,n)){if(Gm<--r&&c.isTabDisabled(r))return c.getTabToSelect(r,t,n)}else if(Mm(t,n)&&(r+=1)<c.MAX_INDEX&&c.isTabDisabled(r))return c.getTabToSelect(r,t,n);return r=Dm(r,Math.max(e-1,Gm),Math.min(e+1,c.MAX_INDEX)),c.isTabDisabled(r)?e:r}),le(Cp(c),"swipedOverHalfOfContainer",function(e){return.5<=e/c.containerWidth}),le(Cp(c),"calculateApplicableDragDifference",function(e){var t=e.currentSelected,n=e.nextSelected,r=e.start,o=e.end,a=Im(r,o),e=Um(a);return _m(r,o)?Gm<t&&t!==n?Math.min(a,c.containerWidth):e:!!Mm(r,o)&&(t<c.MAX_INDEX&&t!==n?-Math.min(a,c.containerWidth):-e)}),le(Cp(c),"switchTab",function(e){(0,c.props.onTabSelect)(e)}),le(Cp(c),"animateToTab",function(e,t){c.animateLine(e),c.animatePanel(c.getTabIndexWithoutDisabledTabs(e),t)}),le(Cp(c),"animateLine",function(t){c.setState(function(e){return{translateLineX:e.fullWidthTabs?"".concat(100*t,"%"):"".concat(c.getDistanceToSelectedTab(t),"px")}})}),le(Cp(c),"animatePanel",function(e){var t=c.state.translateTo,n=-c.containerWidth*e;c.setState({selectedTabIndex:e,isAnimating:!(1<arguments.length&&void 0!==arguments[1]&&arguments[1])&&t!==n,translateFrom:t,translateTo:n})}),le(Cp(c),"disableScroll",function(e){c.state.isSwiping&&e.preventDefault()}),le(Cp(c),"handleTabClick",function(e){return function(){c.switchTab(e)}}),le(Cp(c),"onKeyDown",function(t){return function(e){e&&e.keyCode===_u.ENTER&&c.switchTab(t)}}),le(Cp(c),"handleTouchStart",function(e){var t={x:e.nativeEvent.touches[0].clientX,y:e.nativeEvent.touches[0].clientY,time:Date.now()};c.setState({start:t,currentSwipe:[t]}),e.persist()}),le(Cp(c),"handleTouchMove",function(e){var t,n=c.state.start,r=c.props.selected,o=c.getTabIndexWithoutDisabledTabs(r),a={x:e.nativeEvent.changedTouches[0].clientX,y:e.nativeEvent.changedTouches[0].clientY,time:Date.now()},i=Im(n,a),l=Im(n,a,"y"),s=c.state,u=s.isScrolling,s=s.isSwiping;e.persist(),u||s||(l<i?s=!0:u=!0),c.setState({isScrolling:u,isSwiping:s}),s&&(s=c.getTabToSelect(r,n,a),c.animateLine(c.swipedOverHalfOfContainer(i)?s:r),n=c.calculateApplicableDragDifference({currentSelected:r,nextSelected:s,start:n,end:a}),t=!!n&&-c.containerWidth*o+n,c.setState(function(e){return{currentSwipe:[].concat(K(e.currentSwipe),[a]),translateFrom:t||e.translateFrom,translateTo:t||e.translateTo}}))}),le(Cp(c),"handleTouchEnd",function(e){var t=c.state,n=t.start,r=t.isSwiping,o=c.props.selected,a={x:e.nativeEvent.changedTouches[0].clientX,y:e.nativeEvent.changedTouches[0].clientY,time:Date.now()},i=Im(n,a),l=function(e){try{var t=e.slice(Math.max(e.length-5,1)),n=t[0],r=t[t.length-1];return Math.abs(n.x-r.x)/(r.time-n.time)}catch(e){return 0}}([].concat(K(c.state.currentSwipe),[a]));c.setState({currentSwipe:[]});t=o;e.persist(),r&&((t=jm(n,a)||c.swipedOverHalfOfContainer(i)?c.getTabToSelect(t,n,a):t)!==o?(c.switchTab(t),c.setState({lastSwipeVelocity:l})):c.animateToTab(t)),c.setState({isSwiping:!1,isScrolling:!1})}),c.state={start:null,translateX:0,translateFrom:0,translateTo:0,translateLineX:null,isAnimating:!1,isSwiping:!1,isScrolling:!1,lastSwipeVelocity:0,fullWidthTabs:e.headerWidth===re.Width.BLOCK},c}return s(n,[{key:"filteredTabsLength",get:function(){return this.props.tabs.filter(zm).length}},{key:"MAX_INDEX",get:function(){return this.props.tabs.length-1}},{key:"componentDidMount",value:function(){var e=this.props.selected;this.setTabWidth(),this.switchTab(Dm(e,Gm,this.MAX_INDEX)),this.animateToTab(Dm(e,Gm,this.MAX_INDEX),!0),document.body.addEventListener("touchmove",this.disableScroll,{passive:!1}),document.body.addEventListener("touchforcechange",this.disableScroll,{passive:!1}),window.addEventListener("resize",this.handleResize)}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.selected,r=e.selected,o=this.props.tabs[n],a=o&&o.disabled,i=e.tabs[r],l=i&&i.disabled,s=this.props.tabs.length,u=e.tabs.length,c=this.props.tabs.filter(zm).length,o=e.tabs.filter(zm).length,i=this.props.headerWidth,e=e.headerWidth,t=!this.props.animatePanelsOnClick&&!t.isSwiping;i===e&&s===u||this.setTabWidth(),n===r&&c===o&&a===l||this.animateToTab(Dm(n,Gm,this.MAX_INDEX),n===r||t)}},{key:"componentWillUnmount",value:function(){document.body.removeEventListener("touchmove",this.disableScroll),document.body.removeEventListener("touchforcechange",this.disableScroll),window.removeEventListener("resize",this.handleResize)}},{key:"getTabIndexWithoutDisabledTabs",value:function(e){return e-this.props.tabs.slice(0,e).filter(function(e){return!zm(e)}).length}},{key:"render",value:function(){function r(e){return e=e.id,0<y&&ce("div",{style:{width:y,display:v?"block":"none"}},e)}var o=this,e=this.props,a=e.tabs,t=e.changeTabOnSwipe,i=e.name,l=e.selected,n=e.className,s=e.transitionSpacing,u=e.headerWidth,c=this.state,p=c.isSwiping,d=c.translateLineX,f=c.isAnimating,h=c.translateFrom,m=c.translateTo,e=c.lastSwipeVelocity,g=c.fullWidthTabs,y=Vm[s],c=this.filteredTabsLength,s=Math.abs(-h-this.containerWidth*l),s=p?1-s/this.containerWidth:1-Math.abs(s/this.containerWidth-1),b=(Number.isNaN(s)?0:s)*Math.min(10*Math.E,10*e*Math.E),v=f||p,O=c*this.containerWidth+2*y;return ce(Cs.Consumer,{children:function(e){e=e===re.Direction.RTL;return pe("div",{ref:o.containerReference,className:se("tabs",n,{"tabs--auto-width":u===re.Width.AUTO}),onTouchStart:t?o.handleTouchStart:void 0,onTouchEnd:t?o.handleTouchEnd:void 0,onTouchMove:t?o.handleTouchMove:void 0,children:[pe(Lm,{children:[a.map(function(e,t){var n=e.title,e=e.disabled;return ce(km,Fm(Fm({ref:function(e){o.tabRefs[t]=e},id:"".concat(i,"-tab-").concat(t),panelId:"".concat(i,"-panel-").concat(t),selected:l===t,disabled:e,focusTab:function(){var e;null!==(e=o.containerReference.current)&&void 0!==e&&e.contains(document.activeElement)&&o.tabRefs[t].focus()},onClick:e?null:o.handleTabClick(t),onKeyDown:o.onKeyDown(t)},g?{style:{width:"".concat(1/a.length*100,"%")}}:{}),{},{children:n}),n)}),d?ce("div",{className:se("tabs__line"),style:{width:o.getTabLineWidth(),transform:(e?"translateX(-":"translateX(").concat(d,")")}}):null]}),ce("div",{ref:o.setContainerRefAndWidth,className:"tabs__panel-container",style:{overflow:v?"hidden":"visible"},children:ce(Pm,{from:{transform:"translateX(".concat(h-y,"px)")},to:{transform:"translateX(".concat(m-y,"px)")},config:{precision:p?1:.01,velocity:p?0:b,clamp:!0},onRest:function(){f&&o.setState({isAnimating:!1,lastSwipeVelocity:0})},children:function(e){return ce("div",{className:"tabs__slider",style:{width:v?"".concat(O,"px"):"100%",transform:v?e.transform:"translateX(0px)"},children:a.map(function(e,t){var n=e.content;return e.disabled?null:pe(oe.Fragment,{children:[t===l&&ce(r,{id:"left-spacer"}),ce(Rm,{tabId:"".concat(i,"-tab-").concat(t),id:"".concat(i,"-panel-").concat(t),style:{width:v?"".concat(o.containerWidth,"px"):"100%",display:v||t===l?"block":"none"},children:n},a[t].title),t===l&&ce(r,{id:"right-spacer"})]},"".concat(a[t].title,"-fragment"))})})}})})]})}})}}]),n}(oe.Component),Qe=Fm(Fm({},re.Size),{},{NONE:"default"});function Hm(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Ym(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Hm(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hm(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}Be.propTypes={tabs:l.default.arrayOf(l.default.shape({title:l.default.string.isRequired,content:l.default.node.isRequired,disabled:l.default.bool.isRequired})).isRequired,selected:l.default.number.isRequired,onTabSelect:l.default.func.isRequired,name:l.default.string.isRequired,animatePanelsOnClick:l.default.bool,changeTabOnSwipe:l.default.bool,className:l.default.string,transitionSpacing:l.default.oneOf(["default","xs","sm","md","lg"]),headerWidth:l.default.oneOf(["auto","block"])},Be.defaultProps={animatePanelsOnClick:!1,changeTabOnSwipe:!0,className:"",transitionSpacing:Qe.NONE,headerWidth:re.Width.BLOCK};xe=function(e){return ce(oh,Ym(Ym({},e),{},{render:function(e){return ce("textarea",Ym({},e))}}))};xe.propTypes={displayPattern:l.default.string.isRequired,onChange:l.default.func.isRequired};function Wm(){return tg.Date.now()}var Km=NaN,Zm="[object Symbol]",Xm=/^\s+|\s+$/g,$m=/^[-+]0x[0-9a-f]+$/i,Jm=/^0b[01]+$/i,Qm=/^0o[0-7]+$/i,eg=parseInt,gr="object"==typeof n&&n&&n.Object===Object&&n,Qe="object"==typeof self&&self&&self.Object===Object&&self,tg=gr||Qe||Function("return this")(),ng=Object.prototype.toString,rg=Math.max,og=Math.min;function ag(e){var t=typeof e;return e&&("object"==t||"function"==t)}function ig(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||!!(n=t)&&"object"==typeof n&&ng.call(t)==Zm)return Km;var t,n;if("string"!=typeof(e=ag(e)?ag(r="function"==typeof e.valueOf?e.valueOf():e)?r+"":r:e))return 0===e?e:+e;e=e.replace(Xm,"");var r=Jm.test(e);return r||Qm.test(e)?eg(e.slice(2),r?2:8):$m.test(e)?Km:+e}var lg=function(r,n,e){var o,a,i,l,s,u,c=0,p=!1,d=!1,t=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function f(e){var t=o,n=a;return o=a=void 0,c=e,l=r.apply(n,t)}function h(e){var t=e-u;return void 0===u||n<=t||t<0||d&&i<=e-c}function m(){var e,t=Wm();if(h(t))return g(t);s=setTimeout(m,(t=n-((e=t)-u),d?og(t,i-(e-c)):t))}function g(e){return s=void 0,t&&o?f(e):(o=a=void 0,l)}function y(){var e=Wm(),t=h(e);if(o=arguments,a=this,u=e,t){if(void 0===s)return c=t=u,s=setTimeout(m,n),p?f(t):l;if(d)return s=setTimeout(m,n),f(u)}return void 0===s&&(s=setTimeout(m,n)),l}return n=ig(n)||0,ag(e)&&(p=!!e.leading,d="maxWait"in e,i=d?rg(ig(e.maxWait)||0,n):i,t="trailing"in e?!!e.trailing:t),y.cancel=function(){void 0!==s&&clearTimeout(s),o=u=a=s=void(c=0)},y.flush=function(){return void 0===s?l:g(Wm())},y};function sg(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}var ug=10,cg=function(e){Ap(n,e);var t=sg(n);function n(){var m;return u(this,n),m=t.call(this),le(Cp(m),"recalculateWidth",function(){requestAnimationFrame(function(){m.setState({inputWidth:Math.max(ug,m.sizerRef.scrollWidth+10)})})}),le(Cp(m),"renderInput",function(){var e=m.props,t=e.typeaheadId,n=e.autoFocus,r=e.multiple,o=e.name,a=e.optionsShown,i=e.placeholder,l=e.selected,s=e.value,u=e.onChange,c=e.onKeyDown,p=e.onFocus,d=e.onPaste,f=e.autoComplete,h=m.state.inputWidth,e=!r||0===l.length;return ce("input",{ref:function(e){m.inputRef=e},className:se({"typeahead__input form-control":r,"form-control":!r}),type:"text",name:o,id:"input-".concat(t),autoFocus:n,placeholder:e?i:"","aria-autocomplete":"list","aria-expanded":a,"aria-haspopup":"listbox","aria-controls":"menu-".concat(t),autoComplete:f,role:"combobox",value:s,style:r&&0<l.length?{width:h}:{},onChange:u,onKeyDown:c,onClick:p,onFocus:p,onPaste:d})}),m.state={inputWidth:ug},m}return s(n,[{key:"componentDidMount",value:function(){this.props.autoFocus&&this.inputRef.focus()}},{key:"componentDidUpdate",value:function(e){e.value!==this.props.value&&this.props.multiple&&this.recalculateWidth()}},{key:"render",value:function(){var t=this,e=this.props,n=e.multiple,r=e.selected,o=e.value,a=e.maxHeight,i=e.renderChip;return n?pe("div",{className:"form-control typeahead__input-container",style:a&&{maxHeight:a},onClick:function(){t.inputRef.focus()},children:[pe("div",{className:"typeahead__input-wrapper",children:[r&&r.map(function(e,t){return i(e,t)}),this.renderInput(),ce("div",{className:"typeahead__input-aligner"})]}),ce("div",{ref:function(e){t.sizerRef=e},className:"sizer form-control typeahead__input",children:o})]}):this.renderInput()}}]),n}(oe.Component);cg.propTypes={typeaheadId:l.default.string.isRequired,name:l.default.string.isRequired,autoFocus:l.default.bool,multiple:l.default.bool.isRequired,value:l.default.string.isRequired,selected:l.default.arrayOf(l.default.object),placeholder:l.default.string,optionsShown:l.default.bool,maxHeight:l.default.number,autoComplete:l.default.string.isRequired,onChange:l.default.func.isRequired,renderChip:l.default.func.isRequired,onKeyDown:l.default.func.isRequired,onFocus:l.default.func.isRequired,onPaste:l.default.func.isRequired},cg.defaultProps={autoFocus:!1,maxHeight:null,placeholder:"",optionsShown:!1,selected:[]};var pg=function(e){var t=e.option,n=e.selected,r=e.onClick,o=e.query,a=t.label,e=t.note,t=t.secondary;return ce("li",{role:"option","aria-selected":"false",className:se("typeahead__option tw-dropdown-item clickable",{"tw-dropdown-item--focused":n}),children:pe("a",{className:"dropdown-item",href:"#",onClick:r,children:[ce("span",{children:function(e,t){if(e&&t){var n=e.toUpperCase().indexOf(t.trim().toUpperCase()),t=n+t.trim().length;if(-1!==n)return pe(M,{children:[e.slice(0,Math.max(0,n)),ce("strong",{children:e.slice(n,t)}),e.slice(Math.max(0,t))]})}return e}(a,o)}),e&&ce("span",{className:"np-text-body-default m-l-1",children:e}),t&&ce("span",{className:"np-text-body-default text-ellipsis",children:t})]})})};function dg(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}pg.propTypes={option:l.default.shape({label:l.default.string.isRequired,note:l.default.string,secondary:l.default.string}).isRequired,query:l.default.string,selected:l.default.bool,onClick:l.default.func},pg.defaultProps={selected:!1,query:"",onClick:function(){}};n=function(e){Ap(o,e);var r=dg(o);function o(e){var c;u(this,o),c=r.call(this,e),le(Cp(c),"handleOnFocus",function(){var e=c.props.onFocus;c.showMenu(),e&&c.props.onFocus()}),le(Cp(c),"onOptionSelected",function(e,t){e.preventDefault(),c.selectItem(t)}),le(Cp(c),"handleOnChange",function(e){var t=c.state,n=t.optionsShown,r=t.selected,o=c.props,t=o.multiple,a=o.onInputChange;n||c.showMenu();var i=e.target.value;!t&&0<r.length&&c.updateSelectedValue([]),c.setState({query:i},function(){c.handleSearchDebounced(i),a&&a(i)})}),le(Cp(c),"handleOnPaste",function(e){var t=c.props,n=t.allowNew,r=t.multiple,o=t.chipSeparators,t=c.state.selected;n&&r&&0<o.length&&(e.preventDefault(),(e=e.clipboardData.getData("text"))&&(o=new RegExp(o.join("|")),o=e.split(o).map(function(e){return{label:e.trim()}}).filter(function(e){return e.label}),c.updateSelectedValue([].concat(K(t),K(o)))))}),le(Cp(c),"handleOnKeyDown",function(e){var t=c.props,n=t.showSuggestions,r=t.allowNew,o=t.multiple,a=t.chipSeparators,i=t.options,t=c.state,l=t.keyboardFocusedOptionIndex,s=t.query,u=t.selected;if(!n&&r&&o&&["Enter","Tab"].concat(K(a)).includes(e.key)&&s.trim())e.preventDefault(),c.selectItem({label:s});else switch(e.keyCode){case _u.DOWN:e.preventDefault(),c.moveFocusedOption(1);break;case _u.UP:e.preventDefault(),c.moveFocusedOption(-1);break;case _u.ENTER:e.preventDefault(),i[l]?c.selectItem(i[l]):r&&s.trim()&&c.selectItem({label:s});break;case _u.BACKSPACE:o&&!s&&0<u.length&&c.updateSelectedValue(u.slice(0,-1))}}),le(Cp(c),"selectItem",function(e){var t=c.props.multiple,n=K(c.state.selected),e=t?(n.push(e),""):(n=[e],e.label);c.updateSelectedValue(n),c.hideMenu(),c.setState({query:e})}),le(Cp(c),"stopPropagation",function(e){e.stopPropagation(),e.preventDefault(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}),le(Cp(c),"handleSearch",function(e){var t=c.props.onSearch;t&&t(e),c.setState(function(e){return{keyboardFocusedOptionIndex:null===e.keyboardFocusedOptionIndex?null:0}})}),le(Cp(c),"handleDocumentClick",function(){var e,t,n,r;c.state.optionsShown&&(c.hideMenu(),e=(r=c.props).allowNew,t=r.onBlur,n=r.autoFillOnBlur,r=c.state.query,c.setState({isFocused:!1}),e&&n&&r.trim()&&c.selectItem({label:r}),t&&t())}),le(Cp(c),"showMenu",function(){c.setState({isFocused:!0,optionsShown:!0},function(){d()&&document.documentElement.classList.add("ios-click"),document.addEventListener("click",c.handleDocumentClick,!1)})}),le(Cp(c),"hideMenu",function(){c.setState({optionsShown:!1,keyboardFocusedOptionIndex:null},function(){d()&&document.documentElement.classList.remove("ios-click"),document.removeEventListener("click",c.handleDocumentClick,!1)})}),le(Cp(c),"updateSelectedValue",function(e){var t=c.props,n=t.onChange,r=t.validateChip,t=e.some(function(e){return!r(e)});c.setState({selected:e,errorState:t},function(){n(e)})}),le(Cp(c),"clear",function(e){e.preventDefault(),0<c.state.selected.length&&c.updateSelectedValue([]),c.setState({query:""})}),le(Cp(c),"removeChip",function(t){var e=c.state.selected;0<e.length&&c.updateSelectedValue(K(e.filter(function(e){return e!==t})))}),le(Cp(c),"renderChip",function(e,t){var n=c.props.validateChip(e);return ce(su,{label:e.label,className:se("m-t-1",{"has-error":!n,"np-chip--valid":n}),onRemove:function(){return c.removeChip(e)}},t)}),le(Cp(c),"renderMenu",function(e){var t=e.footer,n=e.options,r=e.id,o=e.keyboardFocusedOptionIndex,a=e.query,i=e.allowNew,l=e.showNewEntry,s=e.dropdownOpen,e=K(n);return i&&a.trim()&&n.every(function(e){return e.label.trim().toUpperCase()!==a.trim().toUpperCase()})&&l&&e.push({label:a}),ce("div",{className:se("dropdown btn-group btn-block",{open:s}),id:"menu-".concat(r),children:pe("ul",{className:"dropdown-menu",role:"menu","aria-labelledby":"dropdownMenu1",children:[e.map(function(t,e){return ce(pg,{query:a,option:t,selected:o===e,onClick:function(e){c.onOptionSelected(e,t)}},"".concat(t.label).concat(e.toString()))}),t]})})});var t=e.searchDelay,n=e.initialValue,e=e.multiple;c.handleSearchDebounced=lg(c.handleSearch,t);e=!e&&0<n.length?n[0].label:"";return c.state={selected:n,errorState:!1,query:e,keyboardFocusedOptionIndex:null},c}return s(o,[{key:"UNSAFE_componentWillReceiveProps",value:function(t){t.multiple!==this.props.multiple&&this.setState(function(e){e=e.selected;return!t.multiple&&0<e.length?{query:e[0].label,selected:[e[0]]}:{query:""}})}},{key:"componentWillUnmount",value:function(){this.handleSearchDebounced.cancel()}},{key:"moveFocusedOption",value:function(r){var o=this;this.setState(function(e){var t=e.keyboardFocusedOptionIndex,n=o.props.options,e=0;return{keyboardFocusedOptionIndex:e=null!==t?Dm(t+r,0,n.length-1):e}})}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.placeholder,r=e.multiple,o=e.size,a=e.addon,i=e.name,l=e.clearable,s=e.allowNew,u=e.footer,c=e.showSuggestions,p=e.showNewEntry,d=e.options,f=e.minQueryLength,h=e.autoFocus,m=e.maxHeight,g=e.alert,y=e.inputAutoComplete,b=this.state,v=b.errorState,O=b.query,w=b.selected,e=b.optionsShown,b=b.keyboardFocusedOptionIndex,l=l&&(O||0<w.length),f=e&&c&&O.length>=f,d=this.renderMenu({footer:u,options:d,keyboardFocusedOptionIndex:b,query:O,allowNew:s,showNewEntry:p,dropdownOpen:f}),b=v||g&&g.type===re.Sentiment.ERROR,s=!v&&g||g&&g.type===re.Sentiment.ERROR,p=s&&g.type===re.Sentiment.WARNING,v=s&&g.type===re.Sentiment.NEUTRAL;return ce("div",{id:t,className:se("typeahead","typeahead-".concat(o),{"typeahead--has-value":0<w.length,"typeahead--empty":0===w.length,"typeahead--multiple":r,open:f}),onClick:this.stopPropagation,children:pe("div",{className:se("form-group",{"has-error":b,"has-warning":p,"has-info":v}),children:[pe("div",{className:se("input-group input-group-".concat(o),{"input-group--has-error":b}),children:[a&&ce("span",{className:"input-group-addon input-group-addon--search",children:a}),ce(cg,{autoFocus:h,multiple:r,optionsShown:e,placeholder:n,selected:w,maxHeight:m,name:i,value:O,typeaheadId:t,renderChip:this.renderChip,autoComplete:y,onChange:this.handleOnChange,onKeyDown:this.handleOnKeyDown,onFocus:this.handleOnFocus,onPaste:this.handleOnPaste}),l&&ce("div",{className:"input-group-addon",children:ce("button",{type:"button",className:"btn-unstyled",onClick:this.clear,children:ce(S.Cross,{})})})]}),s&&ce(Yf,{type:g.type,children:g.message}),d]})})}}]),o}(oe.Component);n.propTypes={id:l.default.string.isRequired,name:l.default.string.isRequired,options:l.default.arrayOf(l.default.shape({label:l.default.string.isRequired,note:l.default.string,secondary:l.default.string,value:l.default.object})).isRequired,initialValue:l.default.arrayOf(l.default.shape({label:l.default.string.isRequired,note:l.default.string,secondary:l.default.string})),onChange:l.default.func.isRequired,allowNew:l.default.bool,autoFocus:l.default.bool,clearable:l.default.bool,multiple:l.default.bool,showSuggestions:l.default.bool,showNewEntry:l.default.bool,searchDelay:l.default.number,maxHeight:l.default.number,minQueryLength:l.default.number,addon:l.default.node,placeholder:l.default.string,alert:l.default.shape({message:l.default.string.isRequired,type:l.default.oneOf(["error","warning","neutral"]).isRequired}),footer:l.default.node,validateChip:l.default.func,onSearch:l.default.func,onBlur:l.default.func,onInputChange:l.default.func,onFocus:l.default.func,chipSeparators:l.default.arrayOf(l.default.string),size:l.default.oneOf(["md","lg"]),inputAutoComplete:l.default.string,autoFillOnBlur:l.default.bool},n.defaultProps={allowNew:!1,autoFocus:!1,clearable:!0,multiple:!1,maxHeight:null,showSuggestions:!0,showNewEntry:!0,searchDelay:200,minQueryLength:3,addon:null,placeholder:null,alert:null,footer:null,size:re.Size.MEDIUM,chipSeparators:[],initialValue:[],onSearch:null,onBlur:null,onInputChange:null,onFocus:null,validateChip:function(){return!0},inputAutoComplete:"new-password",autoFillOnBlur:!0},(gr=re.UploadStep||(re.UploadStep={})).UPLOAD_IMAGE_STEP="uploadImageStep",gr.MEDIA_UPLOAD_STEP="mediaUploadStep";var fg=r(o(function(e){function s(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}e.exports=function(l){return function(){var e=this,i=arguments;return new Promise(function(t,n){var r=l.apply(e,i);function o(e){s(r,t,n,o,a,"next",e)}function a(e){s(r,t,n,o,a,"throw",e)}o(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports})),Qe=o(function(S){var C=Np.default;function x(){S.exports=x=function(){return i},S.exports.__esModule=!0,S.exports.default=S.exports;var i={},e=Object.prototype,s=e.hasOwnProperty,u=Object.defineProperty||function(e,t,n){e[t]=n.value},t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",o=t.toStringTag||"@@toStringTag";function a(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(e){a=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o,a,i,l,t=t&&t.prototype instanceof d?t:d,t=Object.create(t.prototype),r=new w(r||[]);return u(t,"_invoke",{value:(o=e,a=n,i=r,l="suspendedStart",function(e,t){if("executing"===l)throw new Error("Generator is already running");if("completed"===l){if("throw"===e)throw t;return T()}for(i.method=e,i.arg=t;;){var n=i.delegate;if(n){var r=function e(t,n){var r=t.iterator[n.method];if(void 0===r){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=c(r,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,p;r=r.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,p):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}(n,i);if(r){if(r===p)continue;return r}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===l)throw l="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);l="executing";r=c(o,a,i);if("normal"===r.type){if(l=i.done?"completed":"suspendedYield",r.arg===p)continue;return{value:r.arg,done:i.done}}"throw"===r.type&&(l="completed",i.method="throw",i.arg=r.arg)}})}),t}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}i.wrap=l;var p={};function d(){}function f(){}function h(){}var m={};a(m,r,function(){return this});t=Object.getPrototypeOf,t=t&&t(t(E([])));t&&t!==e&&s.call(t,r)&&(m=t);var g=h.prototype=d.prototype=Object.create(m);function y(e){["next","throw","return"].forEach(function(t){a(e,t,function(e){return this._invoke(t,e)})})}function b(i,l){var t;u(this,"_invoke",{value:function(n,r){function e(){return new l(function(e,t){!function t(e,n,r,o){e=c(i[e],i,n);if("throw"!==e.type){var a=e.arg;return(n=a.value)&&"object"==C(n)&&s.call(n,"__await")?l.resolve(n.__await).then(function(e){t("next",e,r,o)},function(e){t("throw",e,r,o)}):l.resolve(n).then(function(e){a.value=e,r(a)},function(e){return t("throw",e,r,o)})}o(e.arg)}(n,r,e,t)})}return t=t?t.then(e,e):e()}})}function v(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 w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function E(t){if(t){var e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,e=function e(){for(;++n<t.length;)if(s.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return e.next=e}}return{next:T}}function T(){return{value:void 0,done:!0}}return u(g,"constructor",{value:f.prototype=h,configurable:!0}),u(h,"constructor",{value:f,configurable:!0}),f.displayName=a(h,o,"GeneratorFunction"),i.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},i.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,a(e,o,"GeneratorFunction")),e.prototype=Object.create(g),e},i.awrap=function(e){return{__await:e}},y(b.prototype),a(b.prototype,n,function(){return this}),i.AsyncIterator=b,i.async=function(e,t,n,r,o){void 0===o&&(o=Promise);var a=new b(l(e,t,n,r),o);return i.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},y(g),a(g,o,"Generator"),a(g,r,function(){return this}),a(g,"toString",function(){return"[object Generator]"}),i.keys=function(e){var t,n=Object(e),r=[];for(t in n)r.push(t);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},i.values=E,w.prototype={constructor:w,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&s.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function e(e,t){return a.type="throw",a.arg=n,r.next=e,t&&(r.method="next",r.arg=void 0),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var o=this.tryEntries[t],a=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var i=s.call(o,"catchLoc"),l=s.call(o,"finallyLoc");if(i&&l){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(i){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&s.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}var a=(o=o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc?null:o)?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},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),p},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r,o=n.completion;return"throw"===o.type&&(r=o.arg,O(n)),r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},i}S.exports=x,S.exports.__esModule=!0,S.exports.default=S.exports});r(Qe);var gr=Qe(),hg=gr;try{regeneratorRuntime=gr}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=gr:Function("r","regeneratorRuntime = r")(gr)}var mg=ie.defineMessages({csButtonText:{id:"neptune.Upload.csButtonText"},csFailureText:{id:"neptune.Upload.csFailureText"},csSuccessText:{id:"neptune.Upload.csSuccessText"},csTooLargeMessage:{id:"neptune.Upload.csTooLargeMessage"},csWrongTypeMessage:{id:"neptune.Upload.csWrongTypeMessage"},psButtonText:{id:"neptune.Upload.psButtonText"},psProcessingText:{id:"neptune.Upload.psProcessingText"},usButtonText:{id:"neptune.Upload.usButtonText"},usDropMessage:{id:"neptune.Upload.usDropMessage"},usPlaceholder:{id:"neptune.Upload.usPlaceholder"}});function gg(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}var yg=function(e){Ap(r,e);var t=gg(r);function r(){var n;return u(this,r),n=t.call(this),le(Cp(n),"onManualUpload",function(){var e=n.props.fileDropped;n.uploadInputRef&&n.uploadInputRef.current&&e(n.uploadInputRef.current.files[0])}),le(Cp(n),"getImage",function(){var e=n.props,t=e.usHelpImage,e=e.usLabel;return t?"string"==typeof t?ce("img",{src:t,alt:e,className:"thumbnail text-xs-center"}):t:ce("div",{className:"circle circle-sm circle-inverse p-t-1",children:ce(S.Upload,{size:24})})}),n.uploadInputRef=oe.createRef(),n}return s(r,[{key:"render",value:function(){var e=this,t=this.props,n=t.isComplete,r=t.usAccept,o=t.usButtonText,a=t.usDisabled,i=t.usLabel,t=t.usPlaceholder;return ce("div",{children:ce("div",{className:"droppable-default-card","aria-hidden":n,children:pe("div",{className:"droppable-card-content",children:[ce("div",{className:"m-b-3",children:this.getImage()}),i&&ce("h4",{className:"np-text-title-body m-b-1",children:i}),t&&ce("p",{className:"np-text-body-large m-b-3",children:"".concat(t)}),pe("label",{className:"btn btn-primary btn-md ".concat(a?"disabled":""),children:[o?ce("span",{children:o}):ce(S.Upload,{size:24,className:"m-r-0"}),ce("input",{ref:this.uploadInputRef,type:"file",accept:"*"===r?null:r,className:"tw-droppable-input hidden",disabled:a,name:"file-upload",onChange:function(){return e.onManualUpload()}})]})]})})})}}]),r}(oe.PureComponent);function bg(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}yg.propTypes={fileDropped:l.default.func.isRequired,isComplete:l.default.bool.isRequired,usAccept:l.default.string.isRequired,usButtonText:l.default.string.isRequired,usDisabled:l.default.bool.isRequired,usHelpImage:l.default.node.isRequired,usLabel:l.default.string.isRequired,usPlaceholder:l.default.string.isRequired};var vg=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return(2<arguments.length&&void 0!==arguments[2]?arguments[2]:fetch)("".concat(e.url),function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?bg(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):bg(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({method:"POST",body:t},e)).then(function(e){if(e.ok)return e;var t=new Error(e.statusText);throw t.status=e.status,t.response=e,t}).catch(function(e){throw e})},Og=function(r){return new Promise(function(t,n){var e=new FileReader;e.readAsDataURL(r),e.addEventListener("load",function(e){t(e.target.result)}),e.addEventListener("error",function(e){n(e)})})},wg=function(e,t){return Number.isInteger(t)&&e.size<=t},Eg=function(e,t){if(!e&&!t)return"";if(e&&e.type&&""!==e.type)return null!==(e=e.type)&&void 0!==e?e:"";if(t){t=t.match(/^data:([a-z]+\/[a-z]+);/);if(t&&t[1])return null!==(t=t[1])&&void 0!==t?t:""}return""},Tg=function(e,t,n){if(!e||!t)return!1;var r=t.replace(/\s/g,"").split(","),o=Eg(e,n);return!("*"!==t&&!r.includes(o))||r.some(function(e){var t=e.split("/"),e=t[0];return"*"===t[1]&&o.includes(e)})},Sg=["image/jpeg","video/*","application/pdf"],Cg=function(e){for(var t=atob(e),n=t.length,r=new Array(n),o=0;o<n;o+=1)r[o]=t.charCodeAt(o);return new Uint8Array(r)},Qe=function(e){var t=e.isComplete,n=e.usAccept,r=e.usButtonText,o=e.usDisabled,a=e.usHelpImage,i=e.usLabel,l=e.usPlaceholder,s=e.fileDropped;return ce("div",{children:ce("div",{className:"droppable-default-card","aria-hidden":t,children:pe("div",{className:"droppable-card-content",children:[ce("div",{className:"m-b-3",children:a?"string"==typeof a?ce("img",{src:a,alt:i,className:"thumbnail text-xs-center"}):a:ce("div",{className:"circle circle-sm circle-inverse p-t-1",children:ce(S.Upload,{size:24})})}),i&&ce(_,{type:re.Typography.TITLE_BODY,className:"m-b-1",children:i}),l&&ce(z,{as:"p",type:re.Typography.BODY_LARGE,className:"m-b-3",children:"".concat(l)}),ce($s,{disabled:o,onClick:function(){var e,t=function(e){if("*"===e)return Sg;var e=e.split(","),t={"image/*":"image/jpeg","application/*":"application/pdf"};return e.map(function(e){return t[e]||e}).filter(function(e){return Sg.includes(e)})}(n);if(0===t.length)throw new Error("provided mimeTypes not supported");e={allowedMimeTypes:t},new Promise(function(n,t){"undefined"!=typeof window&&void 0!==window.microapps||t("microapps must be available in window to use Spot Platform's Media API"),window.microapps.requestMedia(e).then(function(e){var t=Cg(e.bytes),e=new Blob([t],{type:e.mimeType});n(e)}).catch(function(e){return t(e)})}).then(function(e){return s(e)})},children:r||ce(S.Upload,{size:24,className:"m-r-0"})})]})})})};Qe.propTypes={fileDropped:l.default.func.isRequired,isComplete:l.default.bool.isRequired,usAccept:l.default.string.isRequired,usButtonText:l.default.string.isRequired,usDisabled:l.default.bool.isRequired,usHelpImage:l.default.node.isRequired,usLabel:l.default.string.isRequired,usPlaceholder:l.default.string.isRequired};function xg(e){var t=e.isComplete,n=e.isError,r=e.isSuccess,o=e.onAnimationCompleted,a=e.onClear,i=e.psButtonText,l=e.psProcessingText,s=ae.useTheme().isModern,e=re.Status.PROCESSING;return n&&(e=re.Status.FAILED),r&&(e=re.Status.SUCCEEDED),ce("div",{className:"droppable-processing-card droppable-card","aria-hidden":t,children:pe("div",{className:"droppable-card-content",children:[ce(Vh,{size:re.Size.Small,status:e,onAnimationCompleted:function(e){return o(e)}}),ce(_,{className:se({"m-t-3":!s,"m-b-3":!s,"m-t-2":s,"m-b-2":s}),type:re.Typography.TITLE_BODY,children:l}),i&&ce($s,{onClick:function(e){return a(e)},children:i})]})})}xg.propTypes={isComplete:l.default.bool.isRequired,isError:l.default.bool.isRequired,isSuccess:l.default.bool.isRequired,onAnimationCompleted:l.default.func.isRequired,onClear:l.default.func.isRequired,psButtonText:l.default.string.isRequired,psProcessingText:l.default.string.isRequired};function Dg(e){var t=ae.useTheme().isModern,n=e.csButtonText,r=e.csFailureText,o=e.csSuccessText,a=e.fileName,i=e.isComplete,l=e.isError,s=e.isImage,u=e.onClear,e=e.uploadedImage;return ce("div",{className:"droppable-complete-card droppable-card","aria-hidden":!i,children:pe("div",{className:"droppable-card-content",children:[ce("div",{className:"droppable-card-content d-flex flex-column align-items-center",children:pe(M,l?{children:[t?ce(Me,{size:re.Size.LARGE,sentiment:re.Sentiment.NEGATIVE}):ce(S.AlertCircle,{size:24,className:"text-negative"}),r&&ce("p",{className:se("m-t-2",{"m-b-0":t}),children:r})]}:{children:[s&&e?ce("img",{src:e,alt:"OK",className:"thumbnail "}):ce(S.Document,{}),a&&ce(z,{as:"p",className:"m-b-0",children:a}),o&&ce(_,{className:"caption m-t-1",type:re.Typography.TITLE_BODY,children:o})]})}),n&&ce($s,{priority:t?re.Priority.PRIMARY:re.Priority.SECONDARY,className:se({"m-t-1":t&&!l,"m-t-2":t&&l,"m-t-3":!t}),onClick:function(e){return u(e)},children:n})]})})}function Ag(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}Dg.propTypes={csButtonText:l.default.string.isRequired,csSuccessText:l.default.string.isRequired,csFailureText:l.default.string.isRequired,fileName:l.default.string.isRequired,isComplete:l.default.bool.isRequired,isError:l.default.bool.isRequired,isImage:l.default.bool.isRequired,onClear:l.default.func.isRequired,uploadedImage:l.default.string},Dg.defaultProps={uploadedImage:null};var Ng=["error","success"],Pg=10,kg=(le(gr={},re.UploadStep.UPLOAD_IMAGE_STEP,yg),le(gr,re.UploadStep.MEDIA_UPLOAD_STEP,Qe),gr),Qe=function(e){Ap(n,e);var t=Ag(n);function n(e){var c;return u(this,n),c=t.call(this,e),le(Cp(c),"onAnimationCompleted",function(){var t=fg(hg.mark(function e(t){var n,r,o,a,i,l;return hg.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a=c.state,n=a.response,r=a.isProcessing,o=a.fileName,a=c.props.animationDelay,r&&t===re.Status.SUCCEEDED&&(i=c.props.onSuccess,c.timeouts=setTimeout(function(){c.setState({isProcessing:!1,isComplete:!0},function(){return i?i(n,o):{}})},a)),r&&t===re.Status.FAILED&&(l=c.props.onFailure,c.timeouts=setTimeout(function(){c.setState({isProcessing:!1,isComplete:!0},function(){return l?l(n):{}})},a));case 4:case"end":return e.stop()}},e)}));return function(e){return t.apply(this,arguments)}}()),le(Cp(c),"asyncPost",function(e){var t=c.props,n=t.httpOptions,r=t.fetcher,o=n||{},t=o.fileInputName,t=void 0===t?e.name:t,o=o.data,a=void 0===o?{}:o,i=new FormData;return i.append(t,e),Object.keys(a).forEach(function(e){return i.append(e,a[e])}),vg(c.prepareHttpOptions(n),i,r)}),le(Cp(c),"asyncResponse",function(e,t){c.timeouts=setTimeout(function(){c.setState({response:e,isError:t===Ng[0],isSuccess:t===Ng[1]})},Pg)}),le(Cp(c),"prepareHttpOptions",function(e){if(!e.url)throw new Error("You must supply a URL to post image data asynchronously");return e}),le(Cp(c),"handleOnClear",function(e){e.preventDefault();e=c.props.onCancel;e&&e(),c.reset()}),le(Cp(c),"reset",function(){c.dragCounter=0,clearTimeout(c.timeouts),c.setState({isComplete:!1,isError:!1,isProcessing:!1,isSuccess:!1})}),le(Cp(c),"showDataImage",function(e){c.state.isImage&&c.setState({uploadedImage:e})}),le(Cp(c),"fileDropped",function(){var t=fg(hg.mark(function e(t){var n,r,o,a,i,l,s,u;return hg.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(l=c.props,n=l.httpOptions,r=l.maxSize,o=l.onStart,a=l.usDisabled,i=l.usAccept,l=c.state.isProcessing,a||l)return e.abrupt("return",!1);e.next=4;break;case 4:if(t){e.next=6;break}throw new Error("Could not retrieve file");case 6:return c.setState({fileName:t.name,isDroppable:!1,isProcessing:!0}),o&&o(t),s=null,e.prev=9,e.next=12,Og(t);case 12:s=e.sent,e.next=18;break;case 15:e.prev=15,e.t0=e.catch(9),c.asyncResponse(e.t0,Ng[0]);case 18:if(s){e.next=20;break}return e.abrupt("return",!1);case 20:if(c.setState({isImage:Eg(t,s).includes("image")}),Tg(t,i,s)){e.next=25;break}return u={status:415,statusText:"Unsupported Media Type"},c.asyncResponse(u,Ng[0]),e.abrupt("return",!1);case 25:if(wg(t,r)){e.next=29;break}return u={status:413,statusText:"Request Entity Too Large"},c.asyncResponse(u,Ng[0]),e.abrupt("return",!1);case 29:if(n)return e.next=32,c.asyncPost(t).then(function(e){return c.asyncResponse(e,"success")}).then(function(){return c.showDataImage(s),!0}).catch(function(e){return c.asyncResponse(e,Ng[0]),!1});e.next=33;break;case 32:return e.abrupt("return",e.sent);case 33:return c.showDataImage(s),c.asyncResponse(s,"success"),e.abrupt("return",!0);case 36:case"end":return e.stop()}},e,null,[[9,15]])}));return function(e){return t.apply(this,arguments)}}()),c.dragCounter=0,c.timeouts=null,c.state={fileName:"",isComplete:!1,isError:!1,isImage:!1,isProcessing:!1,isSuccess:!1,response:null,uploadedImage:null},c}return s(n,[{key:"getErrorMessage",value:function(e){switch(e){case 413:return this.props.csTooLargeMessage||this.props.intl.formatMessage(mg.csTooLargeMessage);case 415:return this.props.csWrongTypeMessage||this.props.intl.formatMessage(mg.csWrongTypeMessage);default:return this.props.csFailureText||this.props.intl.formatMessage(mg.csFailureText)}}},{key:"onDragLeave",value:function(e){e.preventDefault(),--this.dragCounter,0===this.dragCounter&&this.setState({isDroppable:!1})}},{key:"onDragEnter",value:function(e){e.preventDefault(),this.dragCounter+=1;var t=this.props.usDisabled,e=this.state.isProcessing;1!==this.dragCounter||t||e||this.setState({isDroppable:!0})}},{key:"onDrop",value:function(e){var t=this.state.isProcessing;e.preventDefault(),t||this.reset(),e.dataTransfer&&e.dataTransfer.files&&e.dataTransfer.files[0]&&this.fileDropped(e.dataTransfer.files[0])}},{key:"render",value:function(){var t=this,e=this.props,n=e.usDropMessage,r=e.usAccept,o=e.usButtonText,a=e.usDisabled,i=e.usHelpImage,l=e.usLabel,s=e.usPlaceholder,u=e.psButtonText,c=e.psProcessingText,p=e.csButtonText,d=e.csSuccessText,f=e.size,h=e.uploadStep,m=e.intl,g=this.state,y=g.response,b=g.fileName,v=g.isComplete,O=g.isDroppable,w=g.isError,E=g.isImage,T=g.isProcessing,e=g.isSuccess,g=g.uploadedImage,h=kg[h]||yg;return pe("div",{className:se("droppable-area",{droppable:!0,"tw-droppable-sm droppable-sm":"sm"===f,"tw-droppable-md droppable-md":"md"===f||!f,"tw-droppable-lg droppable-lg":"lg"===f,"droppable-dropping":O,"droppable-processing":T,"droppable-complete":v,"droppable-negative":w}),onDragEnter:function(e){return t.onDragEnter(e)},onDragLeave:function(e){return t.onDragLeave(e)},onDrop:function(e){return t.onDrop(e)},onDragOver:function(e){return e.preventDefault()},children:[!T&&!v&&ce(h,{fileDropped:function(e){return t.fileDropped(e)},isComplete:v,usAccept:r,usButtonText:o||m.formatMessage(mg.usButtonText),usDisabled:a,usHelpImage:i,usLabel:l,usPlaceholder:s||m.formatMessage(mg.usPlaceholder)}),T&&ce(xg,{isComplete:v,isError:w,isSuccess:e,psButtonText:u||m.formatMessage(mg.psButtonText),psProcessingText:c||m.formatMessage(mg.psProcessingText),onAnimationCompleted:function(e){return t.onAnimationCompleted(e)},onClear:function(e){return t.handleOnClear(e)}}),(e||w||v)&&ce(Dg,{fileName:b,isComplete:v,isError:w,isImage:E,csButtonText:p||m.formatMessage(mg.csButtonText),csFailureText:this.getErrorMessage(null==y?void 0:y.status),csSuccessText:d||m.formatMessage(mg.csSuccessText),uploadedImage:g,onClear:function(e){return t.handleOnClear(e)}}),!T&&ce("div",{className:"droppable-dropping-card droppable-card",children:pe("div",{className:"droppable-card-content",children:[ce("div",{className:"circle circle-sm text-primary",children:ce(S.Plus,{size:"16"})}),ce(_,{type:re.Typography.TITLE_BODY,className:"m-t-3",children:n||m.formatMessage(mg.usDropMessage)})]})})]})}}]),n}(oe.Component);Qe.propTypes={animationDelay:l.default.number,csButtonText:l.default.string,csFailureText:l.default.string,csSuccessText:l.default.string,csTooLargeMessage:l.default.string,csWrongTypeMessage:l.default.string,httpOptions:l.default.shape({url:l.default.string.isRequired,method:l.default.oneOf(["POST","PUT","PATCH"]),fileInputName:l.default.string,data:l.default.object,headers:l.default.object}),fetcher:l.default.func,maxSize:l.default.number,onCancel:l.default.func,onFailure:l.default.func,onStart:l.default.func,onSuccess:l.default.func,psButtonText:l.default.string,psProcessingText:l.default.string,size:l.default.oneOf(["sm","md","lg"]),usAccept:l.default.string,usButtonText:l.default.string,usDisabled:l.default.bool,usDropMessage:l.default.string,usHelpImage:l.default.node,usLabel:l.default.string,usPlaceholder:l.default.string,uploadStep:l.default.oneOf(["uploadImageStep","mediaUploadStep"])},Qe.defaultProps={animationDelay:700,csButtonText:void 0,csFailureText:void 0,csSuccessText:void 0,csTooLargeMessage:void 0,csWrongTypeMessage:void 0,httpOptions:null,maxSize:5e6,onCancel:null,onFailure:null,onStart:null,onSuccess:null,psButtonText:void 0,psProcessingText:void 0,size:"md",usAccept:"image/*",usButtonText:void 0,usDisabled:!1,usDropMessage:void 0,usHelpImage:"",usLabel:"",usPlaceholder:void 0,uploadStep:re.UploadStep.UPLOAD_IMAGE_STEP};function Lg(e){return e.map(function(e){return e.split(",").filter(function(e){return!e.includes("/")}).map(function(e){return e.replace(".","").toUpperCase()}).join(", ")})}var Rg,gr=ie.injectIntl(Qe),Ig=ie.defineMessages({fileIsTooLarge:{id:"neptune.UploadInput.fileIsTooLarge"},fileTypeNotSupported:{id:"neptune.UploadInput.fileTypeNotSupported"},deleteModalTitle:{id:"neptune.UploadInput.deleteModalTitle"},deleteModalBody:{id:"neptune.UploadInput.deleteModalBody"},deleteModalCancelButtonText:{id:"neptune.UploadInput.deleteModalCancelButtonText"},deleteModalConfirmButtonText:{id:"neptune.UploadInput.deleteModalConfirmButtonText"},maximumFilesAlreadyUploaded:{id:"neptune.UploadInput.maximumFilesAlreadyUploaded"}}),_g=ie.defineMessages({uploadFile:{id:"neptune.UploadButton.uploadFile"},uploadFiles:{id:"neptune.UploadButton.uploadFiles"},instructions:{id:"neptune.UploadButton.instructions"},allFileTypes:{id:"neptune.UploadButton.allFileTypes"},dropFile:{id:"neptune.UploadButton.dropFiles"}}),Mg=[re.FileType.PDF,re.FileType.JPG,re.FileType.PNG];function jg(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Ug(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?jg(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):jg(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}(Qe=Rg=Rg||{}).uploadInput="uploadInput",Qe.mediaBody="mediaBody";function Bg(e){e.preventDefault()}function Fg(e){var t=e.disabled,n=e.multiple,r=e.description,o=void 0===(s=e.fileTypes)?Mg:s,a=void 0===(c=e.sizeLimit)?5e3:c,i=e.maxFiles,l=e.onChange,s=void 0===(h=e.id)?"np-upload-button":h,u=e.uploadButtonTitle,c=e.multipleFileInputWithFilesAdded,p=ae.useTheme().isModern,d=(ws(),ie.useIntl().formatMessage),f=oe.useRef(null),h=oe.useState(!1),h=(e=fe(h,2))[0],m=e[1],g=oe.useRef(0),y=function(){return"*"===o?o:(Array.isArray(o)?Lg(o):Lg([o])).join(", ")};return pe("div",Ug(Ug({className:se("np-upload-button-container","droppable",{"droppable-dropping":h})},!t&&{onDragEnter:function(e){e.preventDefault(),g.current+=1,1===g.current&&m(!0)},onDragLeave:function(e){e.preventDefault(),--g.current,0===g.current&&m(!1)},onDrop:function(e){e.preventDefault(),g.current=0,m(!1),e.dataTransfer&&e.dataTransfer.files&&e.dataTransfer.files[0]&&l(e.dataTransfer.files)},onDragOver:Bg}),{},{children:[ce("input",Ug(Ug(Ug({ref:f,id:s,type:"file"},"*"===y()?null:Array.isArray(o)?{accept:o.join(",")}:{accept:o}),n&&{multiple:!0}),{},{className:"tw-droppable-input",disabled:t,name:"file-upload","data-testid":Rg.uploadInput,onChange:function(e){e=e.target.files;e&&(l(e),f.current&&(f.current.value=""))}})),ce("label",{htmlFor:s,className:se("btn","np-upload-accent","np-upload-button",{disabled:t,"np-upload-input--square-top":c}),children:pe("div",{className:"media",children:[ce("div",{className:"np-upload-icon media-left",children:ce(S.Upload,{size:24,className:"text-link"})}),pe("div",{className:"media-body text-xs-left","data-testid":Rg.mediaBody,children:[ce(z,{type:re.Typography.BODY_LARGE_BOLD,className:"d-block",children:u||d(n?_g.uploadFiles:_g.uploadFile)}),ce(M,{children:pe(z,{className:se({"text-primary":!t,small:!p,"font-weight-normal":!p}),children:[function(){if(r)return r;var e="*"===(e=y())?d(_g.allFileTypes):e;return d(_g.instructions,{fileTypes:e,size:Math.round(a/1e3)})}(),i&&pe(M,{children:[ce("br",{}),"Maximum ".concat(i," files.")]})]})})]})]})}),h&&pe("div",{className:se("droppable-card","droppable-dropping-card","droppable-card-content",{"np-upload-input--square-top":c}),children:[ce(S.PlusCircle,{className:"m-x-1",size:24}),ce("div",{children:d(_g.dropFile)})]})]}))}function qg(e){var t=e.children,n=e.url,r=e.onDownload,e=e.singleFileUpload;return n?ce("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:e?"np-upload-item--single-file":"",onClick:r,children:t}):ce("div",{children:t})}var zg,Gg=ie.defineMessages({uploadingFailed:{id:"neptune.UploadItem.uploadingFailed"},uploaded:{id:"neptune.UploadItem.uploaded"},uploading:{id:"neptune.UploadItem.uploading"},deleting:{id:"neptune.UploadItem.deleting"},uploadedFile:{id:"neptune.UploadItem.uploadedFile"},removeFile:{id:"neptune.UploadItem.removeFile"}});(Qe=zg=zg||{}).uploadItem="uploadItem",Qe.mediaBody="mediaBody";function Vg(e){var t=e.file,n=e.canDelete,r=e.onDelete,o=e.onDownload,a=e.singleFileUpload,i=ie.useIntl().formatMessage,l=t.status,s=t.filename,u=t.error,c=t.url,p=ae.useTheme().isModern,e=[re.Status.SUCCEEDED,void 0].includes(l)&&!!c;return ce("div",{className:se("np-upload-item",{"np-upload-item__link":e}),"data-testid":zg.uploadItem,children:pe("div",{className:"np-upload-item__body",children:[ce(qg,{url:e?c:void 0,singleFileUpload:a,onDownload:function(e){o&&(e.preventDefault(),o(t))},children:ce("div",{className:"np-upload-button",children:pe("div",{className:"media",children:[ce("div",{className:"np-upload-icon media-left",children:function(){if(u||l===re.Status.FAILED)return p?ce(Me,{size:re.Size.SMALL,sentiment:re.Sentiment.NEGATIVE}):ce(S.AlertCircle,{size:24,className:"text-negative"});var e;switch(l){case re.Status.PROCESSING:case re.Status.PENDING:e=ce(Vh,{size:re.Size.EXTRA_SMALL,status:re.Status.PROCESSING});break;case re.Status.SUCCEEDED:case re.Status.DONE:default:e=p?ce(Me,{size:re.Size.SMALL,sentiment:re.Sentiment.POSITIVE}):ce(Vh,{size:re.Size.EXTRA_SMALL,status:re.Status.SUCCEEDED})}return p?e:ce("span",{style:{transform:"scale(0.8335)"},children:e})}()}),pe("div",{className:"media-body text-xs-left","data-testid":zg.mediaBody,children:[ce(z,{className:"text-word-break d-block text-primary",children:s||i(Gg.uploadedFile)}),function(){if(u||l===re.Status.FAILED)return ce(z,{type:re.Typography.BODY_DEFAULT_BOLD,className:"text-negative",children:"object"===Pp(u)&&u.message||u||i(Gg.uploadingFailed)});switch(l){case re.Status.PENDING:return ce(z,{type:re.Typography.BODY_DEFAULT_BOLD,children:i(Gg.uploading)});case re.Status.PROCESSING:return ce(z,{children:i(Gg.deleting)});case re.Status.SUCCEEDED:case re.Status.DONE:default:return ce(z,{type:re.Typography.BODY_DEFAULT_BOLD,className:"text-positive",children:i(Gg.uploaded)})}}()]})]})})}),n&&ce("button",{"aria-label":i(Gg.removeFile,{filename:s}),className:se("btn","np-upload-item__remove-button","media-left",{"np-upload-item--single-file":a}),type:"button",onClick:function(){return r()},children:ce(S.CrossCircleFill,{size:16})})]})})}function Hg(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Yg(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Hg(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hg(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Wg(e){var t=e.name,n=e.size,e=(new Date).getTime();return"".concat(t,"_").concat(n,"_").concat(e)}Qe={de:{"neptune.Chips.ariaLabel":"{choice} zurücksetzen","neptune.ClearButton.ariaLabel":"Zurücksetzen","neptune.CloseButton.ariaLabel":"Schließen","neptune.DateInput.day.label":"Tag","neptune.DateInput.month.label":"Monat","neptune.DateInput.year.label":"Jahr","neptune.MoneyInput.Select.placeholder":"Wähle eine der Möglichkeiten aus...","neptune.Pagination.ariaLabel":"Seitennummer-Navigation","neptune.PaginationLink.ariaLabel.active":"Weiter zur Seite {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Aktuelle Seite – Seite {pageNumber}","neptune.Select.searchPlaceholder":"Wird gesucht...","neptune.Summary.statusDone":"Schritt erledigt","neptune.Summary.statusNotDone":"Schritt noch zu erledigen","neptune.Summary.statusPending":"Schritt ausstehend","neptune.Upload.csButtonText":"Eine andere Datei hochladen?","neptune.Upload.csFailureText":"Hochladen fehlgeschlagen. Bitte versuche es erneut","neptune.Upload.csSuccessText":"Fertig hochgeladen!","neptune.Upload.csTooLargeMessage":"Bitte wähle eine Datei aus, die kleiner als 5 MB ist","neptune.Upload.csWrongTypeMessage":"Dateityp wird nicht unterstützt. Bitte versuche es erneut mit einer anderen Datei","neptune.Upload.psButtonText":"Abbrechen","neptune.Upload.psProcessingText":"Wird hochgeladen...","neptune.Upload.usButtonText":"Oder wähle eine Datei aus","neptune.Upload.usDropMessage":"Datei zum Hochladen in dieses Feld ziehen","neptune.Upload.usPlaceholder":"Ziehe eine Datei in dieses Feld, die kleiner als 5 MB ist","neptune.UploadButton.allFileTypes":"Alle Dateiformate","neptune.UploadButton.dropFiles":"Datei zum Hochladen in dieses Feld ziehen","neptune.UploadButton.instructions":"{fileTypes}, kleiner als {size} MB","neptune.UploadButton.uploadFile":"Datei hochladen","neptune.UploadButton.uploadFiles":"Dateien hochladen","neptune.UploadInput.deleteModalBody":"Wenn du diese Datei entfernst, wird sie aus unserem System gelöscht werden.","neptune.UploadInput.deleteModalCancelButtonText":"Abbrechen","neptune.UploadInput.deleteModalConfirmButtonText":"Entfernen","neptune.UploadInput.deleteModalTitle":"Möchtest du diese Datei wirklich entfernen?","neptune.UploadInput.fileIsTooLarge":"Die Datei ist zu groß","neptune.UploadInput.fileTypeNotSupported":"Dateityp wird nicht unterstützt","neptune.UploadInput.maximumFilesAlreadyUploaded":"Leider ist das Hochladen fehlgeschlagen, da wir nicht mehr als {maxFilesAllowed} Dateien auf einmal akzeptieren können.","neptune.UploadItem.deleting":"Wird gelöscht...","neptune.UploadItem.removeFile":"Datei {filename} entfernen","neptune.UploadItem.uploaded":"Hochgeladen","neptune.UploadItem.uploadedFile":"Hochgeladene Datei","neptune.UploadItem.uploading":"Wird hochgeladen...","neptune.UploadItem.uploadingFailed":"Hochladen fehlgeschlagen"},en:Xh,es:{"neptune.Chips.ariaLabel":"Descartar {choice}","neptune.ClearButton.ariaLabel":"Borrar","neptune.CloseButton.ariaLabel":"Cerrar","neptune.DateInput.day.label":"Día","neptune.DateInput.month.label":"Mes","neptune.DateInput.year.label":"Año","neptune.MoneyInput.Select.placeholder":"Selecciona una opción...","neptune.Pagination.ariaLabel":"Navegación por las páginas","neptune.PaginationLink.ariaLabel.active":"Ve a la página {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Página actual, página {pageNumber}","neptune.Select.searchPlaceholder":"Buscar...","neptune.Summary.statusDone":"Apartado listo","neptune.Summary.statusNotDone":"Apartado a completar","neptune.Summary.statusPending":"Apartado pendiente","neptune.Upload.csButtonText":"¿Quieres subir otro archivo?","neptune.Upload.csFailureText":"La carga del archivo ha fallado. Por favor, inténtalo de nuevo","neptune.Upload.csSuccessText":"¡Se ha subido el archivo!","neptune.Upload.csTooLargeMessage":"Por favor, sube un archivo de menos de 5 MB","neptune.Upload.csWrongTypeMessage":"Tipo de archivo no aceptado. Por favor, inténtalo de nuevo con un archivo diferente","neptune.Upload.psButtonText":"Cancela","neptune.Upload.psProcessingText":"Subiendo...","neptune.Upload.usButtonText":"O selecciona un archivo","neptune.Upload.usDropMessage":"Arrastra un archivo para subirlo","neptune.Upload.usPlaceholder":"Arrastra y suelta un archivo menor de 5MB","neptune.UploadButton.allFileTypes":"Todos los tipos de archivos","neptune.UploadButton.dropFiles":"Arrastra un archivo para subirlo","neptune.UploadButton.instructions":"{fileTypes}, menor que {size}MB","neptune.UploadButton.uploadFile":"Subir archivo","neptune.UploadButton.uploadFiles":"Subir archivos","neptune.UploadInput.deleteModalBody":"La eliminación de este archivo lo borrará de nuestro sistema.","neptune.UploadInput.deleteModalCancelButtonText":"Cancelar","neptune.UploadInput.deleteModalConfirmButtonText":"Eliminar","neptune.UploadInput.deleteModalTitle":"¿Estás seguro que quieres eliminar este archivo?","neptune.UploadInput.fileIsTooLarge":"El archivo es demasiado grande","neptune.UploadInput.fileTypeNotSupported":"Tipo de archivo no compatible","neptune.UploadInput.maximumFilesAlreadyUploaded":"Lo sentimos, ha habido un error porque solo podemos aceptar {maxFilesAllowed} archivos a la vez.","neptune.UploadItem.deleting":"Eliminando...","neptune.UploadItem.removeFile":"Eliminar el archivo {filename}","neptune.UploadItem.uploaded":"Subido","neptune.UploadItem.uploadedFile":"Archivo subido","neptune.UploadItem.uploading":"Subiendo...","neptune.UploadItem.uploadingFailed":"Fallo al subir el archivo"},fr:{"neptune.Chips.ariaLabel":"Effacer {choice}","neptune.ClearButton.ariaLabel":"Effacer","neptune.CloseButton.ariaLabel":"Fermer","neptune.DateInput.day.label":"Jour","neptune.DateInput.month.label":"Mois","neptune.DateInput.year.label":"Année","neptune.MoneyInput.Select.placeholder":"Sélectionner une option...","neptune.Pagination.ariaLabel":"Navigation par pagination","neptune.PaginationLink.ariaLabel.active":"Aller à la page {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Page actuelle, page {pageNumber}","neptune.Select.searchPlaceholder":"Recherche...","neptune.Summary.statusDone":"Validé","neptune.Summary.statusNotDone":"À compléter","neptune.Summary.statusPending":"En attente","neptune.Upload.csButtonText":"Envoyer un autre fichier ?","neptune.Upload.csFailureText":"Échec du téléchargement. Veuillez réessayer","neptune.Upload.csSuccessText":"Téléchargement terminé !","neptune.Upload.csTooLargeMessage":"Veuillez fournir un fichier inférieur à 5 Mo","neptune.Upload.csWrongTypeMessage":"Format non pris en charge. Veuillez réessayer avec un fichier différent","neptune.Upload.psButtonText":"Annuler","neptune.Upload.psProcessingText":"Téléchargement...","neptune.Upload.usButtonText":"Ou sélectionnez un fichier","neptune.Upload.usDropMessage":"Déposer un fichier pour démarrer le téléchargement","neptune.Upload.usPlaceholder":"Glissez et déposez un fichier inférieur à 5 Mo","neptune.UploadButton.allFileTypes":"Tous types de fichiers","neptune.UploadButton.dropFiles":"Déposer un fichier pour démarrer le téléchargement","neptune.UploadButton.instructions":"{fileTypes}, inférieur à {size} Mo","neptune.UploadButton.uploadFile":"Envoyer le fichier","neptune.UploadButton.uploadFiles":"Transférer des documents","neptune.UploadInput.deleteModalBody":"La suppression de ce fichier sera définitive sur notre système.","neptune.UploadInput.deleteModalCancelButtonText":"Annuler","neptune.UploadInput.deleteModalConfirmButtonText":"Supprimer","neptune.UploadInput.deleteModalTitle":"Voulez-vous vraiment supprimer ce fichier ?","neptune.UploadInput.fileIsTooLarge":"Fichier trop lourd","neptune.UploadInput.fileTypeNotSupported":"Type de fichier non pris en charge","neptune.UploadInput.maximumFilesAlreadyUploaded":"Nous sommes désolés, ce téléchargement a échoué car nous ne pouvons accepter que {maxFilesAllowed} fichiers à la fois.","neptune.UploadItem.deleting":"Suppression...","neptune.UploadItem.removeFile":"Supprimer le fichier {filename}","neptune.UploadItem.uploaded":"Téléchargé","neptune.UploadItem.uploadedFile":"Fichier téléchargé","neptune.UploadItem.uploading":"Téléchargement...","neptune.UploadItem.uploadingFailed":"Échec du téléchargement"},hu:{"neptune.Chips.ariaLabel":"{choice} törlése","neptune.ClearButton.ariaLabel":"Törlés","neptune.CloseButton.ariaLabel":"Bezárás","neptune.DateInput.day.label":"Nap","neptune.DateInput.month.label":"Hónap","neptune.DateInput.year.label":"Év","neptune.MoneyInput.Select.placeholder":"Válassz ki egy lehetőséget...","neptune.Pagination.ariaLabel":"Lapszámos navigáció","neptune.PaginationLink.ariaLabel.active":"Ugrás a(z) {pageNumber}. oldalra","neptune.PaginationLink.ariaLabel.inactive":"Jelenlegi oldal, {pageNumber}. oldal","neptune.Select.searchPlaceholder":"Keresés...","neptune.Summary.statusDone":"Kész","neptune.Summary.statusNotDone":"Hátravan","neptune.Summary.statusPending":"Függőben","neptune.Upload.csButtonText":"Másik fájl feltöltése?","neptune.Upload.csFailureText":"Feltöltés sikertelen. Kérünk, próbáld újra","neptune.Upload.csSuccessText":"Feltöltés sikeres","neptune.Upload.csTooLargeMessage":"Kérünk, 5 MB-nál kisebb fájlt tölts fel","neptune.Upload.csWrongTypeMessage":"Nem támogatott fájltípus. Kérünk, próbáld újra másik fájllal","neptune.Upload.psButtonText":"Mégsem","neptune.Upload.psProcessingText":"Feltöltés...","neptune.Upload.usButtonText":"Vagy válaszd ki a fájlt","neptune.Upload.usDropMessage":"Húzd ide a fájlokat a feltöltéshez","neptune.Upload.usPlaceholder":"Húzz ide egy 5MB-nál kisebb fájlt","neptune.UploadButton.allFileTypes":"Összes fájltípus","neptune.UploadButton.dropFiles":"Húzd a fájlokat ide a feltöltéshez","neptune.UploadButton.instructions":"{fileTypes}, legfeljebb {size}MB","neptune.UploadButton.uploadFile":"Fájl feltöltése","neptune.UploadButton.uploadFiles":"Fájlok feltöltése","neptune.UploadInput.deleteModalBody":"Ha törlöd ezt a fájlt, azzal a rendszerünkből is eltávolítod.","neptune.UploadInput.deleteModalCancelButtonText":"Mégsem","neptune.UploadInput.deleteModalConfirmButtonText":"Eltávolítás","neptune.UploadInput.deleteModalTitle":"Biztosan törölni szeretnéd ezt a fájlt?","neptune.UploadInput.fileIsTooLarge":"A fájl túl nagy","neptune.UploadInput.fileTypeNotSupported":"Nem támogatott fájltípus","neptune.UploadInput.maximumFilesAlreadyUploaded":"Sajnos ez a feltöltés sikertelen volt, mert csak {maxFilesAllowed} fájlt tudunk egyszerre elfogadni.","neptune.UploadItem.deleting":"Törlés...","neptune.UploadItem.removeFile":"{filename} fájl törlése","neptune.UploadItem.uploaded":"Feltöltve","neptune.UploadItem.uploadedFile":"Feltöltött fájl","neptune.UploadItem.uploading":"Feltöltés...","neptune.UploadItem.uploadingFailed":"Feltöltés sikertelen"},id:{"neptune.Chips.ariaLabel":"Hapus {choice}","neptune.ClearButton.ariaLabel":"Hapus","neptune.CloseButton.ariaLabel":"Tutup","neptune.DateInput.day.label":"Hari","neptune.DateInput.month.label":"Bulan","neptune.DateInput.year.label":"Tahun","neptune.MoneyInput.Select.placeholder":"Pilih opsi...","neptune.Pagination.ariaLabel":"Halaman navigasi","neptune.PaginationLink.ariaLabel.active":"Lanjut ke halaman {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Halaman saat ini, halaman {pageNumber}","neptune.Select.searchPlaceholder":"Cari...","neptune.Summary.statusDone":"Item selesai","neptune.Summary.statusNotDone":"Item yang harus dilakukan","neptune.Summary.statusPending":"Item tertunda","neptune.Upload.csButtonText":"Unggah file lainnya?","neptune.Upload.csFailureText":"Unggahan gagal. Silakan coba lagi","neptune.Upload.csSuccessText":"Pengunggahan selesai!","neptune.Upload.csTooLargeMessage":"Harap berikan file kurang dari 5MB","neptune.Upload.csWrongTypeMessage":"Tipe file ini tidak didukung. Mohon coba lagi dengan file yang berbeda","neptune.Upload.psButtonText":"Batalkan","neptune.Upload.psProcessingText":"Mengunggah...","neptune.Upload.usButtonText":"Atau pilih file","neptune.Upload.usDropMessage":"Letakkan file untuk mulai mengunggah","neptune.Upload.usPlaceholder":"Geser dan letakkan file berukuran kurang dari 5MB","neptune.UploadButton.allFileTypes":"Semua jenis file","neptune.UploadButton.dropFiles":"Lepaskan file untuk mulai mengunggah","neptune.UploadButton.instructions":"{fileTypes}, kurang dari {size}MB","neptune.UploadButton.uploadFile":"Unggah file","neptune.UploadButton.uploadFiles":"Unggah file","neptune.UploadInput.deleteModalBody":"Menghapus file ini akan menghilangkannya dari sistem kami.","neptune.UploadInput.deleteModalCancelButtonText":"Batalkan","neptune.UploadInput.deleteModalConfirmButtonText":"Hapus","neptune.UploadInput.deleteModalTitle":"Yakin ingin menghapus file ini?","neptune.UploadInput.fileIsTooLarge":"File terlalu besar","neptune.UploadInput.fileTypeNotSupported":"Jenis file tidak didukung","neptune.UploadInput.maximumFilesAlreadyUploaded":"Maaf, unggahan ini gagal karena kami hanya dapat menerima {maxFilesAllowed} file sekaligus.","neptune.UploadItem.deleting":"Menghapus...","neptune.UploadItem.removeFile":"Hapus file {filename}","neptune.UploadItem.uploaded":"Diunggah","neptune.UploadItem.uploadedFile":"File yang diunggah","neptune.UploadItem.uploading":"Mengunggah...","neptune.UploadItem.uploadingFailed":"Pengunggahan gagal"},it:{"neptune.Chips.ariaLabel":"Rimuovi {choice}","neptune.ClearButton.ariaLabel":"Elimina","neptune.CloseButton.ariaLabel":"Chiudi","neptune.DateInput.day.label":"Giorno","neptune.DateInput.month.label":"Mese","neptune.DateInput.year.label":"Anno","neptune.MoneyInput.Select.placeholder":"Seleziona un'opzione...","neptune.Pagination.ariaLabel":"Navigazione","neptune.PaginationLink.ariaLabel.active":"Via a pagina {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Pagina corrente, pagina {pageNumber}","neptune.Select.searchPlaceholder":"Cerca...","neptune.Summary.statusDone":"Completato","neptune.Summary.statusNotDone":"Da completare","neptune.Summary.statusPending":"In corso","neptune.Upload.csButtonText":"Carica un altro documento?","neptune.Upload.csFailureText":"Caricamento fallito. Per favore riprova","neptune.Upload.csSuccessText":"Caricamento completato!","neptune.Upload.csTooLargeMessage":"Carica un file più piccolo di 5MB","neptune.Upload.csWrongTypeMessage":"Formato del documento non supportato. Riprova con un formato diverso","neptune.Upload.psButtonText":"Annulla","neptune.Upload.psProcessingText":"Caricamento...","neptune.Upload.usButtonText":"O seleziona un documento","neptune.Upload.usDropMessage":"Rilascia il documento per iniziare il caricamento","neptune.Upload.usPlaceholder":"Trascina e rilascia un file inferiore a 5MB","neptune.UploadButton.allFileTypes":"Tutti i tipi di file","neptune.UploadButton.dropFiles":"Rilascia file per iniziare a caricare","neptune.UploadButton.instructions":"{fileTypes}, minore di {size}MB","neptune.UploadButton.uploadFile":"Carica un file","neptune.UploadButton.uploadFiles":"Carica i file","neptune.UploadInput.deleteModalBody":"Rimuovere questo file lo cancellerà dal nostro sistema.","neptune.UploadInput.deleteModalCancelButtonText":"Annulla","neptune.UploadInput.deleteModalConfirmButtonText":"Rimuovi","neptune.UploadInput.deleteModalTitle":"Vuoi davvero cancellare questo file?","neptune.UploadInput.fileIsTooLarge":"File troppo grande","neptune.UploadInput.fileTypeNotSupported":"Tipo di file non supportato","neptune.UploadInput.maximumFilesAlreadyUploaded":"Siamo spiacenti, questo caricamento non è riuscito perché possiamo accettare solo {maxFilesAllowed} file alla volta.","neptune.UploadItem.deleting":"Eliminando...","neptune.UploadItem.removeFile":"Rimuovi file {filename}","neptune.UploadItem.uploaded":"Caricato","neptune.UploadItem.uploadedFile":"File caricato","neptune.UploadItem.uploading":"Caricamento...","neptune.UploadItem.uploadingFailed":"Caricamento fallito"},ja:{"neptune.Chips.ariaLabel":"{choice} をクリア","neptune.ClearButton.ariaLabel":"消去","neptune.CloseButton.ariaLabel":"閉じる","neptune.DateInput.day.label":"日","neptune.DateInput.month.label":"月","neptune.DateInput.year.label":"年","neptune.MoneyInput.Select.placeholder":"選択してください...","neptune.Pagination.ariaLabel":"ページネーションナビゲーション","neptune.PaginationLink.ariaLabel.active":"{pageNumber}のページへ移動します","neptune.PaginationLink.ariaLabel.inactive":"現在のページ、{pageNumber}ページ","neptune.Select.searchPlaceholder":"検索... ","neptune.Summary.statusDone":"完了","neptune.Summary.statusNotDone":"未対応","neptune.Summary.statusPending":"保留中","neptune.Upload.csButtonText":"別のファイルをアップロードしますか?","neptune.Upload.csFailureText":"アップロードに失敗しました。もう一度やり直してください。","neptune.Upload.csSuccessText":"アップロードが完了しました。","neptune.Upload.csTooLargeMessage":"5MBよりも小さいファイルをアップロードください","neptune.Upload.csWrongTypeMessage":"ファイルの種類はサポートされていません。別のファイルで再度お試しください","neptune.Upload.psButtonText":"キャンセル","neptune.Upload.psProcessingText":"アップロード中…","neptune.Upload.usButtonText":"または、ファイルを選択する","neptune.Upload.usDropMessage":"ファイルをドロップしてアップロードする","neptune.Upload.usPlaceholder":"5MB以下のファイルのみドラッグ&ドロップが可能です","neptune.UploadButton.allFileTypes":"すべてのファイル種類","neptune.UploadButton.dropFiles":"ファイルをドロップしてアップロードする","neptune.UploadButton.instructions":"{fileTypes}、{size} MB以下","neptune.UploadButton.uploadFile":"ファイルのアップロード","neptune.UploadButton.uploadFiles":"ファイルのアップロード","neptune.UploadInput.deleteModalBody":"このファイルを削除すると、当社のシステムからも削除されます。","neptune.UploadInput.deleteModalCancelButtonText":"キャンセル","neptune.UploadInput.deleteModalConfirmButtonText":"削除","neptune.UploadInput.deleteModalTitle":"このファイルを削除しますか?","neptune.UploadInput.fileIsTooLarge":"ファイルが大きすぎます。","neptune.UploadInput.fileTypeNotSupported":"このファイルの種類はサポートされていません","neptune.UploadInput.maximumFilesAlreadyUploaded":"申し訳ございませんが、このアップロードに失敗しました。一度に{maxFilesAllowed}個のファイルのみ受付可能です。","neptune.UploadItem.deleting":"削除中...","neptune.UploadItem.removeFile":"{filename} を削除","neptune.UploadItem.uploaded":"アップロード済み","neptune.UploadItem.uploadedFile":"アップロード済みのファイル","neptune.UploadItem.uploading":"アップロード中…","neptune.UploadItem.uploadingFailed":"アップロードが失敗しました"},pl:{"neptune.Chips.ariaLabel":"Wyczyść {choice}","neptune.ClearButton.ariaLabel":"Wyczyść","neptune.CloseButton.ariaLabel":"Zamknij","neptune.DateInput.day.label":"Dzień","neptune.DateInput.month.label":"Miesiąc","neptune.DateInput.year.label":"Rok","neptune.MoneyInput.Select.placeholder":"Wybierz opcję...","neptune.Pagination.ariaLabel":"Nawigacja w paginacji","neptune.PaginationLink.ariaLabel.active":"Przejdź do strony {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Obecna strona, strona {pageNumber}","neptune.Select.searchPlaceholder":"Wyszukaj...","neptune.Summary.statusDone":"Czynność wykonana","neptune.Summary.statusNotDone":"Czynność do wykonania","neptune.Summary.statusPending":"Czynność oczekująca","neptune.Upload.csButtonText":"Prześlij kolejny plik?","neptune.Upload.csFailureText":"Przesyłanie nie powiodło się. Proszę spróbować ponownie","neptune.Upload.csSuccessText":"Przesyłanie zakończone!","neptune.Upload.csTooLargeMessage":"Proszę przesłać plik mniejszy niż 5MB","neptune.Upload.csWrongTypeMessage":"Nieobsługiwany typ pliku. Spróbuj ponownie z innym plikiem","neptune.Upload.psButtonText":"Anuluj","neptune.Upload.psProcessingText":"Przesyłanie...","neptune.Upload.usButtonText":"Lub wybierz plik","neptune.Upload.usDropMessage":"Upuść plik, aby rozpocząć przesyłanie","neptune.Upload.usPlaceholder":"Przeciągnij i upuść plik mniejszy niż 5MB","neptune.UploadButton.allFileTypes":"Wszystkie typy plików","neptune.UploadButton.dropFiles":"Upuść plik, żeby rozpocząć przesyłanie","neptune.UploadButton.instructions":"{fileTypes}, mniejsze niż {size}MB","neptune.UploadButton.uploadFile":"Prześlij plik","neptune.UploadButton.uploadFiles":"Prześlij pliki","neptune.UploadInput.deleteModalBody":"Usunięcie tego pliku oznacza usunięcie go z naszego systemu.","neptune.UploadInput.deleteModalCancelButtonText":"Anuluj","neptune.UploadInput.deleteModalConfirmButtonText":"Usuń","neptune.UploadInput.deleteModalTitle":"Czy na pewno chcesz usunąć ten plik?","neptune.UploadInput.fileIsTooLarge":"Plik jest za duży","neptune.UploadInput.fileTypeNotSupported":"Nieobsługiwany typ pliku","neptune.UploadInput.maximumFilesAlreadyUploaded":"Sorry, this upload failed because we can only accept {maxFilesAllowed} files at once.","neptune.UploadItem.deleting":"Usuwanie...","neptune.UploadItem.removeFile":"Usuń plik {filename}","neptune.UploadItem.uploaded":"Przesłano","neptune.UploadItem.uploadedFile":"Przesłany plik","neptune.UploadItem.uploading":"Przesyłanie...","neptune.UploadItem.uploadingFailed":"Przesyłanie nie powiodło się"},pt:{"neptune.Chips.ariaLabel":"Remover {choice}","neptune.ClearButton.ariaLabel":"Remover","neptune.CloseButton.ariaLabel":"Fechar","neptune.DateInput.day.label":"Dia","neptune.DateInput.month.label":"Mês","neptune.DateInput.year.label":"Ano","neptune.MoneyInput.Select.placeholder":"Escolha uma opção...","neptune.Pagination.ariaLabel":"Navegação pelas páginas","neptune.PaginationLink.ariaLabel.active":"Ir para a página {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Página atual, página {pageNumber}","neptune.Select.searchPlaceholder":"Buscar...","neptune.Summary.statusDone":"Pronto","neptune.Summary.statusNotDone":"Não iniciado","neptune.Summary.statusPending":"Pendente","neptune.Upload.csButtonText":"Enviar outro documento?","neptune.Upload.csFailureText":"Falha no envio. Por favor, tente novamente","neptune.Upload.csSuccessText":"Envio concluído!","neptune.Upload.csTooLargeMessage":"Por favor, envie um arquivo com menos de 5MB","neptune.Upload.csWrongTypeMessage":"Não trabalhamos com este tipo de arquivo. Por favor, tente novamente com um arquivo diferente","neptune.Upload.psButtonText":"Cancelar","neptune.Upload.psProcessingText":"Enviando...","neptune.Upload.usButtonText":"Ou escolha um arquivo","neptune.Upload.usDropMessage":"Arraste o arquivo para iniciar o envio","neptune.Upload.usPlaceholder":"Arraste e envie um arquivo menor que 5MB","neptune.UploadButton.allFileTypes":"Todos os tipos de arquivos","neptune.UploadButton.dropFiles":"Arraste o arquivo para iniciar o envio","neptune.UploadButton.instructions":"{fileTypes}, com menos de {size}MB","neptune.UploadButton.uploadFile":"Enviar arquivo","neptune.UploadButton.uploadFiles":"Enviar arquivos","neptune.UploadInput.deleteModalBody":"Se você remover este arquivo, ele será permanentemente excluído do nosso sistema.","neptune.UploadInput.deleteModalCancelButtonText":"Cancelar","neptune.UploadInput.deleteModalConfirmButtonText":"Remover","neptune.UploadInput.deleteModalTitle":"Tem certeza que deseja remover esta arquivo?","neptune.UploadInput.fileIsTooLarge":"O arquivo é muito grande","neptune.UploadInput.fileTypeNotSupported":"Não aceitamos arquivos neste formato","neptune.UploadInput.maximumFilesAlreadyUploaded":"Não recebemos os seus arquivos. Você só pode enviar {maxFilesAllowed} arquivos por vez.","neptune.UploadItem.deleting":"Removendo...","neptune.UploadItem.removeFile":"Remover arquivo {filename}","neptune.UploadItem.uploaded":"Enviado","neptune.UploadItem.uploadedFile":"Arquivo enviado","neptune.UploadItem.uploading":"Enviando...","neptune.UploadItem.uploadingFailed":"Falha no envio"},ro:{"neptune.Chips.ariaLabel":"Șterge {choice}","neptune.ClearButton.ariaLabel":"Elimină","neptune.CloseButton.ariaLabel":"Închide","neptune.DateInput.day.label":"Zi","neptune.DateInput.month.label":"Lună","neptune.DateInput.year.label":"An","neptune.MoneyInput.Select.placeholder":"Selectează o opţiune...","neptune.Pagination.ariaLabel":"Navigare prin pagină","neptune.PaginationLink.ariaLabel.active":"Du-te la pagina {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Pagina curentă, pagina {pageNumber}","neptune.Select.searchPlaceholder":"Caută...","neptune.Summary.statusDone":"Finalizat","neptune.Summary.statusNotDone":"De făcut","neptune.Summary.statusPending":"În așteptare","neptune.Upload.csButtonText":"Încarci un alt fișier?","neptune.Upload.csFailureText":"Încărcare eșuată. Te rugăm să încerci din nou","neptune.Upload.csSuccessText":"Încărcare completă!","neptune.Upload.csTooLargeMessage":"Te rugăm să furnizezi un fișier mai mic de 5MB","neptune.Upload.csWrongTypeMessage":"Tipul de fișier nu a fost acceptat. Te rugăm să încerci din nou cu un alt fișier","neptune.Upload.psButtonText":"Anulează","neptune.Upload.psProcessingText":"Se încarcă...","neptune.Upload.usButtonText":"Sau selectează un fișier","neptune.Upload.usDropMessage":"Atașează fișierul pentru a începe încărcarea","neptune.Upload.usPlaceholder":"Glisează și atașează un fișier de până în 5MB","neptune.UploadButton.allFileTypes":"Toate tipurile de fișiere","neptune.UploadButton.dropFiles":"Trage fișierul pentru a începe încărcarea","neptune.UploadButton.instructions":"{fileTypes}, de maximum {size}MB","neptune.UploadButton.uploadFile":"Încarcă fișier","neptune.UploadButton.uploadFiles":"Încarcă fișiere","neptune.UploadInput.deleteModalBody":"Eliminarea acestui fișier îl va șterge din sistemul nostru.","neptune.UploadInput.deleteModalCancelButtonText":"Anulare","neptune.UploadInput.deleteModalConfirmButtonText":"Elimină","neptune.UploadInput.deleteModalTitle":"Sigur vrei să elimini acest fișier?","neptune.UploadInput.fileIsTooLarge":"Fișierul este prea mare","neptune.UploadInput.fileTypeNotSupported":"Tipul fișierului nu este acceptat","neptune.UploadInput.maximumFilesAlreadyUploaded":"Ne pare rău, această încărcare nu a reușit, deoarece putem accepta doar {maxFilesAllowed} fișiere simultan.","neptune.UploadItem.deleting":"Se șterge...","neptune.UploadItem.removeFile":"Elimină fișierul {filename}","neptune.UploadItem.uploaded":"Încărcat","neptune.UploadItem.uploadedFile":"Fișier încărcat","neptune.UploadItem.uploading":"Se încarcă...","neptune.UploadItem.uploadingFailed":"Încărcare eșuată"},ru:{"neptune.Chips.ariaLabel":"Очистить {choice}","neptune.ClearButton.ariaLabel":"Очистить","neptune.CloseButton.ariaLabel":"Закрыть","neptune.DateInput.day.label":"День","neptune.DateInput.month.label":"Месяц","neptune.DateInput.year.label":"Год","neptune.MoneyInput.Select.placeholder":"Выберите вариант...","neptune.Pagination.ariaLabel":"Постраничная навигация","neptune.PaginationLink.ariaLabel.active":"Перейти на страницу {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Текущая страница, страница {pageNumber}","neptune.Select.searchPlaceholder":"Поиск...","neptune.Summary.statusDone":"Этап завершен","neptune.Summary.statusNotDone":"Этап к выполнению","neptune.Summary.statusPending":"Этап в процессе","neptune.Upload.csButtonText":"Загрузить другой файл?","neptune.Upload.csFailureText":"Загрузка не удалась. Пожалуйста, попробуйте снова","neptune.Upload.csSuccessText":"Загрузка завершена!","neptune.Upload.csTooLargeMessage":"Пожалуйста, загрузите файл размером менее 5MB","neptune.Upload.csWrongTypeMessage":"Тип файла не поддерживается. Пожалуйста, попробуйте еще раз с другим файлом","neptune.Upload.psButtonText":"Отменить","neptune.Upload.psProcessingText":"Загружаем...","neptune.Upload.usButtonText":"Или выберите файл","neptune.Upload.usDropMessage":"Перетащите файл, чтобы начать загрузку","neptune.Upload.usPlaceholder":"Перетащите файл не больше 5MB","neptune.UploadButton.allFileTypes":"Все типы файлов","neptune.UploadButton.dropFiles":"Перетащите файл, чтобы начать загрузку","neptune.UploadButton.instructions":"{fileTypes}, не превышающий {size} MB","neptune.UploadButton.uploadFile":"Загрузить файл","neptune.UploadButton.uploadFiles":"Загрузить файлы","neptune.UploadInput.deleteModalBody":"Удаление этого файла приведет к его удалению из нашей системы.","neptune.UploadInput.deleteModalCancelButtonText":"Отменить","neptune.UploadInput.deleteModalConfirmButtonText":"Удалить","neptune.UploadInput.deleteModalTitle":"Уверены, что хотите удалить этот файл?","neptune.UploadInput.fileIsTooLarge":"Файл слишком большой","neptune.UploadInput.fileTypeNotSupported":"Тип файла не поддерживается","neptune.UploadInput.maximumFilesAlreadyUploaded":"К сожалению, эта загрузка не удалась, так как одновременно мы можем принять только {maxFilesAllowed} файла(-ов).","neptune.UploadItem.deleting":"Удаляется...","neptune.UploadItem.removeFile":"Удалить файл {filename}","neptune.UploadItem.uploaded":"Завершено","neptune.UploadItem.uploadedFile":"Загруженный файл","neptune.UploadItem.uploading":"Загрузка...","neptune.UploadItem.uploadingFailed":"Загрузка не удалась"},th:{"neptune.Chips.ariaLabel":"เคลียร์ {choice}","neptune.ClearButton.ariaLabel":"ชัดเจน","neptune.CloseButton.ariaLabel":"ปิด","neptune.DateInput.day.label":"วัน","neptune.DateInput.month.label":"เดือน","neptune.DateInput.year.label":"ปี","neptune.MoneyInput.Select.placeholder":"เลือกตัวเลือก...","neptune.Pagination.ariaLabel":"การนำทางเลขหน้า","neptune.PaginationLink.ariaLabel.active":"ไปที่หน้า {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"หน้าปัจจุบัน หน้า {pageNumber}","neptune.Select.searchPlaceholder":"ค้นหา...","neptune.Summary.statusDone":"รายการที่ทำแล้ว","neptune.Summary.statusNotDone":"รายการที่ต้องทำ","neptune.Summary.statusPending":"รายการที่รอดำเนินการ","neptune.Upload.csButtonText":"อัพโหลดไฟล์อื่นหรือไม่","neptune.Upload.csFailureText":"การอัปโหลดล้มเหลว กรุณาลองอีกครั้ง","neptune.Upload.csSuccessText":"อัปโหลดเสร็จสมบูรณ์!","neptune.Upload.csTooLargeMessage":"กรุณาใช้ไฟล์ที่มีขนาดเล็กกว่า 5MB","neptune.Upload.csWrongTypeMessage":"ไม่รองรับประเภทไฟล์ โปรดลองอีกครั้งโดยใช้ไฟล์อื่น","neptune.Upload.psButtonText":"ยกเลิก","neptune.Upload.psProcessingText":"กำลังอัปโหลด...","neptune.Upload.usButtonText":"หรือเลือกไฟล์","neptune.Upload.usDropMessage":"วางไฟล์เพื่อเริ่มการอัปโหลด","neptune.Upload.usPlaceholder":"ลากและวางไฟล์ที่มีขนาดไม่เกิน 5MB","neptune.UploadButton.allFileTypes":"ไฟล์ทุกประเภท","neptune.UploadButton.dropFiles":"วางไฟล์เพื่อเริ่มการอัปโหลด","neptune.UploadButton.instructions":"{fileTypes} น้อยกว่า {size}MB","neptune.UploadButton.uploadFile":"อัปโหลดไฟล์","neptune.UploadButton.uploadFiles":"อัปโหลดไฟล์","neptune.UploadInput.deleteModalBody":"การลบไฟล์นี้จะลบออกจากระบบของเรา","neptune.UploadInput.deleteModalCancelButtonText":"ยกเลิก","neptune.UploadInput.deleteModalConfirmButtonText":"ลบ","neptune.UploadInput.deleteModalTitle":"แน่ใจว่าต้องการลบไฟล์นี้หรือไม่","neptune.UploadInput.fileIsTooLarge":"ไฟล์ใหญ่เกินไป","neptune.UploadInput.fileTypeNotSupported":"ไม่รองรับประเภทไฟล์","neptune.UploadInput.maximumFilesAlreadyUploaded":"ขออภัย การอัปโหลดนี้ไม่สำเร็จเนื่องจากเรายอมรับได้แค่ครั้งละ {maxFilesAllowed} ไฟล์","neptune.UploadItem.deleting":"กำลังลบ...","neptune.UploadItem.removeFile":"ลบไฟล์ {filename}","neptune.UploadItem.uploaded":"อัปโหลดแล้ว","neptune.UploadItem.uploadedFile":"อัปโหลดไฟล์แล้ว","neptune.UploadItem.uploading":"กำลังอัปโหลด...","neptune.UploadItem.uploadingFailed":"อัปโหลดไม่สำเร็จ"},tr:{"neptune.Chips.ariaLabel":"{choice} temizle","neptune.ClearButton.ariaLabel":"Sil","neptune.CloseButton.ariaLabel":"Kapat","neptune.DateInput.day.label":"Gün","neptune.DateInput.month.label":"Ay","neptune.DateInput.year.label":"Yıl","neptune.MoneyInput.Select.placeholder":"Bir seçenek seçin...","neptune.Pagination.ariaLabel":"Sayfalandırma gezintisi","neptune.PaginationLink.ariaLabel.active":"{pageNumber} numaralı sayfaya git","neptune.PaginationLink.ariaLabel.inactive":"Mevcut sayfa, sayfa {pageNumber}","neptune.Select.searchPlaceholder":"Ara...","neptune.Summary.statusDone":"Tamamlanan aşama","neptune.Summary.statusNotDone":"Yapılacak","neptune.Summary.statusPending":"Bekliyor","neptune.Upload.csButtonText":"Başka bir dosya yükleyin?","neptune.Upload.csFailureText":"Yükleme başarısız. Lütfen yine deneyin","neptune.Upload.csSuccessText":"Yükleme tamamlandı!","neptune.Upload.csTooLargeMessage":"Lütfen 5 MB'den hüçük bir dosya sağlayın","neptune.Upload.csWrongTypeMessage":"Desteklenmeyen dosya biçimi. Lütfen başka bir dosyayla tekrar deneyin","neptune.Upload.psButtonText":"İptal edin","neptune.Upload.psProcessingText":"Yükleniyor...","neptune.Upload.usButtonText":"Veya bir dosya seçin","neptune.Upload.usDropMessage":"Yüklemeyi başlatmak için dosyayı bırakın","neptune.Upload.usPlaceholder":"5 MB'den küçük bir dosya sürükleyin ve bırakın","neptune.UploadButton.allFileTypes":"Tüm belge tipleri","neptune.UploadButton.dropFiles":"Yüklemeyi başlatmak için dosyayı bırakın","neptune.UploadButton.instructions":"{fileTypes}, en fazla {size}MB","neptune.UploadButton.uploadFile":"Dosya yükleyin","neptune.UploadButton.uploadFiles":"Dosya yükleyin","neptune.UploadInput.deleteModalBody":"Bu belgeyi kaldırmak, sistemimizden tamamen silinmesiyle sonuçlanır.","neptune.UploadInput.deleteModalCancelButtonText":"İptal et","neptune.UploadInput.deleteModalConfirmButtonText":"Kaldır","neptune.UploadInput.deleteModalTitle":"Bu dosyayı kaldırmak istediğinizden emin misiniz?","neptune.UploadInput.fileIsTooLarge":"Dosya çok büyük","neptune.UploadInput.fileTypeNotSupported":"Dosya tipi desteklenmiyor","neptune.UploadInput.maximumFilesAlreadyUploaded":"Üzgünüz, bu yükleme aynı anda en fazla {maxFilesAllowed} dosya kabul edebildiğimiz için başarısız oldu.","neptune.UploadItem.deleting":"Siliniyor...","neptune.UploadItem.removeFile":"{filename} dosyasını kaldır","neptune.UploadItem.uploaded":"Yüklendi","neptune.UploadItem.uploadedFile":"Yüklenen belge","neptune.UploadItem.uploading":"Yükleniyor...","neptune.UploadItem.uploadingFailed":"Dosya yüklenemedi"},uk:{"neptune.Chips.ariaLabel":"Очистити {choice}","neptune.ClearButton.ariaLabel":"Очистити","neptune.CloseButton.ariaLabel":"Закрити","neptune.DateInput.day.label":"День","neptune.DateInput.month.label":"Місяць","neptune.DateInput.year.label":"Рік","neptune.MoneyInput.Select.placeholder":"Виберіть варіант…","neptune.Pagination.ariaLabel":"Перехід за сторінками","neptune.PaginationLink.ariaLabel.active":"Перейти на сторінку {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Ця сторінка, сторінка {pageNumber}","neptune.Select.searchPlaceholder":"Пошук…","neptune.Summary.statusDone":"Виконано","neptune.Summary.statusNotDone":"Не виконано","neptune.Summary.statusPending":"Виконується","neptune.Upload.csButtonText":"Завантажити інший файл?","neptune.Upload.csFailureText":"Не завантажено. Повторіть спробу.","neptune.Upload.csSuccessText":"Завантаження завершено!","neptune.Upload.csTooLargeMessage":"Завантажте файл завбільшки до 5 МБ","neptune.Upload.csWrongTypeMessage":"Тип файлу не підтримується. Спробуйте завантажити інший файл.","neptune.Upload.psButtonText":"Скасувати","neptune.Upload.psProcessingText":"Завантаження…","neptune.Upload.usButtonText":"Або виберіть файл","neptune.Upload.usDropMessage":"Перетягніть файл, щоб почати завантаження","neptune.Upload.usPlaceholder":"Перетягніть файл завбільшки до 5 МБ","neptune.UploadButton.allFileTypes":"Усі типи файлів","neptune.UploadButton.dropFiles":"Перетягніть файл, щоб почати завантаження","neptune.UploadButton.instructions":"{fileTypes}, до {size} МБ","neptune.UploadButton.uploadFile":"Завантажити файл","neptune.UploadButton.uploadFiles":"Завантажити файли","neptune.UploadInput.deleteModalBody":"Якщо вилучити файл, його буде видалено з нашої системи.","neptune.UploadInput.deleteModalCancelButtonText":"Скасувати","neptune.UploadInput.deleteModalConfirmButtonText":"Вилучити","neptune.UploadInput.deleteModalTitle":"Справді вилучити цей файл?","neptune.UploadInput.fileIsTooLarge":"Файл завеликий","neptune.UploadInput.fileTypeNotSupported":"Тип файлу не підтримується","neptune.UploadInput.maximumFilesAlreadyUploaded":"На жаль, це завантаження не вдале. Ми можемо завантажити лише {maxFilesAllowed} файлів за один раз.","neptune.UploadItem.deleting":"Видалення…","neptune.UploadItem.removeFile":"Вилучити файл {filename}","neptune.UploadItem.uploaded":"Завантажено","neptune.UploadItem.uploadedFile":"Завантажено файл","neptune.UploadItem.uploading":"Завантаження…","neptune.UploadItem.uploadingFailed":"Не вдалося завантажити"},zh:{"neptune.Chips.ariaLabel":"清除{choice}","neptune.ClearButton.ariaLabel":"清除","neptune.CloseButton.ariaLabel":"關閉","neptune.DateInput.day.label":"日","neptune.DateInput.month.label":"月","neptune.DateInput.year.label":"年","neptune.MoneyInput.Select.placeholder":"選擇一個選項…","neptune.Pagination.ariaLabel":"分頁導航","neptune.PaginationLink.ariaLabel.active":"前往第{pageNumber}頁","neptune.PaginationLink.ariaLabel.inactive":"目前在第{pageNumber}頁","neptune.Select.searchPlaceholder":"搜尋…","neptune.Summary.statusDone":"已完成事項","neptune.Summary.statusNotDone":"未完成事項","neptune.Summary.statusPending":"待處理事項","neptune.Upload.csButtonText":"上載另一個檔案?","neptune.Upload.csFailureText":"上載失敗,請重試。","neptune.Upload.csSuccessText":"上載完成!","neptune.Upload.csTooLargeMessage":"請提供小於5MB的檔案","neptune.Upload.csWrongTypeMessage":"不支持檔案類型,請使用其他檔案重試","neptune.Upload.psButtonText":"取消","neptune.Upload.psProcessingText":"上載中...","neptune.Upload.usButtonText":"或者選擇一個檔案","neptune.Upload.usDropMessage":"拖放檔案以開始上載","neptune.Upload.usPlaceholder":"拖放不超過5MB的檔案","neptune.UploadButton.allFileTypes":"所有檔案類型","neptune.UploadButton.dropFiles":"拖放檔案以開始上載","neptune.UploadButton.instructions":"{fileTypes},小於{size}MB","neptune.UploadButton.uploadFile":"上載檔案","neptune.UploadButton.uploadFiles":"上載檔案","neptune.UploadInput.deleteModalBody":"移除此檔案會把它從我們的系統中刪除。","neptune.UploadInput.deleteModalCancelButtonText":"取消","neptune.UploadInput.deleteModalConfirmButtonText":"移除","neptune.UploadInput.deleteModalTitle":"你確定要移除此檔案嗎?","neptune.UploadInput.fileIsTooLarge":"檔案太大","neptune.UploadInput.fileTypeNotSupported":"不支持檔案類型","neptune.UploadInput.maximumFilesAlreadyUploaded":"抱歉,這次上載失敗,因為我們每次最多只能接受{maxFilesAllowed}個檔案。","neptune.UploadItem.deleting":"刪除中…","neptune.UploadItem.removeFile":"移除檔案{filename}","neptune.UploadItem.uploaded":"已上載","neptune.UploadItem.uploadedFile":"已上載檔案","neptune.UploadItem.uploading":"上載中...","neptune.UploadItem.uploadingFailed":"上載失敗"}};re.Accordion=ve,re.ActionButton=Te,re.ActionOption=function(e){var t,n=e.action,r=e.disabled,o=e.onClick,a=e.media,i=e.title,l=e.content,s=e.complex,u=e.className,c=e.showMediaAtAllSizes,p=e.showMediaCircle,e=e.isContainerAligned,e={media:a,title:i,content:l,complex:s,disabled:r,showMediaAtAllSizes:c,showMediaCircle:p,className:se("tw-action-option",u),isContainerAligned:e};return ce(ge,Ce(Ce({},e),{},{button:ce(Te,{disabled:r,"aria-label":(t=[],"string"==typeof i&&t.push(i),"string"==typeof n&&t.push(n),t.join(", ")||void 0),onClick:o,children:n})}))},re.Alert=At,re.Avatar=Do,re.AvatarWrapper=St,re.Badge=Ao,re.Body=z,re.BottomSheet=Bs,re.Button=$s,re.Card=N,re.Checkbox=ht,re.CheckboxButton=nu,re.CheckboxOption=xt,re.Chevron=he,re.Chip=su,re.Chips=function(e){function r(e,t){n({isEnabled:!t,selectedValue:e})}var t=e.chips,n=e.onChange,o=e.selected,a=e["aria-label"],i=e.className,l=e.multiple,s=ie.useIntl();return ce("div",{className:se("np-chips d-flex",i),"aria-label":a,role:l?void 0:"radiogroup",children:t.map(function(e){var t,n=(t=e.value,Array.isArray(o)?o.includes(t):o===t);return ce(su,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?cu(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cu(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({value:e.value,label:e.label,closeButton:{"aria-label":s.formatMessage(uu.ariaLabel,{choice:e.label})},className:se("text-xs-nowrap",{"np-chip--selected":n,"p-r-1":l&&n})},l&&n?{onRemove:function(){return r(e.value,n)},"aria-label":e.label}:{onClick:function(){return r(e.value,n)},onKeyPress:function(){return r(e.value,n)},role:l?void 0:"radio","aria-checked":n}),e.value)})})},re.CircularButton=Dt,re.CriticalCommsBanner=function(e){var t=e.title,n=e.subtitle,r=e.action,o=e.className,e=ae.useTheme().isModern;return ce("div",{className:se("critical-comms",o),children:pe("div",{className:"critical-comms-body",children:[ce(Do,{size:re.Size.MEDIUM,type:re.AvatarType.ICON,className:se(e?"m-r-2":"m-r-1"),backgroundColor:e?"var(--color-sentiment-negative)":"var(--color-background-negative)",children:e?ce(S.AlertCircleFill,{}):ce(S.Alert,{size:24})}),pe("div",{className:"critical-comms-content d-flex align-items-center flex-grow-1",children:[pe("div",{className:se("flex-grow-1",{"p-x-2":!e}),children:[ce(_,{type:e?re.Typography.TITLE_BODY:re.Typography.TITLE_GROUP,className:"critical-comms--title",children:t}),ce(z,{className:"critical-comms--subtitle",children:n})]}),r?ce("div",{className:"critical-comms--cta",children:ce($s,{block:e,size:re.Size.SMALL,type:re.ControlType.NEGATIVE,priority:e?re.Priority.SECONDARY:re.Priority.PRIMARY,className:"cta-btn",onClick:function(){r&&(window.location.href=r.href)},children:r.label})}):null]})]})})},re.DEFAULT_LANG="en",re.DEFAULT_LOCALE=g,re.DateInput=Et,re.DateLookup=Or,re.Decision=Ve,re.DefinitionList=ud,re.Dimmer=Is,re.DirectionProvider=Os,re.Display=function(e){var t=e.as,n=void 0===(r=e.type)?re.Typography.DISPLAY_LARGE:r,r=e.children,e=e.className;return ce(void 0===t?"h1":t,{className:se("np-text-".concat(n),"text-primary",e),children:r})},re.Drawer=ip,re.DropFade=function(e){var t=e.children,n=e.show,r=oe.useRef(null),o=oe.useState(0),e=fe(o,2),o=e[0],a=e[1];return ce(Xo,{nodeRef:r,in:n,timeout:300,classNames:"np-dropfade",onEntering:function(){var e;a((null===(e=r.current)||void 0===e?void 0:e.scrollHeight)||0)},onEntered:function(){return a(void 0)},onExit:function(){var e;a((null===(e=r.current)||void 0===e?void 0:e.scrollHeight)||0)},onExiting:function(){a(0)},children:ce("div",{ref:r,style:{height:o},className:"np-dropfade",children:Ne.default.cloneElement(t)})})},re.DynamicFieldDefinitionList=He,re.Emphasis=function(e){e=e.text,e=void 0===e?void 0:e;if(!e)return null;e=bf.transform(e);return e?ce("span",{dangerouslySetInnerHTML:{__html:e}}):null},re.FlowNavigation=fr,re.Header=function(e){var t=e.action,n=e.as,r=void 0===n?"h5":n,n=e.title,e=e.className;return pe("div",{className:se("np-header",e),children:[ce(_,{as:r,type:re.Typography.TITLE_GROUP,className:"np-header__title",children:n}),t&&ce(If,{action:t})]})},re.Image=Nr,re.Info=Vf,re.InlineAlert=Yf,re.InputWithDisplayFormat=mn,re.InstructionsList=function(e){var t=ae.useTheme().isModern,n=e.dos,e=e.donts,r=t?S.CrossCircleFill:S.CrossCircle,o=t?S.CheckCircleFill:S.CheckCircle;return pe("div",{className:"tw-instructions",children:[n&&n.map(function(e,t){return pe("div",{className:"instruction",children:[ce(o,{size:24,className:"do"}),ce(z,{className:"text-primary",type:re.Typography.BODY_LARGE,children:e})]},t)}),e&&e.map(function(e,t){return pe("div",{className:"instruction",children:[ce(r,{size:24,className:"dont"}),ce(z,{className:"text-primary",type:re.Typography.BODY_LARGE,children:e})]},t)})]})},re.LanguageProvider=Kh,re.Link=_e,re.Loader=function(e){function n(e){return a[e]||e}var t=e.small,r=void 0!==t&&t,o=e.size,t=void 0===o?re.Size.EXTRA_LARGE:o,o=e.classNames,a=void 0===o?{}:o,o=b(e,lh),e=ae.useTheme().isModern,t=r?re.Size.SMALL:t,t=sh(t);return ce("div",{className:se(n("tw-loader"),n("tw-loader--".concat(t))),"data-testid":o["data-testid"],children:!e&&new Array(5).fill(void 0).map(function(e,t){return ce("div",{className:n("tw-loader__stripe")},t)})})},re.Logo=Rt,re.Markdown=co,re.Modal=Uf,re.Money=Pt,re.MoneyInput=ls,re.NavigationOption=od,re.NavigationOptionsList=Wd,re.Nudge=et,re.Option=ge,re.OverlayHeader=ft,re.PhoneNumberInput=e,re.Popover=Bf,re.ProcessIndicator=Vh,re.Progress=Wh,re.ProgressBar=function(e){var t=e.className,n=e.description,r=e.id,o=e.title,a=e.progress,i=e.textEnd,e=ae.useTheme().isModern;return pe("div",{className:se("np-progress-bar p-x-2",t),children:[pe("label",{className:"np-progress-bar__title m-b-1",htmlFor:r,children:[ce(_,{type:re.Typography.TITLE_BODY,className:e?"m-b-1 text-primary":"text-primary",children:o}),n&&ce(z,{children:n})]}),ce(Wh,{id:r,progress:a}),ce(z,{as:"p",type:re.Typography.BODY_DEFAULT_BOLD,className:"d-flex justify-content-end text-primary m-b-0",children:i})]})},re.Provider=gn,re.RTL_LANGUAGES=y,re.Radio=nm,re.RadioGroup=hn,re.RadioOption=fa,re.SUPPORTED_LANGUAGES=v,re.Section=function(e){var t=e.children,n=e.className,e=e.withHorizontalPadding;return ce("div",{className:se("np-section",n,{"np-section--with-horizontal-padding":void 0!==e&&e}),children:t})},re.Select=vp,re.SlidingPanel=Us,re.SnackbarConsumer=Ct,re.SnackbarContext=sm,re.SnackbarPortal=lm,re.SnackbarProvider=Je,re.StatusIcon=Me,re.Stepper=Af,re.Sticky=$e,re.Summary=Pr,re.Switch=hm,re.SwitchOption=function(e){var t=e.checked,n=e.complex,r=e.content,o=e.disabled,a=e.id,i=e.media,l=e.onChange,s=e.title,u=e.showMediaCircle,c=e.showMediaAtAllSizes,p=e.isContainerAligned,d=e["aria-label"],e=function(e){(e=e)&&(e.stopPropagation(),e.preventDefault(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()),o||l(!t)};return ce(ge,gm(gm({},{media:i,title:s,content:r,complex:n,disabled:o,showMediaCircle:u,showMediaAtAllSizes:c,isContainerAligned:p}),{},{button:ce(hm,{id:a,checked:t,disabled:o,"aria-label":d,onClick:e}),onClick:e}))},re.Tabs=Be,re.TextareaWithDisplayFormat=xe,re.Title=_,re.Tooltip=xf,re.Typeahead=n,re.Upload=gr,re.UploadInput=function(e){var t=e.files,n=void 0===t?[]:t,r=e.fileInputName,l=void 0===r?"file":r,o=e.className,a=e.deleteConfirm,i=e.disabled,s=e.multiple,u=void 0!==s&&s,c=e.fileTypes,p=void 0===c?Mg:c,t=e.sizeLimit,d=void 0===t?5e3:t,r=e.description,f=e.onUploadFile,h=e.onDeleteFile,m=e.onValidationError,g=e.onFilesChange,y=e.onDownload,b=e.maxFiles,v=e.maxFilesErrorMessage,s=e.id,O=e.sizeLimitErrorMessage,c=e.uploadButtonTitle,t=ae.useTheme().isModern,e=oe.useState(null),e=fe(e,2),w=e[0],E=e[1],e=oe.useState(!1),e=fe(e,2),T=e[0],S=e[1],C=ie.useIntl().formatMessage,x=new Set([re.Status.PENDING,re.Status.PROCESSING]),e=oe.useState(u||0===n.length?n:[n[0]]),e=fe(e,2),D=e[0],A=e[1],N=oe.useRef(u||0===n.length?n:[n[0]]);function P(t){function e(e){return[].concat(K(e),[t])}A(e),N.current=e(N.current)}function k(t){function e(e){return e.filter(function(e){return t!==e&&t.id!==e.id})}A(e),N.current=e(N.current)}function L(t,n){function e(e){return e.map(function(e){return e===t||e.id===t.id?Yg(Yg({},t),n):e})}A(e),N.current=e(N.current)}function R(t){var e=t.id;t.status===re.Status.FAILED?k(t):h&&e&&(L(t,{status:re.Status.PROCESSING,error:void 0}),h(e).then(function(){return k(t)}).catch(function(e){L(t,{error:e})}))}function I(e,t){var n=e.name,t={id:Wg(e),filename:n,status:re.Status.FAILED,error:t};P(t),m&&m(t)}function _(){if(!b)return!1;var t,e=(t=new Set([re.Status.SUCCEEDED,re.Status.PENDING]),N.current.filter(function(e){return e.status&&t.has(e.status)}).length);return b<=e}return oe.useEffect(function(){S(!0)},[]),oe.useEffect(function(){g&&T&&g(D)},[g,D]),pe(M,{children:[pe("div",{className:se("np-upload-input",o,{disabled:t&&i}),children:[D.map(function(e){return ce(Vg,{file:e,singleFileUpload:!u,canDelete:!(!h&&e.status!==re.Status.FAILED||e.status&&x.has(e.status)),onDelete:e.status===re.Status.FAILED?function(){return R(e)}:function(){return E(e)},onDownload:y},e.id)}),(u||!u&&!D.length)&&ce(Fg,{id:s,uploadButtonTitle:c,disabled:_()||i,multiple:u,fileTypes:p,sizeLimit:d,description:r,maxFiles:b,multipleFileInputWithFilesAdded:u&&0<D.length,onChange:function(e){for(var t=0;t<e.length;t+=1){var a=e.item(t),i=new FormData;if(a){var n=function(){var e=a.name,t=Wg(a),n=Array.isArray(p)?p.join(","):p;if(!Tg(a,n))return I(a,C(Ig.fileTypeNotSupported)),"continue";if(!wg(a,1e3*d)){var r=O||C(Ig.fileIsTooLarge);return I(a,r),"continue"}if(_()){r=v||C(Ig.maximumFilesAlreadyUploaded,{maxFilesAllowed:b});return I(a,r),"continue"}i.append(l,a);var o={id:t,filename:e,status:re.Status.PENDING};return P(o),f(i).then(function(e){var t=e.id,n=e.url,e=e.error;L(o,{id:t,url:n,error:e,status:re.Status.SUCCEEDED})}).catch(function(e){L(o,{error:e,status:re.Status.FAILED})}),u?void 0:"break"}();if("continue"!==n&&"break"===n)break}}}})]}),ce(Uf,{title:void 0!==(null==a?void 0:a.title)?a.title:C(Ig.deleteModalTitle),body:void 0!==(null==a?void 0:a.body)?a.body:C(Ig.deleteModalBody),open:!!w,footer:pe(M,{children:[ce($s,{block:!0,onClick:function(){E(null)},children:(null==a?void 0:a.cancelText)||C(Ig.deleteModalCancelButtonText)}),ce($s,{block:!0,priority:re.Priority.SECONDARY,type:re.ControlType.NEGATIVE,onClick:function(){w&&R(w),E(null)},children:(null==a?void 0:a.confirmText)||C(Ig.deleteModalConfirmButtonText)})]}),onClose:function(){E(null)}})]})},re.adjustLocale=O,re.getCountryFromLocale=C,re.getDirectionFromLocale=w,re.getLangFromLocale=function(e){if(null===(e=O(e)))return null;try{var t=new Intl.Locale(e).language;return v.includes(t)?t:null}catch(e){return console.error(e),null}},re.isBrowser=function(){return!m()},re.isServerSide=m,re.translations=Qe,re.useDirection=ws,re.useLayout=Ts,re.useSnackbar=function(){return oe.useContext(sm).createSnackbar},Object.defineProperty(re,"__esModule",{value:!0})});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("prop-types"),require("@wise/components-theming"),require("@transferwise/icons"),require("react-intl"),require("react-dom"),require("@wise/art")):"function"==typeof define&&define.amd?define(["exports","react","prop-types","@wise/components-theming","@transferwise/icons","react-intl","react-dom","@wise/art"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@transferwise/components"]={},e.React,e.PropTypes,e.componentsTheming,e.icons,e.reactIntl,e.ReactDOM,e.art)}(this,function(re,oe,e,ae,S,ie,a,c){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var Ne=t(oe),l=t(e),Pe=t(a),n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function o(e,t){return e(t={exports:{}},t.exports),t.exports}function i(e){return e&&e.default||e}var ke=o(function(e){e.exports=function(e,t){if(null==e)return{};for(var n,r={},o=Object.keys(e),a=0;a<o.length;a++)n=o[a],0<=t.indexOf(n)||(r[n]=e[n]);return r},e.exports.__esModule=!0,e.exports.default=e.exports});r(ke);var b=r(o(function(e){e.exports=function(e,t){if(null==e)return{};var n,r=ke(e,t);if(Object.getOwnPropertySymbols)for(var o=Object.getOwnPropertySymbols(e),a=0;a<o.length;a++)n=o[a],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n]);return r},e.exports.__esModule=!0,e.exports.default=e.exports})),le=r(o(function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports})),se=o(function(e){function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r,o=typeof n;if("string"==o||"number"==o)e.push(n);else if(Array.isArray(n))!n.length||(r=i.apply(null,n))&&e.push(r);else if("object"==o)if(n.toString===Object.prototype.toString)for(var a in n)l.call(n,a)&&n[a]&&e.push(a);else e.push(n.toString())}}return e.join(" ")}var l;l={}.hasOwnProperty,e.exports?(i.default=i,e.exports=i):window.classNames=i}),s=r(o(function(e){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports})),u=r(o(function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports})),p=s(function e(){var n=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;u(this,e),le(this,"reset",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[""],t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:20;n.history=e,n.currIndex=0<e.length-1?e.length-1:0,n.historyLimit=t}),le(this,"add",function(e){(!n.historyLimit||n.history.length<=n.historyLimit)&&n.history.push(e),n.currIndex=n.history.length-1}),le(this,"redo",function(){var e=n.history.length;return n.currIndex=n.currIndex+1<e?n.currIndex+1:e-1,n.history[n.currIndex]}),le(this,"undo",function(){return n.currIndex=0<n.currIndex-1?n.currIndex-1:0,n.history[n.currIndex]}),this.history=t&&0<t.length?t:[""],this.currIndex=this.history.length-1,this.historyLimit=r});function d(){var e=["iphone","ipad","ipod"].map(function(e){return"(".concat(e,")")}).join("|"),e=new RegExp(e,"ig");return"undefined"!=typeof navigator&&navigator.userAgent.match(e)}function m(){return"undefined"==typeof window}function ue(e){e.stopPropagation(),e.preventDefault(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}var f="no-scroll";($e=re.Theme||(re.Theme={})).LIGHT="light",$e.DARK="dark",$e.NAVY="navy",$e.PERSONAL="personal",$e.PERSONAL_FOREST_GREEN="personal--forest-green",$e.PERSONAL_BRIGHT_GREEN="personal--bright-green",$e.PERSONAL_DARK="personal--dark",(Je=re.Direction||(re.Direction={})).RTL="rtl",Je.LTR="ltr",Je.AUTO="auto",(Qe=re.ControlType||(re.ControlType={})).ACCENT="accent",Qe.POSITIVE="positive",Qe.NEGATIVE="negative",(et=re.Priority||(re.Priority={})).PRIMARY="primary",et.SECONDARY="secondary",et.TERTIARY="tertiary",(ft=re.Breakpoint||(re.Breakpoint={}))[ft.EXTRA_SMALL=480]="EXTRA_SMALL",ft[ft.SMALL=576]="SMALL",ft[ft.MEDIUM=768]="MEDIUM",ft[ft.LARGE=992]="LARGE",ft[ft.EXTRA_LARGE=1200]="EXTRA_LARGE",(ht=re.Size||(re.Size={})).EXTRA_SMALL="xs",ht.SMALL="sm",ht.MEDIUM="md",ht.LARGE="lg",ht.EXTRA_LARGE="xl",(Et=re.Typography||(re.Typography={})).DISPLAY_EXTRA_LARGE="display-extra-large",Et.DISPLAY_LARGE="display-large",Et.DISPLAY_MEDIUM="display-medium",Et.DISPLAY_SMALL="display-small",Et.TITLE_SCREEN="title-screen",Et.TITLE_SECTION="title-section",Et.TITLE_SUBSECTION="title-subsection",Et.TITLE_BODY="title-body",Et.TITLE_GROUP="title-group",Et.BODY_LARGE="body-large",Et.BODY_DEFAULT="body-default",Et.BODY_DEFAULT_BOLD="body-default-bold",Et.BODY_LARGE_BOLD="body-large-bold",Et.LINK_LARGE="link-large",Et.LINK_DEFAULT="link-default",(St=re.Width||(re.Width={})).BLOCK="block",St.AUTO="auto",(Ct=re.Type||(re.Type={})).PRIMARY="primary",Ct.PAY="pay",Ct.SECONDARY="secondary",Ct.DANGER="danger",Ct.LINK="link",(xt=re.DateMode||(re.DateMode={})).DAY_MONTH_YEAR="day-month-year",xt.MONTH_YEAR="month-year",(Dt=re.MonthFormat||(re.MonthFormat={})).SHORT="short",Dt.LONG="long",(At=re.Position||(re.Position={})).BOTTOM="bottom",At.BOTTOM_LEFT="bottom-left",At.BOTTOM_RIGHT="bottom-right",At.CENTER="center",At.LEFT="left",At.LEFT_TOP="left-top",At.RIGHT="right",At.RIGHT_TOP="right-top",At.TOP="top",(Pt=re.Layout||(re.Layout={})).VERTICAL="VERTICAL",Pt.VERTICAL_TWO_COLUMN="VERTICAL_TWO_COLUMN",Pt.VERTICAL_ONE_COLUMN="VERTICAL_ONE_COLUMN",Pt.HORIZONTAL="HORIZONTAL",Pt.HORIZONTAL_JUSTIFIED="HORIZONTAL_JUSTIFIED",Pt.HORIZONTAL_LEFT_ALIGNED="HORIZONTAL_LEFT_ALIGNED",Pt.HORIZONTAL_RIGHT_ALIGNED="HORIZONTAL_RIGHT_ALIGNED",(Rt=re.Status||(re.Status={})).PROCESSING="processing",Rt.FAILED="failed",Rt.SUCCEEDED="succeeded",Rt.HIDDEN="hidden",Rt.DONE="done",Rt.NOT_DONE="notDone",Rt.PENDING="pending",(hn=re.Sentiment||(re.Sentiment={})).NEGATIVE="negative",hn.NEUTRAL="neutral",hn.POSITIVE="positive",hn.WARNING="warning",hn.PENDING="pending",hn.INFO="info",hn.ERROR="error",hn.SUCCESS="success",(mn=re.ProfileType||(re.ProfileType={})).BUSINESS="BUSINESS",mn.PERSONAL="PERSONAL",(gn=re.Variant||(re.Variant={})).DESKTOP="desktop",gn.MOBILE="mobile",(fr=re.Scroll||(re.Scroll={})).CONTENT="content",fr.VIEWPORT="viewport",(gr=re.MarkdownNodeType||(re.MarkdownNodeType={})).BLOCK_QUOTE="block_quote",gr.CODE_BLOCK="code_block",gr.CODE="code",gr.EMPH="emph",gr.HEADING="heading",gr.HTML_BLOCK="html_block",gr.HTML_INLINE="html_inline",gr.IMAGE="image",gr.ITEM="item",gr.LINEBREAK="linebreak",gr.LINK="link",gr.LIST="list",gr.PARAGRAPH="paragraph",gr.SOFTBREAK="softbreak",gr.STRONG="strong",gr.THEMATIC_BREAK="thematic_break",(Or=re.FileType||(re.FileType={})).PDF=".pdf,application/pdf",Or.JPG=".jpg,.jpeg,image/jpeg",Or.PNG=".png,image/png",Or.CSV=".csv,text/csv";var h={ENTER:"Enter",ESCAPE:"Escape",SPACE:[" ","Spacebar"],TAB:"Tab",PERIOD:".",COMMA:","},g="en-GB",y=["ar","he"],v=["en","de","es","fr","hu","id","it","ja","pl","pt","ro","ru","th","tr","uk","zh"];function O(e){if(!e||0===e.trim().length)return null;try{return new Intl.Locale(e.trim().replace("_","-")).baseName}catch(e){return console.error(e),null}}function C(e){e=O(e);if(null===e)return null;try{var t=new Intl.Locale(e).region;return null!=t?t:null}catch(e){return console.error(e),null}}function w(e){try{var t=O(e),n=new Intl.Locale(t).language;return y.includes(n)?re.Direction.RTL:re.Direction.LTR}catch(e){return console.error(e),re.Direction.LTR}}var E=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var de=function(){try{if(!Object.assign)return;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},r)).join("")?void 0:1}catch(e){return}}()?Object.assign:function(e,t){for(var n,r=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))T.call(n,a)&&(r[a]=n[a]);if(E)for(var i=E(n),l=0;l<i.length;l++)x.call(n,i[l])&&(r[i[l]]=n[i[l]])}return r},D=o(function(e,t){var n,l=60103;t.Fragment=60107,"function"==typeof Symbol&&Symbol.for&&(l=(n=Symbol.for)("react.element"),t.Fragment=n("react.fragment"));var s=Ne.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function r(e,t,n){var r,o={},a=null,i=null;for(r in void 0!==n&&(a=""+n),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(i=t.ref),t)u.call(t,r)&&!c.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:l,type:e,key:a,ref:i,props:o,_owner:s.current}}t.jsx=r,t.jsxs=r}),A=(D.Fragment,D.jsx,D.jsxs,o(function(e,pe){"production"!==process.env.NODE_ENV&&function(){var e=Ne.default,d=de,f=60103,r=60106;pe.Fragment=60107;var t,h=60108,m=60114,g=60109,y=60110,b=60112,v=60113,O=60120,w=60115,E=60116,T=60121,S=60122,C=60117,x=60129,D=60131;"function"==typeof Symbol&&Symbol.for&&(f=(t=Symbol.for)("react.element"),r=t("react.portal"),pe.Fragment=t("react.fragment"),h=t("react.strict_mode"),m=t("react.profiler"),g=t("react.provider"),y=t("react.context"),b=t("react.forward_ref"),v=t("react.suspense"),O=t("react.suspense_list"),w=t("react.memo"),E=t("react.lazy"),T=t("react.block"),S=t("react.server.block"),C=t("react.fundamental"),t("react.scope"),t("react.opaque.id"),x=t("react.debug_trace_mode"),t("react.offscreen"),D=t("react.legacy_hidden"));var l="function"==typeof Symbol&&Symbol.iterator,s="@@iterator";var o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function A(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];!function(e,t,n){var r=o.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));n=n.map(function(e){return""+e});n.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,n)}("error",e,n)}var N=!1;function a(e){return e.displayName||"Context"}function P(e){if(null==e)return null;if("number"==typeof e.tag&&A("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case pe.Fragment:return"Fragment";case r:return"Portal";case m:return"Profiler";case h:return"StrictMode";case v:return"Suspense";case O:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case y:return a(e)+".Consumer";case g:return a(e._context)+".Provider";case b:return t=e.render,n="ForwardRef",t=t.displayName||t.name||"",e.displayName||(""!==t?n+"("+t+")":n);case w:return P(e.type);case T:return P(e._render);case E:t=e._payload,n=e._init;try{return P(n(t))}catch(e){return null}}var t,n;return null}var k,L,R,I,_,M,j,U=0;function B(){}var n,F=o.ReactCurrentDispatcher;function q(e){if(void 0===n)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);n=t&&t[1]||""}return"\n"+n+e}var z=!(B.__reactDisabledLog=!0),G=new("function"==typeof WeakMap?WeakMap:Map);function i(t,e){if(!t||z)return"";var n,r=G.get(t);if(void 0!==r)return r;z=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=F.current,F.current=null,0===U&&(k=console.log,L=console.info,R=console.warn,I=console.error,_=console.group,M=console.groupCollapsed,j=console.groupEnd,r={configurable:!0,enumerable:!0,value:B,writable:!0},Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})),U++;try{if(e){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(i,[])}catch(e){n=e}Reflect.construct(t,[],i)}else{try{i.call()}catch(e){n=e}t.call(i.prototype)}}else{try{throw Error()}catch(e){n=e}t()}}catch(e){if(e&&n&&"string"==typeof e.stack){for(var l=e.stack.split("\n"),s=n.stack.split("\n"),u=l.length-1,c=s.length-1;1<=u&&0<=c&&l[u]!==s[c];)c--;for(;1<=u&&0<=c;u--,c--)if(l[u]!==s[c]){if(1!==u||1!==c)do{if(u--,--c<0||l[u]!==s[c]){var p="\n"+l[u].replace(" at new "," at ");return"function"==typeof t&&G.set(t,p),p}}while(1<=u&&0<=c);break}}}finally{z=!1,F.current=o,0===--U&&(o={configurable:!0,enumerable:!0,writable:!0},Object.defineProperties(console,{log:d({},o,{value:k}),info:d({},o,{value:L}),warn:d({},o,{value:R}),error:d({},o,{value:I}),group:d({},o,{value:_}),groupCollapsed:d({},o,{value:M}),groupEnd:d({},o,{value:j})})),U<0&&A("disabledDepth fell below zero. This is a bug in React. Please file an issue."),Error.prepareStackTrace=a}a=t?t.displayName||t.name:"",a=a?q(a):"";return"function"==typeof t&&G.set(t,a),a}function u(e){return i(e,!1)}function c(e,t,n){if(null==e)return"";if("function"==typeof e)return i(e,!(!(r=(r=e).prototype)||!r.isReactComponent));var r;if("string"==typeof e)return q(e);switch(e){case v:return q("Suspense");case O:return q("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case b:return u(e.render);case w:return c(e.type,t,n);case T:return u(e._render);case E:var o=e._payload,a=e._init;try{return c(a(o),t,n)}catch(e){}}return""}var p={},V=o.ReactDebugCurrentFrame;function H(e){var t;e?(t=e._owner,t=c(e.type,e._source,t?t.type:null),V.setExtraStackFrame(t)):V.setExtraStackFrame(null)}var Y,W,K=o.ReactCurrentOwner,Z=Object.prototype.hasOwnProperty,X={key:!0,ref:!0,__self:!0,__source:!0};var $={},J=function(e,t,n,r,o,a,i){a={$$typeof:f,type:e,key:t,ref:n,props:i,_owner:a,_store:{}};return Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function Q(e,t,n,r,o){var a,i,l,s,u,c={},p=null,d=null;for(a in void 0!==n&&(p=""+n),function(e){if(Z.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return}return void 0!==e.key}(t)&&(p=""+t.key),function(e){if(Z.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return}return void 0!==e.ref}(t)&&(d=t.ref,u=o,"string"==typeof(n=t).ref&&K.current&&u&&K.current.stateNode!==u&&(u=P(K.current.type),$[u]||(A('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',P(K.current.type),n.ref),$[u]=!0))),t)Z.call(t,a)&&!X.hasOwnProperty(a)&&(c[a]=t[a]);if(e&&e.defaultProps){var f=e.defaultProps;for(a in f)void 0===c[a]&&(c[a]=f[a])}return(p||d)&&(u="function"==typeof e?e.displayName||e.name||"Unknown":e,p&&(l=c,s=u,m.isReactWarning=!0,Object.defineProperty(l,"key",{get:m,configurable:!0})),d&&(l=c,i=u,h.isReactWarning=!0,Object.defineProperty(l,"ref",{get:h,configurable:!0}))),J(e,p,d,o,r,K.current,c);function h(){W||(W=!0,A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",i))}function m(){Y||(Y=!0,A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",s))}}var ee=o.ReactCurrentOwner,te=o.ReactDebugCurrentFrame;function ne(e){var t;e?(t=e._owner,t=c(e.type,e._source,t?t.type:null),te.setExtraStackFrame(t)):te.setExtraStackFrame(null)}function re(e){return"object"==typeof e&&null!==e&&e.$$typeof===f}function oe(){if(ee.current){var e=P(ee.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}var ae=!1,ie={};function le(e,t){var n;e._store&&!e._store.validated&&null==e.key&&(e._store.validated=!0,n=t,(t=oe())||(n="string"==typeof n?n:n.displayName||n.name)&&(t="\n\nCheck the top-level render call using <"+n+">."),ie[n=t]||(ie[n]=!0,t="",e&&e._owner&&e._owner!==ee.current&&(t=" It was passed a child from "+P(e._owner.type)+"."),ne(e),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,t),ne(null)))}function se(e,t){if("object"==typeof e)if(Array.isArray(e))for(var n=0;n<e.length;n++){var r=e[n];re(r)&&le(r,t)}else if(re(e))e._store&&(e._store.validated=!0);else if(e){var o=null!==(o=e)&&"object"==typeof o&&"function"==typeof(o=l&&o[l]||o[s])?o:null;if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)re(a.value)&&le(a.value,t)}}function ue(e){var t,n,r=e.type;if(null!=r&&"string"!=typeof r){if("function"==typeof r)t=r.propTypes;else{if("object"!=typeof r||r.$$typeof!==b&&r.$$typeof!==w)return;t=r.propTypes}t?(n=P(r),function(e,t,n,r,o){var a,i=Function.call.bind(Object.prototype.hasOwnProperty);for(a in e)if(i(e,a)){var l=void 0;try{if("function"!=typeof e[a]){var s=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}l=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){l=e}!l||l instanceof Error||(H(o),A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,a,typeof l),H(null)),l instanceof Error&&!(l.message in p)&&(p[l.message]=!0,H(o),A("Failed %s type: %s",n,l.message),H(null))}}(t,e.props,"prop",n,e)):void 0===r.PropTypes||ae||(ae=!0,A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",P(r)||"Unknown")),"function"!=typeof r.getDefaultProps||r.getDefaultProps.isReactClassApproved||A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ce(e,t,n,r,o,a){var i,l,s="string"==typeof(u=e)||"function"==typeof u||(!(u!==pe.Fragment&&u!==m&&u!==x&&u!==h&&u!==v&&u!==O&&u!==D&&!N)||"object"==typeof u&&null!==u&&(u.$$typeof===E||u.$$typeof===w||u.$$typeof===g||u.$$typeof===y||u.$$typeof===b||u.$$typeof===C||u.$$typeof===T||u[0]===S));s||(i="",(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),i+=(void 0===(u=o)?"":"\n\nCheck your code at "+u.fileName.replace(/^.*[\\\/]/,"")+":"+u.lineNumber+".")||oe(),null===e?l="null":Array.isArray(e)?l="array":void 0!==e&&e.$$typeof===f?(l="<"+(P(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",l,i));var u,a=Q(e,t,n,o,a);if(null==a)return a;if(s){var c=t.children;if(void 0!==c)if(r)if(Array.isArray(c)){for(var p=0;p<c.length;p++)se(c[p],e);Object.freeze&&Object.freeze(c)}else A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else se(c,e)}return(e===pe.Fragment?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){ne(e),A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),ne(null);break}}null!==e.ref&&(ne(e),A("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null))}:ue)(a),a}e=function(e,t,n){return ce(e,t,n,!0)};pe.jsx=function(e,t,n){return ce(e,t,n,!1)},pe.jsxs=e}()})),N=(A.Fragment,A.jsx,A.jsxs,o(function(e){"production"===process.env.NODE_ENV?e.exports=D:e.exports=A})),ce=N.jsx,pe=N.jsxs,M=N.Fragment,P=["as","type","className"];function k(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function L(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?k(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var R=re.Typography.TITLE_GROUP,I=(le(Nr={},re.Typography.TITLE_SCREEN,"h1"),le(Nr,re.Typography.TITLE_SECTION,"h2"),le(Nr,re.Typography.TITLE_SUBSECTION,"h3"),le(Nr,re.Typography.TITLE_BODY,"h4"),le(Nr,re.Typography.TITLE_GROUP,"h5"),Nr);function _(e){var t=e.as,n=e.type,r=void 0===n?R:n,o=e.className,n=b(e,P),e=I[r];if(void 0!==e){e=null!=t?t:"".concat(e);return ce(e,L(L({},n),{},{className:se("np-text-".concat(r),o)}))}t=null!=t?t:"".concat(I[R]);return ce(t,L(L({},n),{},{className:se("np-text-".concat(R),o)}))}var j=["as","type","className"];function U(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function B(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?U(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var F=re.Typography.BODY_DEFAULT,q=new Set([re.Typography.BODY_DEFAULT,re.Typography.BODY_DEFAULT_BOLD,re.Typography.BODY_LARGE,re.Typography.BODY_LARGE_BOLD]),z=oe.forwardRef(function(e,t){var n=e.as,r=void 0===n?"div":n,o=e.type,a=void 0===o?F:o,n=e.className,o=b(e,j),e=q.has(a);return ce(r,B(B({},o),{},{ref:t,className:se("np-text-".concat(e?a:F),n)}))}),G=o(function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports});r(G);var V=o(function(e){e.exports=function(e){if(Array.isArray(e))return G(e)},e.exports.__esModule=!0,e.exports.default=e.exports});r(V);var H=o(function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports});r(H);var Y=o(function(e){e.exports=function(e,t){if(e){if("string"==typeof e)return G(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?G(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports});r(Y);var W=o(function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports});r(W);var K=r(o(function(e){e.exports=function(e){return V(e)||H(e)||Y(e)||W()},e.exports.__esModule=!0,e.exports.default=e.exports})),Z=o(function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports});r(Z);var X=o(function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports});r(X);var $=o(function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports});r($);function J(e){return e=e.className,ce("span",{className:se("tw-icon","tw-icon-chevron",e),role:"presentation","aria-hidden":!0,children:ce("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",focusable:"false",children:ce("path",{fillRule:"evenodd",d:"M4.9995 2.0865L0.0635004 6.7645L1.2745 7.9125L4.9995 4.3835L8.7245 7.9135L9.9355 6.7645L4.9995 2.0865Z"})})})}var fe=r(o(function(e){e.exports=function(e,t){return Z(e)||X(e,t)||Y(e,t)||$()},e.exports.__esModule=!0,e.exports.default=e.exports})),Q=(le(Pr={},re.Size.EXTRA_SMALL,10),le(Pr,re.Size.SMALL,16),le(Pr,re.Size.MEDIUM,24),Pr);J.propTypes={className:l.default.string},J.defaultProps={className:null};function he(e){var t=e.orientation,n=e.size,r=e.disabled,e=e.className,e=se("tw-chevron",{"chevron-color":!r},"".concat([t]).toLowerCase(),e);return n===re.Size.EXTRA_SMALL?ce(J,{className:e}):ce(S.ChevronUp,{className:e,size:Q[n]})}he.propTypes={orientation:l.default.oneOf(["top","bottom","left","right"]),size:l.default.oneOf(["xs","sm","md"]),disabled:l.default.bool,className:l.default.string},he.defaultProps={orientation:re.Position.BOTTOM,size:re.Size.SMALL,disabled:!1,className:null};var ee=["media","title","content","as","button","decision","disabled","complex","inverseMediaCircle","className","showMediaAtAllSizes","showMediaCircle","isContainerAligned"];function te(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function ne(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?te(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function me(e){var t=e["aria-label"],n=e.id,r=e.title,o=e.content,a=e.onClick,i=e.open,l=e.icon,s=e.theme,u=ae.useTheme().isModern,e=l?oe.cloneElement(l,{size:24}):null;return pe("div",{id:n,className:se("np-accordion-item","np-accordion-item--".concat(s),e?"np-accordion-item--with-icon":null,{"np-accordion-item--open":i}),children:[ce(ge,{"aria-label":t,as:"button",type:"button",media:e,title:r,button:ce(he,{orientation:i?re.Position.TOP:re.Position.DOWN,size:u?re.Size.MEDIUM:re.Size.SMALL}),inverseMediaCircle:!1,onClick:a}),i&&ce(z,{as:"span",type:re.Typography.BODY_LARGE,className:se("np-accordion-item__content","d-block",{"has-icon":l}),children:o})]})}var ge=oe.forwardRef(function(e,t){var n=e.media,r=void 0===n?"":n,o=e.title,a=e.content,i=e.as,l=e.button,s=e.decision,u=void 0===s||s,c=e.disabled,p=void 0!==c&&c,d=e.complex,f=e.inverseMediaCircle,h=void 0===f||f,n=e.className,s=e.showMediaAtAllSizes,c=e.showMediaCircle,f=void 0===c||c,c=e.isContainerAligned,c=void 0!==c&&c,e=b(e,ee),i=null!==i&&void 0!==i?i:"label";return ce(i,ne(ne({},e),{},{ref:t,className:se("np-option",n,{"decision-complex":d,decision:u,disabled:p,"np-option__sm-media":s,"np-option__container-aligned":c}),disabled:p&&"button"===i,children:pe("div",{className:"media",children:[r&&ce("div",{className:"media-left",children:ce("div",f?{className:se("circle circle-sm text-primary",{"circle-inverse":h}),children:r}:{className:"np-option__no-media-circle",children:r})}),pe("div",{className:"media-body",children:[ce(z,{as:"span",type:re.Typography.BODY_LARGE_BOLD,className:"text-primary np-option__title d-block",children:o}),a&&ce(z,{className:"d-block np-option__body",children:a})]}),ce("div",{className:"media-right",children:l})]})}))});function ye(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function be(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ye(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}me.propTypes={"aria-label":l.default.string,content:l.default.node.isRequired,icon:l.default.node,id:l.default.string,open:l.default.bool.isRequired,onClick:l.default.func.isRequired,title:l.default.node.isRequired,theme:l.default.oneOf(["light","dark"])},me.defaultProps={"aria-label":void 0,icon:null,id:null,theme:re.Theme.LIGHT};function ve(e){var t=e.items,n=e.onClick,r=e.indexOpen,o=e.theme,e=oe.useState(function(){return t.map(function(e,t){return t===r})}),a=(e=fe(e,2))[0],i=e[1];return t.map(function(e,t){return ce(me,be(be({open:a[t],onClick:function(){return function(e){n&&n(e);var t=K(a);t[e]=!a[e],i(t)}(t)}},e),{},{theme:o}),e.id||t)})}ve.propTypes={indexOpen:l.default.number,items:l.default.arrayOf(l.default.shape({id:l.default.string,title:l.default.node.isRequired,content:l.default.node.isRequired,icon:l.default.node})).isRequired,onClick:l.default.func,theme:l.default.oneOf(["light","dark"])},ve.defaultProps={indexOpen:-1,onClick:null,theme:re.Theme.LIGHT};var Oe=["disabled","className","onClick","text","children"];function we(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Ee(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?we(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):we(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Te=oe.forwardRef(function(e,t){var n=e.disabled,r=void 0!==n&&n,o=e.className,a=void 0===o?void 0:o,i=e.onClick,n=e.text,o=e.children,e=b(e,Oe);return ce("button",Ee(Ee({ref:t,type:"button",className:se("np-action-btn","np-text-body-default-bold",a),disabled:r,onClick:i},e),{},{children:o||n}))});function Se(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Ce(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Se(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Se(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var xe=function(r,o){return function(e,t,n){return"function"!=typeof r?new Error("Invalid react-required-if prop type supplied to "+n+". Validation failed."):"function"!=typeof o?new Error("Invalid react-required-if condition supplied to "+n+". Validation failed."):(o(e)?r.isRequired:r).apply(this,arguments)}},De=ie.defineMessages({ariaLabel:{id:"neptune.CloseButton.ariaLabel"}}),Ae=oe.forwardRef(function(e,t){var n=e["aria-label"],r=e.size,o=void 0===r?re.Size.MEDIUM:r,a=e.filled,i=void 0!==a&&a,l=e.className,r=e.onClick,a=ie.useIntl();null!==(e=n)&&void 0!==e||(n=a.formatMessage(De.ariaLabel));i=i?S.CrossCircleFill:S.Cross;return ce("button",{ref:t,type:"button",className:se("np-close-button","close btn-link","text-no-decoration",{"np-close-button--large":o===re.Size.MEDIUM,"np-close-button--x-large":o===re.Size.LARGE},l),"aria-label":n,onClick:r,children:ce(i,{size:o===re.Size.SMALL?16:24})})}),Le=["className","children","href","target","type","aria-label","onClick"];function Re(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Ie(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Re(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function _e(e){var t=e.className,n=e.children,r=e.href,o=e.target,a=e.type,i=e["aria-label"],l=e.onClick,s=b(e,Le),e="_blank"===o;return pe("a",Ie(Ie({href:r,target:o,className:se("np-link",a?"np-text-".concat(a):void 0,"d-inline-flex",t),"aria-label":i,rel:e?"noreferrer":void 0,onClick:l},s),{},{children:[n,e&&ce(S.NavigateAway,{})]}))}function Me(e){var t=void 0===(r=e.sentiment)?re.Sentiment.NEUTRAL:r,n=e.size,e=(le(r={},re.Sentiment.POSITIVE,S.Check),le(r,re.Sentiment.NEUTRAL,S.Info),le(r,re.Sentiment.WARNING,S.Alert),le(r,re.Sentiment.NEGATIVE,S.Cross),le(r,re.Sentiment.PENDING,S.ClockBorderless),le(r,re.Sentiment.INFO,S.Info),le(r,re.Sentiment.ERROR,S.Cross),le(r,re.Sentiment.SUCCESS,S.Check),r),r=[re.Sentiment.WARNING,re.Sentiment.PENDING].includes(t)?"dark":"light",e=e[t];return ce("span",{"data-testid":"status-icon",className:se("status-circle","status-circle-"+n,t),children:ce(e,{className:se("status-icon",r)})})}function je(e){var t,n;["development","test"].includes(null===(t=process)||void 0===t||null===(n=t.env)||void 0===n?void 0:n.NODE_ENV)&&console.warn(e)}function Ue(e,t){t&&je(e)}var Be=function(u,e){var c=e.component,t=e.message,p=void 0===t?"":t,t=e.newProp,d=void 0===t?null:t,e=e.expiryDate,f=void 0===e?null:e;return function(e,t){var n,r,o,a=d?"Please use ".concat(d," instead."):p;null!=e[t]&&void 0!==e[t]&&je((r=(n={component:c,propName:t,message:a,expiryDate:f}).component,o=n.propName,a=n.message,n=n.expiryDate,r=["".concat(r," has deprecated the use of ").concat(o,".")],a&&r.push(a),n&&r.push("".concat(o," will be removed on or after ").concat(n.toLocaleString("en-GB",{year:"numeric",month:"numeric",day:"numeric"}))),r.join(" ")));for(var i=arguments.length,l=new Array(2<i?i-2:0),s=2;s<i;s++)l[s-2]=arguments[s];return u.apply(void 0,[e,t].concat(l))}};function Fe(e){switch(e._type){case"document":case"block_quote":case"list":case"item":case"paragraph":case"heading":case"emph":case"strong":case"link":case"image":case"custom_inline":case"custom_block":return!0;default:return!1}}function qe(e,t){this.current=e,this.entering=!0===t}function ze(){var e=this.current,t=this.entering;if(null===e)return null;var n=Fe(e);return t&&n?e._firstChild?(this.current=e._firstChild,this.entering=!0):this.entering=!1:e===this.root?this.current=null:null===e._next?(this.current=e._parent,this.entering=!1):(this.current=e._next,this.entering=!0),{entering:t,node:e}}function Ge(e){return{current:e,root:e,entering:!0,next:ze,resumeAt:qe}}var Ve=function(e,t){this._type=e,this._parent=null,this._firstChild=null,this._lastChild=null,this._prev=null,this._next=null,this._sourcepos=t,this._lastLineBlank=!1,this._lastLineChecked=!1,this._open=!0,this._string_content=null,this._literal=null,this._listData={},this._info=null,this._destination=null,this._title=null,this._isFenced=!1,this._fenceChar=null,this._fenceLength=0,this._fenceOffset=null,this._level=null,this._onEnter=null,this._onExit=null},He=Ve.prototype;Object.defineProperty(He,"isContainer",{get:function(){return Fe(this)}}),Object.defineProperty(He,"type",{get:function(){return this._type}}),Object.defineProperty(He,"firstChild",{get:function(){return this._firstChild}}),Object.defineProperty(He,"lastChild",{get:function(){return this._lastChild}}),Object.defineProperty(He,"next",{get:function(){return this._next}}),Object.defineProperty(He,"prev",{get:function(){return this._prev}}),Object.defineProperty(He,"parent",{get:function(){return this._parent}}),Object.defineProperty(He,"sourcepos",{get:function(){return this._sourcepos}}),Object.defineProperty(He,"literal",{get:function(){return this._literal},set:function(e){this._literal=e}}),Object.defineProperty(He,"destination",{get:function(){return this._destination},set:function(e){this._destination=e}}),Object.defineProperty(He,"title",{get:function(){return this._title},set:function(e){this._title=e}}),Object.defineProperty(He,"info",{get:function(){return this._info},set:function(e){this._info=e}}),Object.defineProperty(He,"level",{get:function(){return this._level},set:function(e){this._level=e}}),Object.defineProperty(He,"listType",{get:function(){return this._listData.type},set:function(e){this._listData.type=e}}),Object.defineProperty(He,"listTight",{get:function(){return this._listData.tight},set:function(e){this._listData.tight=e}}),Object.defineProperty(He,"listStart",{get:function(){return this._listData.start},set:function(e){this._listData.start=e}}),Object.defineProperty(He,"listDelimiter",{get:function(){return this._listData.delimiter},set:function(e){this._listData.delimiter=e}}),Object.defineProperty(He,"onEnter",{get:function(){return this._onEnter},set:function(e){this._onEnter=e}}),Object.defineProperty(He,"onExit",{get:function(){return this._onExit},set:function(e){this._onExit=e}}),Ve.prototype.appendChild=function(e){e.unlink(),(e._parent=this)._lastChild?(this._lastChild._next=e)._prev=this._lastChild:this._firstChild=e,this._lastChild=e},Ve.prototype.prependChild=function(e){e.unlink(),(e._parent=this)._firstChild?((this._firstChild._prev=e)._next=this._firstChild,this._firstChild=e):(this._firstChild=e,this._lastChild=e)},Ve.prototype.unlink=function(){this._prev?this._prev._next=this._next:this._parent&&(this._parent._firstChild=this._next),this._next?this._next._prev=this._prev:this._parent&&(this._parent._lastChild=this._prev),this._parent=null,this._next=null,this._prev=null},Ve.prototype.insertAfter=function(e){e.unlink(),e._next=this._next,e._next&&(e._next._prev=e),((e._prev=this)._next=e)._parent=this._parent,e._next||(e._parent._lastChild=e)},Ve.prototype.insertBefore=function(e){e.unlink(),e._prev=this._prev,e._prev&&(e._prev._next=e),((e._next=this)._prev=e)._parent=this._parent,e._prev||(e._parent._firstChild=e)},Ve.prototype.walker=function(){return new Ge(this)};var Ye=Ve,We={};function Ke(e,t,n){var r,o,a,i,l,s="";for("string"!=typeof t&&(n=t,t=Ke.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,r=We[e];if(r)return r;for(r=We[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)r[e.charCodeAt(t)]=e[t];return r}(t),r=0,o=e.length;r<o;r++)a=e.charCodeAt(r),n&&37===a&&r+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(r+1,r+3))?(s+=e.slice(r,r+3),r+=2):a<128?s+=l[a]:55296<=a&&a<=57343?55296<=a&&a<=56319&&r+1<o&&56320<=(i=e.charCodeAt(r+1))&&i<=57343?(s+=encodeURIComponent(e[r]+e[r+1]),r++):s+="%EF%BF%BD":s+=encodeURIComponent(e[r]);return s}Ke.defaultChars=";/?:@&=+$,-_.!~*'()#",Ke.componentChars="-_.!~*'()";var Ze=Ke,e=i(Object.freeze({__proto__:null,amp:"&",apos:"'",gt:">",lt:"<",quot:'"',default:{amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}})),Xe=i(Object.freeze({__proto__:null,Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:"",default:{Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}})),$e=tt(e),Je=lt($e,nt($e)),Qe=tt(Xe),et=lt(Qe,nt(Qe));function tt(n){return Object.keys(n).sort().reduce(function(e,t){return e[n[t]]="&"+t+";",e},{})}function nt(e){var t=[],n=[];return Object.keys(e).forEach(function(e){1===e.length?t.push("\\"+e):n.push(e)}),n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}var rt=/[^\0-\x7F]/g,ot=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function at(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function it(e){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function lt(t,n){function r(e){return t[e]}return function(e){return e.replace(n,r).replace(ot,it).replace(rt,at)}}var st=nt($e);var ut={XML:Je,HTML:et,escape:function(e){return e.replace(st,at).replace(ot,it).replace(rt,at)}},ct=i(Object.freeze({__proto__:null,default:{0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}})),pt=function(e){if(55296<=e&&e<=57343||1114111<e)return"�";e in ct&&(e=ct[e]);var t="";65535<e&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e);return t+=String.fromCharCode(e)};var dt=i(Object.freeze({__proto__:null,Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ",default:{Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}})),ft=mt(e),ht=mt(Xe);function mt(e){var t=Object.keys(e).join("|"),n=yt(e);t+="|#[xX][\\da-fA-F]+|#\\d+";var r=new RegExp("&(?:"+t+");","g");return function(e){return String(e).replace(r,n)}}function gt(e,t){return e<t?1:-1}function yt(t){return function(e){return"#"===e.charAt(1)?"X"===e.charAt(2)||"x"===e.charAt(2)?pt(parseInt(e.substr(3),16)):pt(parseInt(e.substr(2),10)):t[e.slice(1,-1)]}}function bt(e){return 92===e.charCodeAt(0)?e.charAt(1):Tt(e)}function vt(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return e}}function Ot(e){return e.slice(1,e.length-1).trim().replace(It,function(e){return _t[e]||" "})}var wt={XML:ft,HTML:function(){for(var e=Object.keys(dt).sort(gt),t=Object.keys(Xe).sort(gt),n=0,r=0;n<t.length;n++)e[r]===t[n]?(t[n]+=";?",r++):t[n]+=";";var o=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),a=yt(Xe);function i(e){return";"!==e.substr(-1)&&(e+=";"),a(e)}return function(e){return String(e).replace(o,i)}}(),HTMLStrict:ht},Et=o(function(e,t){t.decode=function(e,t){return(!t||t<=0?wt.XML:wt.HTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?wt.XML:wt.HTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?ut.XML:ut.HTML)(e)},t.encodeXML=ut.XML,t.encodeHTML4=t.encodeHTML5=t.encodeHTML=ut.HTML,t.decodeXML=t.decodeXMLStrict=wt.XML,t.decodeHTML4=t.decodeHTML5=t.decodeHTML=wt.HTML,t.decodeHTML4Strict=t.decodeHTML5Strict=t.decodeHTMLStrict=wt.HTMLStrict,t.escape=ut.escape}),Tt=(Et.decode,Et.decodeStrict,Et.encode,Et.encodeXML,Et.encodeHTML4,Et.encodeHTML5,Et.encodeHTML,Et.decodeXML,Et.decodeXMLStrict,Et.decodeHTML4,Et.decodeHTML5,Et.decodeHTML,Et.decodeHTML4Strict,Et.decodeHTML5Strict,Et.decodeHTMLStrict,Et.escape,Et.decodeHTML),St="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",Ct="[A-Za-z][A-Za-z0-9-]*",xt="<"+Ct+"(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*/?>",Dt="</"+Ct+"\\s*[>]",At=new RegExp("^(?:<[A-Za-z][A-Za-z0-9-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*/?>|</[A-Za-z][A-Za-z0-9-]*\\s*[>]|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|[<][?].*?[?][>]|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)","i"),Nt=/[\\&]/,Pt="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",kt=new RegExp("\\\\"+Pt+"|"+St,"gi"),Lt=new RegExp('[&<>"]',"g"),Rt={unescapeString:function(e){return Nt.test(e)?e.replace(kt,bt):e},normalizeURI:function(t){try{return Ze(t)}catch(e){return t}},escapeXml:function(e){return Lt.test(e)?e.replace(Lt,vt):e},reHtmlTag:At,OPENTAG:xt,CLOSETAG:Dt,ENTITY:St,ESCAPABLE:Pt},It=/[ \t\r\n]+|[A-Z\xB5\xC0-\xD6\xD8-\xDF\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u0149\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u017F\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C5\u01C7\u01C8\u01CA\u01CB\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F0-\u01F2\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0345\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03AB\u03B0\u03C2\u03CF-\u03D1\u03D5\u03D6\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F0\u03F1\u03F4\u03F5\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u0587\u10A0-\u10C5\u10C7\u10CD\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E96-\u1E9B\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F50\u1F52\u1F54\u1F56\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1F80-\u1FAF\u1FB2-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD2\u1FD3\u1FD6-\u1FDB\u1FE2-\u1FE4\u1FE6-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A\u212B\u2132\u2160-\u216F\u2183\u24B6-\u24CF\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0\uA7B1\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A]|\uD801[\uDC00-\uDC27]|\uD806[\uDCA0-\uDCBF]/g,_t={A:"a",B:"b",C:"c",D:"d",E:"e",F:"f",G:"g",H:"h",I:"i",J:"j",K:"k",L:"l",M:"m",N:"n",O:"o",P:"p",Q:"q",R:"r",S:"s",T:"t",U:"u",V:"v",W:"w",X:"x",Y:"y",Z:"z","µ":"μ","À":"à","Á":"á","Â":"â","Ã":"ã","Ä":"ä","Å":"å","Æ":"æ","Ç":"ç","È":"è","É":"é","Ê":"ê","Ë":"ë","Ì":"ì","Í":"í","Î":"î","Ï":"ï","Ð":"ð","Ñ":"ñ","Ò":"ò","Ó":"ó","Ô":"ô","Õ":"õ","Ö":"ö","Ø":"ø","Ù":"ù","Ú":"ú","Û":"û","Ü":"ü","Ý":"ý","Þ":"þ","Ā":"ā","Ă":"ă","Ą":"ą","Ć":"ć","Ĉ":"ĉ","Ċ":"ċ","Č":"č","Ď":"ď","Đ":"đ","Ē":"ē","Ĕ":"ĕ","Ė":"ė","Ę":"ę","Ě":"ě","Ĝ":"ĝ","Ğ":"ğ","Ġ":"ġ","Ģ":"ģ","Ĥ":"ĥ","Ħ":"ħ","Ĩ":"ĩ","Ī":"ī","Ĭ":"ĭ","Į":"į","IJ":"ij","Ĵ":"ĵ","Ķ":"ķ","Ĺ":"ĺ","Ļ":"ļ","Ľ":"ľ","Ŀ":"ŀ","Ł":"ł","Ń":"ń","Ņ":"ņ","Ň":"ň","Ŋ":"ŋ","Ō":"ō","Ŏ":"ŏ","Ő":"ő","Œ":"œ","Ŕ":"ŕ","Ŗ":"ŗ","Ř":"ř","Ś":"ś","Ŝ":"ŝ","Ş":"ş","Š":"š","Ţ":"ţ","Ť":"ť","Ŧ":"ŧ","Ũ":"ũ","Ū":"ū","Ŭ":"ŭ","Ů":"ů","Ű":"ű","Ų":"ų","Ŵ":"ŵ","Ŷ":"ŷ","Ÿ":"ÿ","Ź":"ź","Ż":"ż","Ž":"ž","ſ":"s","Ɓ":"ɓ","Ƃ":"ƃ","Ƅ":"ƅ","Ɔ":"ɔ","Ƈ":"ƈ","Ɖ":"ɖ","Ɗ":"ɗ","Ƌ":"ƌ","Ǝ":"ǝ","Ə":"ə","Ɛ":"ɛ","Ƒ":"ƒ","Ɠ":"ɠ","Ɣ":"ɣ","Ɩ":"ɩ","Ɨ":"ɨ","Ƙ":"ƙ","Ɯ":"ɯ","Ɲ":"ɲ","Ɵ":"ɵ","Ơ":"ơ","Ƣ":"ƣ","Ƥ":"ƥ","Ʀ":"ʀ","Ƨ":"ƨ","Ʃ":"ʃ","Ƭ":"ƭ","Ʈ":"ʈ","Ư":"ư","Ʊ":"ʊ","Ʋ":"ʋ","Ƴ":"ƴ","Ƶ":"ƶ","Ʒ":"ʒ","Ƹ":"ƹ","Ƽ":"ƽ","DŽ":"dž","Dž":"dž","LJ":"lj","Lj":"lj","NJ":"nj","Nj":"nj","Ǎ":"ǎ","Ǐ":"ǐ","Ǒ":"ǒ","Ǔ":"ǔ","Ǖ":"ǖ","Ǘ":"ǘ","Ǚ":"ǚ","Ǜ":"ǜ","Ǟ":"ǟ","Ǡ":"ǡ","Ǣ":"ǣ","Ǥ":"ǥ","Ǧ":"ǧ","Ǩ":"ǩ","Ǫ":"ǫ","Ǭ":"ǭ","Ǯ":"ǯ","DZ":"dz","Dz":"dz","Ǵ":"ǵ","Ƕ":"ƕ","Ƿ":"ƿ","Ǹ":"ǹ","Ǻ":"ǻ","Ǽ":"ǽ","Ǿ":"ǿ","Ȁ":"ȁ","Ȃ":"ȃ","Ȅ":"ȅ","Ȇ":"ȇ","Ȉ":"ȉ","Ȋ":"ȋ","Ȍ":"ȍ","Ȏ":"ȏ","Ȑ":"ȑ","Ȓ":"ȓ","Ȕ":"ȕ","Ȗ":"ȗ","Ș":"ș","Ț":"ț","Ȝ":"ȝ","Ȟ":"ȟ","Ƞ":"ƞ","Ȣ":"ȣ","Ȥ":"ȥ","Ȧ":"ȧ","Ȩ":"ȩ","Ȫ":"ȫ","Ȭ":"ȭ","Ȯ":"ȯ","Ȱ":"ȱ","Ȳ":"ȳ","Ⱥ":"ⱥ","Ȼ":"ȼ","Ƚ":"ƚ","Ⱦ":"ⱦ","Ɂ":"ɂ","Ƀ":"ƀ","Ʉ":"ʉ","Ʌ":"ʌ","Ɇ":"ɇ","Ɉ":"ɉ","Ɋ":"ɋ","Ɍ":"ɍ","Ɏ":"ɏ","ͅ":"ι","Ͱ":"ͱ","Ͳ":"ͳ","Ͷ":"ͷ","Ϳ":"ϳ","Ά":"ά","Έ":"έ","Ή":"ή","Ί":"ί","Ό":"ό","Ύ":"ύ","Ώ":"ώ","Α":"α","Β":"β","Γ":"γ","Δ":"δ","Ε":"ε","Ζ":"ζ","Η":"η","Θ":"θ","Ι":"ι","Κ":"κ","Λ":"λ","Μ":"μ","Ν":"ν","Ξ":"ξ","Ο":"ο","Π":"π","Ρ":"ρ","Σ":"σ","Τ":"τ","Υ":"υ","Φ":"φ","Χ":"χ","Ψ":"ψ","Ω":"ω","Ϊ":"ϊ","Ϋ":"ϋ","ς":"σ","Ϗ":"ϗ","ϐ":"β","ϑ":"θ","ϕ":"φ","ϖ":"π","Ϙ":"ϙ","Ϛ":"ϛ","Ϝ":"ϝ","Ϟ":"ϟ","Ϡ":"ϡ","Ϣ":"ϣ","Ϥ":"ϥ","Ϧ":"ϧ","Ϩ":"ϩ","Ϫ":"ϫ","Ϭ":"ϭ","Ϯ":"ϯ","ϰ":"κ","ϱ":"ρ","ϴ":"θ","ϵ":"ε","Ϸ":"ϸ","Ϲ":"ϲ","Ϻ":"ϻ","Ͻ":"ͻ","Ͼ":"ͼ","Ͽ":"ͽ","Ѐ":"ѐ","Ё":"ё","Ђ":"ђ","Ѓ":"ѓ","Є":"є","Ѕ":"ѕ","І":"і","Ї":"ї","Ј":"ј","Љ":"љ","Њ":"њ","Ћ":"ћ","Ќ":"ќ","Ѝ":"ѝ","Ў":"ў","Џ":"џ","А":"а","Б":"б","В":"в","Г":"г","Д":"д","Е":"е","Ж":"ж","З":"з","И":"и","Й":"й","К":"к","Л":"л","М":"м","Н":"н","О":"о","П":"п","Р":"р","С":"с","Т":"т","У":"у","Ф":"ф","Х":"х","Ц":"ц","Ч":"ч","Ш":"ш","Щ":"щ","Ъ":"ъ","Ы":"ы","Ь":"ь","Э":"э","Ю":"ю","Я":"я","Ѡ":"ѡ","Ѣ":"ѣ","Ѥ":"ѥ","Ѧ":"ѧ","Ѩ":"ѩ","Ѫ":"ѫ","Ѭ":"ѭ","Ѯ":"ѯ","Ѱ":"ѱ","Ѳ":"ѳ","Ѵ":"ѵ","Ѷ":"ѷ","Ѹ":"ѹ","Ѻ":"ѻ","Ѽ":"ѽ","Ѿ":"ѿ","Ҁ":"ҁ","Ҋ":"ҋ","Ҍ":"ҍ","Ҏ":"ҏ","Ґ":"ґ","Ғ":"ғ","Ҕ":"ҕ","Җ":"җ","Ҙ":"ҙ","Қ":"қ","Ҝ":"ҝ","Ҟ":"ҟ","Ҡ":"ҡ","Ң":"ң","Ҥ":"ҥ","Ҧ":"ҧ","Ҩ":"ҩ","Ҫ":"ҫ","Ҭ":"ҭ","Ү":"ү","Ұ":"ұ","Ҳ":"ҳ","Ҵ":"ҵ","Ҷ":"ҷ","Ҹ":"ҹ","Һ":"һ","Ҽ":"ҽ","Ҿ":"ҿ","Ӏ":"ӏ","Ӂ":"ӂ","Ӄ":"ӄ","Ӆ":"ӆ","Ӈ":"ӈ","Ӊ":"ӊ","Ӌ":"ӌ","Ӎ":"ӎ","Ӑ":"ӑ","Ӓ":"ӓ","Ӕ":"ӕ","Ӗ":"ӗ","Ә":"ә","Ӛ":"ӛ","Ӝ":"ӝ","Ӟ":"ӟ","Ӡ":"ӡ","Ӣ":"ӣ","Ӥ":"ӥ","Ӧ":"ӧ","Ө":"ө","Ӫ":"ӫ","Ӭ":"ӭ","Ӯ":"ӯ","Ӱ":"ӱ","Ӳ":"ӳ","Ӵ":"ӵ","Ӷ":"ӷ","Ӹ":"ӹ","Ӻ":"ӻ","Ӽ":"ӽ","Ӿ":"ӿ","Ԁ":"ԁ","Ԃ":"ԃ","Ԅ":"ԅ","Ԇ":"ԇ","Ԉ":"ԉ","Ԋ":"ԋ","Ԍ":"ԍ","Ԏ":"ԏ","Ԑ":"ԑ","Ԓ":"ԓ","Ԕ":"ԕ","Ԗ":"ԗ","Ԙ":"ԙ","Ԛ":"ԛ","Ԝ":"ԝ","Ԟ":"ԟ","Ԡ":"ԡ","Ԣ":"ԣ","Ԥ":"ԥ","Ԧ":"ԧ","Ԩ":"ԩ","Ԫ":"ԫ","Ԭ":"ԭ","Ԯ":"ԯ","Ա":"ա","Բ":"բ","Գ":"գ","Դ":"դ","Ե":"ե","Զ":"զ","Է":"է","Ը":"ը","Թ":"թ","Ժ":"ժ","Ի":"ի","Լ":"լ","Խ":"խ","Ծ":"ծ","Կ":"կ","Հ":"հ","Ձ":"ձ","Ղ":"ղ","Ճ":"ճ","Մ":"մ","Յ":"յ","Ն":"ն","Շ":"շ","Ո":"ո","Չ":"չ","Պ":"պ","Ջ":"ջ","Ռ":"ռ","Ս":"ս","Վ":"վ","Տ":"տ","Ր":"ր","Ց":"ց","Ւ":"ւ","Փ":"փ","Ք":"ք","Օ":"օ","Ֆ":"ֆ","Ⴀ":"ⴀ","Ⴁ":"ⴁ","Ⴂ":"ⴂ","Ⴃ":"ⴃ","Ⴄ":"ⴄ","Ⴅ":"ⴅ","Ⴆ":"ⴆ","Ⴇ":"ⴇ","Ⴈ":"ⴈ","Ⴉ":"ⴉ","Ⴊ":"ⴊ","Ⴋ":"ⴋ","Ⴌ":"ⴌ","Ⴍ":"ⴍ","Ⴎ":"ⴎ","Ⴏ":"ⴏ","Ⴐ":"ⴐ","Ⴑ":"ⴑ","Ⴒ":"ⴒ","Ⴓ":"ⴓ","Ⴔ":"ⴔ","Ⴕ":"ⴕ","Ⴖ":"ⴖ","Ⴗ":"ⴗ","Ⴘ":"ⴘ","Ⴙ":"ⴙ","Ⴚ":"ⴚ","Ⴛ":"ⴛ","Ⴜ":"ⴜ","Ⴝ":"ⴝ","Ⴞ":"ⴞ","Ⴟ":"ⴟ","Ⴠ":"ⴠ","Ⴡ":"ⴡ","Ⴢ":"ⴢ","Ⴣ":"ⴣ","Ⴤ":"ⴤ","Ⴥ":"ⴥ","Ⴧ":"ⴧ","Ⴭ":"ⴭ","Ḁ":"ḁ","Ḃ":"ḃ","Ḅ":"ḅ","Ḇ":"ḇ","Ḉ":"ḉ","Ḋ":"ḋ","Ḍ":"ḍ","Ḏ":"ḏ","Ḑ":"ḑ","Ḓ":"ḓ","Ḕ":"ḕ","Ḗ":"ḗ","Ḙ":"ḙ","Ḛ":"ḛ","Ḝ":"ḝ","Ḟ":"ḟ","Ḡ":"ḡ","Ḣ":"ḣ","Ḥ":"ḥ","Ḧ":"ḧ","Ḩ":"ḩ","Ḫ":"ḫ","Ḭ":"ḭ","Ḯ":"ḯ","Ḱ":"ḱ","Ḳ":"ḳ","Ḵ":"ḵ","Ḷ":"ḷ","Ḹ":"ḹ","Ḻ":"ḻ","Ḽ":"ḽ","Ḿ":"ḿ","Ṁ":"ṁ","Ṃ":"ṃ","Ṅ":"ṅ","Ṇ":"ṇ","Ṉ":"ṉ","Ṋ":"ṋ","Ṍ":"ṍ","Ṏ":"ṏ","Ṑ":"ṑ","Ṓ":"ṓ","Ṕ":"ṕ","Ṗ":"ṗ","Ṙ":"ṙ","Ṛ":"ṛ","Ṝ":"ṝ","Ṟ":"ṟ","Ṡ":"ṡ","Ṣ":"ṣ","Ṥ":"ṥ","Ṧ":"ṧ","Ṩ":"ṩ","Ṫ":"ṫ","Ṭ":"ṭ","Ṯ":"ṯ","Ṱ":"ṱ","Ṳ":"ṳ","Ṵ":"ṵ","Ṷ":"ṷ","Ṹ":"ṹ","Ṻ":"ṻ","Ṽ":"ṽ","Ṿ":"ṿ","Ẁ":"ẁ","Ẃ":"ẃ","Ẅ":"ẅ","Ẇ":"ẇ","Ẉ":"ẉ","Ẋ":"ẋ","Ẍ":"ẍ","Ẏ":"ẏ","Ẑ":"ẑ","Ẓ":"ẓ","Ẕ":"ẕ","ẛ":"ṡ","Ạ":"ạ","Ả":"ả","Ấ":"ấ","Ầ":"ầ","Ẩ":"ẩ","Ẫ":"ẫ","Ậ":"ậ","Ắ":"ắ","Ằ":"ằ","Ẳ":"ẳ","Ẵ":"ẵ","Ặ":"ặ","Ẹ":"ẹ","Ẻ":"ẻ","Ẽ":"ẽ","Ế":"ế","Ề":"ề","Ể":"ể","Ễ":"ễ","Ệ":"ệ","Ỉ":"ỉ","Ị":"ị","Ọ":"ọ","Ỏ":"ỏ","Ố":"ố","Ồ":"ồ","Ổ":"ổ","Ỗ":"ỗ","Ộ":"ộ","Ớ":"ớ","Ờ":"ờ","Ở":"ở","Ỡ":"ỡ","Ợ":"ợ","Ụ":"ụ","Ủ":"ủ","Ứ":"ứ","Ừ":"ừ","Ử":"ử","Ữ":"ữ","Ự":"ự","Ỳ":"ỳ","Ỵ":"ỵ","Ỷ":"ỷ","Ỹ":"ỹ","Ỻ":"ỻ","Ỽ":"ỽ","Ỿ":"ỿ","Ἀ":"ἀ","Ἁ":"ἁ","Ἂ":"ἂ","Ἃ":"ἃ","Ἄ":"ἄ","Ἅ":"ἅ","Ἆ":"ἆ","Ἇ":"ἇ","Ἐ":"ἐ","Ἑ":"ἑ","Ἒ":"ἒ","Ἓ":"ἓ","Ἔ":"ἔ","Ἕ":"ἕ","Ἠ":"ἠ","Ἡ":"ἡ","Ἢ":"ἢ","Ἣ":"ἣ","Ἤ":"ἤ","Ἥ":"ἥ","Ἦ":"ἦ","Ἧ":"ἧ","Ἰ":"ἰ","Ἱ":"ἱ","Ἲ":"ἲ","Ἳ":"ἳ","Ἴ":"ἴ","Ἵ":"ἵ","Ἶ":"ἶ","Ἷ":"ἷ","Ὀ":"ὀ","Ὁ":"ὁ","Ὂ":"ὂ","Ὃ":"ὃ","Ὄ":"ὄ","Ὅ":"ὅ","Ὑ":"ὑ","Ὓ":"ὓ","Ὕ":"ὕ","Ὗ":"ὗ","Ὠ":"ὠ","Ὡ":"ὡ","Ὢ":"ὢ","Ὣ":"ὣ","Ὤ":"ὤ","Ὥ":"ὥ","Ὦ":"ὦ","Ὧ":"ὧ","Ᾰ":"ᾰ","Ᾱ":"ᾱ","Ὰ":"ὰ","Ά":"ά","ι":"ι","Ὲ":"ὲ","Έ":"έ","Ὴ":"ὴ","Ή":"ή","Ῐ":"ῐ","Ῑ":"ῑ","Ὶ":"ὶ","Ί":"ί","Ῠ":"ῠ","Ῡ":"ῡ","Ὺ":"ὺ","Ύ":"ύ","Ῥ":"ῥ","Ὸ":"ὸ","Ό":"ό","Ὼ":"ὼ","Ώ":"ώ","Ω":"ω","K":"k","Å":"å","Ⅎ":"ⅎ","Ⅰ":"ⅰ","Ⅱ":"ⅱ","Ⅲ":"ⅲ","Ⅳ":"ⅳ","Ⅴ":"ⅴ","Ⅵ":"ⅵ","Ⅶ":"ⅶ","Ⅷ":"ⅷ","Ⅸ":"ⅸ","Ⅹ":"ⅹ","Ⅺ":"ⅺ","Ⅻ":"ⅻ","Ⅼ":"ⅼ","Ⅽ":"ⅽ","Ⅾ":"ⅾ","Ⅿ":"ⅿ","Ↄ":"ↄ","Ⓐ":"ⓐ","Ⓑ":"ⓑ","Ⓒ":"ⓒ","Ⓓ":"ⓓ","Ⓔ":"ⓔ","Ⓕ":"ⓕ","Ⓖ":"ⓖ","Ⓗ":"ⓗ","Ⓘ":"ⓘ","Ⓙ":"ⓙ","Ⓚ":"ⓚ","Ⓛ":"ⓛ","Ⓜ":"ⓜ","Ⓝ":"ⓝ","Ⓞ":"ⓞ","Ⓟ":"ⓟ","Ⓠ":"ⓠ","Ⓡ":"ⓡ","Ⓢ":"ⓢ","Ⓣ":"ⓣ","Ⓤ":"ⓤ","Ⓥ":"ⓥ","Ⓦ":"ⓦ","Ⓧ":"ⓧ","Ⓨ":"ⓨ","Ⓩ":"ⓩ","Ⰰ":"ⰰ","Ⰱ":"ⰱ","Ⰲ":"ⰲ","Ⰳ":"ⰳ","Ⰴ":"ⰴ","Ⰵ":"ⰵ","Ⰶ":"ⰶ","Ⰷ":"ⰷ","Ⰸ":"ⰸ","Ⰹ":"ⰹ","Ⰺ":"ⰺ","Ⰻ":"ⰻ","Ⰼ":"ⰼ","Ⰽ":"ⰽ","Ⰾ":"ⰾ","Ⰿ":"ⰿ","Ⱀ":"ⱀ","Ⱁ":"ⱁ","Ⱂ":"ⱂ","Ⱃ":"ⱃ","Ⱄ":"ⱄ","Ⱅ":"ⱅ","Ⱆ":"ⱆ","Ⱇ":"ⱇ","Ⱈ":"ⱈ","Ⱉ":"ⱉ","Ⱊ":"ⱊ","Ⱋ":"ⱋ","Ⱌ":"ⱌ","Ⱍ":"ⱍ","Ⱎ":"ⱎ","Ⱏ":"ⱏ","Ⱐ":"ⱐ","Ⱑ":"ⱑ","Ⱒ":"ⱒ","Ⱓ":"ⱓ","Ⱔ":"ⱔ","Ⱕ":"ⱕ","Ⱖ":"ⱖ","Ⱗ":"ⱗ","Ⱘ":"ⱘ","Ⱙ":"ⱙ","Ⱚ":"ⱚ","Ⱛ":"ⱛ","Ⱜ":"ⱜ","Ⱝ":"ⱝ","Ⱞ":"ⱞ","Ⱡ":"ⱡ","Ɫ":"ɫ","Ᵽ":"ᵽ","Ɽ":"ɽ","Ⱨ":"ⱨ","Ⱪ":"ⱪ","Ⱬ":"ⱬ","Ɑ":"ɑ","Ɱ":"ɱ","Ɐ":"ɐ","Ɒ":"ɒ","Ⱳ":"ⱳ","Ⱶ":"ⱶ","Ȿ":"ȿ","Ɀ":"ɀ","Ⲁ":"ⲁ","Ⲃ":"ⲃ","Ⲅ":"ⲅ","Ⲇ":"ⲇ","Ⲉ":"ⲉ","Ⲋ":"ⲋ","Ⲍ":"ⲍ","Ⲏ":"ⲏ","Ⲑ":"ⲑ","Ⲓ":"ⲓ","Ⲕ":"ⲕ","Ⲗ":"ⲗ","Ⲙ":"ⲙ","Ⲛ":"ⲛ","Ⲝ":"ⲝ","Ⲟ":"ⲟ","Ⲡ":"ⲡ","Ⲣ":"ⲣ","Ⲥ":"ⲥ","Ⲧ":"ⲧ","Ⲩ":"ⲩ","Ⲫ":"ⲫ","Ⲭ":"ⲭ","Ⲯ":"ⲯ","Ⲱ":"ⲱ","Ⲳ":"ⲳ","Ⲵ":"ⲵ","Ⲷ":"ⲷ","Ⲹ":"ⲹ","Ⲻ":"ⲻ","Ⲽ":"ⲽ","Ⲿ":"ⲿ","Ⳁ":"ⳁ","Ⳃ":"ⳃ","Ⳅ":"ⳅ","Ⳇ":"ⳇ","Ⳉ":"ⳉ","Ⳋ":"ⳋ","Ⳍ":"ⳍ","Ⳏ":"ⳏ","Ⳑ":"ⳑ","Ⳓ":"ⳓ","Ⳕ":"ⳕ","Ⳗ":"ⳗ","Ⳙ":"ⳙ","Ⳛ":"ⳛ","Ⳝ":"ⳝ","Ⳟ":"ⳟ","Ⳡ":"ⳡ","Ⳣ":"ⳣ","Ⳬ":"ⳬ","Ⳮ":"ⳮ","Ⳳ":"ⳳ","Ꙁ":"ꙁ","Ꙃ":"ꙃ","Ꙅ":"ꙅ","Ꙇ":"ꙇ","Ꙉ":"ꙉ","Ꙋ":"ꙋ","Ꙍ":"ꙍ","Ꙏ":"ꙏ","Ꙑ":"ꙑ","Ꙓ":"ꙓ","Ꙕ":"ꙕ","Ꙗ":"ꙗ","Ꙙ":"ꙙ","Ꙛ":"ꙛ","Ꙝ":"ꙝ","Ꙟ":"ꙟ","Ꙡ":"ꙡ","Ꙣ":"ꙣ","Ꙥ":"ꙥ","Ꙧ":"ꙧ","Ꙩ":"ꙩ","Ꙫ":"ꙫ","Ꙭ":"ꙭ","Ꚁ":"ꚁ","Ꚃ":"ꚃ","Ꚅ":"ꚅ","Ꚇ":"ꚇ","Ꚉ":"ꚉ","Ꚋ":"ꚋ","Ꚍ":"ꚍ","Ꚏ":"ꚏ","Ꚑ":"ꚑ","Ꚓ":"ꚓ","Ꚕ":"ꚕ","Ꚗ":"ꚗ","Ꚙ":"ꚙ","Ꚛ":"ꚛ","Ꜣ":"ꜣ","Ꜥ":"ꜥ","Ꜧ":"ꜧ","Ꜩ":"ꜩ","Ꜫ":"ꜫ","Ꜭ":"ꜭ","Ꜯ":"ꜯ","Ꜳ":"ꜳ","Ꜵ":"ꜵ","Ꜷ":"ꜷ","Ꜹ":"ꜹ","Ꜻ":"ꜻ","Ꜽ":"ꜽ","Ꜿ":"ꜿ","Ꝁ":"ꝁ","Ꝃ":"ꝃ","Ꝅ":"ꝅ","Ꝇ":"ꝇ","Ꝉ":"ꝉ","Ꝋ":"ꝋ","Ꝍ":"ꝍ","Ꝏ":"ꝏ","Ꝑ":"ꝑ","Ꝓ":"ꝓ","Ꝕ":"ꝕ","Ꝗ":"ꝗ","Ꝙ":"ꝙ","Ꝛ":"ꝛ","Ꝝ":"ꝝ","Ꝟ":"ꝟ","Ꝡ":"ꝡ","Ꝣ":"ꝣ","Ꝥ":"ꝥ","Ꝧ":"ꝧ","Ꝩ":"ꝩ","Ꝫ":"ꝫ","Ꝭ":"ꝭ","Ꝯ":"ꝯ","Ꝺ":"ꝺ","Ꝼ":"ꝼ","Ᵹ":"ᵹ","Ꝿ":"ꝿ","Ꞁ":"ꞁ","Ꞃ":"ꞃ","Ꞅ":"ꞅ","Ꞇ":"ꞇ","Ꞌ":"ꞌ","Ɥ":"ɥ","Ꞑ":"ꞑ","Ꞓ":"ꞓ","Ꞗ":"ꞗ","Ꞙ":"ꞙ","Ꞛ":"ꞛ","Ꞝ":"ꞝ","Ꞟ":"ꞟ","Ꞡ":"ꞡ","Ꞣ":"ꞣ","Ꞥ":"ꞥ","Ꞧ":"ꞧ","Ꞩ":"ꞩ","Ɦ":"ɦ","Ɜ":"ɜ","Ɡ":"ɡ","Ɬ":"ɬ","Ʞ":"ʞ","Ʇ":"ʇ","A":"a","B":"b","C":"c","D":"d","E":"e","F":"f","G":"g","H":"h","I":"i","J":"j","K":"k","L":"l","M":"m","N":"n","O":"o","P":"p","Q":"q","R":"r","S":"s","T":"t","U":"u","V":"v","W":"w","X":"x","Y":"y","Z":"z","𐐀":"𐐨","𐐁":"𐐩","𐐂":"𐐪","𐐃":"𐐫","𐐄":"𐐬","𐐅":"𐐭","𐐆":"𐐮","𐐇":"𐐯","𐐈":"𐐰","𐐉":"𐐱","𐐊":"𐐲","𐐋":"𐐳","𐐌":"𐐴","𐐍":"𐐵","𐐎":"𐐶","𐐏":"𐐷","𐐐":"𐐸","𐐑":"𐐹","𐐒":"𐐺","𐐓":"𐐻","𐐔":"𐐼","𐐕":"𐐽","𐐖":"𐐾","𐐗":"𐐿","𐐘":"𐑀","𐐙":"𐑁","𐐚":"𐑂","𐐛":"𐑃","𐐜":"𐑄","𐐝":"𐑅","𐐞":"𐑆","𐐟":"𐑇","𐐠":"𐑈","𐐡":"𐑉","𐐢":"𐑊","𐐣":"𐑋","𐐤":"𐑌","𐐥":"𐑍","𐐦":"𐑎","𐐧":"𐑏","𑢠":"𑣀","𑢡":"𑣁","𑢢":"𑣂","𑢣":"𑣃","𑢤":"𑣄","𑢥":"𑣅","𑢦":"𑣆","𑢧":"𑣇","𑢨":"𑣈","𑢩":"𑣉","𑢪":"𑣊","𑢫":"𑣋","𑢬":"𑣌","𑢭":"𑣍","𑢮":"𑣎","𑢯":"𑣏","𑢰":"𑣐","𑢱":"𑣑","𑢲":"𑣒","𑢳":"𑣓","𑢴":"𑣔","𑢵":"𑣕","𑢶":"𑣖","𑢷":"𑣗","𑢸":"𑣘","𑢹":"𑣙","𑢺":"𑣚","𑢻":"𑣛","𑢼":"𑣜","𑢽":"𑣝","𑢾":"𑣞","𑢿":"𑣟","ß":"ss","İ":"i̇","ʼn":"ʼn","ǰ":"ǰ","ΐ":"ΐ","ΰ":"ΰ","և":"եւ","ẖ":"ẖ","ẗ":"ẗ","ẘ":"ẘ","ẙ":"ẙ","ẚ":"aʾ","ẞ":"ss","ὐ":"ὐ","ὒ":"ὒ","ὔ":"ὔ","ὖ":"ὖ","ᾀ":"ἀι","ᾁ":"ἁι","ᾂ":"ἂι","ᾃ":"ἃι","ᾄ":"ἄι","ᾅ":"ἅι","ᾆ":"ἆι","ᾇ":"ἇι","ᾈ":"ἀι","ᾉ":"ἁι","ᾊ":"ἂι","ᾋ":"ἃι","ᾌ":"ἄι","ᾍ":"ἅι","ᾎ":"ἆι","ᾏ":"ἇι","ᾐ":"ἠι","ᾑ":"ἡι","ᾒ":"ἢι","ᾓ":"ἣι","ᾔ":"ἤι","ᾕ":"ἥι","ᾖ":"ἦι","ᾗ":"ἧι","ᾘ":"ἠι","ᾙ":"ἡι","ᾚ":"ἢι","ᾛ":"ἣι","ᾜ":"ἤι","ᾝ":"ἥι","ᾞ":"ἦι","ᾟ":"ἧι","ᾠ":"ὠι","ᾡ":"ὡι","ᾢ":"ὢι","ᾣ":"ὣι","ᾤ":"ὤι","ᾥ":"ὥι","ᾦ":"ὦι","ᾧ":"ὧι","ᾨ":"ὠι","ᾩ":"ὡι","ᾪ":"ὢι","ᾫ":"ὣι","ᾬ":"ὤι","ᾭ":"ὥι","ᾮ":"ὦι","ᾯ":"ὧι","ᾲ":"ὰι","ᾳ":"αι","ᾴ":"άι","ᾶ":"ᾶ","ᾷ":"ᾶι","ᾼ":"αι","ῂ":"ὴι","ῃ":"ηι","ῄ":"ήι","ῆ":"ῆ","ῇ":"ῆι","ῌ":"ηι","ῒ":"ῒ","ΐ":"ΐ","ῖ":"ῖ","ῗ":"ῗ","ῢ":"ῢ","ΰ":"ΰ","ῤ":"ῤ","ῦ":"ῦ","ῧ":"ῧ","ῲ":"ὼι","ῳ":"ωι","ῴ":"ώι","ῶ":"ῶ","ῷ":"ῶι","ῼ":"ωι","ff":"ff","fi":"fi","fl":"fl","ffi":"ffi","ffl":"ffl","ſt":"st","st":"st","ﬓ":"մն","ﬔ":"մե","ﬕ":"մի","ﬖ":"վն","ﬗ":"մխ"},Mt=o(function(e){var a,i;String.fromCodePoint?e.exports=function(e){try{return String.fromCodePoint(e)}catch(e){if(e instanceof RangeError)return String.fromCharCode(65533);throw e}}:(a=String.fromCharCode,i=Math.floor,e.exports=function(){var e=[],t=-1,n=arguments.length;if(!n)return"";for(var r="";++t<n;){var o=Number(arguments[t]);if(!isFinite(o)||o<0||1114111<o||i(o)!==o)return String.fromCharCode(65533);o<=65535?e.push(o):(o-=65536,e.push(55296+(o>>10),o%1024+56320)),(t+1===n||16384<e.length)&&(r+=a.apply(null,e),e.length=0)}return r})});function jt(e){if(null==this)throw TypeError();var t=String(this),n=e?Number(e):0;if((n=n!=n?0:n)<0||n==1/0)throw RangeError();for(var r="";n;)n%2==1&&(r+=t),1<n&&(t+=t),n>>=1;return r}String.prototype.repeat||((fa=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(e){}return n}())?fa(String.prototype,"repeat",{value:jt,configurable:!0,writable:!0}):String.prototype.repeat=jt);function Ut(e){var t=new Ye("text");return t._literal=e,t}function Bt(e){return null===(e=e.exec(this.subject.slice(this.pos)))?null:(this.pos+=e.index+e[0].length,e[0])}function Ft(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1}function qt(){return this.match(Nn),!0}function zt(e){var t=this.match(Sn);if(null===t)return!1;for(var n,r,o=this.pos;null!==(r=this.match(Tn));)if(r===t)return n=new Ye("code"),0<(r=this.subject.slice(o,this.pos-t.length).replace(/\n/gm," ")).length&&null!==r.match(/[^ ]/)&&" "==r[0]&&" "==r[r.length-1]?n._literal=r.slice(1,r.length-1):n._literal=r,e.appendChild(n),!0;return this.pos=o,e.appendChild(Ut(t)),!0}function Gt(e){var t,n=this.subject;return this.pos+=1,10===this.peek()?(this.pos+=1,t=new Ye("linebreak"),e.appendChild(t)):wn.test(n.charAt(this.pos))?(e.appendChild(Ut(n.charAt(this.pos))),this.pos+=1):e.appendChild(Ut("\\")),!0}function Vt(e){var t,n,r;return(t=this.match(Dn))?(n=t.slice(1,t.length-1),(r=new Ye("link"))._destination=pn("mailto:"+n),r._title="",r.appendChild(Ut(n)),e.appendChild(r),!0):!!(t=this.match(An))&&(n=t.slice(1,t.length-1),(r=new Ye("link"))._destination=pn(n),r._title="",r.appendChild(Ut(n)),e.appendChild(r),!0)}function Ht(e){var t=this.match(yn);if(null===t)return!1;var n=new Ye("html_inline");return n._literal=t,e.appendChild(n),!0}function Yt(e){var t,n,r,o,a,i,l=0,s=this.pos;if(39===e||34===e)l++,this.pos++;else for(;this.peek()===e;)l++,this.pos++;return 0===l?null:(t=0===s?"\n":this.subject.charAt(s-1),i=-1===(a=this.peek())?"\n":Mt(a),r=kn.test(i),o=bn.test(i),a=kn.test(t),i=bn.test(t),t=!r&&(!o||a||i),r=!a&&(!i||r||o),r=95===e?(n=t&&(!r||i),r&&(!t||o)):(n=39===e||34===e?t&&!r:t,r),this.pos=s,{numdelims:l,can_open:n,can_close:r})}function Wt(e,t){var n=this.scanDelims(e);if(!n)return!1;var r=n.numdelims,o=this.pos;return this.pos+=r,o=39===e?"’":34===e?"“":this.subject.slice(o,this.pos),o=Ut(o),t.appendChild(o),!n.can_open&&!n.can_close||!this.options.smart&&39===e&&34===e||(this.delimiters={cc:e,numdelims:r,origdelims:r,node:o,previous:this.delimiters,next:null,can_open:n.can_open,can_close:n.can_close},null!==this.delimiters.previous&&(this.delimiters.previous.next=this.delimiters)),!0}function Kt(e){null!==e.previous&&(e.previous.next=e.next),null===e.next?this.delimiters=e.previous:e.next.previous=e.previous}function Zt(e){for(var t,n,r,o,a,i,l,s,u,c,p=[[],[],[]],d=0;d<3;d++)p[d][95]=e,p[d][42]=e,p[d][39]=e,p[d][34]=e;for(n=this.delimiters;null!==n&&n.previous!==e;)n=n.previous;for(;null!==n;){var f=n.cc;if(n.can_close){for(t=n.previous,l=!1;null!==t&&t!==e&&t!==p[n.origdelims%3][f];){if(s=(n.can_open||t.can_close)&&n.origdelims%3!=0&&(t.origdelims+n.origdelims)%3==0,t.cc===n.cc&&t.can_open&&!s){l=!0;break}t=t.previous}if(r=n,42===f||95===f)if(l){u=2<=n.numdelims&&2<=t.numdelims?2:1,a=t.node,o=n.node,t.numdelims-=u,n.numdelims-=u,a._literal=a._literal.slice(0,a._literal.length-u),o._literal=o._literal.slice(0,o._literal.length-u);for(var h=new Ye(1==u?"emph":"strong"),m=a._next;m&&m!==o;)i=m._next,m.unlink(),h.appendChild(m),m=i;a.insertAfter(h),c=n,(u=t).next!==c&&((u.next=c).previous=u),0===t.numdelims&&(a.unlink(),this.removeDelimiter(t)),0===n.numdelims&&(o.unlink(),a=n.next,this.removeDelimiter(n),n=a)}else n=n.next;else 39===f?(n.node._literal="’",l&&(t.node._literal="‘"),n=n.next):34===f&&(n.node._literal="”",l&&(t.node.literal="“"),n=n.next);l||(p[r.origdelims%3][f]=r.previous,r.can_open||this.removeDelimiter(r))}else n=n.next}for(;null!==this.delimiters&&this.delimiters!==e;)this.removeDelimiter(this.delimiters)}function Xt(){var e=this.match(vn);return null===e?null:dn(e.substr(1,e.length-2))}function $t(){var e=this.match(On);if(null!==e)return pn(dn(e.substr(1,e.length-2)));if(60===this.peek())return null;for(var t,n=this.pos,r=0;-1!==(t=this.peek());)if(92===t&&wn.test(this.subject.charAt(this.pos+1)))this.pos+=1,-1!==this.peek()&&(this.pos+=1);else if(40===t)this.pos+=1,r+=1;else if(41===t){if(r<1)break;this.pos+=1,--r}else{if(null!==Pn.exec(Mt(t)))break;this.pos+=1}return this.pos===n&&41!==t||0!==r?null:(e=this.subject.substr(n,this.pos-n),pn(dn(e)))}function Jt(){var e=this.match(_n);return null===e||1001<e.length?0:e.length}function Qt(e){var t=this.pos;this.pos+=1;var n=Ut("[");return e.appendChild(n),this.addBracket(n,t,!1),!0}function en(e){var t,n=this.pos;return this.pos+=1,91===this.peek()?(this.pos+=1,t=Ut("!["),e.appendChild(t),this.addBracket(t,n+1,!0)):e.appendChild(Ut("!")),!0}function tn(e){var t,n,r,o,a=!1;if(this.pos+=1,t=this.pos,null===(o=this.brackets))return e.appendChild(Ut("]")),!0;if(!o.active)return e.appendChild(Ut("]")),this.removeBracket(),!0;var i,l,s,u=o.image,c=this.pos;if(40===this.peek()&&(this.pos++,this.spnl()&&null!==(n=this.parseLinkDestination())&&this.spnl()&&(Pn.test(this.subject.charAt(this.pos-1))&&(r=this.parseLinkTitle()),1)&&this.spnl()&&41===this.peek()?(this.pos+=1,a=!0):this.pos=c),a||(i=this.pos,2<(l=this.parseLinkLabel())?s=this.subject.slice(i,i+l):o.bracketAfter||(s=this.subject.slice(o.index,t)),0===l&&(this.pos=c),!s||(s=this.refmap[Ot(s)])&&(n=s.destination,r=s.title,a=!0)),a){var p,d,f=new Ye(u?"image":"link");for(f._destination=n,f._title=r||"",p=o.node._next;p;)d=p._next,p.unlink(),f.appendChild(p),p=d;if(e.appendChild(f),this.processEmphasis(o.previousDelimiter),this.removeBracket(),o.node.unlink(),!u)for(o=this.brackets;null!==o;)o.image||(o.active=!1),o=o.previous;return!0}return this.removeBracket(),this.pos=t,e.appendChild(Ut("]")),!0}function nn(e,t,n){null!==this.brackets&&(this.brackets.bracketAfter=!0),this.brackets={node:e,previous:this.brackets,previousDelimiter:this.delimiters,index:t,image:n,active:!0}}function rn(){this.brackets=this.brackets.previous}function on(e){var t;return!!(t=this.match(En))&&(e.appendChild(Ut(fn(t))),!0)}function an(e){var t;return!!(t=this.match(Mn))&&(this.options.smart?e.appendChild(Ut(t.replace(Cn,"…").replace(xn,function(e){var t=0,n=0;return e.length%3==0?n=e.length/3:e.length%2==0?t=e.length/2:n=e.length%3==2?(t=1,(e.length-2)/3):(t=2,(e.length-4)/3),"—".repeat(n)+"–".repeat(t)}))):e.appendChild(Ut(t)),!0)}function ln(e){this.pos+=1;var t,n=e._lastChild;return n&&"text"===n.type&&" "===n._literal[n._literal.length-1]?(t=" "===n._literal[n._literal.length-2],n._literal=n._literal.replace(Ln,""),e.appendChild(new Ye(t?"linebreak":"softbreak"))):e.appendChild(new Ye("softbreak")),this.match(Rn),!0}function sn(e,t){var n,r;this.subject=e,this.pos=0;var o=this.pos;if(0===(a=this.parseLinkLabel()))return 0;if(i=this.subject.substr(0,a),58!==this.peek())return this.pos=o,0;if(this.pos++,this.spnl(),null===(n=this.parseLinkDestination()))return this.pos=o,0;e=this.pos,this.spnl(),null===(r=this.pos!==e?this.parseLinkTitle():r)&&(r="",this.pos=e);var a=!0;if(!(a=null===this.match(In)?""!==r&&(r="",this.pos=e,null!==this.match(In)):a))return this.pos=o,0;var i=Ot(i);return""===i?(this.pos=o,0):(t[i]||(t[i]={destination:n,title:r}),this.pos-o)}function un(e){var t=!1,n=this.peek();if(-1===n)return!1;switch(n){case 10:t=this.parseNewline(e);break;case 92:t=this.parseBackslash(e);break;case 96:t=this.parseBackticks(e);break;case 42:case 95:t=this.handleDelim(n,e);break;case 39:case 34:t=this.options.smart&&this.handleDelim(n,e);break;case 91:t=this.parseOpenBracket(e);break;case 33:t=this.parseBang(e);break;case 93:t=this.parseCloseBracket(e);break;case 60:t=this.parseAutolink(e)||this.parseHtmlTag(e);break;case 38:t=this.parseEntity(e);break;default:t=this.parseString(e)}return t||(this.pos+=1,e.appendChild(Ut(Mt(n)))),!0}function cn(e){for(this.subject=e._string_content.trim(),this.pos=0,this.delimiters=null,this.brackets=null;this.parseInline(e););e._string_content=null,this.processEmphasis(null)}var pn=Rt.normalizeURI,dn=Rt.unescapeString,fn=Et.decodeHTML,hn=Rt.ESCAPABLE,mn="\\\\"+hn,gn=Rt.ENTITY,yn=Rt.reHtmlTag,bn=new RegExp(/[!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/),vn=new RegExp('^(?:"('+mn+'|[^"\\x00])*"|\'('+mn+"|[^'\\x00])*'|\\(("+mn+"|[^()\\x00])*\\))"),On=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,wn=new RegExp("^"+hn),En=new RegExp("^"+gn,"i"),Tn=/`+/,Sn=/^`+/,Cn=/\.\.\./g,xn=/--+/g,Dn=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,An=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,Nn=/^ *(?:\n *)?/,Pn=/^[ \t\n\x0b\x0c\x0d]/,kn=/^\s/,Ln=/ *$/,Rn=/^ */,In=/^ *(?:\n|$)/,_n=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/,Mn=/^[^\n`\[\]\\!<&*_'"]+/m;function jn(e){return 32===e||9===e}function Un(e,t){return t<e.length?e.charCodeAt(t):-1}function Bn(e){for(;e;){if(e._lastLineBlank)return 1;var t=e.type;if(e._lastLineChecked||"list"!==t&&"item"!==t){e._lastLineChecked=!0;break}e._lastLineChecked=!0,e=e._lastChild}}function Fn(){var e;this.partiallyConsumedTab&&(this.offset+=1,e=4-this.column%4,this.tip._string_content+=" ".repeat(e)),this.tip._string_content+=this.currentLine.slice(this.offset)+"\n"}function qn(e,t){for(;!this.blocks[this.tip.type].canContain(e);)this.finalize(this.tip,this.lineNumber-1);return(t=new Ye(e,[[this.lineNumber,t+1],[0,0]]))._string_content="",this.tip.appendChild(t),this.tip=t}function zn(){if(!this.allClosed){for(;this.oldtip!==this.lastMatchedContainer;){var e=this.oldtip._parent;this.finalize(this.oldtip,this.lineNumber-1),this.oldtip=e}this.allClosed=!0}}function Gn(e,t){for(var n,r,o,a=this.currentLine;0<e&&(o=a[this.offset]);)"\t"===o?(n=4-this.column%4,t?(this.partiallyConsumedTab=e<n,this.column+=r=e<n?e:n,this.offset+=this.partiallyConsumedTab?0:1,e-=r):(this.partiallyConsumedTab=!1,this.column+=n,this.offset+=1,--e)):(this.partiallyConsumedTab=!1,this.offset+=1,this.column+=1,--e)}function Vn(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1}function Hn(){for(var e,t=this.currentLine,n=this.offset,r=this.column;""!==(e=t.charAt(n));)if(" "===e)n++,r++;else{if("\t"!==e)break;n++,r+=4-r%4}this.blank="\n"===e||"\r"===e||""===e,this.nextNonspace=n,this.nextNonspaceColumn=r,this.indent=this.nextNonspaceColumn-this.column,this.indented=4<=this.indent}function Yn(e){var t,n=!0,r=this.doc;for(this.oldtip=this.tip,this.offset=0,this.column=0,this.blank=!1,this.partiallyConsumedTab=!1,this.lineNumber+=1,-1!==e.indexOf("\0")&&(e=e.replace(/\0/g,"�")),this.currentLine=e;(t=r._lastChild)&&t._open;){switch(r=t,this.findNextNonspace(),this.blocks[r.type].continue(this,r)){case 0:break;case 1:n=!1;break;case 2:return;default:throw"continue returned illegal value, must be 0, 1, or 2"}if(!n){r=r._parent;break}}this.allClosed=r===this.oldtip;for(var o="paragraph"!==(this.lastMatchedContainer=r).type&&pr[r.type].acceptsLines,a=this.blockStarts,i=a.length;!o;){if(this.findNextNonspace(),!this.indented&&!nr.test(e.slice(this.nextNonspace))){this.advanceNextNonspace();break}for(var l=0;l<i;){var s=a[l](this,r);if(1===s){r=this.tip;break}if(2===s){r=this.tip,o=!0;break}l++}if(l===i){this.advanceNextNonspace();break}}if(this.allClosed||this.blank||"paragraph"!==this.tip.type){this.closeUnmatchedBlocks(),this.blank&&r.lastChild&&(r.lastChild._lastLineBlank=!0);for(var u=r.type,c=this.blank&&!("block_quote"===u||"code_block"===u&&r._isFenced||"item"===u&&!r._firstChild&&r.sourcepos[0][0]===this.lineNumber),p=r;p;)p._lastLineBlank=c,p=p._parent;this.blocks[u].acceptsLines?(this.addLine(),"html_block"===u&&1<=r._htmlBlockType&&r._htmlBlockType<=5&&er[r._htmlBlockType].test(this.currentLine.slice(this.offset))&&(this.lastLineLength=e.length,this.finalize(r,this.lineNumber))):this.offset<e.length&&!this.blank&&(r=this.addChild("paragraph",this.offset),this.advanceNextNonspace(),this.addLine())}else this.addLine();this.lastLineLength=e.length}function Wn(e,t){var n=e._parent;e._open=!1,e.sourcepos[1]=[t,this.lastLineLength],this.blocks[e.type].finalize(this,e),this.tip=n}function Kn(e){var t,n,r,o=e.walker();for(this.inlineParser.refmap=this.refmap,this.inlineParser.options=this.options;n=o.next();)r=(t=n.node).type,n.entering||"paragraph"!==r&&"heading"!==r||this.inlineParser.parse(t)}function Zn(){return new Ye("document",[[1,1],[0,0]])}function Xn(e){this.doc=new Zn,this.tip=this.doc,this.refmap={},this.lineNumber=0,this.lastLineLength=0,this.offset=0,this.column=0,this.lastMatchedContainer=this.doc,this.currentLine="",this.options.time&&console.time("preparing input");var t=e.split(cr),n=t.length;10===e.charCodeAt(e.length-1)&&--n,this.options.time&&console.timeEnd("preparing input"),this.options.time&&console.time("block parsing");for(var r=0;r<n;r++)this.incorporateLine(t[r]);for(;this.tip;)this.finalize(this.tip,n);return this.options.time&&console.timeEnd("block parsing"),this.options.time&&console.time("inline parsing"),this.processInlines(this.doc),this.options.time&&console.timeEnd("inline parsing"),this.doc}var $n=function(e){return{subject:"",delimiters:null,brackets:null,pos:0,refmap:{},match:Bt,peek:Ft,spnl:qt,parseBackticks:zt,parseBackslash:Gt,parseAutolink:Vt,parseHtmlTag:Ht,scanDelims:Yt,handleDelim:Wt,parseLinkTitle:Xt,parseLinkDestination:$t,parseLinkLabel:Jt,parseOpenBracket:Qt,parseBang:en,parseCloseBracket:tn,addBracket:nn,removeBracket:rn,parseEntity:on,parseString:an,parseNewline:ln,parseReference:sn,parseInline:un,processEmphasis:Zt,removeDelimiter:Kt,options:e||{},parse:cn}},Jn=Rt.unescapeString,Qn=[/./,/^<(?:script|pre|style)(?:\s|>|$)/i,/^<!--/,/^<[?]/,/^<![A-Z]/,/^<!\[CDATA\[/,/^<[/]?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[123456]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|[/]?[>]|$)/i,new RegExp("^(?:"+Rt.OPENTAG+"|"+Rt.CLOSETAG+")\\s*$","i")],er=[/./,/<\/(?:script|pre|style)>/i,/-->/,/\?>/,/>/,/\]\]>/],tr=/^(?:(?:\*[ \t]*){3,}|(?:_[ \t]*){3,}|(?:-[ \t]*){3,})[ \t]*$/,nr=/^[#`~*+_=<>0-9-]/,rr=/[^ \t\f\v\r\n]/,or=/^[*+-]/,ar=/^(\d{1,9})([.)])/,ir=/^#{1,6}(?:[ \t]+|$)/,lr=/^`{3,}(?!.*`)|^~{3,}/,sr=/^(?:`{3,}|~{3,})(?= *$)/,ur=/^(?:=+|-+)[ \t]*$/,cr=/\r\n|\n|\r/,pr={document:{continue:function(){return 0},finalize:function(){},canContain:function(e){return"item"!==e},acceptsLines:!1},list:{continue:function(){return 0},finalize:function(e,t){for(var n=t._firstChild;n;){if(Bn(n)&&n._next){t._listData.tight=!1;break}for(var r=n._firstChild;r;){if(Bn(r)&&(n._next||r._next)){t._listData.tight=!1;break}r=r._next}n=n._next}},canContain:function(e){return"item"===e},acceptsLines:!1},block_quote:{continue:function(e){var t=e.currentLine;return e.indented||62!==Un(t,e.nextNonspace)?1:(e.advanceNextNonspace(),e.advanceOffset(1,!1),jn(Un(t,e.offset))&&e.advanceOffset(1,!0),0)},finalize:function(){},canContain:function(e){return"item"!==e},acceptsLines:!1},item:{continue:function(e,t){if(e.blank){if(null==t._firstChild)return 1;e.advanceNextNonspace()}else{if(!(e.indent>=t._listData.markerOffset+t._listData.padding))return 1;e.advanceOffset(t._listData.markerOffset+t._listData.padding,!0)}return 0},finalize:function(){},canContain:function(e){return"item"!==e},acceptsLines:!1},heading:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},thematic_break:{continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},code_block:{continue:function(e,t){var n=e.currentLine,r=e.indent;if(t._isFenced){var o=r<=3&&n.charAt(e.nextNonspace)===t._fenceChar&&n.slice(e.nextNonspace).match(sr);if(o&&o[0].length>=t._fenceLength)return e.lastLineLength=o[0].length,e.finalize(t,e.lineNumber),2;for(var a=t._fenceOffset;0<a&&jn(Un(n,e.offset));)e.advanceOffset(1,!0),a--}else if(4<=r)e.advanceOffset(4,!0);else{if(!e.blank)return 1;e.advanceNextNonspace()}return 0},finalize:function(e,t){var n,r,o;t._isFenced?(o=(n=t._string_content).indexOf("\n"),r=n.slice(0,o),o=n.slice(o+1),t.info=Jn(r.trim()),t._literal=o):t._literal=t._string_content.replace(/(\n *)+$/,"\n"),t._string_content=null},canContain:function(){return!1},acceptsLines:!0},html_block:{continue:function(e,t){return!e.blank||6!==t._htmlBlockType&&7!==t._htmlBlockType?0:1},finalize:function(e,t){t._literal=t._string_content.replace(/(\n *)+$/,""),t._string_content=null},canContain:function(){return!1},acceptsLines:!0},paragraph:{continue:function(e){return e.blank?1:0},finalize:function(e,t){for(var n,r,o=!1;91===Un(t._string_content,0)&&(n=e.inlineParser.parseReference(t._string_content,e.refmap));)t._string_content=t._string_content.slice(n),o=!0;o&&(r=t._string_content,!rr.test(r))&&t.unlink()},canContain:function(){return!1},acceptsLines:!0}},dr=[function(e){return e.indented||62!==Un(e.currentLine,e.nextNonspace)?0:(e.advanceNextNonspace(),e.advanceOffset(1,!1),jn(Un(e.currentLine,e.offset))&&e.advanceOffset(1,!0),e.closeUnmatchedBlocks(),e.addChild("block_quote",e.nextNonspace),1)},function(e){var t;if(e.indented||!(t=e.currentLine.slice(e.nextNonspace).match(ir)))return 0;e.advanceNextNonspace(),e.advanceOffset(t[0].length,!1),e.closeUnmatchedBlocks();var n=e.addChild("heading",e.nextNonspace);return n.level=t[0].trim().length,n._string_content=e.currentLine.slice(e.offset).replace(/^[ \t]*#+[ \t]*$/,"").replace(/[ \t]+#+[ \t]*$/,""),e.advanceOffset(e.currentLine.length-e.offset),2},function(e){var t;if(e.indented||!(t=e.currentLine.slice(e.nextNonspace).match(lr)))return 0;var n=t[0].length;e.closeUnmatchedBlocks();var r=e.addChild("code_block",e.nextNonspace);return r._isFenced=!0,r._fenceLength=n,r._fenceChar=t[0][0],r._fenceOffset=e.indent,e.advanceNextNonspace(),e.advanceOffset(n,!1),2},function(e,t){if(!e.indented&&60===Un(e.currentLine,e.nextNonspace))for(var n=e.currentLine.slice(e.nextNonspace),r=1;r<=7;r++)if(Qn[r].test(n)&&(r<7||"paragraph"!==t.type))return e.closeUnmatchedBlocks(),e.addChild("html_block",e.offset)._htmlBlockType=r,2;return 0},function(e,t){var n,r;if(e.indented||"paragraph"!==t.type||!(n=e.currentLine.slice(e.nextNonspace).match(ur)))return 0;for(e.closeUnmatchedBlocks();91===Un(t._string_content,0)&&(r=e.inlineParser.parseReference(t._string_content,e.refmap));)t._string_content=t._string_content.slice(r);if(0<t._string_content.length){var o=new Ye("heading",t.sourcepos);return o.level="="===n[0][0]?1:2,o._string_content=t._string_content,t.insertAfter(o),t.unlink(),e.tip=o,e.advanceOffset(e.currentLine.length-e.offset,!1),2}return 0},function(e){return!e.indented&&tr.test(e.currentLine.slice(e.nextNonspace))?(e.closeUnmatchedBlocks(),e.addChild("thematic_break",e.nextNonspace),e.advanceOffset(e.currentLine.length-e.offset,!1),2):0},function(e,t){var n,r,o;return e.indented&&"list"!==t.type||!(n=function(e,t){var n,r,o,a,i=e.currentLine.slice(e.nextNonspace),l={type:null,tight:!0,bulletChar:null,start:null,delimiter:null,padding:null,markerOffset:e.indent};if(4<=e.indent)return null;if(n=i.match(or))l.type="bullet",l.bulletChar=n[0][0];else{if(!(n=i.match(ar))||"paragraph"===t.type&&"1"!==n[1])return null;l.type="ordered",l.start=parseInt(n[1]),l.delimiter=n[2]}if(-1!==(r=Un(e.currentLine,e.nextNonspace+n[0].length))&&9!==r&&32!==r)return null;if("paragraph"===t.type&&!e.currentLine.slice(e.nextNonspace+n[0].length).match(rr))return null;for(e.advanceNextNonspace(),e.advanceOffset(n[0].length,!0),o=e.column,a=e.offset;e.advanceOffset(1,!0),r=Un(e.currentLine,e.offset),e.column-o<5&&jn(r););i=-1===Un(e.currentLine,e.offset),t=e.column-o;return 5<=t||t<1||i?(l.padding=n[0].length+1,e.column=o,e.offset=a,jn(Un(e.currentLine,e.offset))&&e.advanceOffset(1,!0)):l.padding=n[0].length+t,l}(e,t))?0:(e.closeUnmatchedBlocks(),"list"===e.tip.type&&(r=t._listData,o=n,r.type===o.type&&r.delimiter===o.delimiter&&r.bulletChar===o.bulletChar)||((t=e.addChild("list",e.nextNonspace))._listData=n),(t=e.addChild("item",e.nextNonspace))._listData=n,1)},function(e){return e.indented&&"paragraph"!==e.tip.type&&!e.blank?(e.advanceOffset(4,!0),e.closeUnmatchedBlocks(),e.addChild("code_block",e.offset),2):0}];var fr=function(e){return{doc:new Zn,blocks:pr,blockStarts:dr,tip:this.doc,oldtip:this.doc,currentLine:"",lineNumber:0,offset:0,column:0,nextNonspace:0,nextNonspaceColumn:0,indent:0,indented:!1,blank:!1,partiallyConsumedTab:!1,allClosed:!0,lastMatchedContainer:this.doc,refmap:{},lastLineLength:0,inlineParser:new $n(e),findNextNonspace:Hn,advanceOffset:Gn,advanceNextNonspace:Vn,addLine:Fn,addChild:qn,incorporateLine:Yn,finalize:Wn,processInlines:Kn,closeUnmatchedBlocks:zn,parse:Xn,options:e||{}}};function hr(){}hr.prototype.render=function(e){var t,n,r=e.walker();for(this.buffer="",this.lastOut="\n";t=r.next();)this[n=t.node.type]&&this[n](t.node,t.entering);return this.buffer},hr.prototype.out=function(e){this.lit(e)},hr.prototype.lit=function(e){this.buffer+=e,this.lastOut=e},hr.prototype.cr=function(){"\n"!==this.lastOut&&this.lit("\n")},hr.prototype.esc=function(e){return e};function mr(e){return yr.test(e)&&!br.test(e)}var gr=hr,yr=/^javascript:|vbscript:|file:|data:/i,br=/^data:image\/(?:png|gif|jpeg|webp)/i;function vr(e){(e=e||{}).softbreak=e.softbreak||"\n",this.disableTags=0,this.lastOut="\n",this.options=e}(vr.prototype=Object.create(gr.prototype)).text=function(e){this.out(e.literal)},vr.prototype.html_inline=function(e){this.options.safe?this.lit("\x3c!-- raw HTML omitted --\x3e"):this.lit(e.literal)},vr.prototype.html_block=function(e){this.cr(),this.options.safe?this.lit("\x3c!-- raw HTML omitted --\x3e"):this.lit(e.literal),this.cr()},vr.prototype.softbreak=function(){this.lit(this.options.softbreak)},vr.prototype.linebreak=function(){this.tag("br",[],!0),this.cr()},vr.prototype.link=function(e,t){var n=this.attrs(e);t?(this.options.safe&&mr(e.destination)||n.push(["href",this.esc(e.destination)]),e.title&&n.push(["title",this.esc(e.title)]),this.tag("a",n)):this.tag("/a")},vr.prototype.image=function(e,t){t?(0===this.disableTags&&(this.options.safe&&mr(e.destination)?this.lit('<img src="" alt="'):this.lit('<img src="'+this.esc(e.destination)+'" alt="')),this.disableTags+=1):(--this.disableTags,0===this.disableTags&&(e.title&&this.lit('" title="'+this.esc(e.title)),this.lit('" />')))},vr.prototype.emph=function(e,t){this.tag(t?"em":"/em")},vr.prototype.strong=function(e,t){this.tag(t?"strong":"/strong")},vr.prototype.paragraph=function(e,t){var n=e.parent.parent,e=this.attrs(e);null!==n&&"list"===n.type&&n.listTight||(t?(this.cr(),this.tag("p",e)):(this.tag("/p"),this.cr()))},vr.prototype.heading=function(e,t){var n="h"+e.level,e=this.attrs(e);t?(this.cr(),this.tag(n,e)):(this.tag("/"+n),this.cr())},vr.prototype.code=function(e){this.tag("code"),this.out(e.literal),this.tag("/code")},vr.prototype.code_block=function(e){var t=e.info?e.info.split(/\s+/):[],n=this.attrs(e);0<t.length&&0<t[0].length&&n.push(["class","language-"+this.esc(t[0])]),this.cr(),this.tag("pre"),this.tag("code",n),this.out(e.literal),this.tag("/code"),this.tag("/pre"),this.cr()},vr.prototype.thematic_break=function(e){e=this.attrs(e),this.cr(),this.tag("hr",e,!0),this.cr()},vr.prototype.block_quote=function(e,t){e=this.attrs(e),t?(this.cr(),this.tag("blockquote",e)):(this.cr(),this.tag("/blockquote")),this.cr()},vr.prototype.list=function(e,t){var n="bullet"===e.listType?"ul":"ol",r=this.attrs(e);t?(null!==(e=e.listStart)&&1!==e&&r.push(["start",e.toString()]),this.cr(),this.tag(n,r)):(this.cr(),this.tag("/"+n)),this.cr()},vr.prototype.item=function(e,t){e=this.attrs(e),t?this.tag("li",e):(this.tag("/li"),this.cr())},vr.prototype.custom_inline=function(e,t){t&&e.onEnter?this.lit(e.onEnter):!t&&e.onExit&&this.lit(e.onExit)},vr.prototype.custom_block=function(e,t){this.cr(),t&&e.onEnter?this.lit(e.onEnter):!t&&e.onExit&&this.lit(e.onExit),this.cr()},vr.prototype.esc=Rt.escapeXml,vr.prototype.out=function(e){this.lit(this.esc(e))},vr.prototype.tag=function(e,t,n){if(!(0<this.disableTags)){if(this.buffer+="<"+e,t&&0<t.length)for(var r,o=0;void 0!==(r=t[o]);)this.buffer+=" "+r[0]+'="'+r[1]+'"',o++;n&&(this.buffer+=" /"),this.buffer+=">",this.lastOut=">"}},vr.prototype.attrs=function(e){var t=[];return!this.options.sourcepos||(e=e.sourcepos)&&t.push(["data-sourcepos",String(e[0][0])+":"+String(e[0][1])+"-"+String(e[1][0])+":"+String(e[1][1])]),t};var Or=vr,wr=/\<[^>]*\>/;function Er(e){e=e||{},this.disableTags=0,this.lastOut="\n",this.indentLevel=0,this.indent=" ",this.options=e}(Er.prototype=Object.create(gr.prototype)).render=function(e){var t;this.buffer="";var n,r,o,a,i,l,s=e.walker(),u=this.options;for(u.time&&console.time("rendering"),this.buffer+='<?xml version="1.0" encoding="UTF-8"?>\n',this.buffer+='<!DOCTYPE document SYSTEM "CommonMark.dtd">\n';n=s.next();)if(o=n.entering,i=(r=n.node).type,a=r.isContainer,l="thematic_break"===i||"linebreak"===i||"softbreak"===i,n=i.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase(),o){switch(t=[],i){case"document":t.push(["xmlns","http://commonmark.org/xml/1.0"]);break;case"list":null!==r.listType&&t.push(["type",r.listType.toLowerCase()]),null!==r.listStart&&t.push(["start",String(r.listStart)]),null!==r.listTight&&t.push(["tight",r.listTight?"true":"false"]);var c=r.listDelimiter;null!==c&&t.push(["delimiter","."===c?"period":"paren"]);break;case"code_block":r.info&&t.push(["info",r.info]);break;case"heading":t.push(["level",String(r.level)]);break;case"link":case"image":t.push(["destination",r.destination]),t.push(["title",r.title]);break;case"custom_inline":case"custom_block":t.push(["on_enter",r.onEnter]),t.push(["on_exit",r.onExit])}!u.sourcepos||(i=r.sourcepos)&&t.push(["sourcepos",String(i[0][0])+":"+String(i[0][1])+"-"+String(i[1][0])+":"+String(i[1][1])]),this.cr(),this.out(this.tag(n,t,l)),a?this.indentLevel+=1:a||l||((l=r.literal)&&this.out(this.esc(l)),this.out(this.tag("/"+n)))}else--this.indentLevel,this.cr(),this.out(this.tag("/"+n));return u.time&&console.timeEnd("rendering"),this.buffer+="\n",this.buffer},Er.prototype.out=function(e){0<this.disableTags?this.buffer+=e.replace(wr,""):this.buffer+=e,this.lastOut=e},Er.prototype.cr=function(){if("\n"!==this.lastOut){this.buffer+="\n",this.lastOut="\n";for(var e=this.indentLevel;0<e;e--)this.buffer+=this.indent}},Er.prototype.tag=function(e,t,n){var r="<"+e;if(t&&0<t.length)for(var o,a=0;void 0!==(o=t[a]);)r+=" "+o[0]+'="'+this.esc(o[1])+'"',a++;return n&&(r+=" /"),r+=">"},Er.prototype.esc=Rt.escapeXml;var N={Node:Ye,Parser:fr,Renderer:gr,HtmlRenderer:Or,XmlRenderer:Er},Tr="__lodash_hash_undefined__",Sr=9007199254740991,Cr="[object Arguments]",xr="[object Function]",Dr="[object GeneratorFunction]",Ar=/^\[object .+?Constructor\]$/,Nr="object"==typeof n&&n&&n.Object===Object&&n,Pr="object"==typeof self&&self&&self.Object===Object&&self,He=Nr||Pr||Function("return this")();function kr(e,t){return!!(e?e.length:0)&&-1<function(e,t,n){if(t!=t)return function(e,t,n,r){var o=e.length,a=n+(r?1:-1);for(;r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}(e,Rr,n);var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,0)}function Lr(e,t,n){for(var r=-1,o=e?e.length:0;++r<o;)if(n(t,e[r]))return!0;return!1}function Rr(e){return e!=e}function Ir(e,t){return e.has(t)}var Ve=Array.prototype,Qe=Function.prototype,$e=Object.prototype,Je=He["__core-js_shared__"],_r=(et=/[^.]+$/.exec(Je&&Je.keys&&Je.keys.IE_PROTO||""))?"Symbol(src)_1."+et:"",Mr=Qe.toString,jr=$e.hasOwnProperty,Ur=$e.toString,Br=RegExp("^"+Mr.call(jr).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),e=He.Symbol,Fr=$e.propertyIsEnumerable,qr=Ve.splice,zr=e?e.isConcatSpreadable:void 0,Gr=Math.max,Vr=to(He,"Map"),Hr=to(Object,"create");function Yr(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Wr(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Kr(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Zr(e){var t=-1,n=e?e.length:0;for(this.__data__=new Kr;++t<n;)this.add(e[t])}function Xr(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function $r(e,t,n,r){var o,a=-1,i=kr,l=!0,s=e.length,u=[],c=t.length;if(!s)return u;n&&(t=function(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}(t,(o=n,function(e){return o(e)}))),r?(i=Lr,l=!1):200<=t.length&&(i=Ir,l=!1,t=new Zr(t));e:for(;++a<s;){var p=e[a],d=n?n(p):p,p=r||0!==p?p:0;if(l&&d==d){for(var f=c;f--;)if(t[f]===d)continue e;u.push(p)}else i(t,d,r)||u.push(p)}return u}function Jr(e,t,n,r,o){var a=-1,i=e.length;for(n=n||no,o=o||[];++a<i;){var l=e[a];0<t&&n(l)?1<t?Jr(l,t-1,n,r,o):function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n]}(o,l):r||(o[o.length]=l)}return o}function Qr(e){var t;return uo(e)&&(t=e,!(_r&&_r in t))&&(so(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?Br:Ar).test(function(e){if(null!=e){try{return Mr.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function eo(e,t){var n,r=e.__data__;return("string"==(e=typeof(n=t))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function to(e,t){t=t,t=null==(e=e)?void 0:e[t];return Qr(t)?t:void 0}function no(e){return ao(e)||lo(t=e)&&jr.call(t,"callee")&&(!Fr.call(t,"callee")||Ur.call(t)==Cr)||!!(zr&&e&&e[zr]);var t}Yr.prototype.clear=function(){this.__data__=Hr?Hr(null):{}},Yr.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Yr.prototype.get=function(e){var t=this.__data__;if(Hr){var n=t[e];return n===Tr?void 0:n}return jr.call(t,e)?t[e]:void 0},Yr.prototype.has=function(e){var t=this.__data__;return Hr?void 0!==t[e]:jr.call(t,e)},Yr.prototype.set=function(e,t){return this.__data__[e]=Hr&&void 0===t?Tr:t,this},Wr.prototype.clear=function(){this.__data__=[]},Wr.prototype.delete=function(e){var t=this.__data__;return!((e=Xr(t,e))<0)&&(e==t.length-1?t.pop():qr.call(t,e,1),!0)},Wr.prototype.get=function(e){var t=this.__data__;return(e=Xr(t,e))<0?void 0:t[e][1]},Wr.prototype.has=function(e){return-1<Xr(this.__data__,e)},Wr.prototype.set=function(e,t){var n=this.__data__,r=Xr(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Kr.prototype.clear=function(){this.__data__={hash:new Yr,map:new(Vr||Wr),string:new Yr}},Kr.prototype.delete=function(e){return eo(this,e).delete(e)},Kr.prototype.get=function(e){return eo(this,e).get(e)},Kr.prototype.has=function(e){return eo(this,e).has(e)},Kr.prototype.set=function(e,t){return eo(this,e).set(e,t),this},Zr.prototype.add=Zr.prototype.push=function(e){return this.__data__.set(e,Tr),this},Zr.prototype.has=function(e){return this.__data__.has(e)};var ro,oo,ft=(ro=function(e,t){return lo(e)?$r(e,Jr(t,1,lo,!0)):[]},oo=Gr(void 0===oo?ro.length-1:oo,0),function(){for(var e=arguments,t=-1,n=Gr(e.length-oo,0),r=Array(n);++t<n;)r[t]=e[oo+t];for(var t=-1,o=Array(oo+1);++t<oo;)o[t]=e[t];return o[oo]=r,function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(ro,this,o)});var ao=Array.isArray;function io(e){return null!=e&&("number"==typeof(t=e.length)&&-1<t&&t%1==0&&t<=Sr)&&!so(e);var t}function lo(e){return!!(t=e)&&"object"==typeof t&&io(e);var t}function so(e){e=uo(e)?Ur.call(e):"";return e==xr||e==Dr}function uo(e){var t=typeof e;return e&&("object"==t||"function"==t)}function co(e){var t=e.as,n=e.children,r=e.className,o=e.allowList,a=e.blockList,e=e.config;return n?(null!=o&&o.length&&null!=a&&a.length&&je("Markdown supports only one of `allowList` or `blockList` to be used at a time. `blockList` will be ignored."),ce(t,{className:r,dangerouslySetInnerHTML:{__html:(e=e.link.target,n=function(e){e=fo.parse(e);return o||a?function(e){var t=e.blockList,e=e.parsed;if(!e)return e;var n=e.walker(),r=n.next();for(;r;){var o=r.node;if(t.includes(o.type)&&!r.entering){for(;o.firstChild;)o.insertBefore(o.firstChild);o.unlink()}r=n.next()}return n.root}({parsed:e,blockList:o?po(mo,o):a}):e}(n),ho.render(n).replace(/<a href="/g,'<a target="'.concat(e,'" href="')))}})):null}var po=ft,fo=new N.Parser,ho=new N.HtmlRenderer({safe:!0}),mo=Object.values(re.MarkdownNodeType);function go(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function yo(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?go(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):go(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}co.propTypes={children:l.default.string.isRequired,as:l.default.string,className:l.default.string,allowList:l.default.arrayOf(l.default.oneOf(["block_quote","code_block","code","emph","heading","html_block","html_inline","image","item","linebreak","link","list","paragraph","softbreak","strong","thematic_break"])),blockList:l.default.arrayOf(l.default.oneOf(["block_quote","code_block","code","emph","heading","html_block","html_inline","image","item","linebreak","link","list","paragraph","softbreak","strong","thematic_break"])),config:l.default.shape({link:l.default.shape({target:l.default.oneOf(["_blank","_self"])})})},co.defaultProps={as:"div",className:void 0,allowList:null,blockList:null,config:{link:{target:"_self"}}};function bo(e){return ce(co,yo(yo({},e),{},{as:"span",allowList:vo,blockList:void 0}))}var vo=[re.MarkdownNodeType.STRONG];function Oo(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function wo(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Oo(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Oo(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Eo(t,n){function e(e){return ce(t,wo(wo({},e),{},{className:se(e.className,function(e){if(e){var t=["arrow"],n=re.AlertArrowPosition.BOTTOM,r=re.AlertArrowPosition.BOTTOM_LEFT,o=re.AlertArrowPosition.BOTTOM_RIGHT,a=re.AlertArrowPosition.TOP,i=re.AlertArrowPosition.TOP_RIGHT,l=re.AlertArrowPosition.TOP_LEFT;switch(e){case n:return t.concat("arrow-bottom","arrow-center");case r:return t.concat("arrow-bottom","arrow-left");case o:return t.concat("arrow-bottom","arrow-right");case a:return t.concat("arrow-center");case i:return t.concat("arrow-right");case l:default:return t}}return""}(n)),arrow:void 0}))}return e.propTypes={className:l.default.string},e.defaultProps={className:void 0},e}function To(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}bo.propTypes={children:l.default.string.isRequired,className:l.default.string},bo.defaultProps={className:void 0},(ht=re.AlertArrowPosition||(re.AlertArrowPosition={})).TOP_LEFT="up-left",ht.TOP="up-center",ht.TOP_RIGHT="up-right",ht.BOTTOM_LEFT="down-left",ht.BOTTOM="down-center",ht.BOTTOM_RIGHT="down-right";var So=(le(Ct={},re.Sentiment.SUCCESS,re.Sentiment.POSITIVE),le(Ct,re.Sentiment.INFO,re.Sentiment.NEUTRAL),le(Ct,re.Sentiment.ERROR,re.Sentiment.NEGATIVE),Ct),At=function e(t){var n=ae.useTheme().isModern,r=(le(h={},re.Sentiment.POSITIVE,S.CheckCircle),le(h,re.Sentiment.NEUTRAL,S.InfoCircle),le(h,re.Sentiment.WARNING,S.Warning),le(h,re.Sentiment.NEGATIVE,S.CrossCircle),le(h,re.Sentiment.PENDING,S.Clock),h),o=oe.useState(!1),a=fe(o,2),i=a[0],l=a[1],s=t.arrow,u=t.action,c=t.children,p=t.className,d=t.icon,f=t.onDismiss,h=t.message,o=t.type,a=t.variant,m=oe.useRef(null);if(s){var g=Eo(e,s);return ce(g,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?To(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):To(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},t))}t=(g=t).size,g=g.type,Ue("Alert no longer supports any possible variations in size. Please remove the `size` prop.",!!t),Ue("Alert has deprecated the ".concat(g," value for the `type` prop. Please update to ").concat(Co[g],"."),xo.includes(g));var y=So[o]||o,b=r[y];return pe("div",{role:"alert",className:se("alert d-flex","alert-".concat(y),p),onTouchStart:function(){return l(!0)},onTouchEnd:function(e){i&&u&&null!=m&&m.current&&!m.current.contains(e.target)&&("_blank"===(null==u?void 0:u.target)?window.top.open(u.href):window.top.location.assign(u.href)),l(!1)},onTouchMove:function(){return l(!1)},children:[pe("div",{className:se("alert__content","d-flex","flex-grow-1",a),"data-testid":a,children:[d?oe.cloneElement(d,{size:24}):n?ce(Me,{size:re.Size.LARGE,sentiment:y}):ce(b,{size:24}),pe("div",{className:"alert__message",children:[ce(z,{as:"span",className:"d-block",type:re.Typography.BODY_LARGE,children:c||ce(bo,{children:h})}),u&&ce(_e,{href:u.href,className:"m-t-1","aria-label":u["aria-label"],target:u.target,type:re.Typography.LINK_LARGE,children:u.text})]})]}),f&&ce(Ae,{ref:m,className:"m-l-2",onClick:f})]})},Co=(le(xt={},re.Sentiment.SUCCESS,"Sentiment.POSITIVE"),le(xt,re.Sentiment.INFO,"Sentiment.NEUTRAL"),le(xt,re.Sentiment.ERROR,"Sentiment.NEGATIVE"),xt),xo=Object.keys(So);At.propTypes={action:l.default.shape({"aria-label":l.default.string,href:l.default.string.isRequired,target:l.default.string,text:l.default.node.isRequired}),className:l.default.string,icon:l.default.element,message:xe(l.default.node,function(e){return!e.children}),onDismiss:l.default.func,type:l.default.oneOf(["negative","neutral","positive","warning","info","error","success"]),variant:l.default.oneOf(["desktop","mobile"]),arrow:Be(l.default.oneOf(["up-left","up-center","up-right","down-left","down-center","down-right"]),{component:"Alert",expiryDate:new Date("03-01-2021")}),children:Be(xe(l.default.node,function(e){return!e.message}),{component:"Alert",message:"You should now use the `message` prop. Be aware `message` only accepts plain text or text with **bold** markdown.",expiryDate:new Date("03-01-2021")}),dismissible:Be(l.default.bool,{component:"Alert",message:"The Alert will now be considered dismissible if an `onDismiss` hander is present.",expiryDate:new Date("03-01-2021")})},At.defaultProps={action:void 0,arrow:void 0,className:void 0,dismissible:void 0,icon:void 0,type:re.Sentiment.NEUTRAL,variant:re.Variant.DESKTOP},(Dt=re.AvatarType||(re.AvatarType={})).THUMBNAIL="thumbnail",Dt.ICON="icon",Dt.EMOJI="emoji",Dt.INITIALS="initials";function Do(e){var t=e.backgroundColor,n=e.children,r=e.className,o=e.outlined,a=e.size,i=e.theme,e=e.type;return ce("div",{className:se("tw-avatar",r,"tw-avatar--".concat(a),"tw-avatar--".concat(e),"tw-avatar--".concat(i),{"tw-avatar--outlined":o,"np-text-title-body":e===re.AvatarType.INITIALS}),children:ce("div",{className:"tw-avatar__content",style:{backgroundColor:t||void 0},children:n})})}Do.propTypes={backgroundColor:l.default.string,children:l.default.node,className:l.default.string,outlined:l.default.bool,size:l.default.oneOf(["sm","md","lg"]),theme:l.default.oneOf(["light","dark"]),type:l.default.oneOf(["thumbnail","icon","emoji","initials"])},Do.defaultProps={backgroundColor:null,children:null,className:null,outlined:!1,size:re.Size.MEDIUM,theme:re.Theme.LIGHT,type:re.AvatarType.THUMBNAIL};function Ao(e){var t=e.badge,n=void 0===(a=e.className)?void 0:a,r=void 0===(o=e.size)?re.Size.SMALL:o,o=void 0===(a=e.border)?re.Theme.LIGHT:a,a=e.children,n=se("tw-badge",(le(e={},"tw-badge-border-".concat(o),o),le(e,"tw-badge-".concat(r),r),e),n);return pe("div",{className:n,children:[ce("div",{className:"tw-badge__children",children:a}),ce("div",{className:"tw-badge__content",children:t})]})}var No=["url","altText","statusIcon","children"];function Po(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function ko(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Po(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Po(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Lo(e){var t=e.url,n=e.altText,r=e.statusIcon,o=e.children,e=b(e,No);return t?ce(Ao,ko(ko({badge:ce("img",{src:t,alt:n})},e),{},{children:o})):r?ce(Ao,ko(ko({badge:ce(Me,{sentiment:r,size:re.Size.SMALL})},e),{},{children:o})):o}Lo.propTypes={url:l.default.string,altText:l.default.string,statusIcon:l.default.oneOf([re.Sentiment.POSITIVE,re.Sentiment.NEGATIVE,re.Sentiment.NEUTRAL,re.Sentiment.WARNING,re.Sentiment.PENDING]),children:l.default.node.isRequired},Lo.defaultProps={url:void 0,altText:void 0,statusIcon:void 0};St=function(e){var t=e.url,n=e.profileType,r=e.badgeUrl,o=e.badgeAltText,a=e.badgeStatusIcon,i=e.name,l=e.avatarProps,s=e.badgeProps,e=oe.useState(!1),e=fe(e,2),u=e[0],c=e[1],p=n===re.ProfileType.BUSINESS;oe.useEffect(function(){return c(!1)},[t]);return ce(Lo,ko(ko({url:r,altText:o,statusIcon:a},s),{},{children:ce(Do,ko({size:re.Size.MEDIUM},ko(t&&!u?{type:re.AvatarType.THUMBNAIL,children:ce("img",{src:t,alt:"avatar",onError:function(){return c(!0)}})}:n?{type:re.AvatarType.ICON,children:ce(p?S.Briefcase:S.Person,{size:"24"})}:i?{type:re.AvatarType.INITIALS,children:ce(M,{children:function(e){e=e.split(" ").map(function(e){return e[0]}).join("").toUpperCase();return 1!==e.length?e[0]+e.slice(-1):e[0]}(i)})}:{type:re.AvatarType.ICON,children:ce(S.Person,{size:"24"})},l)))}))};function Ro(){return(Ro=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Io(e,t){if(null==e)return{};for(var n,r={},o=Object.keys(e),a=0;a<o.length;a++)n=o[a],0<=t.indexOf(n)||(r[n]=e[n]);return r}function _o(e,t){return(_o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Mo(e,t){e.prototype=Object.create(t.prototype),_o(e.prototype.constructor=e,t)}function jo(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}St.defaultProps={url:void 0,profileType:void 0,badgeUrl:void 0,badgeAltText:void 0,badgeStatusIcon:void 0,name:void 0,avatarProps:{},badgeProps:{}};var Uo=!(St.propTypes={url:l.default.string,profileType:l.default.oneOf([re.ProfileType.PERSONAL,re.ProfileType.BUSINESS]),badgeUrl:l.default.string,badgeAltText:l.default.string,badgeStatusIcon:l.default.oneOf([re.Sentiment.POSITIVE,re.Sentiment.NEGATIVE,re.Sentiment.NEUTRAL,re.Sentiment.WARNING,re.Sentiment.PENDING]),name:l.default.string,avatarProps:l.default.shape({}),badgeProps:l.default.shape({})}),Bo="production"!==process.env.NODE_ENV?l.default.oneOfType([l.default.number,l.default.shape({enter:l.default.number,exit:l.default.number,appear:l.default.number}).isRequired]):null,Pt="production"!==process.env.NODE_ENV?l.default.oneOfType([l.default.string,l.default.shape({enter:l.default.string,exit:l.default.string,active:l.default.string}),l.default.shape({enter:l.default.string,enterDone:l.default.string,enterActive:l.default.string,exit:l.default.string,exitDone:l.default.string,exitActive:l.default.string})]):null,Fo=Ne.default.createContext(null),qo="unmounted",zo="exited",Go="entering",Vo="entered",Ho="exiting",Yo=function(o){function e(e,t){var n,r=o.call(this,e,t)||this,t=t&&!t.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?t?(n=zo,r.appearStatus=Go):n=Vo:n=e.unmountOnExit||e.mountOnEnter?qo:zo,r.state={status:n},r.nextCallback=null,r}Mo(e,o),e.getDerivedStateFromProps=function(e,t){return e.in&&t.status===qo?{status:zo}:null};var t=e.prototype;return t.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.componentDidUpdate=function(e){var t=null;e!==this.props&&(e=this.state.status,this.props.in?e!==Go&&e!==Vo&&(t=Go):e!==Go&&e!==Vo||(t=Ho)),this.updateStatus(!1,t)},t.componentWillUnmount=function(){this.cancelNextCallback()},t.getTimeouts=function(){var e,t,n=this.props.timeout,r=e=t=n;return null!=n&&"number"!=typeof n&&(r=n.exit,e=n.enter,t=void 0!==n.appear?n.appear:e),{exit:r,enter:e,appear:t}},t.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===Go?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===zo&&this.setState({status:qo})},t.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[Pe.default.findDOMNode(this),r],a=o[0],i=o[1],o=this.getTimeouts(),l=r?o.appear:o.enter;!e&&!n||Uo?this.safeSetState({status:Vo},function(){t.props.onEntered(a)}):(this.props.onEnter(a,i),this.safeSetState({status:Go},function(){t.props.onEntering(a,i),t.onTransitionEnd(l,function(){t.safeSetState({status:Vo},function(){t.props.onEntered(a,i)})})}))},t.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Pe.default.findDOMNode(this);t&&!Uo?(this.props.onExit(r),this.safeSetState({status:Ho},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:zo},function(){e.props.onExited(r)})})})):this.safeSetState({status:zo},function(){e.props.onExited(r)})},t.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},t.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},t.setNextCallback=function(t){var n=this,r=!0;return this.nextCallback=function(e){r&&(r=!1,n.nextCallback=null,t(e))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},t.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Pe.default.findDOMNode(this),t=null==e&&!this.props.addEndListener;n&&!t?(this.props.addEndListener&&(n=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],this.props.addEndListener(n[0],n[1])),null!=e&&setTimeout(this.nextCallback,e)):setTimeout(this.nextCallback,0)},t.render=function(){var e=this.state.status;if(e===qo)return null;var t=this.props,n=t.children,t=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Io(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return Ne.default.createElement(Fo.Provider,{value:null},"function"==typeof n?n(e,t):Ne.default.cloneElement(Ne.default.Children.only(n),t))},e}(Ne.default.Component);function Wo(){}Yo.contextType=Fo,Yo.propTypes="production"!==process.env.NODE_ENV?{nodeRef:l.default.shape({current:"undefined"==typeof Element?l.default.any:function(e,t,n,r,o,a){var i=e[t];return l.default.instanceOf(i&&"ownerDocument"in i?i.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,a)}}),children:l.default.oneOfType([l.default.func.isRequired,l.default.element.isRequired]).isRequired,in:l.default.bool,mountOnEnter:l.default.bool,unmountOnExit:l.default.bool,appear:l.default.bool,enter:l.default.bool,exit:l.default.bool,timeout:function(e){var t=Bo;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,r=new Array(1<n?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,[e].concat(r))},addEndListener:l.default.func,onEnter:l.default.func,onEntering:l.default.func,onEntered:l.default.func,onExit:l.default.func,onExiting:l.default.func,onExited:l.default.func}:{},Yo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Wo,onEntering:Wo,onEntered:Wo,onExit:Wo,onExiting:Wo,onExited:Wo},Yo.UNMOUNTED=qo,Yo.EXITED=zo,Yo.ENTERING=Go,Yo.ENTERED=Vo,Yo.EXITING=Ho;function Ko(o,e){return o&&e&&e.split(" ").forEach(function(e){var t,n,r;n=e,(t=o).classList?t.classList.add(n):(r=n,((e=t).classList?r&&e.classList.contains(r):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+r+" "))||("string"==typeof t.className?t.className=t.className+" "+n:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+n)))})}function Zo(n,e){return n&&e&&e.split(" ").forEach(function(e){var t;t=e,(e=n).classList?e.classList.remove(t):"string"==typeof e.className?e.className=jo(e.className,t):e.setAttribute("class",jo(e.className&&e.className.baseVal||"",t))})}var Xo=function(r){function e(){for(var o,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(o=r.call.apply(r,[this].concat(t))||this).appliedClasses={appear:{},enter:{},exit:{}},o.onEnter=function(e,t){var n=o.resolveArguments(e,t),r=n[0],n=n[1];o.removeClasses(r,"exit"),o.addClass(r,n?"appear":"enter","base"),o.props.onEnter&&o.props.onEnter(e,t)},o.onEntering=function(e,t){var n=o.resolveArguments(e,t),r=n[0],n=n[1];o.addClass(r,n?"appear":"enter","active"),o.props.onEntering&&o.props.onEntering(e,t)},o.onEntered=function(e,t){var n=o.resolveArguments(e,t),r=n[0],n=n[1]?"appear":"enter";o.removeClasses(r,n),o.addClass(r,n,"done"),o.props.onEntered&&o.props.onEntered(e,t)},o.onExit=function(e){var t=o.resolveArguments(e)[0];o.removeClasses(t,"appear"),o.removeClasses(t,"enter"),o.addClass(t,"exit","base"),o.props.onExit&&o.props.onExit(e)},o.onExiting=function(e){var t=o.resolveArguments(e)[0];o.addClass(t,"exit","active"),o.props.onExiting&&o.props.onExiting(e)},o.onExited=function(e){var t=o.resolveArguments(e)[0];o.removeClasses(t,"exit"),o.addClass(t,"exit","done"),o.props.onExited&&o.props.onExited(e)},o.resolveArguments=function(e,t){return o.props.nodeRef?[o.props.nodeRef.current,e]:[e,t]},o.getClassNames=function(e){var t=o.props.classNames,n="string"==typeof t,r=n?(n&&t?t+"-":"")+e:t[e];return{baseClassName:r,activeClassName:n?r+"-active":t[e+"Active"],doneClassName:n?r+"-done":t[e+"Done"]}},o}Mo(e,r);var t=e.prototype;return t.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&e.scrollTop,r&&(this.appliedClasses[t][n]=r,Ko(e,r))},t.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,n=n.done;this.appliedClasses[t]={},r&&Zo(e,r),o&&Zo(e,o),n&&Zo(e,n)},t.render=function(){var e=this.props,e=(e.classNames,Io(e,["classNames"]));return Ne.default.createElement(Yo,Ro({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},e}(Ne.default.Component);Xo.defaultProps={classNames:""},Xo.propTypes="production"!==process.env.NODE_ENV?Ro({},Yo.propTypes,{classNames:Pt,onEnter:l.default.func,onEntering:l.default.func,onEntered:l.default.func,onExit:l.default.func,onExiting:l.default.func,onExited:l.default.func}):{};function $o(e){try{return!!e()}catch(e){return!0}}function Jo(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}function Qo(e){return Ta(Ea(e),8,-1)}function ea(e){if("Function"===Qo(e))return wa(e)}function ta(e){return null==e}function na(e){if(ta(e))throw Da("Can't call method on "+e);return e}function ra(e){return xa(na(e))}function oa(e,t){return arguments.length<2?(n=ha[e],Na(n)?n:void 0):ha[e]&&ha[e][t];var n}function aa(e){if(Na(e))return e;throw Ba(function(e){try{return Ua(e)}catch(e){return"Object"}}(e)+" is not a function")}function ia(t,n){try{qa(ha,t,{value:n,configurable:!0,writable:!0})}catch(e){ha[t]=n}return n}function la(e){return Ga(na(e))}function sa(e){return"Symbol("+(void 0===e?"":e)+")_"+Ka(++Ya+Wa,36)}function ua(e,t){if(!ka(e)||ja(e))return e;var n=function(e,t){t=e[t];return ta(t)?void 0:aa(t)}(e,ei);if(n){if(n=ya(n,e,t=void 0===t?"default":t),!ka(n)||ja(n))return n;throw Qa("Can't convert object to primitive value")}return function(e,t){var n,r;if("string"===t&&Na(n=e.toString)&&!ka(r=ya(n,e)))return r;if(Na(n=e.valueOf)&&!ka(r=ya(n,e)))return r;if("string"!==t&&Na(n=e.toString)&&!ka(r=ya(n,e)))return r;throw Fa("Can't convert object to primitive value")}(e,t=void 0===t?"number":t)}function ca(e){return e=ua(e,"string"),ja(e)?e:e+""}function pa(e){return ni?ti.createElement(e):{}}function da(e){if(ka(e))return e;throw li(ii(e)+" is not an object")}var fa=function(e){return e&&e.Math==Math&&e},ha=fa("object"==typeof globalThis&&globalThis)||fa("object"==typeof window&&window)||fa("object"==typeof self&&self)||fa("object"==typeof n&&n)||function(){return this}()||Function("return this")(),ma=!$o(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),Et=!$o(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),ga=Function.prototype.call,ya=Et?ga.bind(ga):function(){return ga.apply(ga,arguments)},mn={}.propertyIsEnumerable,ba=Object.getOwnPropertyDescriptor,va={f:ba&&!mn.call({1:2},1)?function(e){e=ba(this,e);return!!e&&e.enumerable}:mn},hn=Function.prototype,Oa=hn.call,gn=Et&&hn.bind.bind(Oa,Oa),wa=Et?gn:function(e){return function(){return Oa.apply(e,arguments)}},Ea=wa({}.toString),Ta=wa("".slice),Sa=Object,Ca=ea("".split),xa=$o(function(){return!Sa("z").propertyIsEnumerable(0)})?function(e){return"String"==Qo(e)?Ca(e,""):Sa(e)}:Sa,Da=TypeError,Rt="object"==typeof document&&document.all,fr={all:Rt,IS_HTMLDDA:void 0===Rt&&void 0!==Rt},Aa=fr.all,Na=fr.IS_HTMLDDA?function(e){return"function"==typeof e||e===Aa}:function(e){return"function"==typeof e},Pa=fr.all,ka=fr.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Na(e)||e===Pa}:function(e){return"object"==typeof e?null!==e:Na(e)},La=ea({}.isPrototypeOf),gr=oa("navigator","userAgent")||"",Or=ha.process,Nr=ha.Deno,Pr=Or&&Or.versions||Nr&&Nr.version,Je=Pr&&Pr.v8,Ra=Wd=!(Wd=Je?0<(ls=Je.split("."))[0]&&ls[0]<4?1:+(ls[0]+ls[1]):Wd)&&gr&&(!(ls=gr.match(/Edge\/(\d+)/))||74<=ls[1])&&(ls=gr.match(/Chrome\/(\d+)/))?+ls[1]:Wd,Ia=!!Object.getOwnPropertySymbols&&!$o(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Ra&&Ra<41}),_a=Ia&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ma=Object,ja=_a?function(e){return"symbol"==typeof e}:function(e){var t=oa("Symbol");return Na(t)&&La(t.prototype,Ma(e))},Ua=String,Ba=TypeError,Fa=TypeError,qa=Object.defineProperty,et="__core-js_shared__",za=ha[et]||ia(et,{}),Qe=o(function(e){(e.exports=function(e,t){return za[e]||(za[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.0",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE",source:"https://github.com/zloirock/core-js"})}),Ga=Object,Va=ea({}.hasOwnProperty),Ha=Object.hasOwn||function(e,t){return Va(la(e),t)},Ya=0,Wa=Math.random(),Ka=ea(1..toString),Za=Qe("wks"),Xa=ha.Symbol,$a=Xa&&Xa.for,Ja=_a?Xa:Xa&&Xa.withoutSetter||sa,$e=function(e){var t;return Ha(Za,e)&&(Ia||"string"==typeof Za[e])||(t="Symbol."+e,Ia&&Ha(Xa,e)?Za[e]=Xa[e]:Za[e]=(_a&&$a?$a:Ja)(t)),Za[e]},Qa=TypeError,ei=$e("toPrimitive"),ti=ha.document,ni=ka(ti)&&ka(ti.createElement),ri=!ma&&!$o(function(){return 7!=Object.defineProperty(pa("div"),"a",{get:function(){return 7}}).a}),oi=Object.getOwnPropertyDescriptor,ai={f:ma?oi:function(e,t){if(e=ra(e),t=ca(t),ri)try{return oi(e,t)}catch(e){}if(Ha(e,t))return Jo(!ya(va.f,e,t),e[t])}},Ve=ma&&$o(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),ii=String,li=TypeError,si=TypeError,ui=Object.defineProperty,ci=Object.getOwnPropertyDescriptor,pi="enumerable",di="configurable",fi="writable",hi={f:ma?Ve?function(e,t,n){var r;return da(e),t=ca(t),da(n),"function"==typeof e&&"prototype"===t&&"value"in n&&fi in n&&!n[fi]&&((r=ci(e,t))&&r[fi]&&(e[t]=n.value,n={configurable:(di in n?n:r)[di],enumerable:(pi in n?n:r)[pi],writable:!1})),ui(e,t,n)}:ui:function(e,t,n){if(da(e),t=ca(t),da(n),ri)try{return ui(e,t,n)}catch(e){}if("get"in n||"set"in n)throw si("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},mi=ma?function(e,t,n){return hi.f(e,t,Jo(1,n))}:function(e,t,n){return e[t]=n,e},e=Function.prototype,He=ma&&Object.getOwnPropertyDescriptor,ft=Ha(e,"name"),gi={EXISTS:ft,PROPER:ft&&"something"===function(){}.name,CONFIGURABLE:ft&&(!ma||ma&&He(e,"name").configurable)},yi=ea(Function.toString);Na(za.inspectSource)||(za.inspectSource=function(e){return yi(e)});function bi(e,t,n,r){var o=(r=r||{}).enumerable,a=void 0!==r.name?r.name:t;if(Na(n)&&Ri(n,a,r),r.global)o?e[t]=n:ia(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=n:hi.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e}function vi(e){return(e=+e)!=e||0==e?0:Mi(e)}function Oi(e){return 0<(e=e.length)?Bi(vi(e),9007199254740991):0}function wi(e,t){var n,r=ra(e),o=0,a=[];for(n in r)!Ha(Ai,n)&&Ha(r,n)&&qi(a,n);for(;t.length>o;)Ha(r,n=t[o++])&&(~Fi(a,n)||qi(a,n));return a}var Ei,Ti,Si,Ci,xi=za.inspectSource,N=ha.WeakMap,ht=Na(N)&&/native code/.test(String(N)),Di=Qe("keys"),Ct=function(e){return Di[e]||(Di[e]=sa(e))},Ai={},Ni="Object already initialized",Pi=ha.TypeError,xt=ha.WeakMap,ki=ht||za.state?((Si=za.state||(za.state=new xt)).get=Si.get,Si.has=Si.has,Si.set=Si.set,Ei=function(e,t){if(Si.has(e))throw Pi(Ni);return t.facade=e,Si.set(e,t),t},Ti=function(e){return Si.get(e)||{}},function(e){return Si.has(e)}):(Ci=Ct("state"),Ai[Ci]=!0,Ei=function(e,t){if(Ha(e,Ci))throw Pi(Ni);return t.facade=e,mi(e,Ci,t),t},Ti=function(e){return Ha(e,Ci)?e[Ci]:{}},function(e){return Ha(e,Ci)}),Li={set:Ei,get:Ti,has:ki,enforce:function(e){return ki(e)?Ti(e):Ei(e,{})},getterFor:function(n){return function(e){var t;if(!ka(e)||(t=Ti(e)).type!==n)throw Pi("Incompatible receiver, "+n+" required");return t}}},Ri=o(function(e){var r=gi.CONFIGURABLE,o=Li.enforce,t=Li.get,a=Object.defineProperty,i=ma&&!$o(function(){return 8!==a(function(){},"length",{value:8}).length}),l=String(String).split("String"),e=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!Ha(e,"name")||r&&e.name!==t)&&(ma?a(e,"name",{value:t,configurable:!0}):e.name=t),i&&n&&Ha(n,"arity")&&e.length!==n.arity&&a(e,"length",{value:n.arity});try{n&&Ha(n,"constructor")&&n.constructor?ma&&a(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}n=o(e);return Ha(n,"source")||(n.source=l.join("string"==typeof t?t:"")),e};Function.prototype.toString=e(function(){return Na(this)&&t(this).source||xi(this)},"toString")}),Ii=Math.ceil,_i=Math.floor,Mi=Math.trunc||function(e){e=+e;return(0<e?_i:Ii)(e)},ji=Math.max,Ui=Math.min,Bi=Math.min,Dt=function(l){return function(e,t,n){var r,o=ra(e),a=Oi(o),i=function(e,t){e=vi(e);return e<0?ji(e+t,0):Ui(e,t)}(n,a);if(l&&t!=t){for(;i<a;)if((r=o[i++])!=r)return!0}else for(;i<a;i++)if((l||i in o)&&o[i]===t)return l||i||0;return!l&&-1}},Pt={includes:Dt(!0),indexOf:Dt(!1)},Fi=Pt.indexOf,qi=ea([].push),zi=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Gi=zi.concat("length","prototype"),Vi={f:Object.getOwnPropertyNames||function(e){return wi(e,Gi)}},Hi={f:Object.getOwnPropertySymbols},Yi=ea([].concat),Wi=oa("Reflect","ownKeys")||function(e){var t=Vi.f(da(e)),n=Hi.f;return n?Yi(t,n(e)):t},Ki=/#|\.prototype\./,fa=function(e,t){e=Xi[Zi(e)];return e==Ji||e!=$i&&(Na(t)?$o(t):!!t)},Zi=fa.normalize=function(e){return String(e).replace(Ki,".").toLowerCase()},Xi=fa.data={},$i=fa.NATIVE="N",Ji=fa.POLYFILL="P",Qi=fa,el=ai.f,mn=function(e,t){var n,r,o,a=e.target,i=e.global,l=e.stat,s=i?ha:l?ha[a]||ia(a,{}):(ha[a]||{}).prototype;if(s)for(n in t){if(r=t[n],o=e.dontCallGetSet?(o=el(s,n))&&o.value:s[n],!Qi(i?n:a+(l?".":"#")+n,e.forced)&&void 0!==o){if(typeof r==typeof o)continue;!function(e,t,n){for(var r=Wi(t),o=hi.f,a=ai.f,i=0;i<r.length;i++){var l=r[i];Ha(e,l)||n&&Ha(n,l)||o(e,l,a(t,l))}}(r,o)}(e.sham||o&&o.sham)&&mi(r,"sham",!0),bi(s,n,r,e)}};mn({target:"Number",stat:!0},{isNaN:function(e){return e!=e}});var tl=String,nl=TypeError,rl=Object.setPrototypeOf||("__proto__"in{}?function(){var n,r=!1,e={};try{(n=ea(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(e,[]),r=e instanceof Array}catch(e){}return function(e,t){return da(e),function(e){if("object"==typeof e||Na(e))return;throw nl("Can't set "+tl(e)+" as a prototype")}(t),r?n(e,t):e.__proto__=t,e}}():void 0),ol=ea(1..valueOf),hn={};hn[$e("toStringTag")]="z";function al(e){if("Symbol"===ul(e))throw TypeError("Cannot convert a Symbol value to a string");return cl(e)}var Et="[object z]"===String(hn),il=$e("toStringTag"),ll=Object,sl="Arguments"==Qo(function(){return arguments}()),ul=Et?Qo:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(e=function(e,t){try{return e[t]}catch(e){}}(t=ll(e),il))?e:sl?Qo(t):"Object"==(e=Qo(t))&&Na(t.callee)?"Arguments":e},cl=String,pl=ea("".replace),gn="[\t\n\v\f\r \u2028\u2029\ufeff]",dl=RegExp("^"+gn+gn+"*"),fl=RegExp(gn+gn+"*$"),Rt=function(t){return function(e){e=al(na(e));return 1&t&&(e=pl(e,dl,"")),e=2&t?pl(e,fl,""):e}},fr={start:Rt(1),end:Rt(2),trim:Rt(3)},Or=Vi.f,hl=ai.f,ml=hi.f,gl=fr.trim,Nr="Number",yl=ha[Nr],bl=yl.prototype,vl=ha.TypeError,Ol=ea("".slice),wl=ea("".charCodeAt),El=function(e){var t,n,r,o,a,i,l,s=ua(e,"number");if(ja(s))throw vl("Cannot convert a Symbol value to a number");if("string"==typeof s&&2<s.length)if(s=gl(s),43===(t=wl(s,0))||45===t){if(88===(e=wl(s,2))||120===e)return NaN}else if(48===t){switch(wl(s,1)){case 66:case 98:n=2,r=49;break;case 79:case 111:n=8,r=55;break;default:return+s}for(a=(o=Ol(s,2)).length,i=0;i<a;i++)if((l=wl(o,i))<48||r<l)return NaN;return parseInt(o,n)}return+s};if(Qi(Nr,!yl(" 0o1")||!yl("0b1")||yl("+0x1"))){for(var Tl,Sl=function(e){var t,n,r,o,a=arguments.length<1?0:yl(function(e){e=ua(e,"number");return"bigint"==typeof e?e:El(e)}(e)),i=this;return La(bl,i)&&$o(function(){ol(i)})?(t=Object(a),n=i,e=Sl,rl&&Na(r=n.constructor)&&r!==e&&ka(o=r.prototype)&&o!==e.prototype&&rl(t,o),t):a},Cl=ma?Or(yl):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),xl=0;Cl.length>xl;xl++)Ha(yl,Tl=Cl[xl])&&!Ha(Sl,Tl)&&ml(Sl,Tl,hl(yl,Tl));(Sl.prototype=bl).constructor=Sl,bi(ha,Nr,Sl,{constructor:!0})}function Dl(e){return Array.isArray(e)}var Al=function(e){return"number"==typeof e&&!Number.isNaN(e)},Nl=function(e){return null===e},Pl=function(e){return void 0===e},kl=Object.keys||function(e){return wi(e,zi)};mn({target:"Object",stat:!0,forced:$o(function(){kl(1)})},{keys:function(e){return kl(la(e))}});function Ll(){}function Rl(e){return"<script>"+e+"</"+Fl+">"}function Il(e){e.write(Rl("")),e.close();var t=e.parentWindow.Object;return e=null,t}var _l,Ml=function(e){return"string"==typeof e&&0===e.length||(!Nl(t=e)&&!Pl(t)&&t.constructor===Object||Dl(e))&&0===Object.keys(e).length;var t},jl={f:ma&&!Ve?Object.defineProperties:function(e,t){da(e);for(var n,r=ra(t),o=kl(t),a=o.length,i=0;i<a;)hi.f(e,n=o[i++],r[n]);return e}},Ul=oa("document","documentElement"),Bl="prototype",Fl="script",ql=Ct("IE_PROTO"),zl=function(){try{_l=new ActiveXObject("htmlfile")}catch(e){}var e;zl="undefined"==typeof document||document.domain&&_l?Il(_l):((e=pa("iframe")).style.display="none",Ul.appendChild(e),e.src=String("javascript:"),(e=e.contentWindow.document).open(),e.write(Rl("document.F=Object")),e.close(),e.F);for(var t=zi.length;t--;)delete zl[Bl][zi[t]];return zl()};Ai[ql]=!0;var Pr=Object.create||function(e,t){var n;return null!==e?(Ll[Bl]=da(e),n=new Ll,Ll[Bl]=null,n[ql]=e):n=zl(),void 0===t?n:jl.f(n,t)},Je=hi.f,Gl=$e("unscopables"),Vl=Array.prototype;null==Vl[Gl]&&Je(Vl,Gl,{configurable:!0,value:Pr(null)});var Hl=Pt.includes;mn({target:"Array",proto:!0,forced:$o(function(){return!Array(1).includes()})},{includes:function(e){return Hl(this,e,1<arguments.length?arguments[1]:void 0)}}),Vl[Gl].includes=!0;function Yl(e){if(ka(t=e)&&(void 0!==(n=t[Wl])?!!n:"RegExp"==Qo(t)))throw Kl("The method doesn't accept regular expressions");var t,n;return e}var Wl=$e("match"),Kl=TypeError,Zl=$e("match"),Xl=ea("".indexOf);mn({target:"String",proto:!0,forced:!function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[Zl]=!1,"/./"[t](n)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~Xl(al(na(this)),al(Yl(e)),1<arguments.length?arguments[1]:void 0)}});function $l(e){var t=e.keyType,n=e.event;return t&&n&&(e=t.toUpperCase(),(t=Jl[e])&&(e=n.key,n=n.keyCode,e?Dl(t.key)?t.key.includes(e):e===t.key:n===t.keyCode))}var Jl={SPACE:{key:[" ","Spacebar"],keyCode:32},ENTER:{key:"Enter",keyCode:13},TAB:{key:"Tab",keyCode:9},ESCAPE:{key:"Escape",keyCode:27}},Ql="Expected a function",es=NaN,ts="[object Symbol]",ns=/^\s+|\s+$/g,rs=/^[-+]0x[0-9a-f]+$/i,os=/^0b[01]+$/i,as=/^0o[0-7]+$/i,is=parseInt,gr="object"==typeof n&&n&&n.Object===Object&&n,ls="object"==typeof self&&self&&self.Object===Object&&self,ss=gr||ls||Function("return this")(),us=Object.prototype.toString,cs=Math.max,ps=Math.min,ds=function(){return ss.Date.now()};function fs(r,n,e){var o,a,i,l,s,u,c=0,p=!1,d=!1,t=!0;if("function"!=typeof r)throw new TypeError(Ql);function f(e){var t=o,n=a;return o=a=void 0,c=e,l=r.apply(n,t)}function h(e){var t=e-u;return void 0===u||n<=t||t<0||d&&i<=e-c}function m(){var e,t=ds();if(h(t))return g(t);s=setTimeout(m,(t=n-((e=t)-u),d?ps(t,i-(e-c)):t))}function g(e){return s=void 0,t&&o?f(e):(o=a=void 0,l)}function y(){var e=ds(),t=h(e);if(o=arguments,a=this,u=e,t){if(void 0===s)return c=t=u,s=setTimeout(m,n),p?f(t):l;if(d)return s=setTimeout(m,n),f(u)}return void 0===s&&(s=setTimeout(m,n)),l}return n=ms(n)||0,hs(e)&&(p=!!e.leading,d="maxWait"in e,i=d?cs(ms(e.maxWait)||0,n):i,t="trailing"in e?!!e.trailing:t),y.cancel=function(){void 0!==s&&clearTimeout(s),o=u=a=s=void(c=0)},y.flush=function(){return void 0===s?l:g(ds())},y}function hs(e){var t=typeof e;return e&&("object"==t||"function"==t)}function ms(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||!!(n=t)&&"object"==typeof n&&us.call(t)==ts)return es;var t,n;if("string"!=typeof(e=hs(e)?hs(r="function"==typeof e.valueOf?e.valueOf():e)?r+"":r:e))return 0===e?e:+e;e=e.replace(ns,"");var r=os.test(e);return r||as.test(e)?is(e.slice(2),r?2:8):rs.test(e)?es:+e}function gs(e){var n=e.ref,t=e.throttleMs,r=void 0===t?100:t,e=oe.useState(null),e=(t=fe(e,2))[0],o=t[1];return bs(function(){function e(){n&&(n.innerWidth?o(n.innerWidth):n.current&&o(n.current.clientWidth))}var t=ys(e,r);return window.addEventListener("resize",t,!0),window.requestAnimationFrame(e),function(){return window.removeEventListener("resize",t,!0)}},[]),[e]}var ys=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError(Ql);return hs(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),fs(e,t,{leading:r,maxWait:t,trailing:o})},bs="undefined"!=typeof window?oe.useLayoutEffect:oe.useEffect;gs.THROTTLE_MS=100;function vs(e){var t=e.attachListener,n=e.callback,r=e.eventType,o=e.parent;oe.useEffect(function(){return t&&!Pl(o)&&o.addEventListener(r,n,!0),function(){Pl(o)||o.removeEventListener(r,n,!0)}},[t,n,r,o])}function Os(e){var t=e.direction,e=e.children;return ce(Cs.Provider,{value:t,children:e})}function ws(){var e=oe.useContext(Cs);return{direction:e,isRTL:"rtl"===e}}function Es(e){function n(e,t){e.forEach(function(e){e.isIntersecting&&(a(!0),t.unobserve(i))})}var r=e.elRef,t=e.loading,o=oe.useState(!1),o=(e=fe(o,2))[0],a=e[1],i=(r||{}).current;return oe.useEffect(function(){var e,t=!1;return"undefined"!=typeof window&&window.IntersectionObserver&&r&&i?t||(e=new IntersectionObserver(n,xs)).observe(i):a(!0),function(){t=!0,e&&e.unobserve(i)}},[r]),"eager"===t?[!1]:[o]}function Ts(){var e="undefined"==typeof window?void 0:window,t=oe.useState(),n=fe(t,2),t=n[0],r=n[1],e=gs({ref:e}),o=fe(e,1)[0];return oe.useEffect(function(){o&&(o<=re.Breakpoint.EXTRA_SMALL?r(re.Breakpoint.EXTRA_SMALL):re.Breakpoint.EXTRA_SMALL<o&&o<=re.Breakpoint.SMALL?r(re.Breakpoint.SMALL):re.Breakpoint.SMALL<o&&o<=re.Breakpoint.MEDIUM?r(re.Breakpoint.MEDIUM):re.Breakpoint.MEDIUM<o&&o<=re.Breakpoint.LARGE?r(re.Breakpoint.LARGE):re.Breakpoint.LARGE<o&&r(re.Breakpoint.EXTRA_LARGE))},[o]),{isMobile:!!t&&[re.Breakpoint.EXTRA_SMALL,re.Breakpoint.SMALL].includes(t),isExtraSmall:t===re.Breakpoint.EXTRA_SMALL,isSmall:t===re.Breakpoint.SMALL,isMedium:t===re.Breakpoint.MEDIUM,isLarge:t===re.Breakpoint.LARGE,isExtraLarge:t===re.Breakpoint.EXTRA_LARGE}}function Ss(e){var t=e.children,r=oe.useRef(null),n=Pl(document)?void 0:document,e=oe.useState({}),o=(e=fe(e,2))[0],a=e[1];return oe.useEffect(function(){var e,t,n;null!=r&&r.current&&(r.current.focus(),a((e=r.current,n={first:e,last:e},null==e||!e.querySelectorAll||0<(t=K(e.querySelectorAll('a, button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])')).filter(function(e){return!e.hasAttribute("disabled")})).length&&(e=fe(t,1),n.first=e[0],n.last=t[t.length-1]),n)))},[]),vs({eventType:"keydown",callback:function(e){var t,n,r;$l({keyType:Ds,event:e})&&(n=(t={event:e,focusableEls:o}).focusableEls,r=n.first,e=n.last,n=t.event,t=document.activeElement,n.shiftKey&&t===r&&(e&&e.focus(),n.preventDefault()),n.shiftKey||t!==e||(r&&r.focus(),n.preventDefault()))},attachListener:!0,parent:n}),ce("div",{ref:r,tabIndex:-1,className:"np-focus-boundary outline-none",children:t})}var Cs=oe.createContext(re.Direction.LTR),xs={threshold:.1},Ds=h.TAB;function As(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Ns(o){return function(e){var t=oe.useState(!1),n=fe(t,2),t=n[0],r=n[1];return oe.useEffect(function(){r(!0)},[r]),t?a.createPortal(ce(o,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?As(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):As(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},e)),document.body):null}}function Ps(e){var t=e.target.classList.contains("dimmer");d()&&t&&(e.stopPropagation(),e.preventDefault())}var ks=new(function(){function e(){u(this,e),this.dimmers=[]}return s(e,[{key:"add",value:function(e){var t=this.dimmers.indexOf(e);return-1!==t||(t=this.dimmers.length,this.dimmers.push(e)),t}},{key:"remove",value:function(e){e=this.dimmers.indexOf(e);return-1!==e&&this.dimmers.splice(e,1),e}},{key:"isTop",value:function(e){return 0<this.dimmers.length&&this.dimmers[this.dimmers.length-1]===e}}]),e}()),Ls=function(e){var t=e.open,n=e.hasNotExited,r=e.children,o=ae.useTheme(),e=o.screenMode,o=o.theme;return t||n?ce(ae.ThemeProvider,{theme:o,screenMode:e,isNotRootProvider:!0,children:r}):ce(M,{children:r})},Rs=function(e){var t=e.children,n=e.scrollBody;return oe.useEffect(function(){return n&&(document.documentElement.classList.add(f),document.body.classList.add(f)),function(){n&&(document.documentElement.classList.remove(f),document.body.classList.remove(f))}},[n]),t},Is=Ns(function(e){var t=e.children,n=e.className,r=e.disableClickToClose,o=void 0!==r&&r,a=e.contentPosition,i=e.fadeContentOnEnter,l=void 0!==i&&i,s=e.fadeContentOnExit,u=void 0!==s&&s,r=e.open,c=void 0!==r&&r,i=e.scrollable,s=void 0!==i&&i,r=e.transparent,i=void 0!==r&&r,p=e.onClose,r=oe.useState(!1),e=fe(r,2),r=e[0],d=e[1],f=oe.useRef(null),h=oe.useCallback(function(e){"Escape"===e.key&&(e.stopPropagation(),p&&f.current&&ks.isTop(f.current)&&p(e))},[p]);return oe.useEffect(function(){var e=f.current;return c&&(document.addEventListener("keydown",h),null!=e&&e.addEventListener("touchmove",Ps,{passive:!0})),function(){document.removeEventListener("keydown",h),null!=e&&e.removeEventListener("touchmove",Ps)}},[h,c]),ce(Ls,{open:c,hasNotExited:r,children:ce(Xo,{nodeRef:f,in:c,appear:!0,timeout:{enter:0,exit:350},classNames:{enter:se({"dimmer--enter-fade":l}),enterDone:se("dimmer--enter-done",{"dimmer--enter-fade":l}),exit:se("dimmer--exit",{"dimmer--exit-fade":u})},unmountOnExit:!0,onEnter:function(){d(!0),f.current&&ks.add(f.current)},onExited:function(){d(!1),f.current&&ks.remove(f.current)},children:ce(Rs,{scrollBody:!i,children:ce(Ss,{children:ce("div",{ref:f,className:se("dimmer",{"dimmer--scrollable":s,"dimmer--transparent":i},n),role:"presentation",onClick:function(e){var t;!o&&p&&(t=e).target===f.current&&null!=p&&p(t)},children:ce("div",{className:se("dimmer-content-positioner",null!=a&&["d-flex justify-content-center",{"align-items-start":"top"===a,"align-items-center":"center"===a,"align-items-end":"bottom"===a}]),children:t})})})})})})});var _s=["children","className","open","position","showSlidingPanelBorder","slidingPanelPositionFixed"];function Ms(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function js(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ms(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ms(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Us=oe.forwardRef(function(e,t){var n,r=e.children,o=e.className,a=e.open,i=e.position,l=e.showSlidingPanelBorder,s=e.slidingPanelPositionFixed,u=b(e,_s),e=oe.useRef(null);return ce(Xo,js(js({},u),{},{nodeRef:e,in:a,timeout:{enter:0,exit:350},classNames:se("sliding-panel--open-".concat(i),l&&"sliding-panel--border-".concat(i),{"sliding-panel--fixed":s},"sliding-panel"),appear:!0,unmountOnExit:!0,children:ce("div",{ref:(n=[t,e],function(t){n.forEach(function(e){"function"==typeof e?e(t):null!=e&&(e.current=t)})}),className:se("sliding-panel","sliding-panel--open-".concat(i),o),children:r})}))});Us.propTypes={children:l.default.node,className:l.default.string,open:l.default.bool,position:l.default.oneOf(["top","bottom","left","right"]),showSlidingPanelBorder:l.default.bool,slidingPanelPositionFixed:l.default.bool},Us.defaultProps={children:null,className:void 0,open:!1,position:"left",showSlidingPanelBorder:!1,slidingPanelPositionFixed:!1};function Bs(t){var r=oe.useRef(null),n=oe.useRef(null),o=oe.useRef(null),e=oe.useState(!1),a=(d=fe(e,2))[0],i=d[1],l=oe.useRef(0),s=oe.useRef(0),u=oe.useRef(0);function c(e){null!==r.current&&(r.current.style.transform="translateY(".concat(e,"px)"))}function p(e){i(!1),s.current=0,null!==r.current&&r.current.style.removeProperty("transform"),t.onClose&&t.onClose(e)}vs({attachListener:t.open&&!m(),callback:function(){var e;null!==n.current&&(e=n.current.classList,h()?e.remove("np-bottom-sheet--top-bar--shadow"):e.add("np-bottom-sheet--top-bar--shadow"))},eventType:"scroll",parent:m()?void 0:document});var e=function(t){return function(e){u.current=(t?e.touches[0]:e).clientY,i(!0)}},d=function(n){return function(e){var t;!a||0<(t=(n?e.touches[0]:e).clientY-u.current)&&h()&&(s.current=t,l.current=requestAnimationFrame(function(){void 0!==l.current&&null!==r.current&&c(t)}))}};function f(e){cancelAnimationFrame(l.current),i(!1),50<s.current&&h()?p(e):c(0),s.current=0}function h(){var e;return void 0!==(null==o||null===(e=o.current)||void 0===e?void 0:e.scrollTop)&&o.current.scrollTop<=1}return ce(Is,{open:t.open,fadeContentOnEnter:!0,fadeContentOnExit:!0,onClose:p,children:pe(Us,{ref:r,open:t.open,position:re.Position.BOTTOM,className:se("np-bottom-sheet",t.className),role:"dialog",onTouchStart:e(!0),onTouchMove:d(!0),onTouchEnd:f,onMouseDown:e(!1),onMouseMove:d(!1),onMouseUp:f,children:[pe("div",{ref:n,className:"np-bottom-sheet--top-bar",children:[ce("div",{className:"np-bottom-sheet--handler"}),ce(Ae,{size:"sm",className:"sr-only np-bottom-sheet--close-btn",onClick:p})]}),ce("div",{ref:o,style:(d=m()?0:window.innerHeight,d="".concat(.01*d*100,"px"),{maxHeight:"calc(".concat(d," - ").concat("64px"," - ").concat("32px",")")}),className:"np-bottom-sheet--content",children:t.children})]})})}function Fs(e){return Gs[e]||e}var qs=(le(Wd={},re.ControlType.ACCENT,"btn-accent"),le(Wd,re.ControlType.POSITIVE,"btn-positive"),le(Wd,re.ControlType.NEGATIVE,"btn-negative"),Wd),zs=(le(et={},re.Priority.PRIMARY,"btn-priority-1"),le(et,re.Priority.SECONDARY,"btn-priority-2"),le(et,re.Priority.TERTIARY,"btn-priority-3"),et),Gs=(le(ft={},re.Type.PRIMARY,re.ControlType.ACCENT),le(ft,re.Type.SECONDARY,re.ControlType.ACCENT),le(ft,re.Type.LINK,re.ControlType.ACCENT),le(ft,re.Type.PAY,re.ControlType.POSITIVE),le(ft,re.Type.DANGER,re.ControlType.NEGATIVE),ft),Vs=(le(He={},re.Type.DANGER,re.Priority.SECONDARY),le(He,re.Type.LINK,re.Priority.TERTIARY),le(He,re.Type.SECONDARY,re.Priority.SECONDARY),He),Hs=(le(e={},re.Type.DANGER,"Type.NEGATIVE"),le(e,re.Type.LINK,"ControlType.ACCENT with priority Priority.TERTIARY"),le(e,re.Type.PAY,"ControlType.POSITIVE"),le(e,re.Type.PRIMARY,"ControlType.ACCENT"),le(e,re.Type.SECONDARY,"ControlType.ACCENT with priority Priority.SECONDARY"),e),Ys=Object.keys(Gs),Ws=["as","block","children","className","disabled","loading","priority","size","type"],Ks=["htmlType"];function Zs(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Xs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Zs(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Zs(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var $s=oe.forwardRef(function(e,t){var n=e.as,r=e.block,o=void 0!==r&&r,a=e.children,i=e.className,l=e.disabled,s=e.loading,u=void 0!==s&&s,c=e.priority,p=void 0===c?re.Priority.PRIMARY:c,d=e.size,r=void 0===d?re.Size.MEDIUM:d,s=e.type,c=void 0===s?re.ControlType.ACCENT:s,d=b(e,Ws);e=(s={size:r,type:c}).size,s=s.type,Ue("Button has deprecated the `Size.EXTRA_SMALL` value for the `size` prop. Please use Size.SMALL instead.",e===re.Size.EXTRA_SMALL),Ue("Button has deprecated the ".concat(s," value for the `type` prop. Please update to ").concat(Hs[s],"."),Ys.includes(s));e=Fs(c),s=p,c=Fs(p=c),s=Vs[p]||(s===re.Priority.TERTIARY&&c!==re.ControlType.ACCENT?re.Priority.SECONDARY:s),s=se("btn btn-".concat(r),"np-btn np-btn-".concat(r),{"btn-loading":u,"btn-block np-btn-block":o},{disabled:l||u},qs[e],zs[s],i),i=null!==n&&void 0!==n?n:"button";return d="button"===i?(n=void 0===(n=d.htmlType)?"button":n,Xs(Xs({},b(d,Ks)),{},{disabled:l||u,type:n})):Xs({},d),pe(i,Xs(Xs({ref:t,className:s},d),{},{children:[a,u&&ce("span",{className:se("btn-loader",{"m-l-2":!o})})]}))}),Js=["aria-label","as","isExpanded","title","details","children","onClick","icon","id","className"],N=oe.forwardRef(function(e,t){var n=e["aria-label"],r=e.as,o=e.isExpanded,a=e.title,i=e.details,l=e.children,s=e.onClick,u=e.icon,c=e.id,p=e.className,d=b(e,Js),e=!(!o||!l);return pe(r,{ref:t,className:se("np-card",p,{"np-card--expanded":e,"np-card--inactive":!l,"np-card--has-icon":!!u}),id:c,"data-testid":d["data-testid"],children:[ce(ge,{"aria-label":n,as:l?"button":"div",className:se("np-card__button"),media:u,title:a,content:i,showMediaAtAllSizes:!0,button:l&&ce(he,{orientation:e?re.Position.TOP:re.Position.BOTTOM}),onClick:function(){return l&&s(!o)}}),ce("div",{className:se("np-card__divider",{"np-card__divider--expanded":e})}),e&&ce(z,{as:"span",type:re.Typography.BODY_LARGE,className:"np-card__content d-block",children:l})]})}),Qe=function(e){return e.children};N.propTypes={"aria-label":l.default.string,as:l.default.string,isExpanded:xe(l.default.bool,Qe),title:l.default.node.isRequired,details:l.default.node.isRequired,onClick:xe(l.default.func,Qe),icon:l.default.node,children:l.default.node,id:l.default.string,className:l.default.string,"data-testid":l.default.string},N.defaultProps={"aria-label":void 0,as:"div",children:null,id:null,className:null,"data-testid":null};var Qs=["checked","className","disabled","onChange"];function eu(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function tu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?eu(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):eu(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var nu=oe.forwardRef(function(e,t){var n=e.checked,r=e.className,o=e.disabled,a=e.onChange,e=b(e,Qs);return pe("span",{className:se("np-checkbox-button",r,o&&"disabled"),children:[ce("input",tu(tu({},e),{},{ref:t,type:"checkbox",disabled:o,checked:n,onChange:a})),ce("span",{className:"tw-checkbox-button",children:ce("span",{className:"tw-checkbox-check"})})]})}),ht=function(e){var t=e.id,n=e.checked,r=e.required,o=e.disabled,a=e.readOnly,i=e.label,l=e.className,s=e.secondary,u=e.onChange,c=e.onFocus,p=e.onBlur,e=ae.useTheme().isModern,l=se("np-checkbox",{checkbox:!0,"checkbox-lg":s,disabled:e&&o},l),a=o||a;return ce("div",{id:t,className:l,children:pe("label",{className:se({disabled:o}),children:[ce(nu,{className:"p-r-2",checked:n,disabled:a,required:!a&&r,onFocus:c,onChange:function(){return u(!n)},onBlur:p}),pe(z,{as:"span",className:"np-checkbox__text",type:s?re.Typography.BODY_LARGE_BOLD:re.Typography.BODY_LARGE,children:[ce("span",{className:r?"has-required":void 0,children:i}),s&&ce(z,{as:"span",className:se({secondary:!e}),children:s})]})]})})};ht.propTypes={id:l.default.string,checked:l.default.bool,required:l.default.bool,disabled:l.default.bool,readOnly:l.default.bool,label:l.default.node.isRequired,secondary:l.default.string,onFocus:l.default.func,onChange:l.default.func.isRequired,onBlur:l.default.func,className:l.default.string},ht.defaultProps={id:null,checked:!1,required:!1,disabled:!1,readOnly:!1,secondary:null,onFocus:null,onBlur:null,className:void 0};var ru=["checked","disabled","onChange"];function ou(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function au(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ou(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ou(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}xt=oe.forwardRef(function(e,t){var n=e.checked,r=e.disabled,o=e.onChange,e=b(e,ru);return ce(ge,au(au({},e),{},{ref:t,disabled:r,button:ce(nu,{checked:n,disabled:r,onChange:function(){return o(!n)}})}))});function iu(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function lu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?iu(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):iu(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var su=function(e){var t=e.label,n=e.value,r=e.onRemove,o=e.onClick,a=e.onKeyPress,i=e.className,l=void 0===i?void 0:i,s=e["aria-label"],u=e["aria-checked"],c=e.role,p=e.closeButton,d=o||a,f=d?"button":void 0,i=d?0:-1,e=ae.useTheme().isModern,h=oe.useRef(null),m=oe.useRef();return oe.useEffect(function(){var e;null!=h.current&&!1===m.current&&null!==(e=h.current)&&void 0!==e&&e.focus(),m.current=null!=h.current},[r]),pe("div",lu(lu({role:null!=c?c:f,tabIndex:i,"aria-label":s,"aria-checked":u,className:se("np-chip","d-flex","align-items-center","justify-content-between",r?"np-chip--removable":"",l)},d&&{onClick:o,onKeyPress:a}),{},{children:[e?ce(z,{"aria-hidden":!!r,type:re.Typography.BODY_DEFAULT_BOLD,children:t}):ce("span",{"aria-hidden":"false",className:"np-chip-label",children:t}),r?ce(Ae,{ref:h,className:e?"btn-unstyled":"btn-unstyled m-l-1","aria-label":p&&p["aria-label"],size:"sm",filled:e,onClick:r}):null]}),n)},uu=ie.defineMessages({ariaLabel:{id:"neptune.Chips.ariaLabel"}});function cu(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}var pu=["className","children","disabled","icon","priority","type"];function du(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}Dt=function(e){var t=e.className,n=e.children,r=e.disabled,o=e.icon,a=e.priority,i=e.type,l=b(e,pu),e=se("btn np-btn",qs[i],zs[a]),o=24!==o.props.size?oe.cloneElement(o,{size:24}):o;return pe("label",{className:se("np-circular-btn",a,i,r?"disabled":"",t),children:[ce("input",function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?du(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):du(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({type:"button","aria-label":n,className:e,disabled:r},l)),o,ce(z,{as:"span",className:"np-circular-btn__label",type:re.Typography.BODY_DEFAULT_BOLD,children:n})]})};Dt.propTypes={className:l.default.string,children:l.default.string.isRequired,disabled:l.default.bool,icon:l.default.element.isRequired,onClick:l.default.func.isRequired,priority:l.default.oneOf(["primary","secondary"]),type:l.default.oneOf(["accent","positive","negative"])},Dt.defaultProps={className:void 0,disabled:!1,priority:re.Priority.PRIMARY,type:re.ControlType.ACCENT};var fu,hu={TYPE:"SignificantDigits",MIN_PRECISION:1,MAX_PRECISION:21},mu={TYPE:"FractionDigits",MIN_PRECISION:0,MAX_PRECISION:20},gu={};function yu(e,t){var n=t?""+e+Object.entries(t):e;return gu[n]||(gu[n]=t?new Intl.NumberFormat(e,t):new Intl.NumberFormat(e)),gu[n]}function bu(e,t,n,r){if(void 0===t&&(t="en-GB"),void 0===r&&(r="FractionDigits"),!e&&0!==e)return"";"string"==typeof e&&Number(e)&&(e=Number(e));var o,a=r===hu.TYPE?hu:mu,i=null!=n&&"number"==typeof n&&n>=a.MIN_PRECISION&&n<=a.MAX_PRECISION,l=function(e){try{var t=e.replace(/_/,"-");return Intl.NumberFormat(t),t}catch(e){return"en-GB"}}(t);return(fu=void 0===fu?"object"==typeof Intl&&void 0!==Intl&&"function"==typeof Intl.NumberFormat&&Intl.NumberFormat&&"function"==typeof Intl.NumberFormat.supportedLocalesOf&&Intl.NumberFormat.supportedLocalesOf&&1===Intl.NumberFormat.supportedLocalesOf(l).length:fu)?(i?yu(l,((o={})["minimum"+(a=r)]=t=n,o["maximum"+a]=t,o)):yu(l)).format(e):i?(i=e,n=n,r===hu.TYPE?i.toPrecision(n):i.toFixed(n)):""+e}var vu,Ou={BIF:0,BYR:0,CLP:0,DJF:0,GNF:0,JPY:0,KMF:0,KRW:0,MGA:0,PYG:0,RWF:0,VND:0,VUV:0,XAF:0,XOF:0,XPF:0,HUF:0,UGX:0,KES:0,BHD:3,JOD:3,KWD:3,OMR:3,TND:3};function wu(e,t,n,r){void 0===n&&(n="en-GB");var o,r=(o=e,t=t,r=(r=void 0===r?{alwaysShowDecimals:!1}:r).alwaysShowDecimals,o%1!=0||r?(t=(void 0===t?"":t).toUpperCase(),Object.prototype.hasOwnProperty.call(Ou,t)?Ou[t]:2):0),t=e<0,r=bu(Math.abs(e),n,r);return t?"- "+r:r}var Eu={},Tu=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Su=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Cu={};function xu(e,t,n){return void 0===t&&(t="en-GB"),(vu=void 0===vu?function(){try{var e=new Date(2018,11,1);return"01/12/2018"===new Intl.DateTimeFormat("en-GB").format(e)}catch(e){return!1}}():vu)?(void 0===Eu[t=r=t]&&(Eu[t]=function(e){try{return 0<Intl.DateTimeFormat.supportedLocalesOf([e]).length}catch(e){return!1}}(t)),t=Eu[t]?r:"en-GB",r=n,Cu[t]||(Cu[t]=new Map),Cu[t].has(r)||Cu[t].set(r,new Intl.DateTimeFormat(t,r)),Cu[t].get(r).format(e)):function e(t,n){var r,o="UTC"===(n=void 0===n?{}:n).timeZone,a=[];n.day&&a.push(o?t.getUTCDate():t.getDate()),n.month&&(r=o,i=t,i="short"===n.month?Su[r?i.getUTCMonth():i.getMonth()]:(r?i.getUTCMonth():i.getMonth())+1,"short"!==n.month?a.push(i):a.unshift(i)),n.year&&a.push(t.getUTCFullYear());var i="short"===n.month?" ":"/",i=a.join(i);return n.weekday&&(o=Tu[o?t.getUTCDay():t.getDay()],i=i?o+", "+i:o),i||e(t,{timeZone:n.timeZone,day:"true",month:"true",year:"true"})}(e,n);var r}function Du(e,t){for(var n=1<arguments.length&&void 0!==t?t:"short",r=[],o=new Date(2018,0,1);r.length<7;)r.push(xu(o,e,{weekday:n})),o.setDate(o.getDate()+1);return r}function Au(e,t,n){return!e||(!t||t<=e)&&(!n||e<=n)}function Nu(e,t,n){return Au(e,t,n)?e:new Date(t&&e<t?+t:+n)}(fa={}).SECOND="second",fa.MINUTE="minute",fa.HOUR="hour";function Pu(e){for(var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"long",n=[],r=new Date(2018,0,1),o={month:t};n.length<12;)n.push(xu(r,e,o)),r.setMonth(r.getMonth()+1);return n}function ku(e){return Iu(e)||Ru(e)}function Lu(e){return e.reduce(function(e,t){var n=t[0],t=t[1];return e[n]=t,e},{})}var Ru=function(e){return"string"==typeof e&&Iu(new Date(e))},Iu=function(e){return e instanceof Date&&!isNaN(e)},_u={DOWN:40,UP:38,LEFT:37,RIGHT:39,ENTER:13,ESCAPE:27,TAB:9,SPACE:32,BACKSPACE:8,DELETE:46,COMMA:188,PERIOD:190},Mu="undefined"!=typeof window&&window.document&&window.document.createElement?oe.useLayoutEffect:oe.useEffect,ju="top",Uu="bottom",Bu="right",Fu="left",qu="auto",zu=[ju,Uu,Bu,Fu],Gu="start",Vu="end",Hu="clippingParents",Yu="viewport",Wu="popper",Ku="reference",Zu=zu.reduce(function(e,t){return e.concat([t+"-"+Gu,t+"-"+Vu])},[]),Xu=[].concat(zu,[qu]).reduce(function(e,t){return e.concat([t,t+"-"+Gu,t+"-"+Vu])},[]),$u=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ju(e){return e?(e.nodeName||"").toLowerCase():null}function Qu(e){if(null==e)return window;if("[object Window]"===e.toString())return e;e=e.ownerDocument;return e&&e.defaultView||window}function ec(e){return e instanceof Qu(e).Element||e instanceof Element}function tc(e){return e instanceof Qu(e).HTMLElement||e instanceof HTMLElement}function nc(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Qu(e).ShadowRoot||e instanceof ShadowRoot)}function rc(e){return e.split("-")[0]}function oc(e){e=e.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function ac(e){var t=oc(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ic(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&nc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0}while(r=r.parentNode||r.host)}return!1}function lc(e){return Qu(e).getComputedStyle(e)}function sc(e){return((ec(e)?e.ownerDocument:e.document)||window.document).documentElement}function uc(e){return"html"===Ju(e)?e:e.assignedSlot||e.parentNode||(nc(e)?e.host:null)||sc(e)}function cc(e){return tc(e)&&"fixed"!==lc(e).position?e.offsetParent:null}function pc(e){for(var t,n=Qu(e),r=cc(e);r&&(t=r,0<=["table","td","th"].indexOf(Ju(t)))&&"static"===lc(r).position;)r=cc(r);return(!r||"html"!==Ju(r)&&("body"!==Ju(r)||"static"!==lc(r).position))&&(r||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&tc(e)&&"fixed"===lc(e).position)return null;for(var r=uc(e);tc(r)&&["html","body"].indexOf(Ju(r))<0;){var o=lc(r);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return r;r=r.parentNode}return null}(e))||n}function dc(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}var fc=Math.max,hc=Math.min,mc=Math.round;function gc(e,t,n){return fc(e,hc(t,n))}function yc(){return{top:0,right:0,bottom:0,left:0}}function bc(e){return Object.assign({},yc(),e)}function vc(n,e){return e.reduce(function(e,t){return e[t]=n,e},{})}var Oc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function wc(e){var t=e.popper,n=e.popperRect,r=e.placement,o=e.offsets,a=e.position,i=e.gpuAcceleration,l=e.adaptive,s=e.roundOffsets,u=!0===s?(f=(m=o).x,h=m.y,m=window.devicePixelRatio||1,{x:mc(mc(f*m)/m)||0,y:mc(mc(h*m)/m)||0}):"function"==typeof s?s(o):o,c=u.x,p=void 0===c?0:c,d=u.y,e=void 0===d?0:d,f=o.hasOwnProperty("x"),h=o.hasOwnProperty("y"),m=Fu,s=ju,c=window;l&&(u="clientHeight",d="clientWidth",(o=pc(t))===Qu(t)&&"static"!==lc(o=sc(t)).position&&(u="scrollHeight",d="scrollWidth"),r===ju&&(s=Uu,e-=o[u]-n.height,e*=i?1:-1),r===Fu&&(m=Bu,p-=o[d]-n.width,p*=i?1:-1));var l=Object.assign({position:a},l&&Oc);return i?Object.assign({},l,((i={})[s]=h?"0":"",i[m]=f?"0":"",i.transform=(c.devicePixelRatio||1)<2?"translate("+p+"px, "+e+"px)":"translate3d("+p+"px, "+e+"px, 0)",i)):Object.assign({},l,((l={})[s]=h?e+"px":"",l[m]=f?p+"px":"",l.transform="",l))}var Ec={passive:!0};var Tc={left:"right",right:"left",bottom:"top",top:"bottom"};function Sc(e){return e.replace(/left|right|bottom|top/g,function(e){return Tc[e]})}var Cc={start:"end",end:"start"};function xc(e){return e.replace(/start|end/g,function(e){return Cc[e]})}function Dc(e){e=Qu(e);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ac(e){return oc(sc(e)).left+Dc(e).scrollLeft}function Nc(e){var t=lc(e),n=t.overflow,e=t.overflowX,t=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+t+e)}function Pc(e,t){void 0===t&&(t=[]);var n=function e(t){return 0<=["html","body","#document"].indexOf(Ju(t))?t.ownerDocument.body:tc(t)&&Nc(t)?t:e(uc(t))}(e),e=n===(null==(r=e.ownerDocument)?void 0:r.body),r=Qu(n),n=e?[r].concat(r.visualViewport||[],Nc(n)?n:[]):n,t=t.concat(n);return e?t:t.concat(Pc(uc(n)))}function kc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Lc(e,t){return t===Yu?kc((a=Qu(o=e),i=sc(o),l=a.visualViewport,s=i.clientWidth,u=i.clientHeight,i=a=0,l&&(s=l.width,u=l.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=l.offsetLeft,i=l.offsetTop)),{width:s,height:u,x:a+Ac(o),y:i})):tc(t)?((r=oc(n=t)).top=r.top+n.clientTop,r.left=r.left+n.clientLeft,r.bottom=r.top+n.clientHeight,r.right=r.left+n.clientWidth,r.width=n.clientWidth,r.height=n.clientHeight,r.x=r.left,r.y=r.top,r):kc((o=sc(e),i=sc(o),t=Dc(o),r=null==(n=o.ownerDocument)?void 0:n.body,e=fc(i.scrollWidth,i.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),n=fc(i.scrollHeight,i.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),o=-t.scrollLeft+Ac(o),t=-t.scrollTop,"rtl"===lc(r||i).direction&&(o+=fc(i.clientWidth,r?r.clientWidth:0)-e),{width:e,height:n,x:o,y:t}));var n,r,o,a,i,l,s,u}function Rc(n,e,t){var r,o,a,e="clippingParents"===e?(o=Pc(uc(r=n)),ec(a=0<=["absolute","fixed"].indexOf(lc(r).position)&&tc(r)?pc(r):r)?o.filter(function(e){return ec(e)&&ic(e,a)&&"body"!==Ju(e)}):[]):[].concat(e),e=[].concat(e,[t]),t=e[0],t=e.reduce(function(e,t){t=Lc(n,t);return e.top=fc(t.top,e.top),e.right=hc(t.right,e.right),e.bottom=hc(t.bottom,e.bottom),e.left=fc(t.left,e.left),e},Lc(n,t));return t.width=t.right-t.left,t.height=t.bottom-t.top,t.x=t.left,t.y=t.top,t}function Ic(e){return e.split("-")[1]}function _c(e){var t,n=e.reference,r=e.element,o=e.placement,e=o?rc(o):null,o=o?Ic(o):null,a=n.x+n.width/2-r.width/2,i=n.y+n.height/2-r.height/2;switch(e){case ju:t={x:a,y:n.y-r.height};break;case Uu:t={x:a,y:n.y+n.height};break;case Bu:t={x:n.x+n.width,y:i};break;case Fu:t={x:n.x-r.width,y:i};break;default:t={x:n.x,y:n.y}}var l=e?dc(e):null;if(null!=l){var s="y"===l?"height":"width";switch(o){case Gu:t[l]=t[l]-(n[s]/2-r[s]/2);break;case Vu:t[l]=t[l]+(n[s]/2-r[s]/2)}}return t}function Mc(e,t){var r,n=t=void 0===t?{}:t,o=n.placement,a=void 0===o?e.placement:o,i=n.boundary,l=void 0===i?Hu:i,s=n.rootBoundary,u=void 0===s?Yu:s,t=n.elementContext,o=void 0===t?Wu:t,i=n.altBoundary,s=void 0!==i&&i,t=n.padding,i=void 0===t?0:t,n=bc("number"!=typeof i?i:vc(i,zu)),t=e.elements.reference,i=e.rects.popper,s=e.elements[s?o===Wu?Ku:Wu:o],l=Rc(ec(s)?s:s.contextElement||sc(e.elements.popper),l,u),u=oc(t),t=_c({reference:u,element:i,strategy:"absolute",placement:a}),t=kc(Object.assign({},i,t)),u=o===Wu?t:u,c={top:l.top-u.top+n.top,bottom:u.bottom-l.bottom+n.bottom,left:l.left-u.left+n.left,right:u.right-l.right+n.right},e=e.modifiersData.offset;return o===Wu&&e&&(r=e[a],Object.keys(c).forEach(function(e){var t=0<=[Bu,Uu].indexOf(e)?1:-1,n=0<=[ju,Uu].indexOf(e)?"y":"x";c[e]+=r[n]*t})),c}function jc(e,t,n){return{top:e.top-t.height-(n=void 0===n?{x:0,y:0}:n).y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Uc(t){return[ju,Bu,Uu,Fu].some(function(e){return 0<=t[e]})}function Bc(e,t,n){void 0===n&&(n=!1);var r=sc(t),o=oc(e),a=tc(t),i={scrollLeft:0,scrollTop:0},e={x:0,y:0};return!a&&(a||n)||("body"===Ju(t)&&!Nc(r)||(i=(n=t)!==Qu(n)&&tc(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:Dc(n)),tc(t)?((e=oc(t)).x+=t.clientLeft,e.y+=t.clientTop):r&&(e.x=Ac(r))),{x:o.left+i.scrollLeft-e.x,y:o.top+i.scrollTop-e.y,width:o.width,height:o.height}}function Fc(e){var n=new Map,r=new Set,o=[];return e.forEach(function(e){n.set(e.name,e)}),e.forEach(function(e){r.has(e.name)||!function t(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){r.has(e)||(e=n.get(e))&&t(e)}),o.push(e)}(e)}),o}function qc(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce(function(e,t){return e.replace(/%s/,t)},e)}var zc='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Gc='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',Vc=["name","enabled","phase","fn","effect","requires","options"];var Hc="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Yc={placement:"bottom",modifiers:[],strategy:"absolute"};function Wc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Kc(e){var t=e=void 0===e?{}:e,e=t.defaultModifiers,f=void 0===e?[]:e,t=t.defaultOptions,h=void 0===t?Yc:t;return function(i,l,t){void 0===t&&(t=h);var n,r,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Yc,h),modifiersData:{},elements:{reference:i,popper:l},attributes:{},styles:{}},u=[],c=!1,p={state:s,setOptions:function(e){d(),s.options=Object.assign({},h,s.options,e),s.scrollParents={reference:ec(i)?Pc(i):i.contextElement?Pc(i.contextElement):[],popper:Pc(l)};var n,t,r,o,a,e=(e=[].concat(f,s.options.modifiers),t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),e=Object.keys(t).map(function(e){return t[e]}),n=Fc(e),$u.reduce(function(e,t){return e.concat(n.filter(function(e){return e.phase===t}))},[]));return s.orderedModifiers=e.filter(function(e){return e.enabled}),"production"!==process.env.NODE_ENV&&(e=[].concat(e,s.options.modifiers),o=function(e){return e.name},a=new Set,e=e.filter(function(e){e=o(e);if(!a.has(e))return a.add(e),!0}),(r=e).forEach(function(n){Object.keys(n).forEach(function(e){switch(e){case"name":"string"!=typeof n.name&&console.error(qc(zc,String(n.name),'"name"','"string"','"'+String(n.name)+'"'));break;case"enabled":"boolean"!=typeof n.enabled&&console.error(qc(zc,n.name,'"enabled"','"boolean"','"'+String(n.enabled)+'"'));case"phase":$u.indexOf(n.phase)<0&&console.error(qc(zc,n.name,'"phase"',"either "+$u.join(", "),'"'+String(n.phase)+'"'));break;case"fn":"function"!=typeof n.fn&&console.error(qc(zc,n.name,'"fn"','"function"','"'+String(n.fn)+'"'));break;case"effect":"function"!=typeof n.effect&&console.error(qc(zc,n.name,'"effect"','"function"','"'+String(n.fn)+'"'));break;case"requires":Array.isArray(n.requires)||console.error(qc(zc,n.name,'"requires"','"array"','"'+String(n.requires)+'"'));break;case"requiresIfExists":Array.isArray(n.requiresIfExists)||console.error(qc(zc,n.name,'"requiresIfExists"','"array"','"'+String(n.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+n.name+'" modifier, valid properties are '+Vc.map(function(e){return'"'+e+'"'}).join(", ")+'; but "'+e+'" was provided.')}n.requires&&n.requires.forEach(function(t){null==r.find(function(e){return e.name===t})&&console.error(qc(Gc,String(n.name),t,t))})})}),rc(s.options.placement)===qu&&(s.orderedModifiers.find(function(e){return"flip"===e.name})||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))),[(e=lc(l)).marginTop,e.marginRight,e.marginBottom,e.marginLeft].some(function(e){return parseFloat(e)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,e=e.effect;"function"==typeof e&&(n=e({state:s,name:t,instance:p,options:void 0===n?{}:n}),u.push(n||function(){}))}),p.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,e=e.popper;if(Wc(t,e)){s.rects={reference:Bc(t,pc(e),"fixed"===s.options.strategy),popper:ac(e)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var n,r,o,a=0,i=0;i<s.orderedModifiers.length;i++){if("production"!==process.env.NODE_ENV&&100<(a+=1)){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}!0!==s.reset?(n=(o=s.orderedModifiers[i]).fn,r=o.options,o=o.name,"function"==typeof n&&(s=n({state:s,options:void 0===r?{}:r,name:o,instance:p})||s)):(s.reset=!1,i=-1)}}else"production"!==process.env.NODE_ENV&&console.error(Hc)}},update:(n=function(){return new Promise(function(e){p.forceUpdate(),e(s)})},function(){return r=r||new Promise(function(e){Promise.resolve().then(function(){r=void 0,e(n())})})}),destroy:function(){d(),c=!0}};return Wc(i,l)?p.setOptions(t).then(function(e){!c&&t.onFirstUpdate&&t.onFirstUpdate(e)}):"production"!==process.env.NODE_ENV&&console.error(Hc),p;function d(){u.forEach(function(e){return e()}),u=[]}}}var Zc=Kc({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=void 0===(e=r.scroll)||e,a=void 0===(r=r.resize)||r,i=Qu(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach(function(e){e.addEventListener("scroll",n.update,Ec)}),a&&i.addEventListener("resize",n.update,Ec),function(){o&&l.forEach(function(e){e.removeEventListener("scroll",n.update,Ec)}),a&&i.removeEventListener("resize",n.update,Ec)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,e=e.name;t.modifiersData[e]=_c({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t,n=e.state,r=e.options,e=void 0===(o=r.gpuAcceleration)||o,o=void 0===(o=r.adaptive)||o,r=void 0===(r=r.roundOffsets)||r;"production"!==process.env.NODE_ENV&&(t=lc(n.elements.popper).transitionProperty||"",o&&["transform","top","right","bottom","left"].some(function(e){return 0<=t.indexOf(e)})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))),e={placement:rc(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:e},null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,wc(Object.assign({},e,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:o,roundOffsets:r})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,wc(Object.assign({},e,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:r})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var o=e.state;Object.keys(o.elements).forEach(function(e){var t=o.styles[e]||{},n=o.attributes[e]||{},r=o.elements[e];tc(r)&&Ju(r)&&(Object.assign(r.style,t),Object.keys(n).forEach(function(e){var t=n[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var r=e.state,o={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,o.popper),r.styles=o,r.elements.arrow&&Object.assign(r.elements.arrow.style,o.arrow),function(){Object.keys(r.elements).forEach(function(e){var t=r.elements[e],n=r.attributes[e]||{},e=Object.keys((r.styles.hasOwnProperty(e)?r.styles:o)[e]).reduce(function(e,t){return e[t]="",e},{});tc(t)&&Ju(t)&&(Object.assign(t.style,e),Object.keys(n).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var i=e.state,t=e.options,n=e.name,l=void 0===(r=t.offset)?[0,0]:r,e=Xu.reduce(function(e,t){var n,r,o,a;return e[t]=(n=t,r=i.rects,o=l,a=rc(n),t=0<=[Fu,ju].indexOf(a)?-1:1,o=(o=(n="function"==typeof o?o(Object.assign({},r,{placement:n})):o)[0])||0,n=((n=n[1])||0)*t,0<=[Fu,Bu].indexOf(a)?{x:n,y:o}:{x:o,y:n}),e},{}),r=(t=e[i.placement]).x,t=t.y;null!=i.modifiersData.popperOffsets&&(i.modifiersData.popperOffsets.x+=r,i.modifiersData.popperOffsets.y+=t),i.modifiersData[n]=e}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var n=e.state,t=e.options,r=e.name;if(!n.modifiersData[r]._skip){for(var o=t.mainAxis,a=void 0===o||o,e=t.altAxis,i=void 0===e||e,o=t.fallbackPlacements,l=t.padding,s=t.boundary,u=t.rootBoundary,c=t.altBoundary,e=t.flipVariations,p=void 0===e||e,d=t.allowedAutoPlacements,e=n.options.placement,t=rc(e),t=o||(t===e||!p?[Sc(e)]:function(e){if(rc(e)===qu)return[];var t=Sc(e);return[xc(e),t,xc(t)]}(e)),f=[e].concat(t).reduce(function(e,t){return e.concat(rc(t)===qu?function(n,e){var t=e=void 0===e?{}:e,r=t.placement,o=t.boundary,a=t.rootBoundary,i=t.padding,e=t.flipVariations,l=void 0===(t=t.allowedAutoPlacements)?Xu:t,s=Ic(r),r=s?e?Zu:Zu.filter(function(e){return Ic(e)===s}):zu;0===(e=r.filter(function(e){return 0<=l.indexOf(e)})).length&&(e=r,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var u=e.reduce(function(e,t){return e[t]=Mc(n,{placement:t,boundary:o,rootBoundary:a,padding:i})[rc(t)],e},{});return Object.keys(u).sort(function(e,t){return u[e]-u[t]})}(n,{placement:t,boundary:s,rootBoundary:u,padding:l,flipVariations:p,allowedAutoPlacements:d}):t)},[]),h=n.rects.reference,m=n.rects.popper,g=new Map,y=!0,b=f[0],v=0;v<f.length;v++){var O=f[v],w=rc(O),E=Ic(O)===Gu,T=0<=[ju,Uu].indexOf(w),S=T?"width":"height",C=Mc(n,{placement:O,boundary:s,rootBoundary:u,altBoundary:c,padding:l}),T=T?E?Bu:Fu:E?Uu:ju;h[S]>m[S]&&(T=Sc(T));E=Sc(T),S=[];if(a&&S.push(C[w]<=0),i&&S.push(C[T]<=0,C[E]<=0),S.every(function(e){return e})){b=O,y=!1;break}g.set(O,S)}if(y)for(var x=p?3:1;0<x;x--)if("break"===function(t){var e=f.find(function(e){e=g.get(e);if(e)return e.slice(0,t).every(function(e){return e})});if(e)return b=e,"break"}(x))break;n.placement!==b&&(n.modifiersData[r]._skip=!0,n.placement=b,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=void 0===(E=n.mainAxis)||E,a=void 0!==(T=n.altAxis)&&T,i=n.boundary,l=n.rootBoundary,s=n.altBoundary,u=n.padding,c=n.tether,p=void 0===c||c,d=n.tetherOffset,f=void 0===d?0:d,h=Mc(t,{boundary:i,rootBoundary:l,padding:u,altBoundary:s}),m=rc(t.placement),g=Ic(t.placement),y=!g,b=dc(m),v="x"===b?"y":"x",O=t.modifiersData.popperOffsets,w=t.rects.reference,e=t.rects.popper,E="function"==typeof f?f(Object.assign({},t.rects,{placement:t.placement})):f,T={x:0,y:0};O&&((o||a)&&(c="y"===b?"height":"width",n=O[b],i=O[b]+h[d="y"===b?ju:Fu],u=O[b]-h[l="y"===b?Uu:Bu],s=p?-e[c]/2:0,m=(g===Gu?w:e)[c],f=g===Gu?-e[c]:-w[c],g=t.elements.arrow,e=p&&g?ac(g):{width:0,height:0},d=(g=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:yc())[d],l=g[l],e=gc(0,w[c],e[c]),d=y?w[c]/2-s-e-d-E:m-e-d-E,e=y?-w[c]/2+s+e+l+E:f+e+l+E,E=(l=t.elements.arrow&&pc(t.elements.arrow))?"y"===b?l.clientTop||0:l.clientLeft||0:0,l=t.modifiersData.offset?t.modifiersData.offset[t.placement][b]:0,E=O[b]+d-l-E,l=O[b]+e-l,o&&(u=gc(p?hc(i,E):i,n,p?fc(u,l):u),O[b]=u,T[b]=u-n),a&&(a=(n=O[v])+h["x"===b?ju:Fu],b=n-h["x"===b?Uu:Bu],b=gc(p?hc(a,E):a,n,p?fc(b,l):b),O[v]=b,T[v]=b-n)),t.modifiersData[r]=T)},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r=e.state,o=e.name,a=e.options,i=r.elements.arrow,l=r.modifiersData.popperOffsets,s=rc(r.placement),u=dc(s),c=0<=[Fu,Bu].indexOf(s)?"height":"width";i&&l&&(t=a.padding,n=r,e=bc("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:vc(t,zu)),s=ac(i),a="y"===u?ju:Fu,n="y"===u?Uu:Bu,t=r.rects.reference[c]+r.rects.reference[u]-l[u]-r.rects.popper[c],l=l[u]-r.rects.reference[u],i=(i=pc(i))?"y"===u?i.clientHeight||0:i.clientWidth||0:0,a=e[a],n=i-s[c]-e[n],n=gc(a,l=i/2-s[c]/2+(t/2-l/2),n),r.modifiersData[o]=((o={})[u]=n,o.centerOffset=n-l,o))},effect:function(e){var t=e.state;null!=(e=void 0===(e=e.options.element)?"[data-popper-arrow]":e)&&("string"==typeof e&&!(e=t.elements.popper.querySelector(e))||("production"!==process.env.NODE_ENV&&(tc(e)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),ic(t.elements.popper,e)?t.elements.arrow=e:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "))))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=Mc(t,{elementContext:"reference"}),e=Mc(t,{altBoundary:!0}),r=jc(i,r),e=jc(e,o,a),o=Uc(r),a=Uc(e);t.modifiersData[n]={referenceClippingOffsets:r,popperEscapeOffsets:e,isReferenceHidden:o,hasPopperEscaped:a},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":o,"data-popper-escaped":a})}}]}),Xc="undefined"!=typeof Element,$c="function"==typeof Map,Jc="function"==typeof Set,Qc="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function ep(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,a,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if($c&&t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(i=t.entries();!(o=i.next()).done;)if(!n.has(o.value[0]))return!1;for(i=t.entries();!(o=i.next()).done;)if(!e(o.value[1],n.get(o.value[0])))return!1;return!0}if(Jc&&t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(i=t.entries();!(o=i.next()).done;)if(!n.has(o.value[0]))return!1;return!0}if(Qc&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(n)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(t[o]!==n[o])return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,a[o]))return!1;if(Xc&&t instanceof Element)return!1;for(o=r;0!=o--;)if(("_owner"!==a[o]&&"__v"!==a[o]&&"__o"!==a[o]||!t.$$typeof)&&!e(t[a[o]],n[a[o]]))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),0;throw e}}function tp(t,n,r){void 0===r&&(r={});var o=oe.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||np},e=oe.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"}},attributes:{}}),i=e[0],l=e[1],s=oe.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,e=Object.keys(t.elements);l({styles:Lu(e.map(function(e){return[e,t.styles[e]||{}]})),attributes:Lu(e.map(function(e){return[e,t.attributes[e]]}))})},requires:["computeStyles"]}},[]),u=oe.useMemo(function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[s,{name:"applyStyles",enabled:!1}])};return ep(o.current,e)?o.current||e:o.current=e},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,s]),c=oe.useRef();return Mu(function(){c.current&&c.current.setOptions(u)},[u]),Mu(function(){if(null!=t&&null!=n){var e=(r.createPopper||Zc)(t,n,u);return c.current=e,function(){e.destroy(),c.current=null}}},[t,n,r.createPopper]),{state:c.current?c.current.state:null,styles:i.styles,attributes:i.attributes,update:c.current?c.current.update:null,forceUpdate:c.current?c.current.forceUpdate:null}}var np=[],rp=["arrow","flip","altAxis","children","open","onClose","position","anchorRef","anchorWidth"];function op(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function ap(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?op(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):op(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function ip(e){var t=e.children,n=e.className,r=e.footerContent,o=e.headerTitle,a=e.onClose,i=e.open,l=e.position;Ue("Drawer now expects `onClose`, and will soon make this prop required. Please update your usage to provide it.",!a);var s=Ts().isMobile,e=ae.useTheme().theme;return ce(Is,{open:i,onClose:a,children:ce(Us,{open:i,position:s?re.Position.BOTTOM:l,children:pe("div",{className:se("np-drawer","np-theme-".concat(e),n),children:[pe("div",{className:se("np-drawer-header",{"np-drawer-header--withborder":o}),children:[o&&ce(_,{type:re.Typography.TITLE_BODY,children:o}),ce(Ae,{onClick:a})]}),t&&ce("div",{className:se("np-drawer-content"),children:t}),r&&ce("div",{className:se("np-drawer-footer"),children:r})]})})})}var lp=[0,16],sp=(le(hn={},re.Position.TOP,[re.Position.BOTTOM,re.Position.RIGHT,re.Position.LEFT]),le(hn,re.Position.BOTTOM,[re.Position.TOP,re.Position.RIGHT,re.Position.LEFT]),le(hn,re.Position.LEFT,[re.Position.RIGHT,re.Position.TOP,re.Position.BOTTOM]),le(hn,re.Position.RIGHT,[re.Position.LEFT,re.Position.TOP,re.Position.BOTTOM]),hn),up=oe.forwardRef(function(e,t){var n=e.arrow,r=void 0!==n&&n,o=e.flip,a=void 0===o||o,i=e.altAxis,l=void 0!==i&&i,s=e.children,u=e.open,c=void 0!==u&&u,p=e.onClose,d=e.position,f=void 0===d?re.Position.BOTTOM:d,h=e.anchorRef,m=e.anchorWidth,n=void 0!==m&&m,o=b(e,rp),i=oe.useState(null),u=fe(i,2),d=u[0],m=u[1],e=oe.useState(null),i=fe(e,2),u=i[0],e=i[1],i=[];l&&i.push({name:"preventOverflow",options:{altAxis:!0,tether:!1}}),r&&(i.push({name:"arrow",options:{element:d,options:{padding:8}}}),i.push({name:"offset",options:{offset:lp}})),a&&sp[f]&&i.push({name:"flip",options:{fallbackPlacements:sp[f]}});var u=tp(h.current,u,{placement:f,modifiers:i}),f=u.styles,i=u.attributes,g=u.forceUpdate;oe.useEffect(function(){c&&g&&g()},[c]);var y=ap({},n?{width:null===(y=h.current)||void 0===y?void 0:y.clientWidth}:void 0);return ce(Is,{open:c,transparent:!0,fadeContentOnEnter:!0,fadeContentOnExit:!0,onClose:p,children:ce("div",ap(ap(ap({},o),{},{ref:e,style:ap({},f.popper)},i.popper),{},{className:se("np-panel",{"np-panel--open":c},o.className),children:pe("div",{ref:t,style:y,className:se("np-panel__content"),children:[s,r&&ce("div",{ref:m,className:se("np-panel__arrow"),style:f.arrow})]})}))})});ip.propTypes={children:l.default.node,className:l.default.string,footerContent:l.default.node,headerTitle:l.default.node,onClose:l.default.func,open:l.default.bool,position:l.default.oneOf(["left","right","bottom"])},ip.defaultProps={children:null,className:void 0,footerContent:null,headerTitle:null,onClose:null,open:!1,position:re.Position.RIGHT};var cp=ie.defineMessages({searchPlaceholder:{id:"neptune.Select.searchPlaceholder"}});function pp(e){var t=e.label,n=e.currency,r=void 0===n?"":n,o=e.note,a=void 0===o?"":o,i=e.secondary,l=void 0===i?"":i,s=e.icon,u=e.classNames,c=void 0===u?{}:u,n=e.selected,o=void 0!==n&&n,i=ae.useTheme().isModern,u=function(e){return e.map(function(e){return c[e]||e}).join(" ")},e=r?"".concat(u(["currency-flag","currency-flag-".concat(r.toLowerCase()),"".concat(o?"hidden-xs":"")])):void 0,n=a?"".concat(u(["d-inline-flex align-items-center"])):void 0,e=s?oe.cloneElement(s,{size:24,className:"".concat(u(["tw-icon","".concat(o&&r?"hidden-xs":"")]))}):r&&ce("i",{className:e}),a=pe(z,{as:"span",type:re.Typography.BODY_LARGE,className:n,children:[t,a&&ce(z,{as:"span",className:i?"m-l-1":"m-l-1 body-2",children:a})]}),l=l&&ce(z,{as:"span",className:i?"text-ellipsis":"text-ellipsis body-2",children:l});return e&&l?pe("div",{className:"d-inline-flex",children:[ce("div",{className:"d-flex flex-column justify-content-center",children:e}),pe("div",{className:"d-flex flex-column justify-content-center",children:[a,l]})]}):pe(M,{children:[e,a,l]})}var dp=oe.forwardRef(function(e,t){var n=e.id,r=e.classNames,o=void 0===r?{}:r,a=e.onChange,i=e.onClick,l=e.placeholder,r=void 0===l?void 0:l,l=e.value,e=void 0===l?"":l,l=function(e){return o[e]||e};return ce("li",{className:l("border-bottom"),children:ce("a",{className:"".concat(l("np-select-filter-link")," ").concat(l("p-a-0")),children:pe("div",{className:l("input-group"),children:[ce("span",{className:se("input-group-addon","input-group-addon--search"),children:ce(S.Search,{className:se(l("tw-icon"),l("tw-icon-search")),size:24})}),ce("input",{ref:t,id:n,type:"text",className:se(l("np-select-filter"),l("form-control")),placeholder:r,value:e,spellCheck:"false",onChange:a,onClick:i})]})})})});function fp(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function hp(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fp(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fp(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var mp=function(e,t){return e.toLowerCase().includes(t.toLowerCase())};function gp(e){return!e.header&&!e.separator&&!e.disabled}var yp=null;function bp(e){return e===yp||"placeholder"in e}function vp(e){var r=e.placeholder,t=e.id,o=e.required,n=e.disabled,a=e.inverse,i=e.dropdownWidth,l=e.size,s=e.block,u=e.selected,c=e.search,p=e.onChange,d=e.onFocus,f=e.onBlur,h=e.options,m=e.onSearchChange,g=e.searchValue,y=e.searchPlaceholder,b=e.classNames,v=e.dropdownUp,O=e.dropdownProps,w=e.buttonProps,E=ie.useIntl().formatMessage,T=ae.useTheme().isModern,S=function(e){return b[e]||e},C=oe.useState(!1),e=fe(C,2),x=e[0],D=e[1],C=oe.useState(""),e=fe(C,2),A=e[0],N=e[1],C=oe.useState(null),e=fe(C,2),P=e[0],k=e[1],L=oe.useRef(),R=oe.useRef(),C=oe.useState(1e3),e=fe(C,2),I=e[0],_=e[1],M=oe.useRef(null),C=oe.useRef(null),j=oe.useRef(null),U=oe.useRef(null),B=!!m||!!c,F=null==i,e=oe.useMemo(function(){return e="np-select-",t=Math.ceil(999999*Math.random()),"".concat(e).concat(t);var e,t},[]),t=t||e,q="".concat(t,"-listbox"),z="".concat(t,"-searchbox"),G=Ts().isMobile;oe.useEffect(function(){var n;if(0<=P)return requestAnimationFrame(function(){var e,t;n||(B?null===(t=L.current)||void 0===t||null!==(e=t.scrollIntoView)&&void 0!==e&&e.call(t,{block:"center"}):null!==(t=L.current)&&void 0!==t&&t.focus())}),function(){n=!0}},[P,B]);function V(){return c&&A?h.filter(function(e){return gp(e)&&!bp(e)}).filter(function(e){return("function"==typeof c?c:function(e,t){if(bp(e))return!0;var n=e.label,r=e.note,o=e.secondary,a=e.currency,e=e.searchStrings;return!!n&&mp(n,t)||!!r&&mp(r,t)||!!o&&mp(o,t)||!!a&&mp(a,t)||!!e&&e.some(function(e){return mp(e,t)})})(e,A)}):h}function H(e){_(1e3),N(e.target.value),m&&m(e.target.value)}function Y(){var e;null==P||0<(e=V().filter(gp)).length&&Z(e[P])}oe.useEffect(function(){x?(G&&!A||(B&&M.current&&M.current.focus(),B||!U.current||null!=R.current&&!Number.isNaN(R.current)||U.current.focus()),R.current=P):R.current=null},[x,A,B,G,P]);var W=function(){D(!1),k(null),j.current&&j.current.focus()};function K(t){return function(e){ue(e),Z(t)}}function Z(e){p(bp(e)?yp:e),W()}function X(e){var t=(0<arguments.length&&void 0!==e?e:{}).className,e=se(S("np-dropdown-menu"),(le(n={},S("np-dropdown-menu-desktop"),!G),le(n,S("np-dropdown-menu-".concat(i)),!G&&!F),n),S(t)),n=!o&&!B&&Boolean(r),t=V();return pe("ul",hp(hp({ref:U,id:q,role:"listbox",tabIndex:"-1",className:e},O),{},{children:[n&&ce(J,{}),B&&ce(dp,{ref:M,id:z,classNames:b,value:g||A,placeholder:y||E(cp.searchPlaceholder),onChange:H,onClick:ue}),t.slice(0,I).map(ne),I<t.length&&ce($,{})]}))}function $(){function e(e){ue(e),_(I+1e3)}return ce("li",{className:se(S("clickable"),S("border-bottom"),S("show-more")),onClick:e,onKeyPress:e,children:ce("a",{children:"..."})})}function J(){var e={placeholder:r};return ce("li",{className:se(S("clickable"),S("border-bottom")),onClick:K(e),onKeyPress:K(e),children:ce("a",{children:r})})}function Q(){return ce("li",{className:S("np-separator"),"aria-hidden":!0})}function ee(e){e=e.children;return ce("li",{className:se(S("np-dropdown-header"),S("np-text-title-group")),onClick:ue,onKeyPress:ue,children:e})}function te(e,t){return(null==e?void 0:e.value)===(null==t?void 0:t.value)}function ne(e,t){if(null!=(o=a=e)&&"separator"in o&&null!=a&&a.separator)return ce(Q,{},t);if(null!=(l=i=e)&&"header"in l&&i.header)return ce(ee,{children:i.header},t);var r,n=te(u,e),o=e,a=!o.disabled&&P===(r=t,V().reduce(function(e,t,n){return n<r&&gp(t)?e+1:e},0)),i=se(S("np-dropdown-item"),o.disabled?[S("disabled")]:S("clickable"),(le(l={},S("active"),n),le(l,S("np-dropdown-item--focused"),a),l)),l=o.disabled?ue:K(o);return ce("li",{ref:a?L:void 0,"aria-selected":n,"aria-disabled":e.disabled,role:"option",tabIndex:"-1",className:i,onClick:l,onKeyPress:l,children:ce("a",{disabled:o.disabled,children:ce(pp,hp(hp({},o),{},{classNames:b}))})},t)}e=!!h.length;return x&&(g||A)&&(e&&null==P&&k(0),e||null==P||k(null)),pe("div",{ref:C,className:se(S("np-select"),s?S("btn-block"):null,S("btn-group")),onKeyDown:function(e){switch(e.keyCode){case _u.UP:case _u.DOWN:x?function(e){var t=V().filter(gp),n=t.reduce(function(e,t,n){return null!=e?e:te(u,t)?n:null},null),r=null!==(o=R.current)&&void 0!==o?o:-1,o=r;-1===r&&(null==n?k(0):o=n);e=o+e,e=function(e,t,n){return Math.max(Math.min(t,n),e)}(0,t.length-1,e);k(e)}(e.keyCode===_u.UP?-1:1):D(!0),ue(e);break;case _u.SPACE:e.target!==M.current&&(x?Y():D(!0),ue(e));break;case _u.ENTER:x?Y():D(!0),ue(e);break;case _u.ESCAPE:W(),ue(e);break;case _u.TAB:x&&Y()}},onTouchMove:function(e){e.currentTarget===e.target&&x&&W()},onFocus:function(e){d&&d(e)},onBlur:function(e){var t=e.nativeEvent;if(t){var n=t.relatedTarget,t=e.currentTarget;if(t&&n&&t.contains(n))return}f&&f(e)},children:[pe($s,hp(hp({ref:j,id:t,block:s,size:l,htmlType:"button",className:se(S("np-dropdown-toggle"),S("np-text-body-large"),a?S("np-dropdown-toggle-navy"):null),type:null,priority:null,disabled:n,role:"combobox","aria-controls":q,"aria-expanded":x,"aria-autocomplete":"none",onClick:function(){D(!0)}},w),{},{children:[u?ce(pp,hp(hp({},u),{},{classNames:b,selected:!0})):ce("span",{className:S("form-control-placeholder"),children:r}),ce(he,{className:se(S("tw-icon"),S("tw-chevron-up-icon"),S("tw-chevron"),S("bottom"),S("np-select-chevron"))})]})),G?B?ce(ip,{open:x,headerTitle:y||E(cp.searchPlaceholder),onClose:W,children:X()}):ce(Bs,{open:x,onClose:W,children:X({className:T?"":"p-a-1"})}):ce(up,{open:x,flip:!1,altAxis:!0,anchorRef:C,anchorWidth:F,position:v?re.Position.TOP:re.Position.BOTTOM,onClose:W,children:X({className:"p-a-1"})})]})}vp.propTypes={placeholder:l.default.string,id:l.default.string,required:l.default.bool,disabled:l.default.bool,inverse:l.default.bool,dropdownRight:l.default.oneOf(["xs","sm","md","lg","xl"]),dropdownWidth:l.default.oneOf(["sm","md","lg"]),size:l.default.oneOf(["sm","md","lg"]),block:l.default.bool,selected:l.default.shape({value:l.default.any.isRequired,label:l.default.node,icon:l.default.node,currency:l.default.string,note:l.default.node,secondary:l.default.node}),search:l.default.oneOfType([l.default.bool,l.default.func]),onChange:l.default.func.isRequired,onFocus:l.default.func,onBlur:l.default.func,options:l.default.arrayOf(l.default.shape({value:l.default.any,label:l.default.node,header:l.default.node,icon:l.default.node,currency:l.default.string,note:l.default.node,secondary:l.default.node,separator:l.default.bool,disabled:l.default.bool,searchStrings:l.default.arrayOf(l.default.string)})).isRequired,onSearchChange:l.default.func,searchValue:l.default.string,searchPlaceholder:l.default.string,classNames:l.default.objectOf(l.default.string),dropdownUp:l.default.bool,buttonProps:l.default.object,dropdownProps:l.default.object},vp.defaultProps={id:void 0,placeholder:void 0,size:"md",dropdownRight:null,dropdownWidth:null,inverse:!1,required:!1,disabled:!1,block:!0,selected:null,onFocus:null,onBlur:null,onSearchChange:void 0,search:!1,searchValue:"",searchPlaceholder:void 0,classNames:{},dropdownUp:!1,buttonProps:{},dropdownProps:{}};var Op=ie.defineMessages({monthLabel:{id:"neptune.DateInput.month.label"},dayLabel:{id:"neptune.DateInput.day.label"},yearLabel:{id:"neptune.DateInput.year.label"}});function wp(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}var Ep=new Set(["en-US","ja-JP"]),Tp={year:null,month:null,day:null},Et=function(e){function r(){return i&&ku(i)?"string"==typeof i?function(e){e=new Date(e.split("T")[0]);return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate())}(i):i:null}function t(e){var t,n=Tp;return i&&ku(i)&&(t=r(),n={year:(t=t).getFullYear(),month:t.getMonth(),day:t.getDate()},Ru(t=i)&&t.split("-").length<3&&(n.day=null)),n[e]}function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:E,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:S,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:x,r=null!=e&&null!=t&&null!=n?new Date(n,t,e):null;(r=ku(r)?r:null)||L(Tp),p===re.DateMode.MONTH_YEAR?0<=t&&n&&(t!==S||n!==x)&&L(r):e&&0<=t&&n&&(e!==E||t!==S||n!==x)&&L(r)}var o=e.disabled,a=e.size,i=e.value,l=e.dayLabel,s=e.monthLabel,u=e.yearLabel,c=e.monthFormat,p=e.mode,d=e.onChange,f=e.onFocus,h=e.onBlur,m=e.placeholders,g=e.id,y=e.selectProps,b=ie.useIntl(),v=b.locale,O=b.formatMessage,w=oe.useState(function(){return t("day")}),e=fe(w,2),E=e[0],T=e[1],b=oe.useState(function(){return t("month")}),w=fe(b,2),S=w[0],C=w[1],e=oe.useState(function(){return t("year")}),b=fe(e,2),x=b[0],D=b[1],w=oe.useState(r),e=fe(w,2),A=e[0],N=e[1],l=l||O(Op.dayLabel),s=s||O(Op.monthLabel),u=u||O(Op.yearLabel),m={day:(null===m||void 0===m?void 0:m.day)||"DD",month:(null===m||void 0===m?void 0:m.month)||O(Op.monthLabel),year:(null===m||void 0===m?void 0:m.year)||"YYYY"},b=function(){var e=Pu(v,c);return pe("label",{children:[ce("span",{className:"sr-only",children:s}),ce(vp,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wp(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wp(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({id:g?"".concat(g,"-select"):void 0,name:"month",disabled:o,placeholder:m.month,options:P(),size:a,selected:null===S?null:{value:S,label:e[S]},onChange:function(e){return k(e)}},y))]})},P=function(){var n=[];return Pu(v,c).forEach(function(e,t){n.push({value:t,label:e})}),n},k=function(e){if(!e)return C(null),void n(E,null,x);var t=e?e.value:0,e=R(E,t,x).checkedDay;C(t),E&&e!==E&&T(e),n(e,t,x)},L=function(e){e!==A&&(N(e),d(function(e){if(!ku(e))return"";switch(p){case re.DateMode.MONTH_YEAR:return[e.getFullYear(),"0".concat(e.getMonth()+1).slice(-2)].join("-");case re.DateMode.DAY_MONTH_YEAR:default:return[e.getFullYear(),"0".concat(e.getMonth()+1).slice(-2),"0".concat(e.getDate()).slice(-2)].join("-")}}(e)||null))},R=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,r=e,o=new Date(n||2e3,t+1,0).getDate();return e||(r=null),(e&&e<0||"00"===e)&&(r=1),{checkedDay:r=e&&t||31<e?o<e?o:e:r,checkedMonth:t,checkedYear:n}},w=p===re.DateMode.MONTH_YEAR,e=se({"col-sm-8":w,"col-sm-5":!w}),O=Ep.has(v);return ce("div",{className:"tw-date",id:g,onFocus:function(e){return n=(t=e).target,t=t.relatedTarget,n=n.closest(".tw-date"),t=t&&t.closest(".tw-date"),n!==t?f&&f():e.stopPropagation();var t,n},onBlur:function(e){return t=e,n=e.target,r=e.relatedTarget,t=n.closest(".tw-date"),n=(n=r||(document.activeElement!==n?document.activeElement:null))&&n.closest(".tw-date"),t!==n?h&&h():e.stopPropagation();var t,n,r},children:pe("div",{className:"row",children:[O&&ce("div",{className:e,children:b()}),!w&&ce("div",{className:"col-sm-3",children:pe("label",{children:[ce("span",{className:"sr-only",children:l}),ce("div",{className:"input-group input-group-".concat(a),children:ce("input",{type:"number",name:"day",className:"form-control",value:E||"",placeholder:m.day,disabled:o,onChange:function(e){e=R(e.target.value,S,x).checkedDay;T(e),n(e,S,x)}})})]})}),!O&&ce("div",{className:e,children:b()}),ce("div",{className:"col-sm-4",children:pe("label",{children:[ce("span",{className:"sr-only",children:u}),ce("div",{className:"input-group input-group-".concat(a),children:ce("input",{type:"number",name:"year",className:"form-control",placeholder:m.year,value:x||"",disabled:o,onChange:function(e){var t;4===(t=4<(e=(t=e).target.value).length?e.slice(0,4):e).toString().length?(e=R(E,S,e).checkedDay,E&&e!==E&&T(e),D(t),n(e,S,t)):(D(t),n(E,S,null))}})})]})})]})})};Et.propTypes={disabled:l.default.bool,size:l.default.oneOf(["sm","md","lg"]),value:l.default.oneOfType([l.default.string,l.default.instanceOf(Date)]),onChange:l.default.func.isRequired,onFocus:l.default.func,onBlur:l.default.func,dayLabel:l.default.string,monthLabel:l.default.string,yearLabel:l.default.string,monthFormat:l.default.oneOf(["long","short"]),mode:l.default.oneOf(["day-month-year","month-year"]),placeholders:l.default.shape({day:l.default.node,month:l.default.node,year:l.default.node}),id:l.default.string,selectProps:l.default.object},Et.defaultProps={disabled:!1,size:re.Size.MEDIUM,value:null,onFocus:null,onBlur:null,monthFormat:re.MonthFormat.LONG,mode:re.DateMode.DAY_MONTH_YEAR,id:"",selectProps:{}};var Sp=o(function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports}),Cp=r(Sp),xp=o(function(n){function r(e,t){return n.exports=r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n.exports.__esModule=!0,n.exports.default=n.exports,r(e,t)}n.exports=r,n.exports.__esModule=!0,n.exports.default=n.exports});r(xp);function Dp(e){var t=e.selectedDate,n=e.size,r=e.placeholder,o=e.label,a=e.monthFormat,i=e.disabled,l=e.onClick,s=e.onClear,u=ae.useTheme().isModern,e=(c=ie.useIntl()).locale,c=c.formatMessage;return pe(M,{children:[pe("button",{className:"btn btn-".concat(n," btn-input np-date-trigger"),disabled:i,type:"button",onClick:l,children:[o&&ce("span",{className:"control-label small m-r-1",children:o}),ce("span",t?{className:u?"":"font-weight-normal",children:xu(t,e,{day:"numeric",month:a,year:"numeric"})}:{className:"form-control-placeholder visible-xs-inline visible-sm-inline visible-md-inline visible-lg-inline visible-xl-inline",children:r}),s?null:ce(he,{orientation:re.Position.BOTTOM,disabled:i})]}),s?pe(M,{children:[ce("div",{className:"clearfix"}),ce("span",{className:"input-group-addon",children:ce(Ae,{className:"clear-btn clear-btn--".concat(n),"aria-label":c(Ip.ariaLabel),size:re.Size.SMALL,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()},onKeyPress:function(e){($l({keyType:"Space",event:e})||$l({keyType:"Enter",event:e}))&&(e.stopPropagation(),e.preventDefault(),s())}})})]}):null]})}var Ap=r(o(function(e){e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xp(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports})),Np=o(function(t){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}),Pp=r(Np),kp=r(o(function(e){var n=Np.default;e.exports=function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Sp(e)},e.exports.__esModule=!0,e.exports.default=e.exports})),Lp=r(o(function(t){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),Rp=oe.forwardRef(function(e,t){var n=e.anchorRef,r=e.arrow,o=void 0!==r&&r,a=e.flip,i=void 0===a||a,l=e.children,s=e.className,u=void 0===s?void 0:s,r=e.onClose,a=e.open,s=void 0!==a&&a,a=e.position,e=void 0===a?re.Position.BOTTOM:a,a=ae.useTheme().className;return Ts().isMobile?ce(Bs,{open:s,className:u,onClose:r,children:l},"bottomSheet"):ce(up,{ref:t,flip:i,arrow:o,open:s,position:e,anchorRef:n,className:se(a,u),onClose:r,children:l},"panel")}),Ip=ie.defineMessages({ariaLabel:{id:"neptune.ClearButton.ariaLabel"}});Dp.propTypes={selectedDate:l.default.instanceOf(Date),size:l.default.oneOf(["sm","md","lg"]),placeholder:l.default.string.isRequired,label:l.default.string.isRequired,monthFormat:l.default.oneOf(["short","long"]).isRequired,disabled:l.default.bool.isRequired,onClick:l.default.func.isRequired,onClear:l.default.func},Dp.defaultProps={selectedDate:null,size:re.Size.MEDIUM,onClear:void 0};function _p(e){var t=e.label,n=e.onLabelClick,r=e.onPreviousClick,e=e.onNextClick;return pe("div",{className:"text-xs-center p-t-1 p-b-2 clearfix",children:[ce("div",{className:"pull-left-single-direction",children:ce("button",{type:"button",className:"d-inline-flex ".concat(Mp),onClick:r,children:ce(he,{orientation:re.Position.LEFT,className:"left-single-direction",size:re.Size.MEDIUM})})}),t&&ce("button",{type:"button",className:"tw-date-lookup-header-current ".concat(Mp),onClick:n,children:t}),ce("div",{className:"pull-right-single-direction",children:ce("button",{type:"button",className:"d-inline-flex ".concat(Mp),onClick:e,children:ce(he,{orientation:re.Position.RIGHT,className:"right-single-direction",size:re.Size.MEDIUM})})})]})}var Mp="btn-link p-a-0 text-no-decoration np-text-body-large-bold rounded-sm";function jp(e){return e?new Date(e.getFullYear(),e.getMonth(),e.getDate()):null}function Up(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}_p.propTypes={label:l.default.string,onLabelClick:l.default.func,onPreviousClick:l.default.func.isRequired,onNextClick:l.default.func.isRequired},_p.defaultProps={label:null,onLabelClick:function(){}};var Bp=function(e){Ap(a,e);var o=Up(a);function a(){var t;u(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t=o.call.apply(o,[this].concat(n)),le(Cp(t),"onClick",function(e){e.preventDefault(),t.props.disabled||t.props.onClick(t.props.item)}),t}return s(a,[{key:"render",value:function(){var e=this.props,t=e.item,n=e.type,r=e.title,o=e.longTitle,a=e.active,i=e.disabled,e=e.today;return ce(M,{children:ce("button",{type:"button",className:"tw-date-lookup-".concat(n,"-option ").concat(a?"active":""," ").concat(e?"today":""," np-text-body-default-bold"),disabled:i,"aria-label":o,onClick:this.onClick,children:r||t})})}}]),a}(oe.PureComponent);function Fp(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}Bp.propTypes={item:l.default.number.isRequired,type:l.default.oneOf(["day","month","year"]).isRequired,title:l.default.string,longTitle:l.default.string,active:l.default.bool.isRequired,disabled:l.default.bool.isRequired,today:l.default.bool.isRequired,onClick:l.default.func.isRequired},Bp.defaultProps={title:null,longTitle:null};var qp={day:"numeric"},gn=function(e){Ap(o,e);var r=Fp(o);function o(){var l;u(this,o);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return l=r.call.apply(r,[this].concat(t)),le(Cp(l),"getTableStructure",function(){var e=l.props,t=e.viewMonth,e=e.viewYear,n=new Date(e,t,1).getDay();0===n&&(n=7);for(var r=new Date(e,t+1,0).getDate(),o=[],a=[],i=1;i<n;i+=1)o.push(!1);for(i=1;i<=r;i+=1)o.push(i),(n+i-1)%7==0&&(a.push(o),o=[]);if(0<o.length){for(i=o.length;i<7;i+=1)o.push(!1);a.push(o)}return a}),le(Cp(l),"days",Du(l.props.intl.locale,"short")),le(Cp(l),"daysShort",Du(l.props.intl.locale,"narrow")),le(Cp(l),"selectDay",function(e){var t=l.props,n=t.viewMonth,r=t.viewYear;(0,t.onSelect)(new Date(r,n,e))}),le(Cp(l),"isDisabled",function(e){var t=l.props,n=t.min,r=t.max,o=t.viewMonth,t=t.viewYear;return!Au(new Date(t,o,e),n,r)}),le(Cp(l),"isActive",function(e){var t=l.props,n=t.selectedDate,r=t.viewMonth,t=t.viewYear;return!(!n||+new Date(t,r,e)!=+n)}),l}return s(o,[{key:"render",value:function(){var n=this,e=this.props,r=e.viewMonth,o=e.viewYear,a=e.intl.locale,e=this.getTableStructure();return pe("table",{className:"table table-condensed table-bordered tw-date-lookup-calendar m-b-0",children:[ce("thead",{children:ce("tr",{children:this.days.map(function(e,t){return pe("th",{className:"text-xs-center np-text-body-default-bold",children:[ce("span",{className:"hidden-xs",children:e.slice(0,3)}),ce("span",{className:"visible-xs-inline-block",children:n.daysShort[t].slice(0,2)})]},e)})})}),ce("tbody",{children:e.map(function(e,t){return ce("tr",{children:e.map(function(e,t){return ce("td",{className:4<t?"default":"",children:e&&ce(Bp,{item:e,type:"day",title:xu(new Date(o,r,e),a,qp),longTitle:xu(new Date(o,r,e),a),active:n.isActive(e),disabled:n.isDisabled(e),today:+jp(new Date)==+new Date(o,r,e),onClick:n.selectDay})},t)})},t)})})]})}}]),o}(oe.PureComponent);gn.propTypes={selectedDate:l.default.instanceOf(Date),min:l.default.instanceOf(Date),max:l.default.instanceOf(Date),viewMonth:l.default.number.isRequired,viewYear:l.default.number.isRequired,onSelect:l.default.func.isRequired},gn.defaultProps={selectedDate:null,min:null,max:null};var zp=ie.injectIntl(gn);function Gp(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}Rt=function(e){Ap(a,e);var o=Gp(a);function a(){var n;u(this,a);for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n=o.call.apply(o,[this].concat(t)),le(Cp(n),"selectPreviousMonth",function(){var e=n.props,t=e.viewMonth,e=e.viewYear;n.props.onViewDateUpdate({month:t<=0?11:t-1,year:t<=0?e-1:e})}),le(Cp(n),"selectNextMonth",function(){var e=n.props,t=e.viewMonth,e=e.viewYear;n.props.onViewDateUpdate({month:11<=t?0:t+1,year:11<=t?e+1:e})}),n}return s(a,[{key:"render",value:function(){var e=this.props,t=e.selectedDate,n=e.min,r=e.max,o=e.viewMonth,a=e.viewYear,i=e.intl.locale,l=e.monthFormat,s=e.onLabelClick,e=e.onSelect;return pe(M,{children:[ce(_p,{label:xu(new Date(a,o),i,{month:l,year:"numeric"}),onLabelClick:s,onPreviousClick:this.selectPreviousMonth,onNextClick:this.selectNextMonth}),ce(zp,{selectedDate:t,min:n,max:r,viewMonth:o,viewYear:a,onSelect:e})]})}}]),a}(oe.PureComponent);Rt.propTypes={selectedDate:l.default.instanceOf(Date),min:l.default.instanceOf(Date),max:l.default.instanceOf(Date),viewMonth:l.default.number.isRequired,viewYear:l.default.number.isRequired,monthFormat:l.default.oneOf([re.MonthFormat.LONG,re.MonthFormat.SHORT]).isRequired,onSelect:l.default.func.isRequired,onLabelClick:l.default.func.isRequired,onViewDateUpdate:l.default.func.isRequired},Rt.defaultProps={selectedDate:null,min:null,max:null};function Vp(e){var o=e.selectedDate,t=e.min,n=e.max,a=e.viewYear,r=e.placeholder,i=e.onSelect,l=ie.useIntl().locale,s=function(e){e=new Date(a,e);return!!(t&&e<new Date(t.getFullYear(),t.getMonth())||n&&e>new Date(n.getFullYear(),n.getMonth()))};return pe("table",{className:"table table-condensed table-bordered tw-date-lookup-calendar np-text-body-default-bold m-b-0",children:[ce("thead",{className:"sr-only",children:ce("tr",{children:ce("th",{colSpan:"3",children:r})})}),ce("tbody",{children:K(new Array(3)).map(function(e,r){return ce("tr",{children:K(new Array(4)).map(function(e,t){return ce("td",{children:ce(Bp,{item:n=4*r+t,type:"month",title:xu(new Date(a,n),l,Yp),active:!(!o||n!==o.getMonth()||a!==o.getFullYear()),disabled:s(n),today:a===(new Date).getFullYear()&&n===(new Date).getMonth(),onClick:i})},t);var n})},r)})})]})}var Hp=ie.injectIntl(Rt),Yp={month:"short"};function Wp(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}Vp.propTypes={selectedDate:l.default.instanceOf(Date),min:l.default.instanceOf(Date),max:l.default.instanceOf(Date),viewYear:l.default.number.isRequired,placeholder:l.default.string.isRequired,onSelect:l.default.func.isRequired},Vp.defaultProps={selectedDate:null,min:null,max:null};fr=function(e){Ap(a,e);var o=Wp(a);function a(){var t;u(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t=o.call.apply(o,[this].concat(n)),le(Cp(t),"onMonthSelect",function(e){t.props.onViewDateUpdate({month:e}),t.props.onSelect()}),le(Cp(t),"selectPreviousYear",function(){t.props.onViewDateUpdate({year:t.props.viewYear-1})}),le(Cp(t),"selectNextYear",function(){t.props.onViewDateUpdate({year:t.props.viewYear+1})}),t}return s(a,[{key:"render",value:function(){var e=this.props,t=e.selectedDate,n=e.min,r=e.max,o=e.viewYear,a=e.intl.locale,i=e.placeholder,e=e.onLabelClick;return pe(M,{children:[ce(_p,{label:xu(new Date(o,0),a,{year:"numeric"}),onLabelClick:e,onPreviousClick:this.selectPreviousYear,onNextClick:this.selectNextYear}),ce(Vp,{selectedDate:t,min:n,max:r,viewYear:o,placeholder:i,onSelect:this.onMonthSelect})]})}}]),a}(oe.PureComponent);fr.propTypes={selectedDate:l.default.instanceOf(Date),min:l.default.instanceOf(Date),max:l.default.instanceOf(Date),viewYear:l.default.number.isRequired,placeholder:l.default.string.isRequired,onSelect:l.default.func.isRequired,onLabelClick:l.default.func.isRequired,onViewDateUpdate:l.default.func.isRequired},fr.defaultProps={selectedDate:null,min:null,max:null};function Kp(e){var o=e.selectedDate,a=e.min,i=e.max,t=e.viewYear,n=e.placeholder,l=e.onSelect,s=ie.useIntl().locale,u=t-t%20;return pe("table",{className:"table table-condensed table-bordered tw-date-lookup-calendar m-b-0",children:[ce("thead",{className:"sr-only",children:ce("tr",{children:ce("th",{colSpan:"4",children:n})})}),ce("tbody",{children:K(new Array(5)).map(function(e,r){return ce("tr",{children:K(new Array(4)).map(function(e,t){return ce("td",{children:ce(Bp,{item:n=u+4*r+t,type:"year",title:xu(new Date(n,0),s,Xp),active:!(!o||n!==o.getFullYear()),disabled:!!(a&&n<a.getFullYear()||i&&n>i.getFullYear()),today:n===(new Date).getFullYear(),onClick:l})},t);var n})},r)})})]})}var Zp=ie.injectIntl(fr),Xp={year:"numeric"};function $p(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}Kp.propTypes={selectedDate:l.default.instanceOf(Date),min:l.default.instanceOf(Date),max:l.default.instanceOf(Date),viewYear:l.default.number.isRequired,placeholder:l.default.string.isRequired,onSelect:l.default.func.isRequired},Kp.defaultProps={selectedDate:null,min:null,max:null};var Jp=function(e){Ap(a,e);var o=$p(a);function a(){var t;u(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t=o.call.apply(o,[this].concat(n)),le(Cp(t),"onYearSelect",function(e){t.props.onViewDateUpdate({year:e}),t.props.onSelect()}),le(Cp(t),"selectPreviousYears",function(){t.props.onViewDateUpdate({year:t.props.viewYear-20})}),le(Cp(t),"selectNextYears",function(){t.props.onViewDateUpdate({year:t.props.viewYear+20})}),t}return s(a,[{key:"render",value:function(){var e=this.props,t=e.selectedDate,n=e.min,r=e.max,o=e.viewYear,e=e.placeholder;return pe(M,{children:[ce(_p,{onPreviousClick:this.selectPreviousYears,onNextClick:this.selectNextYears}),ce(Kp,{selectedDate:t,min:n,max:r,viewYear:o,placeholder:e,onSelect:this.onYearSelect})]})}}]),a}(oe.PureComponent);function Qp(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}Jp.propTypes={selectedDate:l.default.instanceOf(Date),min:l.default.instanceOf(Date),max:l.default.instanceOf(Date),viewYear:l.default.number.isRequired,placeholder:l.default.string.isRequired,onSelect:l.default.func.isRequired,onViewDateUpdate:l.default.func.isRequired},Jp.defaultProps={selectedDate:null,min:null,max:null};var ed={DAY:"day",MONTH:"month",YEAR:"year"},Or=function(e){Ap(n,e);var t=Qp(n);function n(e){var s;return u(this,n),s=t.call(this,e),le(Cp(s),"element",oe.createRef()),le(Cp(s),"dropdown",oe.createRef()),le(Cp(s),"open",function(){var e=s.props.onFocus;s.setState({open:!0,mode:ed.DAY}),e&&e()}),le(Cp(s),"close",function(){var e=s.props.onBlur;s.setState({open:!1}),e&&e()}),le(Cp(s),"handleKeyDown",function(e){var t=s.state.open;switch(e.keyCode){case _u.LEFT:t?s.adjustDate(-1,-1,-1):s.open(),e.preventDefault();break;case _u.UP:t?s.adjustDate(-7,-4,-4):s.open(),e.preventDefault();break;case _u.RIGHT:t?s.adjustDate(1,1,1):s.open(),e.preventDefault();break;case _u.DOWN:t?s.adjustDate(7,4,4):s.open(),e.preventDefault();break;case _u.ESCAPE:s.close(),e.preventDefault()}}),le(Cp(s),"adjustDate",function(e,t,n){var r=s.state,o=r.selectedDate,a=r.min,i=r.max,r=r.mode,e=o?new Date(r===ed.YEAR?o.getFullYear()+n:o.getFullYear(),r===ed.MONTH?o.getMonth()+t:o.getMonth(),r===ed.DAY?o.getDate()+e:o.getDate()):jp(new Date);+(e=Nu(e,a,i))!=+o&&s.props.onChange(e)}),le(Cp(s),"focusOn",function(e,t){e=s.element.current.querySelector(e);e?e.focus():t&&s.focusOn(t)}),le(Cp(s),"switchMode",function(e){s.setState({mode:e},function(){s.focusOn(".active",".today")})}),le(Cp(s),"switchToDays",function(){return s.switchMode(ed.DAY)}),le(Cp(s),"switchToMonths",function(){return s.switchMode(ed.MONTH)}),le(Cp(s),"switchToYears",function(){return s.switchMode(ed.YEAR)}),le(Cp(s),"handleSelectedDateUpdate",function(e){s.setState({selectedDate:e},function(){s.props.onChange(e),s.close(),s.focusOn(".btn")})}),le(Cp(s),"handleViewDateUpdate",function(e){var t=e.month,t=void 0===t?s.state.viewMonth:t,e=e.year,e=void 0===e?s.state.viewYear:e;s.setState({viewMonth:t,viewYear:e})}),le(Cp(s),"getCalendar",function(){var e=s.state,t=e.selectedDate,n=e.min,r=e.max,o=e.viewMonth,a=e.viewYear,i=e.mode,l=s.props,e=l.placeholder,l=l.monthFormat;return pe("div",{className:"p-a-1",children:[i===ed.DAY&&ce(Hp,{selectedDate:t,min:n,max:r,viewMonth:o,viewYear:a,monthFormat:l,onSelect:s.handleSelectedDateUpdate,onLabelClick:s.switchToYears,onViewDateUpdate:s.handleViewDateUpdate}),i===ed.MONTH&&ce(Zp,{selectedDate:t,min:n,max:r,viewYear:a,placeholder:e,onSelect:s.switchToDays,onLabelClick:s.switchToYears,onViewDateUpdate:s.handleViewDateUpdate}),i===ed.YEAR&&ce(Jp,{selectedDate:t,min:n,max:r,viewYear:a,placeholder:e,onSelect:s.switchToMonths,onViewDateUpdate:s.handleViewDateUpdate})]})}),le(Cp(s),"handleClear",function(){s.props.onChange(null),s.focusOn(".np-date-trigger")}),s.state={selectedDate:jp(e.value),min:jp(e.min),max:jp(e.max),viewMonth:(e.value||new Date).getMonth(),viewYear:(e.value||new Date).getFullYear(),open:!1,mode:ed.DAY},s}return s(n,[{key:"componentDidUpdate",value:function(e){+this.props.value!=+e.value&&this.state.open&&this.focusOn(".active")}},{key:"componentWillUnmount",value:function(){this.setState=function(){}}},{key:"render",value:function(){var e=this.state,t=e.selectedDate,n=e.open,r=this.props,o=r.size,a=r.placeholder,i=r.label,l=r.monthFormat,s=r.disabled,e=r.clearable,r=r.value;return pe("div",{ref:this.element,className:"input-group",onKeyDown:this.handleKeyDown,children:[ce(Dp,{selectedDate:t,size:o,placeholder:a,label:i,monthFormat:l,disabled:s,onClick:this.open,onClear:!s&&e&&r?this.handleClear:null}),ce(Rp,{anchorRef:this.element,open:n,className:"tw-date-lookup-menu",position:re.Position.BOTTOM,onClose:this.close,children:this.getCalendar()})]})}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=jp(e.value),r=jp(e.min),o=jp(e.max),a=+t.selectedDate!=+n,i=+t.min!=+r,l=+t.max!=+o;if(a||i||l){n=a?n:t.selectedDate,r=i?r:t.min,o=l?o:t.max;if(!Au(n,r,o))return e.onChange(Nu(n,r,o)),null;t=(n||new Date).getMonth(),e=(n||new Date).getFullYear();return{selectedDate:n,min:r,max:o,viewMonth:t,viewYear:e}}return null}}]),n}(oe.PureComponent);Or.propTypes={value:l.default.instanceOf(Date).isRequired,min:l.default.instanceOf(Date),max:l.default.instanceOf(Date),size:l.default.oneOf(["sm","md","lg"]),placeholder:l.default.string,label:l.default.string,monthFormat:l.default.oneOf(["long","short"]),disabled:l.default.bool,onChange:l.default.func.isRequired,onFocus:l.default.func,onBlur:l.default.func,clearable:l.default.bool},Or.defaultProps={min:null,max:null,size:re.Size.MEDIUM,placeholder:"",label:"",monthFormat:re.MonthFormat.LONG,disabled:!1,onFocus:null,onBlur:null,clearable:!1},(Nr=re.DecisionPresentation||(re.DecisionPresentation={})).LIST="LIST",Nr.LIST_BLOCK="LIST_BLOCK",Nr.LIST_BLOCK_GRID="LIST_BLOCK_GRID",(re.DecisionType||(re.DecisionType={})).NAVIGATION="NAVIGATION";var td=["as","disabled","onClick","className"];function nd(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function rd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nd(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nd(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var od=oe.forwardRef(function(e,t){var n=e.as,r=void 0===n?"button":n,n=e.disabled,o=void 0!==n&&n,a=e.onClick,n=e.className,e=b(e,td);return"href"in e&&e.href&&(r="a"),ce(ge,rd(rd({},e),{},{ref:t,as:r,className:se("np-navigation-option",n),button:ce(he,{orientation:re.Position.RIGHT,disabled:o,className:"d-block"}),disabled:o,onClick:function(e){o?e.preventDefault():a&&a(e)}}))}),ad={COLUMN:"COLUMN"},id=oe.forwardRef(function(e,t){var n=e.items,r=e.inline,e=oe.useRef(null),t=gs({ref:t||e}),o=fe(t,1)[0];if(!n||0===n.length)return null;t=[];return o?t=n.filter(function(e){e=e.breakpoint;return(void 0===e?0:e)<=o}).pop():t.items=n.map(function(e){e=e.items;return Object.values(e)}),ce("div",{ref:e,className:se("np-size-swapper",{"d-flex":!r,"d-inline-flex":r,"flex-column":t&&t.layout===ad.COLUMN,"flex-wrap":t&&t.wrap}),style:{visibility:o?"visible":"hidden"},children:t&&t.items})});id.Breakpoint=re.Breakpoint,id.Layout=ad,id.propTypes={inline:l.default.bool,items:l.default.arrayOf(l.default.shape({items:l.default.arrayOf(l.default.element),breakpoint:l.default.number,layout:l.default.oneOf([id.Layout.COLUMN]),wrap:l.default.bool})).isRequired},id.defaultProps={inline:!1};function ld(e){var t=e.className,n=e.description,r=e.disabled,o=e.href,a=e.target,i=e.media,l=e.onClick,s=e.size,u=e.title,e=s===re.Size.SMALL,s=ae.useTheme().isModern;return pe(o?"a":"button",{className:se("decision","flex-column","np-tile","text-no-decoration","text-xs-center",t,{"p-a-3":!e&&s,"p-y-5 p-x-4":!e&&!s,"p-a-2":e,"np-tile--small":e,disabled:r}),href:o,target:a,"aria-label":u,onClick:r?null:l,onKeyDown:r?null:function(e){e=e.key;e!==h.ENTER&&!h.SPACE.includes(e)||l()},children:[ce("div",{className:"np-tile__media d-flex justify-content-center",children:i}),ce(_,{type:re.Typography.TITLE_SUBSECTION,className:se(e?"m-t-1":"m-t-2"),children:u}),s&&n&&ce(z,{as:"span",type:re.Typography.BODY_DEFAULT,className:"m-t-1",children:n}),!s&&n&&ce("div",{className:"np-tile__description",children:n})]})}ld.propTypes={className:l.default.string,description:l.default.node,disabled:l.default.bool,href:l.default.string.isRequired,target:l.default.oneOf(["_self","_blank","_parent","_top"]),media:l.default.node.isRequired,onClick:l.default.func.isRequired,size:l.default.oneOf(["sm","md"]),title:l.default.node.isRequired},ld.defaultProps={className:"",description:null,disabled:!1,size:re.Size.MEDIUM,target:void 0};Ve=function(e){var t=e.options,n=e.presentation,r=e.type,u=e.showMediaCircleInList,c=e.isContainerAligned,o=e.size;if(r!==re.DecisionType.NAVIGATION)return ce(M,{});e=re.DecisionPresentation.LIST_BLOCK,r=re.DecisionPresentation.LIST_BLOCK_GRID;if(n!==e&&n!==r)return t.map(function(e,t){var n=e.title,r=e.description,o=e.disabled,a=e.href,i=e.target,l=e.media.list,e=e.onClick;return ce(od,{complex:!1,content:r,disabled:o,href:a,target:i,media:l,showMediaAtAllSizes:!0,showMediaCircle:u,isContainerAligned:c,title:n,onClick:e},"nav-".concat(t))});var p=o===re.Size.SMALL,d=n===r,f=[{items:[],layout:id.Layout.COLUMN},{items:[],breakpoint:p?re.Breakpoint.EXTRA_SMALL:re.Breakpoint.SMALL,wrap:d}];return t.forEach(function(e,t){var n=e.description,r=e.disabled,o=e.href,a=e.target,i=e.media,l=i.block,s=i.list,i=e.onClick,e=e.title;f[0].items.push(ce(od,{complex:!1,content:n,disabled:r,href:o,target:a,media:s,showMediaAtAllSizes:!0,showMediaCircle:u,isContainerAligned:c,title:e,onClick:i},"nav-".concat(t))),f[1].items.push(ce(ld,{className:se("np-decision__tile".concat(p?"--small":""),{"np-decision__tile--fixed-width":d}),description:n,disabled:r,href:o,target:a,media:l,size:p?re.Size.SMALL:re.Size.MEDIUM,title:e,onClick:i},"tile-".concat(t)))}),ce("div",{className:se("np-decision",{"np-decision--small":p,"np-decision--grid":d}),children:ce(id,{items:f})})};Ve.propTypes={options:l.default.arrayOf(l.default.shape({description:l.default.node,disabled:l.default.bool,href:xe(l.default.string,function(e){return e.type===re.DecisionType.NAVIGATION}),target:l.default.oneOf(["_self","_blank","_parent","_top"]),media:l.default.shape({block:l.default.node.isRequired,list:l.default.node.isRequired}),onClick:l.default.func,title:l.default.node.isRequired})).isRequired,presentation:l.default.oneOf(["LIST","LIST_BLOCK","LIST_BLOCK_GRID"]),size:l.default.oneOf(["sm","md"]),type:l.default.oneOf(["NAVIGATION"]),showMediaCircleInList:l.default.bool,isContainerAligned:l.default.bool},Ve.defaultProps={presentation:re.DecisionPresentation.LIST,size:re.Size.MEDIUM,type:re.DecisionType.NAVIGATION,showMediaCircleInList:!0,isContainerAligned:!1};function sd(e){return[re.Layout.HORIZONTAL_LEFT_ALIGNED,re.Layout.HORIZONTAL_RIGHT_ALIGNED,re.Layout.HORIZONTAL_JUSTIFIED].includes(e)}function ud(e){var t=e.definitions,a=e.layout,e=e.muted;return ce("dl",{className:se("tw-definition-list d-flex ",{"text-muted":e,"flex-column":a===re.Layout.VERTICAL_ONE_COLUMN,"tw-definition-list--columns flex-column flex-row--sm":a===re.Layout.VERTICAL_TWO_COLUMN,"tw-definition-list--horizontal flex-column":sd(a)}),children:t.filter(function(e){return e}).map(function(e){var t=e.action,n=e.title,r=e.value,o=e.key;return pe("div",{className:"tw-definition-list__item",children:[ce("dt",{children:n}),pe("dd",{className:se.apply(void 0,K((e=a,n=["d-flex"],t&&(sd(e)?n.push("align-items-center"):n.push("align-items-start")),e===re.Layout.HORIZONTAL_RIGHT_ALIGNED?n.push("text-sm-right tw-definition-list--right-aligned-desktop"):n.push("justify-content-between"),e===re.Layout.HORIZONTAL_JUSTIFIED&&n.push("text-sm-justify"),n))),children:[ce("div",{children:r}),t?ce("div",{className:se(sd(a)?"p-l-2":"p-x-2","tw-definition-list__action"),children:ce(Te,{className:"tw-definition-list__button",onClick:t.onClick,children:t.label})}):null]})]},o)})})}ud.propTypes={definitions:l.default.arrayOf(l.default.shape({action:l.default.shape({label:l.default.string.isRequired,onClick:l.default.func.isRequired}),title:l.default.node.isRequired,value:l.default.node.isRequired,key:l.default.string.isRequired})),layout:l.default.oneOf(["VERTICAL_TWO_COLUMN","VERTICAL_ONE_COLUMN","HORIZONTAL_JUSTIFIED","HORIZONTAL_LEFT_ALIGNED","HORIZONTAL_RIGHT_ALIGNED"]),muted:l.default.bool},ud.defaultProps={definitions:[],layout:re.Layout.VERTICAL_TWO_COLUMN,muted:!1};var cd=function(e,t,n){e=Sd(e);return gd(e),md(e),vd(e),Od(e,n),e},pd=function(e){if(Array.isArray(e)){var t=[];return e.forEach(function(e){e.fields?t=t.concat(dd(e,e.fields)):e.group?t=t.concat(dd(e,e.group)):t.push(e)}),t}return e},dd=function(e,t){return e.name&&0<t.length&&!t[0].name&&(t[0].name=e.name),e.width&&0<t.length&&!t[0].width&&(t[0].width=e.width),e.tooltip&&0<t.length&&!t[0].help&&(t[0].help={message:e.tooltip}),e.info&&0<t.length&&!t[0].help&&(t[0].help={message:e.info}),2===t.length&&t.forEach(function(e){e.width="md"}),3===t.length&&(t[0].width="md",t[1].width="md"),t},fd=function(e){if(Array.isArray(e)){var n={};return e.forEach(function(e){var t=e.key||e.name;delete e.key,n[t]=Sd(e)}),n}return e},hd=function(r){if(Array.isArray(r))throw new TypeError("Expecting a map of fields, not an array");var o={};return Object.keys(r).forEach(function(e){var t,n;0<e.indexOf(".")?(n=(t=e.split("."))[0],o[n]||(o[n]={type:"object",properties:{}}),o[n].properties[t[1]]=r[e]):o[e]=r[e]}),o},md=function(e){switch(e.type&&e.type.toLowerCase&&e.type.toLowerCase()){case"text":e.type="string";break;case"date":e.type="string",e.format="date";break;case"password":e.type="string",e.control="password";break;case"checkbox":e.type="boolean";break;case"select":e.control||(e.control="select"),delete e.type;break;case"radio":e.control="radio",delete e.type;break;case"upload":e.type="string",e.format="base64url";break;case"tel":e.type="string",e.format="phone";break;case"textarea":e.type="string",e.control="textarea"}e.control||"object"===e.type||(e.control=wd(e))},gd=function(e){e.name&&!e.title&&(e.title=e.name,delete e.name),e.validationRegexp&&(e.pattern=e.validationRegexp,delete e.validationRegexp),e.min&&(e.minimum=e.min,delete e.min),e.max&&(e.maximum=e.max,delete e.max),e.example&&!e.placeholder&&(e.placeholder=e.example,delete e.example),e.tooltip&&!e.help&&(e.help={message:e.tooltip},delete e.tooltip),e.valuesAllowed&&!e.values&&(e.values=e.valuesAllowed,delete e.valuesAllowed),e.values&&e.values.map&&(e.values=yd(e.values)),e.value&&!e.default&&(e.default=e.value,delete e.value),e.values&&e.values&&0<e.values.length&&e.values[0]&&!e.values[0].value&&e.values[0].label&&!e.placeholder&&(e.placeholder=e.values[0].label,e.values=e.values.slice(1))},yd=function(e){return e.map(bd)},bd=function(e){return!e.label&&e.title&&(e.label=e.title,delete e.title),!e.label&&e.name&&(e.label=e.name,delete e.name),!e.value&&e.code&&(e.value=e.code,delete e.code),!e.value&&e.key&&(e.value=e.key,delete e.key),e},vd=function(t){if(t.pattern)try{new RegExp(t.pattern)}catch(e){console.warn("API regexp is invalid"),delete t.pattern}else delete t.pattern},Od=function(e,t){e.validationMessages=e.validationMessages||t,e.validationMessages?(e.validationMessages.minimum&&(e.validationMessages.min=e.validationMessages.minimum,delete e.validationMessages.minimum),e.validationMessages.maximum&&(e.validationMessages.max=e.validationMessages.maximum,delete e.validationMessages.maximum)):delete e.validationMessages},wd=function(e){if(e.control)return e.control.toLowerCase();if(e.hidden)return"hidden";if(e.values&&0<e.values.length)return Td(e);switch(e.type){case"string":return Ed(e.format);case"number":case"integer":return"number";case"boolean":return"checkbox";default:return"text"}},Ed=function(e){switch(e){case"date":return"date";case"base64url":return"file";case"password":return"password";case"uri":case"email":return"text";case"phone":return"tel";default:return"text"}},Td=function(e){return e.control||("select"===e.type||"radio"!==e.type&&(!e.values||3<e.values.length)?"select":"radio")},Sd=function(e){return JSON.parse(JSON.stringify(e))},Cd=9007199254740991,xd="[object Arguments]",Dd="[object Function]",Ad="[object GeneratorFunction]",Nd="[object Map]",Pd="[object Promise]",kd="[object Set]",Ld="[object WeakMap]",Rd="[object DataView]",Id=/^\[object .+?Constructor\]$/,_d=/^(?:0|[1-9]\d*)$/,Ct="object"==typeof n&&n&&n.Object===Object&&n,Je="object"==typeof self&&self&&self.Object===Object&&self,Pr=Ct||Je||Function("return this")();function Md(t,e){return function(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}(e,function(e){return[e,t[e]]})}var jd,Ud,Pt=Function.prototype,Bd=Object.prototype,$e=Pr["__core-js_shared__"],Fd=(mn=/[^.]+$/.exec($e&&$e.keys&&$e.keys.IE_PROTO||""))?"Symbol(src)_1."+mn:"",qd=Pt.toString,zd=Bd.hasOwnProperty,Gd=Bd.toString,Vd=RegExp("^"+qd.call(zd).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Hd=Bd.propertyIsEnumerable,Yd=(jd=Object.keys,Ud=Object,function(e){return jd(Ud(e))}),gr=nf(Pr,"DataView"),ls=nf(Pr,"Map"),Wd=nf(Pr,"Promise"),et=nf(Pr,"Set"),ft=nf(Pr,"WeakMap"),Kd=of(gr),Zd=of(ls),Xd=of(Wd),$d=of(et),Jd=of(ft);function Qd(e,t){var n,r,o,a,i=af(e)||function(e){return function(e){return!!e&&"object"==typeof e}(e)&&lf(e)}(n=e)&&zd.call(n,"callee")&&(!Hd.call(n,"callee")||Gd.call(n)==xd)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=i.length,s=!!l;for(r in e)!t&&!zd.call(e,r)||s&&("length"==r||(o=r,!!(a=null==(a=l)?Cd:a)&&("number"==typeof o||_d.test(o))&&-1<o&&o%1==0&&o<a))||i.push(r);return i}function ef(e){var t;return uf(e)&&(t=e,!(Fd&&Fd in t))&&(sf(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?Vd:Id).test(of(e))}function tf(e){if(n="function"==typeof(n=(t=e)&&t.constructor)&&n.prototype||Bd,t!==n)return Yd(e);var t,n,r,o=[];for(r in Object(e))zd.call(e,r)&&"constructor"!=r&&o.push(r);return o}function nf(e,t){t=t,t=null==(e=e)?void 0:e[t];return ef(t)?t:void 0}var rf=function(e){return Gd.call(e)};function of(e){if(null!=e){try{return qd.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(gr&&rf(new gr(new ArrayBuffer(1)))!=Rd||ls&&rf(new ls)!=Nd||Wd&&rf(Wd.resolve())!=Pd||et&&rf(new et)!=kd||ft&&rf(new ft)!=Ld)&&(rf=function(e){var t=Gd.call(e),e="[object Object]"==t?e.constructor:void 0,e=e?of(e):void 0;if(e)switch(e){case Kd:return Rd;case Zd:return Nd;case Xd:return Pd;case $d:return kd;case Jd:return Ld}return t});var af=Array.isArray;function lf(e){return null!=e&&("number"==typeof(t=e.length)&&-1<t&&t%1==0&&t<=Cd)&&!sf(e);var t}function sf(e){e=uf(e)?Gd.call(e):"";return e==Dd||e==Ad}function uf(e){var t=typeof e;return e&&("object"==t||"function"==t)}var cf,pf=(cf=function(e){return(lf(e)?Qd:tf)(e)},function(e){var t,n,r,o,a,i=rf(e);return i==Nd?(t=e,n=-1,r=Array(t.size),t.forEach(function(e,t){r[++n]=[t,e]}),r):i==kd?(i=e,o=-1,a=Array(i.size),i.forEach(function(e){a[++o]=[e,e]}),a):Md(e,cf(e))}),df=function(e,t){for(var n=0;ff(e,t+n);)n+=1;return n},ff=function(e,t){return e[t]&&"*"!==e[t]},hf=function(e){var t=e.field,n=e.value,r=ie.useIntl().locale,o=[];switch(t.tagClassName&&t.tagClassName.h3&&(o.push("np-text-body-large-bold"),o.push("formatted-value__h3-custom-alignment")),t.control){case"select":case"radio":return ce("span",{children:function(e,t){e=e.find(function(e){return e.value===t});return e&&e.label?e.label:t}(t.values,n)});case"date":return ce("span",{children:xu(n instanceof Date?n:new Date(n),r)});case"number":return ce("span",{children:bu(n,r)});case"password":return ce("span",{children:new Array(n.length+1).join("*")});case"file":return ce("div",{className:"thumbnail",children:ce("img",{alt:t.title,src:n})});case"checkbox":return ce("span",{children:JSON.stringify(n)});default:return ce("span",{className:se(o),children:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length?arguments[1]:void 0;if("string"!=typeof t)return e;var n=t;0<n.indexOf("||")&&(n=n.slice(0,Math.max(0,t.indexOf("||"))));for(var r="",o=0,a=e.length,i=0;a;)ff(n,i)?(r+=n[i],o+=1):(r+=e[i-o],--a),i+=1;t=df(n,i);return t&&(r+=n.slice(i,t)),r}(n,t.displayFormat)})}};function mf(e,i){return pf(e).map(function(e){var n,r,t=fe(e,2),o=t[0],a=t[1];return n=o,r=i,t=(e=a).title,o=e.group,a=e.hidden,r[n]&&!a?{title:t,value:o?o.map(function(e,t){return ce(hf,{field:e,value:r[n]},t)}):ce(hf,{field:e,value:r[n]}),key:n}:null}).filter(function(e){return!!e})}hf.propTypes={field:l.default.shape({control:l.default.string.isRequired,displayFormat:l.default.string,refreshRequirementsOnChange:l.default.bool,title:l.default.string.isRequired,type:l.default.string.isRequired,width:l.default.string,tagClassName:l.default.shape({h3:l.default.bool}),values:l.default.arrayOf(l.default.shape({value:l.default.any}))}).isRequired,value:l.default.any.isRequired};He=function(e){var t=e.model,n=e.title,r=e.layout,e=e.fields;return pe(M,{children:[n&&ce("div",{className:"m-t-1 m-b-3",children:ce(_,{type:re.Typography.TITLE_BODY,className:"p-t-3",children:n})}),ce(ud,{layout:r,definitions:mf(function(e,t,n){if(!e)return{};var r=Sd(e),r=pd(r);return r=fd(r),r=hd(r),Object.keys(r).forEach(function(e){r[e]=cd(r[e],t,n)}),r}(e),t)})]})};He.propTypes={model:l.default.shape({}).isRequired,fields:l.default.shape({}).isRequired,title:l.default.string,layout:l.default.oneOf(["VERTICAL_TWO_COLUMN","VERTICAL_ONE_COLUMN","HORIZONTAL_JUSTIFIED","HORIZONTAL_LEFT_ALIGNED"])},He.defaultProps={title:null,layout:re.Layout.VERTICAL_TWO_COLUMN};var gf="<",yf=">",bf=new(function(){function t(e){u(this,t),this.tags=(e||[]).map(function(e){return{transformed:{opening:'<em class="emphasis emphasis--'.concat(e,'">'),closing:"</em>"},escapedRegex:{opening:new RegExp("".concat(gf).concat(e).concat(yf),"g"),closing:new RegExp("".concat(gf,"/").concat(e).concat(yf),"g")}}})}return s(t,[{key:"transform",value:function(e){if(!e)return null;e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");return this.tags.reduce(function(e,t){return e.replace(t.escapedRegex.opening,t.transformed.opening).replace(t.escapedRegex.closing,t.transformed.closing)},e).replace(/\\n|\n/g,"<br />")}}]),t}())(["important","positive","negative","warning"]),vf=oe.forwardRef(function(e,t){var n=e.bottomContent,r=e.className,o=e.layout,a=e.leftContent,e=e.rightContent,o=o===re.Layout.VERTICAL;return pe("div",{ref:t,className:se("np-flow-header","d-flex","flex-wrap","align-items-center",r),children:[ce("div",{className:se("np-flow-header__left",{"flex__item--8":o}),children:a}),ce("div",{className:se("align-items-center","d-flex","np-flow-header__right","justify-content-end",{"flex__item--4 ":o,"order-2":!o}),children:e}),ce("div",{className:se("align-items-center","d-flex","justify-content-center",{"flex__item--12":o,"order-1 flex-grow-1":!o}),children:n})]})});function Of(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function wf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Of(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Of(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}vf.defaultProps={bottomContent:void 0,className:void 0,layout:re.Layout.HORIZONTAL,leftContent:void 0,rightContent:void 0},vf.propTypes={bottomContent:l.default.node,className:l.default.string,layout:l.default.oneOf(["HORIZONTAL","VERTICAL"]),leftContent:l.default.node,rightContent:l.default.node},(e=re.LogoType||(re.LogoType={})).WISE="WISE",e.WISE_BUSINESS="WISE_BUSINESS";Qe=function(e){return ce("svg",wf(wf({},e),{},{children:ce("path",{fill:"#9FE870",d:"M6.826 7.232 0 15.21h12.188l1.37-3.762H8.335l3.191-3.69.01-.098L9.461 4.09h9.336L11.56 24h4.953L25.25 0H2.676l4.15 7.232Z"})}))};Qe.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"26",height:"24",fill:"none"};fa=function(e){return ce("svg",wf(wf({},e),{},{children:ce("path",{fill:"#163300",d:"M6.826 7.232 0 15.21h12.188l1.37-3.762H8.335l3.191-3.69.01-.098L9.461 4.09h9.336L11.56 24h4.953L25.25 0H2.676l4.15 7.232Z"})}))};fa.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"26",height:"24",fill:"none"};hn=function(e){return ce("svg",wf(wf({},e),{},{children:ce("path",{fill:"#9FE870",d:"M58.738.359h6.498l-3.27 23.322h-6.498L58.739.359Zm-8.193 0L46.16 13.794 44.247.359h-4.545L33.96 13.754 33.243.36h-6.299l2.193 23.322h5.223l6.458-14.75 2.272 14.75h5.143L56.725.359h-6.18Zm54.558 13.555H89.674c.08 3.03 1.894 5.023 4.565 5.023 2.014 0 3.608-1.077 4.844-3.13l5.208 2.368C102.501 21.702 98.729 24 94.08 24c-6.339 0-10.545-4.266-10.545-11.123C83.535 5.342 88.478 0 95.455 0c6.14 0 10.007 4.146 10.007 10.605 0 1.076-.12 2.152-.359 3.309Zm-5.78-4.466c0-2.71-1.516-4.425-3.947-4.425-2.512 0-4.585 1.794-5.144 4.425h9.09ZM6.632 7.387 0 15.139h11.844l1.33-3.655H8.1l3.1-3.586.01-.095-2.016-3.471h9.072l-7.032 19.35h4.812L24.538.358H2.6l4.033 7.028Zm69.168-2.364c2.292 0 4.3 1.233 6.055 3.346l.921-6.575C81.143.688 78.93 0 76 0c-5.82 0-9.09 3.409-9.09 7.734 0 3 1.675 4.834 4.426 6.02l1.315.598c2.452 1.047 3.11 1.565 3.11 2.671 0 1.146-1.106 1.874-2.79 1.874-2.782.01-5.034-1.415-6.728-3.847l-.94 6.699C67.234 23.22 69.708 24 72.97 24c5.532 0 8.93-3.19 8.93-7.615 0-3.01-1.335-4.943-4.704-6.458l-1.435-.678c-1.994-.887-2.671-1.375-2.671-2.352 0-1.056.927-1.874 2.71-1.874Z"})}))};hn.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"106",height:"24",fill:"none"};gn=function(e){return ce("svg",wf(wf({},e),{},{children:ce("path",{fill:"#163300",d:"M58.738.359h6.498l-3.27 23.322h-6.498L58.739.359Zm-8.193 0L46.16 13.794 44.247.359h-4.545L33.96 13.754 33.243.36h-6.299l2.193 23.322h5.223l6.458-14.75 2.272 14.75h5.143L56.725.359h-6.18Zm54.558 13.555H89.674c.08 3.03 1.894 5.023 4.565 5.023 2.014 0 3.608-1.077 4.844-3.13l5.208 2.368C102.501 21.702 98.729 24 94.08 24c-6.339 0-10.545-4.266-10.545-11.123C83.535 5.342 88.478 0 95.455 0c6.14 0 10.007 4.146 10.007 10.605 0 1.076-.12 2.152-.359 3.309Zm-5.78-4.466c0-2.71-1.516-4.425-3.947-4.425-2.512 0-4.585 1.794-5.144 4.425h9.09ZM6.632 7.387 0 15.139h11.844l1.33-3.655H8.1l3.1-3.586.01-.095-2.016-3.471h9.072l-7.032 19.35h4.812L24.538.358H2.6l4.033 7.028Zm69.168-2.364c2.292 0 4.3 1.233 6.055 3.346l.921-6.575C81.143.688 78.93 0 76 0c-5.82 0-9.09 3.409-9.09 7.734 0 3 1.675 4.834 4.426 6.02l1.315.598c2.452 1.047 3.11 1.565 3.11 2.671 0 1.146-1.106 1.874-2.79 1.874-2.782.01-5.034-1.415-6.728-3.847l-.94 6.699C67.234 23.22 69.708 24 72.97 24c5.532 0 8.93-3.19 8.93-7.615 0-3.01-1.335-4.943-4.704-6.458l-1.435-.678c-1.994-.887-2.671-1.375-2.671-2.352 0-1.056.927-1.874 2.71-1.874Z"})}))};gn.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"106",height:"24",fill:"none"};var Ef={WISE:"brand_logo.svg",WISE_BUSINESS:"brand_logo_business.svg",WISE_INVERSE:"brand_logo_inverse.svg",WISE_BUSINESS_INVERSE:"brand_logo_business_inverse.svg",WISE_FLAG:"brand_flag.svg"},Tf={WISE:gn,WISE_BUSINESS:gn,WISE_INVERSE:hn,WISE_BUSINESS_INVERSE:hn,WISE_FLAG:fa,WISE_FLAG_INVERSE:Qe},Rt=function(e){var t=e.className,n=e.inverse,r=e.type,o=ae.useTheme().isModern,a=gs({ref:m()?void 0:window}),e=fe(a,1)[0]<re.Breakpoint.SMALL,a=e?Ef.WISE_FLAG:Ef["".concat(r).concat(n?"_INVERSE":"")],n=e?Tf["WISE_FLAG".concat(n?"_INVERSE":"")]:Tf["".concat(r).concat(n?"_INVERSE":"")];return o?ce(n,{className:"np-logo-svg"}):ce("img",{className:se("np-logo",t),alt:r===re.LogoType.WISE?"Wise":"Wise business",src:"".concat("https://wise.com/public-resources/assets/logos/wise/").concat(a)})};function Sf(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Cf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Sf(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Sf(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}Rt.propTypes={className:l.default.string,inverse:l.default.bool,type:l.default.oneOf(["WISE","WISE_BUSINESS"])},Rt.defaultProps={className:void 0,inverse:!1,type:re.LogoType.WISE};function xf(e){var t=void 0===(u=e.position)?re.Position.TOP:u,n=void 0===(p=e.children)?void 0:p,r=e.label,o=e.className,a=oe.useState(!1),i=(c=fe(a,2))[0],l=c[1],s=oe.useRef(null),u=oe.useState(null),e=(p=fe(u,2))[0],a=p[1],c=oe.useState(null),p=(u=fe(c,2))[0],c=u[1];(u=[]).push({name:"arrow",options:{element:e,options:{padding:8}}}),u.push({name:"offset",options:{offset:[0,16]}}),u.push({name:"flip",options:{fallbackPlacements:re.Position.TOP}});var t=(p=tp(s.current,p,{placement:t,modifiers:u})).styles,u=p.attributes,d=p.forceUpdate;return oe.useEffect(function(){i&&d&&d()},[i]),pe(M,{children:[ce("span",{ref:s,className:"d-inline-block",children:n?oe.cloneElement(n,{onMouseOver:function(){var e;null!=n&&null!==(e=n.props)&&void 0!==e&&e.onMouseOver&&(null==n||null!==(e=n.props)&&void 0!==e&&e.onMouseOver()),l(!0)},onFocus:function(){var e;null!=n&&null!==(e=n.props)&&void 0!==e&&e.onFocus&&n.props.onFocus(),l(!0)},onMouseOut:function(){var e;null!=n&&null!==(e=n.props)&&void 0!==e&&e.onMouseOver&&n.props.onMouseOver(),l(!1)},onBlur:function(){var e;null!=n&&null!==(e=n.props)&&void 0!==e&&e.onBlur&&n.props.onBlur(),l(!1)}}):null}),i?ce("div",Cf(Cf({ref:c,className:se("np-tooltip","np-panel","np-panel--open","bg-screen",o),style:Cf({},t.popper)},u.popper),{},{children:pe("div",{className:"np-panel__content tooltip-inner",children:[r,ce("div",{ref:a,className:se("np-panel__arrow"),style:t.arrow})]})})):null]})}function Df(){return e="undefined"!=typeof window&&void 0!==window.ontouchstart,t="undefined"!=typeof navigator&&navigator.maxTouchPoints,n="undefined"!=typeof window&&window.DocumentTouch&&document instanceof window.DocumentTouch,!!(e||t||n)||(n=["android","iemobile","iphone","ipad","ipod","blackberry","bada"].map(function(e){return"(".concat(e,")")}).join("|"),n=new RegExp(n,"ig"),"undefined"!=typeof navigator&&!!navigator.userAgent.match(n));var e,t,n}function Af(e){var t=e.steps,n=e.activeStep,r=e.className,a=ws().isRTL;if(0===t.length)return null;var i=(o=0,e=t.length-1,Math.max(Math.min(e,n),o)),l=1/(t.length-1),n=i/(t.length-1),o=Math.max(n-l,0),n=Math.min(i,1)*l;return pe("div",{className:se("tw-stepper",r),children:[pe("div",{className:"progress",children:[ce("div",{className:"progress-bar-filler",style:{width:"".concat(100*o,"%")}}),ce("div",{className:"progress-bar-ending",style:{width:"".concat(100*n,"%")}})]}),ce("ul",{className:"tw-stepper-steps p-t-1 m-b-0",children:t.map(function(e,t){var n=t===i,r=e.onClick&&!n,o=r?ce("button",{type:"button",className:"btn-unstyled tw-stepper__step-label",onClick:function(){return r&&e.onClick()},children:ce("small",{children:e.label})}):ce(z,{as:"span",className:"tw-stepper__step-label small",children:e.label});return ce("li",{className:se("hidden-xs","tw-stepper__step",n&&"tw-stepper__step--active",r&&"tw-stepper__step--clickable",e.hoverLabel&&"tw-stepper__step--has-tooltip"),style:a?{right:"".concat(t*l*100,"%")}:{left:"".concat(t*l*100,"%")},children:e.hoverLabel&&!Df()?ce(xf,{position:re.Position.BOTTOM,label:e.hoverLabel,children:o}):o},t)})})]})}Af.propTypes={steps:l.default.arrayOf(l.default.shape({label:l.default.node.isRequired,onClick:l.default.func,hoverLabel:l.default.node})).isRequired,activeStep:l.default.number,className:l.default.string},Af.defaultProps={activeStep:0,className:void 0};function Nf(e){var r=e.activeLabel,t=e.className,o=(e=e.labels).length-1;return ce("div",{className:se("np-animated-label","np-text-body-large-bold",t),children:e.map(function(e,t){var n=t-1;return ce("div",{className:se("text-xs-left",{"np-animated-label--in":t===r,"np-animated-label--out":n===r&&n!=o}),children:e},n)})})}Nf.propTypes={activeLabel:l.default.number.isRequired,className:l.default.string,labels:l.default.arrayOf(l.default.node).isRequired},Nf.defaultProps={className:void 0};function Pf(e){var t=e.label,n=e.className,e=e.onClick;return pe("button",{type:"button",className:se("np-back-button","align-items-center","btn-unstyled",n),onClick:e,children:[ce(S.ArrowLeft,{size:24}),t]})}Pf.propTypes={className:l.default.string,label:l.default.element,onClick:l.default.func.isRequired};var kf={"np-flow-navigation--sm":re.Breakpoint.SMALL,"np-flow-navigation--lg":re.Breakpoint.LARGE},fr=function(e){var t=e.activeStep,n=e.avatar,r=e.logo,o=e.onClose,a=e.onGoBack,i=e.done,l=e.steps,s=oe.useRef(null),e=gs({ref:s}),u=fe(e,1)[0],e=o&&ce(Ae,{size:"lg",onClick:o}),o=u<re.Breakpoint.SMALL,n=i?null:n;return ce("div",{ref:s,className:se("np-flow-navigation d-flex align-items-center justify-content-center p-y-3",{"np-flow-navigation--border-bottom":!i}),children:ce(vf,{className:se("np-flow-navigation__content p-x-3",{"np-flow-navigation--hidden":!u,"np-flow-navigation--xs-max":o},Object.keys(kf).filter(function(e){return kf[e]<=u})),leftContent:o?ce(M,{children:a&&0<t?ce(Pf,{label:ce(Nf,{className:"m-x-1",labels:l.map(function(e){return e.label}),activeLabel:t-1}),onClick:a}):r}):r,rightContent:pe(M,{children:[n,n&&e&&ce("span",{className:"separator"}),e]}),bottomContent:!i&&ce(Af,{activeStep:t,steps:l,className:se("np-flow-navigation__stepper")}),layout:u<re.Breakpoint.LARGE?re.Layout.VERTICAL:re.Layout.HORIZONTAL})})};function Lf(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Rf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Lf(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Lf(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}fr.defaultProps={activeStep:0,avatar:void 0,logo:ce(Rt,{}),onGoBack:void 0,onClose:void 0,done:!(Pf.defaultProps={className:void 0,label:void 0})},fr.propTypes={activeStep:l.default.number,avatar:l.default.element,logo:l.default.node,onClose:l.default.func,onGoBack:l.default.func,done:l.default.bool,steps:l.default.arrayOf(l.default.shape({label:l.default.node.isRequired,onClick:l.default.func,hoverLabel:l.default.node})).isRequired};function If(e){var t=e.action,n=ae.useTheme().isModern,e={"aria-label":t["aria-label"]};return"href"in t?ce(_e,Rf(Rf({href:t.href,target:t.target,onClick:t.onClick},e),{},{children:t.text})):n?ce($s,Rf(Rf({className:"np-header__button",priority:"tertiary",size:"sm",onClick:t.onClick},e),{},{children:t.text})):ce(Te,Rf(Rf({onClick:t.onClick},e),{},{children:t.text}))}Nr=function(e){var t=e.id,n=e.src,r=e.alt,o=e.onLoad,a=e.onError,i=e.className,l=e.loading,s=e.stretch,u=e.shrink,c=oe.useRef(),e=Es({elRef:c,loading:l}),e=fe(e,1)[0],n=n,o=o;return"lazy"!==l||e||(n="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",o=null),ce("img",{ref:c,id:t,alt:r,src:n,className:se(["tw-image",{"tw-image__stretch":s,"tw-image__shrink":u},i]),onLoad:o,onError:a})};Nr.propTypes={id:l.default.string,src:l.default.string.isRequired,alt:l.default.string.isRequired,onLoad:l.default.func,onError:l.default.func,className:l.default.string,loading:l.default.oneOf(["lazy","eager"]),stretch:l.default.bool,shrink:l.default.bool},Nr.defaultProps={id:null,className:"",onLoad:function(){},onError:function(){},loading:"eager",stretch:!0,shrink:!0},(Ct=re.InfoPresentation||(re.InfoPresentation={})).POPOVER="POPOVER",Ct.MODAL="MODAL";var _f=["title","body","footer","onClose","className","open","size","scroll","position"];function Mf(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function jf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mf(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mf(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Uf(e){var t=void 0===(u=e.title)?null:u,n=e.body,r=void 0===(c=e.footer)?null:c,o=e.onClose,a=e.className,i=e.open,l=void 0===(p=e.size)?re.Size.MEDIUM:p,s=void 0===(d=e.scroll)?re.Scroll.VIEWPORT:d,u=void 0===(f=e.position)?re.Position.CENTER:f,c=b(e,_f),p=function(e){return null==a?void 0:a.split(" ").includes(e)},d=Ts().isMobile,f=p("compact"),e=p("no-divider"),p=oe.useRef(null);return d?ce(ip,{open:i,headerTitle:t,footerContent:r,position:re.Position.BOTTOM,onClose:o,children:n}):ce(Is,{open:i,scrollable:s===re.Scroll.VIEWPORT,contentPosition:u,onClose:o,children:ce(Xo,{nodeRef:p,appear:!0,in:i,classNames:{enterDone:"in"},timeout:150,unmountOnExit:!0,children:ce("div",jf(jf({ref:p,className:se("tw-modal","d-flex","fade","outline-none",s===re.Scroll.CONTENT&&"tw-modal--scrollable",a)},c),{},{children:ce("div",{className:se("tw-modal-dialog","d-flex",le({},"tw-modal-".concat(l),l)),"aria-modal":!0,role:"dialog",children:pe("div",{className:se("tw-modal-content","d-flex","flex-column","justify-content-between",{"tw-modal-compact":f,"tw-modal-no-title":!t}),children:[pe("div",{className:se("tw-modal-header","d-flex","align-items-center","justify-content-between","flex-wrap",{"modal--withoutborder":!t||e}),children:[ce(_,{type:re.Typography.TITLE_BODY,className:"tw-modal-title",children:t}),ce(Ae,{onClick:o})]}),ce("div",{className:se("tw-modal-body",{"tw-modal-body--scrollable":s===re.Scroll.CONTENT}),children:n}),r&&ce("div",{className:se("tw-modal-footer","d-flex","align-items-center","flex-wrap",{"modal--withoutborder":e}),children:r})]})})}))})})}function Bf(e){var t=e.children,n=e.className,r=e.content,o=e.preferredPlacement,a=e.title;Ff({preferredPlacement:o});var i=oe.useRef(null),e=oe.useState(!1),l=(e=fe(e,2))[0],s=e[1],e=ae.useTheme().isModern;return pe("span",{className:se("np-popover",n),children:[ce("span",{ref:i,className:"d-inline-block",children:oe.cloneElement(t,{onClick:function(){var e;null!=t&&null!==(e=t.props)&&void 0!==e&&e.onClick&&t.props.onClick(),s(!l)}})}),ce(Rp,{open:l,anchorRef:i,position:qf[o]||o,arrow:!0,className:"np-popover__container",onClose:function(){return s(!1)},children:pe("div",{className:e?"np-popover__content np-text-default-body":"np-popover__content","aria-hidden":!l,role:"tooltip",children:[a&&ce(_,{type:re.Typography.TITLE_BODY,className:"m-b-1",children:a}),r]})})]})}var Ff=function(e){e=e.preferredPlacement;Ue("Popover has deprecated ".concat(e," value for the 'preferredPlacement' prop. Please use ").concat(qf[e]," instead."),qf[e])};Bf.defaultProps={className:void 0,preferredPlacement:re.Position.RIGHT,title:void 0},Bf.propTypes={children:l.default.node.isRequired,className:l.default.string,content:l.default.node.isRequired,preferredPlacement:l.default.oneOf(["top","right","bottom","left","left-top","right-top","bottom-right","bottom-left"]),title:l.default.node};var qf=(le(Je={},re.Position.BOTTOM_LEFT,re.Position.BOTTOM),le(Je,re.Position.BOTTOM_RIGHT,re.Position.BOTTOM),le(Je,re.Position.LEFT_TOP,re.Position.TOP),le(Je,re.Position.RIGHT_TOP,re.Position.TOP),Je);function zf(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Gf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?zf(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):zf(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Vf(e){var t=e.className,n=e.content,r=e.onClick,o=e.presentation,a=e.size,i=e.title,l=oe.useState(!1),s=(l=fe(l,2))[0],u=l[1],o=o===re.InfoPresentation.MODAL,a=a===re.Size.SMALL,e={"aria-label":e["aria-label"],className:"btn-unstyled",children:ce(S.QuestionMarkCircle,{size:a?16:24})};return ce("span",{className:se(t,"np-info",{"np-info__small":a,"np-info__large":!a}),children:o?pe(M,{children:[ce("button",Gf({type:"button",onClick:function(){u(!s),r&&r()}},e)),ce(Uf,{body:n,open:s,title:i,onClose:function(){return u(!1)}})]}):ce(Bf,{content:n,preferredPlacement:re.Position.BOTTOM,title:i,children:ce("button",Gf(Gf({type:"button"},e),{},{onClick:function(){r&&r()}}))})})}function Hf(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}Vf.propTypes={"aria-label":l.default.string.isRequired,className:l.default.string,content:l.default.node,onClick:l.default.func,presentation:l.default.oneOf(["MODAL","POPOVER"]),size:l.default.oneOf(["sm","lg"]),title:l.default.node},Vf.defaultProps={className:void 0,content:void 0,onClick:void 0,presentation:re.InfoPresentation.POPOVER,size:re.Size.SMALL,title:void 0};function Yf(n){var e=ae.useTheme().isModern,r="alert-".concat(Wf[n.type]||n.type);return e?pe("div",{role:"alert",id:n.id,className:se("alert alert-detach",r,n.className),children:[("error"===n.type||"negative"===n.type)&&ce(S.AlertCircle,{}),ce("div",{children:n.children})]}):(e=Eo(function(e){var t=e.children,e=e.className;return ce("div",{role:"alert",id:n.id,className:se("alert alert-detach p-x-2 p-y-1",r,e),children:t})},re.AlertArrowPosition.TOP_LEFT),ce(e,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Hf(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hf(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},n)))}var Wf=(le($e={},re.Sentiment.ERROR,"danger"),le($e,re.Sentiment.NEGATIVE,"danger"),$e);Yf.propTypes={children:l.default.node.isRequired,className:l.default.string,id:l.default.string,type:l.default.oneOf(["positive","negative","warning","neutral","success","info","error"])},Yf.defaultProps={className:void 0,id:void 0,type:re.Sentiment.NEUTRAL};function Kf(e){var n=[];return e.split("").forEach(function(e,t){"*"!==e&&n.push({index:t,symbol:e})}),n}var Zf=function(e,t){if(!e||""===e)return"";for(var n=e.toString().split(""),r=Kf(t),o=[],a=0;a<n.length;a+=1)!function(t){1===(o=r.filter(function(e){return e.index===t})).length&&n.splice(t,0,o.pop().symbol)}(a);return n.join("")},Xf=function(e,t){var n=[""];return(n=e&&0<e.length?(n=e.toString().split("")).filter(function(e){return!$f(t).includes(e)}):n).join("")},$f=function(e){return e.split("").filter(function(e){return"*"!==e})},Jf=function(t,n,e){return Kf(e).filter(function(e){return e.index>=t&&e.index<n}).length},Qf=function(t,e){e=Kf(e).filter(function(e){return e.index>=t});return th(t,e,"left")},eh=function(t,e){e=Kf(e).filter(function(e){return e.index<t}).reverse();return th(t,e,"right")},th=function(e,t,n){for(var r=e,o=0;o<t.length;o+=1){if(t[o].index!==("left"===n?r:r-1))break;r="left"===n?r+1:r-1}return o},nh=function(e,t,n,r,o){var a=t;switch(e){case"Backspace":t===n&&(a=0<(a-=eh(t,r))?a-1:0);break;case"Paste":a+=o+Jf(t,t+o,r)+Qf(t+o,r);break;case"Cut":case"Delete":break;default:a+=1+Qf(t,r)}return a};function rh(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}var oh=function(e){Ap(o,e);var r=rh(o);function o(e){var l;u(this,o),l=r.call(this,e),le(Cp(l),"getUserAction",function(e){var t=l.state,n=t.triggerEvent,r=t.triggerType,o=t.value,a=l.props.displayPattern,t=String.fromCharCode(n.which).toLowerCase();return"Paste"===r||"Cut"===r?r:(n.ctrlKey||n.metaKey)&&"z"===t?n.shiftKey?"Redo":"Undo":n.ctrlKey&&"d"===t?"Delete":void 0===n.key&&e.length<=Xf(o,a).length?"Backspace":n.key}),le(Cp(l),"resetEvent",function(){l.setState({triggerType:null,triggerEvent:null,pastedLength:0})}),le(Cp(l),"detectUndoRedo",function(e){var t=String.fromCharCode(e.which).toLowerCase();return(e.ctrlKey||e.metaKey)&&"z"===t?e.shiftKey?"Redo":"Undo":null}),le(Cp(l),"handleOnKeyDown",function(e){e.persist();var t=e.target,n=t.selectionStart,r=t.selectionEnd,o=l.state.historyNavigator,a=l.props.displayPattern,t="";"Undo"===l.detectUndoRedo(e)?(t=Zf(o.undo(),a),l.setState({value:t,triggerType:"Undo"})):"Redo"===l.detectUndoRedo(e)?(t=Zf(o.redo(),a),l.setState({value:t,triggerType:"Redo"})):l.setState({triggerEvent:e,triggerType:"KeyDown",selectionStart:n,selectionEnd:r})}),le(Cp(l),"handleOnPaste",function(e){var t=l.props.displayPattern,t=Xf(e.clipboardData.getData("Text"),t).length;l.setState({triggerType:"Paste",pastedLength:t})}),le(Cp(l),"handleOnCut",function(){l.setState({triggerType:"Cut"})}),le(Cp(l),"isKeyAllowed",function(e){return!l.props.displayPattern.split("").filter(function(e){return"*"!==e}).includes(e)}),le(Cp(l),"handleOnChange",function(e){var t=l.state,n=t.historyNavigator,r=t.triggerEvent,o=t.triggerType,a=l.props,t=a.displayPattern,a=a.onChange,e=e.target.value,e=Xf(e,t),r=null===r?"Paste":l.getUserAction(e);l.isKeyAllowed(r)&&"Undo"!==o&&"Redo"!==o&&("Backspace"!==r&&"Delete"!==r||(e=l.handleDelete(e,r)),o=Zf(e,t),n.add(e),l.handleCursorPositioning(r),t=Xf(o,t),l.setState({value:o},l.resetEvent(),a(t)))}),le(Cp(l),"handleOnBlur",function(e){var t=l.props,n=t.displayPattern,t=t.onBlur;t&&t(Xf(e.target.value,n))}),le(Cp(l),"handleOnFocus",function(e){var t=l.props,n=t.displayPattern,t=t.onFocus;t&&(l.handleOnChange(e),t(Xf(e.target.value,n)))}),le(Cp(l),"handleDelete",function(e,t){var n=l.props.displayPattern,r=l.state,o=r.selectionStart,a=r.selectionEnd,i=K(e);return o===a&&(r=o-Jf(0,o,n),e=0,a=Qf(o,n),"Backspace"===t&&(--r,a=eh(o,n)),i.splice(r,e=0<=r&&a?1:e)),i.join("")}),le(Cp(l),"handleCursorPositioning",function(e){var t=l.props.displayPattern,n=l.state,r=n.triggerEvent,o=n.selectionStart,a=n.selectionEnd,n=n.pastedLength,i=nh(e,o,a,t,n);setTimeout(function(){r&&r.target.setSelectionRange(i,i),l.setState({selectionStart:i,selectionEnd:i})},0)});var t=e.value,n=e.displayPattern,t=Xf(t,n);return l.state={value:Zf(t,n),historyNavigator:new p,prevDisplayPattern:e.displayPattern,triggerType:null,triggerEvent:null},l}return s(o,[{key:"render",value:function(){var e=this.props,e={type:e.type,inputMode:e.inputMode,className:e.className,id:e.id,name:e.name,placeholder:e.placeholder,readOnly:e.readOnly,required:e.required,minLength:e.minLength,maxLength:e.maxLength,disabled:e.disabled,autoComplete:e.autoComplete,value:this.state.value,onFocus:this.handleOnFocus,onBlur:this.handleOnBlur,onPaste:this.handleOnPaste,onKeyDown:this.handleOnKeyDown,onChange:this.handleOnChange,onCut:this.handleOnCut};return this.props.render(e)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.displayPattern,r=t.prevDisplayPattern;if(t.prevDisplayPattern===n)return null;e=t.value,t=t.historyNavigator,r=Xf(e,r);return t.reset(),{prevDisplayPattern:n,value:Zf(r,n),triggerType:null,triggerEvent:null,pastedLength:0}}}]),o}(oe.Component);function ah(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function ih(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ah(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ah(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}oh.propTypes={autoComplete:l.default.oneOf(["on","off","disabled"]),className:l.default.string,disabled:l.default.bool,id:l.default.string,maxLength:l.default.number,minLength:l.default.number,name:l.default.string,onFocus:l.default.func,onBlur:l.default.func,onChange:l.default.func.isRequired,placeholder:l.default.string,readOnly:l.default.bool,render:l.default.func.isRequired,required:l.default.bool,displayPattern:l.default.string,type:l.default.string,inputMode:l.default.string,value:l.default.string},oh.defaultProps={autoComplete:"off",className:null,disabled:!1,id:null,maxLength:null,minLength:null,name:null,placeholder:null,readOnly:!1,required:!1,displayPattern:"",type:"text",inputMode:null,value:"",onFocus:null,onBlur:null};mn=function(e){return ce(oh,ih(ih({},e),{},{render:function(e){return ce("input",ih({},e))}}))};mn.propTypes={displayPattern:l.default.string.isRequired,onChange:l.default.func.isRequired};var lh=["small","size","classNames"],sh=function(e){switch(e){case re.Size.EXTRA_LARGE:case re.Size.LARGE:return re.Size.LARGE;case re.Size.SMALL:case re.Size.EXTRA_SMALL:return re.Size.SMALL;case re.Size.MEDIUM:default:return re.Size.MEDIUM}},Pt=function(e){var t,n=e.amount,r=e.currency,o=ie.useIntl().locale;return ce(M,{children:(e=o,wu(n,r=r,e=void 0===o?"en-GB":e,t=void 0===t?{alwaysShowDecimals:!1}:t)+" "+(r||"").toUpperCase())})};Pt.propTypes={amount:l.default.number.isRequired,currency:l.default.string.isRequired};var uh=ie.defineMessages({selectPlaceholder:{id:"neptune.MoneyInput.Select.placeholder"}}),ch={BIF:0,BYR:0,CLP:0,DJF:0,GNF:0,JPY:0,KMF:0,KRW:0,MGA:0,PYG:0,RWF:0,VND:0,VUV:0,XAF:0,XOF:0,XPF:0,HUF:0,BHD:3,JOD:3,KWD:3,OMR:3,TND:3},ph=2;function dh(){return"1,234"===(1234..toLocaleString&&1234..toLocaleString(g))}function fh(e,t,n){var r=function(e){try{var t=e.replace(/_/,"-");return Intl.NumberFormat(t),t}catch(e){return"en-GB"}}(n),n=function(e){return e=(0<arguments.length&&void 0!==e?e:"").toUpperCase(),Object.prototype.hasOwnProperty.call(ch,e)?ch[e]:ph}(t),t=dh()?1e4.toLocaleString(r)[2]:",",r=(r=r,dh()?1.1.toLocaleString(r)[1]:"."),r=(e?"".concat(e):"").replace(new RegExp("\\".concat(t),"g"),"").replace(new RegExp("\\".concat(r),"g"),".").replace(/[^0-9.]/g,""),n=parseFloat(parseFloat(r).toFixed(n));return Math.abs(n)}function hh(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function mh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?hh(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):hh(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function gh(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}var Pr=l.default.shape({header:l.default.string,value:l.default.string,label:l.default.string,currency:l.default.string,note:l.default.string,searchable:l.default.string}),yh="CUSTOM_ACTION",bh=function(e){return Al(e)||Nl(e)},vh=function(e,t,n,r){return r?e||"":"number"==typeof e?wu(e,t,n):""},Oh=function(e,t,n,r){return r?r&&e.length>r?0:+e:fh(e,t,n)},wh=new Set([_u.BACKSPACE,_u.DELETE,_u.COMMA,_u.PERIOD,_u.DOWN,_u.UP,_u.LEFT,_u.RIGHT,_u.ENTER,_u.ESCAPE,_u.TAB]),Eh=new Set([h.PERIOD,h.COMMA]),gr=function(e){Ap(o,e);var n=gh(o);function o(e){var r;u(this,o),r=n.call(this,e),le(Cp(r),"isInputAllowedForKeyEvent",function(e){var t=e.keyCode,n=e.metaKey,r=e.key,e=e.ctrlKey;return Al(parseInt(r,10))||n||e||wh.has(t)||Eh.has(r)}),le(Cp(r),"handleKeyDown",function(e){r.isInputAllowedForKeyEvent(e)||e.preventDefault()}),le(Cp(r),"handlePaste",function(e){var t=(e.clipboardData||window.clipboardData).getData("text"),n=r.state.locale,t=Ml(t)?null:Oh(t,r.props.selectedCurrency.currency,n,r.props.maxLengthOverride);bh(t)&&(r.setState({formattedAmount:vh(t,r.props.selectedCurrency.currency,n,r.props.maxLengthOverride)}),r.props.onAmountChange(t)),e.preventDefault()}),le(Cp(r),"onAmountChange",function(e){e=e.target.value;r.setState({formattedAmount:e});e=Ml(e)?null:Oh(e,r.props.selectedCurrency.currency,r.state.locale,r.props.maxLengthOverride);bh(e)&&r.props.onAmountChange(e)}),le(Cp(r),"onAmountBlur",function(){r.amountFocused=!1,r.setAmount()}),le(Cp(r),"onAmountFocus",function(){r.amountFocused=!0}),le(Cp(r),"handleSelectChange",function(e){r.handleSearchChange(""),r.props.onCustomAction&&e.value===yh?r.props.onCustomAction():r.props.onCurrencyChange(e)}),le(Cp(r),"handleSearchChange",function(e){r.setState({searchQuery:e}),r.props.onSearchChange&&r.props.onSearchChange({searchQuery:e,filteredOptions:Th(r.props.currencies,e)})}),le(Cp(r),"style",function(e){return r.props.classNames[e]||e});var t=r.props.intl.locale;return r.formatMessage=r.props.intl.formatMessage,r.state={searchQuery:"",formattedAmount:vh(e.amount,e.selectedCurrency.currency,t,e.maxLengthOverride),locale:t},r}return s(o,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t,n;this.setState({locale:null==e||null===(t=e.intl)||void 0===t?void 0:t.locale}),this.amountFocused||this.setState({formattedAmount:vh(e.amount,e.selectedCurrency.currency,null==e||null===(n=e.intl)||void 0===n?void 0:n.locale,e.maxLengthOverride)})}},{key:"getSelectOptions",value:function(){var e=K(Th(this.props.currencies,this.state.searchQuery));return this.props.onCustomAction&&e.push({value:yh,label:this.props.customActionLabel}),e}},{key:"setAmount",value:function(){var n=this;this.setState(function(e){var t=Oh(e.formattedAmount,n.props.selectedCurrency.currency,e.locale,n.props.maxLengthOverride);return bh(t)?{formattedAmount:vh(t,n.props.selectedCurrency.currency,e.locale,n.props.maxLengthOverride)}:{formattedAmount:e.formattedAmount}})}},{key:"render",value:function(){var e=this.props,t=e.selectedCurrency,n=e.onCurrencyChange,r=e.size,o=e.addon,a=e.id,i=e.selectProps,l=e.maxLengthOverride,s=this.getSelectOptions(),e=!this.state.searchQuery&&(1===s.length&&s[0].currency===t.currency||!n),n=!this.props.onAmountChange;return pe("div",{className:se(this.style("tw-money-input"),this.style("input-group"),this.style("input-group-".concat(r))),children:[ce("input",{id:a,value:this.state.formattedAmount,type:"text",inputMode:"decimal",className:se(this.style("form-control")),disabled:n,maxLength:l,placeholder:vh(this.props.placeholder,this.props.selectedCurrency.currency,this.state.locale,this.props.maxLengthOverride),autoComplete:"off",onKeyDown:this.handleKeyDown,onChange:this.onAmountChange,onFocus:this.onAmountFocus,onBlur:this.onAmountBlur,onPaste:this.handlePaste}),o&&ce("span",{className:se(this.style("input-group-addon"),this.style("input-".concat(r)),n?this.style("disabled"):""),children:o}),e?pe("div",{className:se(this.style("input-group-addon"),this.style("input-".concat(r)),this.style("tw-money-input__fixed-currency"),n?this.style("disabled"):""),children:[("lg"===r||"md"===r)&&pe(M,{children:[ce("i",{className:se(this.style("tw-money-input__keyline"))}),ce("i",{className:se(this.style("currency-flag"),this.style("currency-flag-".concat(t.currency.toLowerCase())),this.style("m-r-2"))})]}),ce(_,{as:"span",type:re.Typography.TITLE_SUBSECTION,className:"lg"===r?this.style("m-r-1"):"",children:t.currency.toUpperCase()})]}):ce("div",{className:se(this.style("input-group-btn"),this.style("amount-currency-select-btn")),children:ce(vp,mh({id:a?"".concat(a,"-select"):void 0,classNames:this.props.classNames,options:s,selected:mh(mh({},t),{},{label:ce(_,{as:"span",type:re.Typography.TITLE_SUBSECTION,className:"tw-money-input__text",children:t.label}),note:null}),placeholder:this.formatMessage(uh.selectPlaceholder),searchPlaceholder:this.props.searchPlaceholder,searchValue:this.state.searchQuery,size:r,required:!0,dropdownWidth:re.Size.LARGE,inverse:!0,onChange:this.handleSelectChange,onSearchChange:this.handleSearchChange},i))})]})}}]),o}(oe.Component);function Th(e,n){if(!n)return e;var t,r,o,e=(t=[],r=[],e.forEach(function(e){e.value&&!r.includes(e.value)&&(t.push(e),r.push(e.value))}),t.filter(function(e){return t=n,!!(e=e).value&&(Sh(e.label,t)||Sh(e.searchable,t)||Sh(e.note,t));var t}));return o=n,e.sort(function(e,t){e=Sh(e.label,o),t=Sh(t.label,o);return e&&t?0:e?-1:t?1:0})}function Sh(e,t){return e&&e.toLowerCase().includes(t.toLowerCase())}gr.propTypes={id:l.default.string,currencies:l.default.arrayOf(Pr).isRequired,selectedCurrency:Pr.isRequired,onCurrencyChange:l.default.func,placeholder:l.default.number,amount:l.default.number,size:l.default.oneOf(["sm","md","lg"]),onAmountChange:l.default.func,addon:l.default.node,searchPlaceholder:l.default.string,onSearchChange:l.default.func,customActionLabel:l.default.node,onCustomAction:l.default.func,classNames:l.default.objectOf(l.default.string),selectProps:l.default.object,maxLengthOverride:l.default.number},gr.defaultProps={id:null,size:re.Size.LARGE,addon:null,searchPlaceholder:"",onSearchChange:void 0,onCurrencyChange:null,placeholder:null,amount:null,onAmountChange:null,customActionLabel:"",onCustomAction:null,classNames:{},selectProps:{},maxLengthOverride:null};ls=ie.injectIntl(gr),Wd=function(e){e=e.children;return ce("ul",{className:"np-navigation-options-list",children:oe.Children.map(e,function(e){return ce("li",{className:"np-navigation-options-list__item",children:e},e.key)})})};Wd.propTypes={children:l.default.node.isRequired};et=function(e){var t=e.media,n=e.mediaName,r=e.title,o=e.link,a=e.href,i=e.onClick,l=e.onDismiss,s=e.id,u=e.className,e=ae.useTheme().isModern;return pe("div",{className:se("wds-nudge",u),id:s,children:[e?!!n&&ce("div",{className:"wds-nudge-media",children:ce(c.Illustration,{name:n,className:se("wds-nudge-media-".concat(n)),size:"small",disablePadding:!0})}):ce("div",{className:"wds-nudge-media",children:t}),pe("div",{className:"wds-nudge-container",children:[pe("div",{className:"wds-nudge-content",children:[e?ce(z,{type:re.Typography.BODY_LARGE,className:se("wds-nudge-body"),children:r}):ce("div",{className:"wds-nudge-title",children:r}),o&&ce(_e,{href:a,type:re.Typography.LINK_LARGE,className:"wds-nudge-link",onClick:i,children:o})]}),l&&ce(Ae,{className:"wds-nudge-control",size:"sm",onClick:l})]})]})};et.propTypes={media:l.default.node,mediaName:l.default.oneOf(["globe","lock","wallet","gear","invite-letter"]),title:l.default.node.isRequired,link:l.default.node,href:l.default.string,onClick:l.default.func,onDismiss:l.default.func,id:l.default.string,className:l.default.string},et.Media={GLOBE:"globe",LOCK:"lock",WALLET:"wallet",GEAR:"gear","INVITE-LETTER":"invite-letter"},et.defaultProps={id:null,className:null,onClick:void 0,onDismiss:void 0};ft=function(e){var t=e.avatar,n=e.onClose,e=e.logo,n=n&&ce(Ae,{onClick:n});return ce("div",{className:"np-overlay-header d-flex justify-content-center",children:ce(vf,{className:"np-overlay-header__content p-a-3",leftContent:e,rightContent:pe(M,{children:[t,t&&n&&ce("span",{className:"separator"}),n]})})})};ft.defaultProps={avatar:null,logo:ce(Rt,{}),onClose:null},ft.propTypes={avatar:l.default.element,logo:l.default.node,onClose:l.default.func};function Ch(e){return e.reduce(function(e,t){return e.phone.length>t.phone.length?e:t})}function xh(t){var e;return(e=t&&2===t.length?Lh.filter(function(e){return t.toUpperCase()===e.iso2}):e)&&0<e.length?Ch(e):null}function Dh(e){return/^\+[\d-\s]+$/.test(e)&&e.match(/\d+/g)&&4<=e.match(/\d+/g).join("").length}function Ah(e){var t,n="",r="",o="",a=(a=null,(a=(t=e)&&1<t.length?Lh.filter(function(e){return 0===t.indexOf(e.phone)}):a)&&0<a.length?Ch(a):null),o=a?(n=a.phone,r=e.slice(a.phone.length),a.phoneFormat||""):(n="",r=e.slice(1),"");return{prefix:n,suffix:r,format:o}}function Nh(e,n){return e.filter(function(e){return t=n,Rh((e=e).iso3,t)||Rh(e.iso2,t)||Rh(e.name,t)||Rh(e.phone,t);var t})}function Ph(e){return e.match(_h)&&e.match(_h).join("")||""}function kh(e,n){return K(e).sort(function(e,t){return e[n].localeCompare(t[n])})}var Lh=[{name:"Afghanistan",iso2:"AF",iso3:"AFG",phone:"+93"},{name:"Åland Islands",iso2:"AX",iso3:"ALA",phone:"+358"},{name:"Albania",iso2:"AL",iso3:"ALB",phone:"+355"},{name:"Algeria",iso2:"DZ",iso3:"DZA",phone:"+213"},{name:"American Samoa",iso2:"AS",iso3:"ASM",phone:"+1684"},{name:"Andorra",iso2:"AD",iso3:"AND",phone:"+376"},{name:"Angola",iso2:"AO",iso3:"AGO",phone:"+244"},{name:"Anguilla",iso2:"AI",iso3:"AIA",phone:"+1264"},{name:"Antarctica",iso2:"AQ",iso3:"ATA",phone:"+672"},{name:"Antigua",iso2:"AG",iso3:"ATG",phone:"+1268"},{name:"Argentina",iso2:"AR",iso3:"ARG",phone:"+54"},{name:"Armenia",iso2:"AM",iso3:"ARM",phone:"+374"},{name:"Aruba",iso2:"AW",iso3:"ABW",phone:"+297"},{name:"Ascension Island",iso2:"SH",iso3:"SHN",phone:"+247"},{name:"Australia",iso2:"AU",iso3:"AUS",phone:"+61"},{name:"Australian Antarctic Territory",iso2:"AQ",iso3:"ATA",phone:"+672"},{name:"Austria",iso2:"AT",iso3:"AUT",phone:"+43"},{name:"Azerbaijan",iso2:"AZ",iso3:"AZE",phone:"+994"},{name:"Bahamas",iso2:"BS",iso3:"BHS",phone:"+1242"},{name:"Bahrain",iso2:"BH",iso3:"BHR",phone:"+973"},{name:"Bangladesh",iso2:"BD",iso3:"BGD",phone:"+880"},{name:"Barbados",iso2:"BB",iso3:"BRB",phone:"+1246"},{name:"Belarus",iso2:"BY",iso3:"BLR",phone:"+375"},{name:"Belgium",iso2:"BE",iso3:"BEL",phone:"+32"},{name:"Belize",iso2:"BZ",iso3:"BLZ",phone:"+501"},{name:"Benin",iso2:"BJ",iso3:"BEN",phone:"+229"},{name:"Bermuda",iso2:"BM",iso3:"BMU",phone:"+1441"},{name:"Bhutan",iso2:"BT",iso3:"BTN",phone:"+975"},{name:"Bolivia",iso2:"BO",iso3:"BOL",phone:"+591"},{name:"Bonaire, Sint Eustatius and Saba",iso2:"BQ",iso3:"BES",phone:"+599"},{name:"Bosnia and Herzegovina",iso2:"BA",iso3:"BIH",phone:"+387"},{name:"Botswana",iso2:"BW",iso3:"BWA",phone:"+267"},{name:"Brazil",iso2:"BR",iso3:"BRA",phone:"+55"},{name:"British Virgin Islands",iso2:"VG",iso3:"VGB",phone:"+1284"},{name:"Brunei",iso2:"BN",iso3:"BRN",phone:"+673"},{name:"Bulgaria",iso2:"BG",iso3:"BGR",phone:"+359"},{name:"Burkina Faso",iso2:"BF",iso3:"BFA",phone:"+226"},{name:"Burundi",iso2:"BI",iso3:"BDI",phone:"+257"},{name:"Cambodia",iso2:"KH",iso3:"KHM",phone:"+855"},{name:"Cameroon",iso2:"CM",iso3:"CMR",phone:"+237"},{name:"Canada",iso2:"CA",iso3:"CAN",phone:"+1"},{name:"Cape Verde",iso2:"CV",iso3:"CPV",phone:"+238"},{name:"Cayman Islands",iso2:"KY",iso3:"CYM",phone:"+1345"},{name:"Central African Republic",iso2:"CF",iso3:"CAF",phone:"+236"},{name:"Chad",iso2:"TD",iso3:"TCD",phone:"+235"},{name:"Chile",iso2:"CL",iso3:"CHL",phone:"+56"},{name:"China",iso2:"CN",iso3:"CHN",phone:"+86"},{name:"Christmas Island",iso2:"CX",iso3:"CXR",phone:"+61"},{name:"Cocos (Keeling) Islands",iso2:"CC",iso3:"CCK",phone:"+61"},{name:"Colombia",iso2:"CO",iso3:"COL",phone:"+57"},{name:"Comoros",iso2:"KM",iso3:"COM",phone:"+269"},{name:"Congo",iso2:"CG",iso3:"COG",phone:"+242"},{name:"Cook Islands",iso2:"CK",iso3:"COK",phone:"+682"},{name:"Costa Rica",iso2:"CR",iso3:"CRI",phone:"+506"},{name:"Croatia",iso2:"HR",iso3:"HRV",phone:"+385"},{name:"Cuba",iso2:"CU",iso3:"CUB",phone:"+53"},{name:"Curaçao",iso2:"CW",iso3:"CUW",phone:"+599"},{name:"Cyprus",iso2:"CY",iso3:"CYP",phone:"+357"},{name:"Czech Republic",iso2:"CZ",iso3:"CZE",phone:"+420"},{name:"Democratic Republic of the Congo",iso2:"CD",iso3:"COD",phone:"+243"},{name:"Denmark",iso2:"DK",iso3:"DNK",phone:"+45"},{name:"Diego Garcia",iso2:"IO",iso3:"IOT",phone:"+246"},{name:"Djibouti",iso2:"DJ",iso3:"DJI",phone:"+253"},{name:"Dominica",iso2:"DM",iso3:"DMA",phone:"+1767"},{name:"Dominican Republic",iso2:"DO",iso3:"DOM",phone:"+1809"},{name:"Dominican Republic",iso2:"DO",iso3:"DOM",phone:"+1829"},{name:"Dominican Republic",iso2:"DO",iso3:"DOM",phone:"+1849"},{name:"East Timor",iso2:"TL",iso3:"TLS",phone:"+670"},{name:"Ecuador",iso2:"EC",iso3:"ECU",phone:"+593"},{name:"Egypt",iso2:"EG",iso3:"EGY",phone:"+20"},{name:"El Salvador",iso2:"SV",iso3:"SLV",phone:"+503"},{name:"Equatorial Guinea",iso2:"GQ",iso3:"GNQ",phone:"+240"},{name:"Eritrea",iso2:"ER",iso3:"ERI",phone:"+291"},{name:"Estonia",iso2:"EE",iso3:"EST",phone:"+372"},{name:"Ethiopia",iso2:"ET",iso3:"ETH",phone:"+251"},{name:"Falkland Islands",iso2:"FK",iso3:"FLK",phone:"+500"},{name:"Faroe Islands",iso2:"FO",iso3:"FRO",phone:"+298"},{name:"Fiji",iso2:"FJ",iso3:"FJI",phone:"+679"},{name:"Finland",iso2:"FI",iso3:"FIN",phone:"+358"},{name:"France",iso2:"FR",iso3:"FRA",phone:"+33"},{name:"French Guiana",iso2:"GF",iso3:"GUF",phone:"+594"},{name:"French Polynesia",iso2:"PF",iso3:"PYF",phone:"+689"},{name:"French Southern Territories",iso2:"TF",iso3:"ATF",phone:"+262"},{name:"Gabon",iso2:"GA",iso3:"GAB",phone:"+241"},{name:"Gambia",iso2:"GM",iso3:"GMB",phone:"+220"},{name:"Georgia",iso2:"GE",iso3:"GEO",phone:"+995"},{name:"Germany",iso2:"DE",iso3:"DEU",phone:"+49"},{name:"Ghana",iso2:"GH",iso3:"GHA",phone:"+233"},{name:"Gibraltar",iso2:"GI",iso3:"GIB",phone:"+350"},{name:"Greece",iso2:"GR",iso3:"GRC",phone:"+30"},{name:"Greenland",iso2:"GL",iso3:"GRL",phone:"+299"},{name:"Grenada",iso2:"GD",iso3:"GRD",phone:"+1473"},{name:"Guadeloupe",iso2:"GP",iso3:"GLP",phone:"+596"},{name:"Guadeloupe",iso2:"GP",iso3:"GLP",phone:"+590"},{name:"Guam",iso2:"GU",iso3:"GUM",phone:"+1671"},{name:"Guatemala",iso2:"GT",iso3:"GTM",phone:"+502"},{name:"Guernsey",iso2:"GG",iso3:"GGY",phone:"+44",phoneFormat:"**** *** ***"},{name:"Guinea",iso2:"GN",iso3:"GIN",phone:"+224"},{name:"Guinea-Bissau",iso2:"GW",iso3:"GNB",phone:"+245"},{name:"Guyana",iso2:"GY",iso3:"GUY",phone:"+592"},{name:"Haiti",iso2:"HT",iso3:"HTI",phone:"+509"},{name:"Holy See",iso2:"VA",iso3:"VAT",phone:"+379"},{name:"Honduras",iso2:"HN",iso3:"HND",phone:"+504"},{name:"Hong Kong",iso2:"HK",iso3:"HKG",phone:"+852"},{name:"Hungary",iso2:"HU",iso3:"HUN",phone:"+36"},{name:"Iceland",iso2:"IS",iso3:"ISL",phone:"+354"},{name:"India",iso2:"IN",iso3:"IND",phone:"+91"},{name:"Indonesia",iso2:"ID",iso3:"IDN",phone:"+62"},{name:"Iran",iso2:"IR",iso3:"IRN",phone:"+98"},{name:"Iraq",iso2:"IQ",iso3:"IRQ",phone:"+964"},{name:"Ireland",iso2:"IE",iso3:"IRL",phone:"+353"},{name:"Isle of Man",iso2:"IM",iso3:"IMN",phone:"+44"},{name:"Israel",iso2:"IL",iso3:"ISR",phone:"+972"},{name:"Italy",iso2:"IT",iso3:"ITA",phone:"+39"},{name:"Ivory Coast",iso2:"CI",iso3:"CIV",phone:"+225"},{name:"Jamaica",iso2:"JM",iso3:"JAM",phone:"+1876"},{name:"Japan",iso2:"JP",iso3:"JPN",phone:"+81"},{name:"Jersey",iso2:"JE",iso3:"JEY",phone:"+44"},{name:"Jordan",iso2:"JO",iso3:"JOR",phone:"+962"},{name:"Kazakhstan",iso2:"KZ",iso3:"KAZ",phone:"+7"},{name:"Kenya",iso2:"KE",iso3:"KEN",phone:"+254"},{name:"Kiribati",iso2:"KI",iso3:"KIR",phone:"+686"},{name:"Kosovo",iso2:"XK",iso3:"RKS",phone:"+383"},{name:"Kuwait",iso2:"KW",iso3:"KWT",phone:"+965"},{name:"Kyrgyzstan",iso2:"KG",iso3:"KGZ",phone:"+996"},{name:"Laos",iso2:"LA",iso3:"LAO",phone:"+856"},{name:"Latvia",iso2:"LV",iso3:"LVA",phone:"+371"},{name:"Lebanon",iso2:"LB",iso3:"LBN",phone:"+961"},{name:"Lesotho",iso2:"LS",iso3:"LSO",phone:"+266"},{name:"Liberia",iso2:"LR",iso3:"LBR",phone:"+231"},{name:"Libya",iso2:"LY",iso3:"LBY",phone:"+218"},{name:"Liechtenstein",iso2:"LI",iso3:"LIE",phone:"+423"},{name:"Lithuania",iso2:"LT",iso3:"LTU",phone:"+370"},{name:"Luxembourg",iso2:"LU",iso3:"LUX",phone:"+352"},{name:"Macau",iso2:"MO",iso3:"MAC",phone:"+853"},{name:"Macedonia",iso2:"MK",iso3:"MKD",phone:"+389"},{name:"Madagascar",iso2:"MG",iso3:"MDG",phone:"+261"},{name:"Malawi",iso2:"MW",iso3:"MWI",phone:"+265"},{name:"Malaysia",iso2:"MY",iso3:"MYS",phone:"+60"},{name:"Maldives",iso2:"MV",iso3:"MDV",phone:"+960"},{name:"Mali",iso2:"ML",iso3:"MLI",phone:"+223"},{name:"Malta",iso2:"MT",iso3:"MLT",phone:"+356"},{name:"Marshall Islands",iso2:"MH",iso3:"MHL",phone:"+692"},{name:"Martinique",iso2:"MQ",iso3:"MTQ",phone:"+596"},{name:"Mauritania",iso2:"MR",iso3:"MRT",phone:"+222"},{name:"Mauritius",iso2:"MU",iso3:"MUS",phone:"+230"},{name:"Mayotte",iso2:"YT",iso3:"MYT",phone:"+262"},{name:"Mexico",iso2:"MX",iso3:"MEX",phone:"+52"},{name:"Micronesia",iso2:"FM",iso3:"FSM",phone:"+691"},{name:"Moldova",iso2:"MD",iso3:"MDA",phone:"+373"},{name:"Monaco",iso2:"MC",iso3:"MCO",phone:"+377"},{name:"Mongolia",iso2:"MN",iso3:"MNG",phone:"+976"},{name:"Montenegro",iso2:"ME",iso3:"MNE",phone:"+382"},{name:"Montserrat",iso2:"MS",iso3:"MSR",phone:"+1664"},{name:"Morocco",iso2:"MA",iso3:"MAR",phone:"+212"},{name:"Mozambique",iso2:"MZ",iso3:"MOZ",phone:"+258"},{name:"Myanmar",iso2:"MM",iso3:"MMR",phone:"+95"},{name:"Namibia",iso2:"NA",iso3:"NAM",phone:"+264"},{name:"Nauru",iso2:"NR",iso3:"NRU",phone:"+674"},{name:"Nepal",iso2:"NP",iso3:"NPL",phone:"+977"},{name:"Netherlands",iso2:"NL",iso3:"NLD",phone:"+31"},{name:"Netherlands Antilles",iso2:"AN",iso3:"ANT",phone:"+599"},{name:"New Caledonia",iso2:"NC",iso3:"NCL",phone:"+687"},{name:"New Zealand",iso2:"NZ",iso3:"NZL",phone:"+64"},{name:"Nicaragua",iso2:"NI",iso3:"NIC",phone:"+505"},{name:"Niger",iso2:"NE",iso3:"NER",phone:"+227"},{name:"Nigeria",iso2:"NG",iso3:"NGA",phone:"+234"},{name:"Niue",iso2:"NU",iso3:"NIU",phone:"+683"},{name:"Norfolk Island",iso2:"NF",iso3:"NFK",phone:"+672"},{name:"North Korea",iso2:"KP",iso3:"PRK",phone:"+850"},{name:"Northern Mariana Islands",iso2:"MP",iso3:"MNP",phone:"+1670"},{name:"Norway",iso2:"NO",iso3:"NOR",phone:"+47"},{name:"Oman",iso2:"OM",iso3:"OMN",phone:"+968"},{name:"Pakistan",iso2:"PK",iso3:"PAK",phone:"+92"},{name:"Palau",iso2:"PW",iso3:"PLW",phone:"+680"},{name:"Palestine",iso2:"PS",iso3:"PSE",phone:"+970"},{name:"Panama",iso2:"PA",iso3:"PAN",phone:"+507"},{name:"Papua New Guinea",iso2:"PG",iso3:"PNG",phone:"+675"},{name:"Paraguay",iso2:"PY",iso3:"PRY",phone:"+595"},{name:"Peru",iso2:"PE",iso3:"PER",phone:"+51"},{name:"Philippines",iso2:"PH",iso3:"PHL",phone:"+63"},{name:"Pitcairn",iso2:"PN",iso3:"PCN",phone:"+64"},{name:"Poland",iso2:"PL",iso3:"POL",phone:"+48"},{name:"Portugal",iso2:"PT",iso3:"PRT",phone:"+351"},{name:"Puerto Rico",iso2:"PR",iso3:"PRI",phone:"+1939"},{name:"Qatar",iso2:"QA",iso3:"QAT",phone:"+974"},{name:"Reunion Island",iso2:"RE",iso3:"REU",phone:"+262"},{name:"Romania",iso2:"RO",iso3:"ROU",phone:"+40"},{name:"Russia",iso2:"RU",iso3:"RUS",phone:"+7"},{name:"Rwanda",iso2:"RW",iso3:"RWA",phone:"+250"},{name:"Saint Barthélemy",iso2:"BL",iso3:"BLM",phone:"+590"},{name:"Saint Helena",iso2:"SH",iso3:"SHN",phone:"+290"},{name:"Saint Kitts and Nevis",iso2:"KN",iso3:"KNA",phone:"+1869"},{name:"Saint Lucia",iso2:"LC",iso3:"LCA",phone:"+1758"},{name:"Saint Martin (French part)",iso2:"MF",iso3:"MAF",phone:"+590"},{name:"Saint Pierre and Miquelon",iso2:"PM",iso3:"SPM",phone:"+508"},{name:"Saint Vincent and the Grenadines",iso2:"VC",iso3:"VCT",phone:"+1784"},{name:"San Marino",iso2:"SM",iso3:"SMR",phone:"+378"},{name:"Sao Tome and Principe",iso2:"ST",iso3:"STP",phone:"+239"},{name:"Saudi Arabia",iso2:"SA",iso3:"SAU",phone:"+966"},{name:"Senegal",iso2:"SN",iso3:"SEN",phone:"+221"},{name:"Serbia",iso2:"RS",iso3:"SRB",phone:"+381"},{name:"Seychelles",iso2:"SC",iso3:"SYC",phone:"+248"},{name:"Sierra Leone",iso2:"SL",iso3:"SLE",phone:"+232"},{name:"Singapore",iso2:"SG",iso3:"SGP",phone:"+65"},{name:"Sint Maarten",iso2:"SX",iso3:"SXM",phone:"+1721"},{name:"Slovakia",iso2:"SK",iso3:"SVK",phone:"+421"},{name:"Slovenia",iso2:"SI",iso3:"SVN",phone:"+386"},{name:"Solomon Islands",iso2:"SB",iso3:"SLB",phone:"+677"},{name:"Somalia",iso2:"SO",iso3:"SOM",phone:"+252"},{name:"South Africa",iso2:"ZA",iso3:"ZAF",phone:"+27"},{name:"South Georgia and the South Sandwich Islands",iso2:"GS",iso3:"SGS",phone:"+500"},{name:"South Korea",iso2:"KR",iso3:"KOR",phone:"+82"},{name:"South Sudan",iso2:"SS",iso3:"SSD",phone:"+211"},{name:"Spain",iso2:"ES",iso3:"ESP",phone:"+34"},{name:"Sri Lanka",iso2:"LK",iso3:"LKA",phone:"+94"},{name:"Sudan",iso2:"SD",iso3:"SDN",phone:"+249"},{name:"Suriname",iso2:"SR",iso3:"SUR",phone:"+597"},{name:"Svalbard and Jan Mayen",iso2:"SJ",iso3:"SJM",phone:"+47"},{name:"Swaziland",iso2:"SZ",iso3:"SWZ",phone:"+268"},{name:"Sweden",iso2:"SE",iso3:"SWE",phone:"+46"},{name:"Switzerland",iso2:"CH",iso3:"CHE",phone:"+41"},{name:"Syria",iso2:"SY",iso3:"SYR",phone:"+963"},{name:"Taiwan",iso2:"TW",iso3:"TWN",phone:"+886"},{name:"Tajikistan",iso2:"TJ",iso3:"TJK",phone:"+992"},{name:"Tanzania",iso2:"TZ",iso3:"TZA",phone:"+255"},{name:"Thailand",iso2:"TH",iso3:"THA",phone:"+66"},{name:"Togo",iso2:"TG",iso3:"TGO",phone:"+228"},{name:"Tokelau",iso2:"TK",iso3:"TKL",phone:"+690"},{name:"Tonga",iso2:"TO",iso3:"TON",phone:"+676"},{name:"Trinidad and Tobago",iso2:"TT",iso3:"TTO",phone:"+1868"},{name:"Tunisia",iso2:"TN",iso3:"TUN",phone:"+216"},{name:"Turkey",iso2:"TR",iso3:"TUR",phone:"+90"},{name:"Turkmenistan",iso2:"TM",iso3:"TKM",phone:"+993"},{name:"Turks and Caicos",iso2:"TC",iso3:"TCA",phone:"+1649"},{name:"Tuvalu",iso2:"TV",iso3:"TUV",phone:"+688"},{name:"Uganda",iso2:"UG",iso3:"UGA",phone:"+256"},{name:"Ukraine",iso2:"UA",iso3:"UKR",phone:"+380"},{name:"United Arab Emirates",iso2:"AE",iso3:"ARE",phone:"+971"},{name:"United Kingdom",iso2:"GB",iso3:"GBR",phone:"+44",phoneFormat:"**** *** ***"},{name:"United States Minor Outlying Islands",iso2:"UM",iso3:"UMI",phone:"+1"},{name:"United States of America",iso2:"US",iso3:"USA",phone:"+1"},{name:"Uruguay",iso2:"UY",iso3:"URY",phone:"+598"},{name:"Uzbekistan",iso2:"UZ",iso3:"UZB",phone:"+998"},{name:"Vanuatu",iso2:"VU",iso3:"VUT",phone:"+678"},{name:"Venezuela",iso2:"VE",iso3:"VEN",phone:"+58"},{name:"Vietnam",iso2:"VN",iso3:"VNM",phone:"+84"},{name:"Virgin Islands (U.S.)",iso2:"VI",iso3:"VIR",phone:"+1340"},{name:"Wallis and Futuna",iso2:"WF",iso3:"WLF",phone:"+681"},{name:"Western Sahara",iso2:"EH",iso3:"ESH",phone:"+212"},{name:"Western Samoa",iso2:"WS",iso3:"WSM",phone:"+685"},{name:"Yemen",iso2:"YE",iso3:"YEM",phone:"+967"},{name:"Zambia",iso2:"ZM",iso3:"ZMB",phone:"+260"},{name:"Zimbabwe",iso2:"ZW",iso3:"ZWE",phone:"+263"}],Rh=function(e,t){return Dl(e)?0<e.filter(function(e){return 0===Ih(e).indexOf(Ih(t))}).length:0===Ih(e).indexOf(Ih(t))},Ih=function(e){return e.toLowerCase().replace("+","")},_h=/^$|^(\+)|([\d]+)/g;function Mh(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function jh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mh(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mh(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Uh(e){return e=e.reduce(function(e,t){var n,r=t.name,o=t.iso2,a=t.iso3,i=t.phone;return e[i]?(n=e[i],e[i]=jh(jh({},n),{},{name:Dl(n.name)?[].concat(K(n.name),[r]):[n.name,r],iso2:Dl(n.iso2)?[].concat(K(n.iso2),[o]):[n.iso2,o],iso3:Dl(n.iso3)?[].concat(K(n.iso3),[a]):[n.iso3,a]})):e[i]=t,e},{}),Object.values(e)}function Bh(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}var Fh=/^$|^[\d-\s]+$/,e=function(e){var t,n=e.id,r=e.onChange,o=e.searchPlaceholder,a=e.disabled,i=e.required,l=e.size,s=e.placeholder,u=e.onFocus,c=e.onBlur,p=e.countryCode,d=e.selectProps,f=ie.useIntl().locale,h=oe.useState((t=(t=e.initialValue)?Ph(t):null)&&Dh(t)?Ah(t):{prefix:function(e,t){e=xh(t)||xh(C(e))||xh(e);return(null==e?void 0:e.phone)||"+44"}(f,p),suffix:""}),h=fe(h,2),m=h[0],g=h[1],h=oe.useState(null),h=fe(h,2),y=h[0],b=h[1],h=oe.useState(""),h=fe(h,2),v=h[0],O=h[1],w=Uh(kh(Lh,"iso3")),E=Uh(kh(Lh,"phone")),T=Nh(/^\+?[\d-\s]+$/.test(v)?E:w,v).map(function(e){var t=e.phone,n=e.iso3,r=e.iso2,e="";return n?e=Dl(n)?n.join(", "):n:r&&(e=Dl(r)?r.join(", "):r),{value:t,label:t,note:e}});return oe.useEffect(function(){if(null===y)return b(m);var e=m.prefix+m.suffix;e!==y.prefix+y.suffix&&(e=Dh(e)?Ph(e):null,r(e),b(m))},[r,y,m]),pe("div",{className:"tw-telephone",children:[ce("div",{className:"tw-telephone__country-select",children:ce(vp,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Bh(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bh(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({id:n?"".concat(n,"-select"):void 0,options:T,selected:{value:m.prefix,label:m.prefix},placeholder:"Select an option...",searchPlaceholder:o,dropdownWidth:re.Size.SMALL,searchValue:v,required:i,disabled:a,size:l,onChange:function(e){e=e.value;O(""),g({prefix:e,suffix:m.suffix})},onSearchChange:function(e){return O(e)}},d))}),ce("div",{className:"tw-telephone__number-input",children:ce("div",{className:"input-group input-group-".concat(l),children:ce("input",{id:n,name:"phoneNumber",inputMode:"numeric",value:m.suffix,type:"text",className:"form-control",disabled:a,required:i,placeholder:s,onChange:function(e){e=e.target.value,e=void 0===e?"":e;Fh.test(e)&&g({prefix:m.prefix,suffix:e})},onPaste:function(e){var t;e.nativeEvent.clipboardData&&(e=(e.nativeEvent.clipboardData.getData("text/plain")||"").replace(/(\s|-)+/g,""),e=Ah(e),t=e.prefix,e=e.suffix,T.find(function(e){return e.value===t})&&Fh.test(e)&&g({prefix:t,suffix:e}))},onFocus:u,onBlur:c})})})]})};function qh(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}e.propTypes={id:l.default.string,required:l.default.bool,disabled:l.default.bool,initialValue:l.default.string,onChange:l.default.func.isRequired,onFocus:l.default.func,onBlur:l.default.func,countryCode:l.default.string,searchPlaceholder:l.default.string,size:l.default.oneOf(["sm","md","lg"]),placeholder:l.default.string,selectProps:l.default.object},e.defaultProps={id:null,required:!1,disabled:!1,initialValue:null,onFocus:function(){},onBlur:function(){},countryCode:null,searchPlaceholder:"Prefix",size:re.Size.MEDIUM,placeholder:"",selectProps:{}};var zh={xs:11,sm:22,xl:61},Gh=1500,Vh=function(e){Ap(r,e);var t=qh(r);function r(e){var n;return u(this,r),n=t.call(this,e),le(Cp(n),"runCallBack",function(e){var t=n.props.onAnimationCompleted;t&&(n.timeouts=setTimeout(function(){t(e)},Gh))}),n.state={status:e.status,size:e.size},n.interval=null,n.timeout=null,n}return s(r,[{key:"componentDidMount",value:function(){var o=this;this.interval=setInterval(function(){var e=o.state.status,t=o.state.size,n=o.props.status,r=o.props.size;e!==n&&o.setState({status:n},o.runCallBack(n)),t!==r&&o.setState({size:r})},Gh)}},{key:"shouldComponentUpdate",value:function(e,t){var n=e.status===t.status,t=e.size===t.size;return n&&t}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval),clearTimeout(this.timeout)}},{key:"render",value:function(){var e=this.props,t=e.className,n=e["data-testid"],r=this.state,e=r.size,r=r.status,t=se("process process-".concat(e),t,(le(t={},"process-danger",r===re.Status.FAILED),le(t,"process-stopped",r===re.Status.HIDDEN),le(t,"process-success",r===re.Status.SUCCEEDED),t));return pe("span",{className:t,"data-testid":n,children:[pe("span",{className:"process-icon-container",children:[ce("span",{className:"process-icon-horizontal"}),ce("span",{className:"process-icon-vertical"})]}),ce("svg",{xmlns:"http://www.w3.org/2000/svg",children:ce("circle",{className:"process-circle",cx:"50%",cy:"50%",r:zh[this.state.size],fillOpacity:"0.0"})})]})}}]),r}(oe.Component);function Hh(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Yh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Hh(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hh(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}Vh.propTypes={status:l.default.oneOf(["processing","failed","succeeded","hidden"]),size:l.default.oneOf(["xs","sm","xl"]),onAnimationCompleted:l.default.func,className:l.default.string,"data-testid":l.default.string},Vh.defaultProps={status:re.Status.PROCESSING,size:re.Size.SMALL,onAnimationCompleted:null,className:void 0,"data-testid":null};function Wh(e){var t=e.className,n=e.id,r=e.progress,o=oe.useState(0),o=(e=fe(o,2))[0],a=e[1];return oe.useEffect(function(){a(r.value)}),pe("progress",Yh(Yh({id:n,className:se("np-progress d-block",t)},r),{},{value:o,children:[o,"%"]}))}function Kh(e){var t=e.locale,e=e.children;return ce(Zh.Provider,{value:t,children:e})}var Zh=oe.createContext(g),Xh={"neptune.Chips.ariaLabel":"Clear {choice}","neptune.ClearButton.ariaLabel":"Clear","neptune.CloseButton.ariaLabel":"Close","neptune.DateInput.day.label":"Day","neptune.DateInput.month.label":"Month","neptune.DateInput.year.label":"Year","neptune.MoneyInput.Select.placeholder":"Select an option...","neptune.Pagination.ariaLabel":"Pagination navigation","neptune.PaginationLink.ariaLabel.active":"Go to page {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Current page, page {pageNumber}","neptune.Select.searchPlaceholder":"Search...","neptune.Summary.statusDone":"Item done","neptune.Summary.statusNotDone":"Item to do","neptune.Summary.statusPending":"Item pending","neptune.Upload.csButtonText":"Upload another file?","neptune.Upload.csFailureText":"Upload failed. Please, try again","neptune.Upload.csSuccessText":"Upload complete!","neptune.Upload.csTooLargeMessage":"Please provide a file smaller than 5MB","neptune.Upload.csWrongTypeMessage":"File type not supported. Please try again with a different file","neptune.Upload.psButtonText":"Cancel","neptune.Upload.psProcessingText":"Uploading...","neptune.Upload.usButtonText":"Or select a file","neptune.Upload.usDropMessage":"Drop file to start upload","neptune.Upload.usPlaceholder":"Drag and drop a file less than 5MB","neptune.UploadButton.allFileTypes":"All file types","neptune.UploadButton.dropFiles":"Drop file to start upload","neptune.UploadButton.instructions":"{fileTypes}, less than {size}MB","neptune.UploadButton.uploadFile":"Upload file","neptune.UploadButton.uploadFiles":"Upload files","neptune.UploadInput.deleteModalBody":"Removing this file will delete it from our system.","neptune.UploadInput.deleteModalCancelButtonText":"Cancel","neptune.UploadInput.deleteModalConfirmButtonText":"Remove","neptune.UploadInput.deleteModalTitle":"Sure you want to remove this file?","neptune.UploadInput.fileIsTooLarge":"File is too large","neptune.UploadInput.fileTypeNotSupported":"File type not supported","neptune.UploadInput.maximumFilesAlreadyUploaded":"Sorry, this upload failed because we can only accept {maxFilesAllowed} files at once.","neptune.UploadItem.deleting":"Deleting...","neptune.UploadItem.removeFile":"Remove file {filename}","neptune.UploadItem.uploaded":"Uploaded","neptune.UploadItem.uploadedFile":"Uploaded file","neptune.UploadItem.uploading":"Uploading...","neptune.UploadItem.uploadingFailed":"Uploading failed"};function $h(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Jh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?$h(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$h(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}gn=function(e){var t=e.i18n,n=e.children,r=t.locale,o=t.messages,e=t.defaultRichTextElements,t=O(r),o=null===t?(console.warn("Unsupported locale value was provided: '".concat(r,"', defaulting to '").concat(g,"'")),{locale:g,messages:Jh(Jh({},Xh),o)}):{locale:t,messages:o};return ce(Os,{direction:w(r),children:ce(Kh,{locale:r,children:ce(ie.IntlProvider,{defaultLocale:g,locale:o.locale,messages:o.messages,defaultRichTextElements:e,children:n})})})};gn.propTypes={i18n:l.default.shape({locale:l.default.string.isRequired,messages:l.default.shape({}).isRequired,defaultRichTextElements:l.default.shape({})}).isRequired,children:l.default.node},gn.defaultProps={children:void 0};function Qh(e){var t=e.id,n=e.value,r=e.name,o=e.checked,a=e.onChange,i=e.disabled,e=e.readOnly;return pe(M,{children:[ce("input",{type:"radio",className:"sr-only",id:t,value:n,name:r,checked:o,disabled:i||e,onChange:function(){return o?null:a(n)}}),ce("span",{className:se("tw-radio-button",{checked:o,disabled:i||e}),children:ce("span",{className:"tw-radio-check"})})]})}Qh.propTypes={id:l.default.string,name:l.default.string.isRequired,checked:l.default.bool,onChange:l.default.func,disabled:l.default.bool,value:l.default.oneOfType([l.default.number,l.default.string]),readOnly:l.default.bool},Qh.defaultProps={checked:!1,onChange:function(){},disabled:!1,id:null,value:"",readOnly:!1};var em=["label","id","disabled","className","avatar","secondary"];function tm(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function nm(e){var t=e.label,n=e.id,r=e.disabled,o=e.className,a=e.avatar,i=e.secondary,l=b(e,em),e=ae.useTheme().isModern;return ce("div",{className:se("radio np-radio",{"radio-lg":i,disabled:e&&r},o),children:pe("label",{className:se({disabled:r}),htmlFor:n,children:[ce("span",{className:se(e?"m-r-2":"p-r-2","np-radio-button"),children:ce(Qh,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?tm(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tm(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({id:n,disabled:r},l))}),pe(z,{as:"span",type:i?re.Typography.BODY_LARGE_BOLD:re.Typography.BODY_LARGE,className:"np-radio__text",children:[t,i&&ce(z,{as:"span",className:se({secondary:!e}),children:i})]}),a&&ce("span",{className:"np-radio__avatar m-l-auto",children:a})]})})}function rm(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}nm.propTypes={avatar:l.default.element,checked:l.default.bool,disabled:l.default.bool,id:l.default.string,label:l.default.string.isRequired,name:l.default.string.isRequired,onChange:l.default.func.isRequired,secondary:l.default.string,value:l.default.oneOfType([l.default.number,l.default.string]),className:l.default.string},nm.defaultProps={avatar:void 0,checked:!1,disabled:!1,id:null,secondary:null,value:"",className:void 0};hn=function(e){Ap(r,e);var t=rm(r);function r(e){var n;return u(this,r),n=t.call(this,e),le(Cp(n),"handleOnChange",function(e){var t=n.props.onChange;n.setState({selectedValue:e},t&&t(e))}),n.state={selectedValue:e.selectedValue},n}return s(r,[{key:"render",value:function(){var s=this,e=this.props,t=e.radios,u=e.name,c=this.state.selectedValue;return t&&1<t.length?ce(M,{children:t.map(function(e,t){var n=e.id,r=e.avatar,o=e.value,a=e.label,i=e.disabled,l=e.secondary,e=e.readOnly;return ce(nm,{id:n,value:o,label:a,name:u,disabled:i,checked:c===o,secondary:l,readOnly:e,avatar:r,onChange:function(e){return s.handleOnChange(e)}},t)})}):null}}]),r}(oe.Component);function om(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function am(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?om(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):om(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}hn.propTypes={radios:l.default.arrayOf(l.default.shape({id:l.default.string,avatar:l.default.element,value:l.default.oneOfType([l.default.number,l.default.string]),secondary:l.default.string,label:l.default.string.isRequired,disabled:l.default.bool,readOnly:l.default.bool})).isRequired,onChange:l.default.func.isRequired,selectedValue:l.default.oneOfType([l.default.number,l.default.string]),name:l.default.string.isRequired},hn.defaultProps={selectedValue:null};fa=function(e){var t=e["aria-label"],n=e.media,r=e.title,o=e.content,a=e.id,i=e.name,l=e.checked,s=e.onChange,u=e.complex,c=e.disabled,p=e.value,d=e.showMediaCircle,f=e.showMediaAtAllSizes,e=e.isContainerAligned;return ce(ge,am(am({},{"aria-label":t,media:n,title:r,content:o,name:i,complex:u,disabled:c,showMediaCircle:d,showMediaAtAllSizes:f,isContainerAligned:e}),{},{button:ce(Qh,{id:a,name:i,checked:l,disabled:c,value:p,onChange:s})}))};fa.propTypes={"aria-label":l.default.string,media:l.default.node,id:l.default.string.isRequired,name:l.default.string.isRequired,title:l.default.node.isRequired,content:l.default.node,checked:l.default.bool,onChange:l.default.func.isRequired,complex:l.default.bool,disabled:l.default.bool,value:l.default.string,showMediaCircle:l.default.bool,showMediaAtAllSizes:l.default.bool,isContainerAligned:l.default.bool},fa.defaultProps={"aria-label":void 0,media:null,content:null,checked:!1,complex:!1,disabled:!1,showMediaCircle:!0,showMediaAtAllSizes:!1,isContainerAligned:!1,value:""};function im(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}Qe=function(e){Ap(r,e);var n=im(r);function r(){var t;return u(this,r),t=n.call(this),le(Cp(t),"bodyRef",oe.createRef()),le(Cp(t),"setLeaveTimeout",function(){var e=t.props.timeout;t.timeout=setTimeout(function(){t.setState({visible:!1})},e)}),t.state={visible:!1,text:""},t}return s(r,[{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),clearTimeout(this.transitionTimeout)}},{key:"shouldComponentUpdate",value:function(e,t){return!!e.text&&(e.timestamp!==this.props.timestamp||t.visible!==this.state.visible||t.text!==this.state.text)}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,r=n.action,o=n.text,a=n.theme,n=n.timestamp;e.text?e.timestamp!==n&&(clearTimeout(this.timeout),this.state.visible?this.setState({visible:!1},function(){t.transitionTimeout=setTimeout(function(){t.setState({visible:!0,action:r,text:o,theme:a}),t.setLeaveTimeout()},400)}):(this.setState({visible:!0,action:r,text:o,theme:a}),this.setLeaveTimeout())):this.setState({visible:!0,action:r,text:o,theme:a},function(){t.setLeaveTimeout()})}},{key:"render",value:function(){var e=this.state,t=e.action,n=e.text,r=e.theme,o=e.visible,e=this.props.timeout;return ce("div",{className:"snackbar",children:ce(Xo,{nodeRef:this.bodyRef,in:o,classNames:"snackbar__text-container",timeout:{appear:0,enter:e,exit:400},unmountOnExit:!0,children:pe(z,{ref:this.bodyRef,as:"span",className:"snackbar__text snackbar__text--".concat(r),children:[n,t?ce(Te,{className:"snackbar__text__action",onClick:t.onClick,children:t.label}):null]})})})}}]),r}(oe.Component);Qe.contextType=Cs,Qe.propTypes={action:l.default.shape({label:l.default.string.isRequired,onClick:l.default.func.isRequired}),text:l.default.node.isRequired,theme:l.default.oneOf(["light","dark"]),timeout:l.default.number.isRequired,timestamp:l.default.number.isRequired},Qe.defaultProps={action:null,theme:re.Theme.LIGHT};var lm=Ns(Qe),sm=oe.createContext(),Ct=sm.Consumer;function um(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}Je=function(e){Ap(n,e);var t=um(n);function n(){var r;return u(this,n),r=t.call(this),le(Cp(r),"create",function(e){var t=e.action,n=e.text,e=e.theme;r.setState({action:t,text:n,theme:e,timestamp:Date.now()})}),r.state={text:"",timestamp:0},r}return s(n,[{key:"render",value:function(){var e=this.state,t=e.action,n=e.text,r=e.theme,e=e.timestamp;return pe(sm.Provider,{value:{createSnackbar:this.create},children:[ce(lm,{action:t,text:n,timestamp:e,timeout:this.props.timeout,theme:r}),this.props.children]})}}]),n}(oe.Component);Je.propTypes={children:l.default.node.isRequired,timeout:l.default.number},Je.defaultProps={timeout:4500};$e=function(e){var t=e.open,n=e.position,e=e.children;return ce(Us,{open:t,position:n,slidingPanelPositionFixed:!0,showSlidingPanelBorder:!0,children:e})};$e.propTypes={open:l.default.bool,position:l.default.oneOf(["top","bottom"]),children:l.default.node},$e.defaultProps={open:!0,position:"bottom",children:null};var cm=ie.defineMessages({statusNotDone:{id:"neptune.Summary.statusNotDone"},statusPending:{id:"neptune.Summary.statusPending"},statusDone:{id:"neptune.Summary.statusDone"}}),pm={done:S.CheckCircleFill,pending:S.ClockFill},dm=(le(Pr={},re.Status.NOT_DONE,"statusNotDone"),le(Pr,re.Status.DONE,"statusDone"),le(Pr,re.Status.PENDING,"statusPending"),Pr),fm=(le(gr={},re.Status.DONE,re.Sentiment.POSITIVE),le(gr,re.Status.PENDING,re.Sentiment.PENDING),gr),Qe=new Date("03-01-2021"),Pr=function(e){var t,n=e.action,r=e.as,o=e.className,a=e.content,i=e.description,l=void 0===i?a:i,s=e.help,u=e.icon,c=e.illustration,p=e.info,a=void 0===p?s:p,i=e.status,s=e.title,p=ae.useTheme().isModern,e=ie.useIntl(),c=c;u&&(c=24!==(null==u||null===(t=u.props)||void 0===t?void 0:t.size)?oe.cloneElement(u,{size:24}):u);u=i&&pm[i];return pe(r,{className:se("np-summary d-flex align-items-start",o),"aria-label":i&&e.formatMessage(cm[dm[i]]),children:[pe("div",{className:"np-summary__icon",children:[c,u&&(p?ce("div",{children:ce(Me,{size:re.Size.SMALL,sentiment:fm[i]})}):ce(u,{size:16,className:"np-summary-icon__".concat(i)}))]}),pe("div",{className:"np-summary__body m-l-2",children:[pe("div",{className:"np-summary__title d-flex",children:[ce(z,{as:"span",type:re.Typography.BODY_LARGE_BOLD,className:"text-primary m-b-1",children:s}),a&&ce(Vf,{"aria-label":a["aria-label"],className:"m-l-1 hidden-xs",content:a.content,presentation:a.presentation,size:p?re.Size.LARGE:re.Size.SMALL,title:a.title,onClick:a.onClick})]}),l&&ce(z,{as:"span",type:re.Typography.BODY_DEFAULT,className:"d-block np-summary__description",children:l}),n&&ce(_e,{href:n.href,target:n.target,className:"np-summary__action","aria-label":n["aria-label"],onClick:n.onClick,children:n.text})]}),a&&ce(Vf,{"aria-label":a["aria-label"],className:"m-l-2 hidden-sm hidden-md hidden-lg hidden-xl",content:a.content,presentation:a.presentation,size:p?re.Size.LARGE:re.Size.SMALL,title:a.title,onClick:a.onClick})]})};Pr.propTypes={action:l.default.shape({text:l.default.node.isRequired,href:l.default.string.isRequired,"aria-label":l.default.string,target:l.default.string,onClick:l.default.func}),as:l.default.string,className:l.default.string,content:Be(l.default.node,{component:"Summary",newProp:"description",expiryDate:Qe}),description:l.default.node,help:Be(l.default.shape({content:l.default.node.isRequired,title:l.default.node}),{component:"Summary",newProp:"info",expiryDate:Qe}),info:l.default.shape({"aria-label":l.default.string.isRequired,content:l.default.node.isRequired,onClick:l.default.func,presentation:l.default.oneOf(["POPOVER","MODAL"]),title:l.default.node}),illustration:Be(l.default.node,{component:"Summary",newProp:"icon",expiryDate:Qe}),icon:xe(l.default.node,function(e){return!e.illustration}),status:l.default.oneOf(["notDone","done","pending"]),title:l.default.node.isRequired},Pr.defaultProps={action:null,as:"div",className:null,content:null,help:null,illustration:null,status:null};function hm(e){var t=ae.useTheme().isModern,n=e.checked,r=e.className,o=e.id,a=e.onClick,i=e.disabled,l=e["aria-label"],e=l?void 0:e["aria-labelledby"];return Ue("Switch now expects either `aria-label` or `aria-labelledby`, and will soon make these props required. Please update your usage to provide one or the other.",!l&&!e),pe("span",{className:se("np-switch",{"np-switch--unchecked":!n,"np-switch--checked":n,disabled:i},r),tabIndex:0,role:"switch","aria-checked":n,"aria-label":l,"aria-labelledby":e,id:o,"aria-disabled":i,onClick:i?void 0:a,onKeyDown:i?void 0:function(e){"32"!==e.code&&e.keyCode!==_u.SPACE||(e.preventDefault(),a())},children:[ce("span",t?{className:"np-switch--thumb"}:n?{className:"np-switch--thumb",children:ce(S.CheckCircleFill,{size:24})}:{className:"np-switch--thumb",children:ce(S.CrossCircleFill,{size:24})}),ce("input",{type:"checkbox",checked:n,readOnly:!0})]})}function mm(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function gm(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?mm(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):mm(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var ym=NaN,bm="[object Symbol]",vm=/^\s+|\s+$/g,Om=/^[-+]0x[0-9a-f]+$/i,wm=/^0b[01]+$/i,Em=/^0o[0-7]+$/i,Tm=parseInt,Sm=Object.prototype.toString;function Cm(e){var t=typeof e;return e&&("object"==t||"function"==t)}function xm(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||!!(n=t)&&"object"==typeof n&&Sm.call(t)==bm)return ym;var t,n;if("string"!=typeof(e=Cm(e)?Cm(r="function"==typeof e.valueOf?e.valueOf():e)?r+"":r:e))return 0===e?e:+e;e=e.replace(vm,"");var r=wm.test(e);return r||Em.test(e)?Tm(e.slice(2),r?2:8):Om.test(e)?ym:+e}var Dm=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=xm(n))==n?n:0),void 0!==t&&(t=(t=xm(t))==t?t:0),e=xm(e),t=t,n=n,e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=t<=e?e:t)),e},Am=o(function(e){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,xp(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports});r(Am);var Nm=o(function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports});r(Nm);gr=o(function(e,t){function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});function r(e){return w=e}function o(e){return h=e}function a(e){return m=e}function i(e){return g=e}function l(t){return Object.keys(t).map(function(e){return t[e]})}var S=n(ke),s=n(Am),u=n(Sp),C=n(Nm),y=n(Ne.default),f=n(Pe.default),c=void 0,p=void 0,w=[],T=function(e){return"undefined"!=typeof window&&window.requestAnimationFrame(e)},d=function(e){return"undefined"!=typeof window&&window.cancelAnimationFrame(e)},h=void 0,x=function(){return Date.now()},m=void 0,g=void 0,b=function(e,t){return p={fn:e,transform:t}},v=function(e){return c=e},O=Object.freeze({get bugfixes(){return c},get applyAnimatedValues(){return p},get colorNames(){return w},get requestFrame(){return T},get cancelFrame(){return d},get interpolation(){return h},get now(){return x},get defaultElement(){return m},get createAnimatedStyle(){return g},injectApplyAnimatedValues:b,injectColorNames:r,injectBugfixes:v,injectInterpolation:o,injectFrame:function(e,t){t=[e,t];return T=t[0],d=t[1],t},injectNow:function(e){return x=e},injectDefaultElement:a,injectCreateAnimatedStyle:i}),D=function(){function e(){}var t=e.prototype;return t.attach=function(){},t.detach=function(){},t.getValue=function(){},t.getAnimatedValue=function(){return this.getValue()},t.addChild=function(e){},t.removeChild=function(e){},t.getChildren=function(){return[]},e}(),E=function(o){function e(){for(var t,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=o.call.apply(o,[this].concat(n))||this).children=[],t.getChildren=function(){return t.children},t.getPayload=function(e){return void 0!==(e=void 0===e?void 0:e)&&t.payload?t.payload[e]:t.payload||u(t)},t}s(e,o);var t=e.prototype;return t.addChild=function(e){0===this.children.length&&this.attach(),this.children.push(e)},t.removeChild=function(e){e=this.children.indexOf(e);this.children.splice(e,1),0===this.children.length&&this.detach()},e}(D),A=function(o){function e(){for(var t,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=o.call.apply(o,[this].concat(n))||this).payload=[],t.getAnimatedValue=function(){return t.getValue()},t.attach=function(){return t.payload.forEach(function(e){return e instanceof D&&e.addChild(u(t))})},t.detach=function(){return t.payload.forEach(function(e){return e instanceof D&&e.removeChild(u(t))})},t}return s(e,o),e}(E),N=function(o){function e(){for(var t,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=o.call.apply(o,[this].concat(n))||this).payload={},t.getAnimatedValue=function(){return t.getValue(!0)},t.attach=function(){return l(t.payload).forEach(function(e){return e instanceof D&&e.addChild(u(t))})},t.detach=function(){return l(t.payload).forEach(function(e){return e instanceof D&&e.removeChild(u(t))})},t}return s(e,o),e.prototype.getValue=function(e){void 0===e&&(e=!1);var t,n={};for(t in this.payload){var r=this.payload[t];(!e||r instanceof D)&&(n[t]=r instanceof D?r[e?"getAnimatedValue":"getValue"]():r)}return n},e}(E),P=function(n){function e(e){var t=n.call(this)||this;return!(e=e||{}).transform||e.transform instanceof D||(e=p.transform(e)),t.payload=e,t}return s(e,n),e}(N),k={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},L=function(){function u(){}return u.create=function(e,t,n){if("function"==typeof e)return e;if(h&&e.output&&"string"==typeof e.output[0])return h(e);if(Array.isArray(e))return u.create({range:e,output:t,extrapolate:n||"extend"});var r=e.output,o=e.range||[0,1],a=e.easing||function(e){return e},i="extend",l=e.map;void 0!==e.extrapolateLeft?i=e.extrapolateLeft:void 0!==e.extrapolate&&(i=e.extrapolate);var s="extend";return void 0!==e.extrapolateRight?s=e.extrapolateRight:void 0!==e.extrapolate&&(s=e.extrapolate),function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,o,a,i,l,s){s=s?s(e):e;if(s<t){if("identity"===i)return s;"clamp"===i&&(s=t)}if(n<s){if("identity"===l)return s;"clamp"===l&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=a(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,o[t],o[t+1],r[t],r[t+1],a,i,s,l)}},u}();var R="[-+]?\\d*\\.?\\d+",I=R+"%";function _(){return"\\(\\s*("+Array.prototype.slice.call(arguments).join(")\\s*,\\s*(")+")\\s*\\)"}var M=new RegExp("rgb"+_(R,R,R)),j=new RegExp("rgba"+_(R,R,R,R)),U=new RegExp("hsl"+_(R,I,I)),B=new RegExp("hsla"+_(R,I,I,R)),F=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,q=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,z=/^#([0-9a-fA-F]{6})$/,G=/^#([0-9a-fA-F]{8})$/;function V(e,t,n){return n<0&&(n+=1),1<n&&--n,n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function H(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,t=V(o,r,e+1/3),n=V(o,r,e),e=V(o,r,e-1/3);return Math.round(255*t)<<24|Math.round(255*n)<<16|Math.round(255*e)<<8}function Y(e){e=parseInt(e,10);return e<0?0:255<e?255:e}function W(e){return(parseFloat(e)%360+360)%360/360}function K(e){e=parseFloat(e);return e<0?0:1<e?255:Math.round(255*e)}function Z(e){e=parseFloat(e);return e<0?0:100<e?1:e/100}function X(e){var t,n,n="number"==typeof(t=e)?t>>>0===t&&0<=t&&t<=4294967295?t:null:(n=z.exec(t))?parseInt(n[1]+"ff",16)>>>0:k.hasOwnProperty(t)?k[t]:(n=M.exec(t))?(Y(n[1])<<24|Y(n[2])<<16|Y(n[3])<<8|255)>>>0:(n=j.exec(t))?(Y(n[1])<<24|Y(n[2])<<16|Y(n[3])<<8|K(n[4]))>>>0:(n=F.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=G.exec(t))?parseInt(n[1],16)>>>0:(n=q.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=U.exec(t))?(255|H(W(n[1]),Z(n[2]),Z(n[3])))>>>0:(n=B.exec(t))?(H(W(n[1]),Z(n[2]),Z(n[3]))|K(n[4]))>>>0:null;return null===n?e:"rgba("+((4278190080&(n=n||0))>>>24)+", "+((16711680&n)>>>16)+", "+((65280&n)>>>8)+", "+(255&n)/255+")"}var $=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,J=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Q=new RegExp("("+Object.keys(k).join("|")+")","g");var ee=function(o){function a(e,t,n){var r=o.call(this)||this;return r.getValue=function(){return r.calc.apply(r,r.payload.map(function(e){return e.getValue()}))},r.updateConfig=function(e,t){return r.calc=L.create(e,t)},r.interpolate=function(e,t){return new a(u(r),e,t)},r.payload=e instanceof A&&!e.updateConfig?e.payload:Array.isArray(e)?e:[e],r.calc=L.create(t,n),r}return s(a,o),a}(A);var te=function(t){function e(e){var n=t.call(this)||this;return n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.getValue=function(){return n.value},n.updateStyles=function(){return function t(e,n){"function"==typeof e.update?n.add(e):e.getChildren().forEach(function(e){return t(e,n)})}(u(n),n.animatedStyles)},n.updateValue=function(e){return n.flush(n.value=e)},n.interpolate=function(e,t){return new ee(u(n),e,t)},n.value=e,n.animatedStyles=new Set,n.done=!1,n.startPosition=e,n.lastPosition=e,n.lastVelocity=void 0,n.lastTime=void 0,n.controller=void 0,n}s(e,t);var n=e.prototype;return n.flush=function(){0===this.animatedStyles.size&&this.updateStyles(),this.animatedStyles.forEach(function(e){return e.update()})},n.prepare=function(e){void 0===this.controller&&(this.controller=e),this.controller===e&&(this.startPosition=this.value,this.lastPosition=this.value,this.lastVelocity=e.isActive?this.lastVelocity:void 0,this.lastTime=e.isActive?this.lastTime:void 0,this.done=!1,this.animatedStyles.clear())},e}(E),ne=function(t){function e(e){var o=t.call(this)||this;return o.setValue=function(n,r){void 0===r&&(r=!0),Array.isArray(n)?n.length===o.payload.length&&n.forEach(function(e,t){return o.payload[t].setValue(e,r)}):o.payload.forEach(function(e,t){return o.payload[t].setValue(n,r)})},o.getValue=function(){return o.payload.map(function(e){return e.getValue()})},o.interpolate=function(e,t){return new ee(u(o),e,t)},o.payload=e.map(function(e){return new te(e)}),o}return s(e,t),e}(A);function re(e,t){return null==e?t:e}function oe(e){return void 0!==e?Array.isArray(e)?e:[e]:[]}function ae(e,t){if(typeof e==typeof t){if("string"==typeof e||"number"==typeof e)return e===t;for(var n in e)if(!(n in t))return;for(n in t)if(e[n]!==t[n])return;return void 0!==n||e===t}}function ie(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e}function le(t){return Object.keys(t).map(function(e){return t[e]})}function se(n){var r=(n.to,n.from,n.config,n.native,n.onStart,n.onRest,n.onFrame,n.children,n.reset,n.reverse,n.force,n.immediate,n.impl,n.inject,n.delay,n.attach,n.destroyed,n.interpolateTo,n.autoStart,n.ref,S(n,["to","from","config","native","onStart","onRest","onFrame","children","reset","reverse","force","immediate","impl","inject","delay","attach","destroyed","interpolateTo","autoStart","ref"])),e=Object.keys(n).reduce(function(e,t){return void 0!==r[t]?e:C({},e,((e={})[t]=n[t],e))},{});return C({to:r},e)}function ue(e,t){var n=t[0],t=t[1];return C({},e,((e={})[n]=new(Array.isArray(t)?ne:te)(t),e))}function ce(e){var t=e.from,n=e.to,r=e.native,e=Object.entries(C({},t,n));return r?e.reduce(ue,{}):C({},t,n)}function pe(e,t){return t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e}function de(e){return"auto"===e}var fe={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","Ms","Moz","O"];var fe=Object.keys(fe).reduce(function(t,n){return he.forEach(function(e){return t[e+(e=n).charAt(0).toUpperCase()+e.substring(1)]=t[n]}),t},fe),me={};i(function(e){return new P(e)}),a("div"),o(function(n){var r=n.output.map(function(e){return e.replace(J,X)}).map(function(e){return e.replace(Q,X)}),o=r[0].match($).map(function(){return[]});r.forEach(function(e){e.match($).forEach(function(e,t){return o[t].push(+e)})});var a=r[0].match($).map(function(e,t){return L.create(C({},n,{output:o[t]}))});return function(e){var t=0;return r[0].replace($,function(){return a[t++](e)}).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,function(e,t,n,r,o){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+o+")"})}}),r(k),v(function(u,c){var p=u.from,d=u.to,e=u.children;if(le(d).some(de)||le(p).some(de)){var t=e(ce(u));if(t){e=(t=Array.isArray(t)?{type:"div",props:{children:t}}:t).props.style;return y.createElement(t.type,C({key:t.key||void 0},t.props,{style:C({},e,{position:"absolute",visibility:"hidden"}),ref:function(e){var t,n,r,o,a,i,l,s;e&&(t=f.findDOMNode(e),i="border-box"===(n=getComputedStyle(t)).boxSizing?(a=t.offsetWidth,t.offsetHeight):(r=parseFloat(n.paddingLeft||0)+parseFloat(n.paddingRight||0),o=parseFloat(n.paddingTop||0)+parseFloat(n.paddingBottom||0),e=parseFloat(n.borderLeftWidth||0)+parseFloat(n.borderRightWidth||0),i=parseFloat(n.borderTopWidth||0)+parseFloat(n.borderBottomWidth||0),a=t.offsetWidth-r-e,t.offsetHeight-o-i),l=a,s=i,i=function(e,t){var n=t[0],t=t[1];return C({},e,((e={})[n]="auto"===t?~n.indexOf("height")?s:l:t,e))},c(C({},u,{from:Object.entries(p).reduce(i,p),to:Object.entries(d).reduce(i,d)})))}}))}}}),b(function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n,r,o,a,i,l,s=t.style,u=t.children,c=t.scrollTop,p=t.scrollLeft,d=S(t,["style","children","scrollTop","scrollLeft"]);for(n in void 0!==c&&(e.scrollTop=c),void 0!==p&&(e.scrollLeft=p),void 0!==u&&(e.textContent=u),s)s.hasOwnProperty(n)&&(r=0===n.indexOf("--"),i=s[a=n],l=r,i=null==i||"boolean"==typeof i||""===i?"":l||"number"!=typeof i||0===i||fe.hasOwnProperty(a)&&fe[a]?(""+i).trim():i+"px","float"===n&&(n="cssFloat"),r?e.style.setProperty(n,i):e.style[n]=i);for(o in d){var f=me[o]||(me[o]=o.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}));void 0!==e.getAttribute(f)&&e.setAttribute(f,d[o])}},function(e){return e});function ge(){for(var e,t=x(),n=ve,r=Array.isArray(n),o=0,n=r?n:n[Symbol.iterator]();;){if(r){if(o>=n.length)break;e=n[o++]}else{if((o=n.next()).done)break;e=o.value}for(var a=e,i=!0,l=!0,s=0;s<a.configs.length;s++){for(var u=a.configs[s],c=void 0,p=void 0,d=0;d<u.animatedValues.length;d++){var f=u.animatedValues[d];if(!f.done){var h=u.fromValues[d],m=u.toValues[d],g=f.lastPosition,y=m instanceof D,b=Array.isArray(u.initialVelocity)?u.initialVelocity[d]:u.initialVelocity;if(y&&(m=m.getValue()),u.immediate||!y&&!u.decay&&h===m)f.updateValue(m),f.done=!0;else if(u.delay&&t-a.startTime<u.delay)i=!1;else if(l=!1,"string"!=typeof h&&"string"!=typeof m){if(void 0!==u.duration)g=h+u.easing((t-a.startTime-u.delay)/u.duration)*(m-h),c=t>=a.startTime+u.delay+u.duration;else if(u.decay)g=h+b/(1-.998)*(1-Math.exp(-(1-.998)*(t-a.startTime))),(c=Math.abs(f.lastPosition-g)<.1)&&(m=g);else{p=void 0!==f.lastTime?f.lastTime:t,b=void 0!==f.lastVelocity?f.lastVelocity:u.initialVelocity,p+64<t&&(p=t);for(var v=Math.floor(t-p),O=0;O<v;++O)g+=+(b+=(-u.tension*(g-m)+-u.friction*b)/u.mass/1e3)/1e3;var w=!(!u.clamp||0===u.tension)&&(h<m?m<g:g<m),E=Math.abs(b)<=u.precision,h=0===u.tension||Math.abs(m-g)<=u.precision,c=w||E&&h;f.lastVelocity=b,f.lastTime=t}(c=y&&!u.toValues[d].done?!1:c)?(f.value!==m&&(g=m),f.done=!0):i=!1,f.updateValue(g),f.lastPosition=g}else f.updateValue(m),f.done=!0}}!a.props.onFrame&&a.props.native||(a.animatedProps[u.name]=u.interpolation.getValue())}!a.props.onFrame&&a.props.native||(!a.props.native&&a.onUpdate&&a.onUpdate(),a.props.onFrame&&a.props.onFrame(a.animatedProps)),i&&(ve.delete(a),a.debouncedOnEnd({finished:!0,noChange:l}))}ve.size?T(ge):be=!1}function ye(e){ve.has(e)&&ve.delete(e)}var be=!1,ve=new Set,Oe=function(){function e(e,t){var n=this;void 0===t&&(t={native:!0,interpolateTo:!0,autoStart:!0}),this.getValues=function(){return n.props.native?n.interpolations:n.animatedProps},this.dependents=new Set,this.isActive=!1,this.hasChanged=!1,this.props={},this.merged={},this.animations={},this.interpolations={},this.animatedProps={},this.configs=[],this.frame=void 0,this.startTime=void 0,this.lastTime=void 0,this.update(C({},e,t))}var t=e.prototype;return t.update=function(e){var h=this;this.props=C({},this.props,e);var t=this.props.interpolateTo?se(this.props):this.props,n=t.from,m=void 0===n?{}:n,r=t.to,o=void 0===r?{}:r,e=t.config,g=void 0===e?{}:e,n=t.delay,y=void 0===n?0:n,r=t.reverse,e=t.attach,b=t.reset,v=t.immediate,n=t.autoStart,t=t.ref;r&&(m=(r=[o,m])[0],o=r[1]),this.hasChanged=!1;var O=e&&e(this),e=b?{}:this.merged;if(this.merged=C({},m,e,o),this.animations=Object.entries(this.merged).reduce(function(e,t,n){var r,o,a=t[0],i=t[1],l=!b&&e[a]||{},s="number"==typeof i,u="string"==typeof i&&!i.startsWith("#")&&!/\d/.test(i)&&!w[i],c=!s&&!u&&Array.isArray(i),p=void 0!==m[a]?m[a]:i,d=s||c||u?i:1,t=ie(g,a);if(O&&(d=O.animations[a].parent),void 0===t.decay&&ae(l.changes,i))return e;h.hasChanged=!0,s||u?r=o=l.parent||new te(p):c?r=o=l.parent||new ne(p):(f=l.interpolation&&l.interpolation.calc(l.parent.value),l.parent?(r=l.parent).setValue(0,!1):r=new te(0),f={output:[void 0!==f?f:p,i]},l.interpolation?(o=l.interpolation,l.interpolation.updateConfig(f)):o=r.interpolate(f)),ie(v,a)&&r.setValue(i,!1);var f=oe(r.getPayload());return f.forEach(function(e){return e.prepare(h)}),C({},e,((e={})[a]=C({},l,{name:a,parent:r,interpolation:o,animatedValues:f,changes:i,fromValues:oe(r.getValue()),toValues:oe(O?d.getPayload():d),immediate:ie(v,a),delay:re(t.delay,y||0),initialVelocity:re(t.velocity,0),clamp:re(t.clamp,!1),precision:re(t.precision,.01),tension:re(t.tension,170),friction:re(t.friction,26),mass:re(t.mass,1),duration:t.duration,easing:re(t.easing,function(e){return e}),decay:t.decay}),e))},this.animations),this.hasChanged)for(var a in this.configs=le(this.animations),this.animatedProps={},this.interpolations={},this.animations)this.interpolations[a]=this.animations[a].interpolation,this.animatedProps[a]=this.animations[a].interpolation.getValue();for(var i=arguments.length,l=new Array(1<i?i-1:0),s=1;s<i;s++)l[s-1]=arguments[s];t||!n&&!l.length||this.start.apply(this,l);t=l[0],n=l[1];return this.onEnd="function"==typeof t&&t,this.onUpdate=n,this.getValues()},t.start=function(e,t){var n=this;return this.startTime=x(),this.isActive&&this.stop(),this.isActive=!0,this.onEnd="function"==typeof e&&e,this.onUpdate=t,this.props.onStart&&this.props.onStart(),t=this,ve.has(t)||(ve.add(t),be||T(ge),be=!0),new Promise(function(e){return n.resolve=e})},t.stop=function(e){(e=void 0===e?!1:e)&&le(this.animations).forEach(function(e){return e.changes=void 0}),this.debouncedOnEnd({finished:e})},t.destroy=function(){ye(this),this.props={},this.merged={},this.animations={},this.interpolations={},this.animatedProps={},this.configs=[]},t.debouncedOnEnd=function(e){ye(this),this.isActive=!1;var t=this.onEnd;this.onEnd=null,t&&t(e),this.resolve&&this.resolve(),this.resolve=null},e}(),we=function(r){function e(e,t){var n=r.call(this)||this;return e.style&&(e=C({},e,{style:g(e.style)})),n.payload=e,n.update=t,n.attach(),n}return s(e,r),e}(N);function Ee(r){var n=function(n){function e(e){var t=n.call(this)||this;return t.callback=function(){t.node&&!1===p.fn(t.node,t.propsAnimated.getAnimatedValue(),u(t))&&t.forceUpdate()},t.attachProps(e),t}s(e,n);var t=e.prototype;return t.componentWillUnmount=function(){this.propsAnimated&&this.propsAnimated.detach()},t.setNativeProps=function(e){!1===p.fn(this.node,e,this)&&this.forceUpdate()},t.attachProps=function(e){e.forwardRef;var t=S(e,["forwardRef"]),e=this.propsAnimated;this.propsAnimated=new we(t,this.callback),e&&e.detach()},t.shouldComponentUpdate=function(e){var t=e.style,n=S(e,["style"]),r=this.props,o=r.style;return(!ae(S(r,["style"]),n)||!ae(o,t))&&(this.attachProps(e),!0)},t.render=function(){var t=this,e=this.propsAnimated.getValue(),e=(e.scrollTop,e.scrollLeft,S(e,["scrollTop","scrollLeft"]));return y.createElement(r,C({},e,{ref:function(e){return t.node=pe(e,t.props.forwardRef)}}))},e}(y.Component);return y.forwardRef(function(e,t){return y.createElement(n,C({},e,{forwardRef:t}))})}var v={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},Te=function(o){function e(){for(var r,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(r=o.call.apply(o,[this].concat(t))||this).state={lastProps:{from:{},to:{}},propsChanged:!1,internal:!1},r.controller=new Oe(null,null),r.didUpdate=!1,r.didInject=!1,r.finished=!0,r.start=function(){r.finished=!1;var t=r.mounted;r.controller.start(function(e){return r.finish(C({},e,{wasMounted:t}))},r.update)},r.stop=function(){return r.controller.stop(!0)},r.update=function(){return r.mounted&&r.setState({internal:!0})},r.finish=function(e){var t=e.finished,n=e.noChange,e=e.wasMounted;r.finished=!0,r.mounted&&t&&(!r.props.onRest||!e&&n||r.props.onRest(r.controller.merged),r.mounted&&r.didInject&&(r.afterInject=ce(r.props),r.setState({internal:!0})),r.mounted&&(r.didInject||r.props.after)&&r.setState({internal:!0}),r.didInject=!1)},r}s(e,o);var t=e.prototype;return t.componentDidMount=function(){this.componentDidUpdate(),this.mounted=!0},t.componentWillUnmount=function(){this.mounted=!1,this.stop()},e.getDerivedStateFromProps=function(e,t){var n=t.internal,r=t.lastProps,o=e.from,a=e.to,i=e.reset,t=e.force;return{propsChanged:!ae(a,r.to)||!ae(o,r.from)||i&&!n||t&&!n,lastProps:e,internal:!1}},t.render=function(){var t=this,e=this.props.children,n=this.state.propsChanged;if(this.props.inject&&n&&!this.injectProps){var r=this.props.inject(this.props,function(e){t.injectProps=e,t.setState({internal:!0})});if(r)return r}(this.injectProps||n)&&(this.didInject=!1,this.injectProps?(this.controller.update(this.injectProps),this.didInject=!0):n&&this.controller.update(this.props),this.didUpdate=!0,this.afterInject=void 0,this.injectProps=void 0);n=C({},this.controller.getValues(),this.afterInject);return this.finished&&(n=C({},n,this.props.after)),Object.keys(n).length?e(n):null},t.componentDidUpdate=function(){this.didUpdate&&this.start(),this.didUpdate=!1},e}(y.Component);Te.defaultProps={from:{},to:{},config:v.default,native:!1,immediate:!1,reset:!1,force:!1,inject:c};var Se=function(r){function e(){for(var o,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(o=r.call.apply(r,[this].concat(t))||this).first=!0,o.instances=new Set,o.hook=function(e,t,n,r){return o.instances.add(e),(r?t===n-1:0===t)?void 0:Array.from(o.instances)[r?t+1:t-1]},o}s(e,r);var t=e.prototype;return t.render=function(){var t=this,e=this.props,n=e.items,o=e.children,r=e.from,a=void 0===r?{}:r,i=e.initial,l=e.reverse,s=e.keys,u=e.delay,c=e.onRest,p=S(e,["items","children","from","initial","reverse","keys","delay","onRest"]),d=oe(n);return oe(d).map(function(n,r){return y.createElement(Te,C({onRest:0===r?c:null,key:"function"==typeof s?s(n):oe(s)[r],from:t.first&&void 0!==i?i||{}:a},p,{delay:0===r&&u||void 0,attach:function(e){return t.hook(e,r,d.length,l)},children:function(e){var t=o(n,r);return t?t(e):null}}))})},t.componentDidUpdate=function(e){this.first=!1,e.items!==this.props.items&&this.instances.clear()},e}(y.PureComponent);Se.defaultProps={keys:function(e){return e}};var Ce=function(o){function e(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.call.apply(o,[this].concat(n))||this).guid=0,e.state={props:{},resolve:function(){return null},last:!0,index:0},e.next=function(n,r,o){return void 0===r&&(r=!0),void 0===o&&(o=0),e.running=!0,new Promise(function(t){e.mounted&&e.setState(function(e){return{props:n,resolve:t,last:r,index:o}},function(){return e.running=!1})})},e}s(e,o);var t=e.prototype;return t.componentDidMount=function(){this.mounted=!0,this.componentDidUpdate({})},t.componentWillUnmount=function(){this.mounted=!1},t.componentDidUpdate=function(e){var l=this,t=this.props,r=t.states,s=t.filter,u=t.state;(e.state!==this.props.state||this.props.reset&&!this.running||!ae(r[u],e.states[e.state]))&&r&&u&&r[u]&&function(){var n,o=++l.guid,a=r[u];if(a)if(Array.isArray(a))for(var i=Promise.resolve(),e=0;e<a.length;e++)!function(e){var t=e,n=a[t],r=t===a.length-1;i=i.then(function(){return o===l.guid&&l.next(s(n),r,t)})}(e);else"function"==typeof a?(n=0,a(function(e,t){return void 0===t&&(t=!1),o===l.guid&&l.next(s(e),t,n++)},function(){return T(function(){return l.instance&&l.instance.stop()})},l.props)):l.next(s(r[u]))}()},t.render=function(){var t=this,e=this.state,n=e.props,r=e.resolve,o=e.last,a=e.index;if(!n||0===Object.keys(n).length)return null;var i=this.props,l=(i.state,i.filter,i.states,i.config),e=i.primitive,s=i.onRest,u=i.forwardRef,i=S(i,["state","filter","states","config","primitive","onRest","forwardRef"]);return Array.isArray(l)&&(l=l[a]),y.createElement(e,C({ref:function(e){return t.instance=pe(e,u)},config:l},i,n,{onRest:function(e){r(e),s&&o&&s(e)}}))},e}(y.PureComponent);Ce.defaultProps={state:"__default"};var xe=y.forwardRef(function(e,t){return y.createElement(Ce,C({},e,{forwardRef:t}))});xe.create=function(r){return function(t,n){var e;return void 0===n&&(n=function(e){return e}),"function"!=typeof t&&!Array.isArray(t)||((e={}).__default=t,t=e),function(e){return y.createElement(Ce,C({primitive:r,states:t,filter:n},e))}}},xe.Spring=function(e){return xe.create(Te)(e,se)},xe.Trail=function(e){return xe.create(Se)(e,se)};function De(e){var t=e.items,n=e.keys,e=S(e,["items","keys"]),t=oe(void 0!==t?t:null),n="function"==typeof n?t.map(n):oe(n);return C({items:t,keys:n.map(function(e){return String(e)})},e)}var Ae=0,b=function(t){s(n,t);var e=n.prototype;function n(e){var i=t.call(this,e)||this;return i.destroyItem=function(r,o,a){return function(e){var t=i.props,n=t.onRest,t=t.onDestroyed;i.mounted&&(t&&t(r),i.setState(function(e){return{deleted:e.deleted.filter(function(e){return e.key!==o})}}),n&&n(r,a,e))}},i.state={first:!0,transitions:[],current:{},deleted:[],prevProps:e},i}return e.componentDidMount=function(){this.mounted=!0},e.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(e,t){var n=t.first,r=t.prevProps,o=S(t,["first","prevProps"]),a=De(e),i=a.items,l=a.keys,s=a.initial,u=a.from,c=a.enter,p=a.leave,d=a.update,t=a.trail,f=void 0===t?0:t,h=a.unique,m=a.config,a=De(r),g=a.keys,y=a.items,b=C({},o.current),v=[].concat(o.deleted),r=Object.keys(b),O=new Set(r),w=new Set(l),a=l.filter(function(e){return!O.has(e)}),r=o.transitions.filter(function(e){return!e.destroyed&&!w.has(e.originalKey)}).map(function(e){return e.originalKey}),o=l.filter(function(e){return O.has(e)}),E=0;a.forEach(function(t){h&&v.find(function(e){return e.originalKey===t})&&(v=v.filter(function(e){return e.originalKey!==t}));var e=l.indexOf(t),e=i[e];b[t]={state:"enter",originalKey:t,key:h?String(t):Ae++,item:e,trail:E+=f,config:ie(m,e,"enter"),from:ie(n&&void 0!==s?s||{}:u,e),to:ie(c,e)}}),r.forEach(function(e){var t=g.indexOf(e),n=y[t];v.push(C({},b[e],{state:"leave",destroyed:!0,left:g[Math.max(0,t-1)],right:g[Math.min(g.length,t+1)],trail:E+=f,config:ie(m,n,"leave"),to:ie(p,n)})),delete b[e]}),o.forEach(function(e){var t=l.indexOf(e),t=i[t];b[e]=C({},b[e],{item:t,state:"update",trail:E+=f,config:ie(m,t,"update"),to:ie(d,t)})});var T=l.map(function(e){return b[e]});return v.forEach(function(e){var t=e.left,n=e.right,r=S(e,["left","right"]);-1!==(e=T.findIndex(function(e){return e.originalKey===t}))&&(e+=1),-1===(e=-1===(e=-1===e?T.findIndex(function(e){return e.originalKey===n}):e)?v.findIndex(function(e){return e.originalKey===t}):e)&&(e=v.findIndex(function(e){return e.originalKey===n})),e=Math.max(0,e),T=[].concat(T.slice(0,e),[r],T.slice(e))}),{first:n&&0===a.length,transitions:T,current:b,deleted:v,prevProps:e}},e.render=function(){var c=this,e=this.props,p=(e.initial,e.from,e.enter,e.leave,e.update,e.onDestroyed,e.keys,e.items,e.onFrame),d=e.onRest,f=e.onStart,h=(e.trail,e.config,e.children),m=(e.unique,e.reset),g=S(e,["initial","from","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","trail","config","children","unique","reset"]);return this.state.transitions.map(function(e,n){var r=e.state,t=e.key,o=e.item,a=e.from,i=e.to,l=e.trail,s=e.config,u=e.destroyed;return y.createElement(xe,C({reset:m&&"enter"===r,primitive:Te,state:r,filter:se,states:((e={})[r]=i,e),key:t,onRest:u?c.destroyItem(o,t,r):d&&function(e){return d(o,r,e)},onStart:f&&function(){return f(o,r)},onFrame:p&&function(e){return p(o,r,e)},delay:l,config:s},g,{from:a,children:function(e){var t=h(o,r,n);return t?t(e):null}}))})},n}(y.PureComponent);b.defaultProps={keys:function(e){return e},unique:!1,reset:!1};N=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].reduce(function(e,t){return e[t]=Ee(t),e},Ee);t.Spring=Te,t.Keyframes=xe,t.Transition=b,t.Trail=Se,t.Controller=Oe,t.config=v,t.animated=N,t.interpolate=function(e,t,n){return e&&new ee(e,t,n)},t.Globals=O});r(gr);var Pm=gr.Spring,km=(gr.Keyframes,gr.Transition,gr.Trail,gr.Controller,gr.config,gr.animated,gr.interpolate,gr.Globals,oe.forwardRef(function(e,t){var n=e.children,r=e.id,o=e.disabled,a=e.panelId,i=e.selected,l=e.onKeyDown,s=e.onClick,u=e.style,c=e.focusTab,p=oe.useRef(!0);return oe.useEffect(function(){p.current?p.current=!1:i&&c&&c()},[i]),ce("li",{ref:t,className:se("tabs__tab",i?"np-text-body-large-bold":"np-text-body-large",{"tabs__tab--selected":i,clickable:!o,disabled:o}),role:"tab",id:r,"aria-selected":i?"true":"false","aria-disabled":o?"true":"false","aria-controls":o?null:a,tabIndex:"0",style:u,onKeyDown:o?null:l,onClick:s,children:ce("span",{className:"tabs__tab__content",children:n})})}));km.defaultProps={disabled:!1,selected:!1,onClick:null,style:null,focusTab:null},km.propTypes={children:l.default.node.isRequired,disabled:l.default.bool,selected:l.default.bool,id:l.default.string.isRequired,panelId:l.default.string.isRequired,onKeyDown:l.default.func.isRequired,onClick:l.default.func,style:l.default.shape({width:l.default.string}),focusTab:l.default.func};function Lm(e){return e=e.children,ce("ul",{className:"tabs__tab-list",role:"tablist",children:e})}Lm.propTypes={children:l.default.oneOfType([l.default.object,l.default.array]).isRequired};function Rm(e){var t=e.children,n=e.id,r=e.tabId,e=e.style;return ce("div",{className:"tabs__panel",role:"tabpanel",id:n,"aria-labelledby":r,style:e,children:t})}Rm.propTypes={children:l.default.node.isRequired,id:l.default.string.isRequired,tabId:l.default.string.isRequired,style:l.default.shape({width:l.default.string.isRequired}).isRequired};var Im=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"x";return Math.abs(e[n]-t[n])},_m=function(e,t){return t.x>e.x},Mm=function(e,t){return e.x>t.x},jm=function(e,t){var n,r=Im(e,t),n=(n=t.time-e.time,Im(e,t)/n);return 50<Math.abs(r)&&.1<n};var Um=function(e){return Math.min(150,window.innerWidth/3)*(1-Math.pow(Math.E,-.005*e))};function Bm(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Fm(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Bm(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bm(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function qm(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}function zm(e){return!e.disabled}var Gm=0,Vm={default:0,xs:8,sm:16,md:24,lg:32},Be=function(e){Ap(n,e);var t=qm(n);function n(e){var c;return u(this,n),c=t.call(this,e),le(Cp(c),"containerReference",oe.createRef()),le(Cp(c),"container",null),le(Cp(c),"containerWidth",0),le(Cp(c),"tabRefs",[]),le(Cp(c),"handleResize",function(){c.setContainerWidth(c.container),c.setState(function(e){e=e.selectedTabIndex;return{translateTo:-c.containerWidth*e}})}),le(Cp(c),"setContainerRefAndWidth",function(e){c.container=e,c.setContainerWidth(e)}),le(Cp(c),"setContainerWidth",function(e){e&&(e=e.getBoundingClientRect().width,c.containerWidth=e)}),le(Cp(c),"isTabDisabled",function(e){var t=c.props.tabs;return t[e]&&t[e].disabled}),le(Cp(c),"getAllTabsWidth",function(){return c.tabRefs.map(function(e){return e?e.getBoundingClientRect().width:0}).reduce(function(e,t){return e+t},0)}),le(Cp(c),"getDistanceToSelectedTab",function(n){return c.tabRefs.filter(function(e,t){return t<n}).map(function(e){return e?e.getBoundingClientRect().width:0}).reduce(function(e,t){return e+t},0)}),le(Cp(c),"setTabWidth",function(){var e=c.state.fullWidthTabs,t=c.props,n=t.headerWidth,r=t.selected,t=c.getAllTabsWidth();!e&&(n===re.Width.BLOCK||c.containerWidth<t)&&c.setState({fullWidthTabs:!0,translateLineX:"".concat(100*r,"%")}),e&&n===re.Width.AUTO&&c.containerWidth>=t&&c.setState({fullWidthTabs:!1,translateLineX:"".concat(c.getDistanceToSelectedTab(r),"px")})}),le(Cp(c),"getTabLineWidth",function(){var e=c.state.fullWidthTabs,t=c.props,n=t.selected,t=t.tabs;if(e)return"".concat(1/t.length*100,"%");n=c.tabRefs[n]||c.tabRefs[c.tabRefs.length-1],n=n?n.getBoundingClientRect().width:0;return"".concat(n,"px")}),le(Cp(c),"getTabToSelect",function(e,t,n){var r=e;if(_m(t,n)){if(Gm<--r&&c.isTabDisabled(r))return c.getTabToSelect(r,t,n)}else if(Mm(t,n)&&(r+=1)<c.MAX_INDEX&&c.isTabDisabled(r))return c.getTabToSelect(r,t,n);return r=Dm(r,Math.max(e-1,Gm),Math.min(e+1,c.MAX_INDEX)),c.isTabDisabled(r)?e:r}),le(Cp(c),"swipedOverHalfOfContainer",function(e){return.5<=e/c.containerWidth}),le(Cp(c),"calculateApplicableDragDifference",function(e){var t=e.currentSelected,n=e.nextSelected,r=e.start,o=e.end,a=Im(r,o),e=Um(a);return _m(r,o)?Gm<t&&t!==n?Math.min(a,c.containerWidth):e:!!Mm(r,o)&&(t<c.MAX_INDEX&&t!==n?-Math.min(a,c.containerWidth):-e)}),le(Cp(c),"switchTab",function(e){(0,c.props.onTabSelect)(e)}),le(Cp(c),"animateToTab",function(e,t){c.animateLine(e),c.animatePanel(c.getTabIndexWithoutDisabledTabs(e),t)}),le(Cp(c),"animateLine",function(t){c.setState(function(e){return{translateLineX:e.fullWidthTabs?"".concat(100*t,"%"):"".concat(c.getDistanceToSelectedTab(t),"px")}})}),le(Cp(c),"animatePanel",function(e){var t=c.state.translateTo,n=-c.containerWidth*e;c.setState({selectedTabIndex:e,isAnimating:!(1<arguments.length&&void 0!==arguments[1]&&arguments[1])&&t!==n,translateFrom:t,translateTo:n})}),le(Cp(c),"disableScroll",function(e){c.state.isSwiping&&e.preventDefault()}),le(Cp(c),"handleTabClick",function(e){return function(){c.switchTab(e)}}),le(Cp(c),"onKeyDown",function(t){return function(e){e&&e.keyCode===_u.ENTER&&c.switchTab(t)}}),le(Cp(c),"handleTouchStart",function(e){var t={x:e.nativeEvent.touches[0].clientX,y:e.nativeEvent.touches[0].clientY,time:Date.now()};c.setState({start:t,currentSwipe:[t]}),e.persist()}),le(Cp(c),"handleTouchMove",function(e){var t,n=c.state.start,r=c.props.selected,o=c.getTabIndexWithoutDisabledTabs(r),a={x:e.nativeEvent.changedTouches[0].clientX,y:e.nativeEvent.changedTouches[0].clientY,time:Date.now()},i=Im(n,a),l=Im(n,a,"y"),s=c.state,u=s.isScrolling,s=s.isSwiping;e.persist(),u||s||(l<i?s=!0:u=!0),c.setState({isScrolling:u,isSwiping:s}),s&&(s=c.getTabToSelect(r,n,a),c.animateLine(c.swipedOverHalfOfContainer(i)?s:r),n=c.calculateApplicableDragDifference({currentSelected:r,nextSelected:s,start:n,end:a}),t=!!n&&-c.containerWidth*o+n,c.setState(function(e){return{currentSwipe:[].concat(K(e.currentSwipe),[a]),translateFrom:t||e.translateFrom,translateTo:t||e.translateTo}}))}),le(Cp(c),"handleTouchEnd",function(e){var t=c.state,n=t.start,r=t.isSwiping,o=c.props.selected,a={x:e.nativeEvent.changedTouches[0].clientX,y:e.nativeEvent.changedTouches[0].clientY,time:Date.now()},i=Im(n,a),l=function(e){try{var t=e.slice(Math.max(e.length-5,1)),n=t[0],r=t[t.length-1];return Math.abs(n.x-r.x)/(r.time-n.time)}catch(e){return 0}}([].concat(K(c.state.currentSwipe),[a]));c.setState({currentSwipe:[]});t=o;e.persist(),r&&((t=jm(n,a)||c.swipedOverHalfOfContainer(i)?c.getTabToSelect(t,n,a):t)!==o?(c.switchTab(t),c.setState({lastSwipeVelocity:l})):c.animateToTab(t)),c.setState({isSwiping:!1,isScrolling:!1})}),c.state={start:null,translateX:0,translateFrom:0,translateTo:0,translateLineX:null,isAnimating:!1,isSwiping:!1,isScrolling:!1,lastSwipeVelocity:0,fullWidthTabs:e.headerWidth===re.Width.BLOCK},c}return s(n,[{key:"filteredTabsLength",get:function(){return this.props.tabs.filter(zm).length}},{key:"MAX_INDEX",get:function(){return this.props.tabs.length-1}},{key:"componentDidMount",value:function(){var e=this.props.selected;this.setTabWidth(),this.switchTab(Dm(e,Gm,this.MAX_INDEX)),this.animateToTab(Dm(e,Gm,this.MAX_INDEX),!0),document.body.addEventListener("touchmove",this.disableScroll,{passive:!1}),document.body.addEventListener("touchforcechange",this.disableScroll,{passive:!1}),window.addEventListener("resize",this.handleResize)}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.selected,r=e.selected,o=this.props.tabs[n],a=o&&o.disabled,i=e.tabs[r],l=i&&i.disabled,s=this.props.tabs.length,u=e.tabs.length,c=this.props.tabs.filter(zm).length,o=e.tabs.filter(zm).length,i=this.props.headerWidth,e=e.headerWidth,t=!this.props.animatePanelsOnClick&&!t.isSwiping;i===e&&s===u||this.setTabWidth(),n===r&&c===o&&a===l||this.animateToTab(Dm(n,Gm,this.MAX_INDEX),n===r||t)}},{key:"componentWillUnmount",value:function(){document.body.removeEventListener("touchmove",this.disableScroll),document.body.removeEventListener("touchforcechange",this.disableScroll),window.removeEventListener("resize",this.handleResize)}},{key:"getTabIndexWithoutDisabledTabs",value:function(e){return e-this.props.tabs.slice(0,e).filter(function(e){return!zm(e)}).length}},{key:"render",value:function(){function r(e){return e=e.id,0<y&&ce("div",{style:{width:y,display:v?"block":"none"}},e)}var o=this,e=this.props,a=e.tabs,t=e.changeTabOnSwipe,i=e.name,l=e.selected,n=e.className,s=e.transitionSpacing,u=e.headerWidth,c=this.state,p=c.isSwiping,d=c.translateLineX,f=c.isAnimating,h=c.translateFrom,m=c.translateTo,e=c.lastSwipeVelocity,g=c.fullWidthTabs,y=Vm[s],c=this.filteredTabsLength,s=Math.abs(-h-this.containerWidth*l),s=p?1-s/this.containerWidth:1-Math.abs(s/this.containerWidth-1),b=(Number.isNaN(s)?0:s)*Math.min(10*Math.E,10*e*Math.E),v=f||p,O=c*this.containerWidth+2*y;return ce(Cs.Consumer,{children:function(e){e=e===re.Direction.RTL;return pe("div",{ref:o.containerReference,className:se("tabs",n,{"tabs--auto-width":u===re.Width.AUTO}),onTouchStart:t?o.handleTouchStart:void 0,onTouchEnd:t?o.handleTouchEnd:void 0,onTouchMove:t?o.handleTouchMove:void 0,children:[pe(Lm,{children:[a.map(function(e,t){var n=e.title,e=e.disabled;return ce(km,Fm(Fm({ref:function(e){o.tabRefs[t]=e},id:"".concat(i,"-tab-").concat(t),panelId:"".concat(i,"-panel-").concat(t),selected:l===t,disabled:e,focusTab:function(){var e;null!==(e=o.containerReference.current)&&void 0!==e&&e.contains(document.activeElement)&&o.tabRefs[t].focus()},onClick:e?null:o.handleTabClick(t),onKeyDown:o.onKeyDown(t)},g?{style:{width:"".concat(1/a.length*100,"%")}}:{}),{},{children:n}),n)}),d?ce("div",{className:se("tabs__line"),style:{width:o.getTabLineWidth(),transform:(e?"translateX(-":"translateX(").concat(d,")")}}):null]}),ce("div",{ref:o.setContainerRefAndWidth,className:"tabs__panel-container",style:{overflow:v?"hidden":"visible"},children:ce(Pm,{from:{transform:"translateX(".concat(h-y,"px)")},to:{transform:"translateX(".concat(m-y,"px)")},config:{precision:p?1:.01,velocity:p?0:b,clamp:!0},onRest:function(){f&&o.setState({isAnimating:!1,lastSwipeVelocity:0})},children:function(e){return ce("div",{className:"tabs__slider",style:{width:v?"".concat(O,"px"):"100%",transform:v?e.transform:"translateX(0px)"},children:a.map(function(e,t){var n=e.content;return e.disabled?null:pe(oe.Fragment,{children:[t===l&&ce(r,{id:"left-spacer"}),ce(Rm,{tabId:"".concat(i,"-tab-").concat(t),id:"".concat(i,"-panel-").concat(t),style:{width:v?"".concat(o.containerWidth,"px"):"100%",display:v||t===l?"block":"none"},children:n},a[t].title),t===l&&ce(r,{id:"right-spacer"})]},"".concat(a[t].title,"-fragment"))})})}})})]})}})}}]),n}(oe.Component),Qe=Fm(Fm({},re.Size),{},{NONE:"default"});function Hm(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Ym(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Hm(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hm(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}Be.propTypes={tabs:l.default.arrayOf(l.default.shape({title:l.default.string.isRequired,content:l.default.node.isRequired,disabled:l.default.bool.isRequired})).isRequired,selected:l.default.number.isRequired,onTabSelect:l.default.func.isRequired,name:l.default.string.isRequired,animatePanelsOnClick:l.default.bool,changeTabOnSwipe:l.default.bool,className:l.default.string,transitionSpacing:l.default.oneOf(["default","xs","sm","md","lg"]),headerWidth:l.default.oneOf(["auto","block"])},Be.defaultProps={animatePanelsOnClick:!1,changeTabOnSwipe:!0,className:"",transitionSpacing:Qe.NONE,headerWidth:re.Width.BLOCK};xe=function(e){return ce(oh,Ym(Ym({},e),{},{render:function(e){return ce("textarea",Ym({},e))}}))};xe.propTypes={displayPattern:l.default.string.isRequired,onChange:l.default.func.isRequired};function Wm(){return tg.Date.now()}var Km=NaN,Zm="[object Symbol]",Xm=/^\s+|\s+$/g,$m=/^[-+]0x[0-9a-f]+$/i,Jm=/^0b[01]+$/i,Qm=/^0o[0-7]+$/i,eg=parseInt,gr="object"==typeof n&&n&&n.Object===Object&&n,Qe="object"==typeof self&&self&&self.Object===Object&&self,tg=gr||Qe||Function("return this")(),ng=Object.prototype.toString,rg=Math.max,og=Math.min;function ag(e){var t=typeof e;return e&&("object"==t||"function"==t)}function ig(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||!!(n=t)&&"object"==typeof n&&ng.call(t)==Zm)return Km;var t,n;if("string"!=typeof(e=ag(e)?ag(r="function"==typeof e.valueOf?e.valueOf():e)?r+"":r:e))return 0===e?e:+e;e=e.replace(Xm,"");var r=Jm.test(e);return r||Qm.test(e)?eg(e.slice(2),r?2:8):$m.test(e)?Km:+e}var lg=function(r,n,e){var o,a,i,l,s,u,c=0,p=!1,d=!1,t=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function f(e){var t=o,n=a;return o=a=void 0,c=e,l=r.apply(n,t)}function h(e){var t=e-u;return void 0===u||n<=t||t<0||d&&i<=e-c}function m(){var e,t=Wm();if(h(t))return g(t);s=setTimeout(m,(t=n-((e=t)-u),d?og(t,i-(e-c)):t))}function g(e){return s=void 0,t&&o?f(e):(o=a=void 0,l)}function y(){var e=Wm(),t=h(e);if(o=arguments,a=this,u=e,t){if(void 0===s)return c=t=u,s=setTimeout(m,n),p?f(t):l;if(d)return s=setTimeout(m,n),f(u)}return void 0===s&&(s=setTimeout(m,n)),l}return n=ig(n)||0,ag(e)&&(p=!!e.leading,d="maxWait"in e,i=d?rg(ig(e.maxWait)||0,n):i,t="trailing"in e?!!e.trailing:t),y.cancel=function(){void 0!==s&&clearTimeout(s),o=u=a=s=void(c=0)},y.flush=function(){return void 0===s?l:g(Wm())},y};function sg(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}var ug=10,cg=function(e){Ap(n,e);var t=sg(n);function n(){var m;return u(this,n),m=t.call(this),le(Cp(m),"recalculateWidth",function(){requestAnimationFrame(function(){m.setState({inputWidth:Math.max(ug,m.sizerRef.scrollWidth+10)})})}),le(Cp(m),"renderInput",function(){var e=m.props,t=e.typeaheadId,n=e.autoFocus,r=e.multiple,o=e.name,a=e.optionsShown,i=e.placeholder,l=e.selected,s=e.value,u=e.onChange,c=e.onKeyDown,p=e.onFocus,d=e.onPaste,f=e.autoComplete,h=m.state.inputWidth,e=!r||0===l.length;return ce("input",{ref:function(e){m.inputRef=e},className:se({"typeahead__input form-control":r,"form-control":!r}),type:"text",name:o,id:"input-".concat(t),autoFocus:n,placeholder:e?i:"","aria-autocomplete":"list","aria-expanded":a,"aria-haspopup":"listbox","aria-controls":"menu-".concat(t),autoComplete:f,role:"combobox",value:s,style:r&&0<l.length?{width:h}:{},onChange:u,onKeyDown:c,onClick:p,onFocus:p,onPaste:d})}),m.state={inputWidth:ug},m}return s(n,[{key:"componentDidMount",value:function(){this.props.autoFocus&&this.inputRef.focus()}},{key:"componentDidUpdate",value:function(e){e.value!==this.props.value&&this.props.multiple&&this.recalculateWidth()}},{key:"render",value:function(){var t=this,e=this.props,n=e.multiple,r=e.selected,o=e.value,a=e.maxHeight,i=e.renderChip;return n?pe("div",{className:"form-control typeahead__input-container",style:a&&{maxHeight:a},onClick:function(){t.inputRef.focus()},children:[pe("div",{className:"typeahead__input-wrapper",children:[r&&r.map(function(e,t){return i(e,t)}),this.renderInput(),ce("div",{className:"typeahead__input-aligner"})]}),ce("div",{ref:function(e){t.sizerRef=e},className:"sizer form-control typeahead__input",children:o})]}):this.renderInput()}}]),n}(oe.Component);cg.propTypes={typeaheadId:l.default.string.isRequired,name:l.default.string.isRequired,autoFocus:l.default.bool,multiple:l.default.bool.isRequired,value:l.default.string.isRequired,selected:l.default.arrayOf(l.default.object),placeholder:l.default.string,optionsShown:l.default.bool,maxHeight:l.default.number,autoComplete:l.default.string.isRequired,onChange:l.default.func.isRequired,renderChip:l.default.func.isRequired,onKeyDown:l.default.func.isRequired,onFocus:l.default.func.isRequired,onPaste:l.default.func.isRequired},cg.defaultProps={autoFocus:!1,maxHeight:null,placeholder:"",optionsShown:!1,selected:[]};var pg=function(e){var t=e.option,n=e.selected,r=e.onClick,o=e.query,a=t.label,e=t.note,t=t.secondary;return ce("li",{role:"option","aria-selected":"false",className:se("typeahead__option tw-dropdown-item clickable",{"tw-dropdown-item--focused":n}),children:pe("a",{className:"dropdown-item",href:"#",onClick:r,children:[ce("span",{children:function(e,t){if(e&&t){var n=e.toUpperCase().indexOf(t.trim().toUpperCase()),t=n+t.trim().length;if(-1!==n)return pe(M,{children:[e.slice(0,Math.max(0,n)),ce("strong",{children:e.slice(n,t)}),e.slice(Math.max(0,t))]})}return e}(a,o)}),e&&ce("span",{className:"np-text-body-default m-l-1",children:e}),t&&ce("span",{className:"np-text-body-default text-ellipsis",children:t})]})})};function dg(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}pg.propTypes={option:l.default.shape({label:l.default.string.isRequired,note:l.default.string,secondary:l.default.string}).isRequired,query:l.default.string,selected:l.default.bool,onClick:l.default.func},pg.defaultProps={selected:!1,query:"",onClick:function(){}};n=function(e){Ap(o,e);var r=dg(o);function o(e){var c;u(this,o),c=r.call(this,e),le(Cp(c),"handleOnFocus",function(){var e=c.props.onFocus;c.showMenu(),e&&c.props.onFocus()}),le(Cp(c),"onOptionSelected",function(e,t){e.preventDefault(),c.selectItem(t)}),le(Cp(c),"handleOnChange",function(e){var t=c.state,n=t.optionsShown,r=t.selected,o=c.props,t=o.multiple,a=o.onInputChange;n||c.showMenu();var i=e.target.value;!t&&0<r.length&&c.updateSelectedValue([]),c.setState({query:i},function(){c.handleSearchDebounced(i),a&&a(i)})}),le(Cp(c),"handleOnPaste",function(e){var t=c.props,n=t.allowNew,r=t.multiple,o=t.chipSeparators,t=c.state.selected;n&&r&&0<o.length&&(e.preventDefault(),(e=e.clipboardData.getData("text"))&&(o=new RegExp(o.join("|")),o=e.split(o).map(function(e){return{label:e.trim()}}).filter(function(e){return e.label}),c.updateSelectedValue([].concat(K(t),K(o)))))}),le(Cp(c),"handleOnKeyDown",function(e){var t=c.props,n=t.showSuggestions,r=t.allowNew,o=t.multiple,a=t.chipSeparators,i=t.options,t=c.state,l=t.keyboardFocusedOptionIndex,s=t.query,u=t.selected;if(!n&&r&&o&&["Enter","Tab"].concat(K(a)).includes(e.key)&&s.trim())e.preventDefault(),c.selectItem({label:s});else switch(e.keyCode){case _u.DOWN:e.preventDefault(),c.moveFocusedOption(1);break;case _u.UP:e.preventDefault(),c.moveFocusedOption(-1);break;case _u.ENTER:e.preventDefault(),i[l]?c.selectItem(i[l]):r&&s.trim()&&c.selectItem({label:s});break;case _u.BACKSPACE:o&&!s&&0<u.length&&c.updateSelectedValue(u.slice(0,-1))}}),le(Cp(c),"selectItem",function(e){var t=c.props.multiple,n=K(c.state.selected),e=t?(n.push(e),""):(n=[e],e.label);c.updateSelectedValue(n),c.hideMenu(),c.setState({query:e})}),le(Cp(c),"stopPropagation",function(e){e.stopPropagation(),e.preventDefault(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}),le(Cp(c),"handleSearch",function(e){var t=c.props.onSearch;t&&t(e),c.setState(function(e){return{keyboardFocusedOptionIndex:null===e.keyboardFocusedOptionIndex?null:0}})}),le(Cp(c),"handleDocumentClick",function(){var e,t,n,r;c.state.optionsShown&&(c.hideMenu(),e=(r=c.props).allowNew,t=r.onBlur,n=r.autoFillOnBlur,r=c.state.query,c.setState({isFocused:!1}),e&&n&&r.trim()&&c.selectItem({label:r}),t&&t())}),le(Cp(c),"showMenu",function(){c.setState({isFocused:!0,optionsShown:!0},function(){d()&&document.documentElement.classList.add("ios-click"),document.addEventListener("click",c.handleDocumentClick,!1)})}),le(Cp(c),"hideMenu",function(){c.setState({optionsShown:!1,keyboardFocusedOptionIndex:null},function(){d()&&document.documentElement.classList.remove("ios-click"),document.removeEventListener("click",c.handleDocumentClick,!1)})}),le(Cp(c),"updateSelectedValue",function(e){var t=c.props,n=t.onChange,r=t.validateChip,t=e.some(function(e){return!r(e)});c.setState({selected:e,errorState:t},function(){n(e)})}),le(Cp(c),"clear",function(e){e.preventDefault(),0<c.state.selected.length&&c.updateSelectedValue([]),c.setState({query:""})}),le(Cp(c),"removeChip",function(t){var e=c.state.selected;0<e.length&&c.updateSelectedValue(K(e.filter(function(e){return e!==t})))}),le(Cp(c),"renderChip",function(e,t){var n=c.props.validateChip(e);return ce(su,{label:e.label,className:se("m-t-1",{"has-error":!n,"np-chip--valid":n}),onRemove:function(){return c.removeChip(e)}},t)}),le(Cp(c),"renderMenu",function(e){var t=e.footer,n=e.options,r=e.id,o=e.keyboardFocusedOptionIndex,a=e.query,i=e.allowNew,l=e.showNewEntry,s=e.dropdownOpen,e=K(n);return i&&a.trim()&&n.every(function(e){return e.label.trim().toUpperCase()!==a.trim().toUpperCase()})&&l&&e.push({label:a}),ce("div",{className:se("dropdown btn-group btn-block",{open:s}),id:"menu-".concat(r),children:pe("ul",{className:"dropdown-menu",role:"menu","aria-labelledby":"dropdownMenu1",children:[e.map(function(t,e){return ce(pg,{query:a,option:t,selected:o===e,onClick:function(e){c.onOptionSelected(e,t)}},"".concat(t.label).concat(e.toString()))}),t]})})});var t=e.searchDelay,n=e.initialValue,e=e.multiple;c.handleSearchDebounced=lg(c.handleSearch,t);e=!e&&0<n.length?n[0].label:"";return c.state={selected:n,errorState:!1,query:e,keyboardFocusedOptionIndex:null},c}return s(o,[{key:"UNSAFE_componentWillReceiveProps",value:function(t){t.multiple!==this.props.multiple&&this.setState(function(e){e=e.selected;return!t.multiple&&0<e.length?{query:e[0].label,selected:[e[0]]}:{query:""}})}},{key:"componentWillUnmount",value:function(){this.handleSearchDebounced.cancel()}},{key:"moveFocusedOption",value:function(r){var o=this;this.setState(function(e){var t=e.keyboardFocusedOptionIndex,n=o.props.options,e=0;return{keyboardFocusedOptionIndex:e=null!==t?Dm(t+r,0,n.length-1):e}})}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.placeholder,r=e.multiple,o=e.size,a=e.addon,i=e.name,l=e.clearable,s=e.allowNew,u=e.footer,c=e.showSuggestions,p=e.showNewEntry,d=e.options,f=e.minQueryLength,h=e.autoFocus,m=e.maxHeight,g=e.alert,y=e.inputAutoComplete,b=this.state,v=b.errorState,O=b.query,w=b.selected,e=b.optionsShown,b=b.keyboardFocusedOptionIndex,l=l&&(O||0<w.length),f=e&&c&&O.length>=f,d=this.renderMenu({footer:u,options:d,keyboardFocusedOptionIndex:b,query:O,allowNew:s,showNewEntry:p,dropdownOpen:f}),b=v||g&&g.type===re.Sentiment.ERROR,s=!v&&g||g&&g.type===re.Sentiment.ERROR,p=s&&g.type===re.Sentiment.WARNING,v=s&&g.type===re.Sentiment.NEUTRAL;return ce("div",{id:t,className:se("typeahead","typeahead-".concat(o),{"typeahead--has-value":0<w.length,"typeahead--empty":0===w.length,"typeahead--multiple":r,open:f}),onClick:this.stopPropagation,children:pe("div",{className:se("form-group",{"has-error":b,"has-warning":p,"has-info":v}),children:[pe("div",{className:se("input-group input-group-".concat(o),{"input-group--has-error":b}),children:[a&&ce("span",{className:"input-group-addon input-group-addon--search",children:a}),ce(cg,{autoFocus:h,multiple:r,optionsShown:e,placeholder:n,selected:w,maxHeight:m,name:i,value:O,typeaheadId:t,renderChip:this.renderChip,autoComplete:y,onChange:this.handleOnChange,onKeyDown:this.handleOnKeyDown,onFocus:this.handleOnFocus,onPaste:this.handleOnPaste}),l&&ce("div",{className:"input-group-addon",children:ce("button",{type:"button",className:"btn-unstyled",onClick:this.clear,children:ce(S.Cross,{})})})]}),s&&ce(Yf,{type:g.type,children:g.message}),d]})})}}]),o}(oe.Component);n.propTypes={id:l.default.string.isRequired,name:l.default.string.isRequired,options:l.default.arrayOf(l.default.shape({label:l.default.string.isRequired,note:l.default.string,secondary:l.default.string,value:l.default.object})).isRequired,initialValue:l.default.arrayOf(l.default.shape({label:l.default.string.isRequired,note:l.default.string,secondary:l.default.string})),onChange:l.default.func.isRequired,allowNew:l.default.bool,autoFocus:l.default.bool,clearable:l.default.bool,multiple:l.default.bool,showSuggestions:l.default.bool,showNewEntry:l.default.bool,searchDelay:l.default.number,maxHeight:l.default.number,minQueryLength:l.default.number,addon:l.default.node,placeholder:l.default.string,alert:l.default.shape({message:l.default.string.isRequired,type:l.default.oneOf(["error","warning","neutral"]).isRequired}),footer:l.default.node,validateChip:l.default.func,onSearch:l.default.func,onBlur:l.default.func,onInputChange:l.default.func,onFocus:l.default.func,chipSeparators:l.default.arrayOf(l.default.string),size:l.default.oneOf(["md","lg"]),inputAutoComplete:l.default.string,autoFillOnBlur:l.default.bool},n.defaultProps={allowNew:!1,autoFocus:!1,clearable:!0,multiple:!1,maxHeight:null,showSuggestions:!0,showNewEntry:!0,searchDelay:200,minQueryLength:3,addon:null,placeholder:null,alert:null,footer:null,size:re.Size.MEDIUM,chipSeparators:[],initialValue:[],onSearch:null,onBlur:null,onInputChange:null,onFocus:null,validateChip:function(){return!0},inputAutoComplete:"new-password",autoFillOnBlur:!0},(gr=re.UploadStep||(re.UploadStep={})).UPLOAD_IMAGE_STEP="uploadImageStep",gr.MEDIA_UPLOAD_STEP="mediaUploadStep";var fg=r(o(function(e){function s(e,t,n,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}e.exports=function(l){return function(){var e=this,i=arguments;return new Promise(function(t,n){var r=l.apply(e,i);function o(e){s(r,t,n,o,a,"next",e)}function a(e){s(r,t,n,o,a,"throw",e)}o(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports})),Qe=o(function(S){var C=Np.default;function x(){S.exports=x=function(){return i},S.exports.__esModule=!0,S.exports.default=S.exports;var i={},e=Object.prototype,s=e.hasOwnProperty,u=Object.defineProperty||function(e,t,n){e[t]=n.value},t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",o=t.toStringTag||"@@toStringTag";function a(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(e){a=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o,a,i,l,t=t&&t.prototype instanceof d?t:d,t=Object.create(t.prototype),r=new w(r||[]);return u(t,"_invoke",{value:(o=e,a=n,i=r,l="suspendedStart",function(e,t){if("executing"===l)throw new Error("Generator is already running");if("completed"===l){if("throw"===e)throw t;return T()}for(i.method=e,i.arg=t;;){var n=i.delegate;if(n){var r=function e(t,n){var r=t.iterator[n.method];if(void 0===r){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=c(r,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,p;r=r.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,p):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}(n,i);if(r){if(r===p)continue;return r}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===l)throw l="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);l="executing";r=c(o,a,i);if("normal"===r.type){if(l=i.done?"completed":"suspendedYield",r.arg===p)continue;return{value:r.arg,done:i.done}}"throw"===r.type&&(l="completed",i.method="throw",i.arg=r.arg)}})}),t}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}i.wrap=l;var p={};function d(){}function f(){}function h(){}var m={};a(m,r,function(){return this});t=Object.getPrototypeOf,t=t&&t(t(E([])));t&&t!==e&&s.call(t,r)&&(m=t);var g=h.prototype=d.prototype=Object.create(m);function y(e){["next","throw","return"].forEach(function(t){a(e,t,function(e){return this._invoke(t,e)})})}function b(i,l){var t;u(this,"_invoke",{value:function(n,r){function e(){return new l(function(e,t){!function t(e,n,r,o){e=c(i[e],i,n);if("throw"!==e.type){var a=e.arg;return(n=a.value)&&"object"==C(n)&&s.call(n,"__await")?l.resolve(n.__await).then(function(e){t("next",e,r,o)},function(e){t("throw",e,r,o)}):l.resolve(n).then(function(e){a.value=e,r(a)},function(e){return t("throw",e,r,o)})}o(e.arg)}(n,r,e,t)})}return t=t?t.then(e,e):e()}})}function v(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 w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(v,this),this.reset(!0)}function E(t){if(t){var e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,e=function e(){for(;++n<t.length;)if(s.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return e.next=e}}return{next:T}}function T(){return{value:void 0,done:!0}}return u(g,"constructor",{value:f.prototype=h,configurable:!0}),u(h,"constructor",{value:f,configurable:!0}),f.displayName=a(h,o,"GeneratorFunction"),i.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},i.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,a(e,o,"GeneratorFunction")),e.prototype=Object.create(g),e},i.awrap=function(e){return{__await:e}},y(b.prototype),a(b.prototype,n,function(){return this}),i.AsyncIterator=b,i.async=function(e,t,n,r,o){void 0===o&&(o=Promise);var a=new b(l(e,t,n,r),o);return i.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},y(g),a(g,o,"Generator"),a(g,r,function(){return this}),a(g,"toString",function(){return"[object Generator]"}),i.keys=function(e){var t,n=Object(e),r=[];for(t in n)r.push(t);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},i.values=E,w.prototype={constructor:w,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&s.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function e(e,t){return a.type="throw",a.arg=n,r.next=e,t&&(r.method="next",r.arg=void 0),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var o=this.tryEntries[t],a=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var i=s.call(o,"catchLoc"),l=s.call(o,"finallyLoc");if(i&&l){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(i){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&s.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}var a=(o=o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc?null:o)?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},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),p},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r,o=n.completion;return"throw"===o.type&&(r=o.arg,O(n)),r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},i}S.exports=x,S.exports.__esModule=!0,S.exports.default=S.exports});r(Qe);var gr=Qe(),hg=gr;try{regeneratorRuntime=gr}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=gr:Function("r","regeneratorRuntime = r")(gr)}var mg=ie.defineMessages({csButtonText:{id:"neptune.Upload.csButtonText"},csFailureText:{id:"neptune.Upload.csFailureText"},csSuccessText:{id:"neptune.Upload.csSuccessText"},csTooLargeMessage:{id:"neptune.Upload.csTooLargeMessage"},csWrongTypeMessage:{id:"neptune.Upload.csWrongTypeMessage"},psButtonText:{id:"neptune.Upload.psButtonText"},psProcessingText:{id:"neptune.Upload.psProcessingText"},usButtonText:{id:"neptune.Upload.usButtonText"},usDropMessage:{id:"neptune.Upload.usDropMessage"},usPlaceholder:{id:"neptune.Upload.usPlaceholder"}});function gg(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}var yg=function(e){Ap(r,e);var t=gg(r);function r(){var n;return u(this,r),n=t.call(this),le(Cp(n),"onManualUpload",function(){var e=n.props.fileDropped;n.uploadInputRef&&n.uploadInputRef.current&&e(n.uploadInputRef.current.files[0])}),le(Cp(n),"getImage",function(){var e=n.props,t=e.usHelpImage,e=e.usLabel;return t?"string"==typeof t?ce("img",{src:t,alt:e,className:"thumbnail text-xs-center"}):t:ce("div",{className:"circle circle-sm circle-inverse p-t-1",children:ce(S.Upload,{size:24})})}),n.uploadInputRef=oe.createRef(),n}return s(r,[{key:"render",value:function(){var e=this,t=this.props,n=t.isComplete,r=t.usAccept,o=t.usButtonText,a=t.usDisabled,i=t.usLabel,t=t.usPlaceholder;return ce("div",{children:ce("div",{className:"droppable-default-card","aria-hidden":n,children:pe("div",{className:"droppable-card-content",children:[ce("div",{className:"m-b-3",children:this.getImage()}),i&&ce("h4",{className:"np-text-title-body m-b-1",children:i}),t&&ce("p",{className:"np-text-body-large m-b-3",children:"".concat(t)}),pe("label",{className:"btn btn-primary btn-md ".concat(a?"disabled":""),children:[o?ce("span",{children:o}):ce(S.Upload,{size:24,className:"m-r-0"}),ce("input",{ref:this.uploadInputRef,type:"file",accept:"*"===r?null:r,className:"tw-droppable-input hidden",disabled:a,name:"file-upload",onChange:function(){return e.onManualUpload()}})]})]})})})}}]),r}(oe.PureComponent);function bg(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}yg.propTypes={fileDropped:l.default.func.isRequired,isComplete:l.default.bool.isRequired,usAccept:l.default.string.isRequired,usButtonText:l.default.string.isRequired,usDisabled:l.default.bool.isRequired,usHelpImage:l.default.node.isRequired,usLabel:l.default.string.isRequired,usPlaceholder:l.default.string.isRequired};var vg=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return(2<arguments.length&&void 0!==arguments[2]?arguments[2]:fetch)("".concat(e.url),function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?bg(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):bg(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({method:"POST",body:t},e)).then(function(e){if(e.ok)return e;var t=new Error(e.statusText);throw t.status=e.status,t.response=e,t}).catch(function(e){throw e})},Og=function(r){return new Promise(function(t,n){var e=new FileReader;e.readAsDataURL(r),e.addEventListener("load",function(e){t(e.target.result)}),e.addEventListener("error",function(e){n(e)})})},wg=function(e,t){return Number.isInteger(t)&&e.size<=t},Eg=function(e,t){if(!e&&!t)return"";if(e&&e.type&&""!==e.type)return null!==(e=e.type)&&void 0!==e?e:"";if(t){t=t.match(/^data:([a-z]+\/[a-z]+);/);if(t&&t[1])return null!==(t=t[1])&&void 0!==t?t:""}return""},Tg=function(e,t,n){if(!e||!t)return!1;var r=t.replace(/\s/g,"").split(","),o=Eg(e,n);return!("*"!==t&&!r.includes(o))||r.some(function(e){var t=e.split("/"),e=t[0];return"*"===t[1]&&o.includes(e)})},Sg=["image/jpeg","video/*","application/pdf"],Cg=function(e){for(var t=atob(e),n=t.length,r=new Array(n),o=0;o<n;o+=1)r[o]=t.charCodeAt(o);return new Uint8Array(r)},Qe=function(e){var t=e.isComplete,n=e.usAccept,r=e.usButtonText,o=e.usDisabled,a=e.usHelpImage,i=e.usLabel,l=e.usPlaceholder,s=e.fileDropped;return ce("div",{children:ce("div",{className:"droppable-default-card","aria-hidden":t,children:pe("div",{className:"droppable-card-content",children:[ce("div",{className:"m-b-3",children:a?"string"==typeof a?ce("img",{src:a,alt:i,className:"thumbnail text-xs-center"}):a:ce("div",{className:"circle circle-sm circle-inverse p-t-1",children:ce(S.Upload,{size:24})})}),i&&ce(_,{type:re.Typography.TITLE_BODY,className:"m-b-1",children:i}),l&&ce(z,{as:"p",type:re.Typography.BODY_LARGE,className:"m-b-3",children:"".concat(l)}),ce($s,{disabled:o,onClick:function(){var e,t=function(e){if("*"===e)return Sg;var e=e.split(","),t={"image/*":"image/jpeg","application/*":"application/pdf"};return e.map(function(e){return t[e]||e}).filter(function(e){return Sg.includes(e)})}(n);if(0===t.length)throw new Error("provided mimeTypes not supported");e={allowedMimeTypes:t},new Promise(function(n,t){"undefined"!=typeof window&&void 0!==window.microapps||t("microapps must be available in window to use Spot Platform's Media API"),window.microapps.requestMedia(e).then(function(e){var t=Cg(e.bytes),e=new Blob([t],{type:e.mimeType});n(e)}).catch(function(e){return t(e)})}).then(function(e){return s(e)})},children:r||ce(S.Upload,{size:24,className:"m-r-0"})})]})})})};Qe.propTypes={fileDropped:l.default.func.isRequired,isComplete:l.default.bool.isRequired,usAccept:l.default.string.isRequired,usButtonText:l.default.string.isRequired,usDisabled:l.default.bool.isRequired,usHelpImage:l.default.node.isRequired,usLabel:l.default.string.isRequired,usPlaceholder:l.default.string.isRequired};function xg(e){var t=e.isComplete,n=e.isError,r=e.isSuccess,o=e.onAnimationCompleted,a=e.onClear,i=e.psButtonText,l=e.psProcessingText,s=ae.useTheme().isModern,e=re.Status.PROCESSING;return n&&(e=re.Status.FAILED),r&&(e=re.Status.SUCCEEDED),ce("div",{className:"droppable-processing-card droppable-card","aria-hidden":t,children:pe("div",{className:"droppable-card-content",children:[ce(Vh,{size:re.Size.Small,status:e,onAnimationCompleted:function(e){return o(e)}}),ce(_,{className:se({"m-t-3":!s,"m-b-3":!s,"m-t-2":s,"m-b-2":s}),type:re.Typography.TITLE_BODY,children:l}),i&&ce($s,{onClick:function(e){return a(e)},children:i})]})})}xg.propTypes={isComplete:l.default.bool.isRequired,isError:l.default.bool.isRequired,isSuccess:l.default.bool.isRequired,onAnimationCompleted:l.default.func.isRequired,onClear:l.default.func.isRequired,psButtonText:l.default.string.isRequired,psProcessingText:l.default.string.isRequired};function Dg(e){var t=ae.useTheme().isModern,n=e.csButtonText,r=e.csFailureText,o=e.csSuccessText,a=e.fileName,i=e.isComplete,l=e.isError,s=e.isImage,u=e.onClear,e=e.uploadedImage;return ce("div",{className:"droppable-complete-card droppable-card","aria-hidden":!i,children:pe("div",{className:"droppable-card-content",children:[ce("div",{className:"droppable-card-content d-flex flex-column align-items-center",children:pe(M,l?{children:[t?ce(Me,{size:re.Size.LARGE,sentiment:re.Sentiment.NEGATIVE}):ce(S.AlertCircle,{size:24,className:"text-negative"}),r&&ce("p",{className:se("m-t-2",{"m-b-0":t}),children:r})]}:{children:[s&&e?ce("img",{src:e,alt:"OK",className:"thumbnail "}):ce(S.Document,{}),a&&ce(z,{as:"p",className:"m-b-0",children:a}),o&&ce(_,{className:"caption m-t-1",type:re.Typography.TITLE_BODY,children:o})]})}),n&&ce($s,{priority:t?re.Priority.PRIMARY:re.Priority.SECONDARY,className:se({"m-t-1":t&&!l,"m-t-2":t&&l,"m-t-3":!t}),onClick:function(e){return u(e)},children:n})]})})}function Ag(n){var r=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 e,t=Lp(n);return t=r?(e=Lp(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),kp(this,t)}}Dg.propTypes={csButtonText:l.default.string.isRequired,csSuccessText:l.default.string.isRequired,csFailureText:l.default.string.isRequired,fileName:l.default.string.isRequired,isComplete:l.default.bool.isRequired,isError:l.default.bool.isRequired,isImage:l.default.bool.isRequired,onClear:l.default.func.isRequired,uploadedImage:l.default.string},Dg.defaultProps={uploadedImage:null};var Ng=["error","success"],Pg=10,kg=(le(gr={},re.UploadStep.UPLOAD_IMAGE_STEP,yg),le(gr,re.UploadStep.MEDIA_UPLOAD_STEP,Qe),gr),Qe=function(e){Ap(n,e);var t=Ag(n);function n(e){var c;return u(this,n),c=t.call(this,e),le(Cp(c),"onAnimationCompleted",function(){var t=fg(hg.mark(function e(t){var n,r,o,a,i,l;return hg.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a=c.state,n=a.response,r=a.isProcessing,o=a.fileName,a=c.props.animationDelay,r&&t===re.Status.SUCCEEDED&&(i=c.props.onSuccess,c.timeouts=setTimeout(function(){c.setState({isProcessing:!1,isComplete:!0},function(){return i?i(n,o):{}})},a)),r&&t===re.Status.FAILED&&(l=c.props.onFailure,c.timeouts=setTimeout(function(){c.setState({isProcessing:!1,isComplete:!0},function(){return l?l(n):{}})},a));case 4:case"end":return e.stop()}},e)}));return function(e){return t.apply(this,arguments)}}()),le(Cp(c),"asyncPost",function(e){var t=c.props,n=t.httpOptions,r=t.fetcher,o=n||{},t=o.fileInputName,t=void 0===t?e.name:t,o=o.data,a=void 0===o?{}:o,i=new FormData;return i.append(t,e),Object.keys(a).forEach(function(e){return i.append(e,a[e])}),vg(c.prepareHttpOptions(n),i,r)}),le(Cp(c),"asyncResponse",function(e,t){c.timeouts=setTimeout(function(){c.setState({response:e,isError:t===Ng[0],isSuccess:t===Ng[1]})},Pg)}),le(Cp(c),"prepareHttpOptions",function(e){if(!e.url)throw new Error("You must supply a URL to post image data asynchronously");return e}),le(Cp(c),"handleOnClear",function(e){e.preventDefault();e=c.props.onCancel;e&&e(),c.reset()}),le(Cp(c),"reset",function(){c.dragCounter=0,clearTimeout(c.timeouts),c.setState({isComplete:!1,isError:!1,isProcessing:!1,isSuccess:!1})}),le(Cp(c),"showDataImage",function(e){c.state.isImage&&c.setState({uploadedImage:e})}),le(Cp(c),"fileDropped",function(){var t=fg(hg.mark(function e(t){var n,r,o,a,i,l,s,u;return hg.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(l=c.props,n=l.httpOptions,r=l.maxSize,o=l.onStart,a=l.usDisabled,i=l.usAccept,l=c.state.isProcessing,a||l)return e.abrupt("return",!1);e.next=4;break;case 4:if(t){e.next=6;break}throw new Error("Could not retrieve file");case 6:return c.setState({fileName:t.name,isDroppable:!1,isProcessing:!0}),o&&o(t),s=null,e.prev=9,e.next=12,Og(t);case 12:s=e.sent,e.next=18;break;case 15:e.prev=15,e.t0=e.catch(9),c.asyncResponse(e.t0,Ng[0]);case 18:if(s){e.next=20;break}return e.abrupt("return",!1);case 20:if(c.setState({isImage:Eg(t,s).includes("image")}),Tg(t,i,s)){e.next=25;break}return u={status:415,statusText:"Unsupported Media Type"},c.asyncResponse(u,Ng[0]),e.abrupt("return",!1);case 25:if(wg(t,r)){e.next=29;break}return u={status:413,statusText:"Request Entity Too Large"},c.asyncResponse(u,Ng[0]),e.abrupt("return",!1);case 29:if(n)return e.next=32,c.asyncPost(t).then(function(e){return c.asyncResponse(e,"success")}).then(function(){return c.showDataImage(s),!0}).catch(function(e){return c.asyncResponse(e,Ng[0]),!1});e.next=33;break;case 32:return e.abrupt("return",e.sent);case 33:return c.showDataImage(s),c.asyncResponse(s,"success"),e.abrupt("return",!0);case 36:case"end":return e.stop()}},e,null,[[9,15]])}));return function(e){return t.apply(this,arguments)}}()),c.dragCounter=0,c.timeouts=null,c.state={fileName:"",isComplete:!1,isError:!1,isImage:!1,isProcessing:!1,isSuccess:!1,response:null,uploadedImage:null},c}return s(n,[{key:"getErrorMessage",value:function(e){switch(e){case 413:return this.props.csTooLargeMessage||this.props.intl.formatMessage(mg.csTooLargeMessage);case 415:return this.props.csWrongTypeMessage||this.props.intl.formatMessage(mg.csWrongTypeMessage);default:return this.props.csFailureText||this.props.intl.formatMessage(mg.csFailureText)}}},{key:"onDragLeave",value:function(e){e.preventDefault(),--this.dragCounter,0===this.dragCounter&&this.setState({isDroppable:!1})}},{key:"onDragEnter",value:function(e){e.preventDefault(),this.dragCounter+=1;var t=this.props.usDisabled,e=this.state.isProcessing;1!==this.dragCounter||t||e||this.setState({isDroppable:!0})}},{key:"onDrop",value:function(e){var t=this.state.isProcessing;e.preventDefault(),t||this.reset(),e.dataTransfer&&e.dataTransfer.files&&e.dataTransfer.files[0]&&this.fileDropped(e.dataTransfer.files[0])}},{key:"render",value:function(){var t=this,e=this.props,n=e.usDropMessage,r=e.usAccept,o=e.usButtonText,a=e.usDisabled,i=e.usHelpImage,l=e.usLabel,s=e.usPlaceholder,u=e.psButtonText,c=e.psProcessingText,p=e.csButtonText,d=e.csSuccessText,f=e.size,h=e.uploadStep,m=e.intl,g=this.state,y=g.response,b=g.fileName,v=g.isComplete,O=g.isDroppable,w=g.isError,E=g.isImage,T=g.isProcessing,e=g.isSuccess,g=g.uploadedImage,h=kg[h]||yg;return pe("div",{className:se("droppable-area",{droppable:!0,"tw-droppable-sm droppable-sm":"sm"===f,"tw-droppable-md droppable-md":"md"===f||!f,"tw-droppable-lg droppable-lg":"lg"===f,"droppable-dropping":O,"droppable-processing":T,"droppable-complete":v,"droppable-negative":w}),onDragEnter:function(e){return t.onDragEnter(e)},onDragLeave:function(e){return t.onDragLeave(e)},onDrop:function(e){return t.onDrop(e)},onDragOver:function(e){return e.preventDefault()},children:[!T&&!v&&ce(h,{fileDropped:function(e){return t.fileDropped(e)},isComplete:v,usAccept:r,usButtonText:o||m.formatMessage(mg.usButtonText),usDisabled:a,usHelpImage:i,usLabel:l,usPlaceholder:s||m.formatMessage(mg.usPlaceholder)}),T&&ce(xg,{isComplete:v,isError:w,isSuccess:e,psButtonText:u||m.formatMessage(mg.psButtonText),psProcessingText:c||m.formatMessage(mg.psProcessingText),onAnimationCompleted:function(e){return t.onAnimationCompleted(e)},onClear:function(e){return t.handleOnClear(e)}}),(e||w||v)&&ce(Dg,{fileName:b,isComplete:v,isError:w,isImage:E,csButtonText:p||m.formatMessage(mg.csButtonText),csFailureText:this.getErrorMessage(null==y?void 0:y.status),csSuccessText:d||m.formatMessage(mg.csSuccessText),uploadedImage:g,onClear:function(e){return t.handleOnClear(e)}}),!T&&ce("div",{className:"droppable-dropping-card droppable-card",children:pe("div",{className:"droppable-card-content",children:[ce("div",{className:"circle circle-sm text-primary",children:ce(S.Plus,{size:"16"})}),ce(_,{type:re.Typography.TITLE_BODY,className:"m-t-3",children:n||m.formatMessage(mg.usDropMessage)})]})})]})}}]),n}(oe.Component);Qe.propTypes={animationDelay:l.default.number,csButtonText:l.default.string,csFailureText:l.default.string,csSuccessText:l.default.string,csTooLargeMessage:l.default.string,csWrongTypeMessage:l.default.string,httpOptions:l.default.shape({url:l.default.string.isRequired,method:l.default.oneOf(["POST","PUT","PATCH"]),fileInputName:l.default.string,data:l.default.object,headers:l.default.object}),fetcher:l.default.func,maxSize:l.default.number,onCancel:l.default.func,onFailure:l.default.func,onStart:l.default.func,onSuccess:l.default.func,psButtonText:l.default.string,psProcessingText:l.default.string,size:l.default.oneOf(["sm","md","lg"]),usAccept:l.default.string,usButtonText:l.default.string,usDisabled:l.default.bool,usDropMessage:l.default.string,usHelpImage:l.default.node,usLabel:l.default.string,usPlaceholder:l.default.string,uploadStep:l.default.oneOf(["uploadImageStep","mediaUploadStep"])},Qe.defaultProps={animationDelay:700,csButtonText:void 0,csFailureText:void 0,csSuccessText:void 0,csTooLargeMessage:void 0,csWrongTypeMessage:void 0,httpOptions:null,maxSize:5e6,onCancel:null,onFailure:null,onStart:null,onSuccess:null,psButtonText:void 0,psProcessingText:void 0,size:"md",usAccept:"image/*",usButtonText:void 0,usDisabled:!1,usDropMessage:void 0,usHelpImage:"",usLabel:"",usPlaceholder:void 0,uploadStep:re.UploadStep.UPLOAD_IMAGE_STEP};function Lg(e){return e.map(function(e){return e.split(",").filter(function(e){return!e.includes("/")}).map(function(e){return e.replace(".","").toUpperCase()}).join(", ")})}var Rg,gr=ie.injectIntl(Qe),Ig=ie.defineMessages({fileIsTooLarge:{id:"neptune.UploadInput.fileIsTooLarge"},fileTypeNotSupported:{id:"neptune.UploadInput.fileTypeNotSupported"},deleteModalTitle:{id:"neptune.UploadInput.deleteModalTitle"},deleteModalBody:{id:"neptune.UploadInput.deleteModalBody"},deleteModalCancelButtonText:{id:"neptune.UploadInput.deleteModalCancelButtonText"},deleteModalConfirmButtonText:{id:"neptune.UploadInput.deleteModalConfirmButtonText"},maximumFilesAlreadyUploaded:{id:"neptune.UploadInput.maximumFilesAlreadyUploaded"}}),_g=ie.defineMessages({uploadFile:{id:"neptune.UploadButton.uploadFile"},uploadFiles:{id:"neptune.UploadButton.uploadFiles"},instructions:{id:"neptune.UploadButton.instructions"},allFileTypes:{id:"neptune.UploadButton.allFileTypes"},dropFile:{id:"neptune.UploadButton.dropFiles"}}),Mg=[re.FileType.PDF,re.FileType.JPG,re.FileType.PNG];function jg(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Ug(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?jg(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):jg(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}(Qe=Rg=Rg||{}).uploadInput="uploadInput",Qe.mediaBody="mediaBody";function Bg(e){e.preventDefault()}function Fg(e){var t=e.disabled,n=e.multiple,r=e.description,o=void 0===(s=e.fileTypes)?Mg:s,a=void 0===(c=e.sizeLimit)?5e3:c,i=e.maxFiles,l=e.onChange,s=void 0===(h=e.id)?"np-upload-button":h,u=e.uploadButtonTitle,c=e.multipleFileInputWithFilesAdded,p=ae.useTheme().isModern,d=(ws(),ie.useIntl().formatMessage),f=oe.useRef(null),h=oe.useState(!1),h=(e=fe(h,2))[0],m=e[1],g=oe.useRef(0),y=function(){return"*"===o?o:(Array.isArray(o)?Lg(o):Lg([o])).join(", ")};return pe("div",Ug(Ug({className:se("np-upload-button-container","droppable",{"droppable-dropping":h})},!t&&{onDragEnter:function(e){e.preventDefault(),g.current+=1,1===g.current&&m(!0)},onDragLeave:function(e){e.preventDefault(),--g.current,0===g.current&&m(!1)},onDrop:function(e){e.preventDefault(),g.current=0,m(!1),e.dataTransfer&&e.dataTransfer.files&&e.dataTransfer.files[0]&&l(e.dataTransfer.files)},onDragOver:Bg}),{},{children:[ce("input",Ug(Ug(Ug({ref:f,id:s,type:"file"},"*"===y()?null:Array.isArray(o)?{accept:o.join(",")}:{accept:o}),n&&{multiple:!0}),{},{className:"tw-droppable-input",disabled:t,name:"file-upload","data-testid":Rg.uploadInput,onChange:function(e){e=e.target.files;e&&(l(e),f.current&&(f.current.value=""))}})),ce("label",{htmlFor:s,className:se("btn","np-upload-accent","np-upload-button",{disabled:t,"np-upload-input--square-top":c}),children:pe("div",{className:"media",children:[ce("div",{className:"np-upload-icon media-left",children:ce(S.Upload,{size:24,className:"text-link"})}),pe("div",{className:"media-body text-xs-left","data-testid":Rg.mediaBody,children:[ce(z,{type:re.Typography.BODY_LARGE_BOLD,className:"d-block",children:u||d(n?_g.uploadFiles:_g.uploadFile)}),ce(M,{children:pe(z,{className:se({"text-primary":!t,small:!p,"font-weight-normal":!p}),children:[function(){if(r)return r;var e="*"===(e=y())?d(_g.allFileTypes):e;return d(_g.instructions,{fileTypes:e,size:Math.round(a/1e3)})}(),i&&pe(M,{children:[ce("br",{}),"Maximum ".concat(i," files.")]})]})})]})]})}),h&&pe("div",{className:se("droppable-card","droppable-dropping-card","droppable-card-content",{"np-upload-input--square-top":c}),children:[ce(S.PlusCircle,{className:"m-x-1",size:24}),ce("div",{children:d(_g.dropFile)})]})]}))}function qg(e){var t=e.children,n=e.url,r=e.onDownload,e=e.singleFileUpload;return n?ce("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:e?"np-upload-item--single-file":"",onClick:r,children:t}):ce("div",{children:t})}var zg,Gg=ie.defineMessages({uploadingFailed:{id:"neptune.UploadItem.uploadingFailed"},uploaded:{id:"neptune.UploadItem.uploaded"},uploading:{id:"neptune.UploadItem.uploading"},deleting:{id:"neptune.UploadItem.deleting"},uploadedFile:{id:"neptune.UploadItem.uploadedFile"},removeFile:{id:"neptune.UploadItem.removeFile"}});(Qe=zg=zg||{}).uploadItem="uploadItem",Qe.mediaBody="mediaBody";function Vg(e){var t=e.file,n=e.canDelete,r=e.onDelete,o=e.onDownload,a=e.singleFileUpload,i=ie.useIntl().formatMessage,l=t.status,s=t.filename,u=t.error,c=t.url,p=ae.useTheme().isModern,e=[re.Status.SUCCEEDED,void 0].includes(l)&&!!c;return ce("div",{className:se("np-upload-item",{"np-upload-item__link":e}),"data-testid":zg.uploadItem,children:pe("div",{className:"np-upload-item__body",children:[ce(qg,{url:e?c:void 0,singleFileUpload:a,onDownload:function(e){o&&(e.preventDefault(),o(t))},children:ce("div",{className:"np-upload-button",children:pe("div",{className:"media",children:[ce("div",{className:"np-upload-icon media-left",children:function(){if(u||l===re.Status.FAILED)return p?ce(Me,{size:re.Size.SMALL,sentiment:re.Sentiment.NEGATIVE}):ce(S.AlertCircle,{size:24,className:"text-negative"});var e;switch(l){case re.Status.PROCESSING:case re.Status.PENDING:e=ce(Vh,{size:re.Size.EXTRA_SMALL,status:re.Status.PROCESSING});break;case re.Status.SUCCEEDED:case re.Status.DONE:default:e=p?ce(Me,{size:re.Size.SMALL,sentiment:re.Sentiment.POSITIVE}):ce(Vh,{size:re.Size.EXTRA_SMALL,status:re.Status.SUCCEEDED})}return p?e:ce("span",{style:{transform:"scale(0.8335)"},children:e})}()}),pe("div",{className:"media-body text-xs-left","data-testid":zg.mediaBody,children:[ce(z,{className:"text-word-break d-block text-primary",children:s||i(Gg.uploadedFile)}),function(){if(u||l===re.Status.FAILED)return ce(z,{type:re.Typography.BODY_DEFAULT_BOLD,className:"text-negative",children:"object"===Pp(u)&&u.message||u||i(Gg.uploadingFailed)});switch(l){case re.Status.PENDING:return ce(z,{type:re.Typography.BODY_DEFAULT_BOLD,children:i(Gg.uploading)});case re.Status.PROCESSING:return ce(z,{children:i(Gg.deleting)});case re.Status.SUCCEEDED:case re.Status.DONE:default:return ce(z,{type:re.Typography.BODY_DEFAULT_BOLD,className:"text-positive",children:i(Gg.uploaded)})}}()]})]})})}),n&&ce("button",{"aria-label":i(Gg.removeFile,{filename:s}),className:se("btn","np-upload-item__remove-button","media-left",{"np-upload-item--single-file":a}),type:"button",onClick:function(){return r()},children:ce(S.CrossCircleFill,{size:16})})]})})}function Hg(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Yg(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Hg(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hg(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Wg(e){var t=e.name,n=e.size,e=(new Date).getTime();return"".concat(t,"_").concat(n,"_").concat(e)}Qe={de:{"neptune.Chips.ariaLabel":"{choice} zurücksetzen","neptune.ClearButton.ariaLabel":"Zurücksetzen","neptune.CloseButton.ariaLabel":"Schließen","neptune.DateInput.day.label":"Tag","neptune.DateInput.month.label":"Monat","neptune.DateInput.year.label":"Jahr","neptune.MoneyInput.Select.placeholder":"Wähle eine der Möglichkeiten aus...","neptune.Pagination.ariaLabel":"Seitennummer-Navigation","neptune.PaginationLink.ariaLabel.active":"Weiter zur Seite {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Aktuelle Seite – Seite {pageNumber}","neptune.Select.searchPlaceholder":"Wird gesucht...","neptune.Summary.statusDone":"Schritt erledigt","neptune.Summary.statusNotDone":"Schritt noch zu erledigen","neptune.Summary.statusPending":"Schritt ausstehend","neptune.Upload.csButtonText":"Eine andere Datei hochladen?","neptune.Upload.csFailureText":"Hochladen fehlgeschlagen. Bitte versuche es erneut","neptune.Upload.csSuccessText":"Fertig hochgeladen!","neptune.Upload.csTooLargeMessage":"Bitte wähle eine Datei aus, die kleiner als 5 MB ist","neptune.Upload.csWrongTypeMessage":"Dateityp wird nicht unterstützt. Bitte versuche es erneut mit einer anderen Datei","neptune.Upload.psButtonText":"Abbrechen","neptune.Upload.psProcessingText":"Wird hochgeladen...","neptune.Upload.usButtonText":"Oder wähle eine Datei aus","neptune.Upload.usDropMessage":"Datei zum Hochladen in dieses Feld ziehen","neptune.Upload.usPlaceholder":"Ziehe eine Datei in dieses Feld, die kleiner als 5 MB ist","neptune.UploadButton.allFileTypes":"Alle Dateiformate","neptune.UploadButton.dropFiles":"Datei zum Hochladen in dieses Feld ziehen","neptune.UploadButton.instructions":"{fileTypes}, kleiner als {size} MB","neptune.UploadButton.uploadFile":"Datei hochladen","neptune.UploadButton.uploadFiles":"Dateien hochladen","neptune.UploadInput.deleteModalBody":"Wenn du diese Datei entfernst, wird sie aus unserem System gelöscht werden.","neptune.UploadInput.deleteModalCancelButtonText":"Abbrechen","neptune.UploadInput.deleteModalConfirmButtonText":"Entfernen","neptune.UploadInput.deleteModalTitle":"Möchtest du diese Datei wirklich entfernen?","neptune.UploadInput.fileIsTooLarge":"Die Datei ist zu groß","neptune.UploadInput.fileTypeNotSupported":"Dateityp wird nicht unterstützt","neptune.UploadInput.maximumFilesAlreadyUploaded":"Leider ist das Hochladen fehlgeschlagen, da wir nicht mehr als {maxFilesAllowed} Dateien auf einmal akzeptieren können.","neptune.UploadItem.deleting":"Wird gelöscht...","neptune.UploadItem.removeFile":"Datei {filename} entfernen","neptune.UploadItem.uploaded":"Hochgeladen","neptune.UploadItem.uploadedFile":"Hochgeladene Datei","neptune.UploadItem.uploading":"Wird hochgeladen...","neptune.UploadItem.uploadingFailed":"Hochladen fehlgeschlagen"},en:Xh,es:{"neptune.Chips.ariaLabel":"Descartar {choice}","neptune.ClearButton.ariaLabel":"Borrar","neptune.CloseButton.ariaLabel":"Cerrar","neptune.DateInput.day.label":"Día","neptune.DateInput.month.label":"Mes","neptune.DateInput.year.label":"Año","neptune.MoneyInput.Select.placeholder":"Selecciona una opción...","neptune.Pagination.ariaLabel":"Navegación por las páginas","neptune.PaginationLink.ariaLabel.active":"Ve a la página {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Página actual, página {pageNumber}","neptune.Select.searchPlaceholder":"Buscar...","neptune.Summary.statusDone":"Apartado listo","neptune.Summary.statusNotDone":"Apartado a completar","neptune.Summary.statusPending":"Apartado pendiente","neptune.Upload.csButtonText":"¿Quieres subir otro archivo?","neptune.Upload.csFailureText":"La carga del archivo ha fallado. Por favor, inténtalo de nuevo","neptune.Upload.csSuccessText":"¡Se ha subido el archivo!","neptune.Upload.csTooLargeMessage":"Por favor, sube un archivo de menos de 5 MB","neptune.Upload.csWrongTypeMessage":"Tipo de archivo no aceptado. Por favor, inténtalo de nuevo con un archivo diferente","neptune.Upload.psButtonText":"Cancela","neptune.Upload.psProcessingText":"Subiendo...","neptune.Upload.usButtonText":"O selecciona un archivo","neptune.Upload.usDropMessage":"Arrastra un archivo para subirlo","neptune.Upload.usPlaceholder":"Arrastra y suelta un archivo menor de 5MB","neptune.UploadButton.allFileTypes":"Todos los tipos de archivos","neptune.UploadButton.dropFiles":"Arrastra un archivo para subirlo","neptune.UploadButton.instructions":"{fileTypes}, menor que {size}MB","neptune.UploadButton.uploadFile":"Subir archivo","neptune.UploadButton.uploadFiles":"Subir archivos","neptune.UploadInput.deleteModalBody":"La eliminación de este archivo lo borrará de nuestro sistema.","neptune.UploadInput.deleteModalCancelButtonText":"Cancelar","neptune.UploadInput.deleteModalConfirmButtonText":"Eliminar","neptune.UploadInput.deleteModalTitle":"¿Estás seguro que quieres eliminar este archivo?","neptune.UploadInput.fileIsTooLarge":"El archivo es demasiado grande","neptune.UploadInput.fileTypeNotSupported":"Tipo de archivo no compatible","neptune.UploadInput.maximumFilesAlreadyUploaded":"Lo sentimos, ha habido un error porque solo podemos aceptar {maxFilesAllowed} archivos a la vez.","neptune.UploadItem.deleting":"Eliminando...","neptune.UploadItem.removeFile":"Eliminar el archivo {filename}","neptune.UploadItem.uploaded":"Subido","neptune.UploadItem.uploadedFile":"Archivo subido","neptune.UploadItem.uploading":"Subiendo...","neptune.UploadItem.uploadingFailed":"Fallo al subir el archivo"},fr:{"neptune.Chips.ariaLabel":"Effacer {choice}","neptune.ClearButton.ariaLabel":"Effacer","neptune.CloseButton.ariaLabel":"Fermer","neptune.DateInput.day.label":"Jour","neptune.DateInput.month.label":"Mois","neptune.DateInput.year.label":"Année","neptune.MoneyInput.Select.placeholder":"Sélectionner une option...","neptune.Pagination.ariaLabel":"Navigation par pagination","neptune.PaginationLink.ariaLabel.active":"Aller à la page {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Page actuelle, page {pageNumber}","neptune.Select.searchPlaceholder":"Recherche...","neptune.Summary.statusDone":"Validé","neptune.Summary.statusNotDone":"À compléter","neptune.Summary.statusPending":"En attente","neptune.Upload.csButtonText":"Envoyer un autre fichier ?","neptune.Upload.csFailureText":"Échec du téléchargement. Veuillez réessayer","neptune.Upload.csSuccessText":"Téléchargement terminé !","neptune.Upload.csTooLargeMessage":"Veuillez fournir un fichier inférieur à 5 Mo","neptune.Upload.csWrongTypeMessage":"Format non pris en charge. Veuillez réessayer avec un fichier différent","neptune.Upload.psButtonText":"Annuler","neptune.Upload.psProcessingText":"Téléchargement...","neptune.Upload.usButtonText":"Ou sélectionnez un fichier","neptune.Upload.usDropMessage":"Déposer un fichier pour démarrer le téléchargement","neptune.Upload.usPlaceholder":"Glissez et déposez un fichier inférieur à 5 Mo","neptune.UploadButton.allFileTypes":"Tous types de fichiers","neptune.UploadButton.dropFiles":"Déposer un fichier pour démarrer le téléchargement","neptune.UploadButton.instructions":"{fileTypes}, inférieur à {size} Mo","neptune.UploadButton.uploadFile":"Envoyer le fichier","neptune.UploadButton.uploadFiles":"Transférer des documents","neptune.UploadInput.deleteModalBody":"La suppression de ce fichier sera définitive sur notre système.","neptune.UploadInput.deleteModalCancelButtonText":"Annuler","neptune.UploadInput.deleteModalConfirmButtonText":"Supprimer","neptune.UploadInput.deleteModalTitle":"Voulez-vous vraiment supprimer ce fichier ?","neptune.UploadInput.fileIsTooLarge":"Fichier trop lourd","neptune.UploadInput.fileTypeNotSupported":"Type de fichier non pris en charge","neptune.UploadInput.maximumFilesAlreadyUploaded":"Nous sommes désolés, ce téléchargement a échoué car nous ne pouvons accepter que {maxFilesAllowed} fichiers à la fois.","neptune.UploadItem.deleting":"Suppression...","neptune.UploadItem.removeFile":"Supprimer le fichier {filename}","neptune.UploadItem.uploaded":"Téléchargé","neptune.UploadItem.uploadedFile":"Fichier téléchargé","neptune.UploadItem.uploading":"Téléchargement...","neptune.UploadItem.uploadingFailed":"Échec du téléchargement"},hu:{"neptune.Chips.ariaLabel":"{choice} törlése","neptune.ClearButton.ariaLabel":"Törlés","neptune.CloseButton.ariaLabel":"Bezárás","neptune.DateInput.day.label":"Nap","neptune.DateInput.month.label":"Hónap","neptune.DateInput.year.label":"Év","neptune.MoneyInput.Select.placeholder":"Válassz ki egy lehetőséget...","neptune.Pagination.ariaLabel":"Lapszámos navigáció","neptune.PaginationLink.ariaLabel.active":"Ugrás a(z) {pageNumber}. oldalra","neptune.PaginationLink.ariaLabel.inactive":"Jelenlegi oldal, {pageNumber}. oldal","neptune.Select.searchPlaceholder":"Keresés...","neptune.Summary.statusDone":"Kész","neptune.Summary.statusNotDone":"Hátravan","neptune.Summary.statusPending":"Függőben","neptune.Upload.csButtonText":"Másik fájl feltöltése?","neptune.Upload.csFailureText":"Feltöltés sikertelen. Kérünk, próbáld újra","neptune.Upload.csSuccessText":"Feltöltés sikeres","neptune.Upload.csTooLargeMessage":"Kérünk, 5 MB-nál kisebb fájlt tölts fel","neptune.Upload.csWrongTypeMessage":"Nem támogatott fájltípus. Kérünk, próbáld újra másik fájllal","neptune.Upload.psButtonText":"Mégsem","neptune.Upload.psProcessingText":"Feltöltés...","neptune.Upload.usButtonText":"Vagy válaszd ki a fájlt","neptune.Upload.usDropMessage":"Húzd ide a fájlokat a feltöltéshez","neptune.Upload.usPlaceholder":"Húzz ide egy 5MB-nál kisebb fájlt","neptune.UploadButton.allFileTypes":"Összes fájltípus","neptune.UploadButton.dropFiles":"Húzd a fájlokat ide a feltöltéshez","neptune.UploadButton.instructions":"{fileTypes}, legfeljebb {size}MB","neptune.UploadButton.uploadFile":"Fájl feltöltése","neptune.UploadButton.uploadFiles":"Fájlok feltöltése","neptune.UploadInput.deleteModalBody":"Ha törlöd ezt a fájlt, azzal a rendszerünkből is eltávolítod.","neptune.UploadInput.deleteModalCancelButtonText":"Mégsem","neptune.UploadInput.deleteModalConfirmButtonText":"Eltávolítás","neptune.UploadInput.deleteModalTitle":"Biztosan törölni szeretnéd ezt a fájlt?","neptune.UploadInput.fileIsTooLarge":"A fájl túl nagy","neptune.UploadInput.fileTypeNotSupported":"Nem támogatott fájltípus","neptune.UploadInput.maximumFilesAlreadyUploaded":"Sajnos ez a feltöltés sikertelen volt, mert csak {maxFilesAllowed} fájlt tudunk egyszerre elfogadni.","neptune.UploadItem.deleting":"Törlés...","neptune.UploadItem.removeFile":"{filename} fájl törlése","neptune.UploadItem.uploaded":"Feltöltve","neptune.UploadItem.uploadedFile":"Feltöltött fájl","neptune.UploadItem.uploading":"Feltöltés...","neptune.UploadItem.uploadingFailed":"Feltöltés sikertelen"},id:{"neptune.Chips.ariaLabel":"Hapus {choice}","neptune.ClearButton.ariaLabel":"Hapus","neptune.CloseButton.ariaLabel":"Tutup","neptune.DateInput.day.label":"Hari","neptune.DateInput.month.label":"Bulan","neptune.DateInput.year.label":"Tahun","neptune.MoneyInput.Select.placeholder":"Pilih opsi...","neptune.Pagination.ariaLabel":"Halaman navigasi","neptune.PaginationLink.ariaLabel.active":"Lanjut ke halaman {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Halaman saat ini, halaman {pageNumber}","neptune.Select.searchPlaceholder":"Cari...","neptune.Summary.statusDone":"Item selesai","neptune.Summary.statusNotDone":"Item yang harus dilakukan","neptune.Summary.statusPending":"Item tertunda","neptune.Upload.csButtonText":"Unggah file lainnya?","neptune.Upload.csFailureText":"Unggahan gagal. Silakan coba lagi","neptune.Upload.csSuccessText":"Pengunggahan selesai!","neptune.Upload.csTooLargeMessage":"Harap berikan file kurang dari 5MB","neptune.Upload.csWrongTypeMessage":"Tipe file ini tidak didukung. Mohon coba lagi dengan file yang berbeda","neptune.Upload.psButtonText":"Batalkan","neptune.Upload.psProcessingText":"Mengunggah...","neptune.Upload.usButtonText":"Atau pilih file","neptune.Upload.usDropMessage":"Letakkan file untuk mulai mengunggah","neptune.Upload.usPlaceholder":"Geser dan letakkan file berukuran kurang dari 5MB","neptune.UploadButton.allFileTypes":"Semua jenis file","neptune.UploadButton.dropFiles":"Lepaskan file untuk mulai mengunggah","neptune.UploadButton.instructions":"{fileTypes}, kurang dari {size}MB","neptune.UploadButton.uploadFile":"Unggah file","neptune.UploadButton.uploadFiles":"Unggah file","neptune.UploadInput.deleteModalBody":"Menghapus file ini akan menghilangkannya dari sistem kami.","neptune.UploadInput.deleteModalCancelButtonText":"Batalkan","neptune.UploadInput.deleteModalConfirmButtonText":"Hapus","neptune.UploadInput.deleteModalTitle":"Yakin ingin menghapus file ini?","neptune.UploadInput.fileIsTooLarge":"File terlalu besar","neptune.UploadInput.fileTypeNotSupported":"Jenis file tidak didukung","neptune.UploadInput.maximumFilesAlreadyUploaded":"Maaf, unggahan ini gagal karena kami hanya dapat menerima {maxFilesAllowed} file sekaligus.","neptune.UploadItem.deleting":"Menghapus...","neptune.UploadItem.removeFile":"Hapus file {filename}","neptune.UploadItem.uploaded":"Diunggah","neptune.UploadItem.uploadedFile":"File yang diunggah","neptune.UploadItem.uploading":"Mengunggah...","neptune.UploadItem.uploadingFailed":"Pengunggahan gagal"},it:{"neptune.Chips.ariaLabel":"Rimuovi {choice}","neptune.ClearButton.ariaLabel":"Elimina","neptune.CloseButton.ariaLabel":"Chiudi","neptune.DateInput.day.label":"Giorno","neptune.DateInput.month.label":"Mese","neptune.DateInput.year.label":"Anno","neptune.MoneyInput.Select.placeholder":"Seleziona un'opzione...","neptune.Pagination.ariaLabel":"Navigazione","neptune.PaginationLink.ariaLabel.active":"Via a pagina {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Pagina corrente, pagina {pageNumber}","neptune.Select.searchPlaceholder":"Cerca...","neptune.Summary.statusDone":"Completato","neptune.Summary.statusNotDone":"Da completare","neptune.Summary.statusPending":"In corso","neptune.Upload.csButtonText":"Carica un altro documento?","neptune.Upload.csFailureText":"Caricamento fallito. Per favore riprova","neptune.Upload.csSuccessText":"Caricamento completato!","neptune.Upload.csTooLargeMessage":"Carica un file più piccolo di 5MB","neptune.Upload.csWrongTypeMessage":"Formato del documento non supportato. Riprova con un formato diverso","neptune.Upload.psButtonText":"Annulla","neptune.Upload.psProcessingText":"Caricamento...","neptune.Upload.usButtonText":"O seleziona un documento","neptune.Upload.usDropMessage":"Rilascia il documento per iniziare il caricamento","neptune.Upload.usPlaceholder":"Trascina e rilascia un file inferiore a 5MB","neptune.UploadButton.allFileTypes":"Tutti i tipi di file","neptune.UploadButton.dropFiles":"Rilascia file per iniziare a caricare","neptune.UploadButton.instructions":"{fileTypes}, minore di {size}MB","neptune.UploadButton.uploadFile":"Carica un file","neptune.UploadButton.uploadFiles":"Carica i file","neptune.UploadInput.deleteModalBody":"Rimuovere questo file lo cancellerà dal nostro sistema.","neptune.UploadInput.deleteModalCancelButtonText":"Annulla","neptune.UploadInput.deleteModalConfirmButtonText":"Rimuovi","neptune.UploadInput.deleteModalTitle":"Vuoi davvero cancellare questo file?","neptune.UploadInput.fileIsTooLarge":"File troppo grande","neptune.UploadInput.fileTypeNotSupported":"Tipo di file non supportato","neptune.UploadInput.maximumFilesAlreadyUploaded":"Siamo spiacenti, questo caricamento non è riuscito perché possiamo accettare solo {maxFilesAllowed} file alla volta.","neptune.UploadItem.deleting":"Eliminando...","neptune.UploadItem.removeFile":"Rimuovi file {filename}","neptune.UploadItem.uploaded":"Caricato","neptune.UploadItem.uploadedFile":"File caricato","neptune.UploadItem.uploading":"Caricamento...","neptune.UploadItem.uploadingFailed":"Caricamento fallito"},ja:{"neptune.Chips.ariaLabel":"{choice} をクリア","neptune.ClearButton.ariaLabel":"消去","neptune.CloseButton.ariaLabel":"閉じる","neptune.DateInput.day.label":"日","neptune.DateInput.month.label":"月","neptune.DateInput.year.label":"年","neptune.MoneyInput.Select.placeholder":"選択してください...","neptune.Pagination.ariaLabel":"ページネーションナビゲーション","neptune.PaginationLink.ariaLabel.active":"{pageNumber}のページへ移動します","neptune.PaginationLink.ariaLabel.inactive":"現在のページ、{pageNumber}ページ","neptune.Select.searchPlaceholder":"検索... ","neptune.Summary.statusDone":"完了","neptune.Summary.statusNotDone":"未対応","neptune.Summary.statusPending":"保留中","neptune.Upload.csButtonText":"別のファイルをアップロードしますか?","neptune.Upload.csFailureText":"アップロードに失敗しました。もう一度やり直してください。","neptune.Upload.csSuccessText":"アップロードが完了しました。","neptune.Upload.csTooLargeMessage":"5MBよりも小さいファイルをアップロードください","neptune.Upload.csWrongTypeMessage":"ファイルの種類はサポートされていません。別のファイルで再度お試しください","neptune.Upload.psButtonText":"キャンセル","neptune.Upload.psProcessingText":"アップロード中…","neptune.Upload.usButtonText":"または、ファイルを選択する","neptune.Upload.usDropMessage":"ファイルをドロップしてアップロードする","neptune.Upload.usPlaceholder":"5MB以下のファイルのみドラッグ&ドロップが可能です","neptune.UploadButton.allFileTypes":"すべてのファイル種類","neptune.UploadButton.dropFiles":"ファイルをドロップしてアップロードする","neptune.UploadButton.instructions":"{fileTypes}、{size} MB以下","neptune.UploadButton.uploadFile":"ファイルのアップロード","neptune.UploadButton.uploadFiles":"ファイルのアップロード","neptune.UploadInput.deleteModalBody":"このファイルを削除すると、当社のシステムからも削除されます。","neptune.UploadInput.deleteModalCancelButtonText":"キャンセル","neptune.UploadInput.deleteModalConfirmButtonText":"削除","neptune.UploadInput.deleteModalTitle":"このファイルを削除しますか?","neptune.UploadInput.fileIsTooLarge":"ファイルが大きすぎます。","neptune.UploadInput.fileTypeNotSupported":"このファイルの種類はサポートされていません","neptune.UploadInput.maximumFilesAlreadyUploaded":"申し訳ございませんが、このアップロードに失敗しました。一度に{maxFilesAllowed}個のファイルのみ受付可能です。","neptune.UploadItem.deleting":"削除中...","neptune.UploadItem.removeFile":"{filename} を削除","neptune.UploadItem.uploaded":"アップロード済み","neptune.UploadItem.uploadedFile":"アップロード済みのファイル","neptune.UploadItem.uploading":"アップロード中…","neptune.UploadItem.uploadingFailed":"アップロードが失敗しました"},pl:{"neptune.Chips.ariaLabel":"Wyczyść {choice}","neptune.ClearButton.ariaLabel":"Wyczyść","neptune.CloseButton.ariaLabel":"Zamknij","neptune.DateInput.day.label":"Dzień","neptune.DateInput.month.label":"Miesiąc","neptune.DateInput.year.label":"Rok","neptune.MoneyInput.Select.placeholder":"Wybierz opcję...","neptune.Pagination.ariaLabel":"Nawigacja w paginacji","neptune.PaginationLink.ariaLabel.active":"Przejdź do strony {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Obecna strona, strona {pageNumber}","neptune.Select.searchPlaceholder":"Wyszukaj...","neptune.Summary.statusDone":"Czynność wykonana","neptune.Summary.statusNotDone":"Czynność do wykonania","neptune.Summary.statusPending":"Czynność oczekująca","neptune.Upload.csButtonText":"Prześlij kolejny plik?","neptune.Upload.csFailureText":"Przesyłanie nie powiodło się. Proszę spróbować ponownie","neptune.Upload.csSuccessText":"Przesyłanie zakończone!","neptune.Upload.csTooLargeMessage":"Proszę przesłać plik mniejszy niż 5MB","neptune.Upload.csWrongTypeMessage":"Nieobsługiwany typ pliku. Spróbuj ponownie z innym plikiem","neptune.Upload.psButtonText":"Anuluj","neptune.Upload.psProcessingText":"Przesyłanie...","neptune.Upload.usButtonText":"Lub wybierz plik","neptune.Upload.usDropMessage":"Upuść plik, aby rozpocząć przesyłanie","neptune.Upload.usPlaceholder":"Przeciągnij i upuść plik mniejszy niż 5MB","neptune.UploadButton.allFileTypes":"Wszystkie typy plików","neptune.UploadButton.dropFiles":"Upuść plik, żeby rozpocząć przesyłanie","neptune.UploadButton.instructions":"{fileTypes}, mniejsze niż {size}MB","neptune.UploadButton.uploadFile":"Prześlij plik","neptune.UploadButton.uploadFiles":"Prześlij pliki","neptune.UploadInput.deleteModalBody":"Usunięcie tego pliku oznacza usunięcie go z naszego systemu.","neptune.UploadInput.deleteModalCancelButtonText":"Anuluj","neptune.UploadInput.deleteModalConfirmButtonText":"Usuń","neptune.UploadInput.deleteModalTitle":"Czy na pewno chcesz usunąć ten plik?","neptune.UploadInput.fileIsTooLarge":"Plik jest za duży","neptune.UploadInput.fileTypeNotSupported":"Nieobsługiwany typ pliku","neptune.UploadInput.maximumFilesAlreadyUploaded":"Sorry, this upload failed because we can only accept {maxFilesAllowed} files at once.","neptune.UploadItem.deleting":"Usuwanie...","neptune.UploadItem.removeFile":"Usuń plik {filename}","neptune.UploadItem.uploaded":"Przesłano","neptune.UploadItem.uploadedFile":"Przesłany plik","neptune.UploadItem.uploading":"Przesyłanie...","neptune.UploadItem.uploadingFailed":"Przesyłanie nie powiodło się"},pt:{"neptune.Chips.ariaLabel":"Remover {choice}","neptune.ClearButton.ariaLabel":"Remover","neptune.CloseButton.ariaLabel":"Fechar","neptune.DateInput.day.label":"Dia","neptune.DateInput.month.label":"Mês","neptune.DateInput.year.label":"Ano","neptune.MoneyInput.Select.placeholder":"Escolha uma opção...","neptune.Pagination.ariaLabel":"Navegação pelas páginas","neptune.PaginationLink.ariaLabel.active":"Ir para a página {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Página atual, página {pageNumber}","neptune.Select.searchPlaceholder":"Buscar...","neptune.Summary.statusDone":"Pronto","neptune.Summary.statusNotDone":"Não iniciado","neptune.Summary.statusPending":"Pendente","neptune.Upload.csButtonText":"Enviar outro documento?","neptune.Upload.csFailureText":"Falha no envio. Por favor, tente novamente","neptune.Upload.csSuccessText":"Envio concluído!","neptune.Upload.csTooLargeMessage":"Por favor, envie um arquivo com menos de 5MB","neptune.Upload.csWrongTypeMessage":"Não trabalhamos com este tipo de arquivo. Por favor, tente novamente com um arquivo diferente","neptune.Upload.psButtonText":"Cancelar","neptune.Upload.psProcessingText":"Enviando...","neptune.Upload.usButtonText":"Ou escolha um arquivo","neptune.Upload.usDropMessage":"Arraste o arquivo para iniciar o envio","neptune.Upload.usPlaceholder":"Arraste e envie um arquivo menor que 5MB","neptune.UploadButton.allFileTypes":"Todos os tipos de arquivos","neptune.UploadButton.dropFiles":"Arraste o arquivo para iniciar o envio","neptune.UploadButton.instructions":"{fileTypes}, com menos de {size}MB","neptune.UploadButton.uploadFile":"Enviar arquivo","neptune.UploadButton.uploadFiles":"Enviar arquivos","neptune.UploadInput.deleteModalBody":"Se você remover este arquivo, ele será permanentemente excluído do nosso sistema.","neptune.UploadInput.deleteModalCancelButtonText":"Cancelar","neptune.UploadInput.deleteModalConfirmButtonText":"Remover","neptune.UploadInput.deleteModalTitle":"Tem certeza que deseja remover esta arquivo?","neptune.UploadInput.fileIsTooLarge":"O arquivo é muito grande","neptune.UploadInput.fileTypeNotSupported":"Não aceitamos arquivos neste formato","neptune.UploadInput.maximumFilesAlreadyUploaded":"Não recebemos os seus arquivos. Você só pode enviar {maxFilesAllowed} arquivos por vez.","neptune.UploadItem.deleting":"Removendo...","neptune.UploadItem.removeFile":"Remover arquivo {filename}","neptune.UploadItem.uploaded":"Enviado","neptune.UploadItem.uploadedFile":"Arquivo enviado","neptune.UploadItem.uploading":"Enviando...","neptune.UploadItem.uploadingFailed":"Falha no envio"},ro:{"neptune.Chips.ariaLabel":"Șterge {choice}","neptune.ClearButton.ariaLabel":"Elimină","neptune.CloseButton.ariaLabel":"Închide","neptune.DateInput.day.label":"Zi","neptune.DateInput.month.label":"Lună","neptune.DateInput.year.label":"An","neptune.MoneyInput.Select.placeholder":"Selectează o opţiune...","neptune.Pagination.ariaLabel":"Navigare prin pagină","neptune.PaginationLink.ariaLabel.active":"Du-te la pagina {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Pagina curentă, pagina {pageNumber}","neptune.Select.searchPlaceholder":"Caută...","neptune.Summary.statusDone":"Finalizat","neptune.Summary.statusNotDone":"De făcut","neptune.Summary.statusPending":"În așteptare","neptune.Upload.csButtonText":"Încarci un alt fișier?","neptune.Upload.csFailureText":"Încărcare eșuată. Te rugăm să încerci din nou","neptune.Upload.csSuccessText":"Încărcare completă!","neptune.Upload.csTooLargeMessage":"Te rugăm să furnizezi un fișier mai mic de 5MB","neptune.Upload.csWrongTypeMessage":"Tipul de fișier nu a fost acceptat. Te rugăm să încerci din nou cu un alt fișier","neptune.Upload.psButtonText":"Anulează","neptune.Upload.psProcessingText":"Se încarcă...","neptune.Upload.usButtonText":"Sau selectează un fișier","neptune.Upload.usDropMessage":"Atașează fișierul pentru a începe încărcarea","neptune.Upload.usPlaceholder":"Glisează și atașează un fișier de până în 5MB","neptune.UploadButton.allFileTypes":"Toate tipurile de fișiere","neptune.UploadButton.dropFiles":"Trage fișierul pentru a începe încărcarea","neptune.UploadButton.instructions":"{fileTypes}, de maximum {size}MB","neptune.UploadButton.uploadFile":"Încarcă fișier","neptune.UploadButton.uploadFiles":"Încarcă fișiere","neptune.UploadInput.deleteModalBody":"Eliminarea acestui fișier îl va șterge din sistemul nostru.","neptune.UploadInput.deleteModalCancelButtonText":"Anulare","neptune.UploadInput.deleteModalConfirmButtonText":"Elimină","neptune.UploadInput.deleteModalTitle":"Sigur vrei să elimini acest fișier?","neptune.UploadInput.fileIsTooLarge":"Fișierul este prea mare","neptune.UploadInput.fileTypeNotSupported":"Tipul fișierului nu este acceptat","neptune.UploadInput.maximumFilesAlreadyUploaded":"Ne pare rău, această încărcare nu a reușit, deoarece putem accepta doar {maxFilesAllowed} fișiere simultan.","neptune.UploadItem.deleting":"Se șterge...","neptune.UploadItem.removeFile":"Elimină fișierul {filename}","neptune.UploadItem.uploaded":"Încărcat","neptune.UploadItem.uploadedFile":"Fișier încărcat","neptune.UploadItem.uploading":"Se încarcă...","neptune.UploadItem.uploadingFailed":"Încărcare eșuată"},ru:{"neptune.Chips.ariaLabel":"Очистить {choice}","neptune.ClearButton.ariaLabel":"Очистить","neptune.CloseButton.ariaLabel":"Закрыть","neptune.DateInput.day.label":"День","neptune.DateInput.month.label":"Месяц","neptune.DateInput.year.label":"Год","neptune.MoneyInput.Select.placeholder":"Выберите вариант...","neptune.Pagination.ariaLabel":"Постраничная навигация","neptune.PaginationLink.ariaLabel.active":"Перейти на страницу {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Текущая страница, страница {pageNumber}","neptune.Select.searchPlaceholder":"Поиск...","neptune.Summary.statusDone":"Этап завершен","neptune.Summary.statusNotDone":"Этап к выполнению","neptune.Summary.statusPending":"Этап в процессе","neptune.Upload.csButtonText":"Загрузить другой файл?","neptune.Upload.csFailureText":"Загрузка не удалась. Пожалуйста, попробуйте снова","neptune.Upload.csSuccessText":"Загрузка завершена!","neptune.Upload.csTooLargeMessage":"Пожалуйста, загрузите файл размером менее 5MB","neptune.Upload.csWrongTypeMessage":"Тип файла не поддерживается. Пожалуйста, попробуйте еще раз с другим файлом","neptune.Upload.psButtonText":"Отменить","neptune.Upload.psProcessingText":"Загружаем...","neptune.Upload.usButtonText":"Или выберите файл","neptune.Upload.usDropMessage":"Перетащите файл, чтобы начать загрузку","neptune.Upload.usPlaceholder":"Перетащите файл не больше 5MB","neptune.UploadButton.allFileTypes":"Все типы файлов","neptune.UploadButton.dropFiles":"Перетащите файл, чтобы начать загрузку","neptune.UploadButton.instructions":"{fileTypes}, не превышающий {size} MB","neptune.UploadButton.uploadFile":"Загрузить файл","neptune.UploadButton.uploadFiles":"Загрузить файлы","neptune.UploadInput.deleteModalBody":"Удаление этого файла приведет к его удалению из нашей системы.","neptune.UploadInput.deleteModalCancelButtonText":"Отменить","neptune.UploadInput.deleteModalConfirmButtonText":"Удалить","neptune.UploadInput.deleteModalTitle":"Уверены, что хотите удалить этот файл?","neptune.UploadInput.fileIsTooLarge":"Файл слишком большой","neptune.UploadInput.fileTypeNotSupported":"Тип файла не поддерживается","neptune.UploadInput.maximumFilesAlreadyUploaded":"К сожалению, эта загрузка не удалась, так как одновременно мы можем принять только {maxFilesAllowed} файла(-ов).","neptune.UploadItem.deleting":"Удаляется...","neptune.UploadItem.removeFile":"Удалить файл {filename}","neptune.UploadItem.uploaded":"Завершено","neptune.UploadItem.uploadedFile":"Загруженный файл","neptune.UploadItem.uploading":"Загрузка...","neptune.UploadItem.uploadingFailed":"Загрузка не удалась"},th:{"neptune.Chips.ariaLabel":"เคลียร์ {choice}","neptune.ClearButton.ariaLabel":"ชัดเจน","neptune.CloseButton.ariaLabel":"ปิด","neptune.DateInput.day.label":"วัน","neptune.DateInput.month.label":"เดือน","neptune.DateInput.year.label":"ปี","neptune.MoneyInput.Select.placeholder":"เลือกตัวเลือก...","neptune.Pagination.ariaLabel":"การนำทางเลขหน้า","neptune.PaginationLink.ariaLabel.active":"ไปที่หน้า {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"หน้าปัจจุบัน หน้า {pageNumber}","neptune.Select.searchPlaceholder":"ค้นหา...","neptune.Summary.statusDone":"รายการที่ทำแล้ว","neptune.Summary.statusNotDone":"รายการที่ต้องทำ","neptune.Summary.statusPending":"รายการที่รอดำเนินการ","neptune.Upload.csButtonText":"อัพโหลดไฟล์อื่นหรือไม่","neptune.Upload.csFailureText":"การอัปโหลดล้มเหลว กรุณาลองอีกครั้ง","neptune.Upload.csSuccessText":"อัปโหลดเสร็จสมบูรณ์!","neptune.Upload.csTooLargeMessage":"กรุณาใช้ไฟล์ที่มีขนาดเล็กกว่า 5MB","neptune.Upload.csWrongTypeMessage":"ไม่รองรับประเภทไฟล์ โปรดลองอีกครั้งโดยใช้ไฟล์อื่น","neptune.Upload.psButtonText":"ยกเลิก","neptune.Upload.psProcessingText":"กำลังอัปโหลด...","neptune.Upload.usButtonText":"หรือเลือกไฟล์","neptune.Upload.usDropMessage":"วางไฟล์เพื่อเริ่มการอัปโหลด","neptune.Upload.usPlaceholder":"ลากและวางไฟล์ที่มีขนาดไม่เกิน 5MB","neptune.UploadButton.allFileTypes":"ไฟล์ทุกประเภท","neptune.UploadButton.dropFiles":"วางไฟล์เพื่อเริ่มการอัปโหลด","neptune.UploadButton.instructions":"{fileTypes} น้อยกว่า {size}MB","neptune.UploadButton.uploadFile":"อัปโหลดไฟล์","neptune.UploadButton.uploadFiles":"อัปโหลดไฟล์","neptune.UploadInput.deleteModalBody":"การลบไฟล์นี้จะลบออกจากระบบของเรา","neptune.UploadInput.deleteModalCancelButtonText":"ยกเลิก","neptune.UploadInput.deleteModalConfirmButtonText":"ลบ","neptune.UploadInput.deleteModalTitle":"แน่ใจว่าต้องการลบไฟล์นี้หรือไม่","neptune.UploadInput.fileIsTooLarge":"ไฟล์ใหญ่เกินไป","neptune.UploadInput.fileTypeNotSupported":"ไม่รองรับประเภทไฟล์","neptune.UploadInput.maximumFilesAlreadyUploaded":"ขออภัย การอัปโหลดนี้ไม่สำเร็จเนื่องจากเรายอมรับได้แค่ครั้งละ {maxFilesAllowed} ไฟล์","neptune.UploadItem.deleting":"กำลังลบ...","neptune.UploadItem.removeFile":"ลบไฟล์ {filename}","neptune.UploadItem.uploaded":"อัปโหลดแล้ว","neptune.UploadItem.uploadedFile":"อัปโหลดไฟล์แล้ว","neptune.UploadItem.uploading":"กำลังอัปโหลด...","neptune.UploadItem.uploadingFailed":"อัปโหลดไม่สำเร็จ"},tr:{"neptune.Chips.ariaLabel":"{choice} temizle","neptune.ClearButton.ariaLabel":"Sil","neptune.CloseButton.ariaLabel":"Kapat","neptune.DateInput.day.label":"Gün","neptune.DateInput.month.label":"Ay","neptune.DateInput.year.label":"Yıl","neptune.MoneyInput.Select.placeholder":"Bir seçenek seçin...","neptune.Pagination.ariaLabel":"Sayfalandırma gezintisi","neptune.PaginationLink.ariaLabel.active":"{pageNumber} numaralı sayfaya git","neptune.PaginationLink.ariaLabel.inactive":"Mevcut sayfa, sayfa {pageNumber}","neptune.Select.searchPlaceholder":"Ara...","neptune.Summary.statusDone":"Tamamlanan aşama","neptune.Summary.statusNotDone":"Yapılacak","neptune.Summary.statusPending":"Bekliyor","neptune.Upload.csButtonText":"Başka bir dosya yükleyin?","neptune.Upload.csFailureText":"Yükleme başarısız. Lütfen yine deneyin","neptune.Upload.csSuccessText":"Yükleme tamamlandı!","neptune.Upload.csTooLargeMessage":"Lütfen 5 MB'den hüçük bir dosya sağlayın","neptune.Upload.csWrongTypeMessage":"Desteklenmeyen dosya biçimi. Lütfen başka bir dosyayla tekrar deneyin","neptune.Upload.psButtonText":"İptal edin","neptune.Upload.psProcessingText":"Yükleniyor...","neptune.Upload.usButtonText":"Veya bir dosya seçin","neptune.Upload.usDropMessage":"Yüklemeyi başlatmak için dosyayı bırakın","neptune.Upload.usPlaceholder":"5 MB'den küçük bir dosya sürükleyin ve bırakın","neptune.UploadButton.allFileTypes":"Tüm belge tipleri","neptune.UploadButton.dropFiles":"Yüklemeyi başlatmak için dosyayı bırakın","neptune.UploadButton.instructions":"{fileTypes}, en fazla {size}MB","neptune.UploadButton.uploadFile":"Dosya yükleyin","neptune.UploadButton.uploadFiles":"Dosya yükleyin","neptune.UploadInput.deleteModalBody":"Bu belgeyi kaldırmak, sistemimizden tamamen silinmesiyle sonuçlanır.","neptune.UploadInput.deleteModalCancelButtonText":"İptal et","neptune.UploadInput.deleteModalConfirmButtonText":"Kaldır","neptune.UploadInput.deleteModalTitle":"Bu dosyayı kaldırmak istediğinizden emin misiniz?","neptune.UploadInput.fileIsTooLarge":"Dosya çok büyük","neptune.UploadInput.fileTypeNotSupported":"Dosya tipi desteklenmiyor","neptune.UploadInput.maximumFilesAlreadyUploaded":"Üzgünüz, bu yükleme aynı anda en fazla {maxFilesAllowed} dosya kabul edebildiğimiz için başarısız oldu.","neptune.UploadItem.deleting":"Siliniyor...","neptune.UploadItem.removeFile":"{filename} dosyasını kaldır","neptune.UploadItem.uploaded":"Yüklendi","neptune.UploadItem.uploadedFile":"Yüklenen belge","neptune.UploadItem.uploading":"Yükleniyor...","neptune.UploadItem.uploadingFailed":"Dosya yüklenemedi"},uk:{"neptune.Chips.ariaLabel":"Очистити {choice}","neptune.ClearButton.ariaLabel":"Очистити","neptune.CloseButton.ariaLabel":"Закрити","neptune.DateInput.day.label":"День","neptune.DateInput.month.label":"Місяць","neptune.DateInput.year.label":"Рік","neptune.MoneyInput.Select.placeholder":"Виберіть варіант…","neptune.Pagination.ariaLabel":"Перехід за сторінками","neptune.PaginationLink.ariaLabel.active":"Перейти на сторінку {pageNumber}","neptune.PaginationLink.ariaLabel.inactive":"Ця сторінка, сторінка {pageNumber}","neptune.Select.searchPlaceholder":"Пошук…","neptune.Summary.statusDone":"Виконано","neptune.Summary.statusNotDone":"Не виконано","neptune.Summary.statusPending":"Виконується","neptune.Upload.csButtonText":"Завантажити інший файл?","neptune.Upload.csFailureText":"Не завантажено. Повторіть спробу.","neptune.Upload.csSuccessText":"Завантаження завершено!","neptune.Upload.csTooLargeMessage":"Завантажте файл завбільшки до 5 МБ","neptune.Upload.csWrongTypeMessage":"Тип файлу не підтримується. Спробуйте завантажити інший файл.","neptune.Upload.psButtonText":"Скасувати","neptune.Upload.psProcessingText":"Завантаження…","neptune.Upload.usButtonText":"Або виберіть файл","neptune.Upload.usDropMessage":"Перетягніть файл, щоб почати завантаження","neptune.Upload.usPlaceholder":"Перетягніть файл завбільшки до 5 МБ","neptune.UploadButton.allFileTypes":"Усі типи файлів","neptune.UploadButton.dropFiles":"Перетягніть файл, щоб почати завантаження","neptune.UploadButton.instructions":"{fileTypes}, до {size} МБ","neptune.UploadButton.uploadFile":"Завантажити файл","neptune.UploadButton.uploadFiles":"Завантажити файли","neptune.UploadInput.deleteModalBody":"Якщо вилучити файл, його буде видалено з нашої системи.","neptune.UploadInput.deleteModalCancelButtonText":"Скасувати","neptune.UploadInput.deleteModalConfirmButtonText":"Вилучити","neptune.UploadInput.deleteModalTitle":"Справді вилучити цей файл?","neptune.UploadInput.fileIsTooLarge":"Файл завеликий","neptune.UploadInput.fileTypeNotSupported":"Тип файлу не підтримується","neptune.UploadInput.maximumFilesAlreadyUploaded":"На жаль, це завантаження не вдале. Ми можемо завантажити лише {maxFilesAllowed} файлів за один раз.","neptune.UploadItem.deleting":"Видалення…","neptune.UploadItem.removeFile":"Вилучити файл {filename}","neptune.UploadItem.uploaded":"Завантажено","neptune.UploadItem.uploadedFile":"Завантажено файл","neptune.UploadItem.uploading":"Завантаження…","neptune.UploadItem.uploadingFailed":"Не вдалося завантажити"},zh:{"neptune.Chips.ariaLabel":"清除{choice}","neptune.ClearButton.ariaLabel":"清除","neptune.CloseButton.ariaLabel":"關閉","neptune.DateInput.day.label":"日","neptune.DateInput.month.label":"月","neptune.DateInput.year.label":"年","neptune.MoneyInput.Select.placeholder":"選擇一個選項…","neptune.Pagination.ariaLabel":"分頁導航","neptune.PaginationLink.ariaLabel.active":"前往第{pageNumber}頁","neptune.PaginationLink.ariaLabel.inactive":"目前在第{pageNumber}頁","neptune.Select.searchPlaceholder":"搜尋…","neptune.Summary.statusDone":"已完成事項","neptune.Summary.statusNotDone":"未完成事項","neptune.Summary.statusPending":"待處理事項","neptune.Upload.csButtonText":"上載另一個檔案?","neptune.Upload.csFailureText":"上載失敗,請重試。","neptune.Upload.csSuccessText":"上載完成!","neptune.Upload.csTooLargeMessage":"請提供小於5MB的檔案","neptune.Upload.csWrongTypeMessage":"不支持檔案類型,請使用其他檔案重試","neptune.Upload.psButtonText":"取消","neptune.Upload.psProcessingText":"上載中...","neptune.Upload.usButtonText":"或者選擇一個檔案","neptune.Upload.usDropMessage":"拖放檔案以開始上載","neptune.Upload.usPlaceholder":"拖放不超過5MB的檔案","neptune.UploadButton.allFileTypes":"所有檔案類型","neptune.UploadButton.dropFiles":"拖放檔案以開始上載","neptune.UploadButton.instructions":"{fileTypes},小於{size}MB","neptune.UploadButton.uploadFile":"上載檔案","neptune.UploadButton.uploadFiles":"上載檔案","neptune.UploadInput.deleteModalBody":"移除此檔案會把它從我們的系統中刪除。","neptune.UploadInput.deleteModalCancelButtonText":"取消","neptune.UploadInput.deleteModalConfirmButtonText":"移除","neptune.UploadInput.deleteModalTitle":"你確定要移除此檔案嗎?","neptune.UploadInput.fileIsTooLarge":"檔案太大","neptune.UploadInput.fileTypeNotSupported":"不支持檔案類型","neptune.UploadInput.maximumFilesAlreadyUploaded":"抱歉,這次上載失敗,因為我們每次最多只能接受{maxFilesAllowed}個檔案。","neptune.UploadItem.deleting":"刪除中…","neptune.UploadItem.removeFile":"移除檔案{filename}","neptune.UploadItem.uploaded":"已上載","neptune.UploadItem.uploadedFile":"已上載檔案","neptune.UploadItem.uploading":"上載中...","neptune.UploadItem.uploadingFailed":"上載失敗"}};re.Accordion=ve,re.ActionButton=Te,re.ActionOption=function(e){var t,n=e.action,r=e.disabled,o=e.onClick,a=e.media,i=e.title,l=e.content,s=e.complex,u=e.className,c=e.showMediaAtAllSizes,p=e.showMediaCircle,e=e.isContainerAligned,e={media:a,title:i,content:l,complex:s,disabled:r,showMediaAtAllSizes:c,showMediaCircle:p,className:se("tw-action-option",u),isContainerAligned:e};return ce(ge,Ce(Ce({},e),{},{button:ce(Te,{disabled:r,"aria-label":(t=[],"string"==typeof i&&t.push(i),"string"==typeof n&&t.push(n),t.join(", ")||void 0),onClick:o,children:n})}))},re.Alert=At,re.Avatar=Do,re.AvatarWrapper=St,re.Badge=Ao,re.Body=z,re.BottomSheet=Bs,re.Button=$s,re.Card=N,re.Checkbox=ht,re.CheckboxButton=nu,re.CheckboxOption=xt,re.Chevron=he,re.Chip=su,re.Chips=function(e){function r(e,t){n({isEnabled:!t,selectedValue:e})}var t=e.chips,n=e.onChange,o=e.selected,a=e["aria-label"],i=e.className,l=e.multiple,s=ie.useIntl();return ce("div",{className:se("np-chips d-flex",i),"aria-label":a,role:l?void 0:"radiogroup",children:t.map(function(e){var t,n=(t=e.value,Array.isArray(o)?o.includes(t):o===t);return ce(su,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?cu(Object(n),!0).forEach(function(e){le(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cu(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({value:e.value,label:e.label,closeButton:{"aria-label":s.formatMessage(uu.ariaLabel,{choice:e.label})},className:se("text-xs-nowrap",{"np-chip--selected":n,"p-r-1":l&&n})},l&&n?{onRemove:function(){return r(e.value,n)},"aria-label":e.label}:{onClick:function(){return r(e.value,n)},onKeyPress:function(){return r(e.value,n)},role:l?void 0:"radio","aria-checked":n}),e.value)})})},re.CircularButton=Dt,re.CriticalCommsBanner=function(e){var t=e.title,n=e.subtitle,r=e.action,o=e.className,e=ae.useTheme().isModern;return ce("div",{className:se("critical-comms",o),children:pe("div",{className:"critical-comms-body",children:[ce(Do,{size:re.Size.MEDIUM,type:re.AvatarType.ICON,className:se(e?"m-r-2":"m-r-1"),backgroundColor:e?"var(--color-sentiment-negative)":"var(--color-background-negative)",children:e?ce(S.AlertCircleFill,{}):ce(S.Alert,{size:24})}),pe("div",{className:"critical-comms-content d-flex align-items-center flex-grow-1",children:[pe("div",{className:se("flex-grow-1",{"p-x-2":!e}),children:[ce(_,{type:e?re.Typography.TITLE_BODY:re.Typography.TITLE_GROUP,className:"critical-comms--title",children:t}),ce(z,{className:"critical-comms--subtitle",children:n})]}),r?ce("div",{className:"critical-comms--cta",children:ce($s,{block:e,size:re.Size.SMALL,type:re.ControlType.NEGATIVE,priority:e?re.Priority.SECONDARY:re.Priority.PRIMARY,className:"cta-btn",onClick:function(){r&&(window.location.href=r.href)},children:r.label})}):null]})]})})},re.DEFAULT_LANG="en",re.DEFAULT_LOCALE=g,re.DateInput=Et,re.DateLookup=Or,re.Decision=Ve,re.DefinitionList=ud,re.Dimmer=Is,re.DirectionProvider=Os,re.Display=function(e){var t=e.as,n=void 0===(r=e.type)?re.Typography.DISPLAY_LARGE:r,r=e.children,e=e.className;return ce(void 0===t?"h1":t,{className:se("np-text-".concat(n),"text-primary",e),children:r})},re.Drawer=ip,re.DropFade=function(e){var t=e.children,n=e.show,r=oe.useRef(null),o=oe.useState(0),e=fe(o,2),o=e[0],a=e[1];return ce(Xo,{nodeRef:r,in:n,timeout:300,classNames:"np-dropfade",onEntering:function(){var e;a((null===(e=r.current)||void 0===e?void 0:e.scrollHeight)||0)},onEntered:function(){return a(void 0)},onExit:function(){var e;a((null===(e=r.current)||void 0===e?void 0:e.scrollHeight)||0)},onExiting:function(){a(0)},children:ce("div",{ref:r,style:{height:o},className:"np-dropfade",children:Ne.default.cloneElement(t)})})},re.DynamicFieldDefinitionList=He,re.Emphasis=function(e){e=e.text,e=void 0===e?void 0:e;if(!e)return null;e=bf.transform(e);return e?ce("span",{dangerouslySetInnerHTML:{__html:e}}):null},re.FlowNavigation=fr,re.Header=function(e){var t=e.action,n=e.as,r=void 0===n?"h5":n,n=e.title,e=e.className;return pe("div",{className:se("np-header",e),children:[ce(_,{as:r,type:re.Typography.TITLE_GROUP,className:"np-header__title",children:n}),t&&ce(If,{action:t})]})},re.Image=Nr,re.Info=Vf,re.InlineAlert=Yf,re.InputWithDisplayFormat=mn,re.InstructionsList=function(e){var t=ae.useTheme().isModern,n=e.dos,e=e.donts,r=t?S.CrossCircleFill:S.CrossCircle,o=t?S.CheckCircleFill:S.CheckCircle;return pe("div",{className:"tw-instructions",children:[n&&n.map(function(e,t){return pe("div",{className:"instruction",children:[ce(o,{size:24,className:"do"}),ce(z,{className:"text-primary",type:re.Typography.BODY_LARGE,children:e})]},t)}),e&&e.map(function(e,t){return pe("div",{className:"instruction",children:[ce(r,{size:24,className:"dont"}),ce(z,{className:"text-primary",type:re.Typography.BODY_LARGE,children:e})]},t)})]})},re.LanguageProvider=Kh,re.Link=_e,re.Loader=function(e){function n(e){return a[e]||e}var t=e.small,r=void 0!==t&&t,o=e.size,t=void 0===o?re.Size.EXTRA_LARGE:o,o=e.classNames,a=void 0===o?{}:o,o=b(e,lh),e=ae.useTheme().isModern,t=r?re.Size.SMALL:t,t=sh(t);return ce("div",{className:se(n("tw-loader"),n("tw-loader--".concat(t))),"data-testid":o["data-testid"],children:!e&&new Array(5).fill(void 0).map(function(e,t){return ce("div",{className:n("tw-loader__stripe")},t)})})},re.Logo=Rt,re.Markdown=co,re.Modal=Uf,re.Money=Pt,re.MoneyInput=ls,re.NavigationOption=od,re.NavigationOptionsList=Wd,re.Nudge=et,re.Option=ge,re.OverlayHeader=ft,re.PhoneNumberInput=e,re.Popover=Bf,re.ProcessIndicator=Vh,re.Progress=Wh,re.ProgressBar=function(e){var t=e.className,n=e.description,r=e.id,o=e.title,a=e.progress,i=e.textEnd,e=ae.useTheme().isModern;return pe("div",{className:se("np-progress-bar p-x-2",t),children:[pe("label",{className:"np-progress-bar__title m-b-1",htmlFor:r,children:[ce(_,{type:re.Typography.TITLE_BODY,className:e?"m-b-1 text-primary":"text-primary",children:o}),n&&ce(z,{children:n})]}),ce(Wh,{id:r,progress:a}),ce(z,{as:"p",type:re.Typography.BODY_DEFAULT_BOLD,className:"d-flex justify-content-end text-primary m-b-0",children:i})]})},re.Provider=gn,re.RTL_LANGUAGES=y,re.Radio=nm,re.RadioGroup=hn,re.RadioOption=fa,re.SUPPORTED_LANGUAGES=v,re.Section=function(e){var t=e.children,n=e.className,e=e.withHorizontalPadding;return ce("div",{className:se("np-section",n,{"np-section--with-horizontal-padding":void 0!==e&&e}),children:t})},re.Select=vp,re.SlidingPanel=Us,re.SnackbarConsumer=Ct,re.SnackbarContext=sm,re.SnackbarPortal=lm,re.SnackbarProvider=Je,re.StatusIcon=Me,re.Stepper=Af,re.Sticky=$e,re.Summary=Pr,re.Switch=hm,re.SwitchOption=function(e){var t=e.checked,n=e.complex,r=e.content,o=e.disabled,a=e.id,i=e.media,l=e.onChange,s=e.title,u=e.showMediaCircle,c=e.showMediaAtAllSizes,p=e.isContainerAligned,d=e["aria-label"],e=function(e){(e=e)&&(e.stopPropagation(),e.preventDefault(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()),o||l(!t)};return ce(ge,gm(gm({},{media:i,title:s,content:r,complex:n,disabled:o,showMediaCircle:u,showMediaAtAllSizes:c,isContainerAligned:p}),{},{button:ce(hm,{id:a,checked:t,disabled:o,"aria-label":d,onClick:e}),onClick:e}))},re.Tabs=Be,re.TextareaWithDisplayFormat=xe,re.Title=_,re.Tooltip=xf,re.Typeahead=n,re.Upload=gr,re.UploadInput=function(e){var t=e.files,n=void 0===t?[]:t,r=e.fileInputName,l=void 0===r?"file":r,o=e.className,a=e.deleteConfirm,i=e.disabled,s=e.multiple,u=void 0!==s&&s,c=e.fileTypes,p=void 0===c?Mg:c,t=e.sizeLimit,d=void 0===t?5e3:t,r=e.description,f=e.onUploadFile,h=e.onDeleteFile,m=e.onValidationError,g=e.onFilesChange,y=e.onDownload,b=e.maxFiles,v=e.maxFilesErrorMessage,s=e.id,O=e.sizeLimitErrorMessage,c=e.uploadButtonTitle,t=ae.useTheme().isModern,e=oe.useState(null),e=fe(e,2),w=e[0],E=e[1],e=oe.useState(!1),e=fe(e,2),T=e[0],S=e[1],C=ie.useIntl().formatMessage,x=new Set([re.Status.PENDING,re.Status.PROCESSING]),e=oe.useState(u||0===n.length?n:[n[0]]),e=fe(e,2),D=e[0],A=e[1],N=oe.useRef(u||0===n.length?n:[n[0]]);function P(t){function e(e){return[].concat(K(e),[t])}A(e),N.current=e(N.current)}function k(t){function e(e){return e.filter(function(e){return t!==e&&t.id!==e.id})}A(e),N.current=e(N.current)}function L(t,n){function e(e){return e.map(function(e){return e===t||e.id===t.id?Yg(Yg({},t),n):e})}A(e),N.current=e(N.current)}function R(t){var e=t.id;t.status===re.Status.FAILED?k(t):h&&e&&(L(t,{status:re.Status.PROCESSING,error:void 0}),h(e).then(function(){return k(t)}).catch(function(e){L(t,{error:e})}))}function I(e,t){var n=e.name,t={id:Wg(e),filename:n,status:re.Status.FAILED,error:t};P(t),m&&m(t)}function _(){if(!b)return!1;var t,e=(t=new Set([re.Status.SUCCEEDED,re.Status.PENDING]),N.current.filter(function(e){return e.status&&t.has(e.status)}).length);return b<=e}return oe.useEffect(function(){S(!0)},[]),oe.useEffect(function(){g&&T&&g(D)},[g,D]),pe(M,{children:[pe("div",{className:se("np-upload-input",o,{disabled:t&&i}),children:[D.map(function(e){return ce(Vg,{file:e,singleFileUpload:!u,canDelete:!(!h&&e.status!==re.Status.FAILED||e.status&&x.has(e.status)),onDelete:e.status===re.Status.FAILED?function(){return R(e)}:function(){return E(e)},onDownload:y},e.id)}),(u||!u&&!D.length)&&ce(Fg,{id:s,uploadButtonTitle:c,disabled:_()||i,multiple:u,fileTypes:p,sizeLimit:d,description:r,maxFiles:b,multipleFileInputWithFilesAdded:u&&0<D.length,onChange:function(e){for(var t=0;t<e.length;t+=1){var a=e.item(t),i=new FormData;if(a){var n=function(){var e=a.name,t=Wg(a),n=Array.isArray(p)?p.join(","):p;if(!Tg(a,n))return I(a,C(Ig.fileTypeNotSupported)),"continue";if(!wg(a,1e3*d)){var r=O||C(Ig.fileIsTooLarge);return I(a,r),"continue"}if(_()){r=v||C(Ig.maximumFilesAlreadyUploaded,{maxFilesAllowed:b});return I(a,r),"continue"}i.append(l,a);var o={id:t,filename:e,status:re.Status.PENDING};return P(o),f(i).then(function(e){var t=e.id,n=e.url,e=e.error;L(o,{id:t,url:n,error:e,status:re.Status.SUCCEEDED})}).catch(function(e){L(o,{error:e,status:re.Status.FAILED})}),u?void 0:"break"}();if("continue"!==n&&"break"===n)break}}}})]}),ce(Uf,{title:void 0!==(null==a?void 0:a.title)?a.title:C(Ig.deleteModalTitle),body:void 0!==(null==a?void 0:a.body)?a.body:C(Ig.deleteModalBody),open:!!w,footer:pe(M,{children:[ce($s,{block:!0,onClick:function(){E(null)},children:(null==a?void 0:a.cancelText)||C(Ig.deleteModalCancelButtonText)}),ce($s,{block:!0,priority:re.Priority.SECONDARY,type:re.ControlType.NEGATIVE,onClick:function(){w&&R(w),E(null)},children:(null==a?void 0:a.confirmText)||C(Ig.deleteModalConfirmButtonText)})]}),onClose:function(){E(null)}})]})},re.adjustLocale=O,re.getCountryFromLocale=C,re.getDirectionFromLocale=w,re.getLangFromLocale=function(e){if(null===(e=O(e)))return null;try{var t=new Intl.Locale(e).language;return v.includes(t)?t:null}catch(e){return console.error(e),null}},re.isBrowser=function(){return!m()},re.isServerSide=m,re.translations=Qe,re.useDirection=ws,re.useLayout=Ts,re.useSnackbar=function(){return oe.useContext(sm).createSnackbar},Object.defineProperty(re,"__esModule",{value:!0})});
|