@transferwise/components 40.2.3 → 40.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("prop-types"),require("react"),require("@transferwise/icons"),require("react-intl"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","prop-types","react","@transferwise/icons","react-intl","react-dom"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@transferwise/components"]={},e.PropTypes,e.React,e.icons,e.reactIntl,e.ReactDOM)}(this,function(_,e,M,T,F,a){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=t(e),ke=t(M),Ne=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 h=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.default=e.exports,e.exports.__esModule=!0})),s=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.default=e.exports,e.exports.__esModule=!0});r(s);var u=o(function(e){e.exports=function(e){if(Array.isArray(e))return s(e)},e.exports.default=e.exports,e.exports.__esModule=!0});r(u);var c=o(function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0});r(c);var p=o(function(e){e.exports=function(e,t){if(e){if("string"==typeof e)return s(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)?s(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0});r(p);var d=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.default=e.exports,e.exports.__esModule=!0});r(d);var U=r(o(function(e){e.exports=function(e){return u(e)||c(e)||p(e)||d()},e.exports.default=e.exports,e.exports.__esModule=!0})),f=o(function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0});r(f);var m=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.default=e.exports,e.exports.__esModule=!0});r(m);var g=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.default=e.exports,e.exports.__esModule=!0});r(g);var j=r(o(function(e){e.exports=function(e,t){return f(e)||m(e,t)||p(e,t)||g()},e.exports.default=e.exports,e.exports.__esModule=!0})),y=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.default=e.exports,e.exports.__esModule=!0})),b=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;y(this,e),h(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}),h(this,"add",function(e){(!n.historyLimit||n.history.length<=n.historyLimit)&&n.history.push(e),n.currIndex=n.history.length-1}),h(this,"redo",function(){var e=n.history.length;return n.currIndex=n.currIndex+1<e?n.currIndex+1:e-1,n.history[n.currIndex]}),h(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 v(){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 w(){v()&&document.documentElement.classList.add("ios-click")}function O(){v()&&document.documentElement.classList.remove("ios-click")}function E(){return"undefined"==typeof window}var C="no-scroll";(He=_.Theme||(_.Theme={})).LIGHT="light",He.DARK="dark",He.NAVY="navy",(We=_.Direction||(_.Direction={})).RTL="rtl",We.LTR="ltr",We.AUTO="auto",(et=_.ControlType||(_.ControlType={})).ACCENT="accent",et.POSITIVE="positive",et.NEGATIVE="negative",(nt=_.Priority||(_.Priority={})).PRIMARY="primary",nt.SECONDARY="secondary",nt.TERTIARY="tertiary",(rt=_.Breakpoint||(_.Breakpoint={}))[rt.EXTRA_SMALL=480]="EXTRA_SMALL",rt[rt.SMALL=576]="SMALL",rt[rt.MEDIUM=768]="MEDIUM",rt[rt.LARGE=992]="LARGE",rt[rt.EXTRA_LARGE=1200]="EXTRA_LARGE",(ot=_.Size||(_.Size={})).EXTRA_SMALL="xs",ot.SMALL="sm",ot.MEDIUM="md",ot.LARGE="lg",ot.EXTRA_LARGE="xl",(at=_.Width||(_.Width={})).BLOCK="block",at.AUTO="auto",(it=_.Type||(_.Type={})).PRIMARY="primary",it.PAY="pay",it.SECONDARY="secondary",it.DANGER="danger",it.LINK="link",(st=_.DateMode||(_.DateMode={})).DAY_MONTH_YEAR="day-month-year",st.MONTH_YEAR="month-year",(pt=_.MonthFormat||(_.MonthFormat={})).SHORT="short",pt.LONG="long",(Ht=_.Position||(_.Position={})).BOTTOM="bottom",Ht.BOTTOM_LEFT="bottom-left",Ht.BOTTOM_RIGHT="bottom-right",Ht.CENTER="center",Ht.LEFT="left",Ht.LEFT_TOP="left-top",Ht.RIGHT="right",Ht.RIGHT_TOP="right-top",Ht.TOP="top",(Wt=_.Layout||(_.Layout={})).VERTICAL="VERTICAL",Wt.VERTICAL_TWO_COLUMN="VERTICAL_TWO_COLUMN",Wt.VERTICAL_ONE_COLUMN="VERTICAL_ONE_COLUMN",Wt.HORIZONTAL="HORIZONTAL",Wt.HORIZONTAL_JUSTIFIED="HORIZONTAL_JUSTIFIED",Wt.HORIZONTAL_LEFT_ALIGNED="HORIZONTAL_LEFT_ALIGNED",Wt.HORIZONTAL_RIGHT_ALIGNED="HORIZONTAL_RIGHT_ALIGNED",(Yt=_.Status||(_.Status={})).PROCESSING="processing",Yt.FAILED="failed",Yt.SUCCEEDED="succeeded",Yt.HIDDEN="hidden",Yt.DONE="done",Yt.NOT_DONE="notDone",Yt.PENDING="pending",(Hn=_.Sentiment||(_.Sentiment={})).NEGATIVE="negative",Hn.NEUTRAL="neutral",Hn.POSITIVE="positive",Hn.WARNING="warning",Hn.INFO="info",Hn.ERROR="error",Hn.SUCCESS="success",(Kn=_.ProfileType||(_.ProfileType={})).BUSINESS="BUSINESS",Kn.PERSONAL="PERSONAL",(Jn=_.Scroll||(_.Scroll={})).CONTENT="content",Jn.VIEWPORT="viewport",(tr=_.MarkdownNodeType||(_.MarkdownNodeType={})).BLOCK_QUOTE="block_quote",tr.CODE_BLOCK="code_block",tr.CODE="code",tr.EMPH="emph",tr.HEADING="heading",tr.HTML_BLOCK="html_block",tr.HTML_INLINE="html_inline",tr.IMAGE="image",tr.ITEM="item",tr.LINEBREAK="linebreak",tr.LINK="link",tr.LIST="list",tr.PARAGRAPH="paragraph",tr.SOFTBREAK="softbreak",tr.STRONG="strong",tr.THEMATIC_BREAK="thematic_break",(sr=_.FileType||(_.FileType={})).PDF=".pdf,application/pdf",sr.JPG=".jpg,.jpeg,image/jpeg",sr.PNG=".png,image/png",sr.CSV=".csv,text/csv";var x={ENTER:"Enter",ESCAPE:"Escape",SPACE:[" ","Spacebar"],TAB:"Tab",PERIOD:".",COMMA:","},S="en-GB",D=["ar","he"],A=["en","de","es","fr","hu","id","it","ja","pl","pt","ro","ru","tr","uk","zh"];function k(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 N(e){e=k(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 P(e){try{var t=k(e),n=new Intl.Locale(t).language;return D.includes(n)?_.Direction.RTL:_.Direction.LTR}catch(e){return console.error(e),_.Direction.LTR}}var B=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}),L=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;function q(e){return e=e.className,H("span",{className:B("tw-icon","tw-icon-chevron",e),role:"presentation","aria-hidden":!0,children:H("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",focusable:"false",children:H("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 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]))R.call(n,a)&&(r[a]=n[a]);if(L)for(var i=L(n),l=0;l<i.length;l++)I.call(n,i[l])&&(r[i[l]]=n[i[l]])}return r},z=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=ke.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}),V=(z.Fragment,z.jsx,z.jsxs,o(function(e,pe){"production"!==process.env.NODE_ENV&&function(){var e=ke.default,d=de,f=60103,r=60106;pe.Fragment=60107;var t,h=60108,m=60114,g=60109,y=60110,b=60112,v=60113,w=60120,O=60115,E=60116,C=60121,T=60122,x=60117,S=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"),w=t("react.suspense_list"),O=t("react.memo"),E=t("react.lazy"),C=t("react.block"),T=t("react.server.block"),x=t("react.fundamental"),t("react.scope"),t("react.opaque.id"),S=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 k=!1;function a(e){return e.displayName||"Context"}function N(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 w: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 O:return N(e.type);case C:return N(e._render);case E:t=e._payload,n=e._init;try{return N(n(t))}catch(e){return null}}var t,n;return null}var P,L,R,I,_,M,F,U=0;function j(){}var n,B=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=!(j.__reactDisabledLog=!0),V=new("function"==typeof WeakMap?WeakMap:Map);function i(t,e){if(!t||z)return"";var n,r=V.get(t);if(void 0!==r)return r;z=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=B.current,B.current=null,0===U&&(P=console.log,L=console.info,R=console.warn,I=console.error,_=console.group,M=console.groupCollapsed,F=console.groupEnd,r={configurable:!0,enumerable:!0,value:j,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&&V.set(t,p),p}}while(1<=u&&0<=c);break}}}finally{z=!1,B.current=o,0===--U&&(o={configurable:!0,enumerable:!0,writable:!0},Object.defineProperties(console,{log:d({},o,{value:P}),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:F})})),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&&V.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 w:return q("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case b:return u(e.render);case O:return c(e.type,t,n);case C: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={},G=o.ReactDebugCurrentFrame;function H(e){var t;e?(t=e._owner,t=c(e.type,e._source,t?t.type:null),G.setExtraStackFrame(t)):G.setExtraStackFrame(null)}var W,Y,K=o.ReactCurrentOwner,X=Object.prototype.hasOwnProperty,Z={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(X.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(X.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=N(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',N(K.current.type),n.ref),$[u]=!0))),t)X.call(t,a)&&!Z.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(){Y||(Y=!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(){W||(W=!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=N(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 "+N(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!==O)return;t=r.propTypes}t?(n=N(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?",N(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!==S&&u!==h&&u!==v&&u!==w&&u!==D&&!k)||"object"==typeof u&&null!==u&&(u.$$typeof===E||u.$$typeof===O||u.$$typeof===g||u.$$typeof===y||u.$$typeof===b||u.$$typeof===x||u.$$typeof===C||u[0]===T));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="<"+(N(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}()})),G=(V.Fragment,V.jsx,V.jsxs,o(function(e){"production"===process.env.NODE_ENV?e.exports=z:e.exports=V})),H=G.jsx,W=G.jsxs,Y=G.Fragment,K=(h(ur={},_.Size.EXTRA_SMALL,10),h(ur,_.Size.SMALL,16),h(ur,_.Size.MEDIUM,24),ur);q.propTypes={className:l.default.string},q.defaultProps={className:null};function X(e){var t=e.orientation,n=e.size,r=e.disabled,e=e.className,e=B("tw-chevron",{"chevron-color":!r},"".concat([t]).toLowerCase(),e);return n===_.Size.EXTRA_SMALL?H(q,{className:e}):H(T.ChevronUp,{className:e,size:K[n]})}X.propTypes={orientation:l.default.oneOf(["top","bottom","left","right"]),size:l.default.oneOf(["xs","sm","md"]),disabled:l.default.bool,className:l.default.string},X.defaultProps={orientation:_.Position.BOTTOM,size:_.Size.SMALL,disabled:!1,className:null};function Z(e){var t=e["aria-label"],n=e.as,r=e.href,o=e.target,a=e.media,i=e.title,l=e.content,s=e.onClick,u=e.htmlFor,c=e.disabled,p=e.button,d=e.decision,f=e.complex,h=e.className,m=e.inverseMediaCircle,g=e.showMediaAtAllSizes,e=e.showMediaCircle;return H(n,{className:B("np-option",h,{"decision-complex":f,decision:d,disabled:c,"np-option__sm-media":g}),href:r,htmlFor:u,target:o,disabled:c&&"button"===n,"aria-label":t,onClick:s,children:W("div",{className:"media",children:[a&&H("div",{className:"media-left",children:H("div",e?{className:B("circle circle-sm text-primary",{"circle-inverse":m}),children:a}:{className:"np-option__no-media-circle",children:a})}),W("div",{className:"media-body",children:[H("div",{className:"decision__title",children:i}),l&&H("div",{className:"decision__content",children:l})]}),H("div",{className:"media-right",children:p})]})})}var $=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)}};Z.propTypes={"aria-label":l.default.string,media:l.default.node,htmlFor:l.default.string,title:l.default.node.isRequired,content:l.default.node,onClick:l.default.func,href:$(l.default.string,function(e){return"a"===e.as}),target:l.default.oneOf(["_self","_blank","_parent","_top"]),as:l.default.string,disabled:l.default.bool,button:l.default.node,decision:l.default.bool,complex:l.default.bool,inverseMediaCircle:l.default.bool,className:l.default.string,showMediaAtAllSizes:l.default.bool,showMediaCircle:l.default.bool},Z.defaultProps={"aria-label":void 0,as:"label",media:"",content:null,htmlFor:null,disabled:!1,button:null,onClick:null,href:null,target:void 0,decision:!0,complex:!1,inverseMediaCircle:!0,className:null,showMediaAtAllSizes:!1,showMediaCircle:!0};function J(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,e=l?M.cloneElement(l,{size:24}):null;return W("div",{id:n,className:B("np-accordion-item","np-accordion-item--".concat(s),{"np-accordion-item--open":i}),children:[H(Z,{"aria-label":t,as:"button",media:e,title:r,button:H(X,{orientation:i?_.Position.TOP:_.Position.DOWN}),inverseMediaCircle:!1,onClick:a}),i&&H("div",{className:B("np-accordion-item__content",{"has-icon":l}),children:o})]})}function Q(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?Q(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}J.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"])},J.defaultProps={"aria-label":void 0,icon:null,id:null,theme:_.Theme.LIGHT};function te(e){var t=e.items,n=e.onClick,r=e.indexOpen,o=e.theme,e=M.useState(function(){return t.map(function(e,t){return t===r})}),a=(e=j(e,2))[0],i=e[1];return t.map(function(e,t){return H(J,ee(ee({open:a[t],onClick:function(){return function(e){n&&n(e);var t=U(a);t[e]=!a[e],i(t)}(t)}},e),{},{theme:o}),e.id||t)})}te.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"])},te.defaultProps={indexOpen:-1,onClick:null,theme:_.Theme.LIGHT};var Pe=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.default=e.exports,e.exports.__esModule=!0});r(Pe);var ne=r(o(function(e){e.exports=function(e,t){if(null==e)return{};var n,r=Pe(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.default=e.exports,e.exports.__esModule=!0})),re=["disabled","className","onClick","text"];function oe(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 ae(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?oe(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var ie=M.forwardRef(function(e,t){var n=e.disabled,r=void 0!==n&&n,o=e.className,a=void 0===o?void 0:o,n=e.onClick,o=e.text,e=ne(e,re);return H("button",ae(ae({ref:t,type:"button",className:B("np-action-btn",a),disabled:r,onClick:n},e),{},{children:o}))});function le(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 se(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?le(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var ue=F.defineMessages({ariaLabel:{id:"neptune.CloseButton.ariaLabel"}}),ce=M.forwardRef(function(e,t){var n=F.useIntl(),r=e.onClick,o=e.className,a=e.size,i=e.filled,n=e["aria-label"]||n.formatMessage(ue.ariaLabel);return H("button",{ref:t,type:"button",className:B("np-close-button close btn-link text-no-decoration",{"np-close-button--large":a===ce.Size.LARGE},o),"aria-label":n,onClick:r,children:i?H(T.CrossCircle,{size:a,filled:!0}):H(T.Cross,{size:a})})});function pe(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 fe(e,t){t&&pe(e)}ce.Size={SMALL:16,LARGE:24},ce.propTypes={onClick:l.default.func.isRequired,className:l.default.string,size:l.default.oneOf(Object.values(ce.Size)),filled:l.default.bool,"aria-label":l.default.string},ce.defaultProps={className:null,size:ce.Size.LARGE,filled:!1,"aria-label":void 0};var he=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]&&pe((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 me(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 ge(e,t){this.current=e,this.entering=!0===t}function ye(){var e=this.current,t=this.entering;if(null===e)return null;var n=me(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 be(e){return{current:e,root:e,entering:!0,next:ye,resumeAt:ge}}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},we=ve.prototype;Object.defineProperty(we,"isContainer",{get:function(){return me(this)}}),Object.defineProperty(we,"type",{get:function(){return this._type}}),Object.defineProperty(we,"firstChild",{get:function(){return this._firstChild}}),Object.defineProperty(we,"lastChild",{get:function(){return this._lastChild}}),Object.defineProperty(we,"next",{get:function(){return this._next}}),Object.defineProperty(we,"prev",{get:function(){return this._prev}}),Object.defineProperty(we,"parent",{get:function(){return this._parent}}),Object.defineProperty(we,"sourcepos",{get:function(){return this._sourcepos}}),Object.defineProperty(we,"literal",{get:function(){return this._literal},set:function(e){this._literal=e}}),Object.defineProperty(we,"destination",{get:function(){return this._destination},set:function(e){this._destination=e}}),Object.defineProperty(we,"title",{get:function(){return this._title},set:function(e){this._title=e}}),Object.defineProperty(we,"info",{get:function(){return this._info},set:function(e){this._info=e}}),Object.defineProperty(we,"level",{get:function(){return this._level},set:function(e){this._level=e}}),Object.defineProperty(we,"listType",{get:function(){return this._listData.type},set:function(e){this._listData.type=e}}),Object.defineProperty(we,"listTight",{get:function(){return this._listData.tight},set:function(e){this._listData.tight=e}}),Object.defineProperty(we,"listStart",{get:function(){return this._listData.start},set:function(e){this._listData.start=e}}),Object.defineProperty(we,"listDelimiter",{get:function(){return this._listData.delimiter},set:function(e){this._listData.delimiter=e}}),Object.defineProperty(we,"onEnter",{get:function(){return this._onEnter},set:function(e){this._onEnter=e}}),Object.defineProperty(we,"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 be(this)};var Oe=ve,Ee={};function Ce(e,t,n){var r,o,a,i,l,s="";for("string"!=typeof t&&(n=t,t=Ce.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,r=Ee[e];if(r)return r;for(r=Ee[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}Ce.defaultChars=";/?:@&=+$,-_.!~*'()#",Ce.componentChars="-_.!~*'()";var Te=Ce,xe=i(Object.freeze({__proto__:null,amp:"&",apos:"'",gt:">",lt:"<",quot:'"',default:{amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}})),Se=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:"‌"}})),De=Re(xe),Ae=je(De,Ie(De)),Le=Re(Se),e=je(Le,Ie(Le));function Re(n){return Object.keys(n).sort().reduce(function(e,t){return e[n[t]]="&"+t+";",e},{})}function Ie(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 _e=/[^\0-\x7F]/g,Me=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function Fe(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function Ue(e){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function je(t,n){function r(e){return t[e]}return function(e){return e.replace(n,r).replace(Me,Ue).replace(_e,Fe)}}var Be=Ie(De);var qe={XML:Ae,HTML:e,escape:function(e){return e.replace(Be,Fe).replace(Me,Ue).replace(_e,Fe)}},ze=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}})),Ve=function(e){if(55296<=e&&e<=57343||1114111<e)return"�";e in ze&&(e=ze[e]);var t="";65535<e&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e);return t+=String.fromCharCode(e)};var Ge=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:"ÿ"}})),He=Ye(xe),We=Ye(Se);function Ye(e){var t=Object.keys(e).join("|"),n=Xe(e);t+="|#[xX][\\da-fA-F]+|#\\d+";var r=new RegExp("&(?:"+t+");","g");return function(e){return String(e).replace(r,n)}}function Ke(e,t){return e<t?1:-1}function Xe(t){return function(e){return"#"===e.charAt(1)?"X"===e.charAt(2)||"x"===e.charAt(2)?Ve(parseInt(e.substr(3),16)):Ve(parseInt(e.substr(2),10)):t[e.slice(1,-1)]}}function Ze(e){return 92===e.charCodeAt(0)?e.charAt(1):tt(e)}function $e(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";default:return e}}function Je(e){return e.slice(1,e.length-1).trim().replace(dt,function(e){return ft[e]||" "})}var Qe={XML:He,HTML:function(){for(var e=Object.keys(Ge).sort(Ke),t=Object.keys(Se).sort(Ke),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=Xe(Se);function i(e){return";"!==e.substr(-1)&&(e+=";"),a(e)}return function(e){return String(e).replace(o,i)}}(),HTMLStrict:We},et=o(function(e,t){t.decode=function(e,t){return(!t||t<=0?Qe.XML:Qe.HTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?Qe.XML:Qe.HTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?qe.XML:qe.HTML)(e)},t.encodeXML=qe.XML,t.encodeHTML4=t.encodeHTML5=t.encodeHTML=qe.HTML,t.decodeXML=t.decodeXMLStrict=Qe.XML,t.decodeHTML4=t.decodeHTML5=t.decodeHTML=Qe.HTML,t.decodeHTML4Strict=t.decodeHTML5Strict=t.decodeHTMLStrict=Qe.HTMLStrict,t.escape=qe.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),nt="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",rt="[A-Za-z][A-Za-z0-9-]*",ot="<"+rt+"(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*/?>",at="</"+rt+"\\s*[>]",it=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"),lt=/[\\&]/,st="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",ut=new RegExp("\\\\"+st+"|"+nt,"gi"),ct=new RegExp('[&<>"]',"g"),pt={unescapeString:function(e){return lt.test(e)?e.replace(ut,Ze):e},normalizeURI:function(t){try{return Te(t)}catch(e){return t}},escapeXml:function(e){return ct.test(e)?e.replace(ct,$e):e},reHtmlTag:it,OPENTAG:ot,CLOSETAG:at,ENTITY:nt,ESCAPABLE:st},dt=/[ \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,ft={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","ﬓ":"մն","ﬔ":"մե","ﬕ":"մի","ﬖ":"վն","ﬗ":"մխ"},ht=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 mt(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||((Uo=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(e){}return n}())?Uo(String.prototype,"repeat",{value:mt,configurable:!0,writable:!0}):String.prototype.repeat=mt);function gt(e){var t=new Oe("text");return t._literal=e,t}function yt(e){return null===(e=e.exec(this.subject.slice(this.pos)))?null:(this.pos+=e.index+e[0].length,e[0])}function bt(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1}function vt(){return this.match(ln),!0}function wt(e){var t=this.match(tn);if(null===t)return!1;for(var n,r,o=this.pos;null!==(r=this.match(en));)if(r===t)return n=new Oe("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(gt(t)),!0}function Ot(e){var t,n=this.subject;return this.pos+=1,10===this.peek()?(this.pos+=1,t=new Oe("linebreak"),e.appendChild(t)):Jt.test(n.charAt(this.pos))?(e.appendChild(gt(n.charAt(this.pos))),this.pos+=1):e.appendChild(gt("\\")),!0}function Et(e){var t,n,r;return(t=this.match(on))?(n=t.slice(1,t.length-1),(r=new Oe("link"))._destination=zt("mailto:"+n),r._title="",r.appendChild(gt(n)),e.appendChild(r),!0):!!(t=this.match(an))&&(n=t.slice(1,t.length-1),(r=new Oe("link"))._destination=zt(n),r._title="",r.appendChild(gt(n)),e.appendChild(r),!0)}function Ct(e){var t=this.match(Kt);if(null===t)return!1;var n=new Oe("html_inline");return n._literal=t,e.appendChild(n),!0}function Tt(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":ht(a),r=un.test(i),o=Xt.test(i),a=un.test(t),i=Xt.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 xt(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=gt(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 St(e){null!==e.previous&&(e.previous.next=e.next),null===e.next?this.delimiters=e.previous:e.next.previous=e.previous}function Dt(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 Oe(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 At(){var e=this.match(Zt);return null===e?null:Vt(e.substr(1,e.length-2))}function kt(){var e=this.match($t);if(null!==e)return zt(Vt(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&&Jt.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!==sn.exec(ht(t)))break;this.pos+=1}return this.pos===n&&41!==t||0!==r?null:(e=this.subject.substr(n,this.pos-n),zt(Vt(e)))}function Nt(){var e=this.match(fn);return null===e||1001<e.length?0:e.length}function Pt(e){var t=this.pos;this.pos+=1;var n=gt("[");return e.appendChild(n),this.addBracket(n,t,!1),!0}function Lt(e){var t,n=this.pos;return this.pos+=1,91===this.peek()?(this.pos+=1,t=gt("!["),e.appendChild(t),this.addBracket(t,n+1,!0)):e.appendChild(gt("!")),!0}function Rt(e){var t,n,r,o,a=!1;if(this.pos+=1,t=this.pos,null===(o=this.brackets))return e.appendChild(gt("]")),!0;if(!o.active)return e.appendChild(gt("]")),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()&&(sn.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[Je(s)])&&(n=s.destination,r=s.title,a=!0)),a){var p,d,f=new Oe(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(gt("]")),!0}function It(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 _t(){this.brackets=this.brackets.previous}function Mt(e){var t;return!!(t=this.match(Qt))&&(e.appendChild(gt(Gt(t))),!0)}function Ft(e){var t;return!!(t=this.match(hn))&&(this.options.smart?e.appendChild(gt(t.replace(nn,"…").replace(rn,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(gt(t)),!0)}function Ut(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(cn,""),e.appendChild(new Oe(t?"linebreak":"softbreak"))):e.appendChild(new Oe("softbreak")),this.match(pn),!0}function jt(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(dn)?""!==r&&(r="",this.pos=e,null!==this.match(dn)):a))return this.pos=o,0;var i=Je(i);return""===i?(this.pos=o,0):(t[i]||(t[i]={destination:n,title:r}),this.pos-o)}function Bt(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(gt(ht(n)))),!0}function qt(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 zt=pt.normalizeURI,Vt=pt.unescapeString,Gt=et.decodeHTML,Ht=pt.ESCAPABLE,Wt="\\\\"+Ht,Yt=pt.ENTITY,Kt=pt.reHtmlTag,Xt=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]/),Zt=new RegExp('^(?:"('+Wt+'|[^"\\x00])*"|\'('+Wt+"|[^'\\x00])*'|\\(("+Wt+"|[^()\\x00])*\\))"),$t=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,Jt=new RegExp("^"+Ht),Qt=new RegExp("^"+Yt,"i"),en=/`+/,tn=/^`+/,nn=/\.\.\./g,rn=/--+/g,on=/^<([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,ln=/^ *(?:\n *)?/,sn=/^[ \t\n\x0b\x0c\x0d]/,un=/^\s/,cn=/ *$/,pn=/^ */,dn=/^ *(?:\n|$)/,fn=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/,hn=/^[^\n`\[\]\\!<&*_'"]+/m;function mn(e){return 32===e||9===e}function gn(e,t){return t<e.length?e.charCodeAt(t):-1}function yn(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 bn(){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 vn(e,t){for(;!this.blocks[this.tip.type].canContain(e);)this.finalize(this.tip,this.lineNumber-1);return(t=new Oe(e,[[this.lineNumber,t+1],[0,0]]))._string_content="",this.tip.appendChild(t),this.tip=t}function wn(){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 On(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 En(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1}function Cn(){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 Tn(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&&Vn[r.type].acceptsLines,a=this.blockStarts,i=a.length;!o;){if(this.findNextNonspace(),!this.indented&&!In.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&&Ln[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 xn(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 Sn(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 Dn(){return new Oe("document",[[1,1],[0,0]])}function An(e){this.doc=new Dn,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(zn),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 kn=function(e){return{subject:"",delimiters:null,brackets:null,pos:0,refmap:{},match:yt,peek:bt,spnl:vt,parseBackticks:wt,parseBackslash:Ot,parseAutolink:Et,parseHtmlTag:Ct,scanDelims:Tt,handleDelim:xt,parseLinkTitle:At,parseLinkDestination:kt,parseLinkLabel:Nt,parseOpenBracket:Pt,parseBang:Lt,parseCloseBracket:Rt,addBracket:It,removeBracket:_t,parseEntity:Mt,parseString:Ft,parseNewline:Ut,parseReference:jt,parseInline:Bt,processEmphasis:Dt,removeDelimiter:St,options:e||{},parse:qt}},Nn=pt.unescapeString,Pn=[/./,/^<(?: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("^(?:"+pt.OPENTAG+"|"+pt.CLOSETAG+")\\s*$","i")],Ln=[/./,/<\/(?:script|pre|style)>/i,/-->/,/\?>/,/>/,/\]\]>/],Rn=/^(?:(?:\*[ \t]*){3,}|(?:_[ \t]*){3,}|(?:-[ \t]*){3,})[ \t]*$/,In=/^[#`~*+_=<>0-9-]/,_n=/[^ \t\f\v\r\n]/,Mn=/^[*+-]/,Fn=/^(\d{1,9})([.)])/,Un=/^#{1,6}(?:[ \t]+|$)/,jn=/^`{3,}(?!.*`)|^~{3,}/,Bn=/^(?:`{3,}|~{3,})(?= *$)/,qn=/^(?:=+|-+)[ \t]*$/,zn=/\r\n|\n|\r/,Vn={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(yn(n)&&n._next){t._listData.tight=!1;break}for(var r=n._firstChild;r;){if(yn(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!==gn(t,e.nextNonspace)?1:(e.advanceNextNonspace(),e.advanceOffset(1,!1),mn(gn(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(Bn);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&&mn(gn(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=Nn(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===gn(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,!_n.test(r))&&t.unlink()},canContain:function(){return!1},acceptsLines:!0}},Gn=[function(e){return e.indented||62!==gn(e.currentLine,e.nextNonspace)?0:(e.advanceNextNonspace(),e.advanceOffset(1,!1),mn(gn(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(Un)))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(jn)))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===gn(e.currentLine,e.nextNonspace))for(var n=e.currentLine.slice(e.nextNonspace),r=1;r<=7;r++)if(Pn[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(qn)))return 0;for(e.closeUnmatchedBlocks();91===gn(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 Oe("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&&Rn.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(Mn))l.type="bullet",l.bulletChar=n[0][0];else{if(!(n=i.match(Fn))||"paragraph"===t.type&&"1"!==n[1])return null;l.type="ordered",l.start=parseInt(n[1]),l.delimiter=n[2]}if(-1!==(r=gn(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(_n))return null;for(e.advanceNextNonspace(),e.advanceOffset(n[0].length,!0),o=e.column,a=e.offset;e.advanceOffset(1,!0),r=gn(e.currentLine,e.offset),e.column-o<5&&mn(r););i=-1===gn(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,mn(gn(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 Hn=function(e){return{doc:new Dn,blocks:Vn,blockStarts:Gn,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 kn(e),findNextNonspace:Cn,advanceOffset:On,advanceNextNonspace:En,addLine:bn,addChild:vn,incorporateLine:Tn,finalize:xn,processInlines:Sn,closeUnmatchedBlocks:wn,parse:An,options:e||{}}};function Wn(){}Wn.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},Wn.prototype.out=function(e){this.lit(e)},Wn.prototype.lit=function(e){this.buffer+=e,this.lastOut=e},Wn.prototype.cr=function(){"\n"!==this.lastOut&&this.lit("\n")},Wn.prototype.esc=function(e){return e};function Yn(e){return Xn.test(e)&&!Zn.test(e)}var Kn=Wn,Xn=/^javascript:|vbscript:|file:|data:/i,Zn=/^data:image\/(?:png|gif|jpeg|webp)/i;function $n(e){(e=e||{}).softbreak=e.softbreak||"\n",this.disableTags=0,this.lastOut="\n",this.options=e}($n.prototype=Object.create(Kn.prototype)).text=function(e){this.out(e.literal)},$n.prototype.html_inline=function(e){this.options.safe?this.lit("\x3c!-- raw HTML omitted --\x3e"):this.lit(e.literal)},$n.prototype.html_block=function(e){this.cr(),this.options.safe?this.lit("\x3c!-- raw HTML omitted --\x3e"):this.lit(e.literal),this.cr()},$n.prototype.softbreak=function(){this.lit(this.options.softbreak)},$n.prototype.linebreak=function(){this.tag("br",[],!0),this.cr()},$n.prototype.link=function(e,t){var n=this.attrs(e);t?(this.options.safe&&Yn(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")},$n.prototype.image=function(e,t){t?(0===this.disableTags&&(this.options.safe&&Yn(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('" />')))},$n.prototype.emph=function(e,t){this.tag(t?"em":"/em")},$n.prototype.strong=function(e,t){this.tag(t?"strong":"/strong")},$n.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()))},$n.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())},$n.prototype.code=function(e){this.tag("code"),this.out(e.literal),this.tag("/code")},$n.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()},$n.prototype.thematic_break=function(e){e=this.attrs(e),this.cr(),this.tag("hr",e,!0),this.cr()},$n.prototype.block_quote=function(e,t){e=this.attrs(e),t?(this.cr(),this.tag("blockquote",e)):(this.cr(),this.tag("/blockquote")),this.cr()},$n.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()},$n.prototype.item=function(e,t){e=this.attrs(e),t?this.tag("li",e):(this.tag("/li"),this.cr())},$n.prototype.custom_inline=function(e,t){t&&e.onEnter?this.lit(e.onEnter):!t&&e.onExit&&this.lit(e.onExit)},$n.prototype.custom_block=function(e,t){this.cr(),t&&e.onEnter?this.lit(e.onEnter):!t&&e.onExit&&this.lit(e.onExit),this.cr()},$n.prototype.esc=pt.escapeXml,$n.prototype.out=function(e){this.lit(this.esc(e))},$n.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=">"}},$n.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 Jn=$n,Qn=/\<[^>]*\>/;function er(e){e=e||{},this.disableTags=0,this.lastOut="\n",this.indentLevel=0,this.indent=" ",this.options=e}(er.prototype=Object.create(Kn.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(Qn,""):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=pt.escapeXml;var tr={Node:Oe,Parser:Hn,Renderer:Kn,HtmlRenderer:Jn,XmlRenderer:er},nr="__lodash_hash_undefined__",rr=9007199254740991,or="[object Arguments]",ar="[object Function]",ir="[object GeneratorFunction]",lr=/^\[object .+?Constructor\]$/,sr="object"==typeof n&&n&&n.Object===Object&&n,G="object"==typeof self&&self&&self.Object===Object&&self,ur=sr||G||Function("return this")();function cr(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,dr,n);var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,0)}function pr(e,t,n){for(var r=-1,o=e?e.length:0;++r<o;)if(n(t,e[r]))return!0;return!1}function dr(e){return e!=e}function fr(e,t){return e.has(t)}var we=Array.prototype,ve=Function.prototype,Le=Object.prototype,De=ur["__core-js_shared__"],hr=(Ae=/[^.]+$/.exec(De&&De.keys&&De.keys.IE_PROTO||""))?"Symbol(src)_1."+Ae:"",mr=ve.toString,gr=Le.hasOwnProperty,yr=Le.toString,br=RegExp("^"+mr.call(gr).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),e=ur.Symbol,vr=Le.propertyIsEnumerable,wr=we.splice,Or=e?e.isConcatSpreadable:void 0,Er=Math.max,Cr=Ir(ur,"Map"),Tr=Ir(Object,"create");function xr(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 Sr(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 Dr(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 Ar(e){var t=-1,n=e?e.length:0;for(this.__data__=new Dr;++t<n;)this.add(e[t])}function kr(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 Nr(e,t,n,r){var o,a=-1,i=cr,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=pr,l=!1):200<=t.length&&(i=fr,l=!1,t=new Ar(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 Pr(e,t,n,r,o){var a=-1,i=e.length;for(n=n||_r,o=o||[];++a<i;){var l=e[a];0<t&&n(l)?1<t?Pr(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 Lr(e){var t;return zr(e)&&(t=e,!(hr&&hr in t))&&(qr(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?br:lr).test(function(e){if(null!=e){try{return mr.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function Rr(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 Ir(e,t){t=t,t=null==(e=e)?void 0:e[t];return Lr(t)?t:void 0}function _r(e){return Ur(e)||Br(t=e)&&gr.call(t,"callee")&&(!vr.call(t,"callee")||yr.call(t)==or)||!!(Or&&e&&e[Or]);var t}xr.prototype.clear=function(){this.__data__=Tr?Tr(null):{}},xr.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},xr.prototype.get=function(e){var t=this.__data__;if(Tr){var n=t[e];return n===nr?void 0:n}return gr.call(t,e)?t[e]:void 0},xr.prototype.has=function(e){var t=this.__data__;return Tr?void 0!==t[e]:gr.call(t,e)},xr.prototype.set=function(e,t){return this.__data__[e]=Tr&&void 0===t?nr:t,this},Sr.prototype.clear=function(){this.__data__=[]},Sr.prototype.delete=function(e){var t=this.__data__;return!((e=kr(t,e))<0)&&(e==t.length-1?t.pop():wr.call(t,e,1),!0)},Sr.prototype.get=function(e){var t=this.__data__;return(e=kr(t,e))<0?void 0:t[e][1]},Sr.prototype.has=function(e){return-1<kr(this.__data__,e)},Sr.prototype.set=function(e,t){var n=this.__data__,r=kr(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Dr.prototype.clear=function(){this.__data__={hash:new xr,map:new(Cr||Sr),string:new xr}},Dr.prototype.delete=function(e){return Rr(this,e).delete(e)},Dr.prototype.get=function(e){return Rr(this,e).get(e)},Dr.prototype.has=function(e){return Rr(this,e).has(e)},Dr.prototype.set=function(e,t){return Rr(this,e).set(e,t),this},Ar.prototype.add=Ar.prototype.push=function(e){return this.__data__.set(e,nr),this},Ar.prototype.has=function(e){return this.__data__.has(e)};var Mr,Fr,xe=(Mr=function(e,t){return Br(e)?Nr(e,Pr(t,1,Br,!0)):[]},Fr=Er(void 0===Fr?Mr.length-1:Fr,0),function(){for(var e=arguments,t=-1,n=Er(e.length-Fr,0),r=Array(n);++t<n;)r[t]=e[Fr+t];for(var t=-1,o=Array(Fr+1);++t<Fr;)o[t]=e[t];return o[Fr]=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)}(Mr,this,o)});var Ur=Array.isArray;function jr(e){return null!=e&&("number"==typeof(t=e.length)&&-1<t&&t%1==0&&t<=rr)&&!qr(e);var t}function Br(e){return!!(t=e)&&"object"==typeof t&&jr(e);var t}function qr(e){e=zr(e)?yr.call(e):"";return e==ar||e==ir}function zr(e){var t=typeof e;return e&&("object"==t||"function"==t)}function Vr(e){var t=e.as,n=e.children,r=e.className,o=e.allowList,a=e.blockList;return n?(null!=o&&o.length&&null!=a&&a.length&&pe("Markdown supports only one of `allowList` or `blockList` to be used at a time. `blockList` will be ignored."),H(t,{className:r,dangerouslySetInnerHTML:{__html:(n=function(e){e=Hr.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?Gr(Yr,o):a}):e}(n),Wr.render(n))}})):null}var Gr=xe,Hr=new tr.Parser,Wr=new tr.HtmlRenderer({safe:!0}),Yr=Object.values(_.MarkdownNodeType);function Kr(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 Xr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Kr(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Kr(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}Vr.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"]))},Vr.defaultProps={as:"div",className:void 0,allowList:null,blockList:null};function Zr(e){return H(Vr,Xr(Xr({},e),{},{as:"span",allowList:$r,blockList:void 0}))}var $r=[_.MarkdownNodeType.STRONG];function Jr(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 Qr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Jr(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Jr(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function eo(t,n){function e(e){return H(t,Qr(Qr({},e),{},{className:B(e.className,function(e){if(e){var t=["arrow"],n=_.AlertArrowPosition.BOTTOM,r=_.AlertArrowPosition.BOTTOM_LEFT,o=_.AlertArrowPosition.BOTTOM_RIGHT,a=_.AlertArrowPosition.TOP,i=_.AlertArrowPosition.TOP_RIGHT,l=_.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}Zr.propTypes={children:l.default.string.isRequired,className:l.default.string},Zr.defaultProps={className:void 0},(He=_.AlertArrowPosition||(_.AlertArrowPosition={})).TOP_LEFT="up-left",He.TOP="up-center",He.TOP_RIGHT="up-right",He.BOTTOM_LEFT="down-left",He.BOTTOM="down-center",He.BOTTOM_RIGHT="down-right";var no=(h(We={},_.Sentiment.SUCCESS,_.Sentiment.POSITIVE),h(We,_.Sentiment.INFO,_.Sentiment.NEUTRAL),h(We,_.Sentiment.ERROR,_.Sentiment.NEGATIVE),We),ro=(h(rt={},_.Sentiment.POSITIVE,T.CheckCircle),h(rt,_.Sentiment.NEUTRAL,T.InfoCircle),h(rt,_.Sentiment.WARNING,T.Alert),h(rt,_.Sentiment.NEGATIVE,T.AlertCircle),rt),it=function e(t){var n=M.useState(!1),r=j(n,2),o=r[0],a=r[1],i=t.arrow,l=t.action,s=t.children,u=t.className,c=t.icon,p=t.onDismiss,n=t.message,r=t.type,d=M.useRef(null);if(i){var f=eo(e,i);return H(f,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){h(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=(f=t).size,f=f.type,fe("Alert no longer supports any possible variations in size. Please remove the `size` prop.",!!t),fe("Alert has deprecated the ".concat(f," value for the `type` prop. Please update to ").concat(oo[f],"."),ao.includes(f));r=no[r]||r,c=c?M.cloneElement(c,{size:24}):H(ro[r],{size:24});return W("div",{role:"alert",className:B("alert d-flex","alert-".concat(r),u),onTouchStart:function(){return a(!0)},onTouchEnd:function(e){o&&l&&null!=d&&d.current&&!d.current.contains(e.target)&&("_blank"===(null==l?void 0:l.target)?window.top.open(l.href):window.top.location.assign(l.href)),a(!1)},onTouchMove:function(){return a(!1)},children:[c,W("div",{className:"alert__message flex-grow-1 p-l-2",children:[H("div",{children:s||H(Zr,{children:n})}),l&&H("a",{href:l.href,className:"m-t-1 d-inline-block","aria-label":l["aria-label"],target:l.target,children:l.text})]}),p&&H(ce,{ref:d,size:16,className:"m-l-2",onClick:p})]})},oo=(h(ot={},_.Sentiment.SUCCESS,"Sentiment.POSITIVE"),h(ot,_.Sentiment.INFO,"Sentiment.NEUTRAL"),h(ot,_.Sentiment.ERROR,"Sentiment.NEGATIVE"),ot),ao=Object.keys(no);it.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:$(l.default.node,function(e){return!e.children}),onDismiss:l.default.func,type:l.default.oneOf(["negative","neutral","positive","warning","info","error","success"]),arrow:he(l.default.oneOf(["up-left","up-center","up-right","down-left","down-center","down-right"]),{component:"Alert",expiryDate:new Date("03-01-2021")}),children:he($(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:he(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")})},it.defaultProps={action:void 0,arrow:void 0,className:void 0,dismissible:void 0,icon:void 0,type:_.Sentiment.NEUTRAL},(at=_.AvatarType||(_.AvatarType={})).THUMBNAIL="thumbnail",at.ICON="icon",at.EMOJI="emoji",at.INITIALS="initials";function io(e){var t=e.backgroundColor,n=e.children,r=e.className,o=e.outlined,a=e.size,i=e.theme,e=e.type;return H("div",{className:B("tw-avatar",r,"tw-avatar--".concat(a),"tw-avatar--".concat(e),"tw-avatar--".concat(i),{"tw-avatar--outlined":o}),children:H("div",{className:"tw-avatar__content",style:{backgroundColor:t||void 0},children:n})})}io.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"])},io.defaultProps={backgroundColor:null,children:null,className:null,outlined:!1,size:_.Size.MEDIUM,theme:_.Theme.LIGHT,type:_.AvatarType.THUMBNAIL};function lo(e){var t=e.badge,n=void 0===(a=e.className)?void 0:a,r=void 0===(o=e.size)?_.Size.SMALL:o,o=void 0===(a=e.border)?_.Theme.LIGHT:a,a=e.children,n=B("tw-badge",(h(e={},"tw-badge-border-".concat(o),o),h(e,"tw-badge-".concat(r),r),e),n);return W("div",{className:n,children:[H("div",{className:"tw-badge__children",children:a}),H("div",{className:"tw-badge__content",children:t})]})}var so=["url","children"];function uo(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 co(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?uo(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):uo(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function po(e){var t=e.url,n=e.children,e=ne(e,so);return t?H(lo,co(co({badge:H("img",{src:t,alt:""})},e),{},{children:n})):n}po.propTypes={url:l.default.string,children:l.default.node.isRequired},po.defaultProps={url:void 0};nt=function(e){var t=e.url,n=e.profileType,r=e.badgeUrl,o=e.name,a=e.avatarProps,i=e.badgeProps,e=M.useState(!1),e=j(e,2),l=e[0],s=e[1],u=n===_.ProfileType.BUSINESS;M.useEffect(function(){return s(!1)},[t]);return H(po,co(co({url:r},i),{},{children:H(io,co({size:_.Size.MEDIUM},co(t&&!l?{type:_.AvatarType.THUMBNAIL,children:H("img",{src:t,alt:"avatar",onError:function(){return s(!0)}})}:n?{type:_.AvatarType.ICON,children:H(u?T.Briefcase:T.Profile,{})}:o?{type:_.AvatarType.INITIALS,children:H("small",{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]}(o)})}:{type:_.AvatarType.ICON,children:H(T.Profile,{})},a)))}))};function fo(){return(fo=Object.assign||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 ho(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 mo(e,t){return(mo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function go(e,t){e.prototype=Object.create(t.prototype),mo(e.prototype.constructor=e,t)}function yo(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}nt.defaultProps={url:void 0,profileType:void 0,badgeUrl:void 0,name:void 0,avatarProps:{},badgeProps:{}};var bo=!(nt.propTypes={url:l.default.string,profileType:l.default.oneOf(["PERSONAL","BUSINESS"]),badgeUrl:l.default.string,name:l.default.string,avatarProps:l.default.shape({}),badgeProps:l.default.shape({})}),vo="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,st="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,wo=ke.default.createContext(null),Oo="unmounted",Eo="exited",Co="entering",To="entered",xo="exiting",So=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=Eo,r.appearStatus=Co):n=To:n=e.unmountOnExit||e.mountOnEnter?Oo:Eo,r.state={status:n},r.nextCallback=null,r}go(e,o),e.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Oo?{status:Eo}: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!==Co&&e!==To&&(t=Co):e!==Co&&e!==To||(t=xo)),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===Co?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===Eo&&this.setState({status:Oo})},t.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[Ne.default.findDOMNode(this),r],a=o[0],i=o[1],o=this.getTimeouts(),l=r?o.appear:o.enter;!e&&!n||bo?this.safeSetState({status:To},function(){t.props.onEntered(a)}):(this.props.onEnter(a,i),this.safeSetState({status:Co},function(){t.props.onEntering(a,i),t.onTransitionEnd(l,function(){t.safeSetState({status:To},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:Ne.default.findDOMNode(this);t&&!bo?(this.props.onExit(r),this.safeSetState({status:xo},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Eo},function(){e.props.onExited(r)})})})):this.safeSetState({status:Eo},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:Ne.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===Oo)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,ho(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return ke.default.createElement(wo.Provider,{value:null},"function"==typeof n?n(e,t):ke.default.cloneElement(ke.default.Children.only(n),t))},e}(ke.default.Component);function Do(){}So.contextType=wo,So.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=vo;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}:{},So.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Do,onEntering:Do,onEntered:Do,onExit:Do,onExiting:Do,onExited:Do},So.UNMOUNTED=Oo,So.EXITED=Eo,So.ENTERING=Co,So.ENTERED=To,So.EXITING=xo;function Ao(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 ko(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=yo(e.className,t):e.setAttribute("class",yo(e.className&&e.className.baseVal||"",t))})}var No=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}go(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,Ao(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&&ko(e,r),o&&ko(e,o),n&&ko(e,n)},t.render=function(){var e=this.props,e=(e.classNames,ho(e,["classNames"]));return ke.default.createElement(So,fo({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},e}(ke.default.Component);No.defaultProps={classNames:""},No.propTypes="production"!==process.env.NODE_ENV?fo({},So.propTypes,{classNames:st,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 Po(e){try{return!!e()}catch(e){return!0}}function Lo(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}function Ro(e){return zo.call(e).slice(8,-1)}function Io(e){if(null==e)throw TypeError("Can't call method on "+e);return e}function _o(e){return Go(Io(e))}function Mo(e){return"object"==typeof e?null!==e:"function"==typeof e}function Fo(e,t){return arguments.length<2?"function"==typeof(n=jo[e])?n:void 0:jo[e]&&jo[e][t];var n}var Uo=function(e){return e&&e.Math==Math&&e},jo=Uo("object"==typeof globalThis&&globalThis)||Uo("object"==typeof window&&window)||Uo("object"==typeof self&&self)||Uo("object"==typeof n&&n)||function(){return this}()||Function("return this")(),et=!Po(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),Wt={}.propertyIsEnumerable,Bo=Object.getOwnPropertyDescriptor,qo={f:Bo&&!Wt.call({1:2},1)?function(e){e=Bo(this,e);return!!e&&e.enumerable}:Wt},zo={}.toString,Vo="".split,Go=Po(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==Ro(e)?Vo.call(e,""):Object(e)}:Object,Ht=Fo("navigator","userAgent")||"",Yt=jo.process,pt=jo.Deno,Hn=Yt&&Yt.versions||pt&&pt.version,Kn=Hn&&Hn.v8;Kn?zl=(Fl=Kn.split("."))[0]<4?1:Fl[0]+Fl[1]:Ht&&(!(Fl=Ht.match(/Edge\/(\d+)/))||74<=Fl[1])&&(Fl=Ht.match(/Chrome\/(\d+)/))&&(zl=Fl[1]);function Ho(t,n){try{Object.defineProperty(jo,t,{value:n,configurable:!0,writable:!0})}catch(e){jo[t]=n}return n}function Wo(e){return Object(Io(e))}function Yo(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++oa+aa).toString(36)}function Ko(e,t){if(!Mo(e)||ea(e))return e;var n=e[ua];if(void 0===n)return function(e,t){var n,r;if("string"===t&&"function"==typeof(n=e.toString)&&!Mo(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!Mo(r=n.call(e)))return r;if("string"!==t&&"function"==typeof(n=e.toString)&&!Mo(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}(e,t=void 0===t?"number":t);if(t=n.call(e,t=void 0===t?"default":t),!Mo(t)||ea(t))return t;throw TypeError("Can't convert object to primitive value")}function Xo(e){return e=Ko(e,"string"),ea(e)?e:String(e)}function Zo(e){return pa?ca.createElement(e):{}}function $o(e){if(!Mo(e))throw TypeError(String(e)+" is not an object");return e}var Jo=zl&&+zl,Qo=!!Object.getOwnPropertySymbols&&!Po(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Jo&&Jo<41}),Jn=Qo&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ea=Jn?function(e){return"symbol"==typeof e}:function(e){var t=Fo("Symbol");return"function"==typeof t&&Object(e)instanceof t},sr="__core-js_shared__",ta=jo[sr]||Ho(sr,{}),G=o(function(e){(e.exports=function(e,t){return ta[e]||(ta[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.16.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),na={}.hasOwnProperty,ra=Object.hasOwn||function(e,t){return na.call(Wo(e),t)},oa=0,aa=Math.random(),ia=G("wks"),la=jo.Symbol,sa=Jn?la:la&&la.withoutSetter||Yo,De=function(e){return ra(ia,e)&&(Qo||"string"==typeof ia[e])||(Qo&&ra(la,e)?ia[e]=la[e]:ia[e]=sa("Symbol."+e)),ia[e]},ua=De("toPrimitive"),ca=jo.document,pa=Mo(ca)&&Mo(ca.createElement),da=!et&&!Po(function(){return 7!=Object.defineProperty(Zo("div"),"a",{get:function(){return 7}}).a}),fa=Object.getOwnPropertyDescriptor,ha={f:et?fa:function(e,t){if(e=_o(e),t=Xo(t),da)try{return fa(e,t)}catch(e){}if(ra(e,t))return Lo(!qo.f.call(e,t),e[t])}},ma=Object.defineProperty,ga={f:et?ma:function(e,t,n){if($o(e),t=Xo(t),$o(n),da)try{return ma(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},ya=et?function(e,t,n){return ga.f(e,t,Lo(1,n))}:function(e,t,n){return e[t]=n,e},ba=Function.toString;"function"!=typeof ta.inspectSource&&(ta.inspectSource=function(e){return ba.call(e)});var va,wa,Oa,Ea,Ca,Ta,xa,Sa,Da=ta.inspectSource,Ae=jo.WeakMap,ve="function"==typeof Ae&&/native code/.test(Da(Ae)),Aa=G("keys"),Le=function(e){return Aa[e]||(Aa[e]=Yo(e))},ka={},Na="Object already initialized",we=jo.WeakMap;xa=ve||ta.state?(va=ta.state||(ta.state=new we),wa=va.get,Oa=va.has,Ea=va.set,Ca=function(e,t){if(Oa.call(va,e))throw new TypeError(Na);return t.facade=e,Ea.call(va,e,t),t},Ta=function(e){return wa.call(va,e)||{}},function(e){return Oa.call(va,e)}):(Sa=Le("state"),ka[Sa]=!0,Ca=function(e,t){if(ra(e,Sa))throw new TypeError(Na);return t.facade=e,ya(e,Sa,t),t},Ta=function(e){return ra(e,Sa)?e[Sa]:{}},function(e){return ra(e,Sa)});function Pa(e){return isNaN(e=+e)?0:(0<e?Ma:_a)(e)}function La(e,t){var n,r=_o(e),o=0,a=[];for(n in r)!ra(ka,n)&&ra(r,n)&&a.push(n);for(;t.length>o;)ra(r,n=t[o++])&&(~Ba(a,n)||a.push(n));return a}var Ra={set:Ca,get:Ta,has:xa,enforce:function(e){return xa(e)?Ta(e):Ca(e,{})},getterFor:function(n){return function(e){var t;if(!Mo(e)||(t=Ta(e)).type!==n)throw TypeError("Incompatible receiver, "+n+" required");return t}}},Ia=o(function(e){var t=Ra.get,l=Ra.enforce,s=String(String).split("String");(e.exports=function(e,t,n,r){var o=!!r&&!!r.unsafe,a=!!r&&!!r.enumerable,i=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof t||ra(n,"name")||ya(n,"name",t),(r=l(n)).source||(r.source=s.join("string"==typeof t?t:""))),e!==jo?(o?!i&&e[t]&&(a=!0):delete e[t],a?e[t]=n:ya(e,t,n)):a?e[t]=n:Ho(t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||Da(this)})}),_a=Math.ceil,Ma=Math.floor,Fa=Math.min,Ua=Math.max,ja=Math.min,e=function(l){return function(e,t,n){var r,o=_o(e),a=0<(e=o.length)?Fa(Pa(e),9007199254740991):0,i=function(e,t){e=Pa(e);return e<0?Ua(e+t,0):ja(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}},ur={includes:e(!0),indexOf:e(!1)},Ba=ur.indexOf,qa=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],za=qa.concat("length","prototype"),Va={f:Object.getOwnPropertyNames||function(e){return La(e,za)}},Ga={f:Object.getOwnPropertySymbols},Ha=Fo("Reflect","ownKeys")||function(e){var t=Va.f($o(e)),n=Ga.f;return n?t.concat(n(e)):t},Wa=/#|\.prototype\./,xe=function(e,t){e=Ka[Ya(e)];return e==Za||e!=Xa&&("function"==typeof t?Po(t):!!t)},Ya=xe.normalize=function(e){return String(e).replace(Wa,".").toLowerCase()},Ka=xe.data={},Xa=xe.NATIVE="N",Za=xe.POLYFILL="P",$a=xe,Ja=ha.f,tr=function(e,t){var n,r,o,a=e.target,i=e.global,l=e.stat,s=i?jo:l?jo[a]||Ho(a,{}):(jo[a]||{}).prototype;if(s)for(n in t){if(r=t[n],o=e.noTargetGet?(o=Ja(s,n))&&o.value:s[n],!$a(i?n:a+(l?".":"#")+n,e.forced)&&void 0!==o){if(typeof r==typeof o)continue;!function(e,t){for(var n=Ha(t),r=ga.f,o=ha.f,a=0;a<n.length;a++){var i=n[a];ra(e,i)||r(e,i,o(t,i))}}(r,o)}(e.sham||o&&o.sham)&&ya(r,"sham",!0),Ia(s,n,r,e)}};tr({target:"Number",stat:!0},{isNaN:function(e){return e!=e}});function Qa(){}function ei(e){return"<script>"+e+"</"+si+">"}function ti(e){e.write(ei("")),e.close();var t=e.parentWindow.Object;return e=null,t}var ni,ri=Object.setPrototypeOf||("__proto__"in{}?function(){var n,r=!1,e={};try{(n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),r=e instanceof Array}catch(e){}return function(e,t){return $o(e),function(e){if(!Mo(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(t),r?n.call(e,t):e.__proto__=t,e}}():void 0),oi=Object.keys||function(e){return La(e,qa)},ai=et?Object.defineProperties:function(e,t){$o(e);for(var n,r=oi(t),o=r.length,a=0;a<o;)ga.f(e,n=r[a++],t[n]);return e},ii=Fo("document","documentElement"),li="prototype",si="script",ui=Le("IE_PROTO"),ci=function(){try{ni=new ActiveXObject("htmlfile")}catch(e){}ci=(!document.domain||!ni)&&function(){var e=Zo("iframe");if(e.style)return e.style.display="none",ii.appendChild(e),e.src=String("javascript:"),(e=e.contentWindow.document).open(),e.write(ei("document.F=Object")),e.close(),e.F}()||ti(ni);for(var e=qa.length;e--;)delete ci[li][qa[e]];return ci()};ka[ui]=!0;function pi(e){if(ea(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}function di(e){if(ea(e))throw TypeError("Cannot convert a Symbol value to a number");var t,n,r,o,a,i,l,s=Ko(e,"number");if("string"==typeof s&&2<s.length)if(43===(t=(s=yi(s)).charCodeAt(0))||45===t){if(88===(e=s.charCodeAt(2))||120===e)return NaN}else if(48===t){switch(s.charCodeAt(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=s.slice(2)).length,i=0;i<a;i++)if((l=o.charCodeAt(i))<48||r<l)return NaN;return parseInt(o,n)}return+s}var He=Object.create||function(e,t){var n;return null!==e?(Qa[li]=$o(e),n=new Qa,Qa[li]=null,n[ui]=e):n=ci(),void 0===t?n:ai(n,t)},We="[\t\n\v\f\r                 \u2028\u2029\ufeff]",fi=RegExp("^"+We+We+"*"),hi=RegExp(We+We+"*$"),rt=function(t){return function(e){e=pi(Io(e));return 1&t&&(e=e.replace(fi,"")),e=2&t?e.replace(hi,""):e}},ot={start:rt(1),end:rt(2),trim:rt(3)},at=Va.f,mi=ha.f,gi=ga.f,yi=ot.trim,bi="Number",vi=jo[bi],wi=vi.prototype,Oi=Ro(He(wi))==bi;if($a(bi,!vi(" 0o1")||!vi("0b1")||vi("+0x1"))){for(var Ei,Ci=function(e){var t,n,r,o,a=arguments.length<1?0:e,i=this;return i instanceof Ci&&(Oi?Po(function(){wi.valueOf.call(i)}):Ro(i)!=bi)?(t=new vi(di(a)),n=i,e=Ci,ri&&"function"==typeof(r=n.constructor)&&r!==e&&Mo(o=r.prototype)&&o!==e.prototype&&ri(t,o),t):di(a)},Ti=et?at(vi):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),xi=0;Ti.length>xi;xi++)ra(vi,Ei=Ti[xi])&&!ra(Ci,Ei)&&gi(Ci,Ei,mi(vi,Ei));(Ci.prototype=wi).constructor=Ci,Ia(jo,bi,Ci)}function Si(e){return Array.isArray(e)}var Di=function(e){return"number"==typeof e&&!Number.isNaN(e)},Ai=function(e){return null===e},ki=function(e){return void 0===e};tr({target:"Object",stat:!0,forced:Po(function(){oi(1)})},{keys:function(e){return oi(Wo(e))}});var Ni=function(e){return"string"==typeof e&&0===e.length||(!Ai(t=e)&&!ki(t)&&t.constructor===Object||Si(e))&&0===Object.keys(e).length;var t},Pi=De("unscopables"),Li=Array.prototype;null==Li[Pi]&&ga.f(Li,Pi,{configurable:!0,value:He(null)});var Ri=ur.includes;tr({target:"Array",proto:!0},{includes:function(e){return Ri(this,e,1<arguments.length?arguments[1]:void 0)}}),Li[Pi].includes=!0;function Ii(e){if(Mo(t=e)&&(void 0!==(n=t[_i])?!!n:"RegExp"==Ro(t)))throw TypeError("The method doesn't accept regular expressions");var t,n;return e}var _i=De("match"),Mi=De("match");tr({target:"String",proto:!0,forced:!function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[Mi]=!1,"/./"[t](n)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~pi(Io(this)).indexOf(pi(Ii(e)),1<arguments.length?arguments[1]:void 0)}});function Fi(e){var t=e.keyType,n=e.event;return!(!t||!n)&&(e=t.toUpperCase(),!!(t=Ui[e])&&(e=n.key,n=n.keyCode,e?Si(t.key)?t.key.includes(e):e===t.key:n===t.keyCode))}var Ui={SPACE:{key:[" ","Spacebar"],keyCode:32},ENTER:{key:"Enter",keyCode:13},TAB:{key:"Tab",keyCode:9},ESCAPE:{key:"Escape",keyCode:27}},ji="Expected a function",Bi=NaN,qi="[object Symbol]",zi=/^\s+|\s+$/g,Vi=/^[-+]0x[0-9a-f]+$/i,Gi=/^0b[01]+$/i,Hi=/^0o[0-7]+$/i,Wi=parseInt,st="object"==typeof n&&n&&n.Object===Object&&n,Uo="object"==typeof self&&self&&self.Object===Object&&self,Yi=st||Uo||Function("return this")(),Ki=Object.prototype.toString,Xi=Math.max,Zi=Math.min,$i=function(){return Yi.Date.now()};function Ji(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(ji);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=$i();if(h(t))return g(t);s=setTimeout(m,(t=n-((e=t)-u),d?Zi(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=$i(),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=el(n)||0,Qi(e)&&(p=!!e.leading,d="maxWait"in e,i=d?Xi(el(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($i())},y}function Qi(e){var t=typeof e;return e&&("object"==t||"function"==t)}function el(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||!!(n=t)&&"object"==typeof n&&Ki.call(t)==qi)return Bi;var t,n;if("string"!=typeof(e=Qi(e)?Qi(r="function"==typeof e.valueOf?e.valueOf():e)?r+"":r:e))return 0===e?e:+e;e=e.replace(zi,"");var r=Gi.test(e);return r||Hi.test(e)?Wi(e.slice(2),r?2:8):Vi.test(e)?Bi:+e}function tl(e){var n=e.ref,t=e.throttleMs,r=void 0===t?100:t,e=M.useState(null),e=(t=j(e,2))[0],o=t[1];return rl(function(){function e(){n&&(n.innerWidth?o(n.innerWidth):n.current&&o(n.current.clientWidth))}var t=nl(e,r);return window.addEventListener("resize",t,!0),window.requestAnimationFrame(e),function(){return window.removeEventListener("resize",t,!0)}},[]),[e]}var nl=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError(ji);return Qi(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ji(e,t,{leading:r,maxWait:t,trailing:o})},rl="undefined"!=typeof window?M.useLayoutEffect:M.useEffect;tl.THROTTLE_MS=100;function ol(e){var t=e.attachListener,n=e.callback,r=e.eventType,o=e.parent;M.useEffect(function(){return t&&(ki(o)||o.addEventListener(r,n,!0)),function(){ki(o)||o.removeEventListener(r,n,!0)}},[t])}function al(e){var t=e.direction,e=e.children;return H(cl.Provider,{value:t,children:e})}function il(){var e=M.useContext(cl);return{direction:e,isRTL:"rtl"===e}}function ll(e){function n(e,t){e.forEach(function(e){e.isIntersecting&&(a(!0),t.unobserve(r.current))})}var r=e.elRef,t=e.loading,o=M.useState(!1),o=(e=j(o,2))[0],a=e[1];return M.useEffect(function(){var e,t=!1;return"undefined"!=typeof window&&window.IntersectionObserver&&r&&r.current?t||(e=new IntersectionObserver(n,pl)).observe(r.current):a(!0),function(){t=!0,e&&e.unobserve(r.current)}},[r]),"eager"===t?[!1]:[o]}function sl(){var e="undefined"==typeof window?void 0:window,t=M.useState(),n=j(t,2),t=n[0],r=n[1],e=tl({ref:e}),o=j(e,1)[0];return M.useEffect(function(){o&&(o<=_.Breakpoint.EXTRA_SMALL?r(_.Breakpoint.EXTRA_SMALL):_.Breakpoint.EXTRA_SMALL<o&&o<=_.Breakpoint.SMALL?r(_.Breakpoint.SMALL):_.Breakpoint.SMALL<o&&o<=_.Breakpoint.MEDIUM?r(_.Breakpoint.MEDIUM):_.Breakpoint.MEDIUM<o&&o<=_.Breakpoint.LARGE?r(_.Breakpoint.LARGE):_.Breakpoint.LARGE<o&&r(_.Breakpoint.EXTRA_LARGE))},[o]),{isMobile:!!t&&[_.Breakpoint.EXTRA_SMALL,_.Breakpoint.SMALL].includes(t),isExtraSmall:t===_.Breakpoint.EXTRA_SMALL,isSmall:t===_.Breakpoint.SMALL,isMedium:t===_.Breakpoint.MEDIUM,isLarge:t===_.Breakpoint.LARGE,isExtraLarge:t===_.Breakpoint.EXTRA_LARGE}}function ul(e){var t=e.children,r=M.useRef(),e=ki(document)?void 0:document,o={};return M.useEffect(function(){var e,t,n;r.current.focus(),e=r.current,n={first:e,last:e},null==e||!e.querySelectorAll||0<(t=U(e.querySelectorAll('a, button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])')).filter(function(e){return!e.hasAttribute("disabled")})).length&&(e=j(t,1),n.first=e[0],n.last=t[t.length-1]),o=n},[]),ol({eventType:"keydown",callback:function(e){return Fi({keyType:dl,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()),void(n.shiftKey||t!==e||(r&&r.focus(),n.preventDefault())));var t,n,r},attachListener:!0,parent:e}),H("span",{ref:r,tabIndex:-1,className:"np-focus-boundary outline-none",children:t})}var cl=M.createContext(_.Direction.LTR),pl={threshold:.1},dl=x.TAB;function fl(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 hl(o){return function(e){var t=M.useState(!1),n=j(t,2),t=n[0],r=n[1];return M.useEffect(function(){r(!0)},[r]),t?a.createPortal(H(o,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fl(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fl(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},e)),document.body):null}}ul.propTypes={children:l.default.node};function ml(e){var t=e.target.classList.contains("dimmer");v()&&t&&(e.stopPropagation(),e.preventDefault())}var gl=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),e},e.exports.default=e.exports,e.exports.__esModule=!0})),yl=new(function(){function e(){y(this,e),h(this,"dimmers",void 0),this.dimmers=[]}return gl(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}()),bl=function(e){var t=e.children,n=e.scrollBody;return M.useEffect(function(){return n&&(document.documentElement.classList.add(C),document.body.classList.add(C)),function(){n&&(document.documentElement.classList.remove(C),document.body.classList.remove(C))}},[n]),t},vl=hl(function(e){var t=e.children,n=e.className,r=e.disableClickToClose,o=void 0!==r&&r,a=e.fadeContentOnEnter,i=void 0!==a&&a,l=e.fadeContentOnExit,r=void 0!==l&&l,a=e.open,s=void 0!==a&&a,l=e.scrollable,a=void 0!==l&&l,l=e.transparent,l=void 0!==l&&l,u=e.onClose,c=M.useRef(null),p=M.useCallback(function(e){"Escape"===e.key&&(e.stopPropagation(),u&&c.current&&yl.isTop(c.current)&&u(e))},[u]);return M.useEffect(function(){var e=c.current;return s&&(document.addEventListener("keydown",p),null!=e&&e.addEventListener("touchmove",ml)),function(){document.removeEventListener("keydown",p),null!=e&&e.removeEventListener("touchmove",ml)}},[p,s]),H(No,{in:s,appear:!0,timeout:{enter:0,exit:350},classNames:{enter:B({"dimmer--enter-fade":i}),enterDone:B("dimmer--enter-done",{"dimmer--enter-fade":i}),exit:B("dimmer--exit",{"dimmer--exit-fade":r})},unmountOnExit:!0,onEnter:function(){c.current&&yl.add(c.current)},onExited:function(){c.current&&yl.remove(c.current)},children:H(bl,{scrollBody:!l,children:H("div",{ref:c,className:B("dimmer",{"dimmer--scrollable":a,"dimmer--transparent":l},n),role:"presentation",onClick:function(e){var t;!o&&u&&(t=e).target===c.current&&null!=u&&u(t)},children:H(ul,{children:t})})})})}),wl=["children","className","open","position","showSlidingPanelBorder","slidingPanelPositionFixed"];function Ol(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 El(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ol(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ol(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Cl=M.forwardRef(function(e,t){var n=e.children,r=e.className,o=e.open,a=e.position,i=e.showSlidingPanelBorder,l=e.slidingPanelPositionFixed,e=ne(e,wl);return H(No,El(El({},e),{},{in:o,timeout:{enter:0,exit:350},classNames:B("sliding-panel--open-".concat(a),i&&"sliding-panel--border-".concat(a),{"sliding-panel--fixed":l},"sliding-panel"),appear:!0,unmountOnExit:!0,children:H("div",{ref:t,className:B("sliding-panel",r),children:n})}))});Cl.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},Cl.defaultProps={children:null,className:void 0,open:!1,position:"left",showSlidingPanelBorder:!1,slidingPanelPositionFixed:!1};function Tl(e){var r=M.useRef(null),t=M.useRef(null),n=M.useRef(null),o=M.useState(!1),a=(d=j(o,2))[0],i=d[1],l=M.useRef(0),s=M.useRef(0),u=M.useRef(0);function c(e){null!==r.current&&(r.current.style.transform="translateY(".concat(e,"px)"))}function p(){i(!1),s.current=0,null!==r.current&&r.current.style.removeProperty("transform"),e.onClose&&e.onClose()}ol({attachListener:e.open&&!E(),callback:function(){var e;null!==t.current&&(e=t.current.classList,h()?e.remove("np-bottom-sheet--top-bar--shadow"):e.add("np-bottom-sheet--top-bar--shadow"))},eventType:"scroll",parent:E()?void 0:document});var o=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(){cancelAnimationFrame(l.current),i(!1),50<s.current&&h()?p():c(0),s.current=0}function h(){var e;return void 0!==(null==n||null===(e=n.current)||void 0===e?void 0:e.scrollTop)&&n.current.scrollTop<=1}return H(vl,{open:e.open,fadeContentOnEnter:!0,fadeContentOnExit:!0,onClose:p,children:W(Cl,{ref:r,open:e.open,position:_.Position.BOTTOM,className:B("np-bottom-sheet",e.className),role:"dialog",onTouchStart:o(!0),onTouchMove:d(!0),onTouchEnd:f,onMouseDown:o(!1),onMouseMove:d(!1),onMouseUp:f,children:[W("div",{ref:t,className:"np-bottom-sheet--top-bar",children:[H("div",{className:"np-bottom-sheet--handler"}),H(ce,{size:16,className:"sr-only np-bottom-sheet--close-btn",onClick:p})]}),H("div",{ref:n,style:(d=E()?0:window.innerHeight,d="".concat(.01*d*100,"px"),{maxHeight:"calc(".concat(d," - ").concat("64px"," - ").concat("32px",")")}),className:"np-bottom-sheet--content",children:e.children})]})})}function xl(e){return Al[e]||e}var Sl=(h(Wt={},_.ControlType.ACCENT,"btn-accent"),h(Wt,_.ControlType.POSITIVE,"btn-positive"),h(Wt,_.ControlType.NEGATIVE,"btn-negative"),Wt),Dl=(h(Yt={},_.Priority.PRIMARY,"btn-priority-1"),h(Yt,_.Priority.SECONDARY,"btn-priority-2"),h(Yt,_.Priority.TERTIARY,"btn-priority-3"),Yt),Al=(h(pt={},_.Type.PRIMARY,_.ControlType.ACCENT),h(pt,_.Type.SECONDARY,_.ControlType.ACCENT),h(pt,_.Type.LINK,_.ControlType.ACCENT),h(pt,_.Type.PAY,_.ControlType.POSITIVE),h(pt,_.Type.DANGER,_.ControlType.NEGATIVE),pt),kl=(h(Hn={},_.Type.DANGER,_.Priority.SECONDARY),h(Hn,_.Type.LINK,_.Priority.TERTIARY),h(Hn,_.Type.SECONDARY,_.Priority.SECONDARY),Hn),Nl=(h(Kn={},_.Type.DANGER,"Type.NEGATIVE"),h(Kn,_.Type.LINK,"ControlType.ACCENT with priority Priority.TERTIARY"),h(Kn,_.Type.PAY,"ControlType.POSITIVE"),h(Kn,_.Type.PRIMARY,"ControlType.ACCENT"),h(Kn,_.Type.SECONDARY,"ControlType.ACCENT with priority Priority.SECONDARY"),Kn),Pl=Object.keys(Al),Ll=["block","children","className","disabled","htmlType","loading","priority","size","type"];function Rl(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 Il(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Rl(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Rl(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function _l(e){var t=e.block,n=e.children,r=e.className,o=e.disabled,a=e.htmlType,i=e.loading,l=e.priority,s=e.size,u=e.type,c=ne(e,Ll);e=(p=e).size,p=p.type,fe("Button has deprecated the `Size.EXTRA_SMALL` value for the `size` prop. Please use Size.SMALL instead.",e===_.Size.EXTRA_SMALL),fe("Button has deprecated the ".concat(p," value for the `type` prop. Please update to ").concat(Nl[p],"."),Pl.includes(p));var e=xl(u),p=(p=l,u=xl(l=u),kl[l]||(p===_.Priority.TERTIARY&&u!==_.ControlType.ACCENT?_.Priority.SECONDARY:p)),r=B("btn btn-".concat(s),"np-btn np-btn-".concat(s),{"btn-loading":i,"btn-block np-btn-block":t},Sl[e],Dl[p],r);return W("button",Il(Il({type:a,className:r,disabled:o||i},c),{},{children:[n,i&&H("span",{className:B("btn-loader",{"m-l-2":!t})})]}))}_l.propTypes={block:l.default.bool,children:l.default.node.isRequired,className:l.default.string,disabled:l.default.bool,htmlType:l.default.oneOf(["submit","reset","button"]),loading:l.default.bool,onClick:$(l.default.func,function(e){return"submit"!==e.htmlType}),priority:l.default.oneOf(["primary","secondary","tertiary"]),type:l.default.oneOf(["accent","positive","negative","primary","pay","secondary","danger","link"]),size:l.default.oneOf(["xs","sm","md","lg"])},_l.defaultProps={block:!1,className:null,disabled:!1,htmlType:"button",loading:!1,priority:_.Priority.PRIMARY,size:_.Size.MEDIUM,type:_.ControlType.ACCENT};var Ml=["aria-label","as","isExpanded","title","details","children","onClick","icon","id","className"],Ht=M.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=ne(e,Ml),e=!(!o||!l);return W(r,{ref:t,className:B("np-card",p,{"np-card--expanded":e,"np-card--inactive":!l,"np-card--has-icon":!!u}),id:c,"data-testid":d["data-testid"],children:[H(Z,{"aria-label":n,as:l?"button":"div",className:B("np-card__button"),media:u,title:a,content:i,showMediaAtAllSizes:!0,button:l&&H(X,{orientation:e?_.Position.TOP:_.Position.BOTTOM}),onClick:function(){return l&&s(!o)}}),H("div",{className:B("np-card__divider",{"np-card__divider--expanded":e})}),e&&H("div",{className:"np-card__content",children:l})]})}),Fl=function(e){return e.children};Ht.propTypes={"aria-label":l.default.string,as:l.default.string,isExpanded:$(l.default.bool,Fl),title:l.default.node.isRequired,details:l.default.node.isRequired,onClick:$(l.default.func,Fl),icon:l.default.node.isRequired,children:l.default.node,id:l.default.string,className:l.default.string,"data-testid":l.default.string},Ht.defaultProps={"aria-label":void 0,as:"div",children:null,id:null,className:null,"data-testid":null};var Ul=["checked","className","disabled","onChange"];function jl(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 Bl(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?jl(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):jl(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var ql=M.forwardRef(function(e,t){var n=e.checked,r=e.className,o=e.disabled,a=e.onChange,e=ne(e,Ul);return W("span",{className:B("np-checkbox-button",r),children:[H("input",Bl(Bl({ref:t},e),{},{type:"checkbox",disabled:o,checked:n,onChange:a})),H("span",{className:"tw-checkbox-button",children:H("span",{className:"tw-checkbox-check"})})]})});ql.propTypes={"aria-label":l.default.string,checked:l.default.bool,className:l.default.string,disabled:l.default.bool,onChange:l.default.func.isRequired},ql.defaultProps={"aria-label":void 0,checked:!1,className:void 0,disabled:!1};var zl=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=r&&!o&&!a&&!n,l=B("np-checkbox",{checkbox:!0,"checkbox-lg":s,"has-error":e},l);return H("div",{id:t,className:l,children:W("label",{className:B({disabled:o}),children:[H(ql,{className:B("p-r-2",{"has-error":e}),checked:n,disabled:o||a,onFocus:c,onChange:function(){return u(!n)},onBlur:p}),W("span",{className:"np-checkbox__text",children:[i,r&&"*",s&&H("small",{children:s})]})]})})};function Vl(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 Gl(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Vl(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Vl(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}zl.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},zl.defaultProps={id:null,checked:!1,required:!1,disabled:!1,readOnly:!1,secondary:null,onFocus:null,onBlur:null,className:void 0};sr=function(e){var t=e["aria-label"],n=e.media,r=e.title,o=e.content,a=e.name,i=e.checked,l=e.onChange,s=e.complex,u=e.disabled,e=e.showMediaAtAllSizes;return H(Z,Gl(Gl({},{ariaLabel:t,media:n,title:r,content:o,name:a,complex:s,disabled:u,showMediaAtAllSizes:e}),{},{button:H(ql,{checked:i,disabled:u,onChange:function(){return l(!i)}})}))};function Hl(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 Wl(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Hl(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hl(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}sr.propTypes={"aria-label":l.default.string,checked:l.default.bool,complex:l.default.bool,content:l.default.node,disabled:l.default.bool,id:l.default.string,media:l.default.node,name:l.default.string.isRequired,onChange:l.default.func.isRequired,title:l.default.node.isRequired,showMediaAtAllSizes:l.default.bool},sr.defaultProps={"aria-label":void 0,checked:!1,complex:!1,content:null,disabled:!1,id:void 0,media:null,showMediaAtAllSizes:!1};var Yl=function(e){var t=e.label,n=e.value,r=e.onRemove,o=e.onClick,a=e.onKeyPress,i=e.className,l=e["aria-label"],s=e["aria-checked"],u=e.role,c=e.closeButton,e=o||a;return W("div",Wl(Wl({role:null!=u?u:e?"button":void 0,tabIndex:e?0:-1,"aria-label":l,"aria-checked":s,className:B("np-chip","d-flex","align-items-center","justify-content-between",void 0===i?void 0:i)},e&&{onClick:o,onKeyPress:a}),{},{children:[H("span",{"aria-hidden":!!r,className:"np-chip-label",children:t}),r?H(ce,{className:"btn-unstyled m-l-1","aria-label":c&&c["aria-label"],filled:!0,size:16,onClick:r}):null]}),n)},Kl=F.defineMessages({ariaLabel:{id:"neptune.Chips.ariaLabel"}});function Xl(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 Zl=["className","children","disabled","icon","priority","type"];function $l(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}Jn=function(e){var t=e.className,n=e.children,r=e.disabled,o=e.icon,a=e.priority,i=e.type,l=ne(e,Zl),e=B("btn np-btn",Sl[i],Dl[a]),o=24!==o.props.size?M.cloneElement(o,{size:24}):o;return W("label",{className:B("np-circular-btn",a,i,r?"disabled":"",t),children:[H("input",function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?$l(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$l(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,H("span",{className:"np-circular-btn__label",children:n})]})};Jn.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"])},Jn.defaultProps={className:void 0,disabled:!1,priority:_.Priority.PRIMARY,type:_.ControlType.ACCENT};var Jl,Ql={TYPE:"SignificantDigits",MIN_PRECISION:1,MAX_PRECISION:21},es={TYPE:"FractionDigits",MIN_PRECISION:0,MAX_PRECISION:20},ts={};function ns(e,t){var n=t?""+e+Object.entries(t):e;return ts[n]||(ts[n]=t?new Intl.NumberFormat(e,t):new Intl.NumberFormat(e)),ts[n]}function rs(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===Ql.TYPE?Ql:es,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(Jl=void 0===Jl?"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:Jl)?(i?ns(l,((o={})["minimum"+(a=r)]=t=n,o["maximum"+a]=t,o)):ns(l)).format(e):i?(i=e,n=n,r===Ql.TYPE?i.toPrecision(n):i.toFixed(n)):""+e}var os,as={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 is(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(as,t)?as[t]:2):0),t=e<0,r=rs(Math.abs(e),n,r);return t?"- "+r:r}var ls={},ss=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],us=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs={};function ps(e,t,n){return void 0===t&&(t="en-GB"),(os=void 0===os?function(){try{var e=new Date(2018,11,1);return"01/12/2018"===new Intl.DateTimeFormat("en-GB").format(e)}catch(e){return!1}}():os)?(void 0===ls[t=r=t]&&(ls[t]=function(e){try{return 0<Intl.DateTimeFormat.supportedLocalesOf([e]).length}catch(e){return!1}}(t)),t=ls[t]?r:"en-GB",r=n,cs[t]||(cs[t]=new Map),cs[t].has(r)||cs[t].set(r,new Intl.DateTimeFormat(t,r)),cs[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?us[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=ss[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 ds(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(ps(o,e,{weekday:n})),o.setDate(o.getDate()+1);return r}function fs(e,t,n){return!e||(!t||t<=e)&&(!n||e<=n)}function hs(e,t,n){return fs(e,t,n)?e:new Date(t&&e<t?+t:+n)}(Ae={}).SECOND="second",Ae.MINUTE="minute",Ae.HOUR="hour";function ms(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(ps(r,e,o)),r.setMonth(r.getMonth()+1);return n}function gs(e){return bs(e)||ys(e)}var ys=function(e){return"string"==typeof e&&bs(new Date(e))},bs=function(e){return e instanceof Date&&!isNaN(e)},vs=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.default=e.exports,e.exports.__esModule=!0}),ws=r(vs),Os=o(function(n){function r(e,t){return n.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n.exports.default=n.exports,n.exports.__esModule=!0,r(e,t)}n.exports=r,n.exports.default=n.exports,n.exports.__esModule=!0});r(Os);var Es=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}}),t&&Os(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0})),Cs=o(function(t){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(e){return typeof e}:t.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.default=t.exports,t.exports.__esModule=!0,n(e)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0}),Ts=r(Cs),xs=r(o(function(e){var n=Cs.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 vs(e)},e.exports.default=e.exports,e.exports.__esModule=!0})),Ss=r(o(function(t){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},t.exports.default=t.exports,t.exports.__esModule=!0,n(e)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0})),Ds={DOWN:40,UP:38,LEFT:37,RIGHT:39,ENTER:13,ESCAPE:27,TAB:9,SPACE:32,BACKSPACE:8,DELETE:46,COMMA:188,PERIOD:190};var As=function(e){function t(e){return e.map(function(e){return l[e]||e}).join(" ")}var n=e.currency,r=e.label,o=e.note,a=e.secondary,i=e.icon,l=e.classNames,s=e.selected,u=n?"".concat(t(["currency-flag","currency-flag-".concat(n.toLowerCase()),"".concat(s?"hidden-xs":"")])):null,e=o?"".concat(t(["d-inline-flex align-items-center"])):void 0;return W(Y,{children:[i?M.cloneElement(i,{size:24,className:"".concat(t(["tw-icon","".concat(s&&n?"hidden-xs":"")]))}):n&&H("i",{className:u}),W("span",{className:e,children:[r,o&&H("span",{className:"body-2 m-l-1",children:o})]}),a&&H("span",{className:"body-2 text-ellipsis",children:a})]})};As.propTypes={label:l.default.node.isRequired,currency:l.default.string,note:l.default.node,secondary:l.default.node,icon:l.default.node,classNames:l.default.objectOf(l.default.string),selected:l.default.bool},As.defaultProps={currency:"",note:"",secondary:"",icon:null,classNames:{},selected:!1};var ks=M.forwardRef(function(e,t){var n=e.classNames,r=e.onChange,o=e.onClick,a=e.placeholder,i=e.value,e=function(e){return n[e]||e};return H("li",{className:e("tw-dropdown-item--divider"),children:H("a",{className:"".concat(e("tw-select-filter-link")," ").concat(e("p-a-0")),children:W("div",{className:e("input-group"),children:[H("span",{className:e("input-group-addon"),children:H(T.Search,{className:B(e("tw-icon"),e("tw-icon-search"))})}),H("input",{ref:t,type:"text",className:B(e("tw-select-filter"),e("form-control")),placeholder:a,value:i,spellCheck:"false",onChange:r,onClick:o})]})})})});function Ns(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 Ps(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ns(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ns(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Ls(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}function Rs(e){return!e.header&&!e.separator&&!e.disabled}ks.propTypes={classNames:l.default.objectOf(l.default.string),onChange:l.default.func.isRequired,onClick:l.default.func.isRequired,placeholder:l.default.string,value:l.default.string},ks.defaultProps={classNames:{},value:"",placeholder:void 0};var Is=function(e){return e&&"[object Function]"==={}.toString.call(e)};function _s(e){e.stopPropagation(),e.preventDefault(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}function Ms(){return"undefined"!=typeof document&&"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(max-width: ".concat(_.Breakpoint.SMALL,"px)")).matches}function Fs(e){return setTimeout(e,0)}function Us(e,t){return e.toLowerCase().includes(t.toLowerCase())}var js=100,Bs=function(e,t){return e.label&&Us(e.label,t)||e.note&&Us(e.note,t)||e.secondary&&Us(e.secondary,t)||e.currency&&Us(e.currency,t)||e.searchStrings&&(e=e.searchStrings,n=t,e.some(function(e){return Us(e,n)}));var n},qs=function(e){Es(n,e);var t=Ls(n);function n(e){var a;return y(this,n),a=t.call(this,e),h(ws(a),"handleResize",function(){a.setState({shouldRenderWithPortal:Ms()})}),h(ws(a),"handleOnFocus",function(e){return a.props.onFocus&&a.props.onFocus(e)}),h(ws(a),"handleOnBlur",function(e){var t=a.props.onBlur,n=e.nativeEvent;if(n){var r=n.relatedTarget,n=e.currentTarget;if(n&&r&&n.contains(r))return}t&&t(e)}),h(ws(a),"getOptions",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:a.props.options,t=a.props.search;if(!t||!a.state.searchValue)return e;var n=Is(t)?t:Bs;return e.filter(function(e){return n(e,a.state.searchValue)})}),h(ws(a),"handleSearchChange",function(e){a.setState({numberOfOptionsShown:js}),a.props.onSearchChange?a.props.onSearchChange(e.target.value):a.setState({searchValue:e.target.value})}),h(ws(a),"handleKeyDown",function(e){var t=a.state.open;switch(e.keyCode){case Ds.UP:t?a.moveFocusWithDifference(-1):a.open(),e.preventDefault();break;case Ds.DOWN:t?a.moveFocusWithDifference(1):a.open(),e.preventDefault();break;case Ds.SPACE:e.target!==a.searchBoxRef.current&&(t?a.selectKeyboardFocusedOption():a.open(),e.preventDefault());break;case Ds.ENTER:t?a.selectKeyboardFocusedOption():a.open(),e.preventDefault();break;case Ds.ESCAPE:a.close(),e.preventDefault();break;case Ds.TAB:t&&a.selectKeyboardFocusedOption()}}),h(ws(a),"handleButtonClick",function(){a.props.disabled||a.open()}),h(ws(a),"handleDocumentClick",function(){a.state.open&&a.close()}),h(ws(a),"handleTouchStart",function(e){e.currentTarget===e.target&&a.state.open&&a.close()}),h(ws(a),"style",function(e){return a.props.classNames[e]||e}),h(ws(a),"renderOption",function(e,t){if(e.separator)return H("li",{className:a.style("divider")},t);if(e.header)return H("li",{className:a.style("dropdown-header"),onClick:_s,onKeyPress:_s,children:e.header},t);var n=a.props.selected&&a.props.selected.value===e.value,r=a.state.keyboardFocusedOptionIndex===a.getIndexWithoutHeadersForIndexWithHeaders(t),o=B(a.style("tw-dropdown-item"),a.style("tw-dropdown-item--clickable"),(h(o={},a.style("active"),n),h(o,a.style("tw-dropdown-item--focused"),r&&!e.disabled),h(o,a.style("disabled"),e.disabled),o));return H("li",{className:o,onClick:e.disabled?_s:a.createSelectHandlerForOption(e),onKeyPress:e.disabled?_s:a.createSelectHandlerForOption(e),children:H("a",{disabled:e.disabled,children:H(As,Ps(Ps({},e),{},{classNames:a.props.classNames}))})},t)}),a.state={open:!1,searchValue:"",keyboardFocusedOptionIndex:null,numberOfOptionsShown:js},a.searchBoxRef=M.createRef(),a.dropdownMenuRef=M.createRef(),a}return gl(n,[{key:"componentDidMount",value:function(){this.setState({shouldRenderWithPortal:Ms()}),window.addEventListener("resize",this.handleResize)}},{key:"componentWillUnmount",value:function(){this.close(),window.removeEventListener("resize",this.handleResize)}},{key:"getIndexWithoutHeadersForIndexWithHeaders",value:function(r){return this.getOptions().reduce(function(e,t,n){return n<r&&Rs(t)?e+1:e},0)}},{key:"selectKeyboardFocusedOption",value:function(){var e;null!==this.state.keyboardFocusedOptionIndex&&(e=this.state.keyboardFocusedOptionIndex,this.selectOption(this.getOptions().filter(Rs)[e]))}},{key:"moveFocusWithDifference",value:function(a){var i=this;this.setState(function(e,r){var t=i.getOptions(r.options).filter(Rs),n=t.reduce(function(e,t,n){return null!==e?e:r.selected&&r.selected.value===t.value?n:null},null),o=e.keyboardFocusedOptionIndex,e=o;return null===o&&null===n?{keyboardFocusedOptionIndex:0}:(null===o&&null!==n&&(e=n),{keyboardFocusedOptionIndex:(n=0,t=t.length-1,Math.max(Math.min(t,e+a),n))})})}},{key:"open",value:function(){var n=this;this.setState({open:!0},function(){var e="undefined"!=typeof window&&window.matchMedia&&!!window.matchMedia("(pointer: coarse)").matches,t=!!n.props.onSearchChange||!!n.props.search;Fs(function(){!e&&t&&n.searchBoxRef.current&&n.searchBoxRef.current.focus(),w(),document.addEventListener("click",n.handleDocumentClick,!1)})})}},{key:"close",value:function(){var e=this;this.setState({open:!1,keyboardFocusedOptionIndex:null},function(){Fs(function(){O(),document.removeEventListener("click",e.handleDocumentClick,!1)})})}},{key:"createSelectHandlerForOption",value:function(t){var n=this;return function(e){_s(e),n.selectOption(t)}}},{key:"selectOption",value:function(e){e&&!e.placeholder?this.props.onChange(e):this.props.onChange(null),this.close()}},{key:"renderOptionsList",value:function(){var e=this.props,t=e.dropdownRight,n=e.dropdownWidth,r=e.onSearchChange,o=e.placeholder,a=e.required,i=e.search,l=e.searchValue,s=e.searchPlaceholder,u=this.state.open,e=this.style,r=!!r||!!i,i=B(e("tw-select"),e("dropdown-menu"),(h(i={},e("dropdown-menu-".concat(t,"-right")),t),h(i,e("dropdown-menu-".concat(n)),n),h(i,e("dropdown-menu--open"),u),i));return W("ul",{className:i,children:[a||r||!o?"":this.renderPlaceHolderOption(),r&&H(ks,{ref:this.searchBoxRef,classNames:this.props.classNames,value:l||this.state.searchValue,placeholder:s,onChange:this.handleSearchChange,onClick:_s}),this.renderOptions(),this.state.numberOfOptionsShown<this.getOptions().length?this.renderShowMore():""]})}},{key:"renderOptions",value:function(){return this.getOptions().slice(0,this.state.numberOfOptionsShown).map(this.renderOption)}},{key:"renderShowMore",value:function(){return H("li",{className:B(this.style("tw-dropdown-item--clickable"),this.style("tw-dropdown-item--divider"),this.style("show-more")),onClick:this.showMore.bind(this),onKeyPress:this.showMore.bind(this),children:H("a",{children:"..."})})}},{key:"showMore",value:function(e){_s(e),this.setState(function(e){return{numberOfOptionsShown:e.numberOfOptionsShown+js}})}},{key:"renderPlaceHolderOption",value:function(){var e=this.props.placeholder;return H("li",{className:B(this.style("tw-dropdown-item--clickable"),this.style("tw-dropdown-item--divider")),onClick:this.createSelectHandlerForOption({placeholder:e}),onKeyPress:this.createSelectHandlerForOption({placeholder:e}),children:H("a",{children:e})})}},{key:"renderButtonInternals",value:function(){var e=this.props,t=e.selected,e=e.placeholder;return t?H(As,Ps(Ps({},t),{},{classNames:this.props.classNames,selected:!0})):H("span",{className:this.style("form-control-placeholder"),children:e})}},{key:"render",value:function(){var n=this,e=this.props,t=e.disabled,r=e.size,o=e.block,a=e.id,i=e.dropdownUp,l=e.inverse,s=this.state,u=s.open,c=s.shouldRenderWithPortal,e=this.style,i=B(e("tw-select"),e("btn-group"),(h(s={},e("btn-block"),o),h(s,e("dropup"),i),h(s,e("dropdown"),!i),s)),s=B(e("btn"),e("btn-input"),(h(s={},"".concat(e("btn-input-inverse")," ").concat(e("btn-addon")),l),h(s,e("btn-xs"),"xs"===r),h(s,e("btn-sm"),"sm"===r),h(s,e("btn-md"),"md"===r),h(s,e("btn-lg"),"lg"===r),s),e("dropdown-toggle")),p=e("open");return H(Y,{children:W("div",{ref:this.dropdownMenuRef,className:i,onKeyDown:this.handleKeyDown,onTouchMove:this.handleTouchStart,onFocus:this.handleOnFocus,onBlur:this.handleOnBlur,children:[W("button",{disabled:t,className:s,type:"button",id:a,"aria-expanded":u,onClick:this.handleButtonClick,children:[this.renderButtonInternals(),H(X,{disabled:t,className:"".concat(e("tw-icon")," ").concat(e("tw-chevron-up-icon")," ").concat(e("tw-chevron")," ").concat(e("bottom")," ").concat(e("tw-select-chevron"))})]}),c?H(vl,{open:u,children:H(Cl,{open:u,position:"bottom",children:this.renderOptionsList()})}):H(So,{in:u,timeout:200,onEntering:function(){var e,t;n.dropdownMenuRef.current&&(e=n.dropdownMenuRef.current,t=p,e&&(e.scrollTop,e.classList.add(t)))},onExit:function(){var e,t;n.dropdownMenuRef.current&&(e=n.dropdownMenuRef.current,t=p,e&&e.classList.remove(t))},children:function(e){return"exited"!==e&&n.renderOptionsList()}})]})})}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=!!e.options.length;if(t.open&&(""!==e.searchValue||""!==t.searchValue)){if(n&&null===t.keyboardFocusedOptionIndex)return{keyboardFocusedOptionIndex:0};if(!n&&null!==t.keyboardFocusedOptionIndex)return{keyboardFocusedOptionIndex:null}}return null}}]),n}(M.Component);qs.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},qs.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:"Search...",classNames:{},dropdownUp:!1};var zs=F.defineMessages({monthLabel:{id:"neptune.DateInput.month.label"},dayLabel:{id:"neptune.DateInput.day.label"},yearLabel:{id:"neptune.DateInput.year.label"}}),Vs=new Set(["en-US","ja-JP"]),Gs={year:null,month:null,day:null},G=function(e){function r(){return i&&gs(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=Gs;return i&&gs(i)&&(t=r(),n={year:(t=t).getFullYear(),month:t.getMonth(),day:t.getDate()},ys(t=i)&&t.split("-").length<3&&(n.day=null)),n[e]}function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:O,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:C,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=gs(r)?r:null)||P(Gs),p===_.DateMode.MONTH_YEAR?0<=t&&n&&(t!==C||n!==x)&&P(r):e&&0<=t&&n&&(e!==O||t!==C||n!==x)&&P(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=F.useIntl(),b=y.locale,v=y.formatMessage,w=M.useState(function(){return t("day")}),e=j(w,2),O=e[0],E=e[1],y=M.useState(function(){return t("month")}),w=j(y,2),C=w[0],T=w[1],e=M.useState(function(){return t("year")}),y=j(e,2),x=y[0],S=y[1],w=M.useState(r),e=j(w,2),D=e[0],A=e[1],l=l||v(zs.dayLabel),s=s||v(zs.monthLabel),u=u||v(zs.yearLabel),m={day:(null===m||void 0===m?void 0:m.day)||"DD",month:(null===m||void 0===m?void 0:m.month)||v(zs.monthLabel),year:(null===m||void 0===m?void 0:m.year)||"YYYY"},y=function(){var e=ms(b,c);return W("label",{children:[H("span",{className:"sr-only",children:s}),H(qs,{name:"month",className:"form-control",disabled:o,placeholder:m.month,options:k(),size:a,selected:null===C?null:{value:C,label:e[C]},onChange:function(e){return N(e)}})]})},k=function(){var n=[];return ms(b,c).forEach(function(e,t){n.push({value:t,label:e})}),n},N=function(e){if(!e)return T(null),void n(O,null,x);var t=e?e.value:0,e=L(O,t,x).checkedDay;T(t),O&&e!==O&&E(e),n(e,t,x)},P=function(e){e!==D&&(A(e),d(function(e){if(!gs(e))return"";switch(p){case _.DateMode.MONTH_YEAR:return[e.getFullYear(),"0".concat(e.getMonth()+1).slice(-2)].join("-");case _.DateMode.DAY_MONTH_YEAR:default:return[e.getFullYear(),"0".concat(e.getMonth()+1).slice(-2),"0".concat(e.getDate()).slice(-2)].join("-")}}(e)||null))},L=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===_.DateMode.MONTH_YEAR,e=B({"col-sm-8":w,"col-sm-5":!w}),v=Vs.has(b);return H("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:W("div",{className:"row",children:[v&&H("div",{className:e,children:y()}),!w&&H("div",{className:"col-sm-3",children:H("div",{className:"input-group-".concat(a),children:W("label",{children:[H("span",{className:"sr-only",children:l}),H("input",{type:"number",name:"day",className:"form-control",value:O||"",placeholder:m.day,disabled:o,onChange:function(e){e=L(e.target.value,C,x).checkedDay;E(e),n(e,C,x)}})]})})}),!v&&H("div",{className:e,children:y()}),H("div",{className:"col-sm-4",children:H("div",{className:"input-group-".concat(a),children:W("label",{children:[H("span",{className:"sr-only",children:u}),H("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=L(O,C,e).checkedDay,O&&e!==O&&E(e),S(t),n(e,C,t)):(S(t),n(O,C,null))}})]})})})]})})};G.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},G.defaultProps={disabled:!1,size:_.Size.MEDIUM,value:null,onFocus:null,onBlur:null,monthFormat:_.MonthFormat.LONG,mode:_.DateMode.DAY_MONTH_YEAR,id:""};function Hs(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,e=(u=F.useIntl()).locale,u=u.formatMessage;return W("button",{className:"btn btn-".concat(n," btn-input dropdown-toggle np-date-trigger np-date-trigger--").concat(n),disabled:i,type:"button",onClick:l,children:[o&&H("span",{className:"control-label small m-r-1",children:o}),H("span",t?{children:ps(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?H(ce,{className:"clear-btn d-flex align-items-center","aria-label":u(Ws.ariaLabel),size:n===_.Size.SMALL?16:24,filled:!0,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()},onKeyPress:function(e){(Fi({keyType:"Space",event:e})||Fi({keyType:"Enter",event:e}))&&(e.stopPropagation(),e.preventDefault(),s())}}):H(X,{orientation:_.Position.BOTTOM,disabled:i})]})}var Ws=F.defineMessages({ariaLabel:{id:"neptune.ClearButton.ariaLabel"}});Hs.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},Hs.defaultProps={selectedDate:null,size:_.Size.MEDIUM,onClear:void 0};function Ys(e){var t=e.label,n=e.onLabelClick,r=e.onPreviousClick,e=e.onNextClick;return W("div",{className:"text-xs-center p-t-1 p-b-2 clearfix",children:[H("div",{className:"pull-left-single-direction",children:H("button",{type:"button",className:Ks,onClick:r,children:H(X,{orientation:_.Position.LEFT,className:"left-single-direction",size:_.Size.MEDIUM})})}),t&&H("button",{type:"button",className:"tw-date-lookup-header-current ".concat(Ks),onClick:n,children:t}),H("div",{className:"pull-right-single-direction",children:H("button",{type:"button",className:Ks,onClick:e,children:H(X,{orientation:_.Position.RIGHT,className:"right-single-direction",size:_.Size.MEDIUM})})})]})}var Ks="btn-link p-a-0 text-no-decoration font-weight-bold";function Xs(e){return e?new Date(e.getFullYear(),e.getMonth(),e.getDate()):null}function Zs(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}Ys.propTypes={label:l.default.string,onLabelClick:l.default.func,onPreviousClick:l.default.func.isRequired,onNextClick:l.default.func.isRequired},Ys.defaultProps={label:null,onLabelClick:function(){}};var $s=function(e){Es(a,e);var o=Zs(a);function a(){var t;y(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)),h(ws(t),"onClick",function(e){e.preventDefault(),t.props.disabled||t.props.onClick(t.props.item)}),t}return gl(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 H(Y,{children:H("button",{type:"button",className:"tw-date-lookup-".concat(n,"-option ").concat(a?"active":""," ").concat(e?"today":""),disabled:i,"aria-label":o,onClick:this.onClick,children:r||t})})}}]),a}(M.PureComponent);function Js(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}$s.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},$s.defaultProps={title:null,longTitle:null};var Qs={day:"numeric"},ve=function(e){Es(o,e);var r=Js(o);function o(){var l;y(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)),h(ws(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}),h(ws(l),"days",ds(l.props.intl.locale,"short")),h(ws(l),"daysShort",ds(l.props.intl.locale,"narrow")),h(ws(l),"selectDay",function(e){var t=l.props,n=t.viewMonth,r=t.viewYear;(0,t.onSelect)(new Date(r,n,e))}),h(ws(l),"isDisabled",function(e){var t=l.props,n=t.min,r=t.max,o=t.viewMonth,t=t.viewYear;return!fs(new Date(t,o,e),n,r)}),h(ws(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 gl(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 W("table",{className:"table table-condensed table-bordered tw-date-lookup-calendar m-b-0",children:[H("thead",{children:H("tr",{children:this.days.map(function(e,t){return W("th",{className:"text-xs-center",children:[H("span",{className:"hidden-xs",children:e.slice(0,3)}),H("span",{className:"visible-xs-inline-block",children:n.daysShort[t].slice(0,2)})]},e)})})}),H("tbody",{children:e.map(function(e,t){return H("tr",{children:e.map(function(e,t){return H("td",{className:4<t?"default":"",children:e&&H($s,{item:e,type:"day",title:ps(new Date(o,r,e),a,Qs),longTitle:ps(new Date(o,r,e),a),active:n.isActive(e),disabled:n.isDisabled(e),today:+Xs(new Date)==+new Date(o,r,e),onClick:n.selectDay})},t)})},t)})})]})}}]),o}(M.PureComponent);ve.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},ve.defaultProps={selectedDate:null,min:null,max:null};var eu=F.injectIntl(ve);function tu(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}we=function(e){Es(a,e);var o=tu(a);function a(){var n;y(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)),h(ws(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})}),h(ws(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 gl(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 W("div",{children:[H(Ys,{label:ps(new Date(a,o),i,{month:l,year:"numeric"}),onLabelClick:s,onPreviousClick:this.selectPreviousMonth,onNextClick:this.selectNextMonth}),H(eu,{selectedDate:t,min:n,max:r,viewMonth:o,viewYear:a,onSelect:e})]})}}]),a}(M.PureComponent);we.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([_.MonthFormat.LONG,_.MonthFormat.SHORT]).isRequired,onSelect:l.default.func.isRequired,onLabelClick:l.default.func.isRequired,onViewDateUpdate:l.default.func.isRequired},we.defaultProps={selectedDate:null,min:null,max:null};function nu(e){var o=e.selectedDate,t=e.min,n=e.max,a=e.viewYear,r=e.placeholder,i=e.onSelect,l=F.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 W("table",{className:"table table-condensed table-bordered tw-date-lookup-calendar m-b-0",children:[H("thead",{className:"sr-only",children:H("tr",{children:H("th",{colSpan:"3",children:r})})}),H("tbody",{children:U(new Array(3)).map(function(e,r){return H("tr",{children:U(new Array(4)).map(function(e,t){return H("td",{children:H($s,{item:n=4*r+t,type:"month",title:ps(new Date(a,n),l,ou),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 ru=F.injectIntl(we),ou={month:"short"};function au(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}nu.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},nu.defaultProps={selectedDate:null,min:null,max:null};e=function(e){Es(a,e);var o=au(a);function a(){var t;y(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)),h(ws(t),"onMonthSelect",function(e){t.props.onViewDateUpdate({month:e}),t.props.onSelect()}),h(ws(t),"selectPreviousYear",function(){t.props.onViewDateUpdate({year:t.props.viewYear-1})}),h(ws(t),"selectNextYear",function(){t.props.onViewDateUpdate({year:t.props.viewYear+1})}),t}return gl(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 W("div",{children:[H(Ys,{label:ps(new Date(o,0),a,{year:"numeric"}),onLabelClick:e,onPreviousClick:this.selectPreviousYear,onNextClick:this.selectNextYear}),H(nu,{selectedDate:t,min:n,max:r,viewYear:o,placeholder:i,onSelect:this.onMonthSelect})]})}}]),a}(M.PureComponent);e.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},e.defaultProps={selectedDate:null,min:null,max:null};function iu(e){var o=e.selectedDate,a=e.min,i=e.max,t=e.viewYear,n=e.placeholder,l=e.onSelect,s=F.useIntl().locale,u=t-t%20;return W("table",{className:"table table-condensed table-bordered tw-date-lookup-calendar m-b-0",children:[H("thead",{className:"sr-only",children:H("tr",{children:H("th",{colSpan:"4",children:n})})}),H("tbody",{children:U(new Array(5)).map(function(e,r){return H("tr",{children:U(new Array(4)).map(function(e,t){return H("td",{children:H($s,{item:n=u+4*r+t,type:"year",title:ps(new Date(n,0),s,su),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 lu=F.injectIntl(e),su={year:"numeric"};function uu(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}iu.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},iu.defaultProps={selectedDate:null,min:null,max:null};var cu=function(e){Es(a,e);var o=uu(a);function a(){var t;y(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)),h(ws(t),"onYearSelect",function(e){t.props.onViewDateUpdate({year:e}),t.props.onSelect()}),h(ws(t),"selectPreviousYears",function(){t.props.onViewDateUpdate({year:t.props.viewYear-20})}),h(ws(t),"selectNextYears",function(){t.props.onViewDateUpdate({year:t.props.viewYear+20})}),t}return gl(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 W("div",{children:[H(Ys,{onPreviousClick:this.selectPreviousYears,onNextClick:this.selectNextYears}),H(iu,{selectedDate:t,min:n,max:r,viewYear:o,placeholder:e,onSelect:this.onYearSelect})]})}}]),a}(M.PureComponent);function pu(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}cu.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},cu.defaultProps={selectedDate:null,min:null,max:null};var du={DAY:"day",MONTH:"month",YEAR:"year"},xe=function(e){Es(n,e);var t=pu(n);function n(e){var s;return y(this,n),s=t.call(this,e),h(ws(s),"element",M.createRef()),h(ws(s),"dropdown",M.createRef()),h(ws(s),"getWindowSize",function(){return"undefined"!=typeof window&&window.innerWidth||"undefined"!=typeof document&&document.documentElement.clientWidth}),h(ws(s),"open",function(){var e=s.props.onFocus;s.setState({open:!0,mode:du.DAY,isMobile:s.getWindowSize()<=_.Breakpoint.SMALL},function(){s.adjustIfOffscreen(),s.focusOn(".tw-date-lookup-header-current")}),e&&e(),window.addEventListener("resize",s.resizeHandler),document.addEventListener("click",s.handleOutsideClick,!0)}),h(ws(s),"resizeHandler",function(){return s.setState({isMobile:s.getWindowSize()<=_.Breakpoint.SMALL},s.adjustIfOffscreen())}),h(ws(s),"adjustIfOffscreen",function(){var e,t,n;!s.state.isMobile&&s.open&&s.dropdown&&s.dropdown.current&&(t=(n=(e=s.dropdown.current).getBoundingClientRect()).right>s.getWindowSize(),n=n.left<0,t&&e.classList[n?"remove":"add"]("dropdown-menu-xs-right"))}),h(ws(s),"close",function(){var e=s.props.onBlur;s.setState({open:!1}),e&&e(),window.removeEventListener("resize",s.adjustIfOffscreen),document.removeEventListener("click",s.handleOutsideClick,!0)}),h(ws(s),"handleOutsideClick",function(e){var t=s.state.isMobile;!s.state.open||t||(t=s.element.current.querySelector(".dropdown-menu"))&&!t.contains(e.target)&&s.close()}),h(ws(s),"handleKeyDown",function(e){var t=s.state.open;switch(e.keyCode){case Ds.LEFT:t?s.adjustDate(-1,-1,-1):s.open(),e.preventDefault();break;case Ds.UP:t?s.adjustDate(-7,-4,-4):s.open(),e.preventDefault();break;case Ds.RIGHT:t?s.adjustDate(1,1,1):s.open(),e.preventDefault();break;case Ds.DOWN:t?s.adjustDate(7,4,4):s.open(),e.preventDefault();break;case Ds.ESCAPE:s.close(),e.preventDefault()}}),h(ws(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===du.YEAR?o.getFullYear()+n:o.getFullYear(),r===du.MONTH?o.getMonth()+t:o.getMonth(),r===du.DAY?o.getDate()+e:o.getDate()):Xs(new Date);+(e=hs(e,a,i))!=+o&&s.props.onChange(e)}),h(ws(s),"focusOn",function(e,t){e=s.element.current.querySelector(e);e?e.focus():t&&s.focusOn(t)}),h(ws(s),"switchMode",function(e){s.setState({mode:e},function(){s.focusOn(".active",".today")})}),h(ws(s),"switchToDays",function(){return s.switchMode(du.DAY)}),h(ws(s),"switchToMonths",function(){return s.switchMode(du.MONTH)}),h(ws(s),"switchToYears",function(){return s.switchMode(du.YEAR)}),h(ws(s),"handleSelectedDateUpdate",function(e){s.setState({selectedDate:e},function(){s.props.onChange(e),s.close(),s.focusOn(".btn")})}),h(ws(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})}),h(ws(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 W(Y,{children:[i===du.DAY&&H(ru,{selectedDate:t,min:n,max:r,viewMonth:o,viewYear:a,monthFormat:l,onSelect:s.handleSelectedDateUpdate,onLabelClick:s.switchToYears,onViewDateUpdate:s.handleViewDateUpdate}),i===du.MONTH&&H(lu,{selectedDate:t,min:n,max:r,viewYear:a,placeholder:e,onSelect:s.switchToDays,onLabelClick:s.switchToYears,onViewDateUpdate:s.handleViewDateUpdate}),i===du.YEAR&&H(cu,{selectedDate:t,min:n,max:r,viewYear:a,placeholder:e,onSelect:s.switchToMonths,onViewDateUpdate:s.handleViewDateUpdate})]})}),h(ws(s),"handleClear",function(){s.props.onChange(null),s.focusOn(".np-date-trigger")}),s.state={selectedDate:Xs(e.value),min:Xs(e.min),max:Xs(e.max),viewMonth:(e.value||new Date).getMonth(),viewYear:(e.value||new Date).getFullYear(),open:!1,mode:du.DAY,isMobile:!1},s}return gl(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=e.isMobile,o=this.props,a=o.size,i=o.placeholder,l=o.label,s=o.monthFormat,u=o.disabled,e=o.clearable,o=o.value;return W("div",{ref:this.element,className:"btn-group btn-block dropdown ".concat(n?"open":""),onKeyDown:this.handleKeyDown,children:[H(Hs,{selectedDate:t,size:a,placeholder:i,label:l,monthFormat:s,disabled:u,onClick:this.open,onClear:!u&&e&&o?this.handleClear:null}),r?H(Tl,{open:n,onClose:this.close,children:this.getCalendar()}):n&&H("div",{ref:this.dropdown,className:"dropdown-menu tw-date-lookup-menu",children:this.getCalendar()})]})}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=Xs(e.value),r=Xs(e.min),o=Xs(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(!fs(n,r,o))return e.onChange(hs(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}(M.PureComponent);function fu(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 hu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fu(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fu(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}xe.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},xe.defaultProps={min:null,max:null,size:_.Size.MEDIUM,placeholder:"",label:"",monthFormat:_.MonthFormat.LONG,disabled:!1,onFocus:null,onBlur:null,clearable:!1},(Le=_.DecisionPresentation||(_.DecisionPresentation={})).LIST="LIST",Le.LIST_BLOCK="LIST_BLOCK",Le.LIST_BLOCK_GRID="LIST_BLOCK_GRID",(_.DecisionType||(_.DecisionType={})).NAVIGATION="NAVIGATION";function mu(e){var t=e["aria-label"],n=e.as,r=e.media,o=e.href,a=e.target,i=e.title,l=e.content,s=e.onClick,u=e.complex,c=e.disabled,p=e.showMediaAtAllSizes,d=e.showMediaCircle,e=e.className,e={ariaLabel:t,as:n,media:r,href:o,target:a,title:i,content:l,complex:u,disabled:c,showMediaAtAllSizes:p,showMediaCircle:d,className:B("np-navigation-option",e)};return o&&(e.as="a"),H(Z,hu(hu({},e),{},{button:H(X,{orientation:_.Position.RIGHT,disabled:c,className:"d-block"}),onClick:function(e){c?e.preventDefault():s(e)}}))}mu.propTypes={"aria-label":l.default.string,as:l.default.string,media:l.default.node,title:l.default.node.isRequired,content:l.default.node,onClick:l.default.func,href:$(l.default.string,function(e){return"a"===e.as}),target:l.default.oneOf(["_self","_blank","_parent","_top"]),complex:l.default.bool,disabled:l.default.bool,showMediaAtAllSizes:l.default.bool,showMediaCircle:l.default.bool,className:l.default.string},mu.defaultProps={"aria-label":void 0,as:"button",media:null,content:null,complex:!1,onClick:null,href:void 0,target:void 0,disabled:!1,showMediaAtAllSizes:!1,showMediaCircle:!0,className:null};var gu={COLUMN:"COLUMN"},yu=M.forwardRef(function(e,t){var n=e.items,r=e.inline,e=M.useRef(null),t=tl({ref:t||e}),o=j(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)}),H("div",{ref:e,className:B("np-size-swapper",{"d-flex":!r,"d-inline-flex":r,"flex-column":t&&t.layout===gu.COLUMN,"flex-wrap":t&&t.wrap}),style:{visibility:o?"visible":"hidden"},children:t&&t.items})});yu.Breakpoint=_.Breakpoint,yu.Layout=gu,yu.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([yu.Layout.COLUMN]),wrap:l.default.bool})).isRequired},yu.defaultProps={inline:!1};function bu(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,e=e.title,s=s===_.Size.SMALL;return W("a",{className:B("decision","flex-column","np-tile","text-no-decoration","text-xs-center",t,{"p-y-5 p-x-4":!s,"np-tile--small p-a-2":s,disabled:r}),href:o,target:a,"aria-label":e,onClick:r?null:l,onKeyDown:r?null:function(e){e=e.key;e!==x.ENTER&&!x.SPACE.includes(e)||l()},children:[H("div",{className:"np-tile__media d-flex justify-content-center",children:i}),H("div",{className:"np-tile__title",children:e}),n&&H("div",{className:"np-tile__description",children:n})]})}bu.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},bu.defaultProps={className:"",description:null,disabled:!1,size:_.Size.MEDIUM,target:void 0};We=function(e){var t=e.options,n=e.presentation,r=e.type,u=e.showMediaCircleInList,o=e.size;if(r!==_.DecisionType.NAVIGATION)return H(Y,{});e=_.DecisionPresentation.LIST_BLOCK,r=_.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 H(mu,{complex:!1,content:r,disabled:o,href:a,target:i,media:l,showMediaAtAllSizes:!0,showMediaCircle:u,title:n,onClick:e},"nav-".concat(t))});var c=o===_.Size.SMALL,p=n===r,d=[{items:[],layout:yu.Layout.COLUMN},{items:[],breakpoint:c?_.Breakpoint.EXTRA_SMALL:_.Breakpoint.SMALL,wrap:p}];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;d[0].items.push(H(mu,{complex:!1,content:n,disabled:r,href:o,target:a,media:s,showMediaAtAllSizes:!0,showMediaCircle:u,title:e,onClick:i},"nav-".concat(t))),d[1].items.push(H(bu,{className:B("np-decision__tile".concat(c?"--small":""),{"np-decision__tile--fixed-width":p}),description:n,disabled:r,href:o,target:a,media:l,size:c?_.Size.SMALL:_.Size.MEDIUM,title:e,onClick:i},"tile-".concat(t)))}),H("div",{className:B("np-decision",{"np-decision--small":c,"np-decision--grid":p}),children:H(yu,{items:d})})};We.propTypes={options:l.default.arrayOf(l.default.shape({description:l.default.node,disabled:l.default.bool,href:$(l.default.string,function(e){return e.type===_.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.isRequired,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},We.defaultProps={presentation:_.DecisionPresentation.LIST,size:_.Size.MEDIUM,type:_.DecisionType.NAVIGATION,showMediaCircleInList:!0};function vu(e){var t=e.definitions,r=e.layout,e=e.muted;return H("dl",{className:B("tw-definition-list d-flex ",{"text-muted":e,"flex-column":r===_.Layout.VERTICAL_ONE_COLUMN,"tw-definition-list--columns flex-column flex-row--sm":r===_.Layout.VERTICAL_TWO_COLUMN,"tw-definition-list--horizontal flex-column":[_.Layout.HORIZONTAL_LEFT_ALIGNED,_.Layout.HORIZONTAL_RIGHT_ALIGNED,_.Layout.HORIZONTAL_JUSTIFIED].includes(r)}),children:t.filter(function(e){return e}).map(function(e){var t=e.title,n=e.value,e=e.key;return W("div",{className:"tw-definition-list__item",children:[H("dt",{children:t}),H("dd",{className:wu[r]||"",children:n})]},e)})})}var wu=(h(rt={},_.Layout.HORIZONTAL_RIGHT_ALIGNED,"text-sm-right"),h(rt,_.Layout.HORIZONTAL_JUSTIFIED,"text-sm-justify"),rt);vu.propTypes={definitions:l.default.arrayOf(l.default.shape({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},vu.defaultProps={definitions:[],layout:_.Layout.VERTICAL_TWO_COLUMN,muted:!1};function Ou(e){var t=e.children,n=e.className,r=e.footerContent,o=e.headerTitle,a=e.onClose,i=e.open,l=e.position;return fe("Drawer now expects `onClose`, and will soon make this prop required. Please update your usage to provide it.",!a),e=sl().isMobile,H(vl,{open:i,onClose:a,children:H(Cl,{open:i,position:e?_.Position.BOTTOM:l,children:W("div",{className:B("np-drawer",n),children:[W("div",{className:B("np-drawer-header",{"np-drawer-header--withborder":o}),children:[H(ce,{onClick:a}),o&&H("div",{className:"np-drawer-header--title title-3",children:o})]}),t&&H("div",{className:B("np-drawer-content"),children:t}),r&&H("div",{className:B("np-drawer-footer"),children:r})]})})})}Ou.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"])},Ou.defaultProps={children:null,className:void 0,footerContent:null,headerTitle:null,onClose:null,open:!1,position:_.Position.RIGHT};var Eu=function(e,t,n){e=Mu(e);return Au(e),Du(e),Pu(e),Lu(e,n),e},Cu=function(e){if(Array.isArray(e)){var t=[];return e.forEach(function(e){e.fields?t=t.concat(Tu(e,e.fields)):e.group?t=t.concat(Tu(e,e.group)):t.push(e)}),t}return e},Tu=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},xu=function(e){if(Array.isArray(e)){var n={};return e.forEach(function(e){var t=e.key||e.name;delete e.key,n[t]=Mu(e)}),n}return e},Su=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},Du=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=Ru(e))},Au=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=ku(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))},ku=function(e){return e.map(Nu)},Nu=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},Pu=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},Lu=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},Ru=function(e){if(e.control)return e.control.toLowerCase();if(e.hidden)return"hidden";if(e.values&&0<e.values.length)return _u(e);switch(e.type){case"string":return Iu(e.format);case"number":case"integer":return"number";case"boolean":return"checkbox";default:return"text"}},Iu=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"}},_u=function(e){return e.control||("select"===e.type||"radio"!==e.type&&(!e.values||3<e.values.length)?"select":"radio")},Mu=function(e){return JSON.parse(JSON.stringify(e))},Fu=9007199254740991,Uu="[object Arguments]",ju="[object Function]",Bu="[object GeneratorFunction]",qu="[object Map]",zu="[object Promise]",Vu="[object Set]",Gu="[object WeakMap]",Hu="[object DataView]",Wu=/^\[object .+?Constructor\]$/,Yu=/^(?:0|[1-9]\d*)$/,ot="object"==typeof n&&n&&n.Object===Object&&n,et="object"==typeof self&&self&&self.Object===Object&&self,at=ot||et||Function("return this")();function Ku(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 Xu,Zu,He=Function.prototype,$u=Object.prototype,ur=at["__core-js_shared__"],Ju=(De=/[^.]+$/.exec(ur&&ur.keys&&ur.keys.IE_PROTO||""))?"Symbol(src)_1."+De:"",Qu=He.toString,ec=$u.hasOwnProperty,tc=$u.toString,nc=RegExp("^"+Qu.call(ec).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rc=$u.propertyIsEnumerable,oc=(Xu=Object.keys,Zu=Object,function(e){return Xu(Zu(e))}),tr=fc(at,"DataView"),st=fc(at,"Map"),Uo=fc(at,"Promise"),Wt=fc(at,"Set"),Yt=fc(at,"WeakMap"),ac=mc(tr),ic=mc(st),lc=mc(Uo),sc=mc(Wt),uc=mc(Yt);function cc(e,t){var n,r,o,a,i=gc(e)||function(e){return function(e){return!!e&&"object"==typeof e}(e)&&yc(e)}(n=e)&&ec.call(n,"callee")&&(!rc.call(n,"callee")||tc.call(n)==Uu)?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&&!ec.call(e,r)||s&&("length"==r||(o=r,!!(a=null==(a=l)?Fu:a)&&("number"==typeof o||Yu.test(o))&&-1<o&&o%1==0&&o<a))||i.push(r);return i}function pc(e){var t;return vc(e)&&(t=e,!(Ju&&Ju in t))&&(bc(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?nc:Wu).test(mc(e))}function dc(e){if(n="function"==typeof(n=(t=e)&&t.constructor)&&n.prototype||$u,t!==n)return oc(e);var t,n,r,o=[];for(r in Object(e))ec.call(e,r)&&"constructor"!=r&&o.push(r);return o}function fc(e,t){t=t,t=null==(e=e)?void 0:e[t];return pc(t)?t:void 0}var hc=function(e){return tc.call(e)};function mc(e){if(null!=e){try{return Qu.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(tr&&hc(new tr(new ArrayBuffer(1)))!=Hu||st&&hc(new st)!=qu||Uo&&hc(Uo.resolve())!=zu||Wt&&hc(new Wt)!=Vu||Yt&&hc(new Yt)!=Gu)&&(hc=function(e){var t=tc.call(e),e="[object Object]"==t?e.constructor:void 0,e=e?mc(e):void 0;if(e)switch(e){case ac:return Hu;case ic:return qu;case lc:return zu;case sc:return Vu;case uc:return Gu}return t});var gc=Array.isArray;function yc(e){return null!=e&&("number"==typeof(t=e.length)&&-1<t&&t%1==0&&t<=Fu)&&!bc(e);var t}function bc(e){e=vc(e)?tc.call(e):"";return e==ju||e==Bu}function vc(e){var t=typeof e;return e&&("object"==t||"function"==t)}var wc,Oc=(wc=function(e){return(yc(e)?cc:dc)(e)},function(e){var t,n,r,o,a,i=hc(e);return i==qu?(t=e,n=-1,r=Array(t.size),t.forEach(function(e,t){r[++n]=[t,e]}),r):i==Vu?(i=e,o=-1,a=Array(i.size),i.forEach(function(e){a[++o]=[e,e]}),a):Ku(e,wc(e))}),Ec=function(e,t){for(var n=0;Cc(e,t+n);)n+=1;return n},Cc=function(e,t){return e[t]&&"*"!==e[t]},Tc=function(e){var t=e.field,n=e.value,r=F.useIntl().locale,o=[];switch(t.tagClassName&&t.tagClassName.h3&&(o.push("title-3"),o.push("formatted-value__h3-custom-alignment")),t.control){case"select":case"radio":return H("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 H("span",{children:ps(n instanceof Date?n:new Date(n),r)});case"number":return H("span",{children:rs(n,r)});case"password":return H("span",{children:new Array(n.length+1).join("*")});case"file":return H("div",{className:"thumbnail",children:H("img",{alt:t.title,src:n})});case"checkbox":return H("span",{children:JSON.stringify(n)});default:return H("span",{className:B(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;)Cc(n,i)?(r+=n[i],o+=1):(r+=e[i-o],--a),i+=1;t=Ec(n,i);return t&&(r+=n.slice(i,t)),r}(n,t.displayFormat)})}};function xc(e,i){return Oc(e).map(function(e){var n,r,t=j(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 H(Tc,{field:e,value:r[n]},t)}):H(Tc,{field:e,value:r[n]}),key:n}:null}).filter(function(e){return!!e})}Tc.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};pt=function(e){var t=e.model,n=e.title,r=e.layout,e=e.fields;return W(Y,{children:[n&&H("div",{className:"m-t-1",children:H("div",{className:"p-t-3 title-4",children:n})}),H(vu,{layout:r,definitions:xc(function(e,t,n){if(!e)return{};var r=Mu(e),r=Cu(r);return r=xu(r),r=Su(r),Object.keys(r).forEach(function(e){r[e]=Eu(r[e],t,n)}),r}(e),t)})]})};pt.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"])},pt.defaultProps={title:null,layout:_.Layout.VERTICAL_TWO_COLUMN};var Sc="&lt;",Dc="&gt;",Ac=new(function(){function t(e){y(this,t),h(this,"tags",void 0),this.tags=(e||[]).map(function(e){return{transformed:{opening:'<em class="emphasis emphasis--'.concat(e,'">'),closing:"</em>"},escapedRegex:{opening:new RegExp("".concat(Sc).concat(e).concat(Dc),"g"),closing:new RegExp("".concat(Sc,"/").concat(e).concat(Dc),"g")}}})}return gl(t,[{key:"transform",value:function(e){if(!e)return null;e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");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"]),kc=M.forwardRef(function(e,t){var n=e.bottomContent,r=e.className,o=e.layout,a=e.leftContent,e=e.rightContent,o=o===_.Layout.VERTICAL;return W("div",{ref:t,className:B("np-flow-header","d-flex","flex-wrap",r),children:[H("div",{className:B("align-items-center","np-flow-header__left","d-flex",{"flex__item--8":o}),children:a}),H("div",{className:B("align-items-center","d-flex","np-flow-header__right","justify-content-end",{"flex__item--4 ":o,"order-2":!o}),children:e}),H("div",{className:B("align-items-center","d-flex","justify-content-center",{"flex__item--12":o,"order-1 flex-grow-1":!o}),children:n})]})});kc.defaultProps={bottomContent:void 0,className:void 0,layout:_.Layout.HORIZONTAL,leftContent:void 0,rightContent:void 0},kc.propTypes={bottomContent:l.default.node,className:l.default.string,layout:l.default.oneOf(["HORIZONTAL","VERTICAL"]),leftContent:l.default.node,rightContent:l.default.node},(Hn=_.LogoType||(_.LogoType={})).WISE="WISE",Hn.WISE_BUSINESS="WISE_BUSINESS";var Nc={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"},Kn=function(e){var t=e.className,n=e.inverse,r=e.type,e=tl({ref:E()?void 0:window}),n=j(e,1)[0]<_.Breakpoint.SMALL?Nc.WISE_FLAG:Nc["".concat(r).concat(n?"_INVERSE":"")];return H("img",{className:B("np-logo",t),alt:r===_.LogoType.WISE?"Wise":"Wise business",src:"".concat("https://wise.com/public-resources/assets/logos/wise/").concat(n)})};Kn.propTypes={className:l.default.string,inverse:l.default.bool,type:l.default.oneOf(["WISE","WISE_BUSINESS"])},Kn.defaultProps={className:void 0,inverse:!1,type:_.LogoType.WISE};function Pc(e){return e.reduce(function(e,t){var n=t[0],t=t[1];return e[n]=t,e},{})}var Lc="undefined"!=typeof window&&window.document&&window.document.createElement?M.useLayoutEffect:M.useEffect,Rc="top",Ic="bottom",_c="right",Mc="left",Fc="auto",Uc=[Rc,Ic,_c,Mc],jc="start",Bc="end",qc="clippingParents",zc="viewport",Vc="popper",Gc="reference",Hc=Uc.reduce(function(e,t){return e.concat([t+"-"+jc,t+"-"+Bc])},[]),Wc=[].concat(Uc,[Fc]).reduce(function(e,t){return e.concat([t,t+"-"+jc,t+"-"+Bc])},[]),Yc=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Kc(e){return e?(e.nodeName||"").toLowerCase():null}function Xc(e){if(null==e)return window;if("[object Window]"===e.toString())return e;e=e.ownerDocument;return e&&e.defaultView||window}function Zc(e){return e instanceof Xc(e).Element||e instanceof Element}function $c(e){return e instanceof Xc(e).HTMLElement||e instanceof HTMLElement}function Jc(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Xc(e).ShadowRoot||e instanceof ShadowRoot)}function Qc(e){return e.split("-")[0]}function ep(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 tp(e){var t=ep(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 np(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Jc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0}while(r=r.parentNode||r.host)}return!1}function rp(e){return Xc(e).getComputedStyle(e)}function op(e){return((Zc(e)?e.ownerDocument:e.document)||window.document).documentElement}function ap(e){return"html"===Kc(e)?e:e.assignedSlot||e.parentNode||(Jc(e)?e.host:null)||op(e)}function ip(e){return $c(e)&&"fixed"!==rp(e).position?e.offsetParent:null}function lp(e){for(var t,n=Xc(e),r=ip(e);r&&(t=r,0<=["table","td","th"].indexOf(Kc(t)))&&"static"===rp(r).position;)r=ip(r);return(!r||"html"!==Kc(r)&&("body"!==Kc(r)||"static"!==rp(r).position))&&(r||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&$c(e)&&"fixed"===rp(e).position)return null;for(var r=ap(e);$c(r)&&["html","body"].indexOf(Kc(r))<0;){var o=rp(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 sp(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}var up=Math.max,cp=Math.min,pp=Math.round;function dp(e,t,n){return up(e,cp(t,n))}function fp(){return{top:0,right:0,bottom:0,left:0}}function hp(e){return Object.assign({},fp(),e)}function mp(n,e){return e.reduce(function(e,t){return e[t]=n,e},{})}var gp={top:"auto",right:"auto",bottom:"auto",left:"auto"};function yp(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:pp(pp(f*m)/m)||0,y:pp(pp(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=Mc,s=Rc,c=window;l&&(u="clientHeight",d="clientWidth",(o=lp(t))===Xc(t)&&"static"!==rp(o=op(t)).position&&(u="scrollHeight",d="scrollWidth"),r===Rc&&(s=Ic,e-=o[u]-n.height,e*=i?1:-1),r===Mc&&(m=_c,p-=o[d]-n.width,p*=i?1:-1));var l=Object.assign({position:a},l&&gp);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 bp={passive:!0};var vp={left:"right",right:"left",bottom:"top",top:"bottom"};function wp(e){return e.replace(/left|right|bottom|top/g,function(e){return vp[e]})}var Op={start:"end",end:"start"};function Ep(e){return e.replace(/start|end/g,function(e){return Op[e]})}function Cp(e){e=Xc(e);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Tp(e){return ep(op(e)).left+Cp(e).scrollLeft}function xp(e){var t=rp(e),n=t.overflow,e=t.overflowX,t=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+t+e)}function Sp(e,t){void 0===t&&(t=[]);var n=function e(t){return 0<=["html","body","#document"].indexOf(Kc(t))?t.ownerDocument.body:$c(t)&&xp(t)?t:e(ap(t))}(e),e=n===(null==(r=e.ownerDocument)?void 0:r.body),r=Xc(n),n=e?[r].concat(r.visualViewport||[],xp(n)?n:[]):n,t=t.concat(n);return e?t:t.concat(Sp(ap(n)))}function Dp(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ap(e,t){return t===zc?Dp((a=Xc(o=e),i=op(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+Tp(o),y:i})):$c(t)?((r=ep(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):Dp((o=op(e),i=op(o),t=Cp(o),r=null==(n=o.ownerDocument)?void 0:n.body,e=up(i.scrollWidth,i.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),n=up(i.scrollHeight,i.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),o=-t.scrollLeft+Tp(o),t=-t.scrollTop,"rtl"===rp(r||i).direction&&(o+=up(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 kp(n,e,t){var r,o,a,e="clippingParents"===e?(o=Sp(ap(r=n)),Zc(a=0<=["absolute","fixed"].indexOf(rp(r).position)&&$c(r)?lp(r):r)?o.filter(function(e){return Zc(e)&&np(e,a)&&"body"!==Kc(e)}):[]):[].concat(e),e=[].concat(e,[t]),t=e[0],t=e.reduce(function(e,t){t=Ap(n,t);return e.top=up(t.top,e.top),e.right=cp(t.right,e.right),e.bottom=cp(t.bottom,e.bottom),e.left=up(t.left,e.left),e},Ap(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 Np(e){return e.split("-")[1]}function Pp(e){var t,n=e.reference,r=e.element,o=e.placement,e=o?Qc(o):null,o=o?Np(o):null,a=n.x+n.width/2-r.width/2,i=n.y+n.height/2-r.height/2;switch(e){case Rc:t={x:a,y:n.y-r.height};break;case Ic:t={x:a,y:n.y+n.height};break;case _c:t={x:n.x+n.width,y:i};break;case Mc:t={x:n.x-r.width,y:i};break;default:t={x:n.x,y:n.y}}var l=e?sp(e):null;if(null!=l){var s="y"===l?"height":"width";switch(o){case jc:t[l]=t[l]-(n[s]/2-r[s]/2);break;case Bc:t[l]=t[l]+(n[s]/2-r[s]/2)}}return t}function Lp(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?qc:i,s=n.rootBoundary,u=void 0===s?zc:s,t=n.elementContext,o=void 0===t?Vc:t,i=n.altBoundary,s=void 0!==i&&i,t=n.padding,i=void 0===t?0:t,n=hp("number"!=typeof i?i:mp(i,Uc)),t=e.elements.reference,i=e.rects.popper,s=e.elements[s?o===Vc?Gc:Vc:o],l=kp(Zc(s)?s:s.contextElement||op(e.elements.popper),l,u),u=ep(t),t=Pp({reference:u,element:i,strategy:"absolute",placement:a}),t=Dp(Object.assign({},i,t)),u=o===Vc?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===Vc&&e&&(r=e[a],Object.keys(c).forEach(function(e){var t=0<=[_c,Ic].indexOf(e)?1:-1,n=0<=[Rc,Ic].indexOf(e)?"y":"x";c[e]+=r[n]*t})),c}function Rp(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 Ip(t){return[Rc,_c,Ic,Mc].some(function(e){return 0<=t[e]})}function _p(e,t,n){void 0===n&&(n=!1);var r=op(t),o=ep(e),a=$c(t),i={scrollLeft:0,scrollTop:0},e={x:0,y:0};return!a&&(a||n)||("body"===Kc(t)&&!xp(r)||(i=(n=t)!==Xc(n)&&$c(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:Cp(n)),$c(t)?((e=ep(t)).x+=t.clientLeft,e.y+=t.clientTop):r&&(e.x=Tp(r))),{x:o.left+i.scrollLeft-e.x,y:o.top+i.scrollTop-e.y,width:o.width,height:o.height}}function Mp(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 Fp(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 Up='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',jp='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',Bp=["name","enabled","phase","fn","effect","requires","options"];var qp="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",zp={placement:"bottom",modifiers:[],strategy:"absolute"};function Vp(){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 Gp(e){var t=e=void 0===e?{}:e,e=t.defaultModifiers,f=void 0===e?[]:e,t=t.defaultOptions,h=void 0===t?zp:t;return function(i,l,t){void 0===t&&(t=h);var n,r,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},zp,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:Zc(i)?Sp(i):i.contextElement?Sp(i.contextElement):[],popper:Sp(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=Mp(e),Yc.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(Fp(Up,String(n.name),'"name"','"string"','"'+String(n.name)+'"'));break;case"enabled":"boolean"!=typeof n.enabled&&console.error(Fp(Up,n.name,'"enabled"','"boolean"','"'+String(n.enabled)+'"'));case"phase":Yc.indexOf(n.phase)<0&&console.error(Fp(Up,n.name,'"phase"',"either "+Yc.join(", "),'"'+String(n.phase)+'"'));break;case"fn":"function"!=typeof n.fn&&console.error(Fp(Up,n.name,'"fn"','"function"','"'+String(n.fn)+'"'));break;case"effect":"function"!=typeof n.effect&&console.error(Fp(Up,n.name,'"effect"','"function"','"'+String(n.fn)+'"'));break;case"requires":Array.isArray(n.requires)||console.error(Fp(Up,n.name,'"requires"','"array"','"'+String(n.requires)+'"'));break;case"requiresIfExists":Array.isArray(n.requiresIfExists)||console.error(Fp(Up,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 '+Bp.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(Fp(jp,String(n.name),t,t))})})}),Qc(s.options.placement)===Fc&&(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=rp(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(Vp(t,e)){s.rects={reference:_p(t,lp(e),"fixed"===s.options.strategy),popper:tp(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(qp)}},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 Vp(i,l)?p.setOptions(t).then(function(e){!c&&t.onFirstUpdate&&t.onFirstUpdate(e)}):"production"!==process.env.NODE_ENV&&console.error(qp),p;function d(){u.forEach(function(e){return e()}),u=[]}}}var Hp=Gp({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=Xc(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach(function(e){e.addEventListener("scroll",n.update,bp)}),a&&i.addEventListener("resize",n.update,bp),function(){o&&l.forEach(function(e){e.removeEventListener("scroll",n.update,bp)}),a&&i.removeEventListener("resize",n.update,bp)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,e=e.name;t.modifiersData[e]=Pp({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=rp(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:Qc(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:e},null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,yp(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,yp(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];$c(r)&&Kc(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},{});$c(t)&&Kc(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=Wc.reduce(function(e,t){var n,r,o,a;return e[t]=(n=t,r=i.rects,o=l,a=Qc(n),t=0<=[Mc,Rc].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<=[Mc,_c].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=Qc(e),t=o||(t===e||!p?[wp(e)]:function(e){if(Qc(e)===Fc)return[];var t=wp(e);return[Ep(e),t,Ep(t)]}(e)),f=[e].concat(t).reduce(function(e,t){return e.concat(Qc(t)===Fc?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)?Wc:t,s=Np(r),r=s?e?Hc:Hc.filter(function(e){return Np(e)===s}):Uc;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]=Lp(n,{placement:t,boundary:o,rootBoundary:a,padding:i})[Qc(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 w=f[v],O=Qc(w),E=Np(w)===jc,C=0<=[Rc,Ic].indexOf(O),T=C?"width":"height",x=Lp(n,{placement:w,boundary:s,rootBoundary:u,altBoundary:c,padding:l}),C=C?E?_c:Mc:E?Ic:Rc;h[T]>m[T]&&(C=wp(C));E=wp(C),T=[];if(a&&T.push(x[O]<=0),i&&T.push(x[C]<=0,x[E]<=0),T.every(function(e){return e})){b=w,y=!1;break}g.set(w,T)}if(y)for(var S=p?3:1;0<S;S--)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"}(S))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!==(C=n.altAxis)&&C,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=Lp(t,{boundary:i,rootBoundary:l,padding:u,altBoundary:s}),m=Qc(t.placement),g=Np(t.placement),y=!g,b=sp(m),v="x"===b?"y":"x",w=t.modifiersData.popperOffsets,O=t.rects.reference,e=t.rects.popper,E="function"==typeof f?f(Object.assign({},t.rects,{placement:t.placement})):f,C={x:0,y:0};w&&((o||a)&&(c="y"===b?"height":"width",n=w[b],i=w[b]+h[d="y"===b?Rc:Mc],u=w[b]-h[l="y"===b?Ic:_c],s=p?-e[c]/2:0,m=(g===jc?O:e)[c],f=g===jc?-e[c]:-O[c],g=t.elements.arrow,e=p&&g?tp(g):{width:0,height:0},d=(g=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:fp())[d],l=g[l],e=dp(0,O[c],e[c]),d=y?O[c]/2-s-e-d-E:m-e-d-E,e=y?-O[c]/2+s+e+l+E:f+e+l+E,E=(l=t.elements.arrow&&lp(t.elements.arrow))?"y"===b?l.clientTop||0:l.clientLeft||0:0,l=t.modifiersData.offset?t.modifiersData.offset[t.placement][b]:0,E=w[b]+d-l-E,l=w[b]+e-l,o&&(u=dp(p?cp(i,E):i,n,p?up(u,l):u),w[b]=u,C[b]=u-n),a&&(a=(n=w[v])+h["x"===b?Rc:Mc],b=n-h["x"===b?Ic:_c],b=dp(p?cp(a,E):a,n,p?up(b,l):b),w[v]=b,C[v]=b-n)),t.modifiersData[r]=C)},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=Qc(r.placement),u=sp(s),c=0<=[Mc,_c].indexOf(s)?"height":"width";i&&l&&(t=a.padding,n=r,e=hp("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:mp(t,Uc)),s=tp(i),a="y"===u?Rc:Mc,n="y"===u?Ic:_c,t=r.rects.reference[c]+r.rects.reference[u]-l[u]-r.rects.popper[c],l=l[u]-r.rects.reference[u],i=(i=lp(i))?"y"===u?i.clientHeight||0:i.clientWidth||0:0,a=e[a],n=i-s[c]-e[n],n=dp(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&&($c(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(" "))),np(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=Lp(t,{elementContext:"reference"}),e=Lp(t,{altBoundary:!0}),r=Rp(i,r),e=Rp(e,o,a),o=Ip(r),a=Ip(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})}}]}),Wp="undefined"!=typeof Element,Yp="function"==typeof Map,Kp="function"==typeof Set,Xp="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function Zp(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(Yp&&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(Kp&&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(Xp&&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(Wp&&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 $p(t,n,r){void 0===r&&(r={});var o=M.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||Jp},e=M.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"}},attributes:{}}),i=e[0],l=e[1],s=M.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,e=Object.keys(t.elements);l({styles:Pc(e.map(function(e){return[e,t.styles[e]||{}]})),attributes:Pc(e.map(function(e){return[e,t.attributes[e]]}))})},requires:["computeStyles"]}},[]),u=M.useMemo(function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[s,{name:"applyStyles",enabled:!1}])};return Zp(o.current,e)?o.current||e:o.current=e},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,s]),c=M.useRef();return Lc(function(){c.current&&c.current.setOptions(u)},[u]),Lc(function(){if(null!=t&&null!=n){var e=(r.createPopper||Hp)(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 Jp=[];function Qp(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 ed(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Qp(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Qp(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function td(e){var t=void 0===(u=e.position)?_.Position.TOP:u,n=void 0===(p=e.children)?void 0:p,r=e.label,o=e.className,a=M.useState(!1),i=(c=j(a,2))[0],l=c[1],s=M.useRef(null),u=M.useState(null),e=(p=j(u,2))[0],a=p[1],c=M.useState(null),p=(u=j(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:_.Position.TOP}});var t=(p=$p(s.current,p,{placement:t,modifiers:u})).styles,u=p.attributes,d=p.forceUpdate;return M.useEffect(function(){i&&d&&d()},[i]),W(Y,{children:[H("span",{ref:s,className:"d-inline-block",children:n?M.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?H("div",ed(ed({ref:c,className:B("np-tooltip","np-panel","np-panel--open","bg-screen",o),style:ed({},t.popper)},u.popper),{},{children:W("div",{className:"np-panel__content tooltip-inner",children:[r,H("div",{ref:a,className:B("np-panel__arrow"),style:t.arrow})]})})):null]})}function nd(){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 rd(e){var t=e.steps,n=e.activeStep,r=e.className,a=il().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 W("div",{className:B("tw-stepper",r),children:[W("div",{className:"progress",children:[H("div",{className:"progress-bar-filler",style:{width:"".concat(100*o,"%")}}),H("div",{className:"progress-bar-ending",style:{width:"".concat(100*n,"%")}})]}),H("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?H("button",{type:"button",className:"btn-unstyled tw-stepper__step-label",onClick:function(){return r&&e.onClick()},children:H("small",{children:e.label})}):H("small",{className:"tw-stepper__step-label",children:e.label});return H("li",{className:"\n hidden-xs\n tw-stepper__step\n ".concat(n?"tw-stepper__step--active":"","\n ").concat(r?"tw-stepper__step--clickable":"","\n "),style:a?{right:"".concat(t*l*100,"%")}:{left:"".concat(t*l*100,"%")},children:e.hoverLabel&&!nd()?H(td,{position:_.Position.BOTTOM,label:e.hoverLabel,children:o}):o},t)})})]})}rd.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},rd.defaultProps={activeStep:0,className:void 0};function od(e){var r=e.activeLabel,t=e.className,o=(e=e.labels).length-1;return H("div",{className:B("np-animated-label",t),children:e.map(function(e,t){var n=t-1;return H("div",{className:B("text-xs-left",{"np-animated-label--in":t===r,"np-animated-label--out":n===r&&n!=o}),children:e},n)})})}od.propTypes={activeLabel:l.default.number.isRequired,className:l.default.string,labels:l.default.arrayOf(l.default.node).isRequired},od.defaultProps={className:void 0};function ad(e){var t=e.label,n=e.className,e=e.onClick;return W("button",{type:"button",className:B("np-back-button","align-items-center","btn-unstyled",n),onClick:e,children:[H(T.ArrowLeft,{size:24}),t]})}ad.propTypes={className:l.default.string,label:l.default.element,onClick:l.default.func.isRequired};var id={"np-flow-navigation--sm":_.Breakpoint.SMALL,"np-flow-navigation--lg":_.Breakpoint.LARGE},Fl=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=M.useRef(null),e=tl({ref:s}),u=j(e,1)[0],e=o&&H(ce,{onClick:o}),o=u<_.Breakpoint.SMALL,n=i?null:n;return H("div",{ref:s,className:B("np-flow-navigation d-flex align-items-center justify-content-center p-y-3",{"np-flow-navigation--border-bottom":!i}),children:H(kc,{className:B("np-flow-navigation__content p-x-3",{"np-flow-navigation--hidden":!u,"np-flow-navigation--xs-max":o},Object.keys(id).filter(function(e){return id[e]<=u})),leftContent:o?H(Y,{children:a&&0<t?H(ad,{label:H(od,{className:"m-x-1",labels:l.map(function(e){return e.label}),activeLabel:t-1}),onClick:a}):r}):r,rightContent:W(Y,{children:[n,n&&e&&H("span",{className:"separator"}),e]}),bottomContent:!i&&H(rd,{activeStep:t,steps:l,className:B("np-flow-navigation__stepper")}),layout:u<_.Breakpoint.LARGE?_.Layout.VERTICAL:_.Layout.HORIZONTAL})})};Fl.defaultProps={activeStep:0,avatar:void 0,logo:H(Kn,{}),onGoBack:void 0,onClose:void 0,done:!(ad.defaultProps={className:void 0,label:void 0})},Fl.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 ld(e){var t=e.className,n=e.children,r=e.href,o=e.target,a=e["aria-label"],e="_blank"===o;return W("a",{href:r,target:o,className:B("np-link d-inline-flex",t),"aria-label":a,rel:e?"noreferrer":void 0,children:[n,e&&H(T.NavigateAway,{className:"m-l-05"})]})}function sd(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 ud(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?sd(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):sd(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function cd(e){var t=e.action,e={"aria-label":t["aria-label"],className:"np-header__action"};return"href"in t?H(ld,ud(ud({href:t.href,target:t.target},e),{},{children:t.text})):H(_l,ud(ud({priority:_.Priority.TERTIARY,onClick:t.onClick},e),{},{children:t.text}))}Ae=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=M.useRef(),e=ll({elRef:c,loading:l}),e=j(e,1)[0],n=n,o=o;return"lazy"!==l||e||(n="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",o=null),H("img",{ref:c,id:t,alt:r,src:n,className:B(["tw-image",{"tw-image__stretch":s,"tw-image__shrink":u},i]),onLoad:o,onError:a})};Ae.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},Ae.defaultProps={id:null,className:"",onLoad:function(){},onError:function(){},loading:"eager",stretch:!0,shrink:!0},(ve=_.InfoPresentation||(_.InfoPresentation={})).POPOVER="POPOVER",ve.MODAL="MODAL";var pd=["title","body","footer","onClose","className","open","size","scroll","position"];function dd(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 fd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?dd(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):dd(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function hd(e){var t=void 0===(d=e.title)?null:d,n=e.body,r=void 0===(u=e.footer)?null:u,o=e.onClose,a=e.className,i=e.open,l=void 0===(c=e.size)?_.Size.MEDIUM:c,s=void 0===(p=e.scroll)?_.Scroll.VIEWPORT:p,u=void 0===(d=e.position)?_.Position.CENTER:d,c=ne(e,pd),p=function(e){return null==a?void 0:a.split(" ").includes(e)},d=sl().isMobile,e=p("compact"),p=p("no-divider");return d?H(Ou,{open:i,headerTitle:t,footerContent:r,position:_.Position.BOTTOM,onClose:o,children:n}):H(vl,{open:i,scrollable:s===_.Scroll.VIEWPORT,className:B("d-flex","justify-content-center"),onClose:o,children:H(No,{appear:!0,in:i,classNames:{enterDone:"in"},timeout:150,unmountOnExit:!0,children:H("div",fd(fd({className:B("tw-modal","d-flex","fade","outline-none",a,{"align-self-center":u===_.Position.CENTER,"tw-modal--scrollable":s===_.Scroll.CONTENT})},c),{},{children:H("div",{className:B("tw-modal-dialog","d-flex",h({},"tw-modal-".concat(l),l)),"aria-modal":!0,role:"dialog",children:W("div",{className:B("tw-modal-content","d-flex","flex-column","justify-content-between",{"tw-modal-compact":e,"tw-modal-no-title":!t}),children:[W("div",{className:B("tw-modal-header","d-flex","align-items-center","justify-content-between","flex-wrap",{"modal--withoutborder":!t||p}),children:[H("h4",{className:"tw-modal-title",children:t}),H(ce,{onClick:o})]}),H("div",{className:B("tw-modal-body",{"tw-modal-body--scrollable":s===_.Scroll.CONTENT}),children:n}),r&&H("div",{className:B("tw-modal-footer","d-flex","align-items-center","flex-wrap",{"modal--withoutborder":p}),children:r})]})})}))})})}function md(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 gd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?md(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):md(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var yd=[0,16],bd=(h(we={},_.Position.TOP,[_.Position.BOTTOM,_.Position.RIGHT,_.Position.LEFT]),h(we,_.Position.BOTTOM,[_.Position.TOP,_.Position.RIGHT,_.Position.LEFT]),h(we,_.Position.LEFT,[_.Position.RIGHT,_.Position.TOP,_.Position.BOTTOM]),h(we,_.Position.RIGHT,[_.Position.LEFT,_.Position.TOP,_.Position.BOTTOM]),we),vd=M.forwardRef(function(e,t){var n=e.arrow,r=e.children,o=e.className,a=e.open,i=e.onClose,l=e.position,s=e.anchorRef,u=M.useState(null),c=j(u,2),p=c[0],d=c[1],e=M.useState(null),u=j(e,2),c=u[0],e=u[1],u=[];n&&(u.push({name:"arrow",options:{element:p,options:{padding:8}}}),u.push({name:"offset",options:{offset:yd}})),bd[l]&&u.push({name:"flip",options:{fallbackPlacements:bd[l]}});var c=$p(s.current,c,{placement:l,modifiers:u}),l=c.styles,u=c.attributes,f=c.forceUpdate;return M.useEffect(function(){a&&f&&f()},[a]),H(vl,{open:a,transparent:!0,fadeContentOnEnter:!0,fadeContentOnExit:!0,onClose:i,children:H("div",gd(gd({ref:e,style:gd({},l.popper)},u.popper),{},{className:B("np-panel",{"np-panel--open":a},o),children:W("div",{ref:t,className:B("np-panel__content"),children:[r,n&&H("div",{ref:d,className:B("np-panel__arrow"),style:l.arrow})]})}))})});vd.Position={BOTTOM:_.Position.BOTTOM,LEFT:_.Position.LEFT,RIGHT:_.Position.RIGHT,TOP:_.Position.TOP},vd.defaultProps={arrow:!1,className:void 0,open:!1,position:vd.Position.TOP},vd.propTypes={arrow:l.default.bool,className:l.default.string,children:l.default.node.isRequired,open:l.default.bool,onClose:l.default.func.isRequired,position:l.default.oneOf([vd.Position.BOTTOM,vd.Position.LEFT,vd.Position.RIGHT,vd.Position.TOP]),anchorRef:l.default.shape({current:l.default.any}).isRequired};function wd(e){var t=e.anchorRef,n=e.arrow,r=e.children,o=e.className,a=e.onClose,i=e.open,l=e.position,e="undefined"==typeof window?void 0:window,e=tl({ref:e});return j(e,1)[0]>=_.Breakpoint.SMALL?H(vd,{arrow:n,open:i,position:l,anchorRef:t,className:o,onClose:a,children:r},"panel"):H(Tl,{open:i,className:o,onClose:a,children:r},"bottomSheet")}wd.defaultProps={arrow:!1,className:void 0,open:!1,position:_.Position.TOP},wd.propTypes={arrow:l.default.bool,children:l.default.node.isRequired,className:l.default.string,onClose:l.default.func.isRequired,open:l.default.bool,anchorRef:l.default.shape({current:l.default.shape({})}).isRequired,position:l.default.oneOf(["top","right","left","bottom"])};function Od(e){var t=e.children,n=e.className,r=e.content,o=e.preferredPlacement,a=e.title;Ed({preferredPlacement:o});var i=M.useRef(null),e=M.useState(!1),l=(e=j(e,2))[0],s=e[1];return W("span",{className:B("np-popover",n),children:[H("span",{ref:i,className:"d-inline-block",children:M.cloneElement(t,{onClick:function(){var e;null!=t&&null!==(e=t.props)&&void 0!==e&&e.onClick&&t.props.onClick(),s(!l)}})}),H(wd,{open:l,anchorRef:i,position:Cd[o]||o,arrow:!0,className:"np-popover__container",onClose:function(){return s(!1)},children:W("div",{className:"np-popover__content","aria-hidden":!l,role:"tooltip",children:[a&&H("div",{role:"heading","aria-level":1,className:"np-popover__title m-b-1",children:a}),r]})})]})}var Ed=function(e){e=e.preferredPlacement;fe("Popover has deprecated ".concat(e," value for the 'preferredPlacement' prop. Please use ").concat(Cd[e]," instead."),Cd[e])};Od.defaultProps={className:void 0,preferredPlacement:_.Position.RIGHT,title:void 0},Od.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 Cd=(h(e={},_.Position.BOTTOM_LEFT,_.Position.BOTTOM),h(e,_.Position.BOTTOM_RIGHT,_.Position.BOTTOM),h(e,_.Position.LEFT_TOP,_.Position.TOP),h(e,_.Position.RIGHT_TOP,_.Position.TOP),e);function Td(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 xd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Td(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Td(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Sd(e){var t=e.className,n=e.content,r=e.onClick,o=e.presentation,a=e.size,i=e.title,l=M.useState(!1),s=(l=j(l,2))[0],u=l[1],o=o===_.InfoPresentation.MODAL,a=a===_.Size.SMALL,e={"aria-label":e["aria-label"],className:"btn-unstyled",children:H(T.HelpCircle,{size:a?16:24})};return H("span",{className:B(t,"np-info",{"np-info__small":a,"np-info__large":!a}),children:o?W(Y,{children:[H("button",xd({type:"button",onClick:function(){u(!s),r&&r()}},e)),H(hd,{body:n,open:s,title:i,onClose:function(){return u(!1)}})]}):H(Od,{content:n,preferredPlacement:_.Position.BOTTOM,title:i,children:H("button",xd(xd({type:"button"},e),{},{onClick:function(){r&&r()}}))})})}function Dd(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}Sd.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},Sd.defaultProps={className:void 0,content:void 0,onClick:void 0,presentation:_.InfoPresentation.POPOVER,size:_.Size.SMALL,title:void 0};function Ad(r){var e=eo(function(e){var t=e.children,n=e.className,e=e.type,e="alert-".concat(kd[e]||e);return H("div",{role:"alert",id:r.id,className:B("alert alert-detach p-x-2 p-y-1",e,n),children:t})},_.AlertArrowPosition.TOP_LEFT);return H(e,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Dd(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Dd(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},r))}var kd=h({},_.Sentiment.ERROR,"danger");Ad.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"])},Ad.defaultProps={className:void 0,id:void 0,type:_.Sentiment.NEUTRAL};function Nd(e){var n=[];return e.split("").forEach(function(e,t){"*"!==e&&n.push({index:t,symbol:e})}),n}var Pd=function(e,t){if(!e||""===e)return"";for(var n=e.toString().split(""),r=Nd(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("")},Ld=function(e,t){var n=[""];return(n=e&&0<e.length?(n=e.toString().split("")).filter(function(e){return!Rd(t).includes(e)}):n).join("")},Rd=function(e){return e.split("").filter(function(e){return"*"!==e})},Id=function(t,n,e){return Nd(e).filter(function(e){return e.index>=t&&e.index<n}).length},_d=function(t,e){e=Nd(e).filter(function(e){return e.index>=t});return Fd(t,e,"left")},Md=function(t,e){e=Nd(e).filter(function(e){return e.index<t}).reverse();return Fd(t,e,"right")},Fd=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},Ud=function(e,t,n,r,o){var a=t;switch(e){case"Backspace":t===n&&(a=0<(a-=Md(t,r))?a-1:0);break;case"Paste":a+=o+Id(t,t+o,r)+_d(t+o,r);break;case"Cut":case"Delete":break;default:a+=1+_d(t,r)}return a};function jd(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}var Bd=function(e){Es(o,e);var r=jd(o);function o(e){var l;y(this,o),l=r.call(this,e),h(ws(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<=Ld(o,a).length?"Backspace":n.key}),h(ws(l),"resetEvent",function(){l.setState({triggerType:null,triggerEvent:null,pastedLength:0})}),h(ws(l),"detectUndoRedo",function(e){var t=String.fromCharCode(e.which).toLowerCase();return(e.ctrlKey||e.metaKey)&&"z"===t?e.shiftKey?"Redo":"Undo":null}),h(ws(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=Pd(o.undo(),a),l.setState({value:t,triggerType:"Undo"})):"Redo"===l.detectUndoRedo(e)?(t=Pd(o.redo(),a),l.setState({value:t,triggerType:"Redo"})):l.setState({triggerEvent:e,triggerType:"KeyDown",selectionStart:n,selectionEnd:r})}),h(ws(l),"handleOnPaste",function(e){var t=l.props.displayPattern,t=Ld(e.clipboardData.getData("Text"),t).length;l.setState({triggerType:"Paste",pastedLength:t})}),h(ws(l),"handleOnCut",function(){l.setState({triggerType:"Cut"})}),h(ws(l),"isKeyAllowed",function(e){return!l.props.displayPattern.split("").filter(function(e){return"*"!==e}).includes(e)}),h(ws(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=Ld(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=Pd(e,t),n.add(e),l.handleCursorPositioning(r),t=Ld(o,t),l.setState({value:o},l.resetEvent(),a(t)))}),h(ws(l),"handleOnBlur",function(e){var t=l.props,n=t.displayPattern,t=t.onBlur;t&&t(Ld(e.target.value,n))}),h(ws(l),"handleOnFocus",function(e){var t=l.props,n=t.displayPattern,t=t.onFocus;t&&t(Ld(e.target.value,n))}),h(ws(l),"handleDelete",function(e,t){var n=l.props.displayPattern,r=l.state,o=r.selectionStart,a=r.selectionEnd,i=U(e);return o===a&&(r=o-Id(0,o,n),e=0,a=_d(o,n),"Backspace"===t&&(--r,a=Md(o,n)),i.splice(r,e=0<=r&&a?1:e)),i.join("")}),h(ws(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=Ud(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=Ld(t,n);return l.state={value:Pd(t,n),historyNavigator:new b,prevDisplayPattern:e.displayPattern,triggerType:null,triggerEvent:null},l}return gl(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=Ld(e,r);return t.reset(),{prevDisplayPattern:n,value:Pd(r,n),triggerType:null,triggerEvent:null,pastedLength:0}}}]),o}(M.Component);function qd(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 zd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qd(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qd(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}Bd.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},Bd.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};Le=function(e){return H(Bd,zd(zd({},e),{},{render:function(e){return H("input",zd({},e))}}))};Le.propTypes={displayPattern:l.default.string.isRequired,onChange:l.default.func.isRequired};rt=function(e){var t=e.dos,e=e.donts;return W("div",{className:"tw-instructions",children:[t.map(function(e,t){return W("div",{className:"instruction m-t-1",children:[H(T.CheckCircle,{size:24,className:"do"}),H("p",{className:"m-l-2 m-b-0 text-primary",children:e})]},t)}),e.map(function(e,t){return W("div",{className:"instruction m-t-1",children:[H(T.CrossCircle,{size:24,className:"dont"}),H("p",{className:"m-l-2 m-b-0 text-primary",children:e})]},t)})]})};rt.defaultProps={dos:[],donts:[]},rt.propTypes={dos:l.default.arrayOf(l.default.node),donts:l.default.arrayOf(l.default.node)};var Vd=["small","size","classNames"],ot=function(e){var t,n=e.amount,r=e.currency,o=F.useIntl().locale;return H(Y,{children:(e=o,is(n,r=r,e=void 0===o?"en-GB":e,t=void 0===t?{alwaysShowDecimals:!1}:t)+" "+(r||"").toUpperCase())})};ot.propTypes={amount:l.default.number.isRequired,currency:l.default.string.isRequired};var Gd=F.defineMessages({selectPlaceholder:{id:"neptune.MoneyInput.Select.placeholder"}}),Hd={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},Wd=2;function Yd(){return"1,234"===(1234..toLocaleString&&1234..toLocaleString(S))}function Kd(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(Hd,e)?Hd[e]:Wd}(t),t=Yd()?1e4.toLocaleString(r)[2]:",",r=(r=r,Yd()?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 Xd(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 Zd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Xd(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Xd(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function $d(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}var et=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}),Jd="CUSTOM_ACTION",Qd=function(e){return Di(e)||Ai(e)},ef=function(e,t,n){return"number"==typeof e?is(e,t,n):""},tf=new Set([Ds.BACKSPACE,Ds.DELETE,Ds.COMMA,Ds.PERIOD,Ds.DOWN,Ds.UP,Ds.LEFT,Ds.RIGHT,Ds.ENTER,Ds.ESCAPE,Ds.TAB]),nf=new Set([x.PERIOD,x.COMMA]),ur=function(e){Es(o,e);var n=$d(o);function o(e){var r;y(this,o),r=n.call(this,e),h(ws(r),"isInputAllowedForKeyEvent",function(e){var t=e.keyCode,n=e.metaKey,r=e.key,e=e.ctrlKey;return Di(parseInt(r,10))||n||e||tf.has(t)||nf.has(r)}),h(ws(r),"handleKeyDown",function(e){r.isInputAllowedForKeyEvent(e)||e.preventDefault()}),h(ws(r),"handlePaste",function(e){var t=(e.clipboardData||window.clipboardData).getData("text"),n=r.state.locale,t=Ni(t)?null:Kd(t,r.props.selectedCurrency.currency,n);Qd(t)&&(r.setState({formattedAmount:ef(t,r.props.selectedCurrency.currency,n)}),r.props.onAmountChange(t)),e.preventDefault()}),h(ws(r),"onAmountChange",function(e){e=e.target.value;r.setState({formattedAmount:e});e=Ni(e)?null:Kd(e,r.props.selectedCurrency.currency,r.state.locale);Qd(e)&&r.props.onAmountChange(e)}),h(ws(r),"onAmountBlur",function(){r.amountFocused=!1,r.setAmount()}),h(ws(r),"onAmountFocus",function(){r.amountFocused=!0}),h(ws(r),"handleSelectChange",function(e){r.handleSearchChange(""),r.props.onCustomAction&&e.value===Jd?r.props.onCustomAction():r.props.onCurrencyChange(e)}),h(ws(r),"handleSearchChange",function(e){r.setState({searchQuery:e}),r.props.onSearchChange&&r.props.onSearchChange({searchQuery:e,filteredOptions:rf(r.props.currencies,e)})}),h(ws(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:ef(e.amount,e.selectedCurrency.currency,t),locale:t},r}return gl(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:ef(e.amount,e.selectedCurrency.currency,null==e||null===(n=e.intl)||void 0===n?void 0:n.locale)})}},{key:"getSelectOptions",value:function(){var e=U(rf(this.props.currencies,this.state.searchQuery));return this.props.onCustomAction&&e.push({value:Jd,label:this.props.customActionLabel}),e}},{key:"setAmount",value:function(){var n=this;this.setState(function(e){var t=Kd(e.formattedAmount,n.props.selectedCurrency.currency,n.state.locale);return Qd(t)?{formattedAmount:ef(t,n.props.selectedCurrency.currency,e.locale)}:{formattedAmount:e.formattedAmount}})}},{key:"render",value:function(){var e=this.props,t=e.selectedCurrency,n=e.onCurrencyChange,r=e.size,o=e.addon,a=this.getSelectOptions(),e=!this.state.searchQuery&&(1===a.length&&a[0].currency===t.currency||!n),n=!this.props.onAmountChange;return W("div",{className:B(this.style("tw-money-input"),this.style("input-group"),this.style("input-group-".concat(r))),children:[H("input",{id:this.props.id,value:this.state.formattedAmount,type:"text",inputMode:"decimal",className:B(this.style("form-control")),disabled:n,placeholder:ef(this.props.placeholder,this.props.selectedCurrency.currency,this.state.locale),autoComplete:"off",onKeyDown:this.handleKeyDown,onChange:this.onAmountChange,onFocus:this.onAmountFocus,onBlur:this.onAmountBlur,onPaste:this.handlePaste}),o&&H("span",{className:B(this.style("input-group-addon"),this.style("input-".concat(r)),n?this.style("disabled"):""),children:o}),e?W("div",{className:B(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)&&W(Y,{children:[H("i",{className:B(this.style("tw-money-input__keyline"))}),H("i",{className:B(this.style("currency-flag"),this.style("currency-flag-".concat(t.currency.toLowerCase())),this.style("hidden-xs"),this.style("m-r-2"))})]}),H("span",{className:"lg"===r?this.style("m-r-1"):"",children:t.currency.toUpperCase()})]}):H("div",{className:B(this.style("input-group-btn"),this.style("amount-currency-select-btn")),children:H(qs,{classNames:this.props.classNames,options:a,selected:Zd(Zd({},t),{},{note:null}),placeholder:this.formatMessage(Gd.selectPlaceholder),searchPlaceholder:this.props.searchPlaceholder,searchValue:this.state.searchQuery,size:r,required:!0,dropdownRight:"xs",dropdownWidth:"lg",inverse:!0,onChange:this.handleSelectChange,onSearchChange:this.handleSearchChange})})]})}}]),o}(M.Component);function rf(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&&(of(e.label,t)||of(e.searchable,t)||of(e.note,t));var t}));return o=n,e.sort(function(e,t){e=of(e.label,o),t=of(t.label,o);return e&&t?0:e?-1:t?1:0})}function of(e,t){return e&&e.toLowerCase().includes(t.toLowerCase())}ur.propTypes={id:l.default.string,currencies:l.default.arrayOf(et).isRequired,selectedCurrency:et.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)},ur.defaultProps={id:null,size:_.Size.LARGE,addon:null,searchPlaceholder:"",onSearchChange:void 0,onCurrencyChange:null,placeholder:null,amount:null,onAmountChange:null,customActionLabel:"",onCustomAction:null,classNames:{}};De=F.injectIntl(ur),He=function(e){e=e.children;return H("ul",{className:"np-navigation-options-list",children:M.Children.map(e,function(e){return H("li",{className:"np-navigation-options-list__item",children:e},e.key)})})};He.propTypes={children:l.default.node.isRequired};at=function(e){var t=e.media,n=e.title,r=e.link,o=e.href,a=e.onClick,i=e.onDismiss,l=e.id,e=e.className;return W("div",{className:B("tw-nudge media",e),id:l,children:[H("div",{className:"align-self-start media-left",children:t}),W("div",{className:"media-body",children:[H("div",{className:"tw-nudge__title media-heading title-4",children:n}),H("a",{href:o,className:"tw-nudge__link",onClick:a,children:r})]}),H("div",{className:"align-self-start media-right",children:H(ce,{size:16,onClick:i})})]})};at.propTypes={media:l.default.node.isRequired,title:l.default.node.isRequired,link:l.default.node.isRequired,href:l.default.string.isRequired,onClick:l.default.func,onDismiss:l.default.func.isRequired,id:l.default.string,className:l.default.string},at.defaultProps={id:null,className:null,onClick:void 0};tr=function(e){var t=e.avatar,n=e.onClose,e=e.logo,n=n&&H(ce,{onClick:n});return H("div",{className:"np-overlay-header d-flex justify-content-center",children:H(kc,{className:"np-overlay-header__content p-a-3",leftContent:e,rightContent:W(Y,{children:[t,t&&n&&H("span",{className:"separator"}),n]})})})};tr.defaultProps={avatar:null,logo:H(Kn,{}),onClose:null},tr.propTypes={avatar:l.default.element,logo:l.default.node,onClose:l.default.func};function af(e){return e.reduce(function(e,t){return e.phone.length>t.phone.length?e:t})}function lf(t){var e;return(e=t&&2===t.length?ff.filter(function(e){return t.toUpperCase()===e.iso2}):e)&&0<e.length?af(e):null}function sf(e){return/^\+[\d-\s]+$/.test(e)&&e.match(/\d+/g)&&4<=e.match(/\d+/g).join("").length}function uf(e){var t,n="",r="",o="",a=(a=null,(a=(t=e)&&1<t.length?ff.filter(function(e){return 0===t.indexOf(e.phone)}):a)&&0<a.length?af(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 cf(e,n){return e.filter(function(e){return t=n,hf((e=e).iso3,t)||hf(e.iso2,t)||hf(e.name,t)||hf(e.phone,t);var t})}function pf(e){return e.match(gf)&&e.match(gf).join("")||""}function df(e,n){return U(e).sort(function(e,t){return e[n].localeCompare(t[n])})}var ff=[{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"}],hf=function(e,t){return Si(e)?0<e.filter(function(e){return 0===mf(e).indexOf(mf(t))}).length:0===mf(e).indexOf(mf(t))},mf=function(e){return e.toLowerCase().replace("+","")},gf=/^$|^(\+)|([\d]+)/g;function yf(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 bf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yf(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yf(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function vf(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]=bf(bf({},n),{},{name:Si(n.name)?[].concat(U(n.name),[r]):[n.name,r],iso2:Si(n.iso2)?[].concat(U(n.iso2),[o]):[n.iso2,o],iso3:Si(n.iso3)?[].concat(U(n.iso3),[a]):[n.iso3,a]})):e[i]=t,e},{}),Object.values(e)}var wf=/^$|^[\d-\s]+$/,st=function(e){var t,n=e.onChange,r=e.searchPlaceholder,o=e.disabled,a=e.required,i=e.size,l=e.placeholder,s=e.onFocus,u=e.onBlur,c=e.countryCode,p=F.useIntl().locale,d=M.useState((t=(t=e.initialValue)?pf(t):null)&&sf(t)?uf(t):{prefix:function(e,t){e=lf(t)||lf(N(e))||lf(e);return(null==e?void 0:e.phone)||"+44"}(p,c),suffix:""}),d=j(d,2),f=d[0],h=d[1],d=M.useState(null),d=j(d,2),m=d[0],g=d[1],d=M.useState(""),d=j(d,2),y=d[0],b=d[1],v=vf(df(ff,"iso3")),w=vf(df(ff,"phone")),O=cf(/^\+?[\d-\s]+$/.test(y)?w:v,y).map(function(e){var t=e.phone,n=e.iso3,r=e.iso2,e="";return n?e=Si(n)?n.join(", "):n:r&&(e=Si(r)?r.join(", "):r),{value:t,label:t,note:e}});return M.useEffect(function(){if(null===m)return g(f);var e=f.prefix+f.suffix;e!==m.prefix+m.suffix&&(e=sf(e)?pf(e):null,n(e),g(f))},[n,m,f]),W("div",{className:"tw-telephone",children:[H("div",{className:"tw-telephone__country-select",children:H(qs,{options:O,selected:{value:f.prefix,label:f.prefix},placeholder:"Select an option...",searchPlaceholder:r,searchValue:y,required:a,disabled:o,size:i,onChange:function(e){e=e.value;b(""),h({prefix:e,suffix:f.suffix})},onSearchChange:function(e){return b(e)}})}),H("div",{className:"tw-telephone__number-input",children:H("div",{className:"input-group input-group-".concat(i),children:H("input",{name:"phoneNumber",inputMode:"numeric",value:f.suffix,type:"text",className:"form-control",disabled:o,required:a,placeholder:l,onChange:function(e){e=e.target.value,e=void 0===e?"":e;wf.test(e)&&h({prefix:f.prefix,suffix:e})},onPaste:function(e){var t;e.nativeEvent.clipboardData&&(e=(e.nativeEvent.clipboardData.getData("text/plain")||"").replace(/(\s|-)+/g,""),e=uf(e),t=e.prefix,e=e.suffix,O.find(function(e){return e.value===t})&&wf.test(e)&&h({prefix:t,suffix:e}))},onFocus:s,onBlur:u})})})]})};function Of(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}st.propTypes={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},st.defaultProps={required:!1,disabled:!1,initialValue:null,onFocus:function(){},onBlur:function(){},countryCode:null,searchPlaceholder:"Prefix",size:_.Size.MEDIUM,placeholder:""};var Ef={xs:11,sm:22,xl:61},Cf=1500,Tf=function(e){Es(r,e);var t=Of(r);function r(e){var n;return y(this,r),n=t.call(this,e),h(ws(n),"runCallBack",function(e){var t=n.props.onAnimationCompleted;t&&(n.timeouts=setTimeout(function(){t(e)},Cf))}),n.state={status:e.status,size:e.size},n.interval=null,n.timeout=null,n}return gl(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})},Cf)}},{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=B("process process-".concat(e),t,(h(t={},"process-danger",r===_.Status.FAILED),h(t,"process-stopped",r===_.Status.HIDDEN),h(t,"process-success",r===_.Status.SUCCEEDED),t));return W("span",{className:t,"data-testid":n,children:[W("span",{className:"process-icon-container",children:[H("span",{className:"process-icon-horizontal"}),H("span",{className:"process-icon-vertical"})]}),H("svg",{xmlns:"http://www.w3.org/2000/svg",children:H("circle",{className:"process-circle",cx:"50%",cy:"50%",r:Ef[this.state.size],fillOpacity:"0.0"})})]})}}]),r}(M.Component);Tf.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},Tf.defaultProps={status:_.Status.PROCESSING,size:_.Size.SMALL,onAnimationCompleted:null,className:void 0,"data-testid":null};var xf={"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.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"},Uo=function(e){var t=e.i18n,n=e.children,r=t.locale,o=t.messages,e=t.defaultRichTextElements,t=k(r),o=null===t?(console.warn("Unsupported locale value was provided: '".concat(r,"', defaulting to '").concat(S,"'")),{locale:S,messages:xf}):{locale:t,messages:o};return H(al,{direction:P(r),children:H(F.IntlProvider,{defaultLocale:S,locale:o.locale,messages:o.messages,defaultRichTextElements:e,children:n})})};Uo.propTypes={i18n:l.default.shape({locale:l.default.string.isRequired,messages:l.default.shape({}).isRequired,defaultRichTextElements:l.default.shape({})}).isRequired,children:l.default.node},Uo.defaultProps={children:void 0};function Sf(e){var t=e.id,n=e.value,r=e.name,o=e.checked,a=e.onChange,i=e.disabled,e=e.readOnly;return W(Y,{children:[H("input",{type:"radio",className:"sr-only",id:t,value:n,name:r,checked:o,disabled:i||e,onChange:function(){return o?null:a(n)}}),H("span",{className:B("tw-radio-button",{checked:o,disabled:i||e}),children:H("span",{className:"tw-radio-check"})})]})}Sf.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},Sf.defaultProps={checked:!1,onChange:function(){},disabled:!1,id:null,value:"",readOnly:!1};var Df=["label","id","disabled","className","avatar","secondary"];function Af(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 kf(e){var t=e.label,n=e.id,r=e.disabled,o=e.className,a=e.avatar,i=e.secondary,e=ne(e,Df);return H("div",{className:B("radio np-radio",{"radio-lg":i},o),children:W("label",{className:B({disabled:r}),htmlFor:n,children:[H("span",{className:"np-radio-button p-r-2",children:H(Sf,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Af(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Af(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({id:n,disabled:r},e))}),W("span",{className:"np-radio__text",children:[t,i&&H("small",{children:i})]}),a&&H("span",{className:"np-radio__avatar m-l-auto",children:a})]})})}function Nf(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}kf.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},kf.defaultProps={avatar:void 0,checked:!1,disabled:!1,id:null,secondary:null,value:"",className:void 0};Wt=function(e){Es(r,e);var t=Nf(r);function r(e){var n;return y(this,r),n=t.call(this,e),h(ws(n),"handleOnChange",function(e){var t=n.props.onChange;n.setState({selectedValue:e},t&&t(e))}),n.state={selectedValue:e.selectedValue},n}return gl(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?H(Y,{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 H(kf,{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}(M.Component);function Pf(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 Lf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Pf(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pf(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}Wt.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},Wt.defaultProps={selectedValue:null};Yt=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,e=e.showMediaAtAllSizes;return H(Z,Lf(Lf({},{ariaLabel:t,media:n,title:r,content:o,name:i,complex:u,disabled:c,showMediaAtAllSizes:e}),{},{button:H(Sf,{id:a,name:i,checked:l,disabled:c,value:p,onChange:s})}))};Yt.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,showMediaAtAllSizes:l.default.bool},Yt.defaultProps={"aria-label":void 0,media:null,content:null,checked:!1,complex:!1,disabled:!1,showMediaAtAllSizes:!1,value:""};function Rf(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}Hn=function(e){Es(r,e);var n=Rf(r);function r(){var t;return y(this,r),t=n.call(this),h(ws(t),"setLeaveTimeout",function(){var e=t.props.timeout;t.timeout=setTimeout(function(){t.setState({visible:!1})},e)}),t.state={visible:!1,text:""},t}return gl(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 H("div",{className:"snackbar",children:H(No,{in:o,classNames:"snackbar__text-container",timeout:{appear:0,enter:e,exit:400},unmountOnExit:!0,children:W("span",{className:"snackbar__text snackbar__text--".concat(r),children:[n,t?H("button",{type:"button",className:"snackbar__text__action",onClick:t.onClick,children:t.label}):null]})})})}}]),r}(M.Component);Hn.contextType=cl,Hn.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},Hn.defaultProps={action:null,theme:_.Theme.LIGHT};var If=hl(Hn),_f=M.createContext(),ve=_f.Consumer;function Mf(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}we=function(e){Es(n,e);var t=Mf(n);function n(){var r;return y(this,n),r=t.call(this),h(ws(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 gl(n,[{key:"render",value:function(){var e=this.state,t=e.action,n=e.text,r=e.theme,e=e.timestamp;return W(_f.Provider,{value:{createSnackbar:this.create},children:[H(If,{action:t,text:n,timestamp:e,timeout:this.props.timeout,theme:r}),this.props.children]})}}]),n}(M.Component);we.propTypes={children:l.default.node.isRequired,timeout:l.default.number},we.defaultProps={timeout:4500};e=function(e){var t=e.open,n=e.position,e=e.children;return H(Cl,{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 Ff=F.defineMessages({statusNotDone:{id:"neptune.Summary.statusNotDone"},statusPending:{id:"neptune.Summary.statusPending"},statusDone:{id:"neptune.Summary.statusDone"}}),Uf={done:T.CheckCircle,pending:T.PendingCircle},jf=(h(et={},_.Status.NOT_DONE,"statusNotDone"),h(et,_.Status.DONE,"statusDone"),h(et,_.Status.PENDING,"statusPending"),et),ur=new Date("03-01-2021"),Hn=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,a=e.info,i=void 0===a?s:a,s=e.status,a=e.title,e=F.useIntl(),c=c;u&&(c=24!==(null==u||null===(t=u.props)||void 0===t?void 0:t.size)?M.cloneElement(u,{size:24}):u);u=s&&Uf[s];return W(r,{className:B("np-summary d-flex align-items-start",o),"aria-label":s&&e.formatMessage(Ff[jf[s]]),children:[W("div",{className:"np-summary__icon",children:[c,u&&H(u,{size:16,filled:!0,className:"np-summary-icon__".concat(s)})]}),W("div",{className:"np-summary__body m-l-2",children:[W("div",{className:"np-summary__title d-flex",children:[H("strong",{children:a}),i&&H(Sd,{"aria-label":i["aria-label"],className:"m-l-1 hidden-xs",content:i.content,presentation:i.presentation,title:i.title,onClick:i.onClick})]}),l&&H("div",{className:"np-summary__description",children:l}),n&&H("a",{href:n.href,target:n.target,className:"np-summary__action","aria-label":n["aria-label"],onClick:n.onClick,children:n.text})]}),i&&H(Sd,{"aria-label":i["aria-label"],className:"m-l-2 hidden-sm hidden-md hidden-lg hidden-xl",content:i.content,presentation:i.presentation,size:_.Size.LARGE,title:i.title,onClick:i.onClick})]})};Hn.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:he(l.default.node,{component:"Summary",newProp:"description",expiryDate:ur}),description:l.default.node,help:he(l.default.shape({content:l.default.node.isRequired,title:l.default.node}),{component:"Summary",newProp:"info",expiryDate:ur}),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:he(l.default.node,{component:"Summary",newProp:"icon",expiryDate:ur}),icon:$(l.default.node,function(e){return!e.illustration}),status:l.default.oneOf(["notDone","done","pending"]),title:l.default.node.isRequired},Hn.defaultProps={action:null,as:"div",className:null,content:null,help:null,illustration:null,status:null};function Bf(e){var t=e.checked,n=e.className,r=e.id,o=e.onClick,a=e.disabled,i=e["aria-label"],e=i?void 0:e["aria-labelledby"];return fe("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.",!i&&!e),W("span",{className:B("np-switch",{"np-switch--unchecked":!t,"np-switch--checked":t,disabled:a},n),tabIndex:0,role:"switch","aria-checked":t,"aria-label":i,"aria-labelledby":e,id:r,"aria-disabled":a,onClick:a?void 0:o,onKeyDown:a?void 0:function(e){"32"!==e.code&&e.keyCode!==Ds.SPACE||(e.preventDefault(),o())},children:[H("span",{className:"np-switch--thumb",children:H(t?T.CheckCircle:T.CrossCircle,{filled:!0,size:24})}),H("input",{type:"checkbox",checked:t,readOnly:!0})]})}function qf(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 zf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qf(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qf(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Vf=NaN,Gf="[object Symbol]",Hf=/^\s+|\s+$/g,Wf=/^[-+]0x[0-9a-f]+$/i,Yf=/^0b[01]+$/i,Kf=/^0o[0-7]+$/i,Xf=parseInt,Zf=Object.prototype.toString;function $f(e){var t=typeof e;return e&&("object"==t||"function"==t)}function Jf(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||!!(n=t)&&"object"==typeof n&&Zf.call(t)==Gf)return Vf;var t,n;if("string"!=typeof(e=$f(e)?$f(r="function"==typeof e.valueOf?e.valueOf():e)?r+"":r:e))return 0===e?e:+e;e=e.replace(Hf,"");var r=Yf.test(e);return r||Kf.test(e)?Xf(e.slice(2),r?2:8):Wf.test(e)?Vf:+e}var Qf=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=Jf(n))==n?n:0),void 0!==t&&(t=(t=Jf(t))==t?t:0),e=Jf(e),t=t,n=n,e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=t<=e?e:t)),e},eh=o(function(e){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Os(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0});r(eh);var th=o(function(e){function t(){return e.exports=t=Object.assign||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.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0});r(th);et=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 O=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 T=n(Pe),s=n(eh),u=n(vs),x=n(th),y=n(ke.default),f=n(Ne.default),c=void 0,p=void 0,O=[],C=function(e){return"undefined"!=typeof window&&window.requestAnimationFrame(e)},d=function(e){return"undefined"!=typeof window&&window.cancelAnimationFrame(e)},h=void 0,S=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},w=Object.freeze({get bugfixes(){return c},get applyAnimatedValues(){return p},get colorNames(){return O},get requestFrame(){return C},get cancelFrame(){return d},get interpolation(){return h},get now(){return S},get defaultElement(){return m},get createAnimatedStyle(){return g},injectApplyAnimatedValues:b,injectColorNames:r,injectBugfixes:v,injectInterpolation:o,injectFrame:function(e,t){t=[e,t];return C=t[0],d=t[1],t},injectNow:function(e){return S=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),k=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),N=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}(k),P={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)),F=new RegExp("rgba"+_(R,R,R,R)),U=new RegExp("hsl"+_(R,I,I)),j=new RegExp("hsla"+_(R,I,I,R)),B=/^#([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})$/,V=/^#([0-9a-fA-F]{8})$/;function G(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=G(o,r,e+1/3),n=G(o,r,e),e=G(o,r,e-1/3);return Math.round(255*t)<<24|Math.round(255*n)<<16|Math.round(255*e)<<8}function W(e){e=parseInt(e,10);return e<0?0:255<e?255:e}function Y(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 X(e){e=parseFloat(e);return e<0?0:100<e?1:e/100}function Z(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:P.hasOwnProperty(t)?P[t]:(n=M.exec(t))?(W(n[1])<<24|W(n[2])<<16|W(n[3])<<8|255)>>>0:(n=F.exec(t))?(W(n[1])<<24|W(n[2])<<16|W(n[3])<<8|K(n[4]))>>>0:(n=B.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=V.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(Y(n[1]),X(n[2]),X(n[3])))>>>0:(n=j.exec(t))?(H(Y(n[1]),X(n[2]),X(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(P).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,T(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:x({},e,((e={})[t]=n[t],e))},{});return x({to:r},e)}function ue(e,t){var n=t[0],t=t[1];return x({},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(x({},t,n));return r?e.reduce(ue,{}):x({},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 N(e)}),a("div"),o(function(n){var r=n.output.map(function(e){return e.replace(J,Z)}).map(function(e){return e.replace(Q,Z)}),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(x({},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(P),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,x({key:t.key||void 0},t.props,{style:x({},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 x({},e,((e={})[n]="auto"===t?~n.indexOf("height")?s:l:t,e))},c(x({},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=T(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=S(),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),w=0;w<v;++w)g+=+(b+=(-u.tension*(g-m)+-u.friction*b)/u.mass/1e3)/1e3;var O=!(!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=O||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?C(ge):be=!1}function ye(e){ve.has(e)&&ve.delete(e)}var be=!1,ve=new Set,we=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(x({},e,t))}var t=e.prototype;return t.update=function(e){var h=this;this.props=x({},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 w=e&&e(this),e=b?{}:this.merged;if(this.merged=x({},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)&&!O[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(w&&(d=w.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)}),x({},e,((e={})[a]=x({},l,{name:a,parent:r,interpolation:o,animatedValues:f,changes:i,fromValues:oe(r.getValue()),toValues:oe(w?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=S(),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||C(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}(),Oe=function(r){function e(e,t){var n=r.call(this)||this;return e.style&&(e=x({},e,{style:g(e.style)})),n.payload=e,n.update=t,n.attach(),n}return s(e,r),e}(k);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=T(e,["forwardRef"]),e=this.propsAnimated;this.propsAnimated=new Oe(t,this.callback),e&&e.detach()},t.shouldComponentUpdate=function(e){var t=e.style,n=T(e,["style"]),r=this.props,o=r.style;return(!ae(T(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,T(e,["scrollTop","scrollLeft"]));return y.createElement(r,x({},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,x({},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}},Ce=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 we(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(x({},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=x({},this.controller.getValues(),this.afterInject);return this.finished&&(n=x({},n,this.props.after)),Object.keys(n).length?e(n):null},t.componentDidUpdate=function(){this.didUpdate&&this.start(),this.didUpdate=!1},e}(y.Component);Ce.defaultProps={from:{},to:{},config:v.default,native:!1,immediate:!1,reset:!1,force:!1,inject:c};var Te=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=T(e,["items","children","from","initial","reverse","keys","delay","onRest"]),d=oe(n);return oe(d).map(function(n,r){return y.createElement(Ce,x({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);Te.defaultProps={keys:function(e){return e}};var xe=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 C(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=T(i,["state","filter","states","config","primitive","onRest","forwardRef"]);return Array.isArray(l)&&(l=l[a]),y.createElement(e,x({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);xe.defaultProps={state:"__default"};var Se=y.forwardRef(function(e,t){return y.createElement(xe,x({},e,{forwardRef:t}))});Se.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(xe,x({primitive:r,states:t,filter:n},e))}}},Se.Spring=function(e){return Se.create(Ce)(e,se)},Se.Trail=function(e){return Se.create(Te)(e,se)};function De(e){var t=e.items,n=e.keys,e=T(e,["items","keys"]),t=oe(void 0!==t?t:null),n="function"==typeof n?t.map(n):oe(n);return x({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=T(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=x({},o.current),v=[].concat(o.deleted),r=Object.keys(b),w=new Set(r),O=new Set(l),a=l.filter(function(e){return!w.has(e)}),r=o.transitions.filter(function(e){return!e.destroyed&&!O.has(e.originalKey)}).map(function(e){return e.originalKey}),o=l.filter(function(e){return w.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(x({},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]=x({},b[e],{item:t,state:"update",trail:E+=f,config:ie(m,t,"update"),to:ie(d,t)})});var C=l.map(function(e){return b[e]});return v.forEach(function(e){var t=e.left,n=e.right,r=T(e,["left","right"]);-1!==(e=C.findIndex(function(e){return e.originalKey===t}))&&(e+=1),-1===(e=-1===(e=-1===e?C.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),C=[].concat(C.slice(0,e),[r],C.slice(e))}),{first:n&&0===a.length,transitions:C,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=T(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(Se,x({reset:m&&"enter"===r,primitive:Ce,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};k=["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=Ce,t.Keyframes=Se,t.Transition=b,t.Trail=Te,t.Controller=we,t.config=v,t.animated=k,t.interpolate=function(e,t,n){return e&&new ee(e,t,n)},t.Globals=w});r(et);var nh=et.Spring,rh=(et.Keyframes,et.Transition,et.Trail,et.Controller,et.config,et.animated,et.interpolate,et.Globals,M.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=M.useRef(!0);return M.useEffect(function(){p.current?p.current=!1:i&&c&&c()},[i]),H("li",{ref:t,className:B("tabs__tab",{"tabs__tab--selected":i,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:n})}));rh.defaultProps={disabled:!1,selected:!1,onClick:null,style:null,focusTab:null},rh.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 oh(e){return e=e.children,H("ul",{className:"tabs__tab-list",role:"tablist",children:e})}oh.propTypes={children:l.default.oneOfType([l.default.object,l.default.array]).isRequired};function ah(e){var t=e.children,n=e.id,r=e.tabId,e=e.style;return H("div",{className:"tabs__panel",role:"tabpanel",id:n,"aria-labelledby":r,style:e,children:t})}ah.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 ih=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"x";return Math.abs(e[n]-t[n])},lh=function(e,t){return t.x>e.x},sh=function(e,t){return e.x>t.x},uh=function(e,t){var n,r=ih(e,t),n=(n=t.time-e.time,ih(e,t)/n);return 50<Math.abs(r)&&.1<n};var ch=function(e){return Math.min(150,window.innerWidth/3)*(1-Math.pow(Math.E,-.005*e))};function ph(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 dh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ph(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ph(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function fh(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}function hh(e){return!e.disabled}var mh=0,gh={default:0,xs:8,sm:16,md:24,lg:32},he=function(e){Es(n,e);var t=fh(n);function n(e){var c;return y(this,n),c=t.call(this,e),h(ws(c),"container",null),h(ws(c),"containerWidth",0),h(ws(c),"tabRefs",[]),h(ws(c),"handleResize",function(){c.setContainerWidth(c.container),c.setState(function(e){e=e.selectedTabIndex;return{translateTo:-c.containerWidth*e}})}),h(ws(c),"setContainerRefAndWidth",function(e){c.container=e,c.setContainerWidth(e)}),h(ws(c),"setContainerWidth",function(e){e&&(e=e.getBoundingClientRect().width,c.containerWidth=e)}),h(ws(c),"isTabDisabled",function(e){var t=c.props.tabs;return t[e]&&t[e].disabled}),h(ws(c),"getAllTabsWidth",function(){return c.tabRefs.map(function(e){return e?e.getBoundingClientRect().width:0}).reduce(function(e,t){return e+t},0)}),h(ws(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)}),h(ws(c),"setTabWidth",function(){var e=c.state.fullWidthTabs,t=c.props,n=t.headerWidth,r=t.selected,t=c.getAllTabsWidth();!e&&(n===_.Width.BLOCK||c.containerWidth<t)&&c.setState({fullWidthTabs:!0,translateLineX:"".concat(100*r,"%")}),e&&n===_.Width.AUTO&&c.containerWidth>=t&&c.setState({fullWidthTabs:!1,translateLineX:"".concat(c.getDistanceToSelectedTab(r),"px")})}),h(ws(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")}),h(ws(c),"getTabToSelect",function(e,t,n){var r=e;if(lh(t,n)){if(mh<--r&&c.isTabDisabled(r))return c.getTabToSelect(r,t,n)}else if(sh(t,n)&&(r+=1)<c.MAX_INDEX&&c.isTabDisabled(r))return c.getTabToSelect(r,t,n);return r=Qf(r,Math.max(e-1,mh),Math.min(e+1,c.MAX_INDEX)),c.isTabDisabled(r)?e:r}),h(ws(c),"swipedOverHalfOfContainer",function(e){return.5<=e/c.containerWidth}),h(ws(c),"calculateApplicableDragDifference",function(e){var t=e.currentSelected,n=e.nextSelected,r=e.start,o=e.end,a=ih(r,o),e=ch(a);return lh(r,o)?mh<t&&t!==n?Math.min(a,c.containerWidth):e:!!sh(r,o)&&(t<c.MAX_INDEX&&t!==n?-Math.min(a,c.containerWidth):-e)}),h(ws(c),"switchTab",function(e){(0,c.props.onTabSelect)(e)}),h(ws(c),"animateToTab",function(e,t){c.animateLine(e),c.animatePanel(c.getTabIndexWithoutDisabledTabs(e),t)}),h(ws(c),"animateLine",function(t){c.setState(function(e){return{translateLineX:e.fullWidthTabs?"".concat(100*t,"%"):"".concat(c.getDistanceToSelectedTab(t),"px")}})}),h(ws(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})}),h(ws(c),"disableScroll",function(e){c.state.isSwiping&&e.preventDefault()}),h(ws(c),"handleTabClick",function(e){return function(){c.switchTab(e)}}),h(ws(c),"onKeyDown",function(t){return function(e){e&&e.keyCode===Ds.ENTER&&c.switchTab(t)}}),h(ws(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()}),h(ws(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=ih(n,a),l=ih(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(U(e.currentSwipe),[a]),translateFrom:t||e.translateFrom,translateTo:t||e.translateTo}}))}),h(ws(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=ih(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(U(c.state.currentSwipe),[a]));c.setState({currentSwipe:[]});t=o;e.persist(),r&&((t=uh(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===_.Width.BLOCK},c}return gl(n,[{key:"filteredTabsLength",get:function(){return this.props.tabs.filter(hh).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(Qf(e,mh,this.MAX_INDEX)),this.animateToTab(Qf(e,mh,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(hh).length,o=e.tabs.filter(hh).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(Qf(n,mh,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!hh(e)}).length}},{key:"render",value:function(){function r(e){return e=e.id,0<y&&H("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=gh[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,w=c*this.containerWidth+2*y;return H(cl.Consumer,{children:function(e){e=e===_.Direction.RTL;return W("div",{className:B("tabs",n,{"tabs--auto-width":u===_.Width.AUTO}),onTouchStart:t?o.handleTouchStart:void 0,onTouchEnd:t?o.handleTouchEnd:void 0,onTouchMove:t?o.handleTouchMove:void 0,children:[W(oh,{children:[a.map(function(e,t){var n=e.title,e=e.disabled;return H(rh,dh(dh({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(){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?H("div",{className:B("tabs__line"),style:{width:o.getTabLineWidth(),transform:(e?"translateX(-":"translateX(").concat(d,")")}}):null]}),H("div",{ref:o.setContainerRefAndWidth,className:"tabs__panel-container",style:{overflow:v?"hidden":"visible"},children:H(nh,{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 H("div",{className:"tabs__slider",style:{width:v?"".concat(w,"px"):"100%",transform:v?e.transform:"translateX(0px)"},children:a.map(function(e,t){var n=e.content;return e.disabled?null:W(M.Fragment,{children:[t===l&&H(r,{id:"left-spacer"}),H(ah,{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&&H(r,{id:"right-spacer"})]},"".concat(a[t].title,"-fragment"))})})}})})]})}})}}]),n}(M.Component),ur=dh(dh({},_.Size),{},{NONE:"default"});function yh(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 bh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yh(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yh(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}he.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"])},he.defaultProps={animatePanelsOnClick:!1,changeTabOnSwipe:!0,className:"",transitionSpacing:ur.NONE,headerWidth:_.Width.BLOCK};$=function(e){return H(Bd,bh(bh({},e),{},{render:function(e){return H("textarea",bh({},e))}}))};$.propTypes={displayPattern:l.default.string.isRequired,onChange:l.default.func.isRequired};function vh(){return Dh.Date.now()}var wh=NaN,Oh="[object Symbol]",Eh=/^\s+|\s+$/g,Ch=/^[-+]0x[0-9a-f]+$/i,Th=/^0b[01]+$/i,xh=/^0o[0-7]+$/i,Sh=parseInt,et="object"==typeof n&&n&&n.Object===Object&&n,ur="object"==typeof self&&self&&self.Object===Object&&self,Dh=et||ur||Function("return this")(),Ah=Object.prototype.toString,kh=Math.max,Nh=Math.min;function Ph(e){var t=typeof e;return e&&("object"==t||"function"==t)}function Lh(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||!!(n=t)&&"object"==typeof n&&Ah.call(t)==Oh)return wh;var t,n;if("string"!=typeof(e=Ph(e)?Ph(r="function"==typeof e.valueOf?e.valueOf():e)?r+"":r:e))return 0===e?e:+e;e=e.replace(Eh,"");var r=Th.test(e);return r||xh.test(e)?Sh(e.slice(2),r?2:8):Ch.test(e)?wh:+e}var Rh=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=vh();if(h(t))return g(t);s=setTimeout(m,(t=n-((e=t)-u),d?Nh(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=vh(),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=Lh(n)||0,Ph(e)&&(p=!!e.leading,d="maxWait"in e,i=d?kh(Lh(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(vh())},y};function Ih(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}var _h=10,Mh=function(e){Es(n,e);var t=Ih(n);function n(){var m;return y(this,n),m=t.call(this),h(ws(m),"recalculateWidth",function(){requestAnimationFrame(function(){m.setState({inputWidth:Math.max(_h,m.sizerRef.scrollWidth+10)})})}),h(ws(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 H("input",{ref:function(e){m.inputRef=e},className:B({"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:_h},m}return gl(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?W("div",{className:"form-control typeahead__input-container",style:a&&{maxHeight:a},onClick:function(){t.inputRef.focus()},children:[W("div",{className:"typeahead__input-wrapper",children:[r&&r.map(function(e,t){return i(e,t)}),this.renderInput(),H("div",{className:"typeahead__input-aligner"})]}),H("div",{ref:function(e){t.sizerRef=e},className:"sizer form-control typeahead__input",children:o})]}):this.renderInput()}}]),n}(M.Component);Mh.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},Mh.defaultProps={autoFocus:!1,maxHeight:null,placeholder:"",optionsShown:!1,selected:[]};var Fh=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 H("li",{role:"option","aria-selected":"false",className:B("typeahead__option tw-dropdown-item tw-dropdown-item--clickable",{"tw-dropdown-item--focused":n}),children:W("a",{className:"dropdown-item",href:"#",onClick:r,children:[H("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 W(Y,{children:[e.slice(0,Math.max(0,n)),H("strong",{children:e.slice(n,t)}),e.slice(Math.max(0,t))]})}return e}(a,o)}),e&&H("span",{className:"small m-l-1",children:e}),t&&H("span",{className:"small text-ellipsis",children:t})]})})};function Uh(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}Fh.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},Fh.defaultProps={selected:!1,query:"",onClick:function(){}};n=function(e){Es(o,e);var r=Uh(o);function o(e){var c;y(this,o),c=r.call(this,e),h(ws(c),"handleOnFocus",function(){var e=c.props.onFocus;c.showMenu(),e&&c.props.onFocus()}),h(ws(c),"onOptionSelected",function(e,t){e.preventDefault(),c.selectItem(t)}),h(ws(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)})}),h(ws(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(U(t),U(o)))))}),h(ws(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(U(a)).includes(e.key)&&s.trim())e.preventDefault(),c.selectItem({label:s});else switch(e.keyCode){case Ds.DOWN:e.preventDefault(),c.moveFocusedOption(1);break;case Ds.UP:e.preventDefault(),c.moveFocusedOption(-1);break;case Ds.ENTER:e.preventDefault(),i[l]?c.selectItem(i[l]):r&&s.trim()&&c.selectItem({label:s});break;case Ds.BACKSPACE:o&&!s&&0<u.length&&c.updateSelectedValue(u.slice(0,-1))}}),h(ws(c),"selectItem",function(e){var t=c.props.multiple,n=U(c.state.selected),e=t?(n.push(e),""):(n=[e],e.label);c.updateSelectedValue(n),c.hideMenu(),c.setState({query:e})}),h(ws(c),"stopPropagation",function(e){e.stopPropagation(),e.preventDefault(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}),h(ws(c),"handleSearch",function(e){var t=c.props.onSearch;t&&t(e),c.setState(function(e){return{keyboardFocusedOptionIndex:null===e.keyboardFocusedOptionIndex?null:0}})}),h(ws(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())}),h(ws(c),"showMenu",function(){c.setState({isFocused:!0,optionsShown:!0},function(){w(),document.addEventListener("click",c.handleDocumentClick,!1)})}),h(ws(c),"hideMenu",function(){c.setState({optionsShown:!1,keyboardFocusedOptionIndex:null},function(){O(),document.removeEventListener("click",c.handleDocumentClick,!1)})}),h(ws(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)})}),h(ws(c),"clear",function(e){e.preventDefault(),0<c.state.selected.length&&c.updateSelectedValue([]),c.setState({query:""})}),h(ws(c),"removeChip",function(t){var e=c.state.selected;0<e.length&&c.updateSelectedValue(U(e.filter(function(e){return e!==t})))}),h(ws(c),"renderChip",function(e,t){var n=c.props.validateChip(e);return H(Yl,{label:e.label,className:B("m-t-1",{"has-error":!n}),onRemove:function(){return c.removeChip(e)}},t)}),h(ws(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=U(n);return i&&a.trim()&&n.every(function(e){return e.label.trim().toUpperCase()!==a.trim().toUpperCase()})&&l&&e.push({label:a}),H("div",{className:B("dropdown btn-group btn-block",{open:s}),id:"menu-".concat(r),children:W("ul",{className:"dropdown-menu",role:"menu","aria-labelledby":"dropdownMenu1",children:[e.map(function(t,e){return H(Fh,{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=Rh(c.handleSearch,t);e=!e&&0<n.length?n[0].label:"";return c.state={selected:n,errorState:!1,query:e,keyboardFocusedOptionIndex:null},c}return gl(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?Qf(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,w=b.query,O=b.selected,e=b.optionsShown,b=b.keyboardFocusedOptionIndex,l=l&&(w||0<O.length),f=e&&c&&w.length>=f,b=this.renderMenu({footer:u,options:d,keyboardFocusedOptionIndex:b,query:w,allowNew:s,showNewEntry:p,dropdownOpen:f}),s=v||g&&g.type===_.Sentiment.ERROR,p=!v&&g||g&&g.type===_.Sentiment.ERROR,v=p&&g.type===_.Sentiment.WARNING;return H("div",{id:t,className:B("typeahead","typeahead-".concat(o),{"typeahead--has-value":0<O.length,"typeahead--empty":0===O.length,"typeahead--multiple":r,open:f}),onClick:this.stopPropagation,children:W("div",{className:B("form-group",{"has-error":s,"has-warning":v}),children:[W("div",{className:"input-group input-group-".concat(o),children:[a&&H("span",{className:"input-group-addon",children:a}),H(Mh,{autoFocus:h,multiple:r,optionsShown:e,placeholder:n,selected:O,maxHeight:m,name:i,value:w,typeaheadId:t,renderChip:this.renderChip,autoComplete:y,onChange:this.handleOnChange,onKeyDown:this.handleOnKeyDown,onFocus:this.handleOnFocus,onPaste:this.handleOnPaste}),l&&H("div",{className:"input-group-addon",children:H("button",{type:"button",className:"btn-unstyled",onClick:this.clear,children:H(T.Cross,{})})})]}),p&&H(Ad,{type:g.type,children:g.message}),b]})})}}]),o}(M.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"]).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:_.Size.MEDIUM,chipSeparators:[],initialValue:[],onSearch:null,onBlur:null,onInputChange:null,onFocus:null,validateChip:function(){return!0},inputAutoComplete:"new-password",autoFillOnBlur:!0},(et=_.UploadStep||(_.UploadStep={})).UPLOAD_IMAGE_STEP="uploadImageStep",et.MEDIA_UPLOAD_STEP="mediaUploadStep";var jh=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.default=e.exports,e.exports.__esModule=!0})),Bh=o(function(t){t=function(i){var s,e=Object.prototype,u=e.hasOwnProperty,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 g?t:g,t=Object.create(t.prototype),r=new x(r||[]);return t._invoke=(o=e,a=n,i=r,l=p,function(e,t){if(l===f)throw new Error("Generator is already running");if(l===h){if("throw"===e)throw t;return D()}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(r===s){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=s,e(t,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var r=c(r,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,m;r=r.arg;if(!r)return n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m;{if(!r.done)return r;n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=s)}n.delegate=null;return m}(n,i);if(r){if(r===m)continue;return r}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(l===p)throw l=h,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);l=f;r=c(o,a,i);if("normal"===r.type){if(l=i.done?h:d,r.arg!==m)return{value:r.arg,done:i.done}}else"throw"===r.type&&(l=h,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="suspendedStart",d="suspendedYield",f="executing",h="completed",m={};function g(){}function y(){}function b(){}var v={};v[r]=function(){return this};t=Object.getPrototypeOf,t=t&&t(t(S([])));t&&t!==e&&u.call(t,r)&&(v=t);var w=b.prototype=g.prototype=Object.create(v);function O(e){["next","throw","return"].forEach(function(t){a(e,t,function(e){return this._invoke(t,e)})})}function E(i,l){var t;this._invoke=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"==typeof n&&u.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 C(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 T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function S(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(u.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=s,e.done=!0,e};return e.next=e}}return{next:D}}function D(){return{value:s,done:!0}}return((y.prototype=w.constructor=b).constructor=y).displayName=a(b,o,"GeneratorFunction"),i.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},i.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,a(e,o,"GeneratorFunction")),e.prototype=Object.create(w),e},i.awrap=function(e){return{__await:e}},O(E.prototype),E.prototype[n]=function(){return this},i.AsyncIterator=E,i.async=function(e,t,n,r,o){void 0===o&&(o=Promise);var a=new E(l(e,t,n,r),o);return i.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},O(w),a(w,o,"Generator"),w[r]=function(){return this},w.toString=function(){return"[object Generator]"},i.keys=function(n){var e,r=[];for(e in n)r.push(e);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=S,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=s,this.done=!1,this.delegate=null,this.method="next",this.arg=s,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&u.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=s)},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=s),!!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=u.call(o,"catchLoc"),l=u.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&&u.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,m):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),m},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),T(n),m}},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,T(n)),r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=s),m}},i}(t.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}}),qh=F.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 zh(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}var Vh=function(e){Es(r,e);var t=zh(r);function r(){var n;return y(this,r),n=t.call(this),h(ws(n),"onManualUpload",function(){var e=n.props.fileDropped;n.uploadInputRef&&n.uploadInputRef.current&&e(n.uploadInputRef.current.files[0])}),h(ws(n),"getImage",function(){var e=n.props,t=e.usHelpImage,e=e.usLabel;return t?"string"==typeof t?H("img",{src:t,alt:e,className:"thumbnail text-xs-center"}):t:H("div",{className:"circle circle-sm circle-inverse p-t-1",children:H(T.Upload,{size:24})})}),n.uploadInputRef=M.createRef(),n}return gl(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 H("div",{children:H("div",{className:"droppable-default-card","aria-hidden":n,children:W("div",{className:"droppable-card-content",children:[H("div",{className:"m-b-3",children:this.getImage()}),i&&H("h4",{className:"m-b-1",children:i}),t&&H("p",{className:"m-b-3",children:"".concat(t)}),W("label",{className:"btn btn-primary btn-sm ".concat(a?"disabled":""),children:[o?H("span",{children:o}):H(T.Upload,{size:24,className:"m-r-0"}),H("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}(M.PureComponent);function Gh(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}Vh.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 Hh=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?Gh(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gh(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})},Wh=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)})})},Yh=function(e,t){return Number.isInteger(t)&&e.size<=t},Kh=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""},Xh=function(e,t,n){if(!e||!t)return!1;var r=t.replace(/\s/g,"").split(","),o=Kh(e,n);return!("*"!==t&&!r.includes(o))||r.some(function(e){var t=e.split("/"),e=t[0];return"*"===t[1]&&o.includes(e)})},Zh=["image/jpeg","video/*","application/pdf"],$h=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)},ur=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 H("div",{children:H("div",{className:"droppable-default-card","aria-hidden":t,children:W("div",{className:"droppable-card-content",children:[H("div",{className:"m-b-3",children:a?"string"==typeof a?H("img",{src:a,alt:i,className:"thumbnail text-xs-center"}):a:H("div",{className:"circle circle-sm circle-inverse p-t-1",children:H(T.Upload,{size:24})})}),i&&H("h4",{className:"m-b-1",children:i}),l&&H("p",{className:"m-b-3",children:"".concat(l)}),H("button",{type:"button",className:B("btn btn-primary btn-sm",{disabled:o}),disabled:o,onClick:function(){var e,t=function(e){if("*"===e)return Zh;var e=e.split(","),t={"image/*":"image/jpeg","application/*":"application/pdf"};return e.map(function(e){return t[e]||e}).filter(function(e){return Zh.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=$h(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||H(T.Upload,{size:24,className:"m-r-0"})})]})})})};ur.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 Jh(e){var t=e.isComplete,n=e.isError,r=e.isSuccess,o=e.onAnimationCompleted,a=e.onClear,i=e.psButtonText,l=e.psProcessingText,e=_.Status.PROCESSING;return n&&(e=_.Status.FAILED),r&&(e=_.Status.SUCCEEDED),H("div",{className:"droppable-processing-card droppable-card","aria-hidden":t,children:W("div",{className:"droppable-card-content",children:[H(Tf,{size:_.Size.Small,status:e,onAnimationCompleted:function(e){return o(e)}}),H("h4",{className:"m-t-3 m-b-3",children:l}),i&&H(_l,{size:_.Size.SMALL,onClick:function(e){return a(e)},children:i})]})})}Jh.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 Qh(e){var t=e.csButtonText,n=e.csFailureText,r=e.csSuccessText,o=e.fileName,a=e.isComplete,i=e.isError,l=e.isImage,s=e.onClear,e=e.uploadedImage;return H("div",{className:"droppable-complete-card droppable-card","aria-hidden":!a,children:W("div",{className:"droppable-card-content",children:[H("div",{className:"droppable-card-content d-flex flex-column align-items-center",children:W(Y,i?{children:[H(T.AlertCircle,{size:24,className:"text-negative"}),n&&H("p",{className:"m-t-2",children:n})]}:{children:[l&&e?H("img",{src:e,alt:"OK",className:"thumbnail "}):H(T.Document,{}),o&&H("p",{className:"m-b-0",children:H("small",{children:o})}),r&&H("div",{className:"caption m-t-1",children:H("span",{className:"h4",children:r})})]})}),t&&H(_l,{size:_.Size.SMALL,priority:_.Priority.SECONDARY,className:"m-t-3",onClick:function(e){return s(e)},children:t})]})})}function em(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}Qh.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},Qh.defaultProps={uploadedImage:null};var tm=["error","success"],nm=10,rm=(h(et={},_.UploadStep.UPLOAD_IMAGE_STEP,Vh),h(et,_.UploadStep.MEDIA_UPLOAD_STEP,ur),et),ur=function(e){Es(n,e);var t=em(n);function n(e){var c;return y(this,n),c=t.call(this,e),h(ws(c),"onAnimationCompleted",function(){var t=jh(Bh.mark(function e(t){var n,r,o,a,i,l;return Bh.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===_.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===_.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)}}()),h(ws(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])}),Hh(c.prepareHttpOptions(n),i,r)}),h(ws(c),"asyncResponse",function(e,t){c.timeouts=setTimeout(function(){c.setState({response:e,isError:t===tm[0],isSuccess:t===tm[1]})},nm)}),h(ws(c),"prepareHttpOptions",function(e){if(!e.url)throw new Error("You must supply a URL to post image data asynchronously");return e}),h(ws(c),"handleOnClear",function(e){e.preventDefault();e=c.props.onCancel;e&&e(),c.reset()}),h(ws(c),"reset",function(){c.dragCounter=0,clearTimeout(c.timeouts),c.setState({isComplete:!1,isError:!1,isProcessing:!1,isSuccess:!1})}),h(ws(c),"showDataImage",function(e){c.state.isImage&&c.setState({uploadedImage:e})}),h(ws(c),"fileDropped",function(){var t=jh(Bh.mark(function e(t){var n,r,o,a,i,l,s,u;return Bh.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,Wh(t);case 12:s=e.sent,e.next=18;break;case 15:e.prev=15,e.t0=e.catch(9),c.asyncResponse(e.t0,tm[0]);case 18:if(s){e.next=20;break}return e.abrupt("return",!1);case 20:if(c.setState({isImage:Kh(t,s).includes("image")}),Xh(t,i,s)){e.next=25;break}return u={status:415,statusText:"Unsupported Media Type"},c.asyncResponse(u,tm[0]),e.abrupt("return",!1);case 25:if(Yh(t,r)){e.next=29;break}return u={status:413,statusText:"Request Entity Too Large"},c.asyncResponse(u,tm[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,tm[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 gl(n,[{key:"getErrorMessage",value:function(e){switch(e){case 413:return this.props.csTooLargeMessage||this.props.intl.formatMessage(qh.csTooLargeMessage);case 415:return this.props.csWrongTypeMessage||this.props.intl.formatMessage(qh.csWrongTypeMessage);default:return this.props.csFailureText||this.props.intl.formatMessage(qh.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,w=g.isDroppable,O=g.isError,E=g.isImage,C=g.isProcessing,e=g.isSuccess,g=g.uploadedImage,h=rm[h]||Vh;return W("div",{className:B({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":w,"droppable-processing":C,"droppable-complete":v}),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:[!C&&!v&&H(h,{fileDropped:function(e){return t.fileDropped(e)},isComplete:v,usAccept:r,usButtonText:o||m.formatMessage(qh.usButtonText),usDisabled:a,usHelpImage:i,usLabel:l,usPlaceholder:s||m.formatMessage(qh.usPlaceholder)}),C&&H(Jh,{isComplete:v,isError:O,isSuccess:e,psButtonText:u||m.formatMessage(qh.psButtonText),psProcessingText:c||m.formatMessage(qh.psProcessingText),onAnimationCompleted:function(e){return t.onAnimationCompleted(e)},onClear:function(e){return t.handleOnClear(e)}}),(e||O||v)&&H(Qh,{fileName:b,isComplete:v,isError:O,isImage:E,csButtonText:p||m.formatMessage(qh.csButtonText),csFailureText:this.getErrorMessage(null==y?void 0:y.status),csSuccessText:d||m.formatMessage(qh.csSuccessText),uploadedImage:g,onClear:function(e){return t.handleOnClear(e)}}),!C&&H("div",{className:"droppable-dropping-card droppable-card",children:W("div",{className:"droppable-card-content",children:[H("div",{className:"circle circle-sm p-t-1 text-primary",children:H(T.Plus,{})}),H("h4",{className:"m-t-3",children:n||m.formatMessage(qh.usDropMessage)})]})})]})}}]),n}(M.Component);ur.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"])},ur.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:_.UploadStep.UPLOAD_IMAGE_STEP};function om(e){return e.map(function(e){return e.split(",").filter(function(e){return!e.includes("/")}).map(function(e){return e.replace(".","").toUpperCase()}).join(", ")})}var am,et=F.injectIntl(ur),im=F.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"}}),lm=F.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"}}),sm=[_.FileType.PDF,_.FileType.JPG,_.FileType.PNG];function um(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 cm(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?um(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):um(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}(ur=am=am||{}).uploadInput="uploadInput",ur.mediaBody="mediaBody";function pm(e){e.preventDefault()}function dm(e){var t=e.disabled,n=e.multiple,r=e.description,o=void 0===(d=e.fileTypes)?sm:d,a=void 0===(s=e.sizeLimit)?5e3:s,i=e.maxFiles,l=e.onChange,s=void 0===(d=e.id)?"np-upload-button":d,u=e.uploadButtonTitle,c=(il(),F.useIntl().formatMessage),p=M.useRef(null),d=M.useState(!1),d=(e=j(d,2))[0],f=e[1],h=M.useRef(0),m=function(){return"*"===o?o:(Array.isArray(o)?om(o):om([o])).join(", ")};return W("div",cm(cm({className:B("np-upload-button-container","droppable",{"droppable-dropping":d})},!t&&{onDragEnter:function(e){e.preventDefault(),h.current+=1,1===h.current&&f(!0)},onDragLeave:function(e){e.preventDefault(),--h.current,0===h.current&&f(!1)},onDrop:function(e){e.preventDefault(),h.current=0,f(!1),e.dataTransfer&&e.dataTransfer.files&&e.dataTransfer.files[0]&&l(e.dataTransfer.files)},onDragOver:pm}),{},{children:[H("input",cm(cm(cm({ref:p,id:s,type:"file"},"*"===m()?null:Array.isArray(o)?{accept:o.join(",")}:{accept:o}),n&&{multiple:!0}),{},{className:"tw-droppable-input",disabled:t,name:"file-upload","data-testid":am.uploadInput,onChange:function(e){e=e.target.files;e&&(l(e),p.current&&(p.current.value=""))}})),H("label",{htmlFor:s,className:B("btn","np-upload-accent","np-upload-button",{disabled:t}),children:W("div",{className:"media",children:[H("div",{className:"np-upload-icon media-left",children:H(T.Upload,{size:24,className:"text-link"})}),W("div",{className:"media-body text-xs-left","data-testid":am.mediaBody,children:[H("div",{children:u||c(n?lm.uploadFiles:lm.uploadFile)}),H(Y,{children:W("small",{className:B("np-upload-description",{"text-primary":!t}),children:[function(){if(r)return r;var e="*"===(e=m())?c(lm.allFileTypes):e;return c(lm.instructions,{fileTypes:e,size:Math.round(a/1e3)})}(),i&&W(Y,{children:[H("br",{}),"Maximum ".concat(i," files.")]})]})})]})]})}),d&&W("div",{className:"droppable-card droppable-dropping-card droppable-card-content",children:[H(T.PlusCircle,{filled:!0,size:24,className:"text-info m-x-1"}),H("div",{className:"text-info",children:c(lm.dropFile)})]})]}))}function fm(e){var t=e.children,n=e.url,e=e.onDownload;return n?H("a",{href:n,target:"_blank",rel:"noopener noreferrer",onClick:e,children:t}):H("div",{children:t})}var hm,mm=F.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"}});(ur=hm=hm||{}).uploadItem="uploadItem",ur.mediaBody="mediaBody";function gm(e){var t=e.file,n=e.canDelete,r=e.onDelete,o=e.onDownload,a=F.useIntl().formatMessage,i=t.status,l=t.filename,s=t.error,u=t.url,e=[_.Status.SUCCEEDED,void 0].includes(i)&&!!u;return H("div",{className:B("np-upload-item",{"np-upload-item__link":e}),"data-testid":hm.uploadItem,children:W("div",{className:"np-upload-item__body",children:[H(fm,{url:e?u:void 0,onDownload:function(e){o&&(e.preventDefault(),o(t))},children:H("div",{className:"np-upload-button",children:W("div",{className:"media",children:[H("div",{className:"np-upload-icon media-left",children:function(){if(s||i===_.Status.FAILED)return H(T.AlertCircle,{size:24,className:"text-negative"});var e;switch(i){case _.Status.PROCESSING:case _.Status.PENDING:e=H(Tf,{size:_.Size.EXTRA_SMALL,status:_.Status.PROCESSING});break;case _.Status.SUCCEEDED:case _.Status.DONE:default:e=H(Tf,{size:_.Size.EXTRA_SMALL,status:_.Status.SUCCEEDED})}return H("span",{style:{transform:"scale(0.8335)"},children:e})}()}),W("div",{className:"media-body text-xs-left","data-testid":hm.mediaBody,children:[H("div",{className:"text-word-break text-primary",children:l||a(mm.uploadedFile)}),H("small",{className:"np-upload-description text-primary",children:function(){if(s||i===_.Status.FAILED)return H("span",{className:"text-negative",children:"object"===Ts(s)&&s.message||s||a(mm.uploadingFailed)});switch(i){case _.Status.PENDING:return H("span",{children:a(mm.uploading)});case _.Status.PROCESSING:return H("span",{children:a(mm.deleting)});case _.Status.SUCCEEDED:case _.Status.DONE:default:return H("span",{className:"text-positive",children:a(mm.uploaded)})}}()})]})]})})}),n&&H("button",{"aria-label":a(mm.removeFile,{filename:l}),className:"btn np-upload-item__remove-button media-left",type:"button",onClick:function(){return r()},children:H(T.CrossCircle,{filled:!0,size:16})})]})})}function ym(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 bm(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ym(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ym(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function vm(e){var t=e.name,n=e.size,e=(new Date).getTime();return"".concat(t,"_").concat(n,"_").concat(e)}ur={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.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:xf,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.Summary.statusDone":"Apartado listo","neptune.Summary.statusNotDone":"Apartado a completar","neptune.Summary.statusPending":"Apartado pendiente","neptune.Upload.csButtonText":"Cargar 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":"Cargar archivo","neptune.UploadButton.uploadFiles":"Cargar 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, la carga falló 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 cargar 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.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.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.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.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":"Sorry, this upload failed because we can only accept {maxFilesAllowed} files at once.","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.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.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.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":"Ocorreu um erro. 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.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.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.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":"Sorry, this upload failed because we can only accept {maxFilesAllowed} files at once.","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.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":"Sorry, this upload failed because we can only accept {maxFilesAllowed} files at once.","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.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":"上載失敗"}};_.Accordion=te,_.ActionButton=ie,_.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,e=e.showMediaAtAllSizes,u={media:a,title:i,content:l,complex:s,disabled:r,showMediaAtAllSizes:e,className:B("tw-action-option",u)};return H(Z,se(se({},u),{},{button:H(ie,{disabled:r,"aria-label":(t=[],"string"==typeof i&&t.push(i),"string"==typeof n&&t.push(n),t.join(", ")||void 0),text:n,onClick:o})}))},_.Alert=it,_.Avatar=io,_.AvatarWrapper=nt,_.Badge=lo,_.BottomSheet=Tl,_.Button=_l,_.Card=Ht,_.Checkbox=zl,_.CheckboxButton=ql,_.CheckboxOption=sr,_.Chevron=X,_.Chip=Yl,_.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=F.useIntl();return H("div",{className:B("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 H(Yl,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Xl(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Xl(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(Kl.ariaLabel,{choice:e.label})},className:B("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)})})},_.CircularButton=Jn,_.DEFAULT_LANG="en",_.DEFAULT_LOCALE=S,_.DateInput=G,_.DateLookup=xe,_.Decision=We,_.DefinitionList=vu,_.Dimmer=vl,_.DirectionProvider=al,_.Drawer=Ou,_.DropFade=function(e){var t=e.children,n=e.show,r=M.useRef(null),o=M.useState(0),e=j(o,2),o=e[0],a=e[1];return H(No,{in:n,timeout:300,classNames:"np-dropfade",onEntering:function(){var e;a((null==r||null===(e=r.current)||void 0===e?void 0:e.scrollHeight)||0)},onEntered:function(){return a(void 0)},onExit:function(){var e;a((null==r||null===(e=r.current)||void 0===e?void 0:e.scrollHeight)||0)},onExiting:function(){a(0)},children:H("div",{style:{height:o},className:"np-dropfade",children:ke.default.cloneElement(t,{ref:r})})})},_.DynamicFieldDefinitionList=pt,_.Emphasis=function(e){e=e.text,e=void 0===e?void 0:e;if(!e)return null;e=Ac.transform(e);return e?H("span",{dangerouslySetInnerHTML:{__html:e}}):null},_.FlowNavigation=Fl,_.Header=function(e){var t=e.action,n=e.as,r=void 0===n?"h5":n,n=e.title,e=e.className;return W("div",{className:B("np-header",e),children:[H(r,{className:"np-header__title h5",children:n}),t&&H(cd,{action:t})]})},_.Image=Ae,_.Info=Sd,_.InlineAlert=Ad,_.InputWithDisplayFormat=Le,_.InstructionsList=rt,_.Link=ld,_.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?_.Size.EXTRA_LARGE:o,o=e.classNames,a=void 0===o?{}:o,e=ne(e,Vd),t=r?_.Size.EXTRA_SMALL:t;return H("div",{className:B(n("tw-loader"),n("tw-loader--".concat(t))),"data-testid":e["data-testid"],children:new Array(5).fill(void 0).map(function(e,t){return H("div",{className:n("tw-loader__stripe")},t)})})},_.Logo=Kn,_.Markdown=Vr,_.Modal=hd,_.Money=ot,_.MoneyInput=De,_.NavigationOption=mu,_.NavigationOptionsList=He,_.Nudge=at,_.OverlayHeader=tr,_.PhoneNumberInput=st,_.Popover=Od,_.ProcessIndicator=Tf,_.Provider=Uo,_.RTL_LANGUAGES=D,_.Radio=kf,_.RadioGroup=Wt,_.RadioOption=Yt,_.SUPPORTED_LANGUAGES=A,_.Section=function(e){var t=e.children,n=e.className,e=e.withHorizontalPadding;return H("div",{className:B("np-section",n,{"np-section--with-horizontal-padding":void 0!==e&&e}),children:t})},_.Select=qs,_.SlidingPanel=Cl,_.SnackbarConsumer=ve,_.SnackbarContext=_f,_.SnackbarPortal=If,_.SnackbarProvider=we,_.Stepper=rd,_.Sticky=e,_.Summary=Hn,_.Switch=Bf,_.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.showMediaAtAllSizes,c=e["aria-label"],e=function(e){(e=e)&&(e.stopPropagation(),e.preventDefault(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()),o||l(!t)};return H(Z,zf(zf({},{media:i,title:s,content:r,complex:n,disabled:o,showMediaAtAllSizes:u}),{},{button:H(Bf,{id:a,checked:t,disabled:o,"aria-label":c,onClick:e}),onClick:e}))},_.Tabs=he,_.TextareaWithDisplayFormat=$,_.Tooltip=td,_.Typeahead=n,_.Upload=et,_.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,t=e.fileTypes,c=void 0===t?sm:t,r=e.sizeLimit,p=void 0===r?5e3:r,s=e.description,d=e.onUploadFile,f=e.onDeleteFile,h=e.onValidationError,m=e.onFilesChange,g=e.onDownload,y=e.maxFiles,b=e.maxFilesErrorMessage,t=e.id,v=e.sizeLimitErrorMessage,r=e.uploadButtonTitle,e=M.useState(null),e=j(e,2),w=e[0],O=e[1],e=M.useState(!1),e=j(e,2),E=e[0],C=e[1],T=F.useIntl().formatMessage,x=new Set([_.Status.PENDING,_.Status.PROCESSING]),e=M.useState(u||0===n.length?n:[n[0]]),e=j(e,2),S=e[0],D=e[1],A=M.useRef(u||0===n.length?n:[n[0]]);function k(t){function e(e){return[].concat(U(e),[t])}D(e),A.current=e(A.current)}function N(t){function e(e){return e.filter(function(e){return t!==e&&t.id!==e.id})}D(e),A.current=e(A.current)}function P(t,n){function e(e){return e.map(function(e){return e===t||e.id===t.id?bm(bm({},t),n):e})}D(e),A.current=e(A.current)}function L(t){var e=t.id;t.status===_.Status.FAILED?N(t):f&&e&&(P(t,{status:_.Status.PROCESSING,error:void 0}),f(e).then(function(){return N(t)}).catch(function(e){P(t,{error:e})}))}function R(e,t){var n=e.name,t={id:vm(e),filename:n,status:_.Status.FAILED,error:t};k(t),h&&h(t)}function I(){if(!y)return!1;var t,e=(t=new Set([_.Status.SUCCEEDED,_.Status.PENDING]),A.current.filter(function(e){return e.status&&t.has(e.status)}).length);return y<=e}return M.useEffect(function(){C(!0)},[]),M.useEffect(function(){m&&E&&m(S)},[m,S]),W(Y,{children:[W("div",{className:B("np-upload-input",o),children:[S.map(function(e){return H(gm,{file:e,canDelete:!(!f&&e.status!==_.Status.FAILED||e.status&&x.has(e.status)),onDelete:e.status===_.Status.FAILED?function(){return L(e)}:function(){return O(e)},onDownload:g},e.id)}),(u||!u&&!S.length)&&H(dm,{id:t,uploadButtonTitle:r,disabled:I()||i,multiple:u,fileTypes:c,sizeLimit:p,description:s,maxFiles:y,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=vm(a),n=Array.isArray(c)?c.join(","):c;if(!Xh(a,n))return R(a,T(im.fileTypeNotSupported)),"continue";if(!Yh(a,1e3*p)){var r=v||T(im.fileIsTooLarge);return R(a,r),"continue"}if(I()){r=b||T(im.maximumFilesAlreadyUploaded,{maxFilesAllowed:y});return R(a,r),"continue"}i.append(l,a);var o={id:t,filename:e,status:_.Status.PENDING};return k(o),d(i).then(function(e){var t=e.id,n=e.url,e=e.error;P(o,{id:t,url:n,error:e,status:_.Status.SUCCEEDED})}).catch(function(e){P(o,{error:e,status:_.Status.FAILED})}),u?void 0:"break"}();if("continue"!==n&&"break"===n)break}}}})]}),H(hd,{title:void 0!==(null==a?void 0:a.title)?a.title:T(im.deleteModalTitle),body:void 0!==(null==a?void 0:a.body)?a.body:T(im.deleteModalBody),open:!!w,footer:W(Y,{children:[H(_l,{block:!0,onClick:function(){O(null)},children:(null==a?void 0:a.cancelText)||T(im.deleteModalCancelButtonText)}),H(_l,{block:!0,priority:_.Priority.SECONDARY,type:_.ControlType.NEGATIVE,onClick:function(){w&&L(w),O(null)},children:(null==a?void 0:a.confirmText)||T(im.deleteModalConfirmButtonText)})]}),onClose:function(){O(null)}})]})},_.adjustLocale=k,_.getCountryFromLocale=N,_.getDirectionFromLocale=P,_.getLangFromLocale=function(e){if(null===(e=k(e)))return null;try{var t=new Intl.Locale(e).language;return A.includes(t)?t:null}catch(e){return console.error(e),null}},_.isBrowser=function(){return!E()},_.isServerSide=E,_.translations=ur,_.useDirection=il,_.useLayout=sl,_.useSnackbar=function(){return M.useContext(_f).createSnackbar},Object.defineProperty(_,"__esModule",{value:!0})});
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("prop-types"),require("react"),require("@transferwise/icons"),require("react-intl"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","prop-types","react","@transferwise/icons","react-intl","react-dom"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@transferwise/components"]={},e.PropTypes,e.React,e.icons,e.reactIntl,e.ReactDOM)}(this,function(_,e,M,T,F,a){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=t(e),ke=t(M),Ne=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 h=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.default=e.exports,e.exports.__esModule=!0})),s=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.default=e.exports,e.exports.__esModule=!0});r(s);var u=o(function(e){e.exports=function(e){if(Array.isArray(e))return s(e)},e.exports.default=e.exports,e.exports.__esModule=!0});r(u);var c=o(function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0});r(c);var p=o(function(e){e.exports=function(e,t){if(e){if("string"==typeof e)return s(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)?s(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0});r(p);var d=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.default=e.exports,e.exports.__esModule=!0});r(d);var U=r(o(function(e){e.exports=function(e){return u(e)||c(e)||p(e)||d()},e.exports.default=e.exports,e.exports.__esModule=!0})),f=o(function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0});r(f);var m=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.default=e.exports,e.exports.__esModule=!0});r(m);var g=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.default=e.exports,e.exports.__esModule=!0});r(g);var j=r(o(function(e){e.exports=function(e,t){return f(e)||m(e,t)||p(e,t)||g()},e.exports.default=e.exports,e.exports.__esModule=!0})),y=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.default=e.exports,e.exports.__esModule=!0})),b=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;y(this,e),h(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}),h(this,"add",function(e){(!n.historyLimit||n.history.length<=n.historyLimit)&&n.history.push(e),n.currIndex=n.history.length-1}),h(this,"redo",function(){var e=n.history.length;return n.currIndex=n.currIndex+1<e?n.currIndex+1:e-1,n.history[n.currIndex]}),h(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 v(){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 w(){v()&&document.documentElement.classList.add("ios-click")}function O(){v()&&document.documentElement.classList.remove("ios-click")}function E(){return"undefined"==typeof window}var C="no-scroll";(He=_.Theme||(_.Theme={})).LIGHT="light",He.DARK="dark",He.NAVY="navy",(We=_.Direction||(_.Direction={})).RTL="rtl",We.LTR="ltr",We.AUTO="auto",(et=_.ControlType||(_.ControlType={})).ACCENT="accent",et.POSITIVE="positive",et.NEGATIVE="negative",(nt=_.Priority||(_.Priority={})).PRIMARY="primary",nt.SECONDARY="secondary",nt.TERTIARY="tertiary",(rt=_.Breakpoint||(_.Breakpoint={}))[rt.EXTRA_SMALL=480]="EXTRA_SMALL",rt[rt.SMALL=576]="SMALL",rt[rt.MEDIUM=768]="MEDIUM",rt[rt.LARGE=992]="LARGE",rt[rt.EXTRA_LARGE=1200]="EXTRA_LARGE",(ot=_.Size||(_.Size={})).EXTRA_SMALL="xs",ot.SMALL="sm",ot.MEDIUM="md",ot.LARGE="lg",ot.EXTRA_LARGE="xl",(at=_.Width||(_.Width={})).BLOCK="block",at.AUTO="auto",(it=_.Type||(_.Type={})).PRIMARY="primary",it.PAY="pay",it.SECONDARY="secondary",it.DANGER="danger",it.LINK="link",(st=_.DateMode||(_.DateMode={})).DAY_MONTH_YEAR="day-month-year",st.MONTH_YEAR="month-year",(pt=_.MonthFormat||(_.MonthFormat={})).SHORT="short",pt.LONG="long",(Ht=_.Position||(_.Position={})).BOTTOM="bottom",Ht.BOTTOM_LEFT="bottom-left",Ht.BOTTOM_RIGHT="bottom-right",Ht.CENTER="center",Ht.LEFT="left",Ht.LEFT_TOP="left-top",Ht.RIGHT="right",Ht.RIGHT_TOP="right-top",Ht.TOP="top",(Wt=_.Layout||(_.Layout={})).VERTICAL="VERTICAL",Wt.VERTICAL_TWO_COLUMN="VERTICAL_TWO_COLUMN",Wt.VERTICAL_ONE_COLUMN="VERTICAL_ONE_COLUMN",Wt.HORIZONTAL="HORIZONTAL",Wt.HORIZONTAL_JUSTIFIED="HORIZONTAL_JUSTIFIED",Wt.HORIZONTAL_LEFT_ALIGNED="HORIZONTAL_LEFT_ALIGNED",Wt.HORIZONTAL_RIGHT_ALIGNED="HORIZONTAL_RIGHT_ALIGNED",(Yt=_.Status||(_.Status={})).PROCESSING="processing",Yt.FAILED="failed",Yt.SUCCEEDED="succeeded",Yt.HIDDEN="hidden",Yt.DONE="done",Yt.NOT_DONE="notDone",Yt.PENDING="pending",(Hn=_.Sentiment||(_.Sentiment={})).NEGATIVE="negative",Hn.NEUTRAL="neutral",Hn.POSITIVE="positive",Hn.WARNING="warning",Hn.INFO="info",Hn.ERROR="error",Hn.SUCCESS="success",(Kn=_.ProfileType||(_.ProfileType={})).BUSINESS="BUSINESS",Kn.PERSONAL="PERSONAL",(Jn=_.Scroll||(_.Scroll={})).CONTENT="content",Jn.VIEWPORT="viewport",(tr=_.MarkdownNodeType||(_.MarkdownNodeType={})).BLOCK_QUOTE="block_quote",tr.CODE_BLOCK="code_block",tr.CODE="code",tr.EMPH="emph",tr.HEADING="heading",tr.HTML_BLOCK="html_block",tr.HTML_INLINE="html_inline",tr.IMAGE="image",tr.ITEM="item",tr.LINEBREAK="linebreak",tr.LINK="link",tr.LIST="list",tr.PARAGRAPH="paragraph",tr.SOFTBREAK="softbreak",tr.STRONG="strong",tr.THEMATIC_BREAK="thematic_break",(sr=_.FileType||(_.FileType={})).PDF=".pdf,application/pdf",sr.JPG=".jpg,.jpeg,image/jpeg",sr.PNG=".png,image/png",sr.CSV=".csv,text/csv";var x={ENTER:"Enter",ESCAPE:"Escape",SPACE:[" ","Spacebar"],TAB:"Tab",PERIOD:".",COMMA:","},S="en-GB",D=["ar","he"],A=["en","de","es","fr","hu","id","it","ja","pl","pt","ro","ru","tr","uk","zh"];function k(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 N(e){e=k(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 P(e){try{var t=k(e),n=new Intl.Locale(t).language;return D.includes(n)?_.Direction.RTL:_.Direction.LTR}catch(e){return console.error(e),_.Direction.LTR}}var B=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}),L=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;function q(e){return e=e.className,H("span",{className:B("tw-icon","tw-icon-chevron",e),role:"presentation","aria-hidden":!0,children:H("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",focusable:"false",children:H("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 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]))R.call(n,a)&&(r[a]=n[a]);if(L)for(var i=L(n),l=0;l<i.length;l++)I.call(n,i[l])&&(r[i[l]]=n[i[l]])}return r},z=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=ke.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}),V=(z.Fragment,z.jsx,z.jsxs,o(function(e,pe){"production"!==process.env.NODE_ENV&&function(){var e=ke.default,d=de,f=60103,r=60106;pe.Fragment=60107;var t,h=60108,m=60114,g=60109,y=60110,b=60112,v=60113,w=60120,O=60115,E=60116,C=60121,T=60122,x=60117,S=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"),w=t("react.suspense_list"),O=t("react.memo"),E=t("react.lazy"),C=t("react.block"),T=t("react.server.block"),x=t("react.fundamental"),t("react.scope"),t("react.opaque.id"),S=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 k=!1;function a(e){return e.displayName||"Context"}function N(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 w: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 O:return N(e.type);case C:return N(e._render);case E:t=e._payload,n=e._init;try{return N(n(t))}catch(e){return null}}var t,n;return null}var P,L,R,I,_,M,F,U=0;function j(){}var n,B=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=!(j.__reactDisabledLog=!0),V=new("function"==typeof WeakMap?WeakMap:Map);function i(t,e){if(!t||z)return"";var n,r=V.get(t);if(void 0!==r)return r;z=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=B.current,B.current=null,0===U&&(P=console.log,L=console.info,R=console.warn,I=console.error,_=console.group,M=console.groupCollapsed,F=console.groupEnd,r={configurable:!0,enumerable:!0,value:j,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&&V.set(t,p),p}}while(1<=u&&0<=c);break}}}finally{z=!1,B.current=o,0===--U&&(o={configurable:!0,enumerable:!0,writable:!0},Object.defineProperties(console,{log:d({},o,{value:P}),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:F})})),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&&V.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 w:return q("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case b:return u(e.render);case O:return c(e.type,t,n);case C: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={},G=o.ReactDebugCurrentFrame;function H(e){var t;e?(t=e._owner,t=c(e.type,e._source,t?t.type:null),G.setExtraStackFrame(t)):G.setExtraStackFrame(null)}var W,Y,K=o.ReactCurrentOwner,X=Object.prototype.hasOwnProperty,Z={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(X.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(X.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=N(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',N(K.current.type),n.ref),$[u]=!0))),t)X.call(t,a)&&!Z.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(){Y||(Y=!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(){W||(W=!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=N(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 "+N(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!==O)return;t=r.propTypes}t?(n=N(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?",N(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!==S&&u!==h&&u!==v&&u!==w&&u!==D&&!k)||"object"==typeof u&&null!==u&&(u.$$typeof===E||u.$$typeof===O||u.$$typeof===g||u.$$typeof===y||u.$$typeof===b||u.$$typeof===x||u.$$typeof===C||u[0]===T));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="<"+(N(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}()})),G=(V.Fragment,V.jsx,V.jsxs,o(function(e){"production"===process.env.NODE_ENV?e.exports=z:e.exports=V})),H=G.jsx,W=G.jsxs,Y=G.Fragment,K=(h(ur={},_.Size.EXTRA_SMALL,10),h(ur,_.Size.SMALL,16),h(ur,_.Size.MEDIUM,24),ur);q.propTypes={className:l.default.string},q.defaultProps={className:null};function X(e){var t=e.orientation,n=e.size,r=e.disabled,e=e.className,e=B("tw-chevron",{"chevron-color":!r},"".concat([t]).toLowerCase(),e);return n===_.Size.EXTRA_SMALL?H(q,{className:e}):H(T.ChevronUp,{className:e,size:K[n]})}X.propTypes={orientation:l.default.oneOf(["top","bottom","left","right"]),size:l.default.oneOf(["xs","sm","md"]),disabled:l.default.bool,className:l.default.string},X.defaultProps={orientation:_.Position.BOTTOM,size:_.Size.SMALL,disabled:!1,className:null};function Z(e){var t=e["aria-label"],n=e.as,r=e.href,o=e.target,a=e.media,i=e.title,l=e.content,s=e.onClick,u=e.htmlFor,c=e.disabled,p=e.button,d=e.decision,f=e.complex,h=e.className,m=e.inverseMediaCircle,g=e.showMediaAtAllSizes,e=e.showMediaCircle;return H(n,{className:B("np-option",h,{"decision-complex":f,decision:d,disabled:c,"np-option__sm-media":g}),href:r,htmlFor:u,target:o,disabled:c&&"button"===n,"aria-label":t,onClick:s,children:W("div",{className:"media",children:[a&&H("div",{className:"media-left",children:H("div",e?{className:B("circle circle-sm text-primary",{"circle-inverse":m}),children:a}:{className:"np-option__no-media-circle",children:a})}),W("div",{className:"media-body",children:[H("div",{className:"decision__title",children:i}),l&&H("div",{className:"decision__content",children:l})]}),H("div",{className:"media-right",children:p})]})})}var $=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)}};Z.propTypes={"aria-label":l.default.string,media:l.default.node,htmlFor:l.default.string,title:l.default.node.isRequired,content:l.default.node,onClick:l.default.func,href:$(l.default.string,function(e){return"a"===e.as}),target:l.default.oneOf(["_self","_blank","_parent","_top"]),as:l.default.string,disabled:l.default.bool,button:l.default.node,decision:l.default.bool,complex:l.default.bool,inverseMediaCircle:l.default.bool,className:l.default.string,showMediaAtAllSizes:l.default.bool,showMediaCircle:l.default.bool},Z.defaultProps={"aria-label":void 0,as:"label",media:"",content:null,htmlFor:null,disabled:!1,button:null,onClick:null,href:null,target:void 0,decision:!0,complex:!1,inverseMediaCircle:!0,className:null,showMediaAtAllSizes:!1,showMediaCircle:!0};function J(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,e=l?M.cloneElement(l,{size:24}):null;return W("div",{id:n,className:B("np-accordion-item","np-accordion-item--".concat(s),{"np-accordion-item--open":i}),children:[H(Z,{"aria-label":t,as:"button",media:e,title:r,button:H(X,{orientation:i?_.Position.TOP:_.Position.DOWN}),inverseMediaCircle:!1,onClick:a}),i&&H("div",{className:B("np-accordion-item__content",{"has-icon":l}),children:o})]})}function Q(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?Q(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}J.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"])},J.defaultProps={"aria-label":void 0,icon:null,id:null,theme:_.Theme.LIGHT};function te(e){var t=e.items,n=e.onClick,r=e.indexOpen,o=e.theme,e=M.useState(function(){return t.map(function(e,t){return t===r})}),a=(e=j(e,2))[0],i=e[1];return t.map(function(e,t){return H(J,ee(ee({open:a[t],onClick:function(){return function(e){n&&n(e);var t=U(a);t[e]=!a[e],i(t)}(t)}},e),{},{theme:o}),e.id||t)})}te.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"])},te.defaultProps={indexOpen:-1,onClick:null,theme:_.Theme.LIGHT};var Pe=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.default=e.exports,e.exports.__esModule=!0});r(Pe);var ne=r(o(function(e){e.exports=function(e,t){if(null==e)return{};var n,r=Pe(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.default=e.exports,e.exports.__esModule=!0})),re=["disabled","className","onClick","text"];function oe(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 ae(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?oe(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var ie=M.forwardRef(function(e,t){var n=e.disabled,r=void 0!==n&&n,o=e.className,a=void 0===o?void 0:o,n=e.onClick,o=e.text,e=ne(e,re);return H("button",ae(ae({ref:t,type:"button",className:B("np-action-btn",a),disabled:r,onClick:n},e),{},{children:o}))});function le(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 se(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?le(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var ue=F.defineMessages({ariaLabel:{id:"neptune.CloseButton.ariaLabel"}}),ce=M.forwardRef(function(e,t){var n=F.useIntl(),r=e.onClick,o=e.className,a=e.size,i=e.filled,n=e["aria-label"]||n.formatMessage(ue.ariaLabel);return H("button",{ref:t,type:"button",className:B("np-close-button close btn-link text-no-decoration",{"np-close-button--large":a===ce.Size.LARGE},o),"aria-label":n,onClick:r,children:i?H(T.CrossCircle,{size:a,filled:!0}):H(T.Cross,{size:a})})});function pe(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 fe(e,t){t&&pe(e)}ce.Size={SMALL:16,LARGE:24},ce.propTypes={onClick:l.default.func.isRequired,className:l.default.string,size:l.default.oneOf(Object.values(ce.Size)),filled:l.default.bool,"aria-label":l.default.string},ce.defaultProps={className:null,size:ce.Size.LARGE,filled:!1,"aria-label":void 0};var he=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]&&pe((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 me(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 ge(e,t){this.current=e,this.entering=!0===t}function ye(){var e=this.current,t=this.entering;if(null===e)return null;var n=me(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 be(e){return{current:e,root:e,entering:!0,next:ye,resumeAt:ge}}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},we=ve.prototype;Object.defineProperty(we,"isContainer",{get:function(){return me(this)}}),Object.defineProperty(we,"type",{get:function(){return this._type}}),Object.defineProperty(we,"firstChild",{get:function(){return this._firstChild}}),Object.defineProperty(we,"lastChild",{get:function(){return this._lastChild}}),Object.defineProperty(we,"next",{get:function(){return this._next}}),Object.defineProperty(we,"prev",{get:function(){return this._prev}}),Object.defineProperty(we,"parent",{get:function(){return this._parent}}),Object.defineProperty(we,"sourcepos",{get:function(){return this._sourcepos}}),Object.defineProperty(we,"literal",{get:function(){return this._literal},set:function(e){this._literal=e}}),Object.defineProperty(we,"destination",{get:function(){return this._destination},set:function(e){this._destination=e}}),Object.defineProperty(we,"title",{get:function(){return this._title},set:function(e){this._title=e}}),Object.defineProperty(we,"info",{get:function(){return this._info},set:function(e){this._info=e}}),Object.defineProperty(we,"level",{get:function(){return this._level},set:function(e){this._level=e}}),Object.defineProperty(we,"listType",{get:function(){return this._listData.type},set:function(e){this._listData.type=e}}),Object.defineProperty(we,"listTight",{get:function(){return this._listData.tight},set:function(e){this._listData.tight=e}}),Object.defineProperty(we,"listStart",{get:function(){return this._listData.start},set:function(e){this._listData.start=e}}),Object.defineProperty(we,"listDelimiter",{get:function(){return this._listData.delimiter},set:function(e){this._listData.delimiter=e}}),Object.defineProperty(we,"onEnter",{get:function(){return this._onEnter},set:function(e){this._onEnter=e}}),Object.defineProperty(we,"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 be(this)};var Oe=ve,Ee={};function Ce(e,t,n){var r,o,a,i,l,s="";for("string"!=typeof t&&(n=t,t=Ce.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,r=Ee[e];if(r)return r;for(r=Ee[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}Ce.defaultChars=";/?:@&=+$,-_.!~*'()#",Ce.componentChars="-_.!~*'()";var Te=Ce,xe=i(Object.freeze({__proto__:null,amp:"&",apos:"'",gt:">",lt:"<",quot:'"',default:{amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}})),Se=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:"‌"}})),De=Re(xe),Ae=je(De,Ie(De)),Le=Re(Se),e=je(Le,Ie(Le));function Re(n){return Object.keys(n).sort().reduce(function(e,t){return e[n[t]]="&"+t+";",e},{})}function Ie(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 _e=/[^\0-\x7F]/g,Me=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function Fe(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function Ue(e){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function je(t,n){function r(e){return t[e]}return function(e){return e.replace(n,r).replace(Me,Ue).replace(_e,Fe)}}var Be=Ie(De);var qe={XML:Ae,HTML:e,escape:function(e){return e.replace(Be,Fe).replace(Me,Ue).replace(_e,Fe)}},ze=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}})),Ve=function(e){if(55296<=e&&e<=57343||1114111<e)return"�";e in ze&&(e=ze[e]);var t="";65535<e&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e);return t+=String.fromCharCode(e)};var Ge=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:"ÿ"}})),He=Ye(xe),We=Ye(Se);function Ye(e){var t=Object.keys(e).join("|"),n=Xe(e);t+="|#[xX][\\da-fA-F]+|#\\d+";var r=new RegExp("&(?:"+t+");","g");return function(e){return String(e).replace(r,n)}}function Ke(e,t){return e<t?1:-1}function Xe(t){return function(e){return"#"===e.charAt(1)?"X"===e.charAt(2)||"x"===e.charAt(2)?Ve(parseInt(e.substr(3),16)):Ve(parseInt(e.substr(2),10)):t[e.slice(1,-1)]}}function Ze(e){return 92===e.charCodeAt(0)?e.charAt(1):tt(e)}function $e(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";default:return e}}function Je(e){return e.slice(1,e.length-1).trim().replace(dt,function(e){return ft[e]||" "})}var Qe={XML:He,HTML:function(){for(var e=Object.keys(Ge).sort(Ke),t=Object.keys(Se).sort(Ke),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=Xe(Se);function i(e){return";"!==e.substr(-1)&&(e+=";"),a(e)}return function(e){return String(e).replace(o,i)}}(),HTMLStrict:We},et=o(function(e,t){t.decode=function(e,t){return(!t||t<=0?Qe.XML:Qe.HTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?Qe.XML:Qe.HTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?qe.XML:qe.HTML)(e)},t.encodeXML=qe.XML,t.encodeHTML4=t.encodeHTML5=t.encodeHTML=qe.HTML,t.decodeXML=t.decodeXMLStrict=Qe.XML,t.decodeHTML4=t.decodeHTML5=t.decodeHTML=Qe.HTML,t.decodeHTML4Strict=t.decodeHTML5Strict=t.decodeHTMLStrict=Qe.HTMLStrict,t.escape=qe.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),nt="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",rt="[A-Za-z][A-Za-z0-9-]*",ot="<"+rt+"(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*/?>",at="</"+rt+"\\s*[>]",it=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"),lt=/[\\&]/,st="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",ut=new RegExp("\\\\"+st+"|"+nt,"gi"),ct=new RegExp('[&<>"]',"g"),pt={unescapeString:function(e){return lt.test(e)?e.replace(ut,Ze):e},normalizeURI:function(t){try{return Te(t)}catch(e){return t}},escapeXml:function(e){return ct.test(e)?e.replace(ct,$e):e},reHtmlTag:it,OPENTAG:ot,CLOSETAG:at,ENTITY:nt,ESCAPABLE:st},dt=/[ \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,ft={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","ﬓ":"մն","ﬔ":"մե","ﬕ":"մի","ﬖ":"վն","ﬗ":"մխ"},ht=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 mt(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||((Uo=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(e){}return n}())?Uo(String.prototype,"repeat",{value:mt,configurable:!0,writable:!0}):String.prototype.repeat=mt);function gt(e){var t=new Oe("text");return t._literal=e,t}function yt(e){return null===(e=e.exec(this.subject.slice(this.pos)))?null:(this.pos+=e.index+e[0].length,e[0])}function bt(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1}function vt(){return this.match(ln),!0}function wt(e){var t=this.match(tn);if(null===t)return!1;for(var n,r,o=this.pos;null!==(r=this.match(en));)if(r===t)return n=new Oe("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(gt(t)),!0}function Ot(e){var t,n=this.subject;return this.pos+=1,10===this.peek()?(this.pos+=1,t=new Oe("linebreak"),e.appendChild(t)):Jt.test(n.charAt(this.pos))?(e.appendChild(gt(n.charAt(this.pos))),this.pos+=1):e.appendChild(gt("\\")),!0}function Et(e){var t,n,r;return(t=this.match(on))?(n=t.slice(1,t.length-1),(r=new Oe("link"))._destination=zt("mailto:"+n),r._title="",r.appendChild(gt(n)),e.appendChild(r),!0):!!(t=this.match(an))&&(n=t.slice(1,t.length-1),(r=new Oe("link"))._destination=zt(n),r._title="",r.appendChild(gt(n)),e.appendChild(r),!0)}function Ct(e){var t=this.match(Kt);if(null===t)return!1;var n=new Oe("html_inline");return n._literal=t,e.appendChild(n),!0}function Tt(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":ht(a),r=un.test(i),o=Xt.test(i),a=un.test(t),i=Xt.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 xt(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=gt(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 St(e){null!==e.previous&&(e.previous.next=e.next),null===e.next?this.delimiters=e.previous:e.next.previous=e.previous}function Dt(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 Oe(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 At(){var e=this.match(Zt);return null===e?null:Vt(e.substr(1,e.length-2))}function kt(){var e=this.match($t);if(null!==e)return zt(Vt(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&&Jt.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!==sn.exec(ht(t)))break;this.pos+=1}return this.pos===n&&41!==t||0!==r?null:(e=this.subject.substr(n,this.pos-n),zt(Vt(e)))}function Nt(){var e=this.match(fn);return null===e||1001<e.length?0:e.length}function Pt(e){var t=this.pos;this.pos+=1;var n=gt("[");return e.appendChild(n),this.addBracket(n,t,!1),!0}function Lt(e){var t,n=this.pos;return this.pos+=1,91===this.peek()?(this.pos+=1,t=gt("!["),e.appendChild(t),this.addBracket(t,n+1,!0)):e.appendChild(gt("!")),!0}function Rt(e){var t,n,r,o,a=!1;if(this.pos+=1,t=this.pos,null===(o=this.brackets))return e.appendChild(gt("]")),!0;if(!o.active)return e.appendChild(gt("]")),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()&&(sn.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[Je(s)])&&(n=s.destination,r=s.title,a=!0)),a){var p,d,f=new Oe(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(gt("]")),!0}function It(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 _t(){this.brackets=this.brackets.previous}function Mt(e){var t;return!!(t=this.match(Qt))&&(e.appendChild(gt(Gt(t))),!0)}function Ft(e){var t;return!!(t=this.match(hn))&&(this.options.smart?e.appendChild(gt(t.replace(nn,"…").replace(rn,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(gt(t)),!0)}function Ut(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(cn,""),e.appendChild(new Oe(t?"linebreak":"softbreak"))):e.appendChild(new Oe("softbreak")),this.match(pn),!0}function jt(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(dn)?""!==r&&(r="",this.pos=e,null!==this.match(dn)):a))return this.pos=o,0;var i=Je(i);return""===i?(this.pos=o,0):(t[i]||(t[i]={destination:n,title:r}),this.pos-o)}function Bt(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(gt(ht(n)))),!0}function qt(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 zt=pt.normalizeURI,Vt=pt.unescapeString,Gt=et.decodeHTML,Ht=pt.ESCAPABLE,Wt="\\\\"+Ht,Yt=pt.ENTITY,Kt=pt.reHtmlTag,Xt=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]/),Zt=new RegExp('^(?:"('+Wt+'|[^"\\x00])*"|\'('+Wt+"|[^'\\x00])*'|\\(("+Wt+"|[^()\\x00])*\\))"),$t=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,Jt=new RegExp("^"+Ht),Qt=new RegExp("^"+Yt,"i"),en=/`+/,tn=/^`+/,nn=/\.\.\./g,rn=/--+/g,on=/^<([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,ln=/^ *(?:\n *)?/,sn=/^[ \t\n\x0b\x0c\x0d]/,un=/^\s/,cn=/ *$/,pn=/^ */,dn=/^ *(?:\n|$)/,fn=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/,hn=/^[^\n`\[\]\\!<&*_'"]+/m;function mn(e){return 32===e||9===e}function gn(e,t){return t<e.length?e.charCodeAt(t):-1}function yn(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 bn(){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 vn(e,t){for(;!this.blocks[this.tip.type].canContain(e);)this.finalize(this.tip,this.lineNumber-1);return(t=new Oe(e,[[this.lineNumber,t+1],[0,0]]))._string_content="",this.tip.appendChild(t),this.tip=t}function wn(){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 On(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 En(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1}function Cn(){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 Tn(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&&Vn[r.type].acceptsLines,a=this.blockStarts,i=a.length;!o;){if(this.findNextNonspace(),!this.indented&&!In.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&&Ln[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 xn(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 Sn(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 Dn(){return new Oe("document",[[1,1],[0,0]])}function An(e){this.doc=new Dn,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(zn),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 kn=function(e){return{subject:"",delimiters:null,brackets:null,pos:0,refmap:{},match:yt,peek:bt,spnl:vt,parseBackticks:wt,parseBackslash:Ot,parseAutolink:Et,parseHtmlTag:Ct,scanDelims:Tt,handleDelim:xt,parseLinkTitle:At,parseLinkDestination:kt,parseLinkLabel:Nt,parseOpenBracket:Pt,parseBang:Lt,parseCloseBracket:Rt,addBracket:It,removeBracket:_t,parseEntity:Mt,parseString:Ft,parseNewline:Ut,parseReference:jt,parseInline:Bt,processEmphasis:Dt,removeDelimiter:St,options:e||{},parse:qt}},Nn=pt.unescapeString,Pn=[/./,/^<(?: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("^(?:"+pt.OPENTAG+"|"+pt.CLOSETAG+")\\s*$","i")],Ln=[/./,/<\/(?:script|pre|style)>/i,/-->/,/\?>/,/>/,/\]\]>/],Rn=/^(?:(?:\*[ \t]*){3,}|(?:_[ \t]*){3,}|(?:-[ \t]*){3,})[ \t]*$/,In=/^[#`~*+_=<>0-9-]/,_n=/[^ \t\f\v\r\n]/,Mn=/^[*+-]/,Fn=/^(\d{1,9})([.)])/,Un=/^#{1,6}(?:[ \t]+|$)/,jn=/^`{3,}(?!.*`)|^~{3,}/,Bn=/^(?:`{3,}|~{3,})(?= *$)/,qn=/^(?:=+|-+)[ \t]*$/,zn=/\r\n|\n|\r/,Vn={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(yn(n)&&n._next){t._listData.tight=!1;break}for(var r=n._firstChild;r;){if(yn(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!==gn(t,e.nextNonspace)?1:(e.advanceNextNonspace(),e.advanceOffset(1,!1),mn(gn(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(Bn);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&&mn(gn(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=Nn(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===gn(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,!_n.test(r))&&t.unlink()},canContain:function(){return!1},acceptsLines:!0}},Gn=[function(e){return e.indented||62!==gn(e.currentLine,e.nextNonspace)?0:(e.advanceNextNonspace(),e.advanceOffset(1,!1),mn(gn(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(Un)))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(jn)))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===gn(e.currentLine,e.nextNonspace))for(var n=e.currentLine.slice(e.nextNonspace),r=1;r<=7;r++)if(Pn[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(qn)))return 0;for(e.closeUnmatchedBlocks();91===gn(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 Oe("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&&Rn.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(Mn))l.type="bullet",l.bulletChar=n[0][0];else{if(!(n=i.match(Fn))||"paragraph"===t.type&&"1"!==n[1])return null;l.type="ordered",l.start=parseInt(n[1]),l.delimiter=n[2]}if(-1!==(r=gn(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(_n))return null;for(e.advanceNextNonspace(),e.advanceOffset(n[0].length,!0),o=e.column,a=e.offset;e.advanceOffset(1,!0),r=gn(e.currentLine,e.offset),e.column-o<5&&mn(r););i=-1===gn(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,mn(gn(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 Hn=function(e){return{doc:new Dn,blocks:Vn,blockStarts:Gn,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 kn(e),findNextNonspace:Cn,advanceOffset:On,advanceNextNonspace:En,addLine:bn,addChild:vn,incorporateLine:Tn,finalize:xn,processInlines:Sn,closeUnmatchedBlocks:wn,parse:An,options:e||{}}};function Wn(){}Wn.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},Wn.prototype.out=function(e){this.lit(e)},Wn.prototype.lit=function(e){this.buffer+=e,this.lastOut=e},Wn.prototype.cr=function(){"\n"!==this.lastOut&&this.lit("\n")},Wn.prototype.esc=function(e){return e};function Yn(e){return Xn.test(e)&&!Zn.test(e)}var Kn=Wn,Xn=/^javascript:|vbscript:|file:|data:/i,Zn=/^data:image\/(?:png|gif|jpeg|webp)/i;function $n(e){(e=e||{}).softbreak=e.softbreak||"\n",this.disableTags=0,this.lastOut="\n",this.options=e}($n.prototype=Object.create(Kn.prototype)).text=function(e){this.out(e.literal)},$n.prototype.html_inline=function(e){this.options.safe?this.lit("\x3c!-- raw HTML omitted --\x3e"):this.lit(e.literal)},$n.prototype.html_block=function(e){this.cr(),this.options.safe?this.lit("\x3c!-- raw HTML omitted --\x3e"):this.lit(e.literal),this.cr()},$n.prototype.softbreak=function(){this.lit(this.options.softbreak)},$n.prototype.linebreak=function(){this.tag("br",[],!0),this.cr()},$n.prototype.link=function(e,t){var n=this.attrs(e);t?(this.options.safe&&Yn(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")},$n.prototype.image=function(e,t){t?(0===this.disableTags&&(this.options.safe&&Yn(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('" />')))},$n.prototype.emph=function(e,t){this.tag(t?"em":"/em")},$n.prototype.strong=function(e,t){this.tag(t?"strong":"/strong")},$n.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()))},$n.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())},$n.prototype.code=function(e){this.tag("code"),this.out(e.literal),this.tag("/code")},$n.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()},$n.prototype.thematic_break=function(e){e=this.attrs(e),this.cr(),this.tag("hr",e,!0),this.cr()},$n.prototype.block_quote=function(e,t){e=this.attrs(e),t?(this.cr(),this.tag("blockquote",e)):(this.cr(),this.tag("/blockquote")),this.cr()},$n.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()},$n.prototype.item=function(e,t){e=this.attrs(e),t?this.tag("li",e):(this.tag("/li"),this.cr())},$n.prototype.custom_inline=function(e,t){t&&e.onEnter?this.lit(e.onEnter):!t&&e.onExit&&this.lit(e.onExit)},$n.prototype.custom_block=function(e,t){this.cr(),t&&e.onEnter?this.lit(e.onEnter):!t&&e.onExit&&this.lit(e.onExit),this.cr()},$n.prototype.esc=pt.escapeXml,$n.prototype.out=function(e){this.lit(this.esc(e))},$n.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=">"}},$n.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 Jn=$n,Qn=/\<[^>]*\>/;function er(e){e=e||{},this.disableTags=0,this.lastOut="\n",this.indentLevel=0,this.indent=" ",this.options=e}(er.prototype=Object.create(Kn.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(Qn,""):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=pt.escapeXml;var tr={Node:Oe,Parser:Hn,Renderer:Kn,HtmlRenderer:Jn,XmlRenderer:er},nr="__lodash_hash_undefined__",rr=9007199254740991,or="[object Arguments]",ar="[object Function]",ir="[object GeneratorFunction]",lr=/^\[object .+?Constructor\]$/,sr="object"==typeof n&&n&&n.Object===Object&&n,G="object"==typeof self&&self&&self.Object===Object&&self,ur=sr||G||Function("return this")();function cr(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,dr,n);var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,0)}function pr(e,t,n){for(var r=-1,o=e?e.length:0;++r<o;)if(n(t,e[r]))return!0;return!1}function dr(e){return e!=e}function fr(e,t){return e.has(t)}var we=Array.prototype,ve=Function.prototype,Le=Object.prototype,De=ur["__core-js_shared__"],hr=(Ae=/[^.]+$/.exec(De&&De.keys&&De.keys.IE_PROTO||""))?"Symbol(src)_1."+Ae:"",mr=ve.toString,gr=Le.hasOwnProperty,yr=Le.toString,br=RegExp("^"+mr.call(gr).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),e=ur.Symbol,vr=Le.propertyIsEnumerable,wr=we.splice,Or=e?e.isConcatSpreadable:void 0,Er=Math.max,Cr=Ir(ur,"Map"),Tr=Ir(Object,"create");function xr(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 Sr(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 Dr(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 Ar(e){var t=-1,n=e?e.length:0;for(this.__data__=new Dr;++t<n;)this.add(e[t])}function kr(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 Nr(e,t,n,r){var o,a=-1,i=cr,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=pr,l=!1):200<=t.length&&(i=fr,l=!1,t=new Ar(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 Pr(e,t,n,r,o){var a=-1,i=e.length;for(n=n||_r,o=o||[];++a<i;){var l=e[a];0<t&&n(l)?1<t?Pr(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 Lr(e){var t;return zr(e)&&(t=e,!(hr&&hr in t))&&(qr(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?br:lr).test(function(e){if(null!=e){try{return mr.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function Rr(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 Ir(e,t){t=t,t=null==(e=e)?void 0:e[t];return Lr(t)?t:void 0}function _r(e){return Ur(e)||Br(t=e)&&gr.call(t,"callee")&&(!vr.call(t,"callee")||yr.call(t)==or)||!!(Or&&e&&e[Or]);var t}xr.prototype.clear=function(){this.__data__=Tr?Tr(null):{}},xr.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},xr.prototype.get=function(e){var t=this.__data__;if(Tr){var n=t[e];return n===nr?void 0:n}return gr.call(t,e)?t[e]:void 0},xr.prototype.has=function(e){var t=this.__data__;return Tr?void 0!==t[e]:gr.call(t,e)},xr.prototype.set=function(e,t){return this.__data__[e]=Tr&&void 0===t?nr:t,this},Sr.prototype.clear=function(){this.__data__=[]},Sr.prototype.delete=function(e){var t=this.__data__;return!((e=kr(t,e))<0)&&(e==t.length-1?t.pop():wr.call(t,e,1),!0)},Sr.prototype.get=function(e){var t=this.__data__;return(e=kr(t,e))<0?void 0:t[e][1]},Sr.prototype.has=function(e){return-1<kr(this.__data__,e)},Sr.prototype.set=function(e,t){var n=this.__data__,r=kr(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Dr.prototype.clear=function(){this.__data__={hash:new xr,map:new(Cr||Sr),string:new xr}},Dr.prototype.delete=function(e){return Rr(this,e).delete(e)},Dr.prototype.get=function(e){return Rr(this,e).get(e)},Dr.prototype.has=function(e){return Rr(this,e).has(e)},Dr.prototype.set=function(e,t){return Rr(this,e).set(e,t),this},Ar.prototype.add=Ar.prototype.push=function(e){return this.__data__.set(e,nr),this},Ar.prototype.has=function(e){return this.__data__.has(e)};var Mr,Fr,xe=(Mr=function(e,t){return Br(e)?Nr(e,Pr(t,1,Br,!0)):[]},Fr=Er(void 0===Fr?Mr.length-1:Fr,0),function(){for(var e=arguments,t=-1,n=Er(e.length-Fr,0),r=Array(n);++t<n;)r[t]=e[Fr+t];for(var t=-1,o=Array(Fr+1);++t<Fr;)o[t]=e[t];return o[Fr]=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)}(Mr,this,o)});var Ur=Array.isArray;function jr(e){return null!=e&&("number"==typeof(t=e.length)&&-1<t&&t%1==0&&t<=rr)&&!qr(e);var t}function Br(e){return!!(t=e)&&"object"==typeof t&&jr(e);var t}function qr(e){e=zr(e)?yr.call(e):"";return e==ar||e==ir}function zr(e){var t=typeof e;return e&&("object"==t||"function"==t)}function Vr(e){var t=e.as,n=e.children,r=e.className,o=e.allowList,a=e.blockList;return n?(null!=o&&o.length&&null!=a&&a.length&&pe("Markdown supports only one of `allowList` or `blockList` to be used at a time. `blockList` will be ignored."),H(t,{className:r,dangerouslySetInnerHTML:{__html:(n=function(e){e=Hr.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?Gr(Yr,o):a}):e}(n),Wr.render(n))}})):null}var Gr=xe,Hr=new tr.Parser,Wr=new tr.HtmlRenderer({safe:!0}),Yr=Object.values(_.MarkdownNodeType);function Kr(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 Xr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Kr(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Kr(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}Vr.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"]))},Vr.defaultProps={as:"div",className:void 0,allowList:null,blockList:null};function Zr(e){return H(Vr,Xr(Xr({},e),{},{as:"span",allowList:$r,blockList:void 0}))}var $r=[_.MarkdownNodeType.STRONG];function Jr(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 Qr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Jr(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Jr(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function eo(t,n){function e(e){return H(t,Qr(Qr({},e),{},{className:B(e.className,function(e){if(e){var t=["arrow"],n=_.AlertArrowPosition.BOTTOM,r=_.AlertArrowPosition.BOTTOM_LEFT,o=_.AlertArrowPosition.BOTTOM_RIGHT,a=_.AlertArrowPosition.TOP,i=_.AlertArrowPosition.TOP_RIGHT,l=_.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}Zr.propTypes={children:l.default.string.isRequired,className:l.default.string},Zr.defaultProps={className:void 0},(He=_.AlertArrowPosition||(_.AlertArrowPosition={})).TOP_LEFT="up-left",He.TOP="up-center",He.TOP_RIGHT="up-right",He.BOTTOM_LEFT="down-left",He.BOTTOM="down-center",He.BOTTOM_RIGHT="down-right";var no=(h(We={},_.Sentiment.SUCCESS,_.Sentiment.POSITIVE),h(We,_.Sentiment.INFO,_.Sentiment.NEUTRAL),h(We,_.Sentiment.ERROR,_.Sentiment.NEGATIVE),We),ro=(h(rt={},_.Sentiment.POSITIVE,T.CheckCircle),h(rt,_.Sentiment.NEUTRAL,T.InfoCircle),h(rt,_.Sentiment.WARNING,T.Alert),h(rt,_.Sentiment.NEGATIVE,T.AlertCircle),rt),it=function e(t){var n=M.useState(!1),r=j(n,2),o=r[0],a=r[1],i=t.arrow,l=t.action,s=t.children,u=t.className,c=t.icon,p=t.onDismiss,n=t.message,r=t.type,d=M.useRef(null);if(i){var f=eo(e,i);return H(f,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){h(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=(f=t).size,f=f.type,fe("Alert no longer supports any possible variations in size. Please remove the `size` prop.",!!t),fe("Alert has deprecated the ".concat(f," value for the `type` prop. Please update to ").concat(oo[f],"."),ao.includes(f));r=no[r]||r,c=c?M.cloneElement(c,{size:24}):H(ro[r],{size:24});return W("div",{role:"alert",className:B("alert d-flex","alert-".concat(r),u),onTouchStart:function(){return a(!0)},onTouchEnd:function(e){o&&l&&null!=d&&d.current&&!d.current.contains(e.target)&&("_blank"===(null==l?void 0:l.target)?window.top.open(l.href):window.top.location.assign(l.href)),a(!1)},onTouchMove:function(){return a(!1)},children:[c,W("div",{className:"alert__message flex-grow-1 p-l-2",children:[H("div",{children:s||H(Zr,{children:n})}),l&&H("a",{href:l.href,className:"m-t-1 d-inline-block","aria-label":l["aria-label"],target:l.target,children:l.text})]}),p&&H(ce,{ref:d,size:16,className:"m-l-2",onClick:p})]})},oo=(h(ot={},_.Sentiment.SUCCESS,"Sentiment.POSITIVE"),h(ot,_.Sentiment.INFO,"Sentiment.NEUTRAL"),h(ot,_.Sentiment.ERROR,"Sentiment.NEGATIVE"),ot),ao=Object.keys(no);it.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:$(l.default.node,function(e){return!e.children}),onDismiss:l.default.func,type:l.default.oneOf(["negative","neutral","positive","warning","info","error","success"]),arrow:he(l.default.oneOf(["up-left","up-center","up-right","down-left","down-center","down-right"]),{component:"Alert",expiryDate:new Date("03-01-2021")}),children:he($(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:he(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")})},it.defaultProps={action:void 0,arrow:void 0,className:void 0,dismissible:void 0,icon:void 0,type:_.Sentiment.NEUTRAL},(at=_.AvatarType||(_.AvatarType={})).THUMBNAIL="thumbnail",at.ICON="icon",at.EMOJI="emoji",at.INITIALS="initials";function io(e){var t=e.backgroundColor,n=e.children,r=e.className,o=e.outlined,a=e.size,i=e.theme,e=e.type;return H("div",{className:B("tw-avatar",r,"tw-avatar--".concat(a),"tw-avatar--".concat(e),"tw-avatar--".concat(i),{"tw-avatar--outlined":o}),children:H("div",{className:"tw-avatar__content",style:{backgroundColor:t||void 0},children:n})})}io.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"])},io.defaultProps={backgroundColor:null,children:null,className:null,outlined:!1,size:_.Size.MEDIUM,theme:_.Theme.LIGHT,type:_.AvatarType.THUMBNAIL};function lo(e){var t=e.badge,n=void 0===(a=e.className)?void 0:a,r=void 0===(o=e.size)?_.Size.SMALL:o,o=void 0===(a=e.border)?_.Theme.LIGHT:a,a=e.children,n=B("tw-badge",(h(e={},"tw-badge-border-".concat(o),o),h(e,"tw-badge-".concat(r),r),e),n);return W("div",{className:n,children:[H("div",{className:"tw-badge__children",children:a}),H("div",{className:"tw-badge__content",children:t})]})}var so=["url","children"];function uo(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 co(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?uo(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):uo(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function po(e){var t=e.url,n=e.children,e=ne(e,so);return t?H(lo,co(co({badge:H("img",{src:t,alt:""})},e),{},{children:n})):n}po.propTypes={url:l.default.string,children:l.default.node.isRequired},po.defaultProps={url:void 0};nt=function(e){var t=e.url,n=e.profileType,r=e.badgeUrl,o=e.name,a=e.avatarProps,i=e.badgeProps,e=M.useState(!1),e=j(e,2),l=e[0],s=e[1],u=n===_.ProfileType.BUSINESS;M.useEffect(function(){return s(!1)},[t]);return H(po,co(co({url:r},i),{},{children:H(io,co({size:_.Size.MEDIUM},co(t&&!l?{type:_.AvatarType.THUMBNAIL,children:H("img",{src:t,alt:"avatar",onError:function(){return s(!0)}})}:n?{type:_.AvatarType.ICON,children:H(u?T.Briefcase:T.Profile,{})}:o?{type:_.AvatarType.INITIALS,children:H("small",{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]}(o)})}:{type:_.AvatarType.ICON,children:H(T.Profile,{})},a)))}))};function fo(){return(fo=Object.assign||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 ho(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 mo(e,t){return(mo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function go(e,t){e.prototype=Object.create(t.prototype),mo(e.prototype.constructor=e,t)}function yo(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}nt.defaultProps={url:void 0,profileType:void 0,badgeUrl:void 0,name:void 0,avatarProps:{},badgeProps:{}};var bo=!(nt.propTypes={url:l.default.string,profileType:l.default.oneOf(["PERSONAL","BUSINESS"]),badgeUrl:l.default.string,name:l.default.string,avatarProps:l.default.shape({}),badgeProps:l.default.shape({})}),vo="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,st="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,wo=ke.default.createContext(null),Oo="unmounted",Eo="exited",Co="entering",To="entered",xo="exiting",So=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=Eo,r.appearStatus=Co):n=To:n=e.unmountOnExit||e.mountOnEnter?Oo:Eo,r.state={status:n},r.nextCallback=null,r}go(e,o),e.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Oo?{status:Eo}: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!==Co&&e!==To&&(t=Co):e!==Co&&e!==To||(t=xo)),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===Co?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===Eo&&this.setState({status:Oo})},t.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[Ne.default.findDOMNode(this),r],a=o[0],i=o[1],o=this.getTimeouts(),l=r?o.appear:o.enter;!e&&!n||bo?this.safeSetState({status:To},function(){t.props.onEntered(a)}):(this.props.onEnter(a,i),this.safeSetState({status:Co},function(){t.props.onEntering(a,i),t.onTransitionEnd(l,function(){t.safeSetState({status:To},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:Ne.default.findDOMNode(this);t&&!bo?(this.props.onExit(r),this.safeSetState({status:xo},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Eo},function(){e.props.onExited(r)})})})):this.safeSetState({status:Eo},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:Ne.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===Oo)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,ho(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return ke.default.createElement(wo.Provider,{value:null},"function"==typeof n?n(e,t):ke.default.cloneElement(ke.default.Children.only(n),t))},e}(ke.default.Component);function Do(){}So.contextType=wo,So.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=vo;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}:{},So.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Do,onEntering:Do,onEntered:Do,onExit:Do,onExiting:Do,onExited:Do},So.UNMOUNTED=Oo,So.EXITED=Eo,So.ENTERING=Co,So.ENTERED=To,So.EXITING=xo;function Ao(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 ko(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=yo(e.className,t):e.setAttribute("class",yo(e.className&&e.className.baseVal||"",t))})}var No=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}go(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,Ao(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&&ko(e,r),o&&ko(e,o),n&&ko(e,n)},t.render=function(){var e=this.props,e=(e.classNames,ho(e,["classNames"]));return ke.default.createElement(So,fo({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},e}(ke.default.Component);No.defaultProps={classNames:""},No.propTypes="production"!==process.env.NODE_ENV?fo({},So.propTypes,{classNames:st,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 Po(e){try{return!!e()}catch(e){return!0}}function Lo(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}function Ro(e){return zo.call(e).slice(8,-1)}function Io(e){if(null==e)throw TypeError("Can't call method on "+e);return e}function _o(e){return Go(Io(e))}function Mo(e){return"object"==typeof e?null!==e:"function"==typeof e}function Fo(e,t){return arguments.length<2?"function"==typeof(n=jo[e])?n:void 0:jo[e]&&jo[e][t];var n}var Uo=function(e){return e&&e.Math==Math&&e},jo=Uo("object"==typeof globalThis&&globalThis)||Uo("object"==typeof window&&window)||Uo("object"==typeof self&&self)||Uo("object"==typeof n&&n)||function(){return this}()||Function("return this")(),et=!Po(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),Wt={}.propertyIsEnumerable,Bo=Object.getOwnPropertyDescriptor,qo={f:Bo&&!Wt.call({1:2},1)?function(e){e=Bo(this,e);return!!e&&e.enumerable}:Wt},zo={}.toString,Vo="".split,Go=Po(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==Ro(e)?Vo.call(e,""):Object(e)}:Object,Ht=Fo("navigator","userAgent")||"",Yt=jo.process,pt=jo.Deno,Hn=Yt&&Yt.versions||pt&&pt.version,Kn=Hn&&Hn.v8;Kn?zl=(Fl=Kn.split("."))[0]<4?1:Fl[0]+Fl[1]:Ht&&(!(Fl=Ht.match(/Edge\/(\d+)/))||74<=Fl[1])&&(Fl=Ht.match(/Chrome\/(\d+)/))&&(zl=Fl[1]);function Ho(t,n){try{Object.defineProperty(jo,t,{value:n,configurable:!0,writable:!0})}catch(e){jo[t]=n}return n}function Wo(e){return Object(Io(e))}function Yo(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++oa+aa).toString(36)}function Ko(e,t){if(!Mo(e)||ea(e))return e;var n=e[ua];if(void 0===n)return function(e,t){var n,r;if("string"===t&&"function"==typeof(n=e.toString)&&!Mo(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!Mo(r=n.call(e)))return r;if("string"!==t&&"function"==typeof(n=e.toString)&&!Mo(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}(e,t=void 0===t?"number":t);if(t=n.call(e,t=void 0===t?"default":t),!Mo(t)||ea(t))return t;throw TypeError("Can't convert object to primitive value")}function Xo(e){return e=Ko(e,"string"),ea(e)?e:String(e)}function Zo(e){return pa?ca.createElement(e):{}}function $o(e){if(!Mo(e))throw TypeError(String(e)+" is not an object");return e}var Jo=zl&&+zl,Qo=!!Object.getOwnPropertySymbols&&!Po(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Jo&&Jo<41}),Jn=Qo&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ea=Jn?function(e){return"symbol"==typeof e}:function(e){var t=Fo("Symbol");return"function"==typeof t&&Object(e)instanceof t},sr="__core-js_shared__",ta=jo[sr]||Ho(sr,{}),G=o(function(e){(e.exports=function(e,t){return ta[e]||(ta[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.16.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),na={}.hasOwnProperty,ra=Object.hasOwn||function(e,t){return na.call(Wo(e),t)},oa=0,aa=Math.random(),ia=G("wks"),la=jo.Symbol,sa=Jn?la:la&&la.withoutSetter||Yo,De=function(e){return ra(ia,e)&&(Qo||"string"==typeof ia[e])||(Qo&&ra(la,e)?ia[e]=la[e]:ia[e]=sa("Symbol."+e)),ia[e]},ua=De("toPrimitive"),ca=jo.document,pa=Mo(ca)&&Mo(ca.createElement),da=!et&&!Po(function(){return 7!=Object.defineProperty(Zo("div"),"a",{get:function(){return 7}}).a}),fa=Object.getOwnPropertyDescriptor,ha={f:et?fa:function(e,t){if(e=_o(e),t=Xo(t),da)try{return fa(e,t)}catch(e){}if(ra(e,t))return Lo(!qo.f.call(e,t),e[t])}},ma=Object.defineProperty,ga={f:et?ma:function(e,t,n){if($o(e),t=Xo(t),$o(n),da)try{return ma(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},ya=et?function(e,t,n){return ga.f(e,t,Lo(1,n))}:function(e,t,n){return e[t]=n,e},ba=Function.toString;"function"!=typeof ta.inspectSource&&(ta.inspectSource=function(e){return ba.call(e)});var va,wa,Oa,Ea,Ca,Ta,xa,Sa,Da=ta.inspectSource,Ae=jo.WeakMap,ve="function"==typeof Ae&&/native code/.test(Da(Ae)),Aa=G("keys"),Le=function(e){return Aa[e]||(Aa[e]=Yo(e))},ka={},Na="Object already initialized",we=jo.WeakMap;xa=ve||ta.state?(va=ta.state||(ta.state=new we),wa=va.get,Oa=va.has,Ea=va.set,Ca=function(e,t){if(Oa.call(va,e))throw new TypeError(Na);return t.facade=e,Ea.call(va,e,t),t},Ta=function(e){return wa.call(va,e)||{}},function(e){return Oa.call(va,e)}):(Sa=Le("state"),ka[Sa]=!0,Ca=function(e,t){if(ra(e,Sa))throw new TypeError(Na);return t.facade=e,ya(e,Sa,t),t},Ta=function(e){return ra(e,Sa)?e[Sa]:{}},function(e){return ra(e,Sa)});function Pa(e){return isNaN(e=+e)?0:(0<e?Ma:_a)(e)}function La(e,t){var n,r=_o(e),o=0,a=[];for(n in r)!ra(ka,n)&&ra(r,n)&&a.push(n);for(;t.length>o;)ra(r,n=t[o++])&&(~Ba(a,n)||a.push(n));return a}var Ra={set:Ca,get:Ta,has:xa,enforce:function(e){return xa(e)?Ta(e):Ca(e,{})},getterFor:function(n){return function(e){var t;if(!Mo(e)||(t=Ta(e)).type!==n)throw TypeError("Incompatible receiver, "+n+" required");return t}}},Ia=o(function(e){var t=Ra.get,l=Ra.enforce,s=String(String).split("String");(e.exports=function(e,t,n,r){var o=!!r&&!!r.unsafe,a=!!r&&!!r.enumerable,i=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof t||ra(n,"name")||ya(n,"name",t),(r=l(n)).source||(r.source=s.join("string"==typeof t?t:""))),e!==jo?(o?!i&&e[t]&&(a=!0):delete e[t],a?e[t]=n:ya(e,t,n)):a?e[t]=n:Ho(t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||Da(this)})}),_a=Math.ceil,Ma=Math.floor,Fa=Math.min,Ua=Math.max,ja=Math.min,e=function(l){return function(e,t,n){var r,o=_o(e),a=0<(e=o.length)?Fa(Pa(e),9007199254740991):0,i=function(e,t){e=Pa(e);return e<0?Ua(e+t,0):ja(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}},ur={includes:e(!0),indexOf:e(!1)},Ba=ur.indexOf,qa=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],za=qa.concat("length","prototype"),Va={f:Object.getOwnPropertyNames||function(e){return La(e,za)}},Ga={f:Object.getOwnPropertySymbols},Ha=Fo("Reflect","ownKeys")||function(e){var t=Va.f($o(e)),n=Ga.f;return n?t.concat(n(e)):t},Wa=/#|\.prototype\./,xe=function(e,t){e=Ka[Ya(e)];return e==Za||e!=Xa&&("function"==typeof t?Po(t):!!t)},Ya=xe.normalize=function(e){return String(e).replace(Wa,".").toLowerCase()},Ka=xe.data={},Xa=xe.NATIVE="N",Za=xe.POLYFILL="P",$a=xe,Ja=ha.f,tr=function(e,t){var n,r,o,a=e.target,i=e.global,l=e.stat,s=i?jo:l?jo[a]||Ho(a,{}):(jo[a]||{}).prototype;if(s)for(n in t){if(r=t[n],o=e.noTargetGet?(o=Ja(s,n))&&o.value:s[n],!$a(i?n:a+(l?".":"#")+n,e.forced)&&void 0!==o){if(typeof r==typeof o)continue;!function(e,t){for(var n=Ha(t),r=ga.f,o=ha.f,a=0;a<n.length;a++){var i=n[a];ra(e,i)||r(e,i,o(t,i))}}(r,o)}(e.sham||o&&o.sham)&&ya(r,"sham",!0),Ia(s,n,r,e)}};tr({target:"Number",stat:!0},{isNaN:function(e){return e!=e}});function Qa(){}function ei(e){return"<script>"+e+"</"+si+">"}function ti(e){e.write(ei("")),e.close();var t=e.parentWindow.Object;return e=null,t}var ni,ri=Object.setPrototypeOf||("__proto__"in{}?function(){var n,r=!1,e={};try{(n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),r=e instanceof Array}catch(e){}return function(e,t){return $o(e),function(e){if(!Mo(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(t),r?n.call(e,t):e.__proto__=t,e}}():void 0),oi=Object.keys||function(e){return La(e,qa)},ai=et?Object.defineProperties:function(e,t){$o(e);for(var n,r=oi(t),o=r.length,a=0;a<o;)ga.f(e,n=r[a++],t[n]);return e},ii=Fo("document","documentElement"),li="prototype",si="script",ui=Le("IE_PROTO"),ci=function(){try{ni=new ActiveXObject("htmlfile")}catch(e){}ci=(!document.domain||!ni)&&function(){var e=Zo("iframe");if(e.style)return e.style.display="none",ii.appendChild(e),e.src=String("javascript:"),(e=e.contentWindow.document).open(),e.write(ei("document.F=Object")),e.close(),e.F}()||ti(ni);for(var e=qa.length;e--;)delete ci[li][qa[e]];return ci()};ka[ui]=!0;function pi(e){if(ea(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}function di(e){if(ea(e))throw TypeError("Cannot convert a Symbol value to a number");var t,n,r,o,a,i,l,s=Ko(e,"number");if("string"==typeof s&&2<s.length)if(43===(t=(s=yi(s)).charCodeAt(0))||45===t){if(88===(e=s.charCodeAt(2))||120===e)return NaN}else if(48===t){switch(s.charCodeAt(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=s.slice(2)).length,i=0;i<a;i++)if((l=o.charCodeAt(i))<48||r<l)return NaN;return parseInt(o,n)}return+s}var He=Object.create||function(e,t){var n;return null!==e?(Qa[li]=$o(e),n=new Qa,Qa[li]=null,n[ui]=e):n=ci(),void 0===t?n:ai(n,t)},We="[\t\n\v\f\r                 \u2028\u2029\ufeff]",fi=RegExp("^"+We+We+"*"),hi=RegExp(We+We+"*$"),rt=function(t){return function(e){e=pi(Io(e));return 1&t&&(e=e.replace(fi,"")),e=2&t?e.replace(hi,""):e}},ot={start:rt(1),end:rt(2),trim:rt(3)},at=Va.f,mi=ha.f,gi=ga.f,yi=ot.trim,bi="Number",vi=jo[bi],wi=vi.prototype,Oi=Ro(He(wi))==bi;if($a(bi,!vi(" 0o1")||!vi("0b1")||vi("+0x1"))){for(var Ei,Ci=function(e){var t,n,r,o,a=arguments.length<1?0:e,i=this;return i instanceof Ci&&(Oi?Po(function(){wi.valueOf.call(i)}):Ro(i)!=bi)?(t=new vi(di(a)),n=i,e=Ci,ri&&"function"==typeof(r=n.constructor)&&r!==e&&Mo(o=r.prototype)&&o!==e.prototype&&ri(t,o),t):di(a)},Ti=et?at(vi):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),xi=0;Ti.length>xi;xi++)ra(vi,Ei=Ti[xi])&&!ra(Ci,Ei)&&gi(Ci,Ei,mi(vi,Ei));(Ci.prototype=wi).constructor=Ci,Ia(jo,bi,Ci)}function Si(e){return Array.isArray(e)}var Di=function(e){return"number"==typeof e&&!Number.isNaN(e)},Ai=function(e){return null===e},ki=function(e){return void 0===e};tr({target:"Object",stat:!0,forced:Po(function(){oi(1)})},{keys:function(e){return oi(Wo(e))}});var Ni=function(e){return"string"==typeof e&&0===e.length||(!Ai(t=e)&&!ki(t)&&t.constructor===Object||Si(e))&&0===Object.keys(e).length;var t},Pi=De("unscopables"),Li=Array.prototype;null==Li[Pi]&&ga.f(Li,Pi,{configurable:!0,value:He(null)});var Ri=ur.includes;tr({target:"Array",proto:!0},{includes:function(e){return Ri(this,e,1<arguments.length?arguments[1]:void 0)}}),Li[Pi].includes=!0;function Ii(e){if(Mo(t=e)&&(void 0!==(n=t[_i])?!!n:"RegExp"==Ro(t)))throw TypeError("The method doesn't accept regular expressions");var t,n;return e}var _i=De("match"),Mi=De("match");tr({target:"String",proto:!0,forced:!function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[Mi]=!1,"/./"[t](n)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~pi(Io(this)).indexOf(pi(Ii(e)),1<arguments.length?arguments[1]:void 0)}});function Fi(e){var t=e.keyType,n=e.event;return!(!t||!n)&&(e=t.toUpperCase(),!!(t=Ui[e])&&(e=n.key,n=n.keyCode,e?Si(t.key)?t.key.includes(e):e===t.key:n===t.keyCode))}var Ui={SPACE:{key:[" ","Spacebar"],keyCode:32},ENTER:{key:"Enter",keyCode:13},TAB:{key:"Tab",keyCode:9},ESCAPE:{key:"Escape",keyCode:27}},ji="Expected a function",Bi=NaN,qi="[object Symbol]",zi=/^\s+|\s+$/g,Vi=/^[-+]0x[0-9a-f]+$/i,Gi=/^0b[01]+$/i,Hi=/^0o[0-7]+$/i,Wi=parseInt,st="object"==typeof n&&n&&n.Object===Object&&n,Uo="object"==typeof self&&self&&self.Object===Object&&self,Yi=st||Uo||Function("return this")(),Ki=Object.prototype.toString,Xi=Math.max,Zi=Math.min,$i=function(){return Yi.Date.now()};function Ji(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(ji);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=$i();if(h(t))return g(t);s=setTimeout(m,(t=n-((e=t)-u),d?Zi(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=$i(),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=el(n)||0,Qi(e)&&(p=!!e.leading,d="maxWait"in e,i=d?Xi(el(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($i())},y}function Qi(e){var t=typeof e;return e&&("object"==t||"function"==t)}function el(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||!!(n=t)&&"object"==typeof n&&Ki.call(t)==qi)return Bi;var t,n;if("string"!=typeof(e=Qi(e)?Qi(r="function"==typeof e.valueOf?e.valueOf():e)?r+"":r:e))return 0===e?e:+e;e=e.replace(zi,"");var r=Gi.test(e);return r||Hi.test(e)?Wi(e.slice(2),r?2:8):Vi.test(e)?Bi:+e}function tl(e){var n=e.ref,t=e.throttleMs,r=void 0===t?100:t,e=M.useState(null),e=(t=j(e,2))[0],o=t[1];return rl(function(){function e(){n&&(n.innerWidth?o(n.innerWidth):n.current&&o(n.current.clientWidth))}var t=nl(e,r);return window.addEventListener("resize",t,!0),window.requestAnimationFrame(e),function(){return window.removeEventListener("resize",t,!0)}},[]),[e]}var nl=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError(ji);return Qi(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ji(e,t,{leading:r,maxWait:t,trailing:o})},rl="undefined"!=typeof window?M.useLayoutEffect:M.useEffect;tl.THROTTLE_MS=100;function ol(e){var t=e.attachListener,n=e.callback,r=e.eventType,o=e.parent;M.useEffect(function(){return t&&(ki(o)||o.addEventListener(r,n,!0)),function(){ki(o)||o.removeEventListener(r,n,!0)}},[t])}function al(e){var t=e.direction,e=e.children;return H(cl.Provider,{value:t,children:e})}function il(){var e=M.useContext(cl);return{direction:e,isRTL:"rtl"===e}}function ll(e){function n(e,t){e.forEach(function(e){e.isIntersecting&&(a(!0),t.unobserve(r.current))})}var r=e.elRef,t=e.loading,o=M.useState(!1),o=(e=j(o,2))[0],a=e[1];return M.useEffect(function(){var e,t=!1;return"undefined"!=typeof window&&window.IntersectionObserver&&r&&r.current?t||(e=new IntersectionObserver(n,pl)).observe(r.current):a(!0),function(){t=!0,e&&e.unobserve(r.current)}},[r]),"eager"===t?[!1]:[o]}function sl(){var e="undefined"==typeof window?void 0:window,t=M.useState(),n=j(t,2),t=n[0],r=n[1],e=tl({ref:e}),o=j(e,1)[0];return M.useEffect(function(){o&&(o<=_.Breakpoint.EXTRA_SMALL?r(_.Breakpoint.EXTRA_SMALL):_.Breakpoint.EXTRA_SMALL<o&&o<=_.Breakpoint.SMALL?r(_.Breakpoint.SMALL):_.Breakpoint.SMALL<o&&o<=_.Breakpoint.MEDIUM?r(_.Breakpoint.MEDIUM):_.Breakpoint.MEDIUM<o&&o<=_.Breakpoint.LARGE?r(_.Breakpoint.LARGE):_.Breakpoint.LARGE<o&&r(_.Breakpoint.EXTRA_LARGE))},[o]),{isMobile:!!t&&[_.Breakpoint.EXTRA_SMALL,_.Breakpoint.SMALL].includes(t),isExtraSmall:t===_.Breakpoint.EXTRA_SMALL,isSmall:t===_.Breakpoint.SMALL,isMedium:t===_.Breakpoint.MEDIUM,isLarge:t===_.Breakpoint.LARGE,isExtraLarge:t===_.Breakpoint.EXTRA_LARGE}}function ul(e){var t=e.children,r=M.useRef(),e=ki(document)?void 0:document,o={};return M.useEffect(function(){var e,t,n;r.current.focus(),e=r.current,n={first:e,last:e},null==e||!e.querySelectorAll||0<(t=U(e.querySelectorAll('a, button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])')).filter(function(e){return!e.hasAttribute("disabled")})).length&&(e=j(t,1),n.first=e[0],n.last=t[t.length-1]),o=n},[]),ol({eventType:"keydown",callback:function(e){return Fi({keyType:dl,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()),void(n.shiftKey||t!==e||(r&&r.focus(),n.preventDefault())));var t,n,r},attachListener:!0,parent:e}),H("span",{ref:r,tabIndex:-1,className:"np-focus-boundary outline-none",children:t})}var cl=M.createContext(_.Direction.LTR),pl={threshold:.1},dl=x.TAB;function fl(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 hl(o){return function(e){var t=M.useState(!1),n=j(t,2),t=n[0],r=n[1];return M.useEffect(function(){r(!0)},[r]),t?a.createPortal(H(o,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fl(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fl(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},e)),document.body):null}}ul.propTypes={children:l.default.node};function ml(e){var t=e.target.classList.contains("dimmer");v()&&t&&(e.stopPropagation(),e.preventDefault())}var gl=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),e},e.exports.default=e.exports,e.exports.__esModule=!0})),yl=new(function(){function e(){y(this,e),h(this,"dimmers",void 0),this.dimmers=[]}return gl(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}()),bl=function(e){var t=e.children,n=e.scrollBody;return M.useEffect(function(){return n&&(document.documentElement.classList.add(C),document.body.classList.add(C)),function(){n&&(document.documentElement.classList.remove(C),document.body.classList.remove(C))}},[n]),t},vl=hl(function(e){var t=e.children,n=e.className,r=e.disableClickToClose,o=void 0!==r&&r,a=e.fadeContentOnEnter,i=void 0!==a&&a,l=e.fadeContentOnExit,r=void 0!==l&&l,a=e.open,s=void 0!==a&&a,l=e.scrollable,a=void 0!==l&&l,l=e.transparent,l=void 0!==l&&l,u=e.onClose,c=M.useRef(null),p=M.useCallback(function(e){"Escape"===e.key&&(e.stopPropagation(),u&&c.current&&yl.isTop(c.current)&&u(e))},[u]);return M.useEffect(function(){var e=c.current;return s&&(document.addEventListener("keydown",p),null!=e&&e.addEventListener("touchmove",ml)),function(){document.removeEventListener("keydown",p),null!=e&&e.removeEventListener("touchmove",ml)}},[p,s]),H(No,{in:s,appear:!0,timeout:{enter:0,exit:350},classNames:{enter:B({"dimmer--enter-fade":i}),enterDone:B("dimmer--enter-done",{"dimmer--enter-fade":i}),exit:B("dimmer--exit",{"dimmer--exit-fade":r})},unmountOnExit:!0,onEnter:function(){c.current&&yl.add(c.current)},onExited:function(){c.current&&yl.remove(c.current)},children:H(bl,{scrollBody:!l,children:H("div",{ref:c,className:B("dimmer",{"dimmer--scrollable":a,"dimmer--transparent":l},n),role:"presentation",onClick:function(e){var t;!o&&u&&(t=e).target===c.current&&null!=u&&u(t)},children:H(ul,{children:t})})})})}),wl=["children","className","open","position","showSlidingPanelBorder","slidingPanelPositionFixed"];function Ol(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 El(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ol(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ol(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Cl=M.forwardRef(function(e,t){var n=e.children,r=e.className,o=e.open,a=e.position,i=e.showSlidingPanelBorder,l=e.slidingPanelPositionFixed,e=ne(e,wl);return H(No,El(El({},e),{},{in:o,timeout:{enter:0,exit:350},classNames:B("sliding-panel--open-".concat(a),i&&"sliding-panel--border-".concat(a),{"sliding-panel--fixed":l},"sliding-panel"),appear:!0,unmountOnExit:!0,children:H("div",{ref:t,className:B("sliding-panel",r),children:n})}))});Cl.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},Cl.defaultProps={children:null,className:void 0,open:!1,position:"left",showSlidingPanelBorder:!1,slidingPanelPositionFixed:!1};function Tl(e){var r=M.useRef(null),t=M.useRef(null),n=M.useRef(null),o=M.useState(!1),a=(d=j(o,2))[0],i=d[1],l=M.useRef(0),s=M.useRef(0),u=M.useRef(0);function c(e){null!==r.current&&(r.current.style.transform="translateY(".concat(e,"px)"))}function p(){i(!1),s.current=0,null!==r.current&&r.current.style.removeProperty("transform"),e.onClose&&e.onClose()}ol({attachListener:e.open&&!E(),callback:function(){var e;null!==t.current&&(e=t.current.classList,h()?e.remove("np-bottom-sheet--top-bar--shadow"):e.add("np-bottom-sheet--top-bar--shadow"))},eventType:"scroll",parent:E()?void 0:document});var o=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(){cancelAnimationFrame(l.current),i(!1),50<s.current&&h()?p():c(0),s.current=0}function h(){var e;return void 0!==(null==n||null===(e=n.current)||void 0===e?void 0:e.scrollTop)&&n.current.scrollTop<=1}return H(vl,{open:e.open,fadeContentOnEnter:!0,fadeContentOnExit:!0,onClose:p,children:W(Cl,{ref:r,open:e.open,position:_.Position.BOTTOM,className:B("np-bottom-sheet",e.className),role:"dialog",onTouchStart:o(!0),onTouchMove:d(!0),onTouchEnd:f,onMouseDown:o(!1),onMouseMove:d(!1),onMouseUp:f,children:[W("div",{ref:t,className:"np-bottom-sheet--top-bar",children:[H("div",{className:"np-bottom-sheet--handler"}),H(ce,{size:16,className:"sr-only np-bottom-sheet--close-btn",onClick:p})]}),H("div",{ref:n,style:(d=E()?0:window.innerHeight,d="".concat(.01*d*100,"px"),{maxHeight:"calc(".concat(d," - ").concat("64px"," - ").concat("32px",")")}),className:"np-bottom-sheet--content",children:e.children})]})})}function xl(e){return Al[e]||e}var Sl=(h(Wt={},_.ControlType.ACCENT,"btn-accent"),h(Wt,_.ControlType.POSITIVE,"btn-positive"),h(Wt,_.ControlType.NEGATIVE,"btn-negative"),Wt),Dl=(h(Yt={},_.Priority.PRIMARY,"btn-priority-1"),h(Yt,_.Priority.SECONDARY,"btn-priority-2"),h(Yt,_.Priority.TERTIARY,"btn-priority-3"),Yt),Al=(h(pt={},_.Type.PRIMARY,_.ControlType.ACCENT),h(pt,_.Type.SECONDARY,_.ControlType.ACCENT),h(pt,_.Type.LINK,_.ControlType.ACCENT),h(pt,_.Type.PAY,_.ControlType.POSITIVE),h(pt,_.Type.DANGER,_.ControlType.NEGATIVE),pt),kl=(h(Hn={},_.Type.DANGER,_.Priority.SECONDARY),h(Hn,_.Type.LINK,_.Priority.TERTIARY),h(Hn,_.Type.SECONDARY,_.Priority.SECONDARY),Hn),Nl=(h(Kn={},_.Type.DANGER,"Type.NEGATIVE"),h(Kn,_.Type.LINK,"ControlType.ACCENT with priority Priority.TERTIARY"),h(Kn,_.Type.PAY,"ControlType.POSITIVE"),h(Kn,_.Type.PRIMARY,"ControlType.ACCENT"),h(Kn,_.Type.SECONDARY,"ControlType.ACCENT with priority Priority.SECONDARY"),Kn),Pl=Object.keys(Al),Ll=["block","children","className","disabled","htmlType","loading","priority","size","type"];function Rl(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 Il(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Rl(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Rl(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function _l(e){var t=e.block,n=e.children,r=e.className,o=e.disabled,a=e.htmlType,i=e.loading,l=e.priority,s=e.size,u=e.type,c=ne(e,Ll);e=(p=e).size,p=p.type,fe("Button has deprecated the `Size.EXTRA_SMALL` value for the `size` prop. Please use Size.SMALL instead.",e===_.Size.EXTRA_SMALL),fe("Button has deprecated the ".concat(p," value for the `type` prop. Please update to ").concat(Nl[p],"."),Pl.includes(p));var e=xl(u),p=(p=l,u=xl(l=u),kl[l]||(p===_.Priority.TERTIARY&&u!==_.ControlType.ACCENT?_.Priority.SECONDARY:p)),r=B("btn btn-".concat(s),"np-btn np-btn-".concat(s),{"btn-loading":i,"btn-block np-btn-block":t},Sl[e],Dl[p],r);return W("button",Il(Il({type:a,className:r,disabled:o||i},c),{},{children:[n,i&&H("span",{className:B("btn-loader",{"m-l-2":!t})})]}))}_l.propTypes={block:l.default.bool,children:l.default.node.isRequired,className:l.default.string,disabled:l.default.bool,htmlType:l.default.oneOf(["submit","reset","button"]),loading:l.default.bool,onClick:$(l.default.func,function(e){return"submit"!==e.htmlType}),priority:l.default.oneOf(["primary","secondary","tertiary"]),type:l.default.oneOf(["accent","positive","negative","primary","pay","secondary","danger","link"]),size:l.default.oneOf(["xs","sm","md","lg"])},_l.defaultProps={block:!1,className:null,disabled:!1,htmlType:"button",loading:!1,priority:_.Priority.PRIMARY,size:_.Size.MEDIUM,type:_.ControlType.ACCENT};var Ml=["aria-label","as","isExpanded","title","details","children","onClick","icon","id","className"],Ht=M.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=ne(e,Ml),e=!(!o||!l);return W(r,{ref:t,className:B("np-card",p,{"np-card--expanded":e,"np-card--inactive":!l,"np-card--has-icon":!!u}),id:c,"data-testid":d["data-testid"],children:[H(Z,{"aria-label":n,as:l?"button":"div",className:B("np-card__button"),media:u,title:a,content:i,showMediaAtAllSizes:!0,button:l&&H(X,{orientation:e?_.Position.TOP:_.Position.BOTTOM}),onClick:function(){return l&&s(!o)}}),H("div",{className:B("np-card__divider",{"np-card__divider--expanded":e})}),e&&H("div",{className:"np-card__content",children:l})]})}),Fl=function(e){return e.children};Ht.propTypes={"aria-label":l.default.string,as:l.default.string,isExpanded:$(l.default.bool,Fl),title:l.default.node.isRequired,details:l.default.node.isRequired,onClick:$(l.default.func,Fl),icon:l.default.node,children:l.default.node,id:l.default.string,className:l.default.string,"data-testid":l.default.string},Ht.defaultProps={"aria-label":void 0,as:"div",children:null,id:null,className:null,"data-testid":null};var Ul=["checked","className","disabled","onChange"];function jl(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 Bl(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?jl(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):jl(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var ql=M.forwardRef(function(e,t){var n=e.checked,r=e.className,o=e.disabled,a=e.onChange,e=ne(e,Ul);return W("span",{className:B("np-checkbox-button",r),children:[H("input",Bl(Bl({ref:t},e),{},{type:"checkbox",disabled:o,checked:n,onChange:a})),H("span",{className:"tw-checkbox-button",children:H("span",{className:"tw-checkbox-check"})})]})});ql.propTypes={"aria-label":l.default.string,checked:l.default.bool,className:l.default.string,disabled:l.default.bool,onChange:l.default.func.isRequired},ql.defaultProps={"aria-label":void 0,checked:!1,className:void 0,disabled:!1};var zl=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=r&&!o&&!a&&!n,l=B("np-checkbox",{checkbox:!0,"checkbox-lg":s,"has-error":e},l);return H("div",{id:t,className:l,children:W("label",{className:B({disabled:o}),children:[H(ql,{className:B("p-r-2",{"has-error":e}),checked:n,disabled:o||a,onFocus:c,onChange:function(){return u(!n)},onBlur:p}),W("span",{className:"np-checkbox__text",children:[i,r&&"*",s&&H("small",{children:s})]})]})})};function Vl(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 Gl(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Vl(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Vl(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}zl.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},zl.defaultProps={id:null,checked:!1,required:!1,disabled:!1,readOnly:!1,secondary:null,onFocus:null,onBlur:null,className:void 0};sr=function(e){var t=e["aria-label"],n=e.media,r=e.title,o=e.content,a=e.name,i=e.checked,l=e.onChange,s=e.complex,u=e.disabled,e=e.showMediaAtAllSizes;return H(Z,Gl(Gl({},{ariaLabel:t,media:n,title:r,content:o,name:a,complex:s,disabled:u,showMediaAtAllSizes:e}),{},{button:H(ql,{checked:i,disabled:u,onChange:function(){return l(!i)}})}))};function Hl(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 Wl(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Hl(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hl(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}sr.propTypes={"aria-label":l.default.string,checked:l.default.bool,complex:l.default.bool,content:l.default.node,disabled:l.default.bool,id:l.default.string,media:l.default.node,name:l.default.string.isRequired,onChange:l.default.func.isRequired,title:l.default.node.isRequired,showMediaAtAllSizes:l.default.bool},sr.defaultProps={"aria-label":void 0,checked:!1,complex:!1,content:null,disabled:!1,id:void 0,media:null,showMediaAtAllSizes:!1};var Yl=function(e){var t=e.label,n=e.value,r=e.onRemove,o=e.onClick,a=e.onKeyPress,i=e.className,l=e["aria-label"],s=e["aria-checked"],u=e.role,c=e.closeButton,e=o||a;return W("div",Wl(Wl({role:null!=u?u:e?"button":void 0,tabIndex:e?0:-1,"aria-label":l,"aria-checked":s,className:B("np-chip","d-flex","align-items-center","justify-content-between",void 0===i?void 0:i)},e&&{onClick:o,onKeyPress:a}),{},{children:[H("span",{"aria-hidden":!!r,className:"np-chip-label",children:t}),r?H(ce,{className:"btn-unstyled m-l-1","aria-label":c&&c["aria-label"],filled:!0,size:16,onClick:r}):null]}),n)},Kl=F.defineMessages({ariaLabel:{id:"neptune.Chips.ariaLabel"}});function Xl(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 Zl=["className","children","disabled","icon","priority","type"];function $l(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}Jn=function(e){var t=e.className,n=e.children,r=e.disabled,o=e.icon,a=e.priority,i=e.type,l=ne(e,Zl),e=B("btn np-btn",Sl[i],Dl[a]),o=24!==o.props.size?M.cloneElement(o,{size:24}):o;return W("label",{className:B("np-circular-btn",a,i,r?"disabled":"",t),children:[H("input",function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?$l(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$l(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,H("span",{className:"np-circular-btn__label",children:n})]})};Jn.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"])},Jn.defaultProps={className:void 0,disabled:!1,priority:_.Priority.PRIMARY,type:_.ControlType.ACCENT};var Jl,Ql={TYPE:"SignificantDigits",MIN_PRECISION:1,MAX_PRECISION:21},es={TYPE:"FractionDigits",MIN_PRECISION:0,MAX_PRECISION:20},ts={};function ns(e,t){var n=t?""+e+Object.entries(t):e;return ts[n]||(ts[n]=t?new Intl.NumberFormat(e,t):new Intl.NumberFormat(e)),ts[n]}function rs(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===Ql.TYPE?Ql:es,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(Jl=void 0===Jl?"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:Jl)?(i?ns(l,((o={})["minimum"+(a=r)]=t=n,o["maximum"+a]=t,o)):ns(l)).format(e):i?(i=e,n=n,r===Ql.TYPE?i.toPrecision(n):i.toFixed(n)):""+e}var os,as={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 is(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(as,t)?as[t]:2):0),t=e<0,r=rs(Math.abs(e),n,r);return t?"- "+r:r}var ls={},ss=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],us=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs={};function ps(e,t,n){return void 0===t&&(t="en-GB"),(os=void 0===os?function(){try{var e=new Date(2018,11,1);return"01/12/2018"===new Intl.DateTimeFormat("en-GB").format(e)}catch(e){return!1}}():os)?(void 0===ls[t=r=t]&&(ls[t]=function(e){try{return 0<Intl.DateTimeFormat.supportedLocalesOf([e]).length}catch(e){return!1}}(t)),t=ls[t]?r:"en-GB",r=n,cs[t]||(cs[t]=new Map),cs[t].has(r)||cs[t].set(r,new Intl.DateTimeFormat(t,r)),cs[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?us[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=ss[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 ds(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(ps(o,e,{weekday:n})),o.setDate(o.getDate()+1);return r}function fs(e,t,n){return!e||(!t||t<=e)&&(!n||e<=n)}function hs(e,t,n){return fs(e,t,n)?e:new Date(t&&e<t?+t:+n)}(Ae={}).SECOND="second",Ae.MINUTE="minute",Ae.HOUR="hour";function ms(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(ps(r,e,o)),r.setMonth(r.getMonth()+1);return n}function gs(e){return bs(e)||ys(e)}var ys=function(e){return"string"==typeof e&&bs(new Date(e))},bs=function(e){return e instanceof Date&&!isNaN(e)},vs=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.default=e.exports,e.exports.__esModule=!0}),ws=r(vs),Os=o(function(n){function r(e,t){return n.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n.exports.default=n.exports,n.exports.__esModule=!0,r(e,t)}n.exports=r,n.exports.default=n.exports,n.exports.__esModule=!0});r(Os);var Es=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}}),t&&Os(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0})),Cs=o(function(t){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(e){return typeof e}:t.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.default=t.exports,t.exports.__esModule=!0,n(e)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0}),Ts=r(Cs),xs=r(o(function(e){var n=Cs.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 vs(e)},e.exports.default=e.exports,e.exports.__esModule=!0})),Ss=r(o(function(t){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},t.exports.default=t.exports,t.exports.__esModule=!0,n(e)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0})),Ds={DOWN:40,UP:38,LEFT:37,RIGHT:39,ENTER:13,ESCAPE:27,TAB:9,SPACE:32,BACKSPACE:8,DELETE:46,COMMA:188,PERIOD:190};var As=function(e){function t(e){return e.map(function(e){return l[e]||e}).join(" ")}var n=e.currency,r=e.label,o=e.note,a=e.secondary,i=e.icon,l=e.classNames,s=e.selected,u=n?"".concat(t(["currency-flag","currency-flag-".concat(n.toLowerCase()),"".concat(s?"hidden-xs":"")])):null,e=o?"".concat(t(["d-inline-flex align-items-center"])):void 0;return W(Y,{children:[i?M.cloneElement(i,{size:24,className:"".concat(t(["tw-icon","".concat(s&&n?"hidden-xs":"")]))}):n&&H("i",{className:u}),W("span",{className:e,children:[r,o&&H("span",{className:"body-2 m-l-1",children:o})]}),a&&H("span",{className:"body-2 text-ellipsis",children:a})]})};As.propTypes={label:l.default.node.isRequired,currency:l.default.string,note:l.default.node,secondary:l.default.node,icon:l.default.node,classNames:l.default.objectOf(l.default.string),selected:l.default.bool},As.defaultProps={currency:"",note:"",secondary:"",icon:null,classNames:{},selected:!1};var ks=M.forwardRef(function(e,t){var n=e.classNames,r=e.onChange,o=e.onClick,a=e.placeholder,i=e.value,e=function(e){return n[e]||e};return H("li",{className:e("tw-dropdown-item--divider"),children:H("a",{className:"".concat(e("tw-select-filter-link")," ").concat(e("p-a-0")),children:W("div",{className:e("input-group"),children:[H("span",{className:e("input-group-addon"),children:H(T.Search,{className:B(e("tw-icon"),e("tw-icon-search"))})}),H("input",{ref:t,type:"text",className:B(e("tw-select-filter"),e("form-control")),placeholder:a,value:i,spellCheck:"false",onChange:r,onClick:o})]})})})});function Ns(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 Ps(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ns(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ns(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Ls(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}function Rs(e){return!e.header&&!e.separator&&!e.disabled}ks.propTypes={classNames:l.default.objectOf(l.default.string),onChange:l.default.func.isRequired,onClick:l.default.func.isRequired,placeholder:l.default.string,value:l.default.string},ks.defaultProps={classNames:{},value:"",placeholder:void 0};var Is=function(e){return e&&"[object Function]"==={}.toString.call(e)};function _s(e){e.stopPropagation(),e.preventDefault(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}function Ms(){return"undefined"!=typeof document&&"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(max-width: ".concat(_.Breakpoint.SMALL,"px)")).matches}function Fs(e){return setTimeout(e,0)}function Us(e,t){return e.toLowerCase().includes(t.toLowerCase())}var js=100,Bs=function(e,t){return e.label&&Us(e.label,t)||e.note&&Us(e.note,t)||e.secondary&&Us(e.secondary,t)||e.currency&&Us(e.currency,t)||e.searchStrings&&(e=e.searchStrings,n=t,e.some(function(e){return Us(e,n)}));var n},qs=function(e){Es(n,e);var t=Ls(n);function n(e){var a;return y(this,n),a=t.call(this,e),h(ws(a),"handleResize",function(){a.setState({shouldRenderWithPortal:Ms()})}),h(ws(a),"handleOnFocus",function(e){return a.props.onFocus&&a.props.onFocus(e)}),h(ws(a),"handleOnBlur",function(e){var t=a.props.onBlur,n=e.nativeEvent;if(n){var r=n.relatedTarget,n=e.currentTarget;if(n&&r&&n.contains(r))return}t&&t(e)}),h(ws(a),"getOptions",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:a.props.options,t=a.props.search;if(!t||!a.state.searchValue)return e;var n=Is(t)?t:Bs;return e.filter(function(e){return n(e,a.state.searchValue)})}),h(ws(a),"handleSearchChange",function(e){a.setState({numberOfOptionsShown:js}),a.props.onSearchChange?a.props.onSearchChange(e.target.value):a.setState({searchValue:e.target.value})}),h(ws(a),"handleKeyDown",function(e){var t=a.state.open;switch(e.keyCode){case Ds.UP:t?a.moveFocusWithDifference(-1):a.open(),e.preventDefault();break;case Ds.DOWN:t?a.moveFocusWithDifference(1):a.open(),e.preventDefault();break;case Ds.SPACE:e.target!==a.searchBoxRef.current&&(t?a.selectKeyboardFocusedOption():a.open(),e.preventDefault());break;case Ds.ENTER:t?a.selectKeyboardFocusedOption():a.open(),e.preventDefault();break;case Ds.ESCAPE:a.close(),e.preventDefault();break;case Ds.TAB:t&&a.selectKeyboardFocusedOption()}}),h(ws(a),"handleButtonClick",function(){a.props.disabled||a.open()}),h(ws(a),"handleDocumentClick",function(){a.state.open&&a.close()}),h(ws(a),"handleTouchStart",function(e){e.currentTarget===e.target&&a.state.open&&a.close()}),h(ws(a),"style",function(e){return a.props.classNames[e]||e}),h(ws(a),"renderOption",function(e,t){if(e.separator)return H("li",{className:a.style("divider")},t);if(e.header)return H("li",{className:a.style("dropdown-header"),onClick:_s,onKeyPress:_s,children:e.header},t);var n=a.props.selected&&a.props.selected.value===e.value,r=a.state.keyboardFocusedOptionIndex===a.getIndexWithoutHeadersForIndexWithHeaders(t),o=B(a.style("tw-dropdown-item"),a.style("tw-dropdown-item--clickable"),(h(o={},a.style("active"),n),h(o,a.style("tw-dropdown-item--focused"),r&&!e.disabled),h(o,a.style("disabled"),e.disabled),o));return H("li",{className:o,onClick:e.disabled?_s:a.createSelectHandlerForOption(e),onKeyPress:e.disabled?_s:a.createSelectHandlerForOption(e),children:H("a",{disabled:e.disabled,children:H(As,Ps(Ps({},e),{},{classNames:a.props.classNames}))})},t)}),a.state={open:!1,searchValue:"",keyboardFocusedOptionIndex:null,numberOfOptionsShown:js},a.searchBoxRef=M.createRef(),a.dropdownMenuRef=M.createRef(),a}return gl(n,[{key:"componentDidMount",value:function(){this.setState({shouldRenderWithPortal:Ms()}),window.addEventListener("resize",this.handleResize)}},{key:"componentWillUnmount",value:function(){this.close(),window.removeEventListener("resize",this.handleResize)}},{key:"getIndexWithoutHeadersForIndexWithHeaders",value:function(r){return this.getOptions().reduce(function(e,t,n){return n<r&&Rs(t)?e+1:e},0)}},{key:"selectKeyboardFocusedOption",value:function(){var e;null!==this.state.keyboardFocusedOptionIndex&&(e=this.state.keyboardFocusedOptionIndex,this.selectOption(this.getOptions().filter(Rs)[e]))}},{key:"moveFocusWithDifference",value:function(a){var i=this;this.setState(function(e,r){var t=i.getOptions(r.options).filter(Rs),n=t.reduce(function(e,t,n){return null!==e?e:r.selected&&r.selected.value===t.value?n:null},null),o=e.keyboardFocusedOptionIndex,e=o;return null===o&&null===n?{keyboardFocusedOptionIndex:0}:(null===o&&null!==n&&(e=n),{keyboardFocusedOptionIndex:(n=0,t=t.length-1,Math.max(Math.min(t,e+a),n))})})}},{key:"open",value:function(){var n=this;this.setState({open:!0},function(){var e="undefined"!=typeof window&&window.matchMedia&&!!window.matchMedia("(pointer: coarse)").matches,t=!!n.props.onSearchChange||!!n.props.search;Fs(function(){!e&&t&&n.searchBoxRef.current&&n.searchBoxRef.current.focus(),w(),document.addEventListener("click",n.handleDocumentClick,!1)})})}},{key:"close",value:function(){var e=this;this.setState({open:!1,keyboardFocusedOptionIndex:null},function(){Fs(function(){O(),document.removeEventListener("click",e.handleDocumentClick,!1)})})}},{key:"createSelectHandlerForOption",value:function(t){var n=this;return function(e){_s(e),n.selectOption(t)}}},{key:"selectOption",value:function(e){e&&!e.placeholder?this.props.onChange(e):this.props.onChange(null),this.close()}},{key:"renderOptionsList",value:function(){var e=this.props,t=e.dropdownRight,n=e.dropdownWidth,r=e.onSearchChange,o=e.placeholder,a=e.required,i=e.search,l=e.searchValue,s=e.searchPlaceholder,u=this.state.open,e=this.style,r=!!r||!!i,i=B(e("tw-select"),e("dropdown-menu"),(h(i={},e("dropdown-menu-".concat(t,"-right")),t),h(i,e("dropdown-menu-".concat(n)),n),h(i,e("dropdown-menu--open"),u),i));return W("ul",{className:i,children:[a||r||!o?"":this.renderPlaceHolderOption(),r&&H(ks,{ref:this.searchBoxRef,classNames:this.props.classNames,value:l||this.state.searchValue,placeholder:s,onChange:this.handleSearchChange,onClick:_s}),this.renderOptions(),this.state.numberOfOptionsShown<this.getOptions().length?this.renderShowMore():""]})}},{key:"renderOptions",value:function(){return this.getOptions().slice(0,this.state.numberOfOptionsShown).map(this.renderOption)}},{key:"renderShowMore",value:function(){return H("li",{className:B(this.style("tw-dropdown-item--clickable"),this.style("tw-dropdown-item--divider"),this.style("show-more")),onClick:this.showMore.bind(this),onKeyPress:this.showMore.bind(this),children:H("a",{children:"..."})})}},{key:"showMore",value:function(e){_s(e),this.setState(function(e){return{numberOfOptionsShown:e.numberOfOptionsShown+js}})}},{key:"renderPlaceHolderOption",value:function(){var e=this.props.placeholder;return H("li",{className:B(this.style("tw-dropdown-item--clickable"),this.style("tw-dropdown-item--divider")),onClick:this.createSelectHandlerForOption({placeholder:e}),onKeyPress:this.createSelectHandlerForOption({placeholder:e}),children:H("a",{children:e})})}},{key:"renderButtonInternals",value:function(){var e=this.props,t=e.selected,e=e.placeholder;return t?H(As,Ps(Ps({},t),{},{classNames:this.props.classNames,selected:!0})):H("span",{className:this.style("form-control-placeholder"),children:e})}},{key:"render",value:function(){var n=this,e=this.props,t=e.disabled,r=e.size,o=e.block,a=e.id,i=e.dropdownUp,l=e.inverse,s=this.state,u=s.open,c=s.shouldRenderWithPortal,e=this.style,i=B(e("tw-select"),e("btn-group"),(h(s={},e("btn-block"),o),h(s,e("dropup"),i),h(s,e("dropdown"),!i),s)),s=B(e("btn"),e("btn-input"),(h(s={},"".concat(e("btn-input-inverse")," ").concat(e("btn-addon")),l),h(s,e("btn-xs"),"xs"===r),h(s,e("btn-sm"),"sm"===r),h(s,e("btn-md"),"md"===r),h(s,e("btn-lg"),"lg"===r),s),e("dropdown-toggle")),p=e("open");return H(Y,{children:W("div",{ref:this.dropdownMenuRef,className:i,onKeyDown:this.handleKeyDown,onTouchMove:this.handleTouchStart,onFocus:this.handleOnFocus,onBlur:this.handleOnBlur,children:[W("button",{disabled:t,className:s,type:"button",id:a,"aria-expanded":u,onClick:this.handleButtonClick,children:[this.renderButtonInternals(),H(X,{disabled:t,className:"".concat(e("tw-icon")," ").concat(e("tw-chevron-up-icon")," ").concat(e("tw-chevron")," ").concat(e("bottom")," ").concat(e("tw-select-chevron"))})]}),c?H(vl,{open:u,children:H(Cl,{open:u,position:"bottom",children:this.renderOptionsList()})}):H(So,{in:u,timeout:200,onEntering:function(){var e,t;n.dropdownMenuRef.current&&(e=n.dropdownMenuRef.current,t=p,e&&(e.scrollTop,e.classList.add(t)))},onExit:function(){var e,t;n.dropdownMenuRef.current&&(e=n.dropdownMenuRef.current,t=p,e&&e.classList.remove(t))},children:function(e){return"exited"!==e&&n.renderOptionsList()}})]})})}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=!!e.options.length;if(t.open&&(""!==e.searchValue||""!==t.searchValue)){if(n&&null===t.keyboardFocusedOptionIndex)return{keyboardFocusedOptionIndex:0};if(!n&&null!==t.keyboardFocusedOptionIndex)return{keyboardFocusedOptionIndex:null}}return null}}]),n}(M.Component);qs.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},qs.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:"Search...",classNames:{},dropdownUp:!1};var zs=F.defineMessages({monthLabel:{id:"neptune.DateInput.month.label"},dayLabel:{id:"neptune.DateInput.day.label"},yearLabel:{id:"neptune.DateInput.year.label"}}),Vs=new Set(["en-US","ja-JP"]),Gs={year:null,month:null,day:null},G=function(e){function r(){return i&&gs(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=Gs;return i&&gs(i)&&(t=r(),n={year:(t=t).getFullYear(),month:t.getMonth(),day:t.getDate()},ys(t=i)&&t.split("-").length<3&&(n.day=null)),n[e]}function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:O,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:C,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=gs(r)?r:null)||P(Gs),p===_.DateMode.MONTH_YEAR?0<=t&&n&&(t!==C||n!==x)&&P(r):e&&0<=t&&n&&(e!==O||t!==C||n!==x)&&P(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=F.useIntl(),b=y.locale,v=y.formatMessage,w=M.useState(function(){return t("day")}),e=j(w,2),O=e[0],E=e[1],y=M.useState(function(){return t("month")}),w=j(y,2),C=w[0],T=w[1],e=M.useState(function(){return t("year")}),y=j(e,2),x=y[0],S=y[1],w=M.useState(r),e=j(w,2),D=e[0],A=e[1],l=l||v(zs.dayLabel),s=s||v(zs.monthLabel),u=u||v(zs.yearLabel),m={day:(null===m||void 0===m?void 0:m.day)||"DD",month:(null===m||void 0===m?void 0:m.month)||v(zs.monthLabel),year:(null===m||void 0===m?void 0:m.year)||"YYYY"},y=function(){var e=ms(b,c);return W("label",{children:[H("span",{className:"sr-only",children:s}),H(qs,{name:"month",className:"form-control",disabled:o,placeholder:m.month,options:k(),size:a,selected:null===C?null:{value:C,label:e[C]},onChange:function(e){return N(e)}})]})},k=function(){var n=[];return ms(b,c).forEach(function(e,t){n.push({value:t,label:e})}),n},N=function(e){if(!e)return T(null),void n(O,null,x);var t=e?e.value:0,e=L(O,t,x).checkedDay;T(t),O&&e!==O&&E(e),n(e,t,x)},P=function(e){e!==D&&(A(e),d(function(e){if(!gs(e))return"";switch(p){case _.DateMode.MONTH_YEAR:return[e.getFullYear(),"0".concat(e.getMonth()+1).slice(-2)].join("-");case _.DateMode.DAY_MONTH_YEAR:default:return[e.getFullYear(),"0".concat(e.getMonth()+1).slice(-2),"0".concat(e.getDate()).slice(-2)].join("-")}}(e)||null))},L=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===_.DateMode.MONTH_YEAR,e=B({"col-sm-8":w,"col-sm-5":!w}),v=Vs.has(b);return H("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:W("div",{className:"row",children:[v&&H("div",{className:e,children:y()}),!w&&H("div",{className:"col-sm-3",children:H("div",{className:"input-group-".concat(a),children:W("label",{children:[H("span",{className:"sr-only",children:l}),H("input",{type:"number",name:"day",className:"form-control",value:O||"",placeholder:m.day,disabled:o,onChange:function(e){e=L(e.target.value,C,x).checkedDay;E(e),n(e,C,x)}})]})})}),!v&&H("div",{className:e,children:y()}),H("div",{className:"col-sm-4",children:H("div",{className:"input-group-".concat(a),children:W("label",{children:[H("span",{className:"sr-only",children:u}),H("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=L(O,C,e).checkedDay,O&&e!==O&&E(e),S(t),n(e,C,t)):(S(t),n(O,C,null))}})]})})})]})})};G.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},G.defaultProps={disabled:!1,size:_.Size.MEDIUM,value:null,onFocus:null,onBlur:null,monthFormat:_.MonthFormat.LONG,mode:_.DateMode.DAY_MONTH_YEAR,id:""};function Hs(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,e=(u=F.useIntl()).locale,u=u.formatMessage;return W("button",{className:"btn btn-".concat(n," btn-input dropdown-toggle np-date-trigger np-date-trigger--").concat(n),disabled:i,type:"button",onClick:l,children:[o&&H("span",{className:"control-label small m-r-1",children:o}),H("span",t?{children:ps(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?H(ce,{className:"clear-btn d-flex align-items-center","aria-label":u(Ws.ariaLabel),size:n===_.Size.SMALL?16:24,filled:!0,onClick:function(e){e.stopPropagation(),e.preventDefault(),s()},onKeyPress:function(e){(Fi({keyType:"Space",event:e})||Fi({keyType:"Enter",event:e}))&&(e.stopPropagation(),e.preventDefault(),s())}}):H(X,{orientation:_.Position.BOTTOM,disabled:i})]})}var Ws=F.defineMessages({ariaLabel:{id:"neptune.ClearButton.ariaLabel"}});Hs.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},Hs.defaultProps={selectedDate:null,size:_.Size.MEDIUM,onClear:void 0};function Ys(e){var t=e.label,n=e.onLabelClick,r=e.onPreviousClick,e=e.onNextClick;return W("div",{className:"text-xs-center p-t-1 p-b-2 clearfix",children:[H("div",{className:"pull-left-single-direction",children:H("button",{type:"button",className:Ks,onClick:r,children:H(X,{orientation:_.Position.LEFT,className:"left-single-direction",size:_.Size.MEDIUM})})}),t&&H("button",{type:"button",className:"tw-date-lookup-header-current ".concat(Ks),onClick:n,children:t}),H("div",{className:"pull-right-single-direction",children:H("button",{type:"button",className:Ks,onClick:e,children:H(X,{orientation:_.Position.RIGHT,className:"right-single-direction",size:_.Size.MEDIUM})})})]})}var Ks="btn-link p-a-0 text-no-decoration font-weight-bold";function Xs(e){return e?new Date(e.getFullYear(),e.getMonth(),e.getDate()):null}function Zs(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}Ys.propTypes={label:l.default.string,onLabelClick:l.default.func,onPreviousClick:l.default.func.isRequired,onNextClick:l.default.func.isRequired},Ys.defaultProps={label:null,onLabelClick:function(){}};var $s=function(e){Es(a,e);var o=Zs(a);function a(){var t;y(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)),h(ws(t),"onClick",function(e){e.preventDefault(),t.props.disabled||t.props.onClick(t.props.item)}),t}return gl(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 H(Y,{children:H("button",{type:"button",className:"tw-date-lookup-".concat(n,"-option ").concat(a?"active":""," ").concat(e?"today":""),disabled:i,"aria-label":o,onClick:this.onClick,children:r||t})})}}]),a}(M.PureComponent);function Js(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}$s.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},$s.defaultProps={title:null,longTitle:null};var Qs={day:"numeric"},ve=function(e){Es(o,e);var r=Js(o);function o(){var l;y(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)),h(ws(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}),h(ws(l),"days",ds(l.props.intl.locale,"short")),h(ws(l),"daysShort",ds(l.props.intl.locale,"narrow")),h(ws(l),"selectDay",function(e){var t=l.props,n=t.viewMonth,r=t.viewYear;(0,t.onSelect)(new Date(r,n,e))}),h(ws(l),"isDisabled",function(e){var t=l.props,n=t.min,r=t.max,o=t.viewMonth,t=t.viewYear;return!fs(new Date(t,o,e),n,r)}),h(ws(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 gl(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 W("table",{className:"table table-condensed table-bordered tw-date-lookup-calendar m-b-0",children:[H("thead",{children:H("tr",{children:this.days.map(function(e,t){return W("th",{className:"text-xs-center",children:[H("span",{className:"hidden-xs",children:e.slice(0,3)}),H("span",{className:"visible-xs-inline-block",children:n.daysShort[t].slice(0,2)})]},e)})})}),H("tbody",{children:e.map(function(e,t){return H("tr",{children:e.map(function(e,t){return H("td",{className:4<t?"default":"",children:e&&H($s,{item:e,type:"day",title:ps(new Date(o,r,e),a,Qs),longTitle:ps(new Date(o,r,e),a),active:n.isActive(e),disabled:n.isDisabled(e),today:+Xs(new Date)==+new Date(o,r,e),onClick:n.selectDay})},t)})},t)})})]})}}]),o}(M.PureComponent);ve.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},ve.defaultProps={selectedDate:null,min:null,max:null};var eu=F.injectIntl(ve);function tu(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}we=function(e){Es(a,e);var o=tu(a);function a(){var n;y(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)),h(ws(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})}),h(ws(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 gl(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 W("div",{children:[H(Ys,{label:ps(new Date(a,o),i,{month:l,year:"numeric"}),onLabelClick:s,onPreviousClick:this.selectPreviousMonth,onNextClick:this.selectNextMonth}),H(eu,{selectedDate:t,min:n,max:r,viewMonth:o,viewYear:a,onSelect:e})]})}}]),a}(M.PureComponent);we.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([_.MonthFormat.LONG,_.MonthFormat.SHORT]).isRequired,onSelect:l.default.func.isRequired,onLabelClick:l.default.func.isRequired,onViewDateUpdate:l.default.func.isRequired},we.defaultProps={selectedDate:null,min:null,max:null};function nu(e){var o=e.selectedDate,t=e.min,n=e.max,a=e.viewYear,r=e.placeholder,i=e.onSelect,l=F.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 W("table",{className:"table table-condensed table-bordered tw-date-lookup-calendar m-b-0",children:[H("thead",{className:"sr-only",children:H("tr",{children:H("th",{colSpan:"3",children:r})})}),H("tbody",{children:U(new Array(3)).map(function(e,r){return H("tr",{children:U(new Array(4)).map(function(e,t){return H("td",{children:H($s,{item:n=4*r+t,type:"month",title:ps(new Date(a,n),l,ou),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 ru=F.injectIntl(we),ou={month:"short"};function au(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}nu.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},nu.defaultProps={selectedDate:null,min:null,max:null};e=function(e){Es(a,e);var o=au(a);function a(){var t;y(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)),h(ws(t),"onMonthSelect",function(e){t.props.onViewDateUpdate({month:e}),t.props.onSelect()}),h(ws(t),"selectPreviousYear",function(){t.props.onViewDateUpdate({year:t.props.viewYear-1})}),h(ws(t),"selectNextYear",function(){t.props.onViewDateUpdate({year:t.props.viewYear+1})}),t}return gl(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 W("div",{children:[H(Ys,{label:ps(new Date(o,0),a,{year:"numeric"}),onLabelClick:e,onPreviousClick:this.selectPreviousYear,onNextClick:this.selectNextYear}),H(nu,{selectedDate:t,min:n,max:r,viewYear:o,placeholder:i,onSelect:this.onMonthSelect})]})}}]),a}(M.PureComponent);e.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},e.defaultProps={selectedDate:null,min:null,max:null};function iu(e){var o=e.selectedDate,a=e.min,i=e.max,t=e.viewYear,n=e.placeholder,l=e.onSelect,s=F.useIntl().locale,u=t-t%20;return W("table",{className:"table table-condensed table-bordered tw-date-lookup-calendar m-b-0",children:[H("thead",{className:"sr-only",children:H("tr",{children:H("th",{colSpan:"4",children:n})})}),H("tbody",{children:U(new Array(5)).map(function(e,r){return H("tr",{children:U(new Array(4)).map(function(e,t){return H("td",{children:H($s,{item:n=u+4*r+t,type:"year",title:ps(new Date(n,0),s,su),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 lu=F.injectIntl(e),su={year:"numeric"};function uu(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}iu.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},iu.defaultProps={selectedDate:null,min:null,max:null};var cu=function(e){Es(a,e);var o=uu(a);function a(){var t;y(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)),h(ws(t),"onYearSelect",function(e){t.props.onViewDateUpdate({year:e}),t.props.onSelect()}),h(ws(t),"selectPreviousYears",function(){t.props.onViewDateUpdate({year:t.props.viewYear-20})}),h(ws(t),"selectNextYears",function(){t.props.onViewDateUpdate({year:t.props.viewYear+20})}),t}return gl(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 W("div",{children:[H(Ys,{onPreviousClick:this.selectPreviousYears,onNextClick:this.selectNextYears}),H(iu,{selectedDate:t,min:n,max:r,viewYear:o,placeholder:e,onSelect:this.onYearSelect})]})}}]),a}(M.PureComponent);function pu(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}cu.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},cu.defaultProps={selectedDate:null,min:null,max:null};var du={DAY:"day",MONTH:"month",YEAR:"year"},xe=function(e){Es(n,e);var t=pu(n);function n(e){var s;return y(this,n),s=t.call(this,e),h(ws(s),"element",M.createRef()),h(ws(s),"dropdown",M.createRef()),h(ws(s),"getWindowSize",function(){return"undefined"!=typeof window&&window.innerWidth||"undefined"!=typeof document&&document.documentElement.clientWidth}),h(ws(s),"open",function(){var e=s.props.onFocus;s.setState({open:!0,mode:du.DAY,isMobile:s.getWindowSize()<=_.Breakpoint.SMALL},function(){s.adjustIfOffscreen(),s.focusOn(".tw-date-lookup-header-current")}),e&&e(),window.addEventListener("resize",s.resizeHandler),document.addEventListener("click",s.handleOutsideClick,!0)}),h(ws(s),"resizeHandler",function(){return s.setState({isMobile:s.getWindowSize()<=_.Breakpoint.SMALL},s.adjustIfOffscreen())}),h(ws(s),"adjustIfOffscreen",function(){var e,t,n;!s.state.isMobile&&s.open&&s.dropdown&&s.dropdown.current&&(t=(n=(e=s.dropdown.current).getBoundingClientRect()).right>s.getWindowSize(),n=n.left<0,t&&e.classList[n?"remove":"add"]("dropdown-menu-xs-right"))}),h(ws(s),"close",function(){var e=s.props.onBlur;s.setState({open:!1}),e&&e(),window.removeEventListener("resize",s.adjustIfOffscreen),document.removeEventListener("click",s.handleOutsideClick,!0)}),h(ws(s),"handleOutsideClick",function(e){var t=s.state.isMobile;!s.state.open||t||(t=s.element.current.querySelector(".dropdown-menu"))&&!t.contains(e.target)&&s.close()}),h(ws(s),"handleKeyDown",function(e){var t=s.state.open;switch(e.keyCode){case Ds.LEFT:t?s.adjustDate(-1,-1,-1):s.open(),e.preventDefault();break;case Ds.UP:t?s.adjustDate(-7,-4,-4):s.open(),e.preventDefault();break;case Ds.RIGHT:t?s.adjustDate(1,1,1):s.open(),e.preventDefault();break;case Ds.DOWN:t?s.adjustDate(7,4,4):s.open(),e.preventDefault();break;case Ds.ESCAPE:s.close(),e.preventDefault()}}),h(ws(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===du.YEAR?o.getFullYear()+n:o.getFullYear(),r===du.MONTH?o.getMonth()+t:o.getMonth(),r===du.DAY?o.getDate()+e:o.getDate()):Xs(new Date);+(e=hs(e,a,i))!=+o&&s.props.onChange(e)}),h(ws(s),"focusOn",function(e,t){e=s.element.current.querySelector(e);e?e.focus():t&&s.focusOn(t)}),h(ws(s),"switchMode",function(e){s.setState({mode:e},function(){s.focusOn(".active",".today")})}),h(ws(s),"switchToDays",function(){return s.switchMode(du.DAY)}),h(ws(s),"switchToMonths",function(){return s.switchMode(du.MONTH)}),h(ws(s),"switchToYears",function(){return s.switchMode(du.YEAR)}),h(ws(s),"handleSelectedDateUpdate",function(e){s.setState({selectedDate:e},function(){s.props.onChange(e),s.close(),s.focusOn(".btn")})}),h(ws(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})}),h(ws(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 W(Y,{children:[i===du.DAY&&H(ru,{selectedDate:t,min:n,max:r,viewMonth:o,viewYear:a,monthFormat:l,onSelect:s.handleSelectedDateUpdate,onLabelClick:s.switchToYears,onViewDateUpdate:s.handleViewDateUpdate}),i===du.MONTH&&H(lu,{selectedDate:t,min:n,max:r,viewYear:a,placeholder:e,onSelect:s.switchToDays,onLabelClick:s.switchToYears,onViewDateUpdate:s.handleViewDateUpdate}),i===du.YEAR&&H(cu,{selectedDate:t,min:n,max:r,viewYear:a,placeholder:e,onSelect:s.switchToMonths,onViewDateUpdate:s.handleViewDateUpdate})]})}),h(ws(s),"handleClear",function(){s.props.onChange(null),s.focusOn(".np-date-trigger")}),s.state={selectedDate:Xs(e.value),min:Xs(e.min),max:Xs(e.max),viewMonth:(e.value||new Date).getMonth(),viewYear:(e.value||new Date).getFullYear(),open:!1,mode:du.DAY,isMobile:!1},s}return gl(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=e.isMobile,o=this.props,a=o.size,i=o.placeholder,l=o.label,s=o.monthFormat,u=o.disabled,e=o.clearable,o=o.value;return W("div",{ref:this.element,className:"btn-group btn-block dropdown ".concat(n?"open":""),onKeyDown:this.handleKeyDown,children:[H(Hs,{selectedDate:t,size:a,placeholder:i,label:l,monthFormat:s,disabled:u,onClick:this.open,onClear:!u&&e&&o?this.handleClear:null}),r?H(Tl,{open:n,onClose:this.close,children:this.getCalendar()}):n&&H("div",{ref:this.dropdown,className:"dropdown-menu tw-date-lookup-menu",children:this.getCalendar()})]})}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=Xs(e.value),r=Xs(e.min),o=Xs(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(!fs(n,r,o))return e.onChange(hs(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}(M.PureComponent);function fu(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 hu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fu(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fu(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}xe.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},xe.defaultProps={min:null,max:null,size:_.Size.MEDIUM,placeholder:"",label:"",monthFormat:_.MonthFormat.LONG,disabled:!1,onFocus:null,onBlur:null,clearable:!1},(Le=_.DecisionPresentation||(_.DecisionPresentation={})).LIST="LIST",Le.LIST_BLOCK="LIST_BLOCK",Le.LIST_BLOCK_GRID="LIST_BLOCK_GRID",(_.DecisionType||(_.DecisionType={})).NAVIGATION="NAVIGATION";function mu(e){var t=e["aria-label"],n=e.as,r=e.media,o=e.href,a=e.target,i=e.title,l=e.content,s=e.onClick,u=e.complex,c=e.disabled,p=e.showMediaAtAllSizes,d=e.showMediaCircle,e=e.className,e={ariaLabel:t,as:n,media:r,href:o,target:a,title:i,content:l,complex:u,disabled:c,showMediaAtAllSizes:p,showMediaCircle:d,className:B("np-navigation-option",e)};return o&&(e.as="a"),H(Z,hu(hu({},e),{},{button:H(X,{orientation:_.Position.RIGHT,disabled:c,className:"d-block"}),onClick:function(e){c?e.preventDefault():s(e)}}))}mu.propTypes={"aria-label":l.default.string,as:l.default.string,media:l.default.node,title:l.default.node.isRequired,content:l.default.node,onClick:l.default.func,href:$(l.default.string,function(e){return"a"===e.as}),target:l.default.oneOf(["_self","_blank","_parent","_top"]),complex:l.default.bool,disabled:l.default.bool,showMediaAtAllSizes:l.default.bool,showMediaCircle:l.default.bool,className:l.default.string},mu.defaultProps={"aria-label":void 0,as:"button",media:null,content:null,complex:!1,onClick:null,href:void 0,target:void 0,disabled:!1,showMediaAtAllSizes:!1,showMediaCircle:!0,className:null};var gu={COLUMN:"COLUMN"},yu=M.forwardRef(function(e,t){var n=e.items,r=e.inline,e=M.useRef(null),t=tl({ref:t||e}),o=j(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)}),H("div",{ref:e,className:B("np-size-swapper",{"d-flex":!r,"d-inline-flex":r,"flex-column":t&&t.layout===gu.COLUMN,"flex-wrap":t&&t.wrap}),style:{visibility:o?"visible":"hidden"},children:t&&t.items})});yu.Breakpoint=_.Breakpoint,yu.Layout=gu,yu.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([yu.Layout.COLUMN]),wrap:l.default.bool})).isRequired},yu.defaultProps={inline:!1};function bu(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,e=e.title,s=s===_.Size.SMALL;return W("a",{className:B("decision","flex-column","np-tile","text-no-decoration","text-xs-center",t,{"p-y-5 p-x-4":!s,"np-tile--small p-a-2":s,disabled:r}),href:o,target:a,"aria-label":e,onClick:r?null:l,onKeyDown:r?null:function(e){e=e.key;e!==x.ENTER&&!x.SPACE.includes(e)||l()},children:[H("div",{className:"np-tile__media d-flex justify-content-center",children:i}),H("div",{className:"np-tile__title",children:e}),n&&H("div",{className:"np-tile__description",children:n})]})}bu.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},bu.defaultProps={className:"",description:null,disabled:!1,size:_.Size.MEDIUM,target:void 0};We=function(e){var t=e.options,n=e.presentation,r=e.type,u=e.showMediaCircleInList,o=e.size;if(r!==_.DecisionType.NAVIGATION)return H(Y,{});e=_.DecisionPresentation.LIST_BLOCK,r=_.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 H(mu,{complex:!1,content:r,disabled:o,href:a,target:i,media:l,showMediaAtAllSizes:!0,showMediaCircle:u,title:n,onClick:e},"nav-".concat(t))});var c=o===_.Size.SMALL,p=n===r,d=[{items:[],layout:yu.Layout.COLUMN},{items:[],breakpoint:c?_.Breakpoint.EXTRA_SMALL:_.Breakpoint.SMALL,wrap:p}];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;d[0].items.push(H(mu,{complex:!1,content:n,disabled:r,href:o,target:a,media:s,showMediaAtAllSizes:!0,showMediaCircle:u,title:e,onClick:i},"nav-".concat(t))),d[1].items.push(H(bu,{className:B("np-decision__tile".concat(c?"--small":""),{"np-decision__tile--fixed-width":p}),description:n,disabled:r,href:o,target:a,media:l,size:c?_.Size.SMALL:_.Size.MEDIUM,title:e,onClick:i},"tile-".concat(t)))}),H("div",{className:B("np-decision",{"np-decision--small":c,"np-decision--grid":p}),children:H(yu,{items:d})})};We.propTypes={options:l.default.arrayOf(l.default.shape({description:l.default.node,disabled:l.default.bool,href:$(l.default.string,function(e){return e.type===_.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.isRequired,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},We.defaultProps={presentation:_.DecisionPresentation.LIST,size:_.Size.MEDIUM,type:_.DecisionType.NAVIGATION,showMediaCircleInList:!0};function vu(e){var t=e.definitions,r=e.layout,e=e.muted;return H("dl",{className:B("tw-definition-list d-flex ",{"text-muted":e,"flex-column":r===_.Layout.VERTICAL_ONE_COLUMN,"tw-definition-list--columns flex-column flex-row--sm":r===_.Layout.VERTICAL_TWO_COLUMN,"tw-definition-list--horizontal flex-column":[_.Layout.HORIZONTAL_LEFT_ALIGNED,_.Layout.HORIZONTAL_RIGHT_ALIGNED,_.Layout.HORIZONTAL_JUSTIFIED].includes(r)}),children:t.filter(function(e){return e}).map(function(e){var t=e.title,n=e.value,e=e.key;return W("div",{className:"tw-definition-list__item",children:[H("dt",{children:t}),H("dd",{className:wu[r]||"",children:n})]},e)})})}var wu=(h(rt={},_.Layout.HORIZONTAL_RIGHT_ALIGNED,"text-sm-right"),h(rt,_.Layout.HORIZONTAL_JUSTIFIED,"text-sm-justify"),rt);vu.propTypes={definitions:l.default.arrayOf(l.default.shape({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},vu.defaultProps={definitions:[],layout:_.Layout.VERTICAL_TWO_COLUMN,muted:!1};function Ou(e){var t=e.children,n=e.className,r=e.footerContent,o=e.headerTitle,a=e.onClose,i=e.open,l=e.position;return fe("Drawer now expects `onClose`, and will soon make this prop required. Please update your usage to provide it.",!a),e=sl().isMobile,H(vl,{open:i,onClose:a,children:H(Cl,{open:i,position:e?_.Position.BOTTOM:l,children:W("div",{className:B("np-drawer",n),children:[W("div",{className:B("np-drawer-header",{"np-drawer-header--withborder":o}),children:[H(ce,{onClick:a}),o&&H("div",{className:"np-drawer-header--title title-3",children:o})]}),t&&H("div",{className:B("np-drawer-content"),children:t}),r&&H("div",{className:B("np-drawer-footer"),children:r})]})})})}Ou.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"])},Ou.defaultProps={children:null,className:void 0,footerContent:null,headerTitle:null,onClose:null,open:!1,position:_.Position.RIGHT};var Eu=function(e,t,n){e=Mu(e);return Au(e),Du(e),Pu(e),Lu(e,n),e},Cu=function(e){if(Array.isArray(e)){var t=[];return e.forEach(function(e){e.fields?t=t.concat(Tu(e,e.fields)):e.group?t=t.concat(Tu(e,e.group)):t.push(e)}),t}return e},Tu=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},xu=function(e){if(Array.isArray(e)){var n={};return e.forEach(function(e){var t=e.key||e.name;delete e.key,n[t]=Mu(e)}),n}return e},Su=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},Du=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=Ru(e))},Au=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=ku(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))},ku=function(e){return e.map(Nu)},Nu=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},Pu=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},Lu=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},Ru=function(e){if(e.control)return e.control.toLowerCase();if(e.hidden)return"hidden";if(e.values&&0<e.values.length)return _u(e);switch(e.type){case"string":return Iu(e.format);case"number":case"integer":return"number";case"boolean":return"checkbox";default:return"text"}},Iu=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"}},_u=function(e){return e.control||("select"===e.type||"radio"!==e.type&&(!e.values||3<e.values.length)?"select":"radio")},Mu=function(e){return JSON.parse(JSON.stringify(e))},Fu=9007199254740991,Uu="[object Arguments]",ju="[object Function]",Bu="[object GeneratorFunction]",qu="[object Map]",zu="[object Promise]",Vu="[object Set]",Gu="[object WeakMap]",Hu="[object DataView]",Wu=/^\[object .+?Constructor\]$/,Yu=/^(?:0|[1-9]\d*)$/,ot="object"==typeof n&&n&&n.Object===Object&&n,et="object"==typeof self&&self&&self.Object===Object&&self,at=ot||et||Function("return this")();function Ku(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 Xu,Zu,He=Function.prototype,$u=Object.prototype,ur=at["__core-js_shared__"],Ju=(De=/[^.]+$/.exec(ur&&ur.keys&&ur.keys.IE_PROTO||""))?"Symbol(src)_1."+De:"",Qu=He.toString,ec=$u.hasOwnProperty,tc=$u.toString,nc=RegExp("^"+Qu.call(ec).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rc=$u.propertyIsEnumerable,oc=(Xu=Object.keys,Zu=Object,function(e){return Xu(Zu(e))}),tr=fc(at,"DataView"),st=fc(at,"Map"),Uo=fc(at,"Promise"),Wt=fc(at,"Set"),Yt=fc(at,"WeakMap"),ac=mc(tr),ic=mc(st),lc=mc(Uo),sc=mc(Wt),uc=mc(Yt);function cc(e,t){var n,r,o,a,i=gc(e)||function(e){return function(e){return!!e&&"object"==typeof e}(e)&&yc(e)}(n=e)&&ec.call(n,"callee")&&(!rc.call(n,"callee")||tc.call(n)==Uu)?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&&!ec.call(e,r)||s&&("length"==r||(o=r,!!(a=null==(a=l)?Fu:a)&&("number"==typeof o||Yu.test(o))&&-1<o&&o%1==0&&o<a))||i.push(r);return i}function pc(e){var t;return vc(e)&&(t=e,!(Ju&&Ju in t))&&(bc(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?nc:Wu).test(mc(e))}function dc(e){if(n="function"==typeof(n=(t=e)&&t.constructor)&&n.prototype||$u,t!==n)return oc(e);var t,n,r,o=[];for(r in Object(e))ec.call(e,r)&&"constructor"!=r&&o.push(r);return o}function fc(e,t){t=t,t=null==(e=e)?void 0:e[t];return pc(t)?t:void 0}var hc=function(e){return tc.call(e)};function mc(e){if(null!=e){try{return Qu.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(tr&&hc(new tr(new ArrayBuffer(1)))!=Hu||st&&hc(new st)!=qu||Uo&&hc(Uo.resolve())!=zu||Wt&&hc(new Wt)!=Vu||Yt&&hc(new Yt)!=Gu)&&(hc=function(e){var t=tc.call(e),e="[object Object]"==t?e.constructor:void 0,e=e?mc(e):void 0;if(e)switch(e){case ac:return Hu;case ic:return qu;case lc:return zu;case sc:return Vu;case uc:return Gu}return t});var gc=Array.isArray;function yc(e){return null!=e&&("number"==typeof(t=e.length)&&-1<t&&t%1==0&&t<=Fu)&&!bc(e);var t}function bc(e){e=vc(e)?tc.call(e):"";return e==ju||e==Bu}function vc(e){var t=typeof e;return e&&("object"==t||"function"==t)}var wc,Oc=(wc=function(e){return(yc(e)?cc:dc)(e)},function(e){var t,n,r,o,a,i=hc(e);return i==qu?(t=e,n=-1,r=Array(t.size),t.forEach(function(e,t){r[++n]=[t,e]}),r):i==Vu?(i=e,o=-1,a=Array(i.size),i.forEach(function(e){a[++o]=[e,e]}),a):Ku(e,wc(e))}),Ec=function(e,t){for(var n=0;Cc(e,t+n);)n+=1;return n},Cc=function(e,t){return e[t]&&"*"!==e[t]},Tc=function(e){var t=e.field,n=e.value,r=F.useIntl().locale,o=[];switch(t.tagClassName&&t.tagClassName.h3&&(o.push("title-3"),o.push("formatted-value__h3-custom-alignment")),t.control){case"select":case"radio":return H("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 H("span",{children:ps(n instanceof Date?n:new Date(n),r)});case"number":return H("span",{children:rs(n,r)});case"password":return H("span",{children:new Array(n.length+1).join("*")});case"file":return H("div",{className:"thumbnail",children:H("img",{alt:t.title,src:n})});case"checkbox":return H("span",{children:JSON.stringify(n)});default:return H("span",{className:B(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;)Cc(n,i)?(r+=n[i],o+=1):(r+=e[i-o],--a),i+=1;t=Ec(n,i);return t&&(r+=n.slice(i,t)),r}(n,t.displayFormat)})}};function xc(e,i){return Oc(e).map(function(e){var n,r,t=j(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 H(Tc,{field:e,value:r[n]},t)}):H(Tc,{field:e,value:r[n]}),key:n}:null}).filter(function(e){return!!e})}Tc.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};pt=function(e){var t=e.model,n=e.title,r=e.layout,e=e.fields;return W(Y,{children:[n&&H("div",{className:"m-t-1",children:H("div",{className:"p-t-3 title-4",children:n})}),H(vu,{layout:r,definitions:xc(function(e,t,n){if(!e)return{};var r=Mu(e),r=Cu(r);return r=xu(r),r=Su(r),Object.keys(r).forEach(function(e){r[e]=Eu(r[e],t,n)}),r}(e),t)})]})};pt.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"])},pt.defaultProps={title:null,layout:_.Layout.VERTICAL_TWO_COLUMN};var Sc="&lt;",Dc="&gt;",Ac=new(function(){function t(e){y(this,t),h(this,"tags",void 0),this.tags=(e||[]).map(function(e){return{transformed:{opening:'<em class="emphasis emphasis--'.concat(e,'">'),closing:"</em>"},escapedRegex:{opening:new RegExp("".concat(Sc).concat(e).concat(Dc),"g"),closing:new RegExp("".concat(Sc,"/").concat(e).concat(Dc),"g")}}})}return gl(t,[{key:"transform",value:function(e){if(!e)return null;e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");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"]),kc=M.forwardRef(function(e,t){var n=e.bottomContent,r=e.className,o=e.layout,a=e.leftContent,e=e.rightContent,o=o===_.Layout.VERTICAL;return W("div",{ref:t,className:B("np-flow-header","d-flex","flex-wrap",r),children:[H("div",{className:B("align-items-center","np-flow-header__left","d-flex",{"flex__item--8":o}),children:a}),H("div",{className:B("align-items-center","d-flex","np-flow-header__right","justify-content-end",{"flex__item--4 ":o,"order-2":!o}),children:e}),H("div",{className:B("align-items-center","d-flex","justify-content-center",{"flex__item--12":o,"order-1 flex-grow-1":!o}),children:n})]})});kc.defaultProps={bottomContent:void 0,className:void 0,layout:_.Layout.HORIZONTAL,leftContent:void 0,rightContent:void 0},kc.propTypes={bottomContent:l.default.node,className:l.default.string,layout:l.default.oneOf(["HORIZONTAL","VERTICAL"]),leftContent:l.default.node,rightContent:l.default.node},(Hn=_.LogoType||(_.LogoType={})).WISE="WISE",Hn.WISE_BUSINESS="WISE_BUSINESS";var Nc={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"},Kn=function(e){var t=e.className,n=e.inverse,r=e.type,e=tl({ref:E()?void 0:window}),n=j(e,1)[0]<_.Breakpoint.SMALL?Nc.WISE_FLAG:Nc["".concat(r).concat(n?"_INVERSE":"")];return H("img",{className:B("np-logo",t),alt:r===_.LogoType.WISE?"Wise":"Wise business",src:"".concat("https://wise.com/public-resources/assets/logos/wise/").concat(n)})};Kn.propTypes={className:l.default.string,inverse:l.default.bool,type:l.default.oneOf(["WISE","WISE_BUSINESS"])},Kn.defaultProps={className:void 0,inverse:!1,type:_.LogoType.WISE};function Pc(e){return e.reduce(function(e,t){var n=t[0],t=t[1];return e[n]=t,e},{})}var Lc="undefined"!=typeof window&&window.document&&window.document.createElement?M.useLayoutEffect:M.useEffect,Rc="top",Ic="bottom",_c="right",Mc="left",Fc="auto",Uc=[Rc,Ic,_c,Mc],jc="start",Bc="end",qc="clippingParents",zc="viewport",Vc="popper",Gc="reference",Hc=Uc.reduce(function(e,t){return e.concat([t+"-"+jc,t+"-"+Bc])},[]),Wc=[].concat(Uc,[Fc]).reduce(function(e,t){return e.concat([t,t+"-"+jc,t+"-"+Bc])},[]),Yc=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Kc(e){return e?(e.nodeName||"").toLowerCase():null}function Xc(e){if(null==e)return window;if("[object Window]"===e.toString())return e;e=e.ownerDocument;return e&&e.defaultView||window}function Zc(e){return e instanceof Xc(e).Element||e instanceof Element}function $c(e){return e instanceof Xc(e).HTMLElement||e instanceof HTMLElement}function Jc(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Xc(e).ShadowRoot||e instanceof ShadowRoot)}function Qc(e){return e.split("-")[0]}function ep(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 tp(e){var t=ep(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 np(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Jc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0}while(r=r.parentNode||r.host)}return!1}function rp(e){return Xc(e).getComputedStyle(e)}function op(e){return((Zc(e)?e.ownerDocument:e.document)||window.document).documentElement}function ap(e){return"html"===Kc(e)?e:e.assignedSlot||e.parentNode||(Jc(e)?e.host:null)||op(e)}function ip(e){return $c(e)&&"fixed"!==rp(e).position?e.offsetParent:null}function lp(e){for(var t,n=Xc(e),r=ip(e);r&&(t=r,0<=["table","td","th"].indexOf(Kc(t)))&&"static"===rp(r).position;)r=ip(r);return(!r||"html"!==Kc(r)&&("body"!==Kc(r)||"static"!==rp(r).position))&&(r||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&$c(e)&&"fixed"===rp(e).position)return null;for(var r=ap(e);$c(r)&&["html","body"].indexOf(Kc(r))<0;){var o=rp(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 sp(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}var up=Math.max,cp=Math.min,pp=Math.round;function dp(e,t,n){return up(e,cp(t,n))}function fp(){return{top:0,right:0,bottom:0,left:0}}function hp(e){return Object.assign({},fp(),e)}function mp(n,e){return e.reduce(function(e,t){return e[t]=n,e},{})}var gp={top:"auto",right:"auto",bottom:"auto",left:"auto"};function yp(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:pp(pp(f*m)/m)||0,y:pp(pp(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=Mc,s=Rc,c=window;l&&(u="clientHeight",d="clientWidth",(o=lp(t))===Xc(t)&&"static"!==rp(o=op(t)).position&&(u="scrollHeight",d="scrollWidth"),r===Rc&&(s=Ic,e-=o[u]-n.height,e*=i?1:-1),r===Mc&&(m=_c,p-=o[d]-n.width,p*=i?1:-1));var l=Object.assign({position:a},l&&gp);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 bp={passive:!0};var vp={left:"right",right:"left",bottom:"top",top:"bottom"};function wp(e){return e.replace(/left|right|bottom|top/g,function(e){return vp[e]})}var Op={start:"end",end:"start"};function Ep(e){return e.replace(/start|end/g,function(e){return Op[e]})}function Cp(e){e=Xc(e);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Tp(e){return ep(op(e)).left+Cp(e).scrollLeft}function xp(e){var t=rp(e),n=t.overflow,e=t.overflowX,t=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+t+e)}function Sp(e,t){void 0===t&&(t=[]);var n=function e(t){return 0<=["html","body","#document"].indexOf(Kc(t))?t.ownerDocument.body:$c(t)&&xp(t)?t:e(ap(t))}(e),e=n===(null==(r=e.ownerDocument)?void 0:r.body),r=Xc(n),n=e?[r].concat(r.visualViewport||[],xp(n)?n:[]):n,t=t.concat(n);return e?t:t.concat(Sp(ap(n)))}function Dp(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ap(e,t){return t===zc?Dp((a=Xc(o=e),i=op(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+Tp(o),y:i})):$c(t)?((r=ep(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):Dp((o=op(e),i=op(o),t=Cp(o),r=null==(n=o.ownerDocument)?void 0:n.body,e=up(i.scrollWidth,i.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),n=up(i.scrollHeight,i.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),o=-t.scrollLeft+Tp(o),t=-t.scrollTop,"rtl"===rp(r||i).direction&&(o+=up(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 kp(n,e,t){var r,o,a,e="clippingParents"===e?(o=Sp(ap(r=n)),Zc(a=0<=["absolute","fixed"].indexOf(rp(r).position)&&$c(r)?lp(r):r)?o.filter(function(e){return Zc(e)&&np(e,a)&&"body"!==Kc(e)}):[]):[].concat(e),e=[].concat(e,[t]),t=e[0],t=e.reduce(function(e,t){t=Ap(n,t);return e.top=up(t.top,e.top),e.right=cp(t.right,e.right),e.bottom=cp(t.bottom,e.bottom),e.left=up(t.left,e.left),e},Ap(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 Np(e){return e.split("-")[1]}function Pp(e){var t,n=e.reference,r=e.element,o=e.placement,e=o?Qc(o):null,o=o?Np(o):null,a=n.x+n.width/2-r.width/2,i=n.y+n.height/2-r.height/2;switch(e){case Rc:t={x:a,y:n.y-r.height};break;case Ic:t={x:a,y:n.y+n.height};break;case _c:t={x:n.x+n.width,y:i};break;case Mc:t={x:n.x-r.width,y:i};break;default:t={x:n.x,y:n.y}}var l=e?sp(e):null;if(null!=l){var s="y"===l?"height":"width";switch(o){case jc:t[l]=t[l]-(n[s]/2-r[s]/2);break;case Bc:t[l]=t[l]+(n[s]/2-r[s]/2)}}return t}function Lp(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?qc:i,s=n.rootBoundary,u=void 0===s?zc:s,t=n.elementContext,o=void 0===t?Vc:t,i=n.altBoundary,s=void 0!==i&&i,t=n.padding,i=void 0===t?0:t,n=hp("number"!=typeof i?i:mp(i,Uc)),t=e.elements.reference,i=e.rects.popper,s=e.elements[s?o===Vc?Gc:Vc:o],l=kp(Zc(s)?s:s.contextElement||op(e.elements.popper),l,u),u=ep(t),t=Pp({reference:u,element:i,strategy:"absolute",placement:a}),t=Dp(Object.assign({},i,t)),u=o===Vc?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===Vc&&e&&(r=e[a],Object.keys(c).forEach(function(e){var t=0<=[_c,Ic].indexOf(e)?1:-1,n=0<=[Rc,Ic].indexOf(e)?"y":"x";c[e]+=r[n]*t})),c}function Rp(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 Ip(t){return[Rc,_c,Ic,Mc].some(function(e){return 0<=t[e]})}function _p(e,t,n){void 0===n&&(n=!1);var r=op(t),o=ep(e),a=$c(t),i={scrollLeft:0,scrollTop:0},e={x:0,y:0};return!a&&(a||n)||("body"===Kc(t)&&!xp(r)||(i=(n=t)!==Xc(n)&&$c(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:Cp(n)),$c(t)?((e=ep(t)).x+=t.clientLeft,e.y+=t.clientTop):r&&(e.x=Tp(r))),{x:o.left+i.scrollLeft-e.x,y:o.top+i.scrollTop-e.y,width:o.width,height:o.height}}function Mp(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 Fp(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 Up='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',jp='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',Bp=["name","enabled","phase","fn","effect","requires","options"];var qp="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",zp={placement:"bottom",modifiers:[],strategy:"absolute"};function Vp(){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 Gp(e){var t=e=void 0===e?{}:e,e=t.defaultModifiers,f=void 0===e?[]:e,t=t.defaultOptions,h=void 0===t?zp:t;return function(i,l,t){void 0===t&&(t=h);var n,r,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},zp,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:Zc(i)?Sp(i):i.contextElement?Sp(i.contextElement):[],popper:Sp(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=Mp(e),Yc.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(Fp(Up,String(n.name),'"name"','"string"','"'+String(n.name)+'"'));break;case"enabled":"boolean"!=typeof n.enabled&&console.error(Fp(Up,n.name,'"enabled"','"boolean"','"'+String(n.enabled)+'"'));case"phase":Yc.indexOf(n.phase)<0&&console.error(Fp(Up,n.name,'"phase"',"either "+Yc.join(", "),'"'+String(n.phase)+'"'));break;case"fn":"function"!=typeof n.fn&&console.error(Fp(Up,n.name,'"fn"','"function"','"'+String(n.fn)+'"'));break;case"effect":"function"!=typeof n.effect&&console.error(Fp(Up,n.name,'"effect"','"function"','"'+String(n.fn)+'"'));break;case"requires":Array.isArray(n.requires)||console.error(Fp(Up,n.name,'"requires"','"array"','"'+String(n.requires)+'"'));break;case"requiresIfExists":Array.isArray(n.requiresIfExists)||console.error(Fp(Up,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 '+Bp.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(Fp(jp,String(n.name),t,t))})})}),Qc(s.options.placement)===Fc&&(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=rp(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(Vp(t,e)){s.rects={reference:_p(t,lp(e),"fixed"===s.options.strategy),popper:tp(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(qp)}},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 Vp(i,l)?p.setOptions(t).then(function(e){!c&&t.onFirstUpdate&&t.onFirstUpdate(e)}):"production"!==process.env.NODE_ENV&&console.error(qp),p;function d(){u.forEach(function(e){return e()}),u=[]}}}var Hp=Gp({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=Xc(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach(function(e){e.addEventListener("scroll",n.update,bp)}),a&&i.addEventListener("resize",n.update,bp),function(){o&&l.forEach(function(e){e.removeEventListener("scroll",n.update,bp)}),a&&i.removeEventListener("resize",n.update,bp)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,e=e.name;t.modifiersData[e]=Pp({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=rp(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:Qc(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:e},null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,yp(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,yp(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];$c(r)&&Kc(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},{});$c(t)&&Kc(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=Wc.reduce(function(e,t){var n,r,o,a;return e[t]=(n=t,r=i.rects,o=l,a=Qc(n),t=0<=[Mc,Rc].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<=[Mc,_c].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=Qc(e),t=o||(t===e||!p?[wp(e)]:function(e){if(Qc(e)===Fc)return[];var t=wp(e);return[Ep(e),t,Ep(t)]}(e)),f=[e].concat(t).reduce(function(e,t){return e.concat(Qc(t)===Fc?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)?Wc:t,s=Np(r),r=s?e?Hc:Hc.filter(function(e){return Np(e)===s}):Uc;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]=Lp(n,{placement:t,boundary:o,rootBoundary:a,padding:i})[Qc(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 w=f[v],O=Qc(w),E=Np(w)===jc,C=0<=[Rc,Ic].indexOf(O),T=C?"width":"height",x=Lp(n,{placement:w,boundary:s,rootBoundary:u,altBoundary:c,padding:l}),C=C?E?_c:Mc:E?Ic:Rc;h[T]>m[T]&&(C=wp(C));E=wp(C),T=[];if(a&&T.push(x[O]<=0),i&&T.push(x[C]<=0,x[E]<=0),T.every(function(e){return e})){b=w,y=!1;break}g.set(w,T)}if(y)for(var S=p?3:1;0<S;S--)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"}(S))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!==(C=n.altAxis)&&C,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=Lp(t,{boundary:i,rootBoundary:l,padding:u,altBoundary:s}),m=Qc(t.placement),g=Np(t.placement),y=!g,b=sp(m),v="x"===b?"y":"x",w=t.modifiersData.popperOffsets,O=t.rects.reference,e=t.rects.popper,E="function"==typeof f?f(Object.assign({},t.rects,{placement:t.placement})):f,C={x:0,y:0};w&&((o||a)&&(c="y"===b?"height":"width",n=w[b],i=w[b]+h[d="y"===b?Rc:Mc],u=w[b]-h[l="y"===b?Ic:_c],s=p?-e[c]/2:0,m=(g===jc?O:e)[c],f=g===jc?-e[c]:-O[c],g=t.elements.arrow,e=p&&g?tp(g):{width:0,height:0},d=(g=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:fp())[d],l=g[l],e=dp(0,O[c],e[c]),d=y?O[c]/2-s-e-d-E:m-e-d-E,e=y?-O[c]/2+s+e+l+E:f+e+l+E,E=(l=t.elements.arrow&&lp(t.elements.arrow))?"y"===b?l.clientTop||0:l.clientLeft||0:0,l=t.modifiersData.offset?t.modifiersData.offset[t.placement][b]:0,E=w[b]+d-l-E,l=w[b]+e-l,o&&(u=dp(p?cp(i,E):i,n,p?up(u,l):u),w[b]=u,C[b]=u-n),a&&(a=(n=w[v])+h["x"===b?Rc:Mc],b=n-h["x"===b?Ic:_c],b=dp(p?cp(a,E):a,n,p?up(b,l):b),w[v]=b,C[v]=b-n)),t.modifiersData[r]=C)},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=Qc(r.placement),u=sp(s),c=0<=[Mc,_c].indexOf(s)?"height":"width";i&&l&&(t=a.padding,n=r,e=hp("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:mp(t,Uc)),s=tp(i),a="y"===u?Rc:Mc,n="y"===u?Ic:_c,t=r.rects.reference[c]+r.rects.reference[u]-l[u]-r.rects.popper[c],l=l[u]-r.rects.reference[u],i=(i=lp(i))?"y"===u?i.clientHeight||0:i.clientWidth||0:0,a=e[a],n=i-s[c]-e[n],n=dp(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&&($c(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(" "))),np(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=Lp(t,{elementContext:"reference"}),e=Lp(t,{altBoundary:!0}),r=Rp(i,r),e=Rp(e,o,a),o=Ip(r),a=Ip(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})}}]}),Wp="undefined"!=typeof Element,Yp="function"==typeof Map,Kp="function"==typeof Set,Xp="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function Zp(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(Yp&&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(Kp&&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(Xp&&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(Wp&&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 $p(t,n,r){void 0===r&&(r={});var o=M.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||Jp},e=M.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"}},attributes:{}}),i=e[0],l=e[1],s=M.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,e=Object.keys(t.elements);l({styles:Pc(e.map(function(e){return[e,t.styles[e]||{}]})),attributes:Pc(e.map(function(e){return[e,t.attributes[e]]}))})},requires:["computeStyles"]}},[]),u=M.useMemo(function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[s,{name:"applyStyles",enabled:!1}])};return Zp(o.current,e)?o.current||e:o.current=e},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,s]),c=M.useRef();return Lc(function(){c.current&&c.current.setOptions(u)},[u]),Lc(function(){if(null!=t&&null!=n){var e=(r.createPopper||Hp)(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 Jp=[];function Qp(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 ed(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Qp(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Qp(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function td(e){var t=void 0===(u=e.position)?_.Position.TOP:u,n=void 0===(p=e.children)?void 0:p,r=e.label,o=e.className,a=M.useState(!1),i=(c=j(a,2))[0],l=c[1],s=M.useRef(null),u=M.useState(null),e=(p=j(u,2))[0],a=p[1],c=M.useState(null),p=(u=j(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:_.Position.TOP}});var t=(p=$p(s.current,p,{placement:t,modifiers:u})).styles,u=p.attributes,d=p.forceUpdate;return M.useEffect(function(){i&&d&&d()},[i]),W(Y,{children:[H("span",{ref:s,className:"d-inline-block",children:n?M.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?H("div",ed(ed({ref:c,className:B("np-tooltip","np-panel","np-panel--open","bg-screen",o),style:ed({},t.popper)},u.popper),{},{children:W("div",{className:"np-panel__content tooltip-inner",children:[r,H("div",{ref:a,className:B("np-panel__arrow"),style:t.arrow})]})})):null]})}function nd(){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 rd(e){var t=e.steps,n=e.activeStep,r=e.className,a=il().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 W("div",{className:B("tw-stepper",r),children:[W("div",{className:"progress",children:[H("div",{className:"progress-bar-filler",style:{width:"".concat(100*o,"%")}}),H("div",{className:"progress-bar-ending",style:{width:"".concat(100*n,"%")}})]}),H("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?H("button",{type:"button",className:"btn-unstyled tw-stepper__step-label",onClick:function(){return r&&e.onClick()},children:H("small",{children:e.label})}):H("small",{className:"tw-stepper__step-label",children:e.label});return H("li",{className:"\n hidden-xs\n tw-stepper__step\n ".concat(n?"tw-stepper__step--active":"","\n ").concat(r?"tw-stepper__step--clickable":"","\n "),style:a?{right:"".concat(t*l*100,"%")}:{left:"".concat(t*l*100,"%")},children:e.hoverLabel&&!nd()?H(td,{position:_.Position.BOTTOM,label:e.hoverLabel,children:o}):o},t)})})]})}rd.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},rd.defaultProps={activeStep:0,className:void 0};function od(e){var r=e.activeLabel,t=e.className,o=(e=e.labels).length-1;return H("div",{className:B("np-animated-label",t),children:e.map(function(e,t){var n=t-1;return H("div",{className:B("text-xs-left",{"np-animated-label--in":t===r,"np-animated-label--out":n===r&&n!=o}),children:e},n)})})}od.propTypes={activeLabel:l.default.number.isRequired,className:l.default.string,labels:l.default.arrayOf(l.default.node).isRequired},od.defaultProps={className:void 0};function ad(e){var t=e.label,n=e.className,e=e.onClick;return W("button",{type:"button",className:B("np-back-button","align-items-center","btn-unstyled",n),onClick:e,children:[H(T.ArrowLeft,{size:24}),t]})}ad.propTypes={className:l.default.string,label:l.default.element,onClick:l.default.func.isRequired};var id={"np-flow-navigation--sm":_.Breakpoint.SMALL,"np-flow-navigation--lg":_.Breakpoint.LARGE},Fl=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=M.useRef(null),e=tl({ref:s}),u=j(e,1)[0],e=o&&H(ce,{onClick:o}),o=u<_.Breakpoint.SMALL,n=i?null:n;return H("div",{ref:s,className:B("np-flow-navigation d-flex align-items-center justify-content-center p-y-3",{"np-flow-navigation--border-bottom":!i}),children:H(kc,{className:B("np-flow-navigation__content p-x-3",{"np-flow-navigation--hidden":!u,"np-flow-navigation--xs-max":o},Object.keys(id).filter(function(e){return id[e]<=u})),leftContent:o?H(Y,{children:a&&0<t?H(ad,{label:H(od,{className:"m-x-1",labels:l.map(function(e){return e.label}),activeLabel:t-1}),onClick:a}):r}):r,rightContent:W(Y,{children:[n,n&&e&&H("span",{className:"separator"}),e]}),bottomContent:!i&&H(rd,{activeStep:t,steps:l,className:B("np-flow-navigation__stepper")}),layout:u<_.Breakpoint.LARGE?_.Layout.VERTICAL:_.Layout.HORIZONTAL})})};Fl.defaultProps={activeStep:0,avatar:void 0,logo:H(Kn,{}),onGoBack:void 0,onClose:void 0,done:!(ad.defaultProps={className:void 0,label:void 0})},Fl.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 ld(e){var t=e.className,n=e.children,r=e.href,o=e.target,a=e["aria-label"],e="_blank"===o;return W("a",{href:r,target:o,className:B("np-link d-inline-flex",t),"aria-label":a,rel:e?"noreferrer":void 0,children:[n,e&&H(T.NavigateAway,{className:"m-l-05"})]})}function sd(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 ud(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?sd(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):sd(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function cd(e){var t=e.action,e={"aria-label":t["aria-label"],className:"np-header__action"};return"href"in t?H(ld,ud(ud({href:t.href,target:t.target},e),{},{children:t.text})):H(_l,ud(ud({priority:_.Priority.TERTIARY,onClick:t.onClick},e),{},{children:t.text}))}Ae=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=M.useRef(),e=ll({elRef:c,loading:l}),e=j(e,1)[0],n=n,o=o;return"lazy"!==l||e||(n="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",o=null),H("img",{ref:c,id:t,alt:r,src:n,className:B(["tw-image",{"tw-image__stretch":s,"tw-image__shrink":u},i]),onLoad:o,onError:a})};Ae.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},Ae.defaultProps={id:null,className:"",onLoad:function(){},onError:function(){},loading:"eager",stretch:!0,shrink:!0},(ve=_.InfoPresentation||(_.InfoPresentation={})).POPOVER="POPOVER",ve.MODAL="MODAL";var pd=["title","body","footer","onClose","className","open","size","scroll","position"];function dd(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 fd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?dd(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):dd(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function hd(e){var t=void 0===(d=e.title)?null:d,n=e.body,r=void 0===(u=e.footer)?null:u,o=e.onClose,a=e.className,i=e.open,l=void 0===(c=e.size)?_.Size.MEDIUM:c,s=void 0===(p=e.scroll)?_.Scroll.VIEWPORT:p,u=void 0===(d=e.position)?_.Position.CENTER:d,c=ne(e,pd),p=function(e){return null==a?void 0:a.split(" ").includes(e)},d=sl().isMobile,e=p("compact"),p=p("no-divider");return d?H(Ou,{open:i,headerTitle:t,footerContent:r,position:_.Position.BOTTOM,onClose:o,children:n}):H(vl,{open:i,scrollable:s===_.Scroll.VIEWPORT,className:B("d-flex","justify-content-center"),onClose:o,children:H(No,{appear:!0,in:i,classNames:{enterDone:"in"},timeout:150,unmountOnExit:!0,children:H("div",fd(fd({className:B("tw-modal","d-flex","fade","outline-none",a,{"align-self-center":u===_.Position.CENTER,"tw-modal--scrollable":s===_.Scroll.CONTENT})},c),{},{children:H("div",{className:B("tw-modal-dialog","d-flex",h({},"tw-modal-".concat(l),l)),"aria-modal":!0,role:"dialog",children:W("div",{className:B("tw-modal-content","d-flex","flex-column","justify-content-between",{"tw-modal-compact":e,"tw-modal-no-title":!t}),children:[W("div",{className:B("tw-modal-header","d-flex","align-items-center","justify-content-between","flex-wrap",{"modal--withoutborder":!t||p}),children:[H("h4",{className:"tw-modal-title",children:t}),H(ce,{onClick:o})]}),H("div",{className:B("tw-modal-body",{"tw-modal-body--scrollable":s===_.Scroll.CONTENT}),children:n}),r&&H("div",{className:B("tw-modal-footer","d-flex","align-items-center","flex-wrap",{"modal--withoutborder":p}),children:r})]})})}))})})}function md(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 gd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?md(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):md(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var yd=[0,16],bd=(h(we={},_.Position.TOP,[_.Position.BOTTOM,_.Position.RIGHT,_.Position.LEFT]),h(we,_.Position.BOTTOM,[_.Position.TOP,_.Position.RIGHT,_.Position.LEFT]),h(we,_.Position.LEFT,[_.Position.RIGHT,_.Position.TOP,_.Position.BOTTOM]),h(we,_.Position.RIGHT,[_.Position.LEFT,_.Position.TOP,_.Position.BOTTOM]),we),vd=M.forwardRef(function(e,t){var n=e.arrow,r=e.children,o=e.className,a=e.open,i=e.onClose,l=e.position,s=e.anchorRef,u=M.useState(null),c=j(u,2),p=c[0],d=c[1],e=M.useState(null),u=j(e,2),c=u[0],e=u[1],u=[];n&&(u.push({name:"arrow",options:{element:p,options:{padding:8}}}),u.push({name:"offset",options:{offset:yd}})),bd[l]&&u.push({name:"flip",options:{fallbackPlacements:bd[l]}});var c=$p(s.current,c,{placement:l,modifiers:u}),l=c.styles,u=c.attributes,f=c.forceUpdate;return M.useEffect(function(){a&&f&&f()},[a]),H(vl,{open:a,transparent:!0,fadeContentOnEnter:!0,fadeContentOnExit:!0,onClose:i,children:H("div",gd(gd({ref:e,style:gd({},l.popper)},u.popper),{},{className:B("np-panel",{"np-panel--open":a},o),children:W("div",{ref:t,className:B("np-panel__content"),children:[r,n&&H("div",{ref:d,className:B("np-panel__arrow"),style:l.arrow})]})}))})});vd.Position={BOTTOM:_.Position.BOTTOM,LEFT:_.Position.LEFT,RIGHT:_.Position.RIGHT,TOP:_.Position.TOP},vd.defaultProps={arrow:!1,className:void 0,open:!1,position:vd.Position.TOP},vd.propTypes={arrow:l.default.bool,className:l.default.string,children:l.default.node.isRequired,open:l.default.bool,onClose:l.default.func.isRequired,position:l.default.oneOf([vd.Position.BOTTOM,vd.Position.LEFT,vd.Position.RIGHT,vd.Position.TOP]),anchorRef:l.default.shape({current:l.default.any}).isRequired};function wd(e){var t=e.anchorRef,n=e.arrow,r=e.children,o=e.className,a=e.onClose,i=e.open,l=e.position,e="undefined"==typeof window?void 0:window,e=tl({ref:e});return j(e,1)[0]>=_.Breakpoint.SMALL?H(vd,{arrow:n,open:i,position:l,anchorRef:t,className:o,onClose:a,children:r},"panel"):H(Tl,{open:i,className:o,onClose:a,children:r},"bottomSheet")}wd.defaultProps={arrow:!1,className:void 0,open:!1,position:_.Position.TOP},wd.propTypes={arrow:l.default.bool,children:l.default.node.isRequired,className:l.default.string,onClose:l.default.func.isRequired,open:l.default.bool,anchorRef:l.default.shape({current:l.default.shape({})}).isRequired,position:l.default.oneOf(["top","right","left","bottom"])};function Od(e){var t=e.children,n=e.className,r=e.content,o=e.preferredPlacement,a=e.title;Ed({preferredPlacement:o});var i=M.useRef(null),e=M.useState(!1),l=(e=j(e,2))[0],s=e[1];return W("span",{className:B("np-popover",n),children:[H("span",{ref:i,className:"d-inline-block",children:M.cloneElement(t,{onClick:function(){var e;null!=t&&null!==(e=t.props)&&void 0!==e&&e.onClick&&t.props.onClick(),s(!l)}})}),H(wd,{open:l,anchorRef:i,position:Cd[o]||o,arrow:!0,className:"np-popover__container",onClose:function(){return s(!1)},children:W("div",{className:"np-popover__content","aria-hidden":!l,role:"tooltip",children:[a&&H("div",{role:"heading","aria-level":1,className:"np-popover__title m-b-1",children:a}),r]})})]})}var Ed=function(e){e=e.preferredPlacement;fe("Popover has deprecated ".concat(e," value for the 'preferredPlacement' prop. Please use ").concat(Cd[e]," instead."),Cd[e])};Od.defaultProps={className:void 0,preferredPlacement:_.Position.RIGHT,title:void 0},Od.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 Cd=(h(e={},_.Position.BOTTOM_LEFT,_.Position.BOTTOM),h(e,_.Position.BOTTOM_RIGHT,_.Position.BOTTOM),h(e,_.Position.LEFT_TOP,_.Position.TOP),h(e,_.Position.RIGHT_TOP,_.Position.TOP),e);function Td(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 xd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Td(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Td(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Sd(e){var t=e.className,n=e.content,r=e.onClick,o=e.presentation,a=e.size,i=e.title,l=M.useState(!1),s=(l=j(l,2))[0],u=l[1],o=o===_.InfoPresentation.MODAL,a=a===_.Size.SMALL,e={"aria-label":e["aria-label"],className:"btn-unstyled",children:H(T.HelpCircle,{size:a?16:24})};return H("span",{className:B(t,"np-info",{"np-info__small":a,"np-info__large":!a}),children:o?W(Y,{children:[H("button",xd({type:"button",onClick:function(){u(!s),r&&r()}},e)),H(hd,{body:n,open:s,title:i,onClose:function(){return u(!1)}})]}):H(Od,{content:n,preferredPlacement:_.Position.BOTTOM,title:i,children:H("button",xd(xd({type:"button"},e),{},{onClick:function(){r&&r()}}))})})}function Dd(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}Sd.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},Sd.defaultProps={className:void 0,content:void 0,onClick:void 0,presentation:_.InfoPresentation.POPOVER,size:_.Size.SMALL,title:void 0};function Ad(r){var e=eo(function(e){var t=e.children,n=e.className,e=e.type,e="alert-".concat(kd[e]||e);return H("div",{role:"alert",id:r.id,className:B("alert alert-detach p-x-2 p-y-1",e,n),children:t})},_.AlertArrowPosition.TOP_LEFT);return H(e,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Dd(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Dd(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},r))}var kd=h({},_.Sentiment.ERROR,"danger");Ad.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"])},Ad.defaultProps={className:void 0,id:void 0,type:_.Sentiment.NEUTRAL};function Nd(e){var n=[];return e.split("").forEach(function(e,t){"*"!==e&&n.push({index:t,symbol:e})}),n}var Pd=function(e,t){if(!e||""===e)return"";for(var n=e.toString().split(""),r=Nd(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("")},Ld=function(e,t){var n=[""];return(n=e&&0<e.length?(n=e.toString().split("")).filter(function(e){return!Rd(t).includes(e)}):n).join("")},Rd=function(e){return e.split("").filter(function(e){return"*"!==e})},Id=function(t,n,e){return Nd(e).filter(function(e){return e.index>=t&&e.index<n}).length},_d=function(t,e){e=Nd(e).filter(function(e){return e.index>=t});return Fd(t,e,"left")},Md=function(t,e){e=Nd(e).filter(function(e){return e.index<t}).reverse();return Fd(t,e,"right")},Fd=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},Ud=function(e,t,n,r,o){var a=t;switch(e){case"Backspace":t===n&&(a=0<(a-=Md(t,r))?a-1:0);break;case"Paste":a+=o+Id(t,t+o,r)+_d(t+o,r);break;case"Cut":case"Delete":break;default:a+=1+_d(t,r)}return a};function jd(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}var Bd=function(e){Es(o,e);var r=jd(o);function o(e){var l;y(this,o),l=r.call(this,e),h(ws(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<=Ld(o,a).length?"Backspace":n.key}),h(ws(l),"resetEvent",function(){l.setState({triggerType:null,triggerEvent:null,pastedLength:0})}),h(ws(l),"detectUndoRedo",function(e){var t=String.fromCharCode(e.which).toLowerCase();return(e.ctrlKey||e.metaKey)&&"z"===t?e.shiftKey?"Redo":"Undo":null}),h(ws(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=Pd(o.undo(),a),l.setState({value:t,triggerType:"Undo"})):"Redo"===l.detectUndoRedo(e)?(t=Pd(o.redo(),a),l.setState({value:t,triggerType:"Redo"})):l.setState({triggerEvent:e,triggerType:"KeyDown",selectionStart:n,selectionEnd:r})}),h(ws(l),"handleOnPaste",function(e){var t=l.props.displayPattern,t=Ld(e.clipboardData.getData("Text"),t).length;l.setState({triggerType:"Paste",pastedLength:t})}),h(ws(l),"handleOnCut",function(){l.setState({triggerType:"Cut"})}),h(ws(l),"isKeyAllowed",function(e){return!l.props.displayPattern.split("").filter(function(e){return"*"!==e}).includes(e)}),h(ws(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=Ld(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=Pd(e,t),n.add(e),l.handleCursorPositioning(r),t=Ld(o,t),l.setState({value:o},l.resetEvent(),a(t)))}),h(ws(l),"handleOnBlur",function(e){var t=l.props,n=t.displayPattern,t=t.onBlur;t&&t(Ld(e.target.value,n))}),h(ws(l),"handleOnFocus",function(e){var t=l.props,n=t.displayPattern,t=t.onFocus;t&&t(Ld(e.target.value,n))}),h(ws(l),"handleDelete",function(e,t){var n=l.props.displayPattern,r=l.state,o=r.selectionStart,a=r.selectionEnd,i=U(e);return o===a&&(r=o-Id(0,o,n),e=0,a=_d(o,n),"Backspace"===t&&(--r,a=Md(o,n)),i.splice(r,e=0<=r&&a?1:e)),i.join("")}),h(ws(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=Ud(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=Ld(t,n);return l.state={value:Pd(t,n),historyNavigator:new b,prevDisplayPattern:e.displayPattern,triggerType:null,triggerEvent:null},l}return gl(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=Ld(e,r);return t.reset(),{prevDisplayPattern:n,value:Pd(r,n),triggerType:null,triggerEvent:null,pastedLength:0}}}]),o}(M.Component);function qd(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 zd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qd(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qd(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}Bd.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},Bd.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};Le=function(e){return H(Bd,zd(zd({},e),{},{render:function(e){return H("input",zd({},e))}}))};Le.propTypes={displayPattern:l.default.string.isRequired,onChange:l.default.func.isRequired};rt=function(e){var t=e.dos,e=e.donts;return W("div",{className:"tw-instructions",children:[t.map(function(e,t){return W("div",{className:"instruction m-t-1",children:[H(T.CheckCircle,{size:24,className:"do"}),H("p",{className:"m-l-2 m-b-0 text-primary",children:e})]},t)}),e.map(function(e,t){return W("div",{className:"instruction m-t-1",children:[H(T.CrossCircle,{size:24,className:"dont"}),H("p",{className:"m-l-2 m-b-0 text-primary",children:e})]},t)})]})};rt.defaultProps={dos:[],donts:[]},rt.propTypes={dos:l.default.arrayOf(l.default.node),donts:l.default.arrayOf(l.default.node)};var Vd=["small","size","classNames"],ot=function(e){var t,n=e.amount,r=e.currency,o=F.useIntl().locale;return H(Y,{children:(e=o,is(n,r=r,e=void 0===o?"en-GB":e,t=void 0===t?{alwaysShowDecimals:!1}:t)+" "+(r||"").toUpperCase())})};ot.propTypes={amount:l.default.number.isRequired,currency:l.default.string.isRequired};var Gd=F.defineMessages({selectPlaceholder:{id:"neptune.MoneyInput.Select.placeholder"}}),Hd={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},Wd=2;function Yd(){return"1,234"===(1234..toLocaleString&&1234..toLocaleString(S))}function Kd(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(Hd,e)?Hd[e]:Wd}(t),t=Yd()?1e4.toLocaleString(r)[2]:",",r=(r=r,Yd()?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 Xd(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 Zd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Xd(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Xd(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function $d(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}var et=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}),Jd="CUSTOM_ACTION",Qd=function(e){return Di(e)||Ai(e)},ef=function(e,t,n){return"number"==typeof e?is(e,t,n):""},tf=new Set([Ds.BACKSPACE,Ds.DELETE,Ds.COMMA,Ds.PERIOD,Ds.DOWN,Ds.UP,Ds.LEFT,Ds.RIGHT,Ds.ENTER,Ds.ESCAPE,Ds.TAB]),nf=new Set([x.PERIOD,x.COMMA]),ur=function(e){Es(o,e);var n=$d(o);function o(e){var r;y(this,o),r=n.call(this,e),h(ws(r),"isInputAllowedForKeyEvent",function(e){var t=e.keyCode,n=e.metaKey,r=e.key,e=e.ctrlKey;return Di(parseInt(r,10))||n||e||tf.has(t)||nf.has(r)}),h(ws(r),"handleKeyDown",function(e){r.isInputAllowedForKeyEvent(e)||e.preventDefault()}),h(ws(r),"handlePaste",function(e){var t=(e.clipboardData||window.clipboardData).getData("text"),n=r.state.locale,t=Ni(t)?null:Kd(t,r.props.selectedCurrency.currency,n);Qd(t)&&(r.setState({formattedAmount:ef(t,r.props.selectedCurrency.currency,n)}),r.props.onAmountChange(t)),e.preventDefault()}),h(ws(r),"onAmountChange",function(e){e=e.target.value;r.setState({formattedAmount:e});e=Ni(e)?null:Kd(e,r.props.selectedCurrency.currency,r.state.locale);Qd(e)&&r.props.onAmountChange(e)}),h(ws(r),"onAmountBlur",function(){r.amountFocused=!1,r.setAmount()}),h(ws(r),"onAmountFocus",function(){r.amountFocused=!0}),h(ws(r),"handleSelectChange",function(e){r.handleSearchChange(""),r.props.onCustomAction&&e.value===Jd?r.props.onCustomAction():r.props.onCurrencyChange(e)}),h(ws(r),"handleSearchChange",function(e){r.setState({searchQuery:e}),r.props.onSearchChange&&r.props.onSearchChange({searchQuery:e,filteredOptions:rf(r.props.currencies,e)})}),h(ws(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:ef(e.amount,e.selectedCurrency.currency,t),locale:t},r}return gl(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:ef(e.amount,e.selectedCurrency.currency,null==e||null===(n=e.intl)||void 0===n?void 0:n.locale)})}},{key:"getSelectOptions",value:function(){var e=U(rf(this.props.currencies,this.state.searchQuery));return this.props.onCustomAction&&e.push({value:Jd,label:this.props.customActionLabel}),e}},{key:"setAmount",value:function(){var n=this;this.setState(function(e){var t=Kd(e.formattedAmount,n.props.selectedCurrency.currency,n.state.locale);return Qd(t)?{formattedAmount:ef(t,n.props.selectedCurrency.currency,e.locale)}:{formattedAmount:e.formattedAmount}})}},{key:"render",value:function(){var e=this.props,t=e.selectedCurrency,n=e.onCurrencyChange,r=e.size,o=e.addon,a=this.getSelectOptions(),e=!this.state.searchQuery&&(1===a.length&&a[0].currency===t.currency||!n),n=!this.props.onAmountChange;return W("div",{className:B(this.style("tw-money-input"),this.style("input-group"),this.style("input-group-".concat(r))),children:[H("input",{id:this.props.id,value:this.state.formattedAmount,type:"text",inputMode:"decimal",className:B(this.style("form-control")),disabled:n,placeholder:ef(this.props.placeholder,this.props.selectedCurrency.currency,this.state.locale),autoComplete:"off",onKeyDown:this.handleKeyDown,onChange:this.onAmountChange,onFocus:this.onAmountFocus,onBlur:this.onAmountBlur,onPaste:this.handlePaste}),o&&H("span",{className:B(this.style("input-group-addon"),this.style("input-".concat(r)),n?this.style("disabled"):""),children:o}),e?W("div",{className:B(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)&&W(Y,{children:[H("i",{className:B(this.style("tw-money-input__keyline"))}),H("i",{className:B(this.style("currency-flag"),this.style("currency-flag-".concat(t.currency.toLowerCase())),this.style("hidden-xs"),this.style("m-r-2"))})]}),H("span",{className:"lg"===r?this.style("m-r-1"):"",children:t.currency.toUpperCase()})]}):H("div",{className:B(this.style("input-group-btn"),this.style("amount-currency-select-btn")),children:H(qs,{classNames:this.props.classNames,options:a,selected:Zd(Zd({},t),{},{note:null}),placeholder:this.formatMessage(Gd.selectPlaceholder),searchPlaceholder:this.props.searchPlaceholder,searchValue:this.state.searchQuery,size:r,required:!0,dropdownRight:"xs",dropdownWidth:"lg",inverse:!0,onChange:this.handleSelectChange,onSearchChange:this.handleSearchChange})})]})}}]),o}(M.Component);function rf(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&&(of(e.label,t)||of(e.searchable,t)||of(e.note,t));var t}));return o=n,e.sort(function(e,t){e=of(e.label,o),t=of(t.label,o);return e&&t?0:e?-1:t?1:0})}function of(e,t){return e&&e.toLowerCase().includes(t.toLowerCase())}ur.propTypes={id:l.default.string,currencies:l.default.arrayOf(et).isRequired,selectedCurrency:et.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)},ur.defaultProps={id:null,size:_.Size.LARGE,addon:null,searchPlaceholder:"",onSearchChange:void 0,onCurrencyChange:null,placeholder:null,amount:null,onAmountChange:null,customActionLabel:"",onCustomAction:null,classNames:{}};De=F.injectIntl(ur),He=function(e){e=e.children;return H("ul",{className:"np-navigation-options-list",children:M.Children.map(e,function(e){return H("li",{className:"np-navigation-options-list__item",children:e},e.key)})})};He.propTypes={children:l.default.node.isRequired};at=function(e){var t=e.media,n=e.title,r=e.link,o=e.href,a=e.onClick,i=e.onDismiss,l=e.id,e=e.className;return W("div",{className:B("tw-nudge media",e),id:l,children:[H("div",{className:"align-self-start media-left",children:t}),W("div",{className:"media-body",children:[H("div",{className:"tw-nudge__title media-heading title-4",children:n}),H("a",{href:o,className:"tw-nudge__link",onClick:a,children:r})]}),H("div",{className:"align-self-start media-right",children:H(ce,{size:16,onClick:i})})]})};at.propTypes={media:l.default.node.isRequired,title:l.default.node.isRequired,link:l.default.node.isRequired,href:l.default.string.isRequired,onClick:l.default.func,onDismiss:l.default.func.isRequired,id:l.default.string,className:l.default.string},at.defaultProps={id:null,className:null,onClick:void 0};tr=function(e){var t=e.avatar,n=e.onClose,e=e.logo,n=n&&H(ce,{onClick:n});return H("div",{className:"np-overlay-header d-flex justify-content-center",children:H(kc,{className:"np-overlay-header__content p-a-3",leftContent:e,rightContent:W(Y,{children:[t,t&&n&&H("span",{className:"separator"}),n]})})})};tr.defaultProps={avatar:null,logo:H(Kn,{}),onClose:null},tr.propTypes={avatar:l.default.element,logo:l.default.node,onClose:l.default.func};function af(e){return e.reduce(function(e,t){return e.phone.length>t.phone.length?e:t})}function lf(t){var e;return(e=t&&2===t.length?ff.filter(function(e){return t.toUpperCase()===e.iso2}):e)&&0<e.length?af(e):null}function sf(e){return/^\+[\d-\s]+$/.test(e)&&e.match(/\d+/g)&&4<=e.match(/\d+/g).join("").length}function uf(e){var t,n="",r="",o="",a=(a=null,(a=(t=e)&&1<t.length?ff.filter(function(e){return 0===t.indexOf(e.phone)}):a)&&0<a.length?af(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 cf(e,n){return e.filter(function(e){return t=n,hf((e=e).iso3,t)||hf(e.iso2,t)||hf(e.name,t)||hf(e.phone,t);var t})}function pf(e){return e.match(gf)&&e.match(gf).join("")||""}function df(e,n){return U(e).sort(function(e,t){return e[n].localeCompare(t[n])})}var ff=[{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"}],hf=function(e,t){return Si(e)?0<e.filter(function(e){return 0===mf(e).indexOf(mf(t))}).length:0===mf(e).indexOf(mf(t))},mf=function(e){return e.toLowerCase().replace("+","")},gf=/^$|^(\+)|([\d]+)/g;function yf(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 bf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yf(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yf(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function vf(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]=bf(bf({},n),{},{name:Si(n.name)?[].concat(U(n.name),[r]):[n.name,r],iso2:Si(n.iso2)?[].concat(U(n.iso2),[o]):[n.iso2,o],iso3:Si(n.iso3)?[].concat(U(n.iso3),[a]):[n.iso3,a]})):e[i]=t,e},{}),Object.values(e)}var wf=/^$|^[\d-\s]+$/,st=function(e){var t,n=e.onChange,r=e.searchPlaceholder,o=e.disabled,a=e.required,i=e.size,l=e.placeholder,s=e.onFocus,u=e.onBlur,c=e.countryCode,p=F.useIntl().locale,d=M.useState((t=(t=e.initialValue)?pf(t):null)&&sf(t)?uf(t):{prefix:function(e,t){e=lf(t)||lf(N(e))||lf(e);return(null==e?void 0:e.phone)||"+44"}(p,c),suffix:""}),d=j(d,2),f=d[0],h=d[1],d=M.useState(null),d=j(d,2),m=d[0],g=d[1],d=M.useState(""),d=j(d,2),y=d[0],b=d[1],v=vf(df(ff,"iso3")),w=vf(df(ff,"phone")),O=cf(/^\+?[\d-\s]+$/.test(y)?w:v,y).map(function(e){var t=e.phone,n=e.iso3,r=e.iso2,e="";return n?e=Si(n)?n.join(", "):n:r&&(e=Si(r)?r.join(", "):r),{value:t,label:t,note:e}});return M.useEffect(function(){if(null===m)return g(f);var e=f.prefix+f.suffix;e!==m.prefix+m.suffix&&(e=sf(e)?pf(e):null,n(e),g(f))},[n,m,f]),W("div",{className:"tw-telephone",children:[H("div",{className:"tw-telephone__country-select",children:H(qs,{options:O,selected:{value:f.prefix,label:f.prefix},placeholder:"Select an option...",searchPlaceholder:r,searchValue:y,required:a,disabled:o,size:i,onChange:function(e){e=e.value;b(""),h({prefix:e,suffix:f.suffix})},onSearchChange:function(e){return b(e)}})}),H("div",{className:"tw-telephone__number-input",children:H("div",{className:"input-group input-group-".concat(i),children:H("input",{name:"phoneNumber",inputMode:"numeric",value:f.suffix,type:"text",className:"form-control",disabled:o,required:a,placeholder:l,onChange:function(e){e=e.target.value,e=void 0===e?"":e;wf.test(e)&&h({prefix:f.prefix,suffix:e})},onPaste:function(e){var t;e.nativeEvent.clipboardData&&(e=(e.nativeEvent.clipboardData.getData("text/plain")||"").replace(/(\s|-)+/g,""),e=uf(e),t=e.prefix,e=e.suffix,O.find(function(e){return e.value===t})&&wf.test(e)&&h({prefix:t,suffix:e}))},onFocus:s,onBlur:u})})})]})};function Of(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}st.propTypes={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},st.defaultProps={required:!1,disabled:!1,initialValue:null,onFocus:function(){},onBlur:function(){},countryCode:null,searchPlaceholder:"Prefix",size:_.Size.MEDIUM,placeholder:""};var Ef={xs:11,sm:22,xl:61},Cf=1500,Tf=function(e){Es(r,e);var t=Of(r);function r(e){var n;return y(this,r),n=t.call(this,e),h(ws(n),"runCallBack",function(e){var t=n.props.onAnimationCompleted;t&&(n.timeouts=setTimeout(function(){t(e)},Cf))}),n.state={status:e.status,size:e.size},n.interval=null,n.timeout=null,n}return gl(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})},Cf)}},{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=B("process process-".concat(e),t,(h(t={},"process-danger",r===_.Status.FAILED),h(t,"process-stopped",r===_.Status.HIDDEN),h(t,"process-success",r===_.Status.SUCCEEDED),t));return W("span",{className:t,"data-testid":n,children:[W("span",{className:"process-icon-container",children:[H("span",{className:"process-icon-horizontal"}),H("span",{className:"process-icon-vertical"})]}),H("svg",{xmlns:"http://www.w3.org/2000/svg",children:H("circle",{className:"process-circle",cx:"50%",cy:"50%",r:Ef[this.state.size],fillOpacity:"0.0"})})]})}}]),r}(M.Component);Tf.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},Tf.defaultProps={status:_.Status.PROCESSING,size:_.Size.SMALL,onAnimationCompleted:null,className:void 0,"data-testid":null};var xf={"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.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"},Uo=function(e){var t=e.i18n,n=e.children,r=t.locale,o=t.messages,e=t.defaultRichTextElements,t=k(r),o=null===t?(console.warn("Unsupported locale value was provided: '".concat(r,"', defaulting to '").concat(S,"'")),{locale:S,messages:xf}):{locale:t,messages:o};return H(al,{direction:P(r),children:H(F.IntlProvider,{defaultLocale:S,locale:o.locale,messages:o.messages,defaultRichTextElements:e,children:n})})};Uo.propTypes={i18n:l.default.shape({locale:l.default.string.isRequired,messages:l.default.shape({}).isRequired,defaultRichTextElements:l.default.shape({})}).isRequired,children:l.default.node},Uo.defaultProps={children:void 0};function Sf(e){var t=e.id,n=e.value,r=e.name,o=e.checked,a=e.onChange,i=e.disabled,e=e.readOnly;return W(Y,{children:[H("input",{type:"radio",className:"sr-only",id:t,value:n,name:r,checked:o,disabled:i||e,onChange:function(){return o?null:a(n)}}),H("span",{className:B("tw-radio-button",{checked:o,disabled:i||e}),children:H("span",{className:"tw-radio-check"})})]})}Sf.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},Sf.defaultProps={checked:!1,onChange:function(){},disabled:!1,id:null,value:"",readOnly:!1};var Df=["label","id","disabled","className","avatar","secondary"];function Af(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 kf(e){var t=e.label,n=e.id,r=e.disabled,o=e.className,a=e.avatar,i=e.secondary,e=ne(e,Df);return H("div",{className:B("radio np-radio",{"radio-lg":i},o),children:W("label",{className:B({disabled:r}),htmlFor:n,children:[H("span",{className:"np-radio-button p-r-2",children:H(Sf,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Af(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Af(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({id:n,disabled:r},e))}),W("span",{className:"np-radio__text",children:[t,i&&H("small",{children:i})]}),a&&H("span",{className:"np-radio__avatar m-l-auto",children:a})]})})}function Nf(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}kf.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},kf.defaultProps={avatar:void 0,checked:!1,disabled:!1,id:null,secondary:null,value:"",className:void 0};Wt=function(e){Es(r,e);var t=Nf(r);function r(e){var n;return y(this,r),n=t.call(this,e),h(ws(n),"handleOnChange",function(e){var t=n.props.onChange;n.setState({selectedValue:e},t&&t(e))}),n.state={selectedValue:e.selectedValue},n}return gl(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?H(Y,{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 H(kf,{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}(M.Component);function Pf(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 Lf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Pf(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pf(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}Wt.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},Wt.defaultProps={selectedValue:null};Yt=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,e=e.showMediaAtAllSizes;return H(Z,Lf(Lf({},{ariaLabel:t,media:n,title:r,content:o,name:i,complex:u,disabled:c,showMediaAtAllSizes:e}),{},{button:H(Sf,{id:a,name:i,checked:l,disabled:c,value:p,onChange:s})}))};Yt.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,showMediaAtAllSizes:l.default.bool},Yt.defaultProps={"aria-label":void 0,media:null,content:null,checked:!1,complex:!1,disabled:!1,showMediaAtAllSizes:!1,value:""};function Rf(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}Hn=function(e){Es(r,e);var n=Rf(r);function r(){var t;return y(this,r),t=n.call(this),h(ws(t),"setLeaveTimeout",function(){var e=t.props.timeout;t.timeout=setTimeout(function(){t.setState({visible:!1})},e)}),t.state={visible:!1,text:""},t}return gl(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 H("div",{className:"snackbar",children:H(No,{in:o,classNames:"snackbar__text-container",timeout:{appear:0,enter:e,exit:400},unmountOnExit:!0,children:W("span",{className:"snackbar__text snackbar__text--".concat(r),children:[n,t?H("button",{type:"button",className:"snackbar__text__action",onClick:t.onClick,children:t.label}):null]})})})}}]),r}(M.Component);Hn.contextType=cl,Hn.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},Hn.defaultProps={action:null,theme:_.Theme.LIGHT};var If=hl(Hn),_f=M.createContext(),ve=_f.Consumer;function Mf(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}we=function(e){Es(n,e);var t=Mf(n);function n(){var r;return y(this,n),r=t.call(this),h(ws(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 gl(n,[{key:"render",value:function(){var e=this.state,t=e.action,n=e.text,r=e.theme,e=e.timestamp;return W(_f.Provider,{value:{createSnackbar:this.create},children:[H(If,{action:t,text:n,timestamp:e,timeout:this.props.timeout,theme:r}),this.props.children]})}}]),n}(M.Component);we.propTypes={children:l.default.node.isRequired,timeout:l.default.number},we.defaultProps={timeout:4500};e=function(e){var t=e.open,n=e.position,e=e.children;return H(Cl,{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 Ff=F.defineMessages({statusNotDone:{id:"neptune.Summary.statusNotDone"},statusPending:{id:"neptune.Summary.statusPending"},statusDone:{id:"neptune.Summary.statusDone"}}),Uf={done:T.CheckCircle,pending:T.PendingCircle},jf=(h(et={},_.Status.NOT_DONE,"statusNotDone"),h(et,_.Status.DONE,"statusDone"),h(et,_.Status.PENDING,"statusPending"),et),ur=new Date("03-01-2021"),Hn=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,a=e.info,i=void 0===a?s:a,s=e.status,a=e.title,e=F.useIntl(),c=c;u&&(c=24!==(null==u||null===(t=u.props)||void 0===t?void 0:t.size)?M.cloneElement(u,{size:24}):u);u=s&&Uf[s];return W(r,{className:B("np-summary d-flex align-items-start",o),"aria-label":s&&e.formatMessage(Ff[jf[s]]),children:[W("div",{className:"np-summary__icon",children:[c,u&&H(u,{size:16,filled:!0,className:"np-summary-icon__".concat(s)})]}),W("div",{className:"np-summary__body m-l-2",children:[W("div",{className:"np-summary__title d-flex",children:[H("strong",{children:a}),i&&H(Sd,{"aria-label":i["aria-label"],className:"m-l-1 hidden-xs",content:i.content,presentation:i.presentation,title:i.title,onClick:i.onClick})]}),l&&H("div",{className:"np-summary__description",children:l}),n&&H("a",{href:n.href,target:n.target,className:"np-summary__action","aria-label":n["aria-label"],onClick:n.onClick,children:n.text})]}),i&&H(Sd,{"aria-label":i["aria-label"],className:"m-l-2 hidden-sm hidden-md hidden-lg hidden-xl",content:i.content,presentation:i.presentation,size:_.Size.LARGE,title:i.title,onClick:i.onClick})]})};Hn.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:he(l.default.node,{component:"Summary",newProp:"description",expiryDate:ur}),description:l.default.node,help:he(l.default.shape({content:l.default.node.isRequired,title:l.default.node}),{component:"Summary",newProp:"info",expiryDate:ur}),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:he(l.default.node,{component:"Summary",newProp:"icon",expiryDate:ur}),icon:$(l.default.node,function(e){return!e.illustration}),status:l.default.oneOf(["notDone","done","pending"]),title:l.default.node.isRequired},Hn.defaultProps={action:null,as:"div",className:null,content:null,help:null,illustration:null,status:null};function Bf(e){var t=e.checked,n=e.className,r=e.id,o=e.onClick,a=e.disabled,i=e["aria-label"],e=i?void 0:e["aria-labelledby"];return fe("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.",!i&&!e),W("span",{className:B("np-switch",{"np-switch--unchecked":!t,"np-switch--checked":t,disabled:a},n),tabIndex:0,role:"switch","aria-checked":t,"aria-label":i,"aria-labelledby":e,id:r,"aria-disabled":a,onClick:a?void 0:o,onKeyDown:a?void 0:function(e){"32"!==e.code&&e.keyCode!==Ds.SPACE||(e.preventDefault(),o())},children:[H("span",{className:"np-switch--thumb",children:H(t?T.CheckCircle:T.CrossCircle,{filled:!0,size:24})}),H("input",{type:"checkbox",checked:t,readOnly:!0})]})}function qf(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 zf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qf(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qf(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Vf=NaN,Gf="[object Symbol]",Hf=/^\s+|\s+$/g,Wf=/^[-+]0x[0-9a-f]+$/i,Yf=/^0b[01]+$/i,Kf=/^0o[0-7]+$/i,Xf=parseInt,Zf=Object.prototype.toString;function $f(e){var t=typeof e;return e&&("object"==t||"function"==t)}function Jf(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||!!(n=t)&&"object"==typeof n&&Zf.call(t)==Gf)return Vf;var t,n;if("string"!=typeof(e=$f(e)?$f(r="function"==typeof e.valueOf?e.valueOf():e)?r+"":r:e))return 0===e?e:+e;e=e.replace(Hf,"");var r=Yf.test(e);return r||Kf.test(e)?Xf(e.slice(2),r?2:8):Wf.test(e)?Vf:+e}var Qf=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=Jf(n))==n?n:0),void 0!==t&&(t=(t=Jf(t))==t?t:0),e=Jf(e),t=t,n=n,e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=t<=e?e:t)),e},eh=o(function(e){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Os(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0});r(eh);var th=o(function(e){function t(){return e.exports=t=Object.assign||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.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0});r(th);et=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 O=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 T=n(Pe),s=n(eh),u=n(vs),x=n(th),y=n(ke.default),f=n(Ne.default),c=void 0,p=void 0,O=[],C=function(e){return"undefined"!=typeof window&&window.requestAnimationFrame(e)},d=function(e){return"undefined"!=typeof window&&window.cancelAnimationFrame(e)},h=void 0,S=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},w=Object.freeze({get bugfixes(){return c},get applyAnimatedValues(){return p},get colorNames(){return O},get requestFrame(){return C},get cancelFrame(){return d},get interpolation(){return h},get now(){return S},get defaultElement(){return m},get createAnimatedStyle(){return g},injectApplyAnimatedValues:b,injectColorNames:r,injectBugfixes:v,injectInterpolation:o,injectFrame:function(e,t){t=[e,t];return C=t[0],d=t[1],t},injectNow:function(e){return S=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),k=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),N=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}(k),P={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)),F=new RegExp("rgba"+_(R,R,R,R)),U=new RegExp("hsl"+_(R,I,I)),j=new RegExp("hsla"+_(R,I,I,R)),B=/^#([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})$/,V=/^#([0-9a-fA-F]{8})$/;function G(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=G(o,r,e+1/3),n=G(o,r,e),e=G(o,r,e-1/3);return Math.round(255*t)<<24|Math.round(255*n)<<16|Math.round(255*e)<<8}function W(e){e=parseInt(e,10);return e<0?0:255<e?255:e}function Y(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 X(e){e=parseFloat(e);return e<0?0:100<e?1:e/100}function Z(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:P.hasOwnProperty(t)?P[t]:(n=M.exec(t))?(W(n[1])<<24|W(n[2])<<16|W(n[3])<<8|255)>>>0:(n=F.exec(t))?(W(n[1])<<24|W(n[2])<<16|W(n[3])<<8|K(n[4]))>>>0:(n=B.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=V.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(Y(n[1]),X(n[2]),X(n[3])))>>>0:(n=j.exec(t))?(H(Y(n[1]),X(n[2]),X(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(P).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,T(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:x({},e,((e={})[t]=n[t],e))},{});return x({to:r},e)}function ue(e,t){var n=t[0],t=t[1];return x({},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(x({},t,n));return r?e.reduce(ue,{}):x({},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 N(e)}),a("div"),o(function(n){var r=n.output.map(function(e){return e.replace(J,Z)}).map(function(e){return e.replace(Q,Z)}),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(x({},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(P),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,x({key:t.key||void 0},t.props,{style:x({},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 x({},e,((e={})[n]="auto"===t?~n.indexOf("height")?s:l:t,e))},c(x({},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=T(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=S(),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),w=0;w<v;++w)g+=+(b+=(-u.tension*(g-m)+-u.friction*b)/u.mass/1e3)/1e3;var O=!(!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=O||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?C(ge):be=!1}function ye(e){ve.has(e)&&ve.delete(e)}var be=!1,ve=new Set,we=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(x({},e,t))}var t=e.prototype;return t.update=function(e){var h=this;this.props=x({},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 w=e&&e(this),e=b?{}:this.merged;if(this.merged=x({},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)&&!O[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(w&&(d=w.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)}),x({},e,((e={})[a]=x({},l,{name:a,parent:r,interpolation:o,animatedValues:f,changes:i,fromValues:oe(r.getValue()),toValues:oe(w?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=S(),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||C(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}(),Oe=function(r){function e(e,t){var n=r.call(this)||this;return e.style&&(e=x({},e,{style:g(e.style)})),n.payload=e,n.update=t,n.attach(),n}return s(e,r),e}(k);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=T(e,["forwardRef"]),e=this.propsAnimated;this.propsAnimated=new Oe(t,this.callback),e&&e.detach()},t.shouldComponentUpdate=function(e){var t=e.style,n=T(e,["style"]),r=this.props,o=r.style;return(!ae(T(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,T(e,["scrollTop","scrollLeft"]));return y.createElement(r,x({},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,x({},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}},Ce=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 we(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(x({},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=x({},this.controller.getValues(),this.afterInject);return this.finished&&(n=x({},n,this.props.after)),Object.keys(n).length?e(n):null},t.componentDidUpdate=function(){this.didUpdate&&this.start(),this.didUpdate=!1},e}(y.Component);Ce.defaultProps={from:{},to:{},config:v.default,native:!1,immediate:!1,reset:!1,force:!1,inject:c};var Te=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=T(e,["items","children","from","initial","reverse","keys","delay","onRest"]),d=oe(n);return oe(d).map(function(n,r){return y.createElement(Ce,x({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);Te.defaultProps={keys:function(e){return e}};var xe=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 C(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=T(i,["state","filter","states","config","primitive","onRest","forwardRef"]);return Array.isArray(l)&&(l=l[a]),y.createElement(e,x({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);xe.defaultProps={state:"__default"};var Se=y.forwardRef(function(e,t){return y.createElement(xe,x({},e,{forwardRef:t}))});Se.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(xe,x({primitive:r,states:t,filter:n},e))}}},Se.Spring=function(e){return Se.create(Ce)(e,se)},Se.Trail=function(e){return Se.create(Te)(e,se)};function De(e){var t=e.items,n=e.keys,e=T(e,["items","keys"]),t=oe(void 0!==t?t:null),n="function"==typeof n?t.map(n):oe(n);return x({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=T(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=x({},o.current),v=[].concat(o.deleted),r=Object.keys(b),w=new Set(r),O=new Set(l),a=l.filter(function(e){return!w.has(e)}),r=o.transitions.filter(function(e){return!e.destroyed&&!O.has(e.originalKey)}).map(function(e){return e.originalKey}),o=l.filter(function(e){return w.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(x({},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]=x({},b[e],{item:t,state:"update",trail:E+=f,config:ie(m,t,"update"),to:ie(d,t)})});var C=l.map(function(e){return b[e]});return v.forEach(function(e){var t=e.left,n=e.right,r=T(e,["left","right"]);-1!==(e=C.findIndex(function(e){return e.originalKey===t}))&&(e+=1),-1===(e=-1===(e=-1===e?C.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),C=[].concat(C.slice(0,e),[r],C.slice(e))}),{first:n&&0===a.length,transitions:C,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=T(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(Se,x({reset:m&&"enter"===r,primitive:Ce,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};k=["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=Ce,t.Keyframes=Se,t.Transition=b,t.Trail=Te,t.Controller=we,t.config=v,t.animated=k,t.interpolate=function(e,t,n){return e&&new ee(e,t,n)},t.Globals=w});r(et);var nh=et.Spring,rh=(et.Keyframes,et.Transition,et.Trail,et.Controller,et.config,et.animated,et.interpolate,et.Globals,M.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=M.useRef(!0);return M.useEffect(function(){p.current?p.current=!1:i&&c&&c()},[i]),H("li",{ref:t,className:B("tabs__tab",{"tabs__tab--selected":i,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:n})}));rh.defaultProps={disabled:!1,selected:!1,onClick:null,style:null,focusTab:null},rh.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 oh(e){return e=e.children,H("ul",{className:"tabs__tab-list",role:"tablist",children:e})}oh.propTypes={children:l.default.oneOfType([l.default.object,l.default.array]).isRequired};function ah(e){var t=e.children,n=e.id,r=e.tabId,e=e.style;return H("div",{className:"tabs__panel",role:"tabpanel",id:n,"aria-labelledby":r,style:e,children:t})}ah.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 ih=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"x";return Math.abs(e[n]-t[n])},lh=function(e,t){return t.x>e.x},sh=function(e,t){return e.x>t.x},uh=function(e,t){var n,r=ih(e,t),n=(n=t.time-e.time,ih(e,t)/n);return 50<Math.abs(r)&&.1<n};var ch=function(e){return Math.min(150,window.innerWidth/3)*(1-Math.pow(Math.E,-.005*e))};function ph(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 dh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ph(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ph(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function fh(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}function hh(e){return!e.disabled}var mh=0,gh={default:0,xs:8,sm:16,md:24,lg:32},he=function(e){Es(n,e);var t=fh(n);function n(e){var c;return y(this,n),c=t.call(this,e),h(ws(c),"container",null),h(ws(c),"containerWidth",0),h(ws(c),"tabRefs",[]),h(ws(c),"handleResize",function(){c.setContainerWidth(c.container),c.setState(function(e){e=e.selectedTabIndex;return{translateTo:-c.containerWidth*e}})}),h(ws(c),"setContainerRefAndWidth",function(e){c.container=e,c.setContainerWidth(e)}),h(ws(c),"setContainerWidth",function(e){e&&(e=e.getBoundingClientRect().width,c.containerWidth=e)}),h(ws(c),"isTabDisabled",function(e){var t=c.props.tabs;return t[e]&&t[e].disabled}),h(ws(c),"getAllTabsWidth",function(){return c.tabRefs.map(function(e){return e?e.getBoundingClientRect().width:0}).reduce(function(e,t){return e+t},0)}),h(ws(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)}),h(ws(c),"setTabWidth",function(){var e=c.state.fullWidthTabs,t=c.props,n=t.headerWidth,r=t.selected,t=c.getAllTabsWidth();!e&&(n===_.Width.BLOCK||c.containerWidth<t)&&c.setState({fullWidthTabs:!0,translateLineX:"".concat(100*r,"%")}),e&&n===_.Width.AUTO&&c.containerWidth>=t&&c.setState({fullWidthTabs:!1,translateLineX:"".concat(c.getDistanceToSelectedTab(r),"px")})}),h(ws(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")}),h(ws(c),"getTabToSelect",function(e,t,n){var r=e;if(lh(t,n)){if(mh<--r&&c.isTabDisabled(r))return c.getTabToSelect(r,t,n)}else if(sh(t,n)&&(r+=1)<c.MAX_INDEX&&c.isTabDisabled(r))return c.getTabToSelect(r,t,n);return r=Qf(r,Math.max(e-1,mh),Math.min(e+1,c.MAX_INDEX)),c.isTabDisabled(r)?e:r}),h(ws(c),"swipedOverHalfOfContainer",function(e){return.5<=e/c.containerWidth}),h(ws(c),"calculateApplicableDragDifference",function(e){var t=e.currentSelected,n=e.nextSelected,r=e.start,o=e.end,a=ih(r,o),e=ch(a);return lh(r,o)?mh<t&&t!==n?Math.min(a,c.containerWidth):e:!!sh(r,o)&&(t<c.MAX_INDEX&&t!==n?-Math.min(a,c.containerWidth):-e)}),h(ws(c),"switchTab",function(e){(0,c.props.onTabSelect)(e)}),h(ws(c),"animateToTab",function(e,t){c.animateLine(e),c.animatePanel(c.getTabIndexWithoutDisabledTabs(e),t)}),h(ws(c),"animateLine",function(t){c.setState(function(e){return{translateLineX:e.fullWidthTabs?"".concat(100*t,"%"):"".concat(c.getDistanceToSelectedTab(t),"px")}})}),h(ws(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})}),h(ws(c),"disableScroll",function(e){c.state.isSwiping&&e.preventDefault()}),h(ws(c),"handleTabClick",function(e){return function(){c.switchTab(e)}}),h(ws(c),"onKeyDown",function(t){return function(e){e&&e.keyCode===Ds.ENTER&&c.switchTab(t)}}),h(ws(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()}),h(ws(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=ih(n,a),l=ih(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(U(e.currentSwipe),[a]),translateFrom:t||e.translateFrom,translateTo:t||e.translateTo}}))}),h(ws(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=ih(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(U(c.state.currentSwipe),[a]));c.setState({currentSwipe:[]});t=o;e.persist(),r&&((t=uh(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===_.Width.BLOCK},c}return gl(n,[{key:"filteredTabsLength",get:function(){return this.props.tabs.filter(hh).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(Qf(e,mh,this.MAX_INDEX)),this.animateToTab(Qf(e,mh,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(hh).length,o=e.tabs.filter(hh).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(Qf(n,mh,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!hh(e)}).length}},{key:"render",value:function(){function r(e){return e=e.id,0<y&&H("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=gh[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,w=c*this.containerWidth+2*y;return H(cl.Consumer,{children:function(e){e=e===_.Direction.RTL;return W("div",{className:B("tabs",n,{"tabs--auto-width":u===_.Width.AUTO}),onTouchStart:t?o.handleTouchStart:void 0,onTouchEnd:t?o.handleTouchEnd:void 0,onTouchMove:t?o.handleTouchMove:void 0,children:[W(oh,{children:[a.map(function(e,t){var n=e.title,e=e.disabled;return H(rh,dh(dh({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(){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?H("div",{className:B("tabs__line"),style:{width:o.getTabLineWidth(),transform:(e?"translateX(-":"translateX(").concat(d,")")}}):null]}),H("div",{ref:o.setContainerRefAndWidth,className:"tabs__panel-container",style:{overflow:v?"hidden":"visible"},children:H(nh,{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 H("div",{className:"tabs__slider",style:{width:v?"".concat(w,"px"):"100%",transform:v?e.transform:"translateX(0px)"},children:a.map(function(e,t){var n=e.content;return e.disabled?null:W(M.Fragment,{children:[t===l&&H(r,{id:"left-spacer"}),H(ah,{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&&H(r,{id:"right-spacer"})]},"".concat(a[t].title,"-fragment"))})})}})})]})}})}}]),n}(M.Component),ur=dh(dh({},_.Size),{},{NONE:"default"});function yh(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 bh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yh(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yh(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}he.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"])},he.defaultProps={animatePanelsOnClick:!1,changeTabOnSwipe:!0,className:"",transitionSpacing:ur.NONE,headerWidth:_.Width.BLOCK};$=function(e){return H(Bd,bh(bh({},e),{},{render:function(e){return H("textarea",bh({},e))}}))};$.propTypes={displayPattern:l.default.string.isRequired,onChange:l.default.func.isRequired};function vh(){return Dh.Date.now()}var wh=NaN,Oh="[object Symbol]",Eh=/^\s+|\s+$/g,Ch=/^[-+]0x[0-9a-f]+$/i,Th=/^0b[01]+$/i,xh=/^0o[0-7]+$/i,Sh=parseInt,et="object"==typeof n&&n&&n.Object===Object&&n,ur="object"==typeof self&&self&&self.Object===Object&&self,Dh=et||ur||Function("return this")(),Ah=Object.prototype.toString,kh=Math.max,Nh=Math.min;function Ph(e){var t=typeof e;return e&&("object"==t||"function"==t)}function Lh(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||!!(n=t)&&"object"==typeof n&&Ah.call(t)==Oh)return wh;var t,n;if("string"!=typeof(e=Ph(e)?Ph(r="function"==typeof e.valueOf?e.valueOf():e)?r+"":r:e))return 0===e?e:+e;e=e.replace(Eh,"");var r=Th.test(e);return r||xh.test(e)?Sh(e.slice(2),r?2:8):Ch.test(e)?wh:+e}var Rh=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=vh();if(h(t))return g(t);s=setTimeout(m,(t=n-((e=t)-u),d?Nh(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=vh(),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=Lh(n)||0,Ph(e)&&(p=!!e.leading,d="maxWait"in e,i=d?kh(Lh(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(vh())},y};function Ih(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}var _h=10,Mh=function(e){Es(n,e);var t=Ih(n);function n(){var m;return y(this,n),m=t.call(this),h(ws(m),"recalculateWidth",function(){requestAnimationFrame(function(){m.setState({inputWidth:Math.max(_h,m.sizerRef.scrollWidth+10)})})}),h(ws(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 H("input",{ref:function(e){m.inputRef=e},className:B({"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:_h},m}return gl(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?W("div",{className:"form-control typeahead__input-container",style:a&&{maxHeight:a},onClick:function(){t.inputRef.focus()},children:[W("div",{className:"typeahead__input-wrapper",children:[r&&r.map(function(e,t){return i(e,t)}),this.renderInput(),H("div",{className:"typeahead__input-aligner"})]}),H("div",{ref:function(e){t.sizerRef=e},className:"sizer form-control typeahead__input",children:o})]}):this.renderInput()}}]),n}(M.Component);Mh.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},Mh.defaultProps={autoFocus:!1,maxHeight:null,placeholder:"",optionsShown:!1,selected:[]};var Fh=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 H("li",{role:"option","aria-selected":"false",className:B("typeahead__option tw-dropdown-item tw-dropdown-item--clickable",{"tw-dropdown-item--focused":n}),children:W("a",{className:"dropdown-item",href:"#",onClick:r,children:[H("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 W(Y,{children:[e.slice(0,Math.max(0,n)),H("strong",{children:e.slice(n,t)}),e.slice(Math.max(0,t))]})}return e}(a,o)}),e&&H("span",{className:"small m-l-1",children:e}),t&&H("span",{className:"small text-ellipsis",children:t})]})})};function Uh(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}Fh.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},Fh.defaultProps={selected:!1,query:"",onClick:function(){}};n=function(e){Es(o,e);var r=Uh(o);function o(e){var c;y(this,o),c=r.call(this,e),h(ws(c),"handleOnFocus",function(){var e=c.props.onFocus;c.showMenu(),e&&c.props.onFocus()}),h(ws(c),"onOptionSelected",function(e,t){e.preventDefault(),c.selectItem(t)}),h(ws(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)})}),h(ws(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(U(t),U(o)))))}),h(ws(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(U(a)).includes(e.key)&&s.trim())e.preventDefault(),c.selectItem({label:s});else switch(e.keyCode){case Ds.DOWN:e.preventDefault(),c.moveFocusedOption(1);break;case Ds.UP:e.preventDefault(),c.moveFocusedOption(-1);break;case Ds.ENTER:e.preventDefault(),i[l]?c.selectItem(i[l]):r&&s.trim()&&c.selectItem({label:s});break;case Ds.BACKSPACE:o&&!s&&0<u.length&&c.updateSelectedValue(u.slice(0,-1))}}),h(ws(c),"selectItem",function(e){var t=c.props.multiple,n=U(c.state.selected),e=t?(n.push(e),""):(n=[e],e.label);c.updateSelectedValue(n),c.hideMenu(),c.setState({query:e})}),h(ws(c),"stopPropagation",function(e){e.stopPropagation(),e.preventDefault(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}),h(ws(c),"handleSearch",function(e){var t=c.props.onSearch;t&&t(e),c.setState(function(e){return{keyboardFocusedOptionIndex:null===e.keyboardFocusedOptionIndex?null:0}})}),h(ws(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())}),h(ws(c),"showMenu",function(){c.setState({isFocused:!0,optionsShown:!0},function(){w(),document.addEventListener("click",c.handleDocumentClick,!1)})}),h(ws(c),"hideMenu",function(){c.setState({optionsShown:!1,keyboardFocusedOptionIndex:null},function(){O(),document.removeEventListener("click",c.handleDocumentClick,!1)})}),h(ws(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)})}),h(ws(c),"clear",function(e){e.preventDefault(),0<c.state.selected.length&&c.updateSelectedValue([]),c.setState({query:""})}),h(ws(c),"removeChip",function(t){var e=c.state.selected;0<e.length&&c.updateSelectedValue(U(e.filter(function(e){return e!==t})))}),h(ws(c),"renderChip",function(e,t){var n=c.props.validateChip(e);return H(Yl,{label:e.label,className:B("m-t-1",{"has-error":!n}),onRemove:function(){return c.removeChip(e)}},t)}),h(ws(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=U(n);return i&&a.trim()&&n.every(function(e){return e.label.trim().toUpperCase()!==a.trim().toUpperCase()})&&l&&e.push({label:a}),H("div",{className:B("dropdown btn-group btn-block",{open:s}),id:"menu-".concat(r),children:W("ul",{className:"dropdown-menu",role:"menu","aria-labelledby":"dropdownMenu1",children:[e.map(function(t,e){return H(Fh,{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=Rh(c.handleSearch,t);e=!e&&0<n.length?n[0].label:"";return c.state={selected:n,errorState:!1,query:e,keyboardFocusedOptionIndex:null},c}return gl(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?Qf(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,w=b.query,O=b.selected,e=b.optionsShown,b=b.keyboardFocusedOptionIndex,l=l&&(w||0<O.length),f=e&&c&&w.length>=f,b=this.renderMenu({footer:u,options:d,keyboardFocusedOptionIndex:b,query:w,allowNew:s,showNewEntry:p,dropdownOpen:f}),s=v||g&&g.type===_.Sentiment.ERROR,p=!v&&g||g&&g.type===_.Sentiment.ERROR,v=p&&g.type===_.Sentiment.WARNING;return H("div",{id:t,className:B("typeahead","typeahead-".concat(o),{"typeahead--has-value":0<O.length,"typeahead--empty":0===O.length,"typeahead--multiple":r,open:f}),onClick:this.stopPropagation,children:W("div",{className:B("form-group",{"has-error":s,"has-warning":v}),children:[W("div",{className:"input-group input-group-".concat(o),children:[a&&H("span",{className:"input-group-addon",children:a}),H(Mh,{autoFocus:h,multiple:r,optionsShown:e,placeholder:n,selected:O,maxHeight:m,name:i,value:w,typeaheadId:t,renderChip:this.renderChip,autoComplete:y,onChange:this.handleOnChange,onKeyDown:this.handleOnKeyDown,onFocus:this.handleOnFocus,onPaste:this.handleOnPaste}),l&&H("div",{className:"input-group-addon",children:H("button",{type:"button",className:"btn-unstyled",onClick:this.clear,children:H(T.Cross,{})})})]}),p&&H(Ad,{type:g.type,children:g.message}),b]})})}}]),o}(M.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"]).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:_.Size.MEDIUM,chipSeparators:[],initialValue:[],onSearch:null,onBlur:null,onInputChange:null,onFocus:null,validateChip:function(){return!0},inputAutoComplete:"new-password",autoFillOnBlur:!0},(et=_.UploadStep||(_.UploadStep={})).UPLOAD_IMAGE_STEP="uploadImageStep",et.MEDIA_UPLOAD_STEP="mediaUploadStep";var jh=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.default=e.exports,e.exports.__esModule=!0})),Bh=o(function(t){t=function(i){var s,e=Object.prototype,u=e.hasOwnProperty,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 g?t:g,t=Object.create(t.prototype),r=new x(r||[]);return t._invoke=(o=e,a=n,i=r,l=p,function(e,t){if(l===f)throw new Error("Generator is already running");if(l===h){if("throw"===e)throw t;return D()}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(r===s){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=s,e(t,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var r=c(r,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,m;r=r.arg;if(!r)return n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m;{if(!r.done)return r;n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=s)}n.delegate=null;return m}(n,i);if(r){if(r===m)continue;return r}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(l===p)throw l=h,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);l=f;r=c(o,a,i);if("normal"===r.type){if(l=i.done?h:d,r.arg!==m)return{value:r.arg,done:i.done}}else"throw"===r.type&&(l=h,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="suspendedStart",d="suspendedYield",f="executing",h="completed",m={};function g(){}function y(){}function b(){}var v={};v[r]=function(){return this};t=Object.getPrototypeOf,t=t&&t(t(S([])));t&&t!==e&&u.call(t,r)&&(v=t);var w=b.prototype=g.prototype=Object.create(v);function O(e){["next","throw","return"].forEach(function(t){a(e,t,function(e){return this._invoke(t,e)})})}function E(i,l){var t;this._invoke=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"==typeof n&&u.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 C(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 T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function S(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(u.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=s,e.done=!0,e};return e.next=e}}return{next:D}}function D(){return{value:s,done:!0}}return((y.prototype=w.constructor=b).constructor=y).displayName=a(b,o,"GeneratorFunction"),i.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},i.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,a(e,o,"GeneratorFunction")),e.prototype=Object.create(w),e},i.awrap=function(e){return{__await:e}},O(E.prototype),E.prototype[n]=function(){return this},i.AsyncIterator=E,i.async=function(e,t,n,r,o){void 0===o&&(o=Promise);var a=new E(l(e,t,n,r),o);return i.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},O(w),a(w,o,"Generator"),w[r]=function(){return this},w.toString=function(){return"[object Generator]"},i.keys=function(n){var e,r=[];for(e in n)r.push(e);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=S,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=s,this.done=!1,this.delegate=null,this.method="next",this.arg=s,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&u.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=s)},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=s),!!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=u.call(o,"catchLoc"),l=u.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&&u.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,m):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),m},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),T(n),m}},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,T(n)),r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=s),m}},i}(t.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}}),qh=F.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 zh(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}var Vh=function(e){Es(r,e);var t=zh(r);function r(){var n;return y(this,r),n=t.call(this),h(ws(n),"onManualUpload",function(){var e=n.props.fileDropped;n.uploadInputRef&&n.uploadInputRef.current&&e(n.uploadInputRef.current.files[0])}),h(ws(n),"getImage",function(){var e=n.props,t=e.usHelpImage,e=e.usLabel;return t?"string"==typeof t?H("img",{src:t,alt:e,className:"thumbnail text-xs-center"}):t:H("div",{className:"circle circle-sm circle-inverse p-t-1",children:H(T.Upload,{size:24})})}),n.uploadInputRef=M.createRef(),n}return gl(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 H("div",{children:H("div",{className:"droppable-default-card","aria-hidden":n,children:W("div",{className:"droppable-card-content",children:[H("div",{className:"m-b-3",children:this.getImage()}),i&&H("h4",{className:"m-b-1",children:i}),t&&H("p",{className:"m-b-3",children:"".concat(t)}),W("label",{className:"btn btn-primary btn-sm ".concat(a?"disabled":""),children:[o?H("span",{children:o}):H(T.Upload,{size:24,className:"m-r-0"}),H("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}(M.PureComponent);function Gh(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}Vh.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 Hh=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?Gh(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gh(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})},Wh=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)})})},Yh=function(e,t){return Number.isInteger(t)&&e.size<=t},Kh=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""},Xh=function(e,t,n){if(!e||!t)return!1;var r=t.replace(/\s/g,"").split(","),o=Kh(e,n);return!("*"!==t&&!r.includes(o))||r.some(function(e){var t=e.split("/"),e=t[0];return"*"===t[1]&&o.includes(e)})},Zh=["image/jpeg","video/*","application/pdf"],$h=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)},ur=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 H("div",{children:H("div",{className:"droppable-default-card","aria-hidden":t,children:W("div",{className:"droppable-card-content",children:[H("div",{className:"m-b-3",children:a?"string"==typeof a?H("img",{src:a,alt:i,className:"thumbnail text-xs-center"}):a:H("div",{className:"circle circle-sm circle-inverse p-t-1",children:H(T.Upload,{size:24})})}),i&&H("h4",{className:"m-b-1",children:i}),l&&H("p",{className:"m-b-3",children:"".concat(l)}),H("button",{type:"button",className:B("btn btn-primary btn-sm",{disabled:o}),disabled:o,onClick:function(){var e,t=function(e){if("*"===e)return Zh;var e=e.split(","),t={"image/*":"image/jpeg","application/*":"application/pdf"};return e.map(function(e){return t[e]||e}).filter(function(e){return Zh.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=$h(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||H(T.Upload,{size:24,className:"m-r-0"})})]})})})};ur.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 Jh(e){var t=e.isComplete,n=e.isError,r=e.isSuccess,o=e.onAnimationCompleted,a=e.onClear,i=e.psButtonText,l=e.psProcessingText,e=_.Status.PROCESSING;return n&&(e=_.Status.FAILED),r&&(e=_.Status.SUCCEEDED),H("div",{className:"droppable-processing-card droppable-card","aria-hidden":t,children:W("div",{className:"droppable-card-content",children:[H(Tf,{size:_.Size.Small,status:e,onAnimationCompleted:function(e){return o(e)}}),H("h4",{className:"m-t-3 m-b-3",children:l}),i&&H(_l,{size:_.Size.SMALL,onClick:function(e){return a(e)},children:i})]})})}Jh.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 Qh(e){var t=e.csButtonText,n=e.csFailureText,r=e.csSuccessText,o=e.fileName,a=e.isComplete,i=e.isError,l=e.isImage,s=e.onClear,e=e.uploadedImage;return H("div",{className:"droppable-complete-card droppable-card","aria-hidden":!a,children:W("div",{className:"droppable-card-content",children:[H("div",{className:"droppable-card-content d-flex flex-column align-items-center",children:W(Y,i?{children:[H(T.AlertCircle,{size:24,className:"text-negative"}),n&&H("p",{className:"m-t-2",children:n})]}:{children:[l&&e?H("img",{src:e,alt:"OK",className:"thumbnail "}):H(T.Document,{}),o&&H("p",{className:"m-b-0",children:H("small",{children:o})}),r&&H("div",{className:"caption m-t-1",children:H("span",{className:"h4",children:r})})]})}),t&&H(_l,{size:_.Size.SMALL,priority:_.Priority.SECONDARY,className:"m-t-3",onClick:function(e){return s(e)},children:t})]})})}function em(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=Ss(n);return t=r?(e=Ss(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments),xs(this,t)}}Qh.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},Qh.defaultProps={uploadedImage:null};var tm=["error","success"],nm=10,rm=(h(et={},_.UploadStep.UPLOAD_IMAGE_STEP,Vh),h(et,_.UploadStep.MEDIA_UPLOAD_STEP,ur),et),ur=function(e){Es(n,e);var t=em(n);function n(e){var c;return y(this,n),c=t.call(this,e),h(ws(c),"onAnimationCompleted",function(){var t=jh(Bh.mark(function e(t){var n,r,o,a,i,l;return Bh.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===_.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===_.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)}}()),h(ws(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])}),Hh(c.prepareHttpOptions(n),i,r)}),h(ws(c),"asyncResponse",function(e,t){c.timeouts=setTimeout(function(){c.setState({response:e,isError:t===tm[0],isSuccess:t===tm[1]})},nm)}),h(ws(c),"prepareHttpOptions",function(e){if(!e.url)throw new Error("You must supply a URL to post image data asynchronously");return e}),h(ws(c),"handleOnClear",function(e){e.preventDefault();e=c.props.onCancel;e&&e(),c.reset()}),h(ws(c),"reset",function(){c.dragCounter=0,clearTimeout(c.timeouts),c.setState({isComplete:!1,isError:!1,isProcessing:!1,isSuccess:!1})}),h(ws(c),"showDataImage",function(e){c.state.isImage&&c.setState({uploadedImage:e})}),h(ws(c),"fileDropped",function(){var t=jh(Bh.mark(function e(t){var n,r,o,a,i,l,s,u;return Bh.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,Wh(t);case 12:s=e.sent,e.next=18;break;case 15:e.prev=15,e.t0=e.catch(9),c.asyncResponse(e.t0,tm[0]);case 18:if(s){e.next=20;break}return e.abrupt("return",!1);case 20:if(c.setState({isImage:Kh(t,s).includes("image")}),Xh(t,i,s)){e.next=25;break}return u={status:415,statusText:"Unsupported Media Type"},c.asyncResponse(u,tm[0]),e.abrupt("return",!1);case 25:if(Yh(t,r)){e.next=29;break}return u={status:413,statusText:"Request Entity Too Large"},c.asyncResponse(u,tm[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,tm[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 gl(n,[{key:"getErrorMessage",value:function(e){switch(e){case 413:return this.props.csTooLargeMessage||this.props.intl.formatMessage(qh.csTooLargeMessage);case 415:return this.props.csWrongTypeMessage||this.props.intl.formatMessage(qh.csWrongTypeMessage);default:return this.props.csFailureText||this.props.intl.formatMessage(qh.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,w=g.isDroppable,O=g.isError,E=g.isImage,C=g.isProcessing,e=g.isSuccess,g=g.uploadedImage,h=rm[h]||Vh;return W("div",{className:B({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":w,"droppable-processing":C,"droppable-complete":v}),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:[!C&&!v&&H(h,{fileDropped:function(e){return t.fileDropped(e)},isComplete:v,usAccept:r,usButtonText:o||m.formatMessage(qh.usButtonText),usDisabled:a,usHelpImage:i,usLabel:l,usPlaceholder:s||m.formatMessage(qh.usPlaceholder)}),C&&H(Jh,{isComplete:v,isError:O,isSuccess:e,psButtonText:u||m.formatMessage(qh.psButtonText),psProcessingText:c||m.formatMessage(qh.psProcessingText),onAnimationCompleted:function(e){return t.onAnimationCompleted(e)},onClear:function(e){return t.handleOnClear(e)}}),(e||O||v)&&H(Qh,{fileName:b,isComplete:v,isError:O,isImage:E,csButtonText:p||m.formatMessage(qh.csButtonText),csFailureText:this.getErrorMessage(null==y?void 0:y.status),csSuccessText:d||m.formatMessage(qh.csSuccessText),uploadedImage:g,onClear:function(e){return t.handleOnClear(e)}}),!C&&H("div",{className:"droppable-dropping-card droppable-card",children:W("div",{className:"droppable-card-content",children:[H("div",{className:"circle circle-sm p-t-1 text-primary",children:H(T.Plus,{})}),H("h4",{className:"m-t-3",children:n||m.formatMessage(qh.usDropMessage)})]})})]})}}]),n}(M.Component);ur.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"])},ur.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:_.UploadStep.UPLOAD_IMAGE_STEP};function om(e){return e.map(function(e){return e.split(",").filter(function(e){return!e.includes("/")}).map(function(e){return e.replace(".","").toUpperCase()}).join(", ")})}var am,et=F.injectIntl(ur),im=F.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"}}),lm=F.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"}}),sm=[_.FileType.PDF,_.FileType.JPG,_.FileType.PNG];function um(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 cm(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?um(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):um(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}(ur=am=am||{}).uploadInput="uploadInput",ur.mediaBody="mediaBody";function pm(e){e.preventDefault()}function dm(e){var t=e.disabled,n=e.multiple,r=e.description,o=void 0===(d=e.fileTypes)?sm:d,a=void 0===(s=e.sizeLimit)?5e3:s,i=e.maxFiles,l=e.onChange,s=void 0===(d=e.id)?"np-upload-button":d,u=e.uploadButtonTitle,c=(il(),F.useIntl().formatMessage),p=M.useRef(null),d=M.useState(!1),d=(e=j(d,2))[0],f=e[1],h=M.useRef(0),m=function(){return"*"===o?o:(Array.isArray(o)?om(o):om([o])).join(", ")};return W("div",cm(cm({className:B("np-upload-button-container","droppable",{"droppable-dropping":d})},!t&&{onDragEnter:function(e){e.preventDefault(),h.current+=1,1===h.current&&f(!0)},onDragLeave:function(e){e.preventDefault(),--h.current,0===h.current&&f(!1)},onDrop:function(e){e.preventDefault(),h.current=0,f(!1),e.dataTransfer&&e.dataTransfer.files&&e.dataTransfer.files[0]&&l(e.dataTransfer.files)},onDragOver:pm}),{},{children:[H("input",cm(cm(cm({ref:p,id:s,type:"file"},"*"===m()?null:Array.isArray(o)?{accept:o.join(",")}:{accept:o}),n&&{multiple:!0}),{},{className:"tw-droppable-input",disabled:t,name:"file-upload","data-testid":am.uploadInput,onChange:function(e){e=e.target.files;e&&(l(e),p.current&&(p.current.value=""))}})),H("label",{htmlFor:s,className:B("btn","np-upload-accent","np-upload-button",{disabled:t}),children:W("div",{className:"media",children:[H("div",{className:"np-upload-icon media-left",children:H(T.Upload,{size:24,className:"text-link"})}),W("div",{className:"media-body text-xs-left","data-testid":am.mediaBody,children:[H("div",{children:u||c(n?lm.uploadFiles:lm.uploadFile)}),H(Y,{children:W("small",{className:B("np-upload-description",{"text-primary":!t}),children:[function(){if(r)return r;var e="*"===(e=m())?c(lm.allFileTypes):e;return c(lm.instructions,{fileTypes:e,size:Math.round(a/1e3)})}(),i&&W(Y,{children:[H("br",{}),"Maximum ".concat(i," files.")]})]})})]})]})}),d&&W("div",{className:"droppable-card droppable-dropping-card droppable-card-content",children:[H(T.PlusCircle,{filled:!0,size:24,className:"text-info m-x-1"}),H("div",{className:"text-info",children:c(lm.dropFile)})]})]}))}function fm(e){var t=e.children,n=e.url,e=e.onDownload;return n?H("a",{href:n,target:"_blank",rel:"noopener noreferrer",onClick:e,children:t}):H("div",{children:t})}var hm,mm=F.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"}});(ur=hm=hm||{}).uploadItem="uploadItem",ur.mediaBody="mediaBody";function gm(e){var t=e.file,n=e.canDelete,r=e.onDelete,o=e.onDownload,a=F.useIntl().formatMessage,i=t.status,l=t.filename,s=t.error,u=t.url,e=[_.Status.SUCCEEDED,void 0].includes(i)&&!!u;return H("div",{className:B("np-upload-item",{"np-upload-item__link":e}),"data-testid":hm.uploadItem,children:W("div",{className:"np-upload-item__body",children:[H(fm,{url:e?u:void 0,onDownload:function(e){o&&(e.preventDefault(),o(t))},children:H("div",{className:"np-upload-button",children:W("div",{className:"media",children:[H("div",{className:"np-upload-icon media-left",children:function(){if(s||i===_.Status.FAILED)return H(T.AlertCircle,{size:24,className:"text-negative"});var e;switch(i){case _.Status.PROCESSING:case _.Status.PENDING:e=H(Tf,{size:_.Size.EXTRA_SMALL,status:_.Status.PROCESSING});break;case _.Status.SUCCEEDED:case _.Status.DONE:default:e=H(Tf,{size:_.Size.EXTRA_SMALL,status:_.Status.SUCCEEDED})}return H("span",{style:{transform:"scale(0.8335)"},children:e})}()}),W("div",{className:"media-body text-xs-left","data-testid":hm.mediaBody,children:[H("div",{className:"text-word-break text-primary",children:l||a(mm.uploadedFile)}),H("small",{className:"np-upload-description text-primary",children:function(){if(s||i===_.Status.FAILED)return H("span",{className:"text-negative",children:"object"===Ts(s)&&s.message||s||a(mm.uploadingFailed)});switch(i){case _.Status.PENDING:return H("span",{children:a(mm.uploading)});case _.Status.PROCESSING:return H("span",{children:a(mm.deleting)});case _.Status.SUCCEEDED:case _.Status.DONE:default:return H("span",{className:"text-positive",children:a(mm.uploaded)})}}()})]})]})})}),n&&H("button",{"aria-label":a(mm.removeFile,{filename:l}),className:"btn np-upload-item__remove-button media-left",type:"button",onClick:function(){return r()},children:H(T.CrossCircle,{filled:!0,size:16})})]})})}function ym(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 bm(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ym(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ym(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function vm(e){var t=e.name,n=e.size,e=(new Date).getTime();return"".concat(t,"_").concat(n,"_").concat(e)}ur={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.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:xf,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.Summary.statusDone":"Apartado listo","neptune.Summary.statusNotDone":"Apartado a completar","neptune.Summary.statusPending":"Apartado pendiente","neptune.Upload.csButtonText":"Cargar 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":"Cargar archivo","neptune.UploadButton.uploadFiles":"Cargar 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, la carga falló 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 cargar 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.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.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.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.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":"Sorry, this upload failed because we can only accept {maxFilesAllowed} files at once.","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.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.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.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":"Ocorreu um erro. 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.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.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.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":"Sorry, this upload failed because we can only accept {maxFilesAllowed} files at once.","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.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":"Sorry, this upload failed because we can only accept {maxFilesAllowed} files at once.","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.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":"上載失敗"}};_.Accordion=te,_.ActionButton=ie,_.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,e=e.showMediaAtAllSizes,u={media:a,title:i,content:l,complex:s,disabled:r,showMediaAtAllSizes:e,className:B("tw-action-option",u)};return H(Z,se(se({},u),{},{button:H(ie,{disabled:r,"aria-label":(t=[],"string"==typeof i&&t.push(i),"string"==typeof n&&t.push(n),t.join(", ")||void 0),text:n,onClick:o})}))},_.Alert=it,_.Avatar=io,_.AvatarWrapper=nt,_.Badge=lo,_.BottomSheet=Tl,_.Button=_l,_.Card=Ht,_.Checkbox=zl,_.CheckboxButton=ql,_.CheckboxOption=sr,_.Chevron=X,_.Chip=Yl,_.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=F.useIntl();return H("div",{className:B("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 H(Yl,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Xl(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Xl(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(Kl.ariaLabel,{choice:e.label})},className:B("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)})})},_.CircularButton=Jn,_.DEFAULT_LANG="en",_.DEFAULT_LOCALE=S,_.DateInput=G,_.DateLookup=xe,_.Decision=We,_.DefinitionList=vu,_.Dimmer=vl,_.DirectionProvider=al,_.Drawer=Ou,_.DropFade=function(e){var t=e.children,n=e.show,r=M.useRef(null),o=M.useState(0),e=j(o,2),o=e[0],a=e[1];return H(No,{in:n,timeout:300,classNames:"np-dropfade",onEntering:function(){var e;a((null==r||null===(e=r.current)||void 0===e?void 0:e.scrollHeight)||0)},onEntered:function(){return a(void 0)},onExit:function(){var e;a((null==r||null===(e=r.current)||void 0===e?void 0:e.scrollHeight)||0)},onExiting:function(){a(0)},children:H("div",{style:{height:o},className:"np-dropfade",children:ke.default.cloneElement(t,{ref:r})})})},_.DynamicFieldDefinitionList=pt,_.Emphasis=function(e){e=e.text,e=void 0===e?void 0:e;if(!e)return null;e=Ac.transform(e);return e?H("span",{dangerouslySetInnerHTML:{__html:e}}):null},_.FlowNavigation=Fl,_.Header=function(e){var t=e.action,n=e.as,r=void 0===n?"h5":n,n=e.title,e=e.className;return W("div",{className:B("np-header",e),children:[H(r,{className:"np-header__title h5",children:n}),t&&H(cd,{action:t})]})},_.Image=Ae,_.Info=Sd,_.InlineAlert=Ad,_.InputWithDisplayFormat=Le,_.InstructionsList=rt,_.Link=ld,_.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?_.Size.EXTRA_LARGE:o,o=e.classNames,a=void 0===o?{}:o,e=ne(e,Vd),t=r?_.Size.EXTRA_SMALL:t;return H("div",{className:B(n("tw-loader"),n("tw-loader--".concat(t))),"data-testid":e["data-testid"],children:new Array(5).fill(void 0).map(function(e,t){return H("div",{className:n("tw-loader__stripe")},t)})})},_.Logo=Kn,_.Markdown=Vr,_.Modal=hd,_.Money=ot,_.MoneyInput=De,_.NavigationOption=mu,_.NavigationOptionsList=He,_.Nudge=at,_.OverlayHeader=tr,_.PhoneNumberInput=st,_.Popover=Od,_.ProcessIndicator=Tf,_.Provider=Uo,_.RTL_LANGUAGES=D,_.Radio=kf,_.RadioGroup=Wt,_.RadioOption=Yt,_.SUPPORTED_LANGUAGES=A,_.Section=function(e){var t=e.children,n=e.className,e=e.withHorizontalPadding;return H("div",{className:B("np-section",n,{"np-section--with-horizontal-padding":void 0!==e&&e}),children:t})},_.Select=qs,_.SlidingPanel=Cl,_.SnackbarConsumer=ve,_.SnackbarContext=_f,_.SnackbarPortal=If,_.SnackbarProvider=we,_.Stepper=rd,_.Sticky=e,_.Summary=Hn,_.Switch=Bf,_.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.showMediaAtAllSizes,c=e["aria-label"],e=function(e){(e=e)&&(e.stopPropagation(),e.preventDefault(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()),o||l(!t)};return H(Z,zf(zf({},{media:i,title:s,content:r,complex:n,disabled:o,showMediaAtAllSizes:u}),{},{button:H(Bf,{id:a,checked:t,disabled:o,"aria-label":c,onClick:e}),onClick:e}))},_.Tabs=he,_.TextareaWithDisplayFormat=$,_.Tooltip=td,_.Typeahead=n,_.Upload=et,_.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,t=e.fileTypes,c=void 0===t?sm:t,r=e.sizeLimit,p=void 0===r?5e3:r,s=e.description,d=e.onUploadFile,f=e.onDeleteFile,h=e.onValidationError,m=e.onFilesChange,g=e.onDownload,y=e.maxFiles,b=e.maxFilesErrorMessage,t=e.id,v=e.sizeLimitErrorMessage,r=e.uploadButtonTitle,e=M.useState(null),e=j(e,2),w=e[0],O=e[1],e=M.useState(!1),e=j(e,2),E=e[0],C=e[1],T=F.useIntl().formatMessage,x=new Set([_.Status.PENDING,_.Status.PROCESSING]),e=M.useState(u||0===n.length?n:[n[0]]),e=j(e,2),S=e[0],D=e[1],A=M.useRef(u||0===n.length?n:[n[0]]);function k(t){function e(e){return[].concat(U(e),[t])}D(e),A.current=e(A.current)}function N(t){function e(e){return e.filter(function(e){return t!==e&&t.id!==e.id})}D(e),A.current=e(A.current)}function P(t,n){function e(e){return e.map(function(e){return e===t||e.id===t.id?bm(bm({},t),n):e})}D(e),A.current=e(A.current)}function L(t){var e=t.id;t.status===_.Status.FAILED?N(t):f&&e&&(P(t,{status:_.Status.PROCESSING,error:void 0}),f(e).then(function(){return N(t)}).catch(function(e){P(t,{error:e})}))}function R(e,t){var n=e.name,t={id:vm(e),filename:n,status:_.Status.FAILED,error:t};k(t),h&&h(t)}function I(){if(!y)return!1;var t,e=(t=new Set([_.Status.SUCCEEDED,_.Status.PENDING]),A.current.filter(function(e){return e.status&&t.has(e.status)}).length);return y<=e}return M.useEffect(function(){C(!0)},[]),M.useEffect(function(){m&&E&&m(S)},[m,S]),W(Y,{children:[W("div",{className:B("np-upload-input",o),children:[S.map(function(e){return H(gm,{file:e,canDelete:!(!f&&e.status!==_.Status.FAILED||e.status&&x.has(e.status)),onDelete:e.status===_.Status.FAILED?function(){return L(e)}:function(){return O(e)},onDownload:g},e.id)}),(u||!u&&!S.length)&&H(dm,{id:t,uploadButtonTitle:r,disabled:I()||i,multiple:u,fileTypes:c,sizeLimit:p,description:s,maxFiles:y,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=vm(a),n=Array.isArray(c)?c.join(","):c;if(!Xh(a,n))return R(a,T(im.fileTypeNotSupported)),"continue";if(!Yh(a,1e3*p)){var r=v||T(im.fileIsTooLarge);return R(a,r),"continue"}if(I()){r=b||T(im.maximumFilesAlreadyUploaded,{maxFilesAllowed:y});return R(a,r),"continue"}i.append(l,a);var o={id:t,filename:e,status:_.Status.PENDING};return k(o),d(i).then(function(e){var t=e.id,n=e.url,e=e.error;P(o,{id:t,url:n,error:e,status:_.Status.SUCCEEDED})}).catch(function(e){P(o,{error:e,status:_.Status.FAILED})}),u?void 0:"break"}();if("continue"!==n&&"break"===n)break}}}})]}),H(hd,{title:void 0!==(null==a?void 0:a.title)?a.title:T(im.deleteModalTitle),body:void 0!==(null==a?void 0:a.body)?a.body:T(im.deleteModalBody),open:!!w,footer:W(Y,{children:[H(_l,{block:!0,onClick:function(){O(null)},children:(null==a?void 0:a.cancelText)||T(im.deleteModalCancelButtonText)}),H(_l,{block:!0,priority:_.Priority.SECONDARY,type:_.ControlType.NEGATIVE,onClick:function(){w&&L(w),O(null)},children:(null==a?void 0:a.confirmText)||T(im.deleteModalConfirmButtonText)})]}),onClose:function(){O(null)}})]})},_.adjustLocale=k,_.getCountryFromLocale=N,_.getDirectionFromLocale=P,_.getLangFromLocale=function(e){if(null===(e=k(e)))return null;try{var t=new Intl.Locale(e).language;return A.includes(t)?t:null}catch(e){return console.error(e),null}},_.isBrowser=function(){return!E()},_.isServerSide=E,_.translations=ur,_.useDirection=il,_.useLayout=sl,_.useSnackbar=function(){return M.useContext(_f).createSnackbar},Object.defineProperty(_,"__esModule",{value:!0})});