@flarehr/tfn-declaration-app 0.1.410 → 0.1.411
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.
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
|
|
9
9
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
10
10
|
*/
|
|
11
|
-
function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){c(e,t,n[t])}))}return e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.d(t,"a",(function(){return _e})),n.d(t,"b",(function(){return je}));var u=function(){},l={},f={},d={mark:u,measure:u};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(f=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(d=performance)}catch(e){}var p=(l.navigator||{}).userAgent,h=void 0===p?"":p,$=l,b=f,m=d,g=($.document,!!b.documentElement&&!!b.head&&"function"==typeof b.addEventListener&&"function"==typeof b.createElement),w=(~h.indexOf("MSIE")||h.indexOf("Trident/"),function(){try{}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),y=w.concat([11,12,13,14,15,16,17,18,19,20]),O={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},v=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",O.GROUP,O.SWAP_OPACITY,O.PRIMARY,O.SECONDARY].concat(w.map((function(e){return"".concat(e,"x")}))).concat(y.map((function(e){return"w-".concat(e)}))),$.FontAwesomeConfig||{});if(b&&"function"==typeof b.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=s(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=b.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(v[r]=o)}))}var j=a({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},v);j.autoReplaceSvg||(j.observeMutations=!1);var _=a({},j);$.FontAwesomeConfig=_;var E=$||{};E.___FONT_AWESOME___||(E.___FONT_AWESOME___={}),E.___FONT_AWESOME___.styles||(E.___FONT_AWESOME___.styles={}),E.___FONT_AWESOME___.hooks||(E.___FONT_AWESOME___.hooks={}),E.___FONT_AWESOME___.shims||(E.___FONT_AWESOME___.shims=[]);var x=E.___FONT_AWESOME___,S=[];g&&((b.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(b.readyState)||b.addEventListener("DOMContentLoaded",(function e(){b.removeEventListener("DOMContentLoaded",e),1,S.map((function(e){return e()}))})));var C,T=function(){},k=void 0!==e&&void 0!==e.process&&"function"==typeof e.process.emit,A=void 0===r?setTimeout:r,I=[];function D(){for(var e=0;e<I.length;e++)I[e][0](I[e][1]);I=[],C=!1}function P(e,t){I.push([e,t]),C||(C=!0,A(D,0))}function M(e){var t=e.owner,n=t._state,r=t._data,o=e[n],i=e.then;if("function"==typeof o){n="fulfilled";try{r=o(r)}catch(e){L(i,e)}}N(i,r)||("fulfilled"===n&&R(i,r),"rejected"===n&&L(i,r))}function N(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===o(t))){var r=t.then;if("function"==typeof r)return r.call(t,(function(r){n||(n=!0,t===r?F(e,r):R(e,r))}),(function(t){n||(n=!0,L(e,t))})),!0}}catch(t){return n||L(e,t),!0}return!1}function R(e,t){e!==t&&N(e,t)||F(e,t)}function F(e,t){"pending"===e._state&&(e._state="settled",e._data=t,P(U,e))}function L(e,t){"pending"===e._state&&(e._state="settled",e._data=t,P(G,e))}function B(e){e._then=e._then.forEach(M)}function U(e){e._state="fulfilled",B(e)}function G(t){t._state="rejected",B(t),!t._handled&&k&&e.process.emit("unhandledRejection",t._data,t)}function V(t){e.process.emit("rejectionHandled",t)}function H(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof H==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){L(t,e)}try{e((function(e){R(t,e)}),n)}catch(e){n(e)}}(e,this)}H.prototype={constructor:H,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(T),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,"rejected"===this._state&&k&&P(V,this)),"fulfilled"===this._state||"rejected"===this._state?P(M,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},H.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new H((function(t,n){var r=[],o=0;function i(e){return o++,function(n){r[e]=n,--o||t(r)}}for(var c,a=0;a<e.length;a++)(c=e[a])&&"function"==typeof c.then?c.then(i(a),n):r[a]=c;o||t(r)}))},H.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new H((function(t,n){for(var r,o=0;o<e.length;o++)(r=e[o])&&"function"==typeof r.then?r.then(t,n):t(r)}))},H.resolve=function(e){return e&&"object"===o(e)&&e.constructor===H?e:new H((function(t){t(e)}))},H.reject=function(e){return new H((function(t,n){n(e)}))};var W={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function z(e){if(e&&g){var t=b.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=b.head.childNodes,r=null,o=n.length-1;o>-1;o--){var i=n[o],c=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(c)>-1&&(r=i)}return b.head.insertBefore(t,r),e}}function q(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function Y(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function X(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function J(e){return e.size!==W.size||e.x!==W.x||e.y!==W.y||e.rotate!==W.rotate||e.flipX||e.flipY}function Z(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),c="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(i," ").concat(c," ").concat(a)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var K={x:0,y:0,width:"100%",height:"100%"};function Q(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function ee(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,i=e.iconName,c=e.transform,s=e.symbol,u=e.title,l=e.maskId,f=e.titleId,d=e.extra,p=e.watchable,h=void 0!==p&&p,$=r.found?r:n,b=$.width,m=$.height,g="fak"===o,w=g?"":"fa-w-".concat(Math.ceil(b/m*16)),y=[_.replacementClass,i?"".concat(_.familyPrefix,"-").concat(i):"",w].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),O={children:[],attributes:a({},d.attributes,{"data-prefix":o,"data-icon":i,class:y,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(b," ").concat(m)})},v=g&&!~d.classes.indexOf("fa-fw")?{width:"".concat(b/m*16*.0625,"em")}:{};h&&(O.attributes["data-fa-i2svg"]=""),u&&O.children.push({tag:"title",attributes:{id:O.attributes["aria-labelledby"]||"title-".concat(f||q())},children:[u]});var j=a({},O,{prefix:o,iconName:i,main:n,mask:r,maskId:l,transform:c,symbol:s,styles:a({},v,d.styles)}),E=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,o=e.main,i=e.mask,c=e.maskId,s=e.transform,u=o.width,l=o.icon,f=i.width,d=i.icon,p=Z({transform:s,containerWidth:f,iconWidth:u}),h={tag:"rect",attributes:a({},K,{fill:"white"})},$=l.children?{children:l.children.map(Q)}:{},b={tag:"g",attributes:a({},p.inner),children:[Q(a({tag:l.tag,attributes:a({},l.attributes,p.path)},$))]},m={tag:"g",attributes:a({},p.outer),children:[b]},g="mask-".concat(c||q()),w="clip-".concat(c||q()),y={tag:"mask",attributes:a({},K,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,m]},O={tag:"defs",children:[{tag:"clipPath",attributes:{id:w},children:(t=d,"g"===t.tag?t.children:[t])},y]};return n.push(O,{tag:"rect",attributes:a({fill:"currentColor","clip-path":"url(#".concat(w,")"),mask:"url(#".concat(g,")")},K)}),{children:n,attributes:r}}(j):function(e){var t=e.children,n=e.attributes,r=e.main,o=e.transform,i=X(e.styles);if(i.length>0&&(n.style=i),J(o)){var c=Z({transform:o,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:a({},c.outer),children:[{tag:"g",attributes:a({},c.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:a({},r.icon.attributes,c.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(j),x=E.children,S=E.attributes;return j.children=x,j.attributes=S,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,i=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:a({},o,{id:!0===i?"".concat(t,"-").concat(_.familyPrefix,"-").concat(n):i}),children:r}]}]}(j):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,i=e.styles,c=e.transform;if(J(c)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};o.style=X(a({},i,{"transform-origin":"".concat(s.x+c.x/16,"em ").concat(s.y+c.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(j)}var te=function(){},ne=(_.measurePerformance&&m&&m.mark&&m.measure,function(e,t,n,r){var o,i,c,a=Object.keys(e),s=a.length,u=void 0!==r?function(e,t){return function(n,r,o,i){return e.call(t,n,r,o,i)}}(t,r):t;for(void 0===n?(o=1,c=e[a[0]]):(o=0,c=n);o<s;o++)c=u(c,e[i=a[o]],i,e);return c});function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,o=void 0!==r&&r,i=Object.keys(t).reduce((function(e,n){var r=t[n];return!!r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof x.hooks.addPack||o?x.styles[e]=a({},x.styles[e]||{},i):x.hooks.addPack(e,i),"fas"===e&&re("fa",t)}var oe=x.styles,ie=x.shims,ce=function(){var e=function(e){return ne(oe,(function(t,n,r){return t[r]=ne(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in oe;ne(ie,(function(e,n){var r=n[0],o=n[1],i=n[2];return"far"!==o||t||(o="fas"),e[r]={prefix:o,iconName:i},e}),{})};ce();x.styles;function ae(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function se(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,i=void 0===o?[]:o;return"string"==typeof e?Y(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Y(e[n]),'" ')}),"").trim()}(r),">").concat(i.map(se).join(""),"</").concat(t,">")}var ue=function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),t):t};function le(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}le.prototype=Object.create(Error.prototype),le.prototype.constructor=le;var fe={fill:"currentColor"},de={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},pe={tag:"path",attributes:a({},fe,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},he=a({},de,{attributeName:"opacity"});a({},fe,{cx:"256",cy:"364",r:"28"}),a({},de,{attributeName:"r",values:"28;14;28;28;14;28;"}),a({},he,{values:"1;0;1;1;0;1;"}),a({},fe,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),a({},he,{values:"1;0;0;0;0;1;"}),a({},fe,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),a({},he,{values:"0;0;1;1;0;0;"}),x.styles;function $e(e){var t=e[0],n=e[1],r=s(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(_.familyPrefix,"-").concat(O.GROUP)},children:[{tag:"path",attributes:{class:"".concat(_.familyPrefix,"-").concat(O.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(_.familyPrefix,"-").concat(O.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}x.styles;function be(){var e="svg-inline--fa",t=_.familyPrefix,n=_.replacementClass,r='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if("fa"!==t||n!==e){var o=new RegExp("\\.".concat("fa","\\-"),"g"),i=new RegExp("\\--".concat("fa","\\-"),"g"),c=new RegExp("\\.".concat(e),"g");r=r.replace(o,".".concat(t,"-")).replace(i,"--".concat(t,"-")).replace(c,".".concat(n))}return r}function me(){_.autoAddCss&&!ve&&(z(be()),ve=!0)}function ge(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return se(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(g){var t=b.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function we(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return ae(Oe.definitions,n,r)||ae(x.styles,n,r)}var ye,Oe=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,r;return t=e,(n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach((function(t){e.definitions[t]=a({},e.definitions[t]||{},o[t]),re(t,o[t]),ce()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],o=r.prefix,i=r.iconName,c=r.icon;e[o]||(e[o]={}),e[o][i]=c})),e}}])&&i(t.prototype,n),r&&i(t,r),e}()),ve=!1,je={transform:function(e){return ue(e)}},_e=(ye=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?W:n,o=t.symbol,i=void 0!==o&&o,c=t.mask,s=void 0===c?null:c,u=t.maskId,l=void 0===u?null:u,f=t.title,d=void 0===f?null:f,p=t.titleId,h=void 0===p?null:p,$=t.classes,b=void 0===$?[]:$,m=t.attributes,g=void 0===m?{}:m,w=t.styles,y=void 0===w?{}:w;if(e){var O=e.prefix,v=e.iconName,j=e.icon;return ge(a({type:"icon"},e),(function(){return me(),_.autoA11y&&(d?g["aria-labelledby"]="".concat(_.replacementClass,"-title-").concat(h||q()):(g["aria-hidden"]="true",g.focusable="false")),ee({icons:{main:$e(j),mask:s?$e(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:O,iconName:v,transform:a({},W,r),symbol:i,title:d,maskId:l,titleId:h,extra:{attributes:g,styles:y,classes:b}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:we(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:we(r||{})),ye(n,a({},t,{mask:r}))})}).call(this,n(32),n(49).setImmediate)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return s}));var r=n(2),o=(n(0),n(7));class i extends r.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SuccessRedirectionUrl"]}}function c(e){return Object(r.e)(e)}function a(e,t){sessionStorage.setItem(c(e),t)}function s(e){return Object(o.e)(sessionStorage.getItem(c(e)))}},function(e,t,n){"use strict";var r=a(n(42)),o=a(n(47)),i=a(n(36)),c=a(n(33));function a(e){return e&&e.__esModule?e:{default:e}}e.exports={Transition:c.default,TransitionGroup:i.default,ReplaceTransition:o.default,CSSTransition:r.default}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(11)),o=a(n(9)),i=a(n(9)),c=n(34);n(35);function a(e){return e&&e.__esModule?e:{default:e}}t.UNMOUNTED="unmounted";t.EXITED="exited";t.ENTERING="entering";t.ENTERED="entered";t.EXITING="exiting";var s=function(e){var t,n;function r(t,n){var r;r=e.call(this,t,n)||this;var o,i=n.transitionGroup,c=i&&!i.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?c?(o="exited",r.appearStatus="entering"):o="entered":o=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:o},r.nextCallback=null,r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var c=r.prototype;return c.getChildContext=function(){return{transitionGroup:null}},r.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null},c.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},c.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},c.componentWillUnmount=function(){this.cancelNextCallback()},c.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},c.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=i.default.findDOMNode(this);"entering"===t?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},c.performEnter=function(e,t){var n=this,r=this.props.enter,o=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,i=this.getTimeouts(),c=o?i.appear:i.enter;t||r?(this.props.onEnter(e,o),this.safeSetState({status:"entering"},(function(){n.props.onEntering(e,o),n.onTransitionEnd(e,c,(function(){n.safeSetState({status:"entered"},(function(){n.props.onEntered(e,o)}))}))}))):this.safeSetState({status:"entered"},(function(){n.props.onEntered(e)}))},c.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();n?(this.props.onExit(e),this.safeSetState({status:"exiting"},(function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,(function(){t.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))},c.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},c.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},c.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},c.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;e&&!r?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},c.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return n(e,r);var i=o.default.Children.only(n);return o.default.cloneElement(i,r)},r}(o.default.Component);function u(){}s.contextTypes={transitionGroup:r.object},s.childContextTypes={transitionGroup:function(){}},s.propTypes={},s.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:u,onEntering:u,onEntered:u,onExit:u,onExiting:u,onExited:u},s.UNMOUNTED=0,s.EXITED=1,s.ENTERING=2,s.ENTERED=3,s.EXITING=4;var l=(0,c.polyfill)(s);t.default=l},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function c(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,c=null,a=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?c="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(c="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?a="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(a="UNSAFE_componentWillUpdate"),null!==n||null!==c||null!==a){var s=e.displayName||e.name,u="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+s+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==c?"\n "+c:"")+(null!==a?"\n "+a:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var l=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;l.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",(function(){return c})),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0;var r;(r=n(11))&&r.__esModule;t.timeoutsShape=null;t.classNamesShape=null},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=a(n(11)),o=a(n(9)),i=n(34),c=n(48);function a(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var l=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},f=function(e){var t,n;function r(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(u(u(r)));return r.state={handleExited:o,firstRender:!0},r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},i.componentDidMount=function(){this.appeared=!0,this.mounted=!0},i.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,c.getInitialChildMapping)(e,r):(0,c.getNextChildMapping)(e,n,r),firstRender:!1}},i.handleExited=function(e,t){var n=(0,c.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=s({},t.children);return delete n[e.key],{children:n}})))},i.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["component","childFactory"]),i=l(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i:o.default.createElement(t,r,i)},r}(o.default.Component);f.childContextTypes={transitionGroup:r.default.object.isRequired},f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};var d=(0,i.polyfill)(f);t.default=d,e.exports=t.default},function(e,t,n){"use strict";n.d(t,"a",(function(){return Pa}));var r=n(4),o=n(2),i=n(0),c=n(15),a=n(18),s=n(6),u=n(7),l=n(8),f=n(3),d=n(10);function p(){return e=(e,t)=>Object(r.e)(e,t),{Compare:(t,n)=>e(t,n)};var e}function h(){return p()}n(24);class ${constructor(e,t){this.k=e,this.v=t}}function b(e,t){return new $(e,t)}function m(e){return e.k}function g(e){return e.v}class w extends ${constructor(e,t,n,r,o){super(e,t),this.left=n,this.right=r,this.h=o}}function y(e,t,n,r,o){return new w(e,t,n,r,o)}function O(e){return e.left}function v(e){return e.right}function j(e){return e.h}function _(e){return function e(t,n){e:for(;;){const r=t,o=n;if(null!=o){const i=o;if(i instanceof w){t=e(r+1,O(i)),n=v(i);continue e}return r+1|0}return 0|r}}(0,e)}function E(e,t,n,r){let o;if(null!=e){const t=e;o=t instanceof w?j(t):1}else o=0;let i;if(null!=r){const e=r;i=e instanceof w?j(e):1}else i=0;const c=0|(o<i?i:o);return 0===c?b(t,n):y(t,n,e,r,c+1)}function x(e,t,n,r){let o,i,c,a,s;if(null!=e){const t=e;s=t instanceof w?j(t):1}else s=0;let l;if(null!=r){const e=r;l=e instanceof w?j(e):1}else l=0;if(l>s+2){const c=Object(u.i)(r);if(c instanceof w){if(o=O(c),(null!=o?(i=o,i instanceof w?j(i):1):0)>s+1){const r=Object(u.i)(O(c));if(r instanceof w)return E(E(e,t,n,O(r)),m(r),g(r),E(v(r),m(c),g(c),v(c)));throw new Error("internal error: Map.rebalance")}return E(E(e,t,n,O(c)),m(c),g(c),v(c))}throw new Error("internal error: Map.rebalance")}if(s>l+2){const o=Object(u.i)(e);if(o instanceof w){if(c=v(o),(null!=c?(a=c,a instanceof w?j(a):1):0)>l+1){const e=Object(u.i)(v(o));if(e instanceof w)return E(E(O(o),m(o),g(o),O(e)),m(e),g(e),E(v(e),t,n,r));throw new Error("internal error: Map.rebalance")}return E(O(o),m(o),g(o),E(v(o),t,n,r))}throw new Error("internal error: Map.rebalance")}return E(e,t,n,r)}function S(e,t,n,r){if(null!=r){const o=r,i=0|e.Compare(t,m(o));return o instanceof w?i<0?x(S(e,t,n,O(o)),m(o),g(o),v(o)):0===i?y(t,n,O(o),v(o),j(o)):x(O(o),m(o),g(o),S(e,t,n,v(o))):i<0?y(t,n,void 0,r,2):0===i?b(t,n):y(t,n,r,void 0,2)}return b(t,n)}function C(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const c=i,a=0|r.Compare(o,m(c));if(0===a)return Object(u.f)(g(c));if(c instanceof w){e=r,t=o,n=a<0?O(c):v(c);continue e}return}return}}function T(e,t){!function e(t,n){e:for(;;){const r=t,o=n;if(null!=o){const i=o;if(i instanceof w){e(r,O(i)),r(m(i),g(i)),t=r,n=v(i);continue e}r(m(i),g(i))}break}}(e,t)}function k(e,t){return function e(t,n){if(null!=n){const r=n;if(r instanceof w){const n=e(t,O(r)),o=t(m(r),g(r)),i=e(t,v(r));return y(m(r),o,n,i,j(r))}return b(m(r),t(m(r),g(r)))}}(e,t)}function A(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const o=t[r];n=S(e,o[0],o[1],n)}return n}function I(e,t){if(Object(r.r)(t))return A(e,t);if(t instanceof o.b)return function(e,t){return Object(l.k)((t,n)=>S(e,n[0],n[1],t),void 0,t)}(e,t);{const n=Object(f.l)(t);try{return function(e,t,n){for(;;){const r=e,o=t,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;{const c=i["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=S(r,c[0],c[1],o),n=i}}}(e,void 0,n)}finally{n.Dispose()}}}class D extends o.c{constructor(e,t){super(),this.stack=e,this.started=t}}function P(e){e:for(;;){const t=e;if(null==t.tail)return new o.b;{const n=t.tail,r=t.head;if(null!=r){const i=r;if(i instanceof w){e=new o.b(O(i),new o.b(b(m(i),g(i)),new o.b(v(i),n)));continue e}return t}e=n}}}function M(e){return new D(P(new o.b(e,new o.b)),!1)}function N(e){if(e.started){const t=e.stack;if(null!=t.tail){if(null!=t.head){const e=t.head;if(e instanceof w)throw new Error("Please report error: Map iterator, unexpected stack for current");return[m(e),g(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration already finished")}()}return function(){throw new Error("enumeration not started")}()}function R(e){let t=M(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>N(t),"System.Collections.IEnumerator.get_Current":()=>N(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(null!=t.tail){if(null!=t.head){if(t.head instanceof w)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=P(t.tail),!(null==e.stack.tail)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return!1}return e.started=!0,!(null==e.stack.tail)}(t),"System.Collections.IEnumerator.Reset"(){t=M(e)},Dispose(){}}}class F{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){const t=(e,t)=>(e<<1)+t+631;let n=0;const o=Object(f.l)(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const e=o["System.Collections.Generic.IEnumerator`1.get_Current"]();n=t(n,Object(r.E)(e[0])),n=t(n,Object(r.E)(e[1]))}}finally{o.Dispose()}return 0|n}(this)}Equals(e){const t=this;if(!(e instanceof F))return!1;{const n=Object(f.l)(t);try{const t=Object(f.l)(e);try{const e=()=>{const o=n["System.Collections.IEnumerator.MoveNext"]();if(o===t["System.Collections.IEnumerator.MoveNext"]()){if(o){const o=n["System.Collections.Generic.IEnumerator`1.get_Current"](),i=t["System.Collections.Generic.IEnumerator`1.get_Current"]();return!(!Object(r.o)(o[0],i[0])||!Object(r.o)(o[1],i[1]))&&e()}return!0}return!1};return e()}finally{t.Dispose()}}finally{n.Dispose()}}}toString(){return"map ["+Object(d.g)("; ",Object(f.p)(e=>Object(d.c)("({0}, {1})",e[0],e[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}GetEnumerator(){return R(this.tree)}[Symbol.iterator](){return Object(f.C)(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return R(this.tree)}CompareTo(e){const t=this;if(e instanceof F)return 0|Object(f.d)((e,n)=>{const o=0|t.comparer.Compare(e[0],n[0]);return 0|(0!==o?o:Object(r.e)(e[1],n[1]))},t,e);throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return!!V(this,e[0])&&Object(r.o)(U(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){!function(e,t,n){let r=0|n;T((e,n)=>{t[r]=[e,n],r+=1},e)}(this.tree,e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|G(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|G(this)}get size(){return 0|G(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return Object(f.p)(e=>[e[0],e[1]],this)}get(e){return U(this,e)}has(e){return V(this,e)}keys(){return Object(f.p)(e=>e[0],this)}set(e,t){throw new Error("Map cannot be mutated")}values(){return Object(f.p)(e=>e[1],this)}forEach(e,t){const n=this;Object(f.n)(t=>{e(t[1],t[0],n)},n)}}function L(e,t){return new F(e,t)}function B(e){const t=h();return L(t,I(t,e))}function U(e,t){return function(e,t,n){const r=C(e,t,n);if(null==r)throw new Error;return Object(u.i)(r)}(e.comparer,t,e.tree)}function G(e){return _(e.tree)}function V(e,t){return function(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const c=i,a=0|r.Compare(o,m(c));if(c instanceof w){if(a<0){e=r,t=o,n=O(c);continue e}if(0===a)return!0;e=r,t=o,n=v(c);continue e}return 0===a}return!1}}(e.comparer,t,e.tree)}function H(e,t,n){return function(e,t,n){return L(e.comparer,S(e.comparer,t,n,e.tree))}(n,e,t)}function W(e,t){return function(e,t){return C(e.comparer,t,e.tree)}(t,e)}function z(e,t){return r=e,L((n=t).comparer,k(r,n.tree));var n,r}function q(){return F.empty}F.empty=L(h(),void 0);class Y extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function X(e,t){const n=Object(c.m)(Object(a.c)());return Object(c.g)(()=>Object(c.a)(()=>{Object(a.a)(n.current)})),Object(c.e)(r=>{Object(a.f)(n.current)||Object(a.i)(s.g.Delay(()=>s.g.TryWith(s.g.Delay(()=>(t(new Y(1)),s.g.Bind(e(r),e=>(t(new Y(2,e)),s.g.Zero())))),e=>(t(new Y(3,e)),s.g.Zero()))),n.current)})}var J=n(1);function Z(e){return 1!==e.tag}function K(e,t){return null==t?new J.e(1,e):new J.e(0,Object(u.i)(t))}function Q(e,t,n){return Object(r.o)(n,e)?new J.e(0,void 0):new J.e(1,t)}function ee(e,t){return Object(f.m)(t)?new J.e(1,e):new J.e(0,void 0)}function te(e,t,n){if(1===n.tag);else{const r=n.fields[0];e(r)&&t(r)}return n}function ne(e,t,n){if(1===n.tag){const r=n.fields[0];e(r)&&t(r)}return n}function re(e,t){return s.g.Bind(t,t=>s.g.Return(function(e,t){return te(e=>!0,e,t)}(e,t)))}function oe(e,t){return s.g.Bind(t,t=>s.g.Return(function(e,t){return ne(e=>!0,e,t)}(e,t)))}o.d;o.c;var ie=n(17),ce=n(9);function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function se(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var le,fe=n(11),de=n.n(fe),pe=n(27),he=n.n(pe);function $e(e,t){return void 0===e&&(e=""),void 0===t&&(t=le),t?e.split(" ").map((function(e){return t[e]||e})).join(" "):e}var be="object"==typeof window&&window.Element||function(){};de.a.oneOfType([de.a.string,de.a.func,function(e,t,n){if(!(e[t]instanceof be))return new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Expected prop to be an instance of Element. Validation failed.")},de.a.shape({current:de.a.any})]);var me=de.a.oneOfType([de.a.func,de.a.string,de.a.shape({$$typeof:de.a.symbol,render:de.a.func}),de.a.arrayOf(de.a.oneOfType([de.a.func,de.a.string,de.a.shape({$$typeof:de.a.symbol,render:de.a.func})]))]),ge=["in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","onEnter","onEntering","onEntered","onExit","onExiting","onExited"];"undefined"==typeof window||!window.document||window.document.createElement;var we=n(31);function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach((function(t){ue(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ve=Oe(Oe({},we.Transition.propTypes),{},{children:de.a.oneOfType([de.a.arrayOf(de.a.node),de.a.node]),tag:me,baseClass:de.a.string,baseClassActive:de.a.string,className:de.a.string,cssModule:de.a.object,innerRef:de.a.oneOfType([de.a.object,de.a.string,de.a.func])}),je=Oe(Oe({},we.Transition.defaultProps),{},{tag:"div",baseClass:"fade",baseClassActive:"show",timeout:150,appear:!0,enter:!0,exit:!0,in:!0});function _e(e){var t,n,r,o=e.tag,i=e.baseClass,c=e.baseClassActive,a=e.className,s=e.cssModule,u=e.children,l=e.innerRef,f=se(e,["tag","baseClass","baseClassActive","className","cssModule","children","innerRef"]),d=function(e,t){for(var n,r=Array.isArray(t)?t:[t],o=r.length,i={};o>0;)i[n=r[o-=1]]=e[n];return i}(f,ge),p=(t=f,n=ge,r={},Object.keys(t).forEach((function(e){-1===n.indexOf(e)&&(r[e]=t[e])})),r);return ce.default.createElement(we.Transition,d,(function(e){var t="entered"===e,n=$e(he()(a,i,t&&c),s);return ce.default.createElement(o,ae({className:n},p,{ref:l}),u)}))}_e.propTypes=ve,_e.defaultProps=je;var Ee=_e;function xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(n),!0).forEach((function(t){ue(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ce={children:de.a.node,className:de.a.string,closeClassName:de.a.string,closeAriaLabel:de.a.string,cssModule:de.a.object,color:de.a.string,fade:de.a.bool,isOpen:de.a.bool,toggle:de.a.func,tag:me,transition:de.a.shape(Ee.propTypes),innerRef:de.a.oneOfType([de.a.object,de.a.string,de.a.func])},Te={color:"success",isOpen:!0,tag:"div",closeAriaLabel:"Close",fade:!0,transition:Se(Se({},Ee.defaultProps),{},{unmountOnExit:!0})};function ke(e){var t=e.className,n=e.closeClassName,r=e.closeAriaLabel,o=e.cssModule,i=e.tag,c=e.color,a=e.isOpen,s=e.toggle,u=e.children,l=e.transition,f=e.fade,d=e.innerRef,p=se(e,["className","closeClassName","closeAriaLabel","cssModule","tag","color","isOpen","toggle","children","transition","fade","innerRef"]),h=$e(he()(t,"alert","alert-"+c,{"alert-dismissible":s}),o),$=$e(he()("close",n),o),b=Se(Se(Se({},Ee.defaultProps),l),{},{baseClass:f?l.baseClass:"",timeout:f?l.timeout:0});return ce.default.createElement(Ee,ae({},p,b,{tag:i,className:h,in:a,role:"alert",innerRef:d}),s?ce.default.createElement("button",{type:"button",className:$,"aria-label":r,onClick:s},ce.default.createElement("span",{"aria-hidden":"true"},"×")):null,u)}ke.propTypes=Ce,ke.defaultProps=Te;var Ae=ke;class Ie extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Tag","CSSModule","Color","Transition","IsOpen","Toggle","Custom"]}}function De(e,t){const n=Object(ie.d)(Object(f.c)(e=>6===e.tag?e.fields[0]:Object(l.g)(),e),1),r=Object(ie.d)(Object(f.b)(e=>6===e.tag?void 0:e,e),1);return ce.createElement(Ae,Object.assign({},n,r),...t)}var Pe=n(13);class Me extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Success","Failure","Info"]}}function Ne(e){switch(e.tag){case 0:return new Ie(2,"success");case 2:return new Ie(2,"info");default:return new Ie(2,"danger")}}function Re(e){switch(e.tag){case 0:case 2:default:return e.fields[0]}}function Fe(e){const t=e.hideAlert,n=e.alert,r=Object(a.c)();return Object(c.i)(()=>{!function(e,t){Object(a.i)(s.g.Delay(()=>s.g.Bind(Object(a.h)(5e3),()=>(e(),s.g.Zero()))),t)}(t,r)},[]),Object(ce.createElement)("div",{className:Object(d.g)(" ",["container-lg","fixed-top","mt-2"]),children:Pe.a.Children.toArray([De([Ne(n),new Ie(5,()=>{Object(a.a)(r),t()})],[Re(n)])])})}class Le{constructor(){}}function Be(e,t){return new J.e(0,t)}function Ue(e,t){return t}function Ge(e,t,n){return Object(J.g)(n,t)}new Le;class Ve{constructor(){}}function He(e,t){return s.g.Return(Be(0,t))}function We(e,t){return s.g.Delay(t)}new Ve;class ze extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class qe extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Header"]}}class Ye extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}o.d;class Xe extends o.c{constructor(e,t,n,r,o,i,c){super(),this.url=e,this.method=t,this.headers=n,this.withCredentials=r,this.overridenMimeType=o,this.overridenResponseType=i,this.content=c}}class Je extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Ze extends o.c{constructor(e,t,n,r,o){super(),this.statusCode=0|e,this.responseText=t,this.responseType=n,this.responseHeaders=r,this.content=o}}var Ke=n(14);const Qe=new Xe("",new ze(0),Object(l.g)(),!1,void 0,void 0,new Ye(0));new Ze(0,"","",q(),new Je(0,""));function et(e,t){return Object(d.e)(t)?[t]:Object(d.i)(t,[e],null,0)}function tt(e){return new Xe(e,Qe.method,Qe.headers,Qe.withCredentials,Qe.overridenMimeType,Qe.overridenResponseType,Qe.content)}function nt(e,t){return new Xe(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.content)}function rt(e,t){return new Xe(t.url,t.method,Object(l.a)(t.headers,Object(l.s)(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.content)}function ot(e,t){return new Xe(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,e)}function it(e){return Object(a.d)(t=>{const n=new XMLHttpRequest;n.open(function(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}(e.method),e.url),n.onreadystatechange=()=>{let e,r,o,i,c,a;4===n.readyState&&t[0]((r=n.responseType,e=""===r||"text"===r?n.responseText:"",o=0|n.status,i=n.responseType,a=n.responseType,c=""===a||"text"===a?new Je(0,n.responseText):new Je("arraybuffer"===a?2:"blob"===a?1:3,n.response),new Ze(o,e,i,function(e){const t=h();return L(t,A(t,e))}(Object(Ke.a)(e=>{const t=Object(l.p)(et(":",e));return null!=t.tail?[t.head.toLocaleLowerCase(),Object(d.g)(":",t.tail).trim()]:void 0},et("\r\n",n.getAllResponseHeaders()))),c)))};const r=Object(f.l)(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(e.fields[0],e.fields[1])}}finally{r.Dispose()}n.withCredentials=e.withCredentials;const o=e.overridenMimeType;null==o||n.overrideMimeType(o);const i=e.overridenResponseType;null==i||(1===i.tag?n.responseType="blob":2===i.tag?n.responseType="arraybuffer":n.responseType="text");const c=[e.method,e.content];0===c[0].tag?n.send(Object(u.f)(void 0)):1===c[1].tag||3===c[1].tag||2===c[1].tag?n.send(Object(u.f)(c[1].fields[0])):n.send(Object(u.f)(void 0))})}var ct=n(25);class at extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class st extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}o.c;class ut{constructor(){this.cache=new Map([])}}function lt(){return new ut}lt(),lt();function ft(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function dt(e,t){switch(e.tag){case 2:return Object(ct.b)(ft(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return ft(t)}}var pt=n(26),ht=n(21),$t=n(5);class bt extends o.c{constructor(e,t){super(),this.bound=0|e,this.digits=t}}function mt(e,t){for(;;){const n=e,r=t;if(0===r)return 1;if(r%2!=0)return n*mt(n*n,~~(r/2))|0;e=n*n,t=~~(r/2)}}Object($t.c)(2013265921,0,!1),Object($t.c)(2013265921,0,!0);Object(Ke.l)(28,e=>mt(2,e),Int32Array);function gt(e){return e.bound}function wt(e,t){return e.digits[t]}function yt(e,t){return Object($t.e)(wt(e,t),!1,2)}function Ot(e,t,n){e.digits[t]=n}function vt(e,t){for(;;){const n=e,r=t;if(0===r)return Object($t.c)(1,0,!1);if(r%2!=0)return Object($t.n)(n,vt(Object($t.n)(n,n),~~(r/2)));e=Object($t.n)(n,n),t=~~(r/2)}}function jt(e,t){for(;;){const n=e,r=t;if(0===r)return 1;if(r%2!=0)return n*jt(n*n,~~(r/2))|0;e=n*n,t=~~(r/2)}}const _t=Object($t.c)(16777216,0,!1),Et=Object($t.c)(16777215,0,!1);Object($t.c)(16777215,0,!0);function xt(e){return new bt(e,new Int32Array(e))}function St(e){const t=0|((e,t)=>{for(;;){const n=e,r=t;if(-1===r||0!==n[r])return r+1|0;e=n,t=r-1}})(e.digits,e.bound-1);return e.bound=t,e}function Ct(e){const t=0|(e<0?0:e);if(t<16777216){const e=xt(1);return e.digits[0]=t,St(e)}{const e=xt(2);for(let n=0;n<=1;n++)e.digits[n]=~~(t/jt(16777216,n))%16777216;return St(e)}}function Tt(e){if(1===e.bound)return 0|e.digits[0];{let t=0;for(let n=e.bound-1;n>=0;n--)t=e.digits[n]+16777216*t;return 0|t}}const kt=Ct(1),At=Ct(0);function It(e){return e.bound-1}function Dt(e){return 0===e.bound}function Pt(e,t){if(e.bound===t.bound){return((e,t,n)=>{for(;;){const r=e,o=t,i=n;if(-1===i)return!0;if(r[i]!==o[i])return!1;e=r,t=o,n=i-1}})(e.digits,t.digits,e.bound-1)}return!1}function Mt(e,t){if(e.bound<t.bound)return-1;if(e.bound>t.bound)return 1;return 0|((e,t,n)=>{for(;;){const r=e,o=t,i=n;if(-1===i)return 0;if(r[i]!==o[i])return r[i]<o[i]?-1:1;e=r,t=o,n=i-1}})(e.digits,t.digits,e.bound-1)}function Nt(e,t){return-1===Mt(e,t)}function Rt(e,t,n){for(;;){const r=e,o=t,i=n;if(!(Object($t.a)(o,Object($t.c)(0,0,!1))>0))break;{const c=Object($t.i)(yt(r,i),o);Ot(r,i,~~Object($t.r)(Object($t.j)(c,Et))),e=r,t=Object($t.k)(c,_t),n=i+1}}}function Ft(e,t){const n=0|gt(e),r=xt(n+1),o=Object($t.e)(t,!1,2);let i=Object($t.c)(0,0,!1);for(let t=0;t<=n-1;t++){const n=Object($t.i)(Object($t.i)(i,yt(r,t)),Object($t.n)(yt(e,t),o));Ot(r,t,~~Object($t.r)(Object($t.j)(n,Et))),i=Object($t.k)(n,_t)}return Rt(r,i,n),St(r)}function Lt(e,t){const n=1===gt(e),r=1===gt(t);return n&&r?function(e,t){const n=xt(2),r=Object($t.n)(Object($t.e)(e,!1,2),Object($t.e)(t,!1,2));return Ot(n,0,~~Object($t.r)(Object($t.j)(r,Et))),Ot(n,1,~~Object($t.r)(Object($t.k)(r,_t))),St(n)}(wt(e,0),wt(t,0)):n?Ft(t,wt(e,0)):r?Ft(e,wt(t,0)):function(e,t){const n=xt(e.bound+t.bound),r=n.digits;for(let o=0;o<=e.bound-1;o++){const i=Object($t.e)(e.digits[o],!1,2);let c=Object($t.c)(0,0,!1),a=0|o;for(let e=0;e<=t.bound-1;e++){const n=Object($t.e)(t.digits[e],!1,2),o=Object($t.i)(Object($t.i)(Object($t.e)(r[a],!1,2),c),Object($t.n)(i,n));r[a]=~~Object($t.r)(Object($t.j)(o,Et)),c=Object($t.k)(o,_t),a+=1}Rt(n,c,a)}return St(n)}(e,t)}class Bt extends o.c{constructor(e,t,n,r,o,i,c){super(),this.bigL=0|e,this.twoToBigL=0|t,this.k=0|n,this.bigK=0|r,this.bigN=0|o,this.split=0|i,this.splits=c}}function Ut(e,t,n,r){return new Bt(e,jt(2,e),t,n,r,~~(24/e),Object(Ke.l)(~~(24/e),t=>jt(2,e*t),Int32Array))}const Gt=[Ut(1,28,268435456,268435456),Ut(2,26,67108864,134217728),Ut(3,24,16777216,50331648),Ut(4,22,4194304,16777216),Ut(5,20,1048576,5242880),Ut(6,18,262144,1572864),Ut(7,16,65536,458752),Ut(8,14,16384,131072),Ut(9,12,4096,36864),Ut(10,10,1024,10240),Ut(11,8,256,2816),Ut(12,6,64,768),Ut(13,4,16,208)];Object(Ke.l)(24,e=>jt(2,e)-1,Int32Array),Object(Ke.l)(24,e=>jt(2,e),Int32Array),Object(Ke.l)(24,e=>vt(Object($t.c)(2,0,!1),e));Gt[0].bigN;function Vt(e,t){return Lt(e,t)}function Ht(e,t,n,r){const o=[e.digits,It(e)],i=o[0],c=[n.digits,It(n)],a=0|c[1],s=c[0],u=Object($t.e)(t,!1,2);let l=0,f=Object($t.n)(u,Object($t.e)(s[0],!1,2));for(;Object($t.a)(f,Object($t.c)(0,0,!1))>0||l<a;){if(l>o[1])throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let e=0|~~Object($t.r)(Object($t.j)(f,Et)),t=Object($t.k)(f,_t);e<=i[l+r]?i[l+r]=i[l+r]-e:(i[l+r]=i[l+r]+(16777216-e),t=Object($t.i)(t,Object($t.c)(1,0,!1))),f=l<a?Object($t.i)(t,Object($t.n)(u,Object($t.e)(s[l+1],!1,2))):t,l+=1}St(e)}function Wt(e,t,n,r){const o=[e.digits,It(e)],i=o[0],c=[n.digits,It(n)],a=0|c[1],s=c[0],u=Object($t.e)(t,!1,2);let l=0,f=Object($t.n)(u,Object($t.e)(s[0],!1,2));for(;Object($t.a)(f,Object($t.c)(0,0,!1))>0||l<a;){if(l>o[1])throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let e=0|~~Object($t.r)(Object($t.j)(f,Et)),t=Object($t.k)(f,_t);e<16777216-i[l+r]?i[l+r]=i[l+r]+e:(i[l+r]=e-(16777216-i[l+r]),t=Object($t.i)(t,Object($t.c)(1,0,!1))),f=l<a?Object($t.i)(t,Object($t.n)(u,Object($t.e)(s[l+1],!1,2))):t,l+=1}St(e)}function zt(e,t,n){const r=[It(t),It(e)],o=0|r[1],i=0|r[0];if(o<i+n)return 0;{const r=[t.digits,e.digits],l=r[1],f=r[0],d=0|(0===i?o===n?~~(l[n]/f[0]):~~Object($t.r)(Object($t.k)(Object($t.i)(Object($t.n)(Object($t.e)(l[o],!1,2),_t),Object($t.e)(l[o-1],!1,2)),Object($t.e)(f[0],!1,2))):o===i+n?~~(l[o]/(f[i]+1)):~~Object($t.r)(Object($t.k)(Object($t.i)(Object($t.n)(Object($t.e)(l[o],!1,2),_t),Object($t.e)(l[o-1],!1,2)),Object($t.i)(Object($t.e)(f[i],!1,2),Object($t.c)(1,0,!1)))));return 0===d?1!=(a=n,s=e,u=0,(c=t).bound+a<s.bound+u?-1:c.bound+a>s.bound+a?1:0|((e,t,n)=>{e:for(;;){const r=e,o=t,i=n;if(-1===i)return 0;{const c=0|(i<a?0:r[i-a]),s=0|(i<u?0:o[i-u]);if(c===s){e=r,t=o,n=i-1;continue e}return c<s?-1:1}}})(c.digits,s.digits,c.bound+a-1))?1:0:0|d}var c,a,s,u}function qt(e,t){if(Dt(t))throw new Error;if(It(e)<It(t))return[At,e];{const n=function(e){return new bt(e.bound,Object(Ke.d)(e.digits))}(e),r=xt(It(e)-It(t)+1+1);let o=0|It(e);const i=0|It(t);let c=o-i|0;const a=e=>{};let s=!1;for(;!s;){a([r,n,c,o]);const e=0|zt(n,t,c);e>0?(Ht(n,e,t,c),Wt(r,e,kt,c),a([r,n,c,o])):(s=0===e&&0===c,s||(o===i+c?(a([r,n,c-1,o]),c-=1):(a([r,n,c-1,o-1]),c-=1,o-=1)))}return[St(r),St(n)]}}Ct(2);function Yt(e){return Ct(e)}function Xt(e){return function(e){const t=Object($t.a)(e,Object($t.c)(0,0,!1))<0?Object($t.c)(0,0,!1):e,n=xt(3);for(let e=0;e<=2;e++)n.digits[e]=~~Object($t.r)(Object($t.m)(Object($t.k)(t,vt(_t,e)),_t));return St(n)}(e)}function Jt(e){const t=0|It(e),n=(e,t,i,c)=>{e:for(;;){const a=e,s=t,u=i,l=c;if(null==l.tail){const e=0|Tt(u);return a&&0===e?s:new o.b(Object(r.q)(e),s)}{const r=l.tail,o=qt(u,l.head[1]),f=o[1],d=o[0];if(a&&Dt(d)){e=a,t=s,i=f,c=r;continue e}e=a,t=n(!1,s,f,r),i=d,c=r}}},i=n(!0,new o.b,e,((e,n,r)=>{for(;;){const i=e,c=n,a=r;if(It(a)>t)return new o.b([c,a],i);e=new o.b([c,a],i),n=c+1,r=Vt(a,a)}})(new o.b,0,Ct(10)));return null==i.tail?"0":Object(d.g)("",Array.from(i))}function Zt(e){return e.bound<=1}function Kt(e){const t=e;return 0<t.bound?0|t.digits[0]:0}n(22);class Qt extends o.c{constructor(e,t){super(),this.signInt=e,this.v=t}toString(){const e=this;switch(0|nn(e)){case-1:return Dt(rn(e))?"0":"-"+Jt(rn(e));case 0:return"0";case 1:return Jt(rn(e));default:throw new Error("signs should be +/- 1 or 0")}}Equals(e){return e instanceof Qt&&on(this,e)}GetHashCode(){return 0|(0===nn(e=this)?1:nn(e)+function(e){let t=0;for(let n=0;n<=e.bound-1;n++)t=e.digits[n]+(t<<3);return 0|t}(rn(e))|0);var e}CompareTo(e){if(e instanceof Qt)return 0|(cn(t=this,n=e)?-1:on(t,n)?0:1);throw new Error("the objects are not comparable\\nParameter name: obj");var t,n}}function en(e,t){return new Qt(e,t)}function tn(e){return Zt(e)&&Kt(e)<Qt.smallLim?Qt.smallPosTab[Kt(e)]:e}function nn(e){return e.signInt}function rn(e){return e.v}function on(e,t){const n=[nn(e),nn(t)];let r;switch(r=-1===n[0]?-1===n[1]?1:0===n[1]?8:1===n[1]?3:9:0===n[0]?-1===n[1]?6:0===n[1]?4:1===n[1]?5:9:1===n[0]?-1===n[1]?2:0===n[1]?7:1===n[1]?0:9:9,r){case 0:case 1:return Pt(rn(e),rn(t));case 2:case 3:return!!Dt(rn(e))&&Dt(rn(t));case 4:return!0;case 5:case 6:return Dt(rn(t));case 7:case 8:return Dt(rn(e));case 9:throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}}function cn(e,t){const n=[nn(e),nn(t)];let r;switch(r=-1===n[0]?-1===n[1]?1:0===n[1]?8:1===n[1]?3:9:0===n[0]?-1===n[1]?6:0===n[1]?4:1===n[1]?5:9:1===n[0]?-1===n[1]?2:0===n[1]?7:1===n[1]?0:9:9,r){case 0:return Nt(rn(e),rn(t));case 1:return Nt(rn(t),rn(e));case 2:return!1;case 3:return!Dt(rn(e))||!Dt(rn(t));case 4:return!1;case 5:return!Dt(rn(t));case 6:case 7:return!1;case 8:return!Dt(rn(e));case 9:throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}}function an(e){return e>=0?en(1,tn(Yt(e))):en(-1,tn(-2147483648===e?Xt(Object($t.p)(Object($t.e)(e,!1,2))):Yt(Object(ht.b)(e))))}function sn(){return Qt.one}function un(){return Qt.two}function ln(){return Qt.zero}Qt.smallLim=4096,Qt.smallPosTab=Object(Ke.l)(Qt.smallLim,e=>Yt(e)),Qt.one=an(1),Qt.two=an(2),Qt.zero=an(0);ln(),sn(),un();ln(),sn();var fn=n(20);function dn(e,t){const n=new Date(e);return n.offset=null!=t?t:-6e4*(new Date).getTimezoneOffset(),n}function pn(e,t){try{return t.contents=function(e){const t=Object(fn.f)(e),n=fn.e.exec(e),r=null==n?-6e4*t.getTimezoneOffset():"Z"===n[0]?0:36e5*parseInt(n[1],10)+6e4*parseInt(n[2],10);return dn(t.getTime(),r)}(e),!0}catch(e){return!1}}function hn(e){return e<0?Math.ceil(e):Math.floor(e)}function $n(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return bn(arguments[0]);case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],o=0}return 864e5*e+36e5*t+6e4*n+1e3*r+o}function bn(e){return Object($t.s)(Object($t.k)(e,1e4))}r.h,r.h;function mn(e,t="c",n){if(-1===["c","g","G"].indexOf(t))throw new Error("Custom formats are not supported");const o=Math.abs(function(e){return hn(e/864e5)}(e)),i=Math.abs(function(e){return hn(e%864e5/36e5)}(e)),c=Math.abs(function(e){return hn(e%36e5/6e4)}(e)),a=Math.abs(function(e){return hn(e%6e4/1e3)}(e)),s=Math.abs(function(e){return hn(e%1e3)}(e));return`${e<0?"-":""}${0!==o||"c"!==t&&"g"!==t?"c"===t?o+".":o+":":""}${"g"===t?i:Object(r.y)(i,2)}:${Object(r.y)(c,2)}:${Object(r.y)(a,2)}${0!==s||"c"!==t&&"g"!==t?"g"===t?"."+Object(r.y)(s,3):"."+Object(r.x)(s,3,7):""}`}function gn(e,t){try{return t.contents=function(e){const t=e.search("\\."),n=e.search("\\:");if(-1===t&&-1===n){const t=parseInt(e,0);if(isNaN(t))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return $n(t,0,0,0,0)}if(n>0){const t=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(null!=t&&null!=t[4]&&null!=t[5]){let n=0,r=0,o=0;const i=null!=t[1]&&"-"===t[1]?-1:1,c=+t[4],a=+t[5];if(null!=t[3]&&(n=+t[3]),null!=t[7]&&(o=+t[7]),null!=t[8])switch(t[8].length){case 1:r=100*+t[8];break;case 2:r=10*+t[8];break;case 3:r=+t[8];break;case 4:r=+t[8]/10;break;case 5:r=+t[8]/100;break;case 6:r=+t[8]/1e3;break;case 7:r=+t[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return i*$n(n,c,a,o,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}n(23);class wn{constructor(e){this.k=e}}function yn(e){return new wn(e)}function On(e){return e.k}class vn extends wn{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=r}}function jn(e,t,n,r){return new vn(e,t,n,r)}function _n(e){return e.left}function En(e){return e.right}function xn(e){return e.h}function Sn(e){return function e(t,n){e:for(;;){const r=t,o=n;if(null!=r){const i=r;if(i instanceof vn){t=_n(i),n=e(En(i),o+1);continue e}return o+1|0}return 0|o}}(e,0)}function Cn(e,t,n){let r;if(null!=e){const t=e;r=t instanceof vn?xn(t):1}else r=0;let o;if(null!=n){const e=n;o=e instanceof vn?xn(e):1}else o=0;const i=0|(r<o?o:r);return 0===i?yn(t):jn(t,e,n,i+1)}function Tn(e,t,n){let r,o,i,c,a;if(null!=e){const t=e;a=t instanceof vn?xn(t):1}else a=0;let s;if(null!=n){const e=n;s=e instanceof vn?xn(e):1}else s=0;if(s>a+2){const i=Object(u.i)(n);if(i instanceof vn){if(r=_n(i),(null!=r?(o=r,o instanceof vn?xn(o):1):0)>a+1){const n=Object(u.i)(_n(i));if(n instanceof vn)return Cn(Cn(e,t,_n(n)),On(n),Cn(En(n),On(i),En(i)));throw new Error("internal error: Set.rebalance")}return Cn(Cn(e,t,_n(i)),On(i),En(i))}throw new Error("internal error: Set.rebalance")}if(a>s+2){const r=Object(u.i)(e);if(r instanceof vn){if(i=En(r),(null!=i?(c=i,c instanceof vn?xn(c):1):0)>s+1){const e=Object(u.i)(En(r));if(e instanceof vn)return Cn(Cn(_n(r),On(r),_n(e)),On(e),Cn(En(e),t,n));throw new Error("internal error: Set.rebalance")}return Cn(_n(r),On(r),Cn(En(r),t,n))}throw new Error("internal error: Set.rebalance")}return Cn(e,t,n)}function kn(e,t,n){if(null!=n){const r=n,o=0|e.Compare(t,On(r));if(r instanceof vn)return o<0?Tn(kn(e,t,_n(r)),On(r),En(r)):0===o?n:Tn(_n(r),On(r),kn(e,t,En(r)));{const o=0|e.Compare(t,On(r));return o<0?jn(t,void 0,n,2):0===o?n:jn(t,n,void 0,2)}}return yn(t)}function An(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const c=i,a=0|r.Compare(o,On(c));if(c instanceof vn){if(a<0){e=r,t=o,n=_n(c);continue e}if(0===a)return!0;e=r,t=o,n=En(c);continue e}return 0===a}return!1}}function In(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof vn){In(n,_n(o)),n(On(o)),e=n,t=En(o);continue e}n(On(o))}break}}class Dn extends o.c{constructor(e,t){super(),this.stack=e,this.started=t}}function Pn(e){e:for(;;){const t=e;if(null==t.tail)return new o.b;{const n=t.head,r=t.tail;if(null!=n){const i=n;if(i instanceof vn){e=new o.b(_n(i),new o.b(yn(On(i)),new o.b(En(i),r)));continue e}return t}e=r}}}function Mn(e){return new Dn(Pn(new o.b(e,new o.b)),!1)}function Nn(e){if(e.started){const t=e.stack;if(null==t.tail)return function(){throw new Error("Enumeration already started")}();if(null!=t.head){return On(t.head)}throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function Rn(e){let t=Mn(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Nn(t),"System.Collections.IEnumerator.get_Current":()=>Nn(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(null!=t.tail){if(null!=t.head){if(t.head instanceof vn)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Pn(t.tail),!(null==e.stack.tail)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return!1}return e.started=!0,!(null==e.stack.tail)}(t),"System.Collections.IEnumerator.Reset"(){t=Mn(e)},Dispose(){}}}function Fn(e,t,n){return null==t?null==n?0:-1:null==n?1:0|function(e,t,n){e:for(;;){const r=e,i=t,c=n,a=[i,c];if(null==a[0].tail)return null==a[1].tail?0:-1;if(null==a[1].tail)return 1;if(null!=a[1].head)if(null!=a[0].head){const s=a[0].head,u=a[1].head;if(s instanceof vn)if(null==_n(s)){if(!(u instanceof vn)){const i=0|r.Compare(On(s),On(u));if(0!==i)return 0|i;e=r,t=new o.b(En(s),a[0].tail),n=new o.b(void 0,a[1].tail);continue e}if(null==_n(u)){const i=0|r.Compare(On(s),On(u));if(0!==i)return 0|i;e=r,t=new o.b(En(s),a[0].tail),n=new o.b(En(u),a[1].tail);continue e}{const a=[i,c];let s,u,l,f,d;switch(null!=a[0].tail&&null!=a[0].head?(s=0,u=a[0].tail,l=a[0].head):null!=a[1].tail&&null!=a[1].head?(s=1,f=a[1].tail,d=a[1].head):s=2,s){case 0:if(l instanceof vn){e=r,t=new o.b(_n(l),new o.b(jn(On(l),void 0,En(l),0),u)),n=c;continue e}e=r,t=new o.b(void 0,new o.b(yn(On(l)),u)),n=c;continue e;case 1:if(d instanceof vn){e=r,t=i,n=new o.b(_n(d),new o.b(jn(On(d),void 0,En(d),0),f));continue e}e=r,t=i,n=new o.b(void 0,new o.b(yn(On(d)),f));continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const a=[i,c];let s,u,l,f,d;switch(null!=a[0].tail&&null!=a[0].head?(s=0,u=a[0].tail,l=a[0].head):null!=a[1].tail&&null!=a[1].head?(s=1,f=a[1].tail,d=a[1].head):s=2,s){case 0:if(l instanceof vn){e=r,t=new o.b(_n(l),new o.b(jn(On(l),void 0,En(l),0),u)),n=c;continue e}e=r,t=new o.b(void 0,new o.b(yn(On(l)),u)),n=c;continue e;case 1:if(d instanceof vn){e=r,t=i,n=new o.b(_n(d),new o.b(jn(On(d),void 0,En(d),0),f));continue e}e=r,t=i,n=new o.b(void 0,new o.b(yn(On(d)),f));continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(u instanceof vn)){const o=0|r.Compare(On(s),On(u));if(0!==o)return 0|o;e=r,t=a[0].tail,n=a[1].tail;continue e}if(null==_n(u)){const i=0|r.Compare(On(s),On(u));if(0!==i)return 0|i;e=r,t=new o.b(void 0,a[0].tail),n=new o.b(En(u),a[1].tail);continue e}{const a=[i,c];let s,u,l,f,d;switch(null!=a[0].tail&&null!=a[0].head?(s=0,u=a[0].tail,l=a[0].head):null!=a[1].tail&&null!=a[1].head?(s=1,f=a[1].tail,d=a[1].head):s=2,s){case 0:if(l instanceof vn){e=r,t=new o.b(_n(l),new o.b(jn(On(l),void 0,En(l),0),u)),n=c;continue e}e=r,t=new o.b(void 0,new o.b(yn(On(l)),u)),n=c;continue e;case 1:if(d instanceof vn){e=r,t=i,n=new o.b(_n(d),new o.b(jn(On(d),void 0,En(d),0),f));continue e}e=r,t=i,n=new o.b(void 0,new o.b(yn(On(d)),f));continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{a[1].head;const s=[i,c];let u,l,f,d,p;switch(null!=s[0].tail&&null!=s[0].head?(u=0,l=s[0].tail,f=s[0].head):null!=s[1].tail&&null!=s[1].head?(u=1,d=s[1].tail,p=s[1].head):u=2,u){case 0:if(f instanceof vn){e=r,t=new o.b(_n(f),new o.b(jn(On(f),void 0,En(f),0),l)),n=c;continue e}e=r,t=new o.b(void 0,new o.b(yn(On(f)),l)),n=c;continue e;case 1:if(p instanceof vn){e=r,t=i,n=new o.b(_n(p),new o.b(jn(On(p),void 0,En(p),0),d));continue e}e=r,t=i,n=new o.b(void 0,new o.b(yn(On(p)),d));continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==a[0].head){e=r,t=a[0].tail,n=a[1].tail;continue e}{a[0].head;const s=[i,c];let u,l,f,d,p;switch(null!=s[0].tail&&null!=s[0].head?(u=0,l=s[0].tail,f=s[0].head):null!=s[1].tail&&null!=s[1].head?(u=1,d=s[1].tail,p=s[1].head):u=2,u){case 0:if(f instanceof vn){e=r,t=new o.b(_n(f),new o.b(jn(On(f),void 0,En(f),0),l)),n=c;continue e}e=r,t=new o.b(void 0,new o.b(yn(On(f)),l)),n=c;continue e;case 1:if(p instanceof vn){e=r,t=i,n=new o.b(_n(p),new o.b(jn(On(p),void 0,En(p),0),d));continue e}e=r,t=i,n=new o.b(void 0,new o.b(yn(On(p)),d));continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,new o.b(t,new o.b),new o.b(n,new o.b))}function Ln(e,t,n){let r=0|n;In(e=>{t[r]=e,r+=1},e)}function Bn(e,t){const n=Object(f.l)(t);try{return function(e,t,n){for(;;){const r=e,o=t,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;e=r,t=kn(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i}}(e,void 0,n)}finally{n.Dispose()}}class Un{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t=0;const n=Object(f.l)(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const e=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+Object(r.E)(e)+631}}finally{n.Dispose()}return 0|Math.abs(t)}(this)}Equals(e){return e instanceof Un&&0===Fn(Vn(this),Hn(this),Hn(e))}toString(){return"set ["+Object(d.g)("; ",Object(f.p)(e=>{let t=e;return Object(o.e)(t)},this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}CompareTo(e){return 0|Fn(Vn(this),Hn(this),Hn(e))}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return An(Vn(this),e,Hn(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){Ln(Hn(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|Wn(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|Wn(this)}GetEnumerator(){return Rn(Hn(this))}[Symbol.iterator](){return Object(f.C)(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Rn(Hn(this))}get size(){return 0|Wn(this)}add(e){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(e){throw new Error("Set cannot be mutated")}has(e){return zn(this,e)}keys(){return Object(f.p)(e=>e,this)}values(){return Object(f.p)(e=>e,this)}entries(){return Object(f.p)(e=>[e,e],this)}forEach(e,t){const n=this;Object(f.n)(t=>{e(t,t,n)},n)}}function Gn(e,t){return new Un(e,t)}function Vn(e){return e.comparer}function Hn(e){return e.tree}function Wn(e){return Sn(Hn(e))}function zn(e,t){return An(Vn(e),t,Hn(e))}function qn(e,t){return Gn(t,Bn(t,e))}function Yn(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?"\n":" ")+JSON.stringify(t,null,4)}catch(t){return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(n?"\n":" ")}}function Xn(e,t){const n=2===t.tag?Yn(t.fields[0],t.fields[1],!0):1===t.tag?Yn(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?Yn(t.fields[0],t.fields[1],!0):4===t.tag?Yn(t.fields[0],t.fields[1],!0)+"\nNode `"+t.fields[2]+"` is unkown.":5===t.tag?"Expecting "+t.fields[0]+".\n"+JSON.stringify(t.fields[1],null,4):7===t.tag?"The following errors were found:\n\n"+Object(d.g)("\n\n",t.fields[0]):6===t.tag?"The following `failure` occurred with the decoder: "+t.fields[0]:Yn(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}function Jn(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new J.e(1,Xn(e[0],e[1]))}return new J.e(0,r.fields[0])}function Zn(e,t){try{return Jn("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new J.e(1,"Given an invalid JSON: "+e.message);throw e}}const Kn=e=>t=>{const n=e,r=t;if("number"==typeof r){const e=r;return isFinite(e)&&Math.floor(e)===e?-128<=e&&e<=127?new J.e(0,(e+128&255)-128):new J.e(1,[n,new at(1,"a sbyte",e,"Value was either too large or too small for a sbyte")]):new J.e(1,[n,new at(1,"a sbyte",e,"Value is not an integral value")])}if("string"==typeof r){let e,t=0;return e=[Object(ht.d)(r,511,!1,8,new o.a(()=>t,e=>{t=e})),t],e[0]?new J.e(0,e[1]):new J.e(1,[n,new at(0,"a sbyte",r)])}return new J.e(1,[n,new at(0,"a sbyte",r)])},Qn=e=>t=>{const n=e,r=t;if("number"==typeof r){const e=r;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=255?new J.e(0,255&e):new J.e(1,[n,new at(1,"a byte",e,"Value was either too large or too small for a byte")]):new J.e(1,[n,new at(1,"a byte",e,"Value is not an integral value")])}if("string"==typeof r){let e,t=0;return e=[Object(ht.d)(r,511,!0,8,new o.a(()=>t,e=>{t=e})),t],e[0]?new J.e(0,e[1]):new J.e(1,[n,new at(0,"a byte",r)])}return new J.e(1,[n,new at(0,"a byte",r)])},er=e=>t=>{const n="an int16",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-32768<=e&&e<=32767?new J.e(0,(e+32768&65535)-32768):new J.e(1,[r,new at(1,n,e,"Value was either too large or too small for "+n)]):new J.e(1,[r,new at(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Object(ht.d)(i,511,!1,16,new o.a(()=>t,e=>{t=e})),t],e[0]?new J.e(0,e[1]):new J.e(1,[r,new at(0,n,i)])}return new J.e(1,[r,new at(0,n,i)])},tr=e=>t=>{const n="an uint16",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=65535?new J.e(0,65535&e):new J.e(1,[r,new at(1,n,e,"Value was either too large or too small for "+n)]):new J.e(1,[r,new at(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Object(ht.d)(i,511,!0,16,new o.a(()=>t,e=>{t=e})),t],e[0]?new J.e(0,e[1]):new J.e(1,[r,new at(0,n,i)])}return new J.e(1,[r,new at(0,n,i)])},nr=e=>t=>{const n=e,r=t;if("number"==typeof r){const e=r;return isFinite(e)&&Math.floor(e)===e?-2147483648<=e&&e<=2147483647?new J.e(0,~~e):new J.e(1,[n,new at(1,"an int",e,"Value was either too large or too small for an int")]):new J.e(1,[n,new at(1,"an int",e,"Value is not an integral value")])}if("string"==typeof r){let e,t=0;return e=[Object(ht.d)(r,511,!1,32,new o.a(()=>t,e=>{t=e})),t],e[0]?new J.e(0,e[1]):new J.e(1,[n,new at(0,"an int",r)])}return new J.e(1,[n,new at(0,"an int",r)])},rr=e=>t=>{const n="an uint32",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=4294967295?new J.e(0,e>>>0):new J.e(1,[r,new at(1,n,e,"Value was either too large or too small for "+n)]):new J.e(1,[r,new at(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Object(ht.d)(i,511,!0,32,new o.a(()=>t,e=>{t=e})),t],e[0]?new J.e(0,e[1]):new J.e(1,[r,new at(0,n,i)])}return new J.e(1,[r,new at(0,n,i)])};function or(e,t){if("string"==typeof t){let n,r=dn(-621355968e5,0);return n=[pn(t,new o.a(()=>r,e=>{r=e})),r],n[0]?new J.e(0,n[1]):new J.e(1,[e,new at(0,"a datetimeoffset",t)])}return new J.e(1,[e,new at(0,"a datetime",t)])}function ir(e,t,n,o){let i;const c=n+".["+Object(r.q)(e)+"]";if(Array.isArray(o)){const n=o;return e<n.length?t(c,n[e]):new J.e(1,[c,new at(5,"a longer array. Need index `"+Object(r.q)(e)+"` but there are only `"+(i=0|n.length,Object(r.q)(i)+"` entries"),o)])}return new J.e(1,[c,new at(0,"an array",o)])}function cr(e,t,n){if(Array.isArray(n)){let o=-1;return Object(J.g)(e=>Object(l.r)(e),Object(Ke.i)((n,i)=>{if(o+=1,0===n.tag){const c=e(t+".["+Object(r.q)(o)+"]",i);return 0===c.tag?new J.e(0,Object(l.e)(c.fields[0],n.fields[0])):new J.e(1,c.fields[0])}return n},new J.e(0,Object(l.g)()),n))}return new J.e(1,[t,new at(0,"a list",n)])}function ar(e,t,n){if(Array.isArray(n)){let o=-1;const i=n;return Object(Ke.i)((n,i)=>{if(o+=1,0===n.tag){const c=n.fields[0],a=e(t+".["+Object(r.q)(o)+"]",i);return 0===a.tag?(c[o]=a.fields[0],new J.e(0,c)):new J.e(1,a.fields[0])}return n},new J.e(0,Object(Ke.g)(new Array(i.length),0,i.length,null)),i)}return new J.e(1,[t,new at(0,"an array",n)])}function sr(e,t,n){return new J.e(0,e)}function ur(e,t,n,r){const o=t(n,r);return 0===o.tag?e(o.fields[0],n,r):new J.e(1,o.fields[0])}function lr(e,t,n,r){const o=t(n,r);return 1===o.tag?new J.e(1,o.fields[0]):new J.e(0,e(o.fields[0]))}function fr(e,t){let n;const o=e;return n=e=>t=>ir(0,o,e,t),e=>o=>ur(Object(r.F)(3,e=>{let n;const o=t;return n=e=>t=>ir(1,o,e,t),t=>o=>ur((t,n,r)=>sr([e,t]),Object(r.F)(2,n),t,o)}),Object(r.F)(2,n),e,o)}function dr(e){return B(e)}function pr(e,t,n,o){let i,c;return t.length!==o.length?new J.e(1,[n,new at(6,(i=0|o.length,c=0|t.length,Object(d.l)(Object(d.h)("Expected %i %s but got %i"))(c)(e)(i)))]):Object(Ke.k)(Object(r.F)(3,Object(r.t)(e=>t=>r=>0===r.tag?Object(J.g)(e=>Object(l.e)(e,r.fields[0]),t(n,e)):r,[0,[0,2],0])),o,t,new J.e(0,Object(l.g)()))}function hr(e,t,n,r,o,c){const a=Object(Ke.s)(e=>Object(i.E)(e)===r,Object(i.q)(n,!0));if(null!=a){const n=a;return 0===c.length?new J.e(0,Object(i.D)(n,[],!0)):Object(J.g)(e=>Object(i.D)(n,Array.from(e),!0),pr("union fields",Object(Ke.m)(n=>br(e,t,!1,n[1]),Object(i.p)(n)),o,c))}return new J.e(1,[o,new at(6,"Cannot find case "+r+" in "+Object(i.f)(n))])}function $r(e,t,n,c){const a=new o.a(null),s=H(Object(i.f)(c),a,e);let u;if(Object(i.w)(c,!0)){const e=Object(Ke.m)(e=>[dt(t,Object(i.E)(e)),br(s,t,!1,e[1])],Object(i.l)(c,!0));u=t=>n=>Object(J.g)(e=>Object(i.B)(c,Array.from(e),!0),function(e,t,n){return null===n||Object.getPrototypeOf(n||!1)!==Object.prototype?new J.e(1,[t,new at(0,"an object",n)]):Object(Ke.j)(Object(r.F)(2,e=>{const r=e[0];return o=>0===o.tag?Object(J.g)(e=>Object(l.e)(e,o.fields[0]),e[1](t+"."+r)(n[r])):o}),e,new J.e(0,Object(l.g)()))}(e,t,n))}else if(Object(i.y)(c,!0))u=e=>n=>{if("string"==typeof n)return hr(s,t,c,n,e,[]);if(Array.isArray(n)){const r=n;return hr(s,t,c,r[0],e,r.slice(1,r.length))}return new J.e(1,[e,new at(0,"a string or array",n)])};else{if(!n){let e;const t=Object(i.f)(c);throw e=Object(d.l)(Object(d.h)("Cannot generate auto decoder for %s. Please pass an extra decoder."))(t),new Error(e)}u=e=>t=>new J.e(1,[e,new at(2,"an extra coder for "+Object(i.f)(c),t)])}return a.contents=u,u}function br(e,t,n,c){let a;const s=Object(i.f)(c),p=W(s,e);if(null==p){if(Object(i.t)(c)){const n=br(e,t,!1,Object(i.g)(c));return e=>t=>ar(Object(r.F)(2,n),e,t)}if(Object(i.u)(c)){const e=Object(i.f)(Object(i.h)(c));if("System.SByte"===e)return e=>t=>{const n=c,r=e,o=t,a=Kn(r)(o);if(1===a.tag)return new J.e(1,a.fields[0]);{const e=0|a.fields[0];return Object(f.f)(e,Object(i.i)(n))?new J.e(0,Object(i.H)(n,e.toString())):new J.e(1,[r,new at(1,Object(i.f)(n),o,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>t=>{const n=c,r=e,o=t,a=Qn(r)(o);if(1===a.tag)return new J.e(1,a.fields[0]);{const e=a.fields[0];return Object(f.f)(e,Object(i.i)(n))?new J.e(0,Object(i.H)(n,e.toString())):new J.e(1,[r,new at(1,Object(i.f)(n),o,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>t=>{const n=c,o=e,a=t,s=er(o)(a);if(1===s.tag)return new J.e(1,s.fields[0]);{const e=0|s.fields[0];return Object(f.f)(e,Object(i.i)(n))?new J.e(0,Object(i.H)(n,Object(r.p)(e))):new J.e(1,[o,new at(1,Object(i.f)(n),a,"Unkown value provided for the enum")])}};if("System.UInt16"===e)return e=>t=>{const n=c,r=e,o=t,a=tr(r)(o);if(1===a.tag)return new J.e(1,a.fields[0]);{const e=a.fields[0];return Object(f.f)(e,Object(i.i)(n))?new J.e(0,Object(i.H)(n,e.toString())):new J.e(1,[r,new at(1,Object(i.f)(n),o,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>t=>{const n=c,o=e,a=t,s=nr(o)(a);if(1===s.tag)return new J.e(1,s.fields[0]);{const e=0|s.fields[0];return Object(f.f)(e,Object(i.i)(n))?new J.e(0,Object(i.H)(n,Object(r.q)(e))):new J.e(1,[o,new at(1,Object(i.f)(n),a,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>t=>{const n=c,r=e,o=t,a=rr(r)(o);if(1===a.tag)return new J.e(1,a.fields[0]);{const e=a.fields[0];return Object(f.f)(e,Object(i.i)(n))?new J.e(0,Object(i.H)(n,e.toString())):new J.e(1,[r,new at(1,Object(i.f)(n),o,"Unkown value provided for the enum")])}};{const e=Object(i.f)(c),t=Object(d.k)(Object(d.h)("Cannot generate auto decoder for %s.\nThoth.Json.Net only support the folluwing enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra decoder.\n "))(e);return e=>{const n=t(e);return e=>n(e)}}}if(Object(i.v)(c)){if(Object(i.x)(c)){const n=Object(Ke.m)(n=>br(e,t,!1,n),Object(i.n)(c));return e=>t=>Array.isArray(t)?Object(J.g)(e=>Object(i.C)(Array.from(e),c),pr("tuple elements",n,e,t)):new J.e(1,[e,new at(0,"an array",t)])}{const o=Object(i.f)(Object(i.j)(c));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===o){const n=br(e,t,!0,Object(i.k)(c)[0]);return e=>t=>{return o=Object(r.F)(2,n),i=e,null==(c=t)?new J.e(0,void 0):Object(J.g)(e=>Object(u.f)(e),o(i,c));var o,i,c}}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===o){const n=br(e,t,!1,Object(i.k)(c)[0]);return e=>t=>cr(Object(r.F)(2,n),e,t)}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===o){const n=br(e,t,!1,Object(i.k)(c)[0]),o=br(e,t,!1,Object(i.k)(c)[1]);let s;const u=Object(l.p)([e=>t=>function(e,t,n,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new J.e(1,[n,new at(0,"an object",r)]):Object(f.i)((o,i)=>{if(0===o.tag){const c=e(n,i);if(0===c.tag){const e=t(n+"."+i,r[i]);return 0===e.tag?new J.e(0,Object(l.e)([c.fields[0],e.fields[0]],o.fields[0])):new J.e(1,e.fields[0])}return new J.e(1,c.fields[0])}return o},new J.e(0,Object(l.g)()),Object.keys(r))}(Object(r.F)(2,n),Object(r.F)(2,o),e,t),(a=fr(Object(r.F)(2,n),Object(r.F)(2,o)),e=>t=>cr(Object(r.F)(2,a),e,t))]);return s=e=>t=>{return n=e,o=t,((e,t)=>{e:for(;;){const i=e,c=t;if(null==i.tail)return new J.e(1,[n,new at(7,c)]);{const a=Jn(n,Object(r.F)(2,i.head),o);if(1===a.tag){e=i.tail,t=Object(l.a)(c,Object(l.s)(a.fields[0]));continue e}return new J.e(0,a.fields[0])}}})(u,Object(l.g)());var n,o},e=>t=>lr(e=>dr(e),Object(r.F)(2,s),e,t)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===o){const n=br(e,t,!1,Object(i.k)(c)[0]);return e=>t=>{const o=ar(Object(r.F)(2,n),e,t);return 0===o.tag?new J.e(0,qn(o.fields[0],{Compare:(e,t)=>Object(r.e)(e,t)})):new J.e(1,o.fields[0])}}return $r(e,t,n,c)}}return"System.Boolean"===s?e=>t=>{return n=e,"boolean"==typeof(r=t)?new J.e(0,r):new J.e(1,[n,new at(0,"a boolean",r)]);var n,r}:"Microsoft.FSharp.Core.Unit"===s?e=>t=>{return n=e,null==(r=t)?new J.e(0,void 0):new J.e(1,[n,new at(0,"null",r)]);var n,r}:"System.String"===s?e=>t=>{return n=e,"string"==typeof(r=t)?new J.e(0,r):new J.e(1,[n,new at(0,"a string",r)]);var n,r}:"System.SByte"===s?Kn:"System.Byte"===s?Qn:"System.Int16"===s?er:"System.UInt16"===s?tr:"System.Int32"===s?nr:"System.UInt32"===s?rr:"System.Double"===s?e=>t=>{return n=e,"number"==typeof(r=t)?new J.e(0,r):new J.e(1,[n,new at(0,"a float",r)]);var n,r}:"System.Single"===s?e=>t=>{return n=e,"number"==typeof(r=t)?new J.e(0,r):new J.e(1,[n,new at(0,"a float32",r)]);var n,r}:"System.DateTime"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r=Object(fn.d)();return n=[Object(fn.i)(t,new o.a(()=>r,e=>{r=e})),r],n[0]?new J.e(0,Object(fn.h)(n[1])):new J.e(1,[e,new at(0,"a datetime",t)])}return new J.e(1,[e,new at(0,"a datetime",t)])}(e,t):"System.DateTimeOffset"===s?e=>t=>or(e,t):"System.TimeSpan"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[gn(t,new o.a(()=>r,e=>{r=e})),r],n[0]?new J.e(0,n[1]):new J.e(1,[e,new at(0,"a timespan",t)])}return new J.e(1,[e,new at(0,"a timespan",t)])}(e,t):"System.Guid"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r="00000000-0000-0000-0000-000000000000";return n=[Object(pt.b)(t,new o.a(()=>r,e=>{r=e})),r],n[0]?new J.e(0,n[1]):new J.e(1,[e,new at(0,"a guid",t)])}return new J.e(1,[e,new at(0,"a guid",t)])}(e,t):"System.Object"===s?e=>e=>new J.e(0,e):$r(e,t,n,c)}{const e=p;return t=>n=>e.contents(t)(n)}}function mr(e){return null!=e?z((e,t)=>new o.a(t[1]),e.Coders):q()}function gr(e,t,n){const r=Object(u.b)(e,new st(0)),o=Object(u.i)(n).ResolveType();return br(mr(t),r,!1,o)}const wr=function(){const e=[..."#C$&$&$$$$$$%-%&%=$$$$$$=$$$$D$$'$$$$$$$$$$$$%$$%$$$$&$:$*;$+$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$&%$$$%$&%'$%$&&%$%$$$$$%$$%$$%$&$$$%%$$&'$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$%$$$$$&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*%$%%$$'$$$$$$$$h$>5'/1(*$$$4$$$$$$$$%$&$$'%$$&$$$%$4$,F$%&&$$$$$$$$$$$$$$$$$$$$$$$($$$$$%%VS$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$(%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$I%$)L$$%%$$P$$$%$%$$+>''%.)&%$%%.$$$%C$-8-'%$$$*$$)%%$'%-&%$1$$$$A>%|.$1-D,%$&$%$%9'$,$&$(%2$<&%$$.X8$5.2$C$Y$$$$&+'$%$*-%%-$$2$%$+%%%9$*$$&'%$$&'%%%%$$+$'%$&%%-%%)$$$$$%%$$)'%%9$*$%$%$%%$$&%'%%&&$*'$$*-%&$$-%$$,$&$9$*$%$(%$$&($%$$%$%$2%%%-$$*$)$$%$+%%%9$*$%$(%$$$$$'%%%%$*%$'%$&%%-$$)-$$$)&&$'&%$$$%&%&&&/'%$%&&$&$%$)$1-&)$$($&$+$&$:$3&$&'$&$'*%$&(%%%-*$*$$$%$+$&$:$-$(%$$$$($$%$%%*%*$$%%%-$%0%%,$&$L%$&'$&$&$$$'&$*&%%-,$)$$%$5&;$,$$%*&$'&&$$$+)-%%$/S$%*'$)$+$-%H%$$$($;$$$-$%,$%($$$)%-%'C$&2$$&%)--$$$$$$$$$$%+$G'1$($%(.$G$+$)$%('%HN%'$)$%%%$-))%%'&$&%*&'0$%%)$$$-&$%I$$($%N$$&Ŭ$'%*$$$'%L$'%D$'%*$$$'%2$\\$'%f%&,7&3-)y%)%$ʏ$$4$=$$&n&&+*0$'&.5&%,5%/0$&$%/W%$*+$%.&$&$$$%-)-))$'&$$-)F$X*(%E$$(i-B$&'%&'%$)&'$&%-A%(.O'=)-$&E:%%$%%X$$$*$$$$%+)-%$-)-)*$)%1$%b'$R$$($$($%*'-*-,,&%$A$'%%$&%-O$$%&$$&%+'G++%%&(-&&-A)%,*N%&++&$0$*'$)$%$%$(Ob0$EH]$($$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$,$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$,+)%)%++++)%)%+$$$$$$$$++1%++++++($%'$$$&&$%'$&'%%'$&+(&%&$%'$%$.()%$$$%$$$+$$($,$$'%&$$$.$$$-$($-$$%)&$$$-&$$$0&C30'$&/2%$'$%$&%&$$$%$()$$$$$$'$$'$'$%%%($'$$%$$3F$$'$%'((%'$%$%$*$B%%$$$Bį+$$$$7%*$$t$A<K)h<.8_q9Ú$,$Y+$ě$$$$$$$$$$$$$$AO($$B$$$$$$$$$$3ģ¦$$$$$$$$$$$$$$$$$$$$$$b$$$$C$$ĥS8%)J%C$R$R$$$&%$$$$$$'$$%$)%&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%)$$$$&$$('$%I$$($%[*$$1$:,*$*$*$*$*$*$*$*$C%$$$$&$$$$$,$%$$$$%$$$$$$$$$$($-%'$$$0%$P=$|/ù=/'$&$$$$$$$$$$$$$$%$$$$$$$$$$%$,'%$(%&$$$%$y%%%%$$}$&$(N$$%'-CG/3B$-A+$2C-J2ţ᧣c删&8$Қ&Z,K)%į$&3-%7$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$&$-$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%%i-%)+:,%$$$$$$$$$$$$$&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$+$$$$%$$$$$$$$$$%$$$$$$$$&$$$$$$$$$$$$$$$$$$$$($($$$$$$$$$$$%$$'$$$M$$$%$*$&$'$:%%$'$&)%$$)W'+%U3%+%-)5)&$$%$-?+%:.%.$@&&$R$%'%%&0$$-'%($$,-($L)%%%%,&$+$$%-%'3$)&$$$$U$$&%%(%$$$;%$%.$%%%$%$$-)%)%),*$*$N$',$%'sF%$%$%$$$%-)⯇/:'T'ࠣᤣƑ%I*/(($$-$0$($$$%$%$34Ǝ$$3c%YK/$$%3*$$$)3$%%$$$$$$$$$$$$$$$$%$$'&&$'$$$$$$$&$$&$$$%'($ª%$$&$&$$$$$$%-%&%=$$$$$$=$$$$$$$$$%-$P%B&)%)%)%&&%$$$%$$'%-&%%/$=$6$%$2%1E(&'P&,X'4%&$0&$RP$¥@&T2$>'C',7$+$(I((A$$G'+$(MKKq%-)G'G'K+W.$³Ś,9-+»)%$$O$%&$%:$$+:%*B+,S6$%((9)&$=($c['%%3%Q$&$%(''$&$@%&'$,*,*@%$@&C+$?%'(*,Y&*9%+6(+5*'/*slZV0V*)G'+-ʼnB$M$%$%%q@-$+9.'(y8*7:,$$$X2*'7-2&$P&'%%%$'.$%<*-)&G($+$-'$%$+F$%$,%$S&,%'''$$$-$$$&$7.5$<&&%$$%)$d*$$$'$2$-$)R$&+(-)%%$+%%%9$*$%$($%$%$'%%%&%$)$((%%*&(®X&+%&$$'(-%$$$&AS&)$$'%$%%$$+-ÉR&'%'%$%:'%ES&+%$$%&$.-)06N$$$%)$$$*-Y>%&%'$('-%&$ãO&,$%$CC-,/+%$%+$%$;)$%%%$$$$$$$&,-i+%J&'%%'$$$$$>$-K)$$'+$+$)%&Q0$%&$(@\\Ī,$H$*$)$$$(--6&%A%9$$*$%$%l*$%$I)&$$%$*$$+-))$%$C($%$%$$$$*-ř6%%%Ú$28+'40$ν$(.çђ$,ɪ⇜ɜ*B$-'%A%($-S*(''$$--$*$8(6˓CC:'n'$$Z*'0c%$$$.%1+ӹM,⌚łT&4'+Ưध(0&,*-%$%$'ę-J%_%&&)++%*A'^:e&$½7/z,<ª===*$5==$$%%$%%%'$+'$$$*$.==%$'%+$*$=%$'$($$&*$============?%<$<$)<$<$)<$<$)<$<$)<$<$)$$%UȣZ'U+$1$%(2($2ճ*$4%*$%$(øP&**%-'$$ƓO'-($ԣè%,*LEE*$'-'%̴^$&$'oP$2å'$>$%$$%$$-$'$$$$)$'$$$$$$&$%$$%$$$$$$$$$$%$$%'$*$'$'$$$-$4(&$($4W%ıO'/2%2$2$H-0Ä[@0O',*%1)½Ğ(˻+0&0&/|*/7/'[+-)K+A%%q$u$ª/1%(&&(*,<**,&0*L¶$ZH-Щ꜁Eၘ.ā%ᚥ1ᵔూɁ፮$A£ē︳𐀡%𐀡"].map(e=>{var t;return(null!==(t=e.codePointAt(0))&&void 0!==t?t:0)-35}),t=[..."1.;=;78;<;6;+;<;#7;8>5>$7<8<1.;=?;>?'9<2?>?<->$;>-':-;#<#$<$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'#$'#%$#%$#%$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#%$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'$&>&>&>&>&>(#$#$&>#$@&$;#@>#;#@#@#$#@#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$<#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$?(*#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#@&;$;6@?=@(6(;(;(;(@'@';@2<;=;?(;2@;'&'(+;'(';'(2?(&(?('+'?';@2'('(@'('@+'(&?;&@(='(&(&(&(@;@'(@;@'@'@'@(2()'()(')()()'('(;+;&'()@'@'@'@'@'@'@(')(@)@)('@)@'@'(@+'=-?=';(@()@'@'@'@'@'@'@'@(@)(@(@(@(@'@'@+('(;@()@'@'@'@'@'@'@(')(@()@)(@'@'(@+;=@'(@()@'@'@'@'@'@'@(')()(@)@)(@()@'@'(@+?'-@('@'@'@'@'@'@'@'@'@'@)()@)@)(@'@)@+-?=?@()('@'@'@'@'()@(@(@(@'@'(@+@;-?'();'@'@'@'@'@(')()@()@)(@)@'@'(@+@'@()'@'@'(')(@)@)('?@')-'(@+-?'@()@'@'@'@'@'@(@)(@(@)@+@);@'('(@='&(;+;@'@'@'@'@'@'('('@'@&@(@+@'@'?;?;?(?+-?(?(?(7878)'@'@()(;('(@(@?(?@?;?;@')()()()('+;')('(')')'('()()(')+)(?#@#@#@$;&$'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@(;-@'?@#@$@6'?;'.'78@';,'@'@'(@'(;@'(@'@'@(@'()()()(;&;='(@+@-@;6;(2@+@'&'@'('('@'@'@()()@)()(@?@;+'@'@'@'@+-@?'()(@;')()(@()()()(@(+@+@;&;@(*(@()'()()()()'@+;?(?@()')()()('+'()()()()@;')()(@;+@'+'&;$@#@#;@(;()('('(')('@$&$&$&(@(#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#@$#$#$@#@$@#@#@#@#$#$@$%$%$%$@$#%>$>$@$#%>$@$#@>$#>@$@$#%>@.26;9:79:79;/02.;9:;5;<78;<;5;.2@2-&@-<78&-<78@&@=@(*(*(@?#?#?$#$#$?#?<#?#?#?#?#?$#$'$?$#<#$?<?$?-,#$,-?@<?<?<?<?<?<?<?<?<?<?7878?<?78?<?<?<?@?@-?-?<?<?<?<?78787878787878-?<78<7878787878<?<7878787878787878787878<7878<78<?<?<?@?@?#@$@#$#$#$#$#$#$#$#$&#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$?#$#$(#$@;-;$@$@$@'@&;@('@'@'@'@'@'@'@'@'@(;9:9:;9:;9:;6;6;9:;9:78787878;&;6;6;7;?;@?@?@?@?@.;?&',7878787878?78787878678?,()6&?,&';?@'@(>&'6';&'@'@'@?-?'?@'?@-?-?-?-?-?'?'@'&'@?@'&;'&;'+'@#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'(*;(;&#$#$#$#$#$#$#$#$#$#$#$#$#$#$&(',(;@>&>#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$&$#$#$#$#$#$#$#$&>#$#$'#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#$#$#$@#$'&$'('('(')()?(@-?=?@';@)')(@;+@(';';'(+'(;'()@;'@()'()()();@&+@;'(&'+'@'()()(@'('()@+@;'&'?')()'('('('('('@'&;')();'&)(@'@'@'@'@'@$>&$&>@$')()();)(@+@'@'@'@34'@'@$@$@'('<'@'@'@'@'@'>@'87@'@'@'=?@(;78;@(;657878787878787878;78;5;@;6787878;<6<@;=;@'@'@2@;=;78;<;6;+;<;#7;8>5>$7<8<78;78;'&'&'@'@'@'@'@=<>?=@?<?@2?@'@'@'@'@'@'@'@;@-@?,-?-?@?@?@?(@'@'@(-@'-@',',@'(@'@;'@';,@#$'@+@#@$@'@'@;@'@'@'@'@'@'@'@'@'@;-'?-'@-@'@'@-'-@;'@;@'@-'-@-'(@(@('@'@'@(@(-@;@'-;'-@'?'(@-;@'@;'@-'@-'@;@-@'@#@$@-'(@+@-@'@(6@'@'-'@'(-;@'-@'@)()'(;@-+@()')()(;2;@2@'@+@('()(@+;')'@'(;'@()')()';(;)(+';';@-@'@')()()(;(@'@'@'@'@';@'()(@+@()@'@'@'@'@'@'@(')()@)@)@'@)@')@(@(@')()()(';+;@;('@')()()()(';'@+@')(@)()(;'(@')()()(;'@+@;@'()()()('@+@'@()()(@+-;?@')()(;@#$+-@'@'@'@'@')@)@()(')')(;@+@'@')(@()(';')@'('()'(;(@'()('()(;';@'@'@')(@()(';@+-@;'@(@)()()(@'@'@'(@(@(@('(@+@'@'@')@(@)()('@+@'();@'@-?=?@;'@,@;@'@'@2@'@'@'@+@;@'@(;@'(;?&;?@+@-@'@'@#$-;@'@(')@(&@&;&(@)@'@'@'@'@'@'@'@'@'@'@'@?(;2@?@?@?)(?)2(?(?(?@?(?@-@?@-@#$#$@$#$#@#@#@#@#@#$@$@$@$#$#@#@#@#@$#@#@#@#@#@$#$#$#$#$#$#$@#<$<$#<$<$#<$<$#<$<$#<$<$#$@+?(?(?(?(?;@(@(@(@(@(@(@(@'@(&@+@'?@'(+@=@'@-(@#$(&@+@;@-?-=-@-?-@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@<@?@?@?@?@?@?@-?@?@?@?@?@?@?>?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@+@'@'@'@'@'@'@'@2@2@(@4@4@"].map(e=>{var t;return(null!==(t=e.codePointAt(0))&&void 0!==t?t:0)-35}),n=new Uint32Array(e),r=new Uint8Array(t);for(let e=1;e<n.length;++e)n[e]+=n[e-1];return e=>{let t=n.length,o=0;for(;t-o>1;){const r=Math.floor((t+o)/2),i=n[r];if(e<i)t=r;else{if(e===i){t=o=r;break}i<e&&(o=r)}}return r[o]}}();function yr(e,t){if(t>=0&&t<e.length)return e.charCodeAt(t);throw new Error("Index out of range.")}const Or=e=>function(e,t){return 0!=(1<<vr(e,t)&256)}(e,0);function vr(e,t){const n=yr(e,t);return wr(n)}o.d;o.c;o.d;o.d;o.c;o.d;o.c;o.d;o.d;class jr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HELP","VETStudentLoan","FinancialSupplement","StudentStartUpLoan","TradeSupportLoan"]}}class _r extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["AustralianResidentForTaxPurposes","ForeignResidentForTaxPurposes","WorkingHolidayMaker"]}}class Er extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["FullTime","PartTime","LabourHire","SuperIncomeStream","Casual"]}}class xr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Tfn"]}}class Sr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Under18AndBelowTaxThreshold","Pending","Pensioner"]}}o.d;class Cr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PreviousSurname"]}}function Tr(e){return new Cr(0,e)}function kr(e){return e.fields[0]}o.c;o.d;o.d;o.d;function Ar(e,t){return function(e,t,n){for(;;){const r=e,o=t,i=n;if(null==i.tail)return r;{const c=Ue(0,()=>Object(J.f)(e=>Ge(0,r,t=>Object(l.a)(t,Object(l.s)(e))),o(i.head)))();if(1===c.tag)return c;e=c,t=o,n=i.tail}}}(new J.e(0,Object(l.g)()),e,t)}o.c;o.c;o.c;function Ir(e){return Ue(0,()=>{const t=Object(d.b)(e=>Or(e),e);return Object(J.f)(()=>Object(J.f)(()=>Ge(0,Q(0,"TFN is not valid",Object(Ke.r)(Object(Ke.n)((e,t)=>e*t,Object(Ke.m)(e=>Object(ht.c)(e,511,!1,32),t.split(""),Int32Array),new Int32Array([1,4,3,7,5,8,6,9,10]),Int32Array),{GetZero:()=>0,Add:(e,t)=>e+t})%11),()=>t),Q(9,"TFN must be 9 digits",t.length)),Q(e,"TFN must contain digits only",t))})()}function Dr(e){return Ue(0,()=>Object(J.f)(e=>{const t=e;return Ge(0,ee("TFN must not contain all zeros",Object(Ke.f)(["0"],t.split(""),{Equals:(e,t)=>e===t,GetHashCode:e=>Object(r.D)(e)})),()=>t)},Ir(e)))()}function Pr(e){switch(e){case 0:return new J.e(0,new _r(0));case 1:return new J.e(0,new _r(1));case 2:return new J.e(0,new _r(2));default:return new J.e(1,"Invalid ResidencyStatus")}}function Mr(e){switch(e.tag){case 1:return 1;case 2:return 2;default:return 0}}function Nr(e){switch(e){case 0:return new J.e(0,new Er(0));case 1:return new J.e(0,new Er(1));case 2:return new J.e(0,new Er(2));case 3:return new J.e(0,new Er(3));case 4:return new J.e(0,new Er(4));default:return new J.e(1,"Invalid EmploymentBasis")}}function Rr(e){switch(e.tag){case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;default:return 0}}const Fr=e=>Ar(e=>function(e){switch(e){case 0:return new J.e(0,new jr(0));case 1:return new J.e(0,new jr(1));case 2:return new J.e(0,new jr(2));case 3:return new J.e(0,new jr(3));case 4:return new J.e(0,new jr(4));default:return new J.e(1,"Invalid DebtSupport")}}(e),Object(l.f)(e,{Equals:(e,t)=>e===t,GetHashCode:e=>Object(r.w)(e)})),Lr=e=>Object(l.o)(e=>function(e){switch(e.tag){case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;default:return 0}}(e),e);function Br(e){switch(e){case 0:return new J.e(0,new Sr(0));case 1:return new J.e(0,new Sr(1));case 2:return new J.e(0,new Sr(2));default:return new J.e(1,"Invalid ExemptionReason")}}function Ur(e){switch(e.tag){case 1:return 1;case 2:return 2;default:return 0}}class Gr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Tfn","Exempted"]}}function Vr(){return Object(i.L)("Dto.Dto.ProvidedTfnInformationDto",[],Gr,()=>[[["Item",i.J]],[["Item",Object(i.e)("Dto.Dto.ExemptionReasonDto",i.s,[["Under18AndBelowTaxThreshold",0],["Pending",1],["Pensioner",2]])]]])}o.d;o.d;o.c;class Hr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TfnTruncated","Exempted"]}}class Wr extends o.c{constructor(e,t,n,r,o,i){super(),this.TfnInformation=e,this.PreviousSurname=t,this.ResidencyStatus=0|n,this.EmploymentBasis=0|r,this.IsTaxFreeThresholdClaimed=o,this.HasDebtSupport=i}}class zr extends o.c{constructor(e,t){super(),this.Meta=e,this.Data=t}}function qr(){return Object(i.I)("Dto.BackendApiModels.Read.TfnDeclarationDetailsWithMeta",[],zr,()=>[["Meta",Object(i.a)(["AccountId",i.J])],["Data",Object(i.G)(Object(i.I)("Dto.BackendApiModels.Read.TfnDeclarationDetails",[],Wr,()=>[["TfnInformation",Object(i.L)("Dto.BackendApiModels.Read.TfnInformation",[],Hr,()=>[[["Item",i.J]],[["Item",Object(i.e)("Dto.Dto.ExemptionReasonDto",i.s,[["Under18AndBelowTaxThreshold",0],["Pending",1],["Pensioner",2]])]]])],["PreviousSurname",Object(i.G)(i.J)],["ResidencyStatus",Object(i.e)("Dto.Dto.ResidencyStatusDto",i.s,[["AustralianResidentForTaxPurposes",0],["ForeignResidentForTaxPurposes",1],["WorkingHolidayMaker",2]])],["EmploymentBasis",Object(i.e)("Dto.Dto.EmploymentBasisDto",i.s,[["FullTime",0],["PartTime",1],["LabourHire",2],["SuperIncomeStream",3],["Casual",4]])],["IsTaxFreeThresholdClaimed",i.c],["HasDebtSupport",Object(i.A)(Object(i.e)("Dto.Dto.DebtSupportDto",i.s,[["HELP",0],["VETStudentLoan",1],["FinancialSupplement",2],["StudentStartUpLoan",3],["TradeSupportLoan",4]]))]]))]])}class Yr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Create","ChangeTfnInformation","ChangePreviousSurname","ChangeResidencyStatus","ChangeEmploymentBasis","ChangeTaxFreeThresholdClaimed","ChangeDebtSupport"]}}function Xr(e){return Array.from(e)}function Jr(e){return String(e)}function Zr(e){return String(e)}function Kr(e){return String(e)}function Qr(e){return String(e)}function eo(){return null}function to(e,t){return JSON.stringify(t,Object(r.F)(2,null),Object(u.f)(e))}function no(e,t,n,c){const a=new o.a(null),s=H(Object(i.f)(c),a,e);let u;if(Object(i.w)(c,!0)){const e=Object(Ke.m)(e=>{const r=dt(t,Object(i.E)(e)),o=ro(s,t,n,e[1]);return t=>c=>{const a=Object(i.m)(t,e);return(!n||n&&null!=a)&&(c[r]=o(a)),c}},Object(i.l)(c,!0));u=t=>Object(f.i)(Object(r.F)(2,Object(r.t)(e=>n=>n(t,e),[0,[0,2]])),{},e)}else{if(!Object(i.y)(c,!0)){let e;const t=Object(i.f)(c);throw e=Object(d.l)(Object(d.h)("Cannot generate auto encoder for %s. Please pass an extra encoder."))(t),new Error(e)}u=e=>{const r=Object(i.r)(e,c,!0),o=r[0],a=r[1],u=0|a.length;if(0===u)return Object(i.E)(o);{const e=0|u,r=Object(i.p)(o),c=Object(Ke.g)(new Array(e+1),0,e+1,null);c[0]=Object(i.E)(o);for(let o=1;o<=e;o++){const e=ro(s,t,n,r[o-1][1]);c[o]=e(a[o-1])}return c}}}return a.contents=u,u}function ro(e,t,n,o){const c=Object(i.f)(o),a=W(c,e);if(null==a){if(Object(i.t)(o)){const r=ro(e,t,n,Object(i.g)(o));return e=>Xr(Object(f.p)(r,e))}if(Object(i.u)(o)){const e=Object(i.f)(Object(i.h)(o));if("System.SByte"===e)return e=>Jr(e);if("System.Byte"===e)return e=>Zr(e);if("System.Int16"===e)return e=>Kr(e);if("System.UInt16"===e)return e=>Qr(e);if("System.Int32"===e)return e=>e;if("System.UInt32"===e)return e=>e;{const e=Object(i.f)(o),t=Object(d.k)(Object(d.h)("Cannot generate auto encoder for %s.\nThoth.Json.Net only support the folluwing enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra encoder.\n "))(e);return e=>t(e)}}if(Object(i.v)(o)){if(Object(i.x)(o)){const r=Object(Ke.m)(r=>ro(e,t,n,r),Object(i.n)(o));return e=>Xr(Object(f.q)((e,t)=>r[e](t),Object(i.o)(e)))}{const c=Object(i.f)(Object(i.j)(o));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===c){const c=new r.a(()=>{return r=ro(e,t,n,Object(i.k)(o)[0]),e=>Object(u.c)(Object(u.d)(r,e),()=>null);var r});return e=>null==e?null:c.Value(e)}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===c||"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===c){const r=ro(e,t,n,Object(i.k)(o)[0]);return e=>Xr(Object(f.p)(r,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===c){const r=Object(i.k)(o)[0],c=ro(e,t,n,Object(i.k)(o)[1]);if("System.String"===Object(i.f)(r)||"System.Guid"===Object(i.f)(r))return e=>Object(f.i)((e,t)=>{const n=t;return e[n[0]]=c(n[1]),e},{},e);{let o;const i=ro(e,t,n,r);return o=e=>i(e),e=>Xr(Object(f.p)(e=>{const t=e;return[o(t[0]),c(t[1])]},e))}}return no(e,t,n,o)}}return"System.Boolean"===c?e=>e:"Microsoft.FSharp.Core.Unit"===c?eo:"System.String"===c?e=>e:"System.SByte"===c?e=>Jr(e):"System.Byte"===c?e=>Zr(e):"System.Int16"===c?e=>Kr(e):"System.UInt16"===c?e=>Qr(e):"System.Int32"===c?e=>e:"System.UInt32"===c?e=>e:"System.Double"===c?e=>e:"System.Single"===c?e=>e:"System.DateTime"===c?e=>{return t=e,Object(fn.g)(t,"O",{});var t}:"System.DateTimeOffset"===c?e=>{return t=e,Object(fn.g)(t,"O",{});var t}:"System.TimeSpan"===c?e=>mn(e):"System.Guid"===c?e=>e:"System.Object"===c?e=>e:no(e,t,n,o)}{const e=a;return t=>e.contents(t)}}function oo(e){return null!=e?z((e,t)=>new o.a(t[0]),e.Coders):q()}function io(e,t,n,r,o,i){return to(e,function(e,t,n,r){const o=Object(u.b)(e,new st(0)),i=Object(u.b)(n,!0),c=Object(u.i)(r).ResolveType();return ro(oo(t),o,i,c)}(n,r,o,i)(t))}function co(e){return Object(d.l)(Object(d.h)("%s/tfn-declaration/backend"))(e)}function ao(e,t){return We(0,()=>{const n=rt((r=Object(d.l)(Object(d.h)("Bearer %s"))(e),new qe(0,"Authorization",r)),t);var r;const o=s.g.Bind(it(n),e=>s.g.Return(new J.e(0,e)));return s.g.Delay(()=>s.g.Bind(o,e=>{let t;const r=e;return 1===r.tag?s.g.Return(new J.e(1,r.fields[0])):s.g.ReturnFrom((t=r.fields[0],429===t.statusCode||t.statusCode>=500?s.g.Bind(it(n),e=>s.g.Return(new J.e(0,e))):He(0,t)))}))})}const so=e=>{return t=e,n=new st(1),o=void 0,i={ResolveType:qr},Zn(Object(r.F)(2,gr(n,o,i)),t);var t,n,o,i};function uo(e,t){return We(0,()=>{const n=ao(e,nt(new ze(0),tt(co(t))));return s.g.Delay(()=>s.g.Bind(n,e=>{let t;const n=e;return 1===n.tag?s.g.Return(new J.e(1,n.fields[0])):s.g.ReturnFrom((t=n.fields[0],200===t.statusCode?s.g.Return(so(t.responseText)):s.g.Return(new J.e(1,"Unexpected response from backend"))))}))})}function lo(e,t,n){return We(0,()=>{let o;const c=e.PreExistingTfnDec;let a,d;switch(2===c.tag&&0===c.fields[0].tag?(a=0,d=c.fields[0].fields[0]):a=1,a){case 0:o=We(0,()=>He(0,d));break;case 1:o=uo(t,n)}return s.g.Delay(()=>s.g.Bind(o,o=>{let c,a;const d=o;return 1===d.tag?s.g.Return(new J.e(1,d.fields[0])):s.g.ReturnFrom((c=d.fields[0],a=s.g.Return(function(e,t){return Ue(0,()=>Object(J.f)(n=>{const o=n,i=Object(u.d)(e=>kr(e),e.PreviousSurname.Value);return Object(J.f)(n=>{const c=0|n;return Object(J.f)(n=>{const a=0|n;return Object(J.f)(n=>{let s,u;const d=n,p=Lr(e.DebtSupportCheckboxGroup),h=t.Data;if(null!=h){const e=h;return Be(0,Object(l.a)(0===o.tag?Object(l.g)():1===o.fields[0].tag?(s=0|Ur(o.fields[0].fields[0]),u=e.TfnInformation,1===u.tag&&u.fields[0]===s?Object(l.g)():Object(l.s)(new Yr(1,new Gr(1,s)))):Object(l.s)(new Yr(1,new Gr(0,o.fields[0].fields[0].fields[0]))),Object(l.q)(Object(f.g)(()=>Object(f.a)(Object(r.o)(i,e.PreviousSurname)?Object(f.h)():Object(f.y)(new Yr(2,i)),Object(f.g)(()=>Object(f.a)(c!==e.ResidencyStatus?Object(f.y)(new Yr(3,c)):Object(f.h)(),Object(f.g)(()=>Object(f.a)(a!==e.EmploymentBasis?Object(f.y)(new Yr(4,a)):Object(f.h)(),Object(f.g)(()=>Object(f.a)(d!==e.IsTaxFreeThresholdClaimed?Object(f.y)(new Yr(5,d)):Object(f.h)(),Object(f.g)(()=>Object(r.o)(Object(l.u)(p,{Compare:(e,t)=>Object(r.h)(e,t)}),Object(l.u)(e.HasDebtSupport,{Compare:(e,t)=>Object(r.h)(e,t)}))?Object(f.h)():Object(f.y)(new Yr(6,p))))))))))))))}return Ge(0,0===o.tag?new J.e(1,"New TFN declaration cannot have a truncated TFN"):1===o.fields[0].tag?new J.e(0,new Gr(1,Ur(o.fields[0].fields[0]))):new J.e(0,new Gr(0,o.fields[0].fields[0].fields[0])),e=>Object(l.s)(new Yr(0,{AccountId:t.Meta.AccountId,EmploymentBasis:a,HasDebtSupport:p,IsTaxFreeThresholdClaimed:d,PreviousSurname:i,ResidencyStatus:c,TfnInformation:e})))},K("missing is tax-free threshold claimed",Object(u.d)(e=>1!==e.tag,e.ClaimTaxFreeThreshold.Selected)))},K("missing employment basis",Object(u.d)(e=>Rr(e),e.EmploymentBasisRadioButtonGroup.Value)))},K("missing residency status",Object(u.d)(e=>Mr(e),e.ResidencyStatusRadioButtonGroup.Value)))},K("missing TFN info",e.TfnInformation.Value)))()}(e,c)),s.g.Delay(()=>s.g.Bind(a,e=>{let r,o,a;const u=e;return 1===u.tag?s.g.Return(new J.e(1,u.fields[0])):s.g.ReturnFrom((r=u.fields[0],null==r.tail?He(0,c):(o=ao(t,(a=ot(new Ye(1,io(0,r,new st(1),void 0,void 0,{ResolveType:()=>Object(i.A)(Object(i.L)("Dto.Commands.TfnDeclarationCommandDto",[],Yr,()=>[[["Item",Object(i.a)(["AccountId",i.J],["EmploymentBasis",Object(i.e)("Dto.Dto.EmploymentBasisDto",i.s,[["FullTime",0],["PartTime",1],["LabourHire",2],["SuperIncomeStream",3],["Casual",4]])],["HasDebtSupport",Object(i.A)(Object(i.e)("Dto.Dto.DebtSupportDto",i.s,[["HELP",0],["VETStudentLoan",1],["FinancialSupplement",2],["StudentStartUpLoan",3],["TradeSupportLoan",4]]))],["IsTaxFreeThresholdClaimed",i.c],["PreviousSurname",Object(i.G)(i.J)],["ResidencyStatus",Object(i.e)("Dto.Dto.ResidencyStatusDto",i.s,[["AustralianResidentForTaxPurposes",0],["ForeignResidentForTaxPurposes",1],["WorkingHolidayMaker",2]])],["TfnInformation",Vr()])]],[["Item",Vr()]],[["Item",Object(i.G)(i.J)]],[["Item",Object(i.e)("Dto.Dto.ResidencyStatusDto",i.s,[["AustralianResidentForTaxPurposes",0],["ForeignResidentForTaxPurposes",1],["WorkingHolidayMaker",2]])]],[["Item",Object(i.e)("Dto.Dto.EmploymentBasisDto",i.s,[["FullTime",0],["PartTime",1],["LabourHire",2],["SuperIncomeStream",3],["Casual",4]])]],[["Item",i.c]],[["Item",Object(i.A)(Object(i.e)("Dto.Dto.DebtSupportDto",i.s,[["HELP",0],["VETStudentLoan",1],["FinancialSupplement",2],["StudentStartUpLoan",3],["TradeSupportLoan",4]]))]]]))})),nt(new ze(2),tt(co(n)))),rt(new qe(0,"Content-Type","application/json"),a))),s.g.Delay(()=>s.g.Bind(o,e=>{let t;const n=e;return 1===n.tag?s.g.Return(new J.e(1,n.fields[0])):s.g.ReturnFrom((t=n.fields[0],200===t.statusCode?s.g.Return(so(t.responseText)):s.g.Return(new J.e(1,"Unexpected response from backend"))))})))))}))))}))})}class fo{constructor(){}}function po(e,t){return{then:(e,n)=>{try{return t().then(e,n)}catch(e){if(Object(r.o)(n,null))return Promise.reject(e);try{return Promise.resolve(n(e))}catch(e){return Promise.reject(e)}}},catch:e=>{try{return t().catch(e)}catch(t){try{return Promise.resolve(e(t))}catch(e){return Promise.reject(e)}}}}}const ho=new fo;class $o extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class bo{constructor(e){this.state=new $o(0,Object(Ke.g)(new Array(Object(r.u)((e,t)=>Object(r.h)(e,t),e,10)),0,Object(r.u)((e,t)=>Object(r.h)(e,t),e,10),null),0)}}function mo(e){const t=e.state;if(1===t.tag){const n=0|t.fields[1],r=0|t.fields[2],o=t.fields[0],i=(r+1)%o.length|0;return e.state=i===n?new $o(0,o,n):new $o(1,o,n,i),Object(u.f)(o[r])}}function go(e,t,n){const o=Object(c.m)(e[0]),i=Object(c.m)(new bo(10));const s=Object(c.d)(e[0]);let d;const p=Object(c.m)(Object(a.c)()),h=Object(c.m)(p.current);Object(c.g)(()=>Object(c.a)(()=>{Object(a.a)(p.current)})),d=h;const $=()=>{setTimeout(()=>{let e;e=d.current,Object(a.f)(e)||s[1](o.current)},0)},b=e=>{var n;(n=po(0,()=>{let n=Object(u.f)(e);return function e(t,n,r){return n()?r.then(()=>e(t,n,r)):Promise.resolve(void 0)}(ho,()=>{let e;return null!=n&&(e=d.current,!Object(a.f)(e))},po(0,()=>{const e=t(Object(u.i)(n),o.current);return Object(l.m)(e=>{e(b)},e[1]),n=mo(i.current),o.current=e[0],$(),Promise.resolve()}))}),new Promise((e,t)=>{try{Promise.resolve(n).then(e,t)}catch(e){t(e)}})).then()},m=Object(c.e)(b);return Object(c.j)(()=>Object(c.a)(()=>{let e;Object(f.n)(e=>{e.Dispose()},Object(u.g)((e=o.current,Object(r.s)(e)?e:void 0)))}),n),Object(c.i)(()=>{o.current=e[0],$(),Object(l.m)(e=>{e(m)},e[1])},n),Object(c.h)(()=>{Object(f.n)(m,Object(u.g)(mo(i.current)))}),[s[0],m]}class wo extends o.c{constructor(e,t){super(),this.Value=e,this.Meta=t}}function yo(){return new wo(void 0,{Valid:!1})}function Oo(e){return new wo(e,{Valid:!0})}function vo(e){return Object(ce.createElement)("div",{className:"mb-2",children:Pe.a.Children.toArray([Object(ce.createElement)("strong",{children:[e]})])})}function jo(e,t){return Object(ce.createElement)("div",{className:"mb-2",children:Pe.a.Children.toArray([Object(ce.createElement)("span",{className:"mr-2",children:Pe.a.Children.toArray([Object(ce.createElement)("strong",{children:[e]})])}),t])})}class _o extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Yes","No"]}}class Eo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Select","SelectInternal"]}}class xo extends o.c{constructor(e,t){super(),this.Selected=e,this.Meta=t}}function So(e){return new xo(e,{Touched:!1})}function Co(e,t){return 1===e.tag?e.fields[1]||!t.Meta.Touched?new xo(e.fields[0],t.Meta):t:new xo(e.fields[0],{Touched:!0})}function To(e){const t=Object(r.o)(e.Parent.State.Selected,e.Selection)?Object(l.p)(["btn-secondary","active"]):Object(l.s)("btn-outline-secondary");return Object(ce.createElement)("label",{className:Object(d.g)(" ",Object(l.a)(Object(l.s)("btn"),t)),children:Pe.a.Children.toArray([Object(ce.createElement)("input",{type:"radio",name:"yesNoButtonGroup",onClick:t=>{e.Parent.Dispatch(new Eo(0,e.Selection))},disabled:Object(r.o)(e.Parent.Disable,e.Selection)}),Object(o.e)(e.Selection)])})}function ko(e){return Object(ce.createElement)("div",{className:"row",children:Pe.a.Children.toArray([Object(ce.createElement)("div",{className:Object(d.g)(" ",["btn-group","btn-group-toggle","col-12","col-sm-6"]),children:Pe.a.Children.toArray([To({Parent:e,Selection:new _o(0)}),To({Parent:e,Selection:new _o(1)})])})])})}var Ao=n(16);class Io extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Select"]}}class Do extends o.c{constructor(e){super(),this.Selected=e}}function Po(e,t,n){const r=function(e,t){return new Do(e.fields[0])}(t);return e(new wo(r.Selected,{Valid:null!=r.Selected})),[r,Object(Ao.g)()]}function Mo(e){const t=go((n=e.InitialValue,[new Do(n),Object(Ao.g)()]),(t,n)=>Po(e.OnUpdate,t),[]);var n;const r=Object(l.q)(Object(f.g)(()=>Object(f.c)(n=>{const r=n[0];return Object(f.y)(Object(ce.createElement)("div",{className:Object(d.g)(" ",["form-check","fl-radio-container"]),children:Pe.a.Children.toArray([Object(ce.createElement)("input",{className:"form-check-input",type:"radio",name:e.Name,id:r,checked:Object(u.h)(t[0].Selected)===r,onChange:e=>{e.target.checked;t[1](new Io(0,r))}}),Object(ce.createElement)("label",{className:"form-check-label",for:r,children:n[1]})])}))},e.ValueLabelPairs)));return Object(ce.createElement)("div",{children:Pe.a.Children.toArray(Array.from(r))})}class No extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SetText","SetTouched"]}}class Ro extends o.c{constructor(e,t){super(),this.Text=e,this.Meta=t}}function Fo(e,t,n,r){const o=function(e,t,n){if(1===t.tag)return new Ro(n.Text,{Touched:!0,Valid:n.Meta.Valid});{const r=t.fields[0];return new Ro(r,{Touched:n.Meta.Touched,Valid:e(r)})}}(t,n,r);return e(new wo(o.Text,{Valid:o.Meta.Valid})),[o,Object(Ao.g)()]}class Lo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Number","Text"]}}function Bo(e){const t=go(function(e,t){const n=Object(u.b)(e,"");return[new Ro(n,{Touched:!1,Valid:t(n)}),Object(Ao.g)()]}(e.InitialValue,e.Validator),(t,n)=>Fo(e.OnUpdate,e.Validator,t,n),[]),n=t[0],o=t[1],i=Object(l.p)([Object(ce.createElement)("input",Object(r.j)(Object(l.q)(Object(f.g)(()=>Object(f.a)(Object(f.y)(["className",Object(d.g)(" ",Object(l.q)(Object(f.g)(()=>Object(f.a)(Object(f.y)("form-control"),Object(f.g)(()=>!n.Meta.Valid&&n.Meta.Touched?Object(f.y)("is-invalid"):Object(f.h)())))))]),Object(f.g)(()=>Object(f.a)(Object(f.y)(["type","text"]),Object(f.g)(()=>Object(f.a)(Object(f.y)(["onChange",t=>{const n=t.target.value;o(new No(0,1===e.InputType.tag?n:Object(d.b)(e=>Or(e),n)))}]),Object(f.g)(()=>{let t;return Object(f.a)(Object(f.y)((t=n.Text,["ref",e=>{null==e||Object(r.o)(e.value,t)||(e.value=t)}])),Object(f.g)(()=>Object(f.a)(Object(f.y)(["onBlur",e=>{o(new No(1))}]),Object(f.g)(()=>Object(r.o)(e.InputType,new Lo(0))?Object(f.y)(["inputmode","numeric"]):Object(f.h)()))))})))))))))),Object(ce.createElement)("div",{className:"invalid-feedback",children:e.InvalidFeedback})]);return Object(ce.createElement)("div",{children:Pe.a.Children.toArray(Array.from(i))})}class Uo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["YesNoButtonGroupMsg","SetTfnInput","SetTfnExemptionReason","SwitchEditingState","HideAlert"]}}class Go extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Tfn","Exempted"]}}class Vo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TfnTruncated","TfnValue"]}}class Ho extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Truncated","Editing"]}}class Wo extends o.c{constructor(e,t,n,r){super(),this.YesNoButtonGroup=e,this.TruncatedTfn=t,this.CurrentAlert=n,this.EditingState=r}}function zo(e){const t=e.EditingState;if(1===t.tag){const e=t.fields[0];return new wo(Object(u.d)(e=>new Vo(1,e),e.Value),e.Meta)}return new wo(new Vo(0,Object(u.h)(e.TruncatedTfn)),{Valid:!0})}const qo=e=>Z(Dr(e));function Yo(e){const t=e.EditingState;if(1===t.tag){const n=t.fields[0],r=n.Value;if(null==r)return new Wo(e.YesNoButtonGroup,e.TruncatedTfn,e.CurrentAlert,new Ho(1,new wo(n.Value,{Valid:!1})));if(1===r.tag)return new Wo(e.YesNoButtonGroup,e.TruncatedTfn,e.CurrentAlert,new Ho(1,new wo(n.Value,{Valid:!0})));{const t=r.fields[0].fields[0];return new Wo(e.YesNoButtonGroup,e.TruncatedTfn,e.CurrentAlert,new Ho(1,new wo(n.Value,{Valid:qo(t)})))}}return e}function Xo(e,t){let n,r,o,i,c,a,s,l,f,d;return Yo(1===e.tag?(n=e.fields[0],r=Object(u.d)(e=>new Go(0,new xr(0,e)),n.Value),t.EditingState.tag,new Wo(t.YesNoButtonGroup,t.TruncatedTfn,t.CurrentAlert,new Ho(1,new wo(r,n.Meta)))):2===e.tag?(o=e.fields[0],i=Object(u.d)(e=>new Go(1,e),Object(u.a)(e=>function(e){switch(e){case"Under18AndBelowTaxThreshold":return new Sr(0);case"Pending":return new Sr(1);case"Pensioner":return new Sr(2);default:return}}(e),o.Value)),t.EditingState.tag,new Wo(t.YesNoButtonGroup,t.TruncatedTfn,t.CurrentAlert,new Ho(1,new wo(i,o.Meta)))):3===e.tag?1===t.EditingState.tag?new Wo(t.YesNoButtonGroup,t.TruncatedTfn,t.CurrentAlert,new Ho(0)):new Wo(t.YesNoButtonGroup,t.TruncatedTfn,new Me(2,"Please click the Save and continue button at the end of\n this form to save the changes to your TFN."),new Ho(1,yo())):4===e.tag?new Wo(t.YesNoButtonGroup,t.TruncatedTfn,void 0,t.EditingState):(c=e.fields[0],c.tag,s=[c.fields[0],t.EditingState],a=1===s[0].tag?1===s[1].tag?(l=s[1].fields[0].Value,null!=l&&1===l.tag?t.EditingState:new Ho(1,yo())):new Ho(1,yo()):1===s[1].tag?(f=[s[1].fields[0].Value,t.TruncatedTfn],null!=f[0]&&0===f[0].tag?t.EditingState:null!=f[1]?(d=f[1],new Ho(0)):new Ho(1,yo())):new Ho(0),new Wo(Co(c,t.YesNoButtonGroup),t.TruncatedTfn,t.CurrentAlert,a)))}function Jo(e){const t=go(function(e){let t,n,r;return[Yo(new Wo(So(null!=e&&1===e.tag&&1===e.fields[0].tag?new _o(1):new _o(0)),(t=e,null!=t&&0===t.tag?(n=t.fields[0],n):void 0),void 0,null==e?new Ho(1,yo()):1===e.tag?(r=e.fields[0],new Ho(1,new wo(r,{Valid:!1}))):new Ho(0))),Object(Ao.g)()]}(e.InitialValue),(t,n)=>function(e,t,n){const r=Xo(t,n);return e(zo(r)),[r,Object(Ao.g)()]}(e.OnUpdate,t,n),[]),n=t[0],i=t[1],c=null==n.TruncatedTfn?null:Object(ce.createElement)("div",{className:Object(d.g)(" ",["col-auto","col-sm-auto"]),children:Pe.a.Children.toArray([Object(ce.createElement)("button",{className:Object(d.g)(" ",["btn","btn-secondary"]),type:"button",children:Object(r.o)(n.EditingState,new Ho(0))?"Change":"Cancel",onClick:e=>{i(new Uo(3))}})])}),a=Object(l.q)(Object(f.g)(()=>{let e,t;return Object(f.a)((e=n.CurrentAlert,null==e?Object(f.y)(null):(t=e,Object(f.y)(Object(ce.createElement)(Fe,{alert:t,hideAlert:()=>{i(new Uo(4))}})))),Object(f.g)(()=>Object(f.a)(Object(f.y)(vo("Do you have your TFN?")),Object(f.g)(()=>Object(f.a)(Object(f.y)(Object(ce.createElement)(ko,{Disable:void 0,Dispatch:e=>{i(new Uo(0,e))},State:n.YesNoButtonGroup})),Object(f.g)(()=>Object(f.y)(Object(ce.createElement)("div",{className:"mt-2",children:Pe.a.Children.toArray(Array.from(Object(l.q)(Object(f.g)(()=>{let e,t,a;const s=n.YesNoButtonGroup.Selected;if(null==s)return Object(f.y)(null);if(1===s.tag)return Object(f.y)(Object(ce.createElement)(Mo,(e=Object(l.o)(e=>[Object(o.e)(e[0]),e[1]],Object(l.p)([[new Sr(1),"My TFN is pending"],[new Sr(0),"I'm under 18 and don't have a TFN"],[new Sr(2),"I have an exemption from quoting a TFN (such as receiving a social security or service pension)"]])),{InitialValue:(t=zo(n).Value,null!=t&&1===t.tag&&1===t.fields[0].tag?(a=t.fields[0].fields[0],Object(o.e)(a)):void 0),Name:"TfnExemption",OnUpdate:e=>{i(new Uo(2,e))},ValueLabelPairs:e})));{const e=[n.TruncatedTfn,n.EditingState];let t,o;switch(null!=e[0]&&0===e[1].tag?(t=0,o=e[0]):t=1,t){case 0:return Object(f.a)(Object(f.y)(Object(ce.createElement)("h6",{children:["Your Tax File Number"]})),Object(f.g)(()=>{let e;return Object(f.y)(Object(ce.createElement)("div",{className:"row",children:Pe.a.Children.toArray([Object(ce.createElement)("div",{className:Object(d.g)(" ",["col","col-sm-4"]),children:Pe.a.Children.toArray([Object(ce.createElement)("input",Object(r.j)(Object(l.p)([["className",Object(d.g)(" ",["form-control"])],["disabled",!0],(e=Object(d.l)(Object(d.d)("xxx-xxx-x%P()",[o])),["ref",t=>{null==t||Object(r.o)(t.value,e)||(t.value=e)}])])))])}),c])}))}));case 1:return Object(f.a)(Object(f.y)(Object(ce.createElement)("h6",{children:["Enter Tax File Number"]})),Object(f.g)(()=>Object(f.y)(Object(ce.createElement)("div",{className:"row",children:Pe.a.Children.toArray([Object(ce.createElement)("div",{className:Object(d.g)(" ",["col","col-sm-4"]),children:Pe.a.Children.toArray([Object(ce.createElement)(Bo,{InitialValue:void 0,InputType:new Lo(0),InvalidFeedback:"Please enter a valid tax file number",OnUpdate:e=>{i(new Uo(1,e))},Validator:qo})])}),c])}))))}}}))))}))))))))}));return Object(ce.createElement)("div",{children:Pe.a.Children.toArray(Array.from(a))})}class Zo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SetTfnInformation","SetPreviousSurname","SetResidencyStatus","SetClaimTaxFreeThreshold","SetDebtSupport","SetEmploymentBasis","GetData","ShowAlert","HideAlert","Saved","AppReady"]}}class Ko extends o.c{constructor(e,t,n,r,o,i,c,a){super(),this.PreExistingTfnDec=e,this.CurrentAlert=t,this.TfnInformation=n,this.PreviousSurname=r,this.ResidencyStatusRadioButtonGroup=o,this.ClaimTaxFreeThreshold=i,this.DebtSupportCheckboxGroup=c,this.EmploymentBasisRadioButtonGroup=a}}class Qo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Web","ReactNative","WebComponent"]}}function ei(){const e=document.URL.split("/"),t=Object(Ke.c)("web",e,{Equals:(e,t)=>e===t,GetHashCode:e=>Object(r.D)(e)}),n=Object(Ke.c)("react-native",e,{Equals:(e,t)=>e===t,GetHashCode:e=>Object(r.D)(e)}),o=[Object(u.e)(document.querySelector("tax-component")),t,n];let i;switch(i=null==o[0]?o[1]?o[2]?3:1:o[2]?2:3:0,i){case 0:return new J.e(0,new Qo(2,o[0]));case 1:return new J.e(0,new Qo(0));case 2:return new J.e(0,new Qo(1));case 3:return new J.e(1,"Could not determine the embed mode")}}var ti=n(30);function ni(e,t){switch(e.tag){case 1:return[new Ko(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,e.fields[0],t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(Ao.g)()];case 2:{const n=Object(u.a)(e=>function(e){switch(e){case"AustralianResidentForTaxPurposes":return new _r(0);case"ForeignResidentForTaxPurposes":return new _r(1);case"WorkingHolidayMaker":return new _r(2);default:return}}(e),e.fields[0].Value);return[new Ko(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,new wo(n,{Valid:null!=n}),t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),null==n?Object(Ao.g)():1===n.tag?Object(Ao.a)(new Zo(3,new Eo(1,new _o(1),!1))):2===n.tag?Object(Ao.a)(new Zo(3,new Eo(1,new _o(1),!0))):Object(Ao.a)(new Zo(3,new Eo(1,new _o(0),!1)))]}case 3:return[new Ko(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,Co(e.fields[0],t.ClaimTaxFreeThreshold),t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(Ao.g)()];case 4:return[new Ko(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,e.fields[0],t.EmploymentBasisRadioButtonGroup),Object(Ao.g)()];case 5:{const n=Object(u.a)(e=>function(e){switch(e){case"FullTime":return new Er(0);case"PartTime":return new Er(1);case"LabourHire":return new Er(2);case"SuperIncomeStream":return new Er(3);case"Casual":return new Er(4);default:return}}(e),e.fields[0].Value);return[new Ko(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,new wo(n,{Valid:null!=n})),Object(Ao.g)()]}case 6:{const n=e.fields[0],r=new Ko(n,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),o=Object(Ao.a)(new Zo(7,new Me(1,"There was an error loading your tax declaration. Please try refreshing this page.")));!function(){const e=ei();let t;switch(t=0===e.tag&&(0===e.fields[0].tag||1===e.fields[0].tag)?0:1,t){case 0:Object(f.n)(e=>{document.body.removeChild(e)},Object(u.g)(Object(u.e)(document.getElementById("external-loading-page-container"))))}}();const i=Object(Ao.a)(new Zo(10));let c,a;switch(2===n.tag?1===n.fields[0].tag?c=1:(c=0,a=n.fields[0].fields[0]):c=3===n.tag?1:2,c){case 0:{const e=Object(u.d)(e=>function(e,t){return Ue(0,()=>{let n;return Object(J.f)(n=>Object(J.f)(r=>{const o=t.IsTaxFreeThresholdClaimed?new _o(0):new _o(1);return Object(J.f)(i=>Ge(0,Nr(t.EmploymentBasis),c=>new Ko(e.PreExistingTfnDec,e.CurrentAlert,Oo(n),Oo(Object(u.d)(e=>Tr(e),t.PreviousSurname)),Oo(r),So(o),i,Oo(c))),Fr(t.HasDebtSupport))},Pr(t.ResidencyStatus)),(n=t.TfnInformation,1===n.tag?Object(J.g)(e=>new Vo(1,new Go(1,e)),Br(n.fields[0])):new J.e(0,new Vo(0,n.fields[0]))))})()}(r,e),a.Data);if(null==e)return[r,i];{const t=e;return 0===t.tag?[t.fields[0],i]:[r,o]}}case 1:return[r,o];case 2:return[r,i]}}case 7:return[new Ko(t.PreExistingTfnDec,e.fields[0],t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(Ao.g)()];case 8:return[new Ko(t.PreExistingTfnDec,void 0,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(Ao.g)()];case 9:return[new Ko(new Y(2,new J.e(0,e.fields[0])),t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(Ao.g)()];case 10:return function(){const e=ei();let t;switch(t=0===e.tag&&(0===e.fields[0].tag||1===e.fields[0].tag)?0:1,t){case 0:window.parent.postMessage({sender:"flare",type:"appReady"},"*",Object(u.f)(Object(l.g)()))}}(),[t,Object(Ao.g)()];default:return[new Ko(t.PreExistingTfnDec,t.CurrentAlert,e.fields[0],t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(Ao.g)()]}}class ri extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["YesNoButtonGroupMsg","SetPreviousSurname"]}}class oi extends o.c{constructor(e,t){super(),this.YesNoButtonGroup=e,this.Data=t}}function ii(e){return!Object(d.f)(e)}function ci(e){const t=e.YesNoButtonGroup.Selected;return null==t?new oi(e.YesNoButtonGroup,new wo(e.Data.Value,{Valid:!1})):1===t.tag?new oi(e.YesNoButtonGroup,new wo(e.Data.Value,{Valid:!0})):new oi(e.YesNoButtonGroup,new wo(e.Data.Value,{Valid:Object(u.b)(Object(u.d)(e=>ii(e.fields[0]),e.Data.Value),!1)}))}function ai(e,t,n){const r=function(e,t){let n,r,o;return ci(1===e.tag?(n=e.fields[0],new oi(t.YesNoButtonGroup,new wo(Object(u.d)(e=>new Cr(0,e),n.Value),{Valid:n.Meta.Valid}))):(r=e.fields[0],r.tag,o=1===r.fields[0].tag?new wo(void 0,t.Data.Meta):t.Data,new oi(Co(r,t.YesNoButtonGroup),o)))}(t,n);return e(r.Data),[r,Object(Ao.g)()]}function si(e){const t=go((n=e.InitialValue,[ci(new oi(So(new _o(null!=n?0:1)),new wo(n,{Valid:!1}))),Object(Ao.g)()]),(t,n)=>ai(e.OnUpdate,t,n),[]);var n;const r=t[0],o=t[1],i=Object(l.p)([vo("Have you changed your surname since you last dealt with the Australian Tax Office?"),Object(ce.createElement)(ko,{Disable:void 0,Dispatch:e=>{o(new ri(0,e))},State:r.YesNoButtonGroup}),Object(ce.createElement)("div",{className:"mt-2",children:Pe.a.Children.toArray(Array.from(Object(l.q)(Object(f.g)(()=>{const e=r.YesNoButtonGroup.Selected;let t;switch(t=null!=e&&0===e.tag?0:1,t){case 0:return Object(f.a)(Object(f.y)(Object(ce.createElement)("h6",{children:["Enter Previous Surname"]})),Object(f.g)(()=>Object(f.y)(Object(ce.createElement)("div",{className:"row",children:Pe.a.Children.toArray([Object(ce.createElement)("div",{className:Object(d.g)(" ",["col-12","col-sm-5"]),children:Pe.a.Children.toArray([Object(ce.createElement)(Bo,{InitialValue:Object(u.d)(e=>kr(e),r.Data.Value),InputType:new Lo(1),InvalidFeedback:"Please enter your previous surname",OnUpdate:e=>{o(new ri(1,e))},Validator:e=>ii(e)})])})])}))));case 1:return Object(f.y)(null)}}))))})]);return Object(ce.createElement)("div",{children:Pe.a.Children.toArray(Array.from(i))})}function ui(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function li(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function fi(e){var t=li(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function di(e){return e instanceof li(e).Element||e instanceof Element}function pi(e){return e instanceof li(e).HTMLElement||e instanceof HTMLElement}function hi(e){return e?(e.nodeName||"").toLowerCase():null}function $i(e){return((di(e)?e.ownerDocument:e.document)||window.document).documentElement}function bi(e){return ui($i(e)).left+fi(e).scrollLeft}function mi(e){return li(e).getComputedStyle(e)}function gi(e){var t=mi(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function wi(e,t,n){void 0===n&&(n=!1);var r,o,i=$i(t),c=ui(e),a=pi(t),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&(("body"!==hi(t)||gi(i))&&(s=(r=t)!==li(r)&&pi(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:fi(r)),pi(t)?((u=ui(t)).x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=bi(i))),{x:c.left+s.scrollLeft-u.x,y:c.top+s.scrollTop-u.y,width:c.width,height:c.height}}function yi(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function Oi(e){return"html"===hi(e)?e:e.assignedSlot||e.parentNode||e.host||$i(e)}function vi(e,t){void 0===t&&(t=[]);var n=function e(t){return["html","body","#document"].indexOf(hi(t))>=0?t.ownerDocument.body:pi(t)&&gi(t)?t:e(Oi(t))}(e),r="body"===hi(n),o=li(n),i=r?[o].concat(o.visualViewport||[],gi(n)?n:[]):n,c=t.concat(i);return r?c:c.concat(vi(Oi(i)))}function ji(e){return["table","td","th"].indexOf(hi(e))>=0}function _i(e){if(!pi(e)||"fixed"===mi(e).position)return null;var t=e.offsetParent;if(t){var n=$i(t);if("body"===hi(t)&&"static"===mi(t).position&&"static"!==mi(n).position)return n}return t}function Ei(e){for(var t=li(e),n=_i(e);n&&ji(n)&&"static"===mi(n).position;)n=_i(n);return n&&"body"===hi(n)&&"static"===mi(n).position?t:n||function(e){for(var t=Oi(e);pi(t)&&["html","body"].indexOf(hi(t))<0;){var n=mi(t);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return t;t=t.parentNode}return null}(e)||t}var xi="top",Si="bottom",Ci="right",Ti="left",ki=[xi,Si,Ci,Ti],Ai=ki.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),Ii=[].concat(ki,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),Di=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Pi(e){var t=new Map,n=new Set,r=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(o){n.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var o=t.get(r);o&&e(o)}})),r.push(o)}(e)})),r}var Mi={placement:"bottom",modifiers:[],strategy:"absolute"};function Ni(){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 Ri(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Mi:o;return function(e,t,n){void 0===n&&(n=i);var o,c,a={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},Mi),i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],u=!1,l={state:a,setOptions:function(n){f(),a.options=Object.assign(Object.assign(Object.assign({},i),a.options),n),a.scrollParents={reference:di(e)?vi(e):e.contextElement?vi(e.contextElement):[],popper:vi(t)};var o=function(e){var t=Pi(e);return Di.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign(Object.assign(Object.assign({},n),t),{},{options:Object.assign(Object.assign({},n.options),t.options),data:Object.assign(Object.assign({},n.data),t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,a.options.modifiers)));return a.orderedModifiers=o.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:a,name:t,instance:l,options:r});s.push(i||function(){})}})),l.update()},forceUpdate:function(){if(!u){var e=a.elements,t=e.reference,n=e.popper;if(Ni(t,n)){a.rects={reference:wi(t,Ei(n),"fixed"===a.options.strategy),popper:yi(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<a.orderedModifiers.length;r++)if(!0!==a.reset){var o=a.orderedModifiers[r],i=o.fn,c=o.options,s=void 0===c?{}:c,f=o.name;"function"==typeof i&&(a=i({state:a,options:s,name:f,instance:l})||a)}else a.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){l.forceUpdate(),e(a)}))},function(){return c||(c=new Promise((function(e){Promise.resolve().then((function(){c=void 0,e(o())}))}))),c}),destroy:function(){f(),u=!0}};if(!Ni(e,t))return l;function f(){s.forEach((function(e){return e()})),s=[]}return l.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var Fi={passive:!0};function Li(e){return e.split("-")[0]}function Bi(e){return e.split("-")[1]}function Ui(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Gi(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Li(o):null,c=o?Bi(o):null,a=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case xi:t={x:a,y:n.y-r.height};break;case Si:t={x:a,y:n.y+n.height};break;case Ci:t={x:n.x+n.width,y:s};break;case Ti:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=i?Ui(i):null;if(null!=u){var l="y"===u?"height":"width";switch(c){case"start":t[u]=t[u]-(n[l]/2-r[l]/2);break;case"end":t[u]=t[u]+(n[l]/2-r[l]/2)}}return t}var Vi={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Hi(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.offsets,c=e.position,a=e.gpuAcceleration,s=e.adaptive,u=e.roundOffsets?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Math.round(t*r)/r||0,y:Math.round(n*r)/r||0}}(i):i,l=u.x,f=void 0===l?0:l,d=u.y,p=void 0===d?0:d,h=i.hasOwnProperty("x"),$=i.hasOwnProperty("y"),b=Ti,m=xi,g=window;if(s){var w=Ei(n);w===li(n)&&(w=$i(n)),o===xi&&(m=Si,p-=w.clientHeight-r.height,p*=a?1:-1),o===Ti&&(b=Ci,f-=w.clientWidth-r.width,f*=a?1:-1)}var y,O=Object.assign({position:c},s&&Vi);return a?Object.assign(Object.assign({},O),{},((y={})[m]=$?"0":"",y[b]=h?"0":"",y.transform=(g.devicePixelRatio||1)<2?"translate("+f+"px, "+p+"px)":"translate3d("+f+"px, "+p+"px, 0)",y)):Object.assign(Object.assign({},O),{},((t={})[m]=$?p+"px":"",t[b]=h?f+"px":"",t.transform="",t))}var Wi={left:"right",right:"left",bottom:"top",top:"bottom"};function zi(e){return e.replace(/left|right|bottom|top/g,(function(e){return Wi[e]}))}var qi={start:"end",end:"start"};function Yi(e){return e.replace(/start|end/g,(function(e){return qi[e]}))}function Xi(e,t){var n,r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&((n=r)instanceof li(n).ShadowRoot||n instanceof ShadowRoot)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Ji(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Zi(e,t){return"viewport"===t?Ji(function(e){var t=li(e),n=$i(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,c=0,a=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(c=r.offsetLeft,a=r.offsetTop)),{width:o,height:i,x:c+bi(e),y:a}}(e)):pi(t)?function(e){var t=ui(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Ji(function(e){var t=$i(e),n=fi(e),r=e.ownerDocument.body,o=Math.max(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Math.max(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),c=-n.scrollLeft+bi(e),a=-n.scrollTop;return"rtl"===mi(r||t).direction&&(c+=Math.max(t.clientWidth,r?r.clientWidth:0)-o),{width:o,height:i,x:c,y:a}}($i(e)))}function Ki(e,t,n){var r="clippingParents"===t?function(e){var t=vi(Oi(e)),n=["absolute","fixed"].indexOf(mi(e).position)>=0&&pi(e)?Ei(e):e;return di(n)?t.filter((function(e){return di(e)&&Xi(e,n)&&"body"!==hi(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],c=o.reduce((function(t,n){var r=Zi(e,n);return t.top=Math.max(r.top,t.top),t.right=Math.min(r.right,t.right),t.bottom=Math.min(r.bottom,t.bottom),t.left=Math.max(r.left,t.left),t}),Zi(e,i));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function Qi(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function ec(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function tc(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,c=void 0===i?"clippingParents":i,a=n.rootBoundary,s=void 0===a?"viewport":a,u=n.elementContext,l=void 0===u?"popper":u,f=n.altBoundary,d=void 0!==f&&f,p=n.padding,h=void 0===p?0:p,$=Qi("number"!=typeof h?h:ec(h,ki)),b="popper"===l?"reference":"popper",m=e.elements.reference,g=e.rects.popper,w=e.elements[d?b:l],y=Ki(di(w)?w:w.contextElement||$i(e.elements.popper),c,s),O=ui(m),v=Gi({reference:O,element:g,strategy:"absolute",placement:o}),j=Ji(Object.assign(Object.assign({},g),v)),_="popper"===l?j:O,E={top:y.top-_.top+$.top,bottom:_.bottom-y.bottom+$.bottom,left:y.left-_.left+$.left,right:_.right-y.right+$.right},x=e.modifiersData.offset;if("popper"===l&&x){var S=x[o];Object.keys(E).forEach((function(e){var t=[Ci,Si].indexOf(e)>=0?1:-1,n=[xi,Si].indexOf(e)>=0?"y":"x";E[e]+=S[n]*t}))}return E}function nc(e,t,n){return Math.max(e,Math.min(t,n))}function rc(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function oc(e){return[xi,Ci,Si,Ti].some((function(t){return e[t]>=0}))}var ic=Ri({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,c=r.resize,a=void 0===c||c,s=li(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,Fi)})),a&&s.addEventListener("resize",n.update,Fi),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,Fi)})),a&&s.removeEventListener("resize",n.update,Fi)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Gi({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=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,c=void 0===i||i,a=n.roundOffsets,s=void 0===a||a,u={placement:Li(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),Hi(Object.assign(Object.assign({},u),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),Hi(Object.assign(Object.assign({},u),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];pi(o)&&hi(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});pi(r)&&hi(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,c=Ii.reduce((function(e,n){return e[n]=function(e,t,n){var r=Li(e),o=[Ti,xi].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign(Object.assign({},t),{},{placement:e})):n,c=i[0],a=i[1];return c=c||0,a=(a||0)*o,[Ti,Ci].indexOf(r)>=0?{x:a,y:c}:{x:c,y:a}}(n,t.rects,i),e}),{}),a=c[t.placement],s=a.x,u=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,c=n.altAxis,a=void 0===c||c,s=n.fallbackPlacements,u=n.padding,l=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,$=n.allowedAutoPlacements,b=t.options.placement,m=Li(b),g=s||(m===b||!h?[zi(b)]:function(e){if("auto"===Li(e))return[];var t=zi(e);return[Yi(e),t,Yi(t)]}(b)),w=[b].concat(g).reduce((function(e,n){return e.concat("auto"===Li(n)?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,c=n.padding,a=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?Ii:s,l=Bi(r),f=l?a?Ai:Ai.filter((function(e){return Bi(e)===l})):ki,d=f.filter((function(e){return u.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=tc(e,{placement:n,boundary:o,rootBoundary:i,padding:c})[Li(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:$}):n)}),[]),y=t.rects.reference,O=t.rects.popper,v=new Map,j=!0,_=w[0],E=0;E<w.length;E++){var x=w[E],S=Li(x),C="start"===Bi(x),T=[xi,Si].indexOf(S)>=0,k=T?"width":"height",A=tc(t,{placement:x,boundary:l,rootBoundary:f,altBoundary:d,padding:u}),I=T?C?Ci:Ti:C?Si:xi;y[k]>O[k]&&(I=zi(I));var D=zi(I),P=[];if(i&&P.push(A[S]<=0),a&&P.push(A[I]<=0,A[D]<=0),P.every((function(e){return e}))){_=x,j=!1;break}v.set(x,P)}if(j)for(var M=function(e){var t=w.find((function(t){var n=v.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return _=t,"break"},N=h?3:1;N>0;N--){if("break"===M(N))break}t.placement!==_&&(t.modifiersData[r]._skip=!0,t.placement=_,t.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=n.mainAxis,i=void 0===o||o,c=n.altAxis,a=void 0!==c&&c,s=n.boundary,u=n.rootBoundary,l=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,$=void 0===h?0:h,b=tc(t,{boundary:s,rootBoundary:u,padding:f,altBoundary:l}),m=Li(t.placement),g=Bi(t.placement),w=!g,y=Ui(m),O="x"===y?"y":"x",v=t.modifiersData.popperOffsets,j=t.rects.reference,_=t.rects.popper,E="function"==typeof $?$(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):$,x={x:0,y:0};if(v){if(i){var S="y"===y?xi:Ti,C="y"===y?Si:Ci,T="y"===y?"height":"width",k=v[y],A=v[y]+b[S],I=v[y]-b[C],D=p?-_[T]/2:0,P="start"===g?j[T]:_[T],M="start"===g?-_[T]:-j[T],N=t.elements.arrow,R=p&&N?yi(N):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},L=F[S],B=F[C],U=nc(0,j[T],R[T]),G=w?j[T]/2-D-U-L-E:P-U-L-E,V=w?-j[T]/2+D+U+B+E:M+U+B+E,H=t.elements.arrow&&Ei(t.elements.arrow),W=H?"y"===y?H.clientTop||0:H.clientLeft||0:0,z=t.modifiersData.offset?t.modifiersData.offset[t.placement][y]:0,q=v[y]+G-z-W,Y=v[y]+V-z,X=nc(p?Math.min(A,q):A,k,p?Math.max(I,Y):I);v[y]=X,x[y]=X-k}if(a){var J="x"===y?xi:Ti,Z="x"===y?Si:Ci,K=v[O],Q=nc(K+b[J],K,K-b[Z]);v[O]=Q,x[O]=Q-K}t.modifiersData[r]=x}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=n.elements.arrow,i=n.modifiersData.popperOffsets,c=Li(n.placement),a=Ui(c),s=[Ti,Ci].indexOf(c)>=0?"height":"width";if(o&&i){var u=n.modifiersData[r+"#persistent"].padding,l=yi(o),f="y"===a?xi:Ti,d="y"===a?Si:Ci,p=n.rects.reference[s]+n.rects.reference[a]-i[a]-n.rects.popper[s],h=i[a]-n.rects.reference[a],$=Ei(o),b=$?"y"===a?$.clientHeight||0:$.clientWidth||0:0,m=p/2-h/2,g=u[f],w=b-l[s]-u[d],y=b/2-l[s]/2+m,O=nc(g,y,w),v=a;n.modifiersData[r]=((t={})[v]=O,t.centerOffset=O-y,t)}},effect:function(e){var t=e.state,n=e.options,r=e.name,o=n.element,i=void 0===o?"[data-popper-arrow]":o,c=n.padding,a=void 0===c?0:c;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Xi(t.elements.popper,i)&&(t.elements.arrow=i,t.modifiersData[r+"#persistent"]={padding:Qi("number"!=typeof a?a:ec(a,ki))})},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,i=t.modifiersData.preventOverflow,c=tc(t,{elementContext:"reference"}),a=tc(t,{altBoundary:!0}),s=rc(c,r),u=rc(a,o,i),l=oc(s),f=oc(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),cc={passive:!0,capture:!0};function ac(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function sc(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function uc(e,t){return"function"==typeof e?e.apply(void 0,t):e}function lc(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function fc(e){return[].concat(e)}function dc(e,t){-1===e.indexOf(t)&&e.push(t)}function pc(e){return e.split("-")[0]}function hc(e){return[].slice.call(e)}function $c(){return document.createElement("div")}function bc(e){return["Element","Fragment"].some((function(t){return sc(e,t)}))}function mc(e){return sc(e,"MouseEvent")}function gc(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function wc(e){return bc(e)?[e]:function(e){return sc(e,"NodeList")}(e)?hc(e):Array.isArray(e)?e:hc(document.querySelectorAll(e))}function yc(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Oc(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function vc(e){var t=fc(e)[0];return t&&t.ownerDocument||document}function jc(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}var _c={isTouch:!1},Ec=0;function xc(){_c.isTouch||(_c.isTouch=!0,window.performance&&document.addEventListener("mousemove",Sc))}function Sc(){var e=performance.now();e-Ec<20&&(_c.isTouch=!1,document.removeEventListener("mousemove",Sc)),Ec=e}function Cc(){var e=document.activeElement;if(gc(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var Tc="undefined"!=typeof window&&"undefined"!=typeof document?navigator.userAgent:"",kc=/MSIE |Trident\//.test(Tc);var Ac={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ic=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Ac,{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Dc=Object.keys(Ic);function Pc(e){var t=(e.plugins||[]).reduce((function(t,n){var r=n.name,o=n.defaultValue;return r&&(t[r]=void 0!==e[r]?e[r]:o),t}),{});return Object.assign({},e,{},t)}function Mc(e,t){var n=Object.assign({},t,{content:uc(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Pc(Object.assign({},Ic,{plugins:t}))):Dc).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},Ic.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function Nc(e,t){e.innerHTML=t}function Rc(e){var t=$c();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",bc(e)?t.appendChild(e):Nc(t,e)),t}function Fc(e,t){bc(t.content)?(Nc(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Nc(e,t.content):e.textContent=t.content)}function Lc(e){var t=e.firstElementChild,n=hc(t.children);return{box:t,content:n.find((function(e){return e.classList.contains("tippy-content")})),arrow:n.find((function(e){return e.classList.contains("tippy-arrow")||e.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function Bc(e){var t=$c(),n=$c();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=$c();function o(n,r){var o=Lc(t),i=o.box,c=o.content,a=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Fc(c,e.props),r.arrow?a?n.arrow!==r.arrow&&(i.removeChild(a),i.appendChild(Rc(r.arrow))):i.appendChild(Rc(r.arrow)):a&&i.removeChild(a)}return r.className="tippy-content",r.setAttribute("data-state","hidden"),Fc(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}Bc.$$tippy=!0;var Uc=1,Gc=[],Vc=[];function Hc(e,t){var n,r,o,i,c,a,s,u,l,f=Mc(e,Object.assign({},Ic,{},Pc((n=t,Object.keys(n).reduce((function(e,t){return void 0!==n[t]&&(e[t]=n[t]),e}),{}))))),d=!1,p=!1,h=!1,$=!1,b=[],m=lc(Y,f.interactiveDebounce),g=Uc++,w=(l=f.plugins).filter((function(e,t){return l.indexOf(e)===t})),y={id:g,reference:e,popper:$c(),popperInstance:null,props:f,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:w,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(t){0;if(y.state.isDestroyed)return;P("onBeforeUpdate",[y,t]),z();var n=y.props,r=Mc(e,Object.assign({},y.props,{},t,{ignoreAttributes:!0}));y.props=r,W(),n.interactiveDebounce!==r.interactiveDebounce&&(R(),m=lc(Y,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?fc(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");N(),D(),j&&j(n,r);y.popperInstance&&(K(),ee().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));P("onAfterUpdate",[y,t])},setContent:function(e){y.setProps({content:e})},show:function(){0;var e=y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,r=_c.isTouch&&!y.props.touch,o=ac(y.props.duration,0,Ic.duration);if(e||t||n||r)return;if(T().hasAttribute("disabled"))return;if(P("onShow",[y],!1),!1===y.props.onShow(y))return;y.state.isVisible=!0,C()&&(v.style.visibility="visible");D(),U(),y.state.isMounted||(v.style.transition="none");if(C()){var i=A(),c=i.box,a=i.content;yc([c,a],0)}s=function(){if(y.state.isVisible&&!$){if($=!0,v.offsetHeight,v.style.transition=y.props.moveTransition,C()&&y.props.animation){var e=A(),t=e.box,n=e.content;yc([t,n],o),Oc([t,n],"visible")}M(),N(),dc(Vc,y),y.state.isMounted=!0,P("onMount",[y]),y.props.animation&&C()&&function(e,t){V(e,t)}(o,(function(){y.state.isShown=!0,P("onShown",[y])}))}},function(){var e,t=y.props.appendTo,n=T();e=y.props.interactive&&t===Ic.appendTo||"parent"===t?n.parentNode:uc(t,[n]);e.contains(v)||e.appendChild(v);K(),!1}()},hide:function(){0;var e=!y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,r=ac(y.props.duration,1,Ic.duration);if(e||t||n)return;if(P("onHide",[y],!1),!1===y.props.onHide(y))return;y.state.isVisible=!1,y.state.isShown=!1,$=!1,d=!1,C()&&(v.style.visibility="hidden");if(R(),G(),D(),C()){var o=A(),i=o.box,c=o.content;y.props.animation&&(yc([i,c],r),Oc([i,c],"hidden"))}M(),N(),y.props.animation?C()&&function(e,t){V(e,(function(){!y.state.isVisible&&v.parentNode&&v.parentNode.contains(v)&&t()}))}(r,y.unmount):y.unmount()},hideWithInteractivity:function(e){0;k().addEventListener("mousemove",m),dc(Gc,m),m(e)},enable:function(){y.state.isEnabled=!0},disable:function(){y.hide(),y.state.isEnabled=!1},unmount:function(){0;y.state.isVisible&&y.hide();if(!y.state.isMounted)return;Q(),ee().forEach((function(e){e._tippy.unmount()})),v.parentNode&&v.parentNode.removeChild(v);Vc=Vc.filter((function(e){return e!==y})),y.state.isMounted=!1,P("onHidden",[y])},destroy:function(){0;if(y.state.isDestroyed)return;y.clearDelayTimeouts(),y.unmount(),z(),delete e._tippy,y.state.isDestroyed=!0,P("onDestroy",[y])}};if(!f.render)return y;var O=f.render(y),v=O.popper,j=O.onUpdate;v.setAttribute("data-tippy-root",""),v.id="tippy-"+y.id,y.popper=v,e._tippy=y,v._tippy=y;var _=w.map((function(e){return e.fn(y)})),E=e.hasAttribute("aria-expanded");return W(),N(),D(),P("onCreate",[y]),f.showOnCreate&&te(),v.addEventListener("mouseenter",(function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()})),v.addEventListener("mouseleave",(function(e){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&(k().addEventListener("mousemove",m),m(e))})),y;function x(){var e=y.props.touch;return Array.isArray(e)?e:[e,0]}function S(){return"hold"===x()[0]}function C(){var e;return!!(null==(e=y.props.render)?void 0:e.$$tippy)}function T(){return u||e}function k(){var e=T().parentNode;return e?vc(e):document}function A(){return Lc(v)}function I(e){return y.state.isMounted&&!y.state.isVisible||_c.isTouch||c&&"focus"===c.type?0:ac(y.props.delay,e?0:1,Ic.delay)}function D(){v.style.pointerEvents=y.props.interactive&&y.state.isVisible?"":"none",v.style.zIndex=""+y.props.zIndex}function P(e,t,n){var r;(void 0===n&&(n=!0),_.forEach((function(n){n[e]&&n[e].apply(void 0,t)})),n)&&(r=y.props)[e].apply(r,t)}function M(){var t=y.props.aria;if(t.content){var n="aria-"+t.content,r=v.id;fc(y.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(y.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function N(){!E&&y.props.aria.expanded&&fc(y.props.triggerTarget||e).forEach((function(e){y.props.interactive?e.setAttribute("aria-expanded",y.state.isVisible&&e===T()?"true":"false"):e.removeAttribute("aria-expanded")}))}function R(){k().removeEventListener("mousemove",m),Gc=Gc.filter((function(e){return e!==m}))}function F(e){if(!(_c.isTouch&&(h||"mousedown"===e.type)||y.props.interactive&&v.contains(e.target))){if(T().contains(e.target)){if(_c.isTouch)return;if(y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else P("onClickOutside",[y,e]);!0===y.props.hideOnClick&&(y.clearDelayTimeouts(),y.hide(),p=!0,setTimeout((function(){p=!1})),y.state.isMounted||G())}}function L(){h=!0}function B(){h=!1}function U(){var e=k();e.addEventListener("mousedown",F,!0),e.addEventListener("touchend",F,cc),e.addEventListener("touchstart",B,cc),e.addEventListener("touchmove",L,cc)}function G(){var e=k();e.removeEventListener("mousedown",F,!0),e.removeEventListener("touchend",F,cc),e.removeEventListener("touchstart",B,cc),e.removeEventListener("touchmove",L,cc)}function V(e,t){var n=A().box;function r(e){e.target===n&&(jc(n,"remove",r),t())}if(0===e)return t();jc(n,"remove",a),jc(n,"add",r),a=r}function H(t,n,r){void 0===r&&(r=!1),fc(y.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),b.push({node:e,eventType:t,handler:n,options:r})}))}function W(){var e;S()&&(H("touchstart",q,{passive:!0}),H("touchend",X,{passive:!0})),(e=y.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(H(e,q),e){case"mouseenter":H("mouseleave",X);break;case"focus":H(kc?"focusout":"blur",J);break;case"focusin":H("focusout",J)}}))}function z(){b.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),b=[]}function q(e){var t,n=!1;if(y.state.isEnabled&&!Z(e)&&!p){var r="focus"===(null==(t=c)?void 0:t.type);c=e,u=e.currentTarget,N(),!y.state.isVisible&&mc(e)&&Gc.forEach((function(t){return t(e)})),"click"===e.type&&(y.props.trigger.indexOf("mouseenter")<0||d)&&!1!==y.props.hideOnClick&&y.state.isVisible?n=!0:te(e),"click"===e.type&&(d=!n),n&&!r&&ne(e)}}function Y(e){var t=e.target,n=T().contains(t)||v.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,c=pc(o.placement),a=o.modifiersData.offset;if(!a)return!0;var s="bottom"===c?a.top.y:0,u="top"===c?a.bottom.y:0,l="right"===c?a.left.x:0,f="left"===c?a.right.x:0,d=t.top-r+s>i,p=r-t.bottom-u>i,h=t.left-n+l>i,$=n-t.right-f>i;return d||p||h||$}))}(ee().concat(v).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:f}:null})).filter(Boolean),e)&&(R(),ne(e))}function X(e){Z(e)||y.props.trigger.indexOf("click")>=0&&d||(y.props.interactive?y.hideWithInteractivity(e):ne(e))}function J(e){y.props.trigger.indexOf("focusin")<0&&e.target!==T()||y.props.interactive&&e.relatedTarget&&v.contains(e.relatedTarget)||ne(e)}function Z(e){return!!_c.isTouch&&S()!==e.type.indexOf("touch")>=0}function K(){Q();var t=y.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,c=t.moveTransition,a=C()?Lc(v).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||T()}:e,l=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!c}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(C()){var n=A().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];C()&&a&&l.push({name:"arrow",options:{element:a,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),y.popperInstance=ic(u,v,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:l}))}function Q(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function ee(){return hc(v.querySelectorAll("[data-tippy-root]"))}function te(e){y.clearDelayTimeouts(),e&&P("onTrigger",[y,e]),U();var t=I(!0),n=x(),o=n[0],i=n[1];_c.isTouch&&"hold"===o&&i&&(t=i),t?r=setTimeout((function(){y.show()}),t):y.show()}function ne(e){if(y.clearDelayTimeouts(),P("onUntrigger",[y,e]),y.state.isVisible){if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=I(!1);t?o=setTimeout((function(){y.state.isVisible&&y.hide()}),t):i=requestAnimationFrame((function(){y.hide()}))}}else G()}}function Wc(e,t){void 0===t&&(t={});var n=Ic.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",xc,cc),window.addEventListener("blur",Cc);var r=Object.assign({},t,{plugins:n}),o=wc(e).reduce((function(e,t){var n=t&&Hc(t,r);return n&&e.push(n),e}),[]);return bc(e)?o[0]:o}Wc.defaultProps=Ic,Wc.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Ic[t]=e[t]}))},Wc.currentInput=_c;Wc.setDefaultProps({render:Bc});var zc=Wc;function qc(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var Yc="undefined"!=typeof window&&"undefined"!=typeof document;function Xc(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function Jc(){return Yc&&document.createElement("div")}function Zc(e,t){var n,r;return Object.assign({},t,{popperOptions:Object.assign({},e.popperOptions,t.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?void 0:n.modifiers)||[]).filter((function(e){return e.name.indexOf("tippy")>=0})),(null==(r=t.popperOptions)?void 0:r.modifiers)||[])})})}var Kc=Yc?ce.useLayoutEffect:ce.useEffect;function Qc(e){var t=Object(ce.useRef)();return t.current||(t.current="function"==typeof e?e():e),t.current}function ea(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var ta={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function r(){e.props.className&&!n()||ea(t,"add",e.props.className)}return{onCreate:r,onBeforeUpdate:function(){n()&&ea(t,"remove",e.props.className)},onAfterUpdate:r}}};function na(e){return function(t){var n=t.children,r=t.content,o=t.visible,i=t.singleton,c=t.render,a=t.reference,s=t.disabled,u=void 0!==s&&s,l=t.ignoreAttributes,f=void 0===l||l,d=(t.__source,t.__self,qc(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),p=void 0!==o,h=void 0!==i,$=Object(ce.useState)(!1),b=$[0],m=$[1],g=Object(ce.useState)({}),w=g[0],y=g[1],O=Object(ce.useState)(),v=O[0],j=O[1],_=Qc((function(){return{container:Jc(),renders:1}})),E=Object.assign({ignoreAttributes:f},d,{content:_.container});p&&(E.trigger="manual",E.hideOnClick=!1),h&&(u=!0);var x=E,S=E.plugins||[];c&&(x=Object.assign({},E,{plugins:h?[].concat(S,[{fn:function(){return{onTrigger:function(e,t){var n=i.data.children.find((function(e){return e.instance.reference===t.currentTarget})).content;j(n)}}}}]):S,render:function(){return{popper:_.container}}}));var C=[a].concat(n?[n.type]:[]);return Kc((function(){var t=a;a&&a.hasOwnProperty("current")&&(t=a.current);var n=e(t||_.ref||Jc(),Object.assign({},x,{plugins:[ta].concat(E.plugins||[])}));return _.instance=n,u&&n.disable(),o&&n.show(),h&&i.hook({instance:n,content:r,props:x}),m(!0),function(){n.destroy(),null==i||i.cleanup(n)}}),C),Kc((function(){if(1!==_.renders){var e=_.instance;e.setProps(Zc(e.props,x)),u?e.disable():e.enable(),p&&(o?e.show():e.hide()),h&&i.hook({instance:e,content:r,props:x})}else _.renders++})),Kc((function(){var e;if(c){var t=_.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[],[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,r=null==(t=n.modifiersData)?void 0:t.hide;w.placement===n.placement&&w.referenceHidden===(null==r?void 0:r.isReferenceHidden)&&w.escaped===(null==r?void 0:r.hasPopperEscaped)||y({placement:n.placement,referenceHidden:null==r?void 0:r.isReferenceHidden,escaped:null==r?void 0:r.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[w.placement,w.referenceHidden,w.escaped].concat(C)),ce.default.createElement(ce.default.Fragment,null,n?Object(ce.cloneElement)(n,{ref:function(e){_.ref=e,Xc(n.ref,e)}}):null,b&&Object(ce.createPortal)(c?c(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(w),v,_.instance):r,_.container))}}var ra=function(e,t){return Object(ce.forwardRef)((function(n,r){var o=n.children,i=qc(n,["children"]);return ce.default.createElement(e,Object.assign({},t,i),o?Object(ce.cloneElement)(o,{ref:function(e){Xc(r,e),Xc(o.ref,e)}}):null)}))},oa=ra(na(zc));class ia extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Content"]}}var ca=n(29);function aa(e){return(aa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function sa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ua(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function la(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ua(Object(n),!0).forEach((function(t){sa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ua(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fa(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function da(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function pa(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}function ha(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),o=pa(t.slice(0,r)),i=t.slice(r+1).trim();return o.startsWith("webkit")?e[(n=o,n.charAt(0).toUpperCase()+n.slice(1))]=i:e[o]=i,e}),{})}var $a=!1;try{$a=!0}catch(e){}function ba(e){return ca.b.icon?ca.b.icon(e):null===e?null:"object"===aa(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function ma(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?sa({},e,t):{}}function ga(e){var t=e.forwardedRef,n=fa(e,["forwardedRef"]),r=n.icon,o=n.mask,i=n.symbol,c=n.className,a=n.title,s=n.titleId,u=ba(r),l=ma("classes",[].concat(da(function(e){var t,n=e.spin,r=e.pulse,o=e.fixedWidth,i=e.inverse,c=e.border,a=e.listItem,s=e.flip,u=e.size,l=e.rotation,f=e.pull,d=(sa(t={"fa-spin":n,"fa-pulse":r,"fa-fw":o,"fa-inverse":i,"fa-border":c,"fa-li":a,"fa-flip-horizontal":"horizontal"===s||"both"===s,"fa-flip-vertical":"vertical"===s||"both"===s},"fa-".concat(u),null!=u),sa(t,"fa-rotate-".concat(l),null!=l&&0!==l),sa(t,"fa-pull-".concat(f),null!=f),sa(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(d).map((function(e){return d[e]?e:null})).filter((function(e){return e}))}(n)),da(c.split(" ")))),f=ma("transform","string"==typeof n.transform?ca.b.transform(n.transform):n.transform),d=ma("mask",ba(o)),p=Object(ca.a)(u,la({},l,{},f,{},d,{symbol:i,title:a,titleId:s}));if(!p)return function(){var e;!$a&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var h=p.abstract,$={ref:t};return Object.keys(n).forEach((function(e){ga.defaultProps.hasOwnProperty(e)||($[e]=n[e])})),wa(h[0],$)}ga.displayName="FontAwesomeIcon",ga.propTypes={border:de.a.bool,className:de.a.string,mask:de.a.oneOfType([de.a.object,de.a.array,de.a.string]),fixedWidth:de.a.bool,inverse:de.a.bool,flip:de.a.oneOf(["horizontal","vertical","both"]),icon:de.a.oneOfType([de.a.object,de.a.array,de.a.string]),listItem:de.a.bool,pull:de.a.oneOf(["right","left"]),pulse:de.a.bool,rotation:de.a.oneOf([0,90,180,270]),size:de.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:de.a.bool,symbol:de.a.oneOfType([de.a.bool,de.a.string]),title:de.a.string,transform:de.a.oneOfType([de.a.string,de.a.object]),swapOpacity:de.a.bool},ga.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var wa=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map((function(n){return e(t,n)})),i=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=ha(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[pa(t)]=r}return e}),{attrs:{}}),c=r.style,a=void 0===c?{}:c,s=fa(r,["style"]);return i.attrs.style=la({},i.attrs.style,{},a),t.apply(void 0,[n.tag,la({},i.attrs,{},s)].concat(da(o)))}.bind(null,ce.default.createElement),ya={prefix:"fas",iconName:"info-circle",icon:[512,512,[],"f05a","M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"]};
|
|
11
|
+
function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){c(e,t,n[t])}))}return e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.d(t,"a",(function(){return _e})),n.d(t,"b",(function(){return je}));var u=function(){},l={},f={},d={mark:u,measure:u};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(f=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(d=performance)}catch(e){}var p=(l.navigator||{}).userAgent,h=void 0===p?"":p,$=l,b=f,m=d,g=($.document,!!b.documentElement&&!!b.head&&"function"==typeof b.addEventListener&&"function"==typeof b.createElement),w=(~h.indexOf("MSIE")||h.indexOf("Trident/"),function(){try{}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),y=w.concat([11,12,13,14,15,16,17,18,19,20]),O={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},v=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",O.GROUP,O.SWAP_OPACITY,O.PRIMARY,O.SECONDARY].concat(w.map((function(e){return"".concat(e,"x")}))).concat(y.map((function(e){return"w-".concat(e)}))),$.FontAwesomeConfig||{});if(b&&"function"==typeof b.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=s(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=b.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(v[r]=o)}))}var j=a({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},v);j.autoReplaceSvg||(j.observeMutations=!1);var _=a({},j);$.FontAwesomeConfig=_;var E=$||{};E.___FONT_AWESOME___||(E.___FONT_AWESOME___={}),E.___FONT_AWESOME___.styles||(E.___FONT_AWESOME___.styles={}),E.___FONT_AWESOME___.hooks||(E.___FONT_AWESOME___.hooks={}),E.___FONT_AWESOME___.shims||(E.___FONT_AWESOME___.shims=[]);var x=E.___FONT_AWESOME___,S=[];g&&((b.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(b.readyState)||b.addEventListener("DOMContentLoaded",(function e(){b.removeEventListener("DOMContentLoaded",e),1,S.map((function(e){return e()}))})));var C,T=function(){},k=void 0!==e&&void 0!==e.process&&"function"==typeof e.process.emit,A=void 0===r?setTimeout:r,I=[];function D(){for(var e=0;e<I.length;e++)I[e][0](I[e][1]);I=[],C=!1}function P(e,t){I.push([e,t]),C||(C=!0,A(D,0))}function M(e){var t=e.owner,n=t._state,r=t._data,o=e[n],i=e.then;if("function"==typeof o){n="fulfilled";try{r=o(r)}catch(e){L(i,e)}}N(i,r)||("fulfilled"===n&&R(i,r),"rejected"===n&&L(i,r))}function N(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===o(t))){var r=t.then;if("function"==typeof r)return r.call(t,(function(r){n||(n=!0,t===r?F(e,r):R(e,r))}),(function(t){n||(n=!0,L(e,t))})),!0}}catch(t){return n||L(e,t),!0}return!1}function R(e,t){e!==t&&N(e,t)||F(e,t)}function F(e,t){"pending"===e._state&&(e._state="settled",e._data=t,P(U,e))}function L(e,t){"pending"===e._state&&(e._state="settled",e._data=t,P(G,e))}function B(e){e._then=e._then.forEach(M)}function U(e){e._state="fulfilled",B(e)}function G(t){t._state="rejected",B(t),!t._handled&&k&&e.process.emit("unhandledRejection",t._data,t)}function V(t){e.process.emit("rejectionHandled",t)}function H(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof H==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){L(t,e)}try{e((function(e){R(t,e)}),n)}catch(e){n(e)}}(e,this)}H.prototype={constructor:H,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(T),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,"rejected"===this._state&&k&&P(V,this)),"fulfilled"===this._state||"rejected"===this._state?P(M,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},H.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new H((function(t,n){var r=[],o=0;function i(e){return o++,function(n){r[e]=n,--o||t(r)}}for(var c,a=0;a<e.length;a++)(c=e[a])&&"function"==typeof c.then?c.then(i(a),n):r[a]=c;o||t(r)}))},H.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new H((function(t,n){for(var r,o=0;o<e.length;o++)(r=e[o])&&"function"==typeof r.then?r.then(t,n):t(r)}))},H.resolve=function(e){return e&&"object"===o(e)&&e.constructor===H?e:new H((function(t){t(e)}))},H.reject=function(e){return new H((function(t,n){n(e)}))};var W={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function z(e){if(e&&g){var t=b.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=b.head.childNodes,r=null,o=n.length-1;o>-1;o--){var i=n[o],c=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(c)>-1&&(r=i)}return b.head.insertBefore(t,r),e}}function q(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function Y(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function X(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function J(e){return e.size!==W.size||e.x!==W.x||e.y!==W.y||e.rotate!==W.rotate||e.flipX||e.flipY}function Z(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),c="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(i," ").concat(c," ").concat(a)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var K={x:0,y:0,width:"100%",height:"100%"};function Q(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function ee(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,i=e.iconName,c=e.transform,s=e.symbol,u=e.title,l=e.maskId,f=e.titleId,d=e.extra,p=e.watchable,h=void 0!==p&&p,$=r.found?r:n,b=$.width,m=$.height,g="fak"===o,w=g?"":"fa-w-".concat(Math.ceil(b/m*16)),y=[_.replacementClass,i?"".concat(_.familyPrefix,"-").concat(i):"",w].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),O={children:[],attributes:a({},d.attributes,{"data-prefix":o,"data-icon":i,class:y,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(b," ").concat(m)})},v=g&&!~d.classes.indexOf("fa-fw")?{width:"".concat(b/m*16*.0625,"em")}:{};h&&(O.attributes["data-fa-i2svg"]=""),u&&O.children.push({tag:"title",attributes:{id:O.attributes["aria-labelledby"]||"title-".concat(f||q())},children:[u]});var j=a({},O,{prefix:o,iconName:i,main:n,mask:r,maskId:l,transform:c,symbol:s,styles:a({},v,d.styles)}),E=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,o=e.main,i=e.mask,c=e.maskId,s=e.transform,u=o.width,l=o.icon,f=i.width,d=i.icon,p=Z({transform:s,containerWidth:f,iconWidth:u}),h={tag:"rect",attributes:a({},K,{fill:"white"})},$=l.children?{children:l.children.map(Q)}:{},b={tag:"g",attributes:a({},p.inner),children:[Q(a({tag:l.tag,attributes:a({},l.attributes,p.path)},$))]},m={tag:"g",attributes:a({},p.outer),children:[b]},g="mask-".concat(c||q()),w="clip-".concat(c||q()),y={tag:"mask",attributes:a({},K,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,m]},O={tag:"defs",children:[{tag:"clipPath",attributes:{id:w},children:(t=d,"g"===t.tag?t.children:[t])},y]};return n.push(O,{tag:"rect",attributes:a({fill:"currentColor","clip-path":"url(#".concat(w,")"),mask:"url(#".concat(g,")")},K)}),{children:n,attributes:r}}(j):function(e){var t=e.children,n=e.attributes,r=e.main,o=e.transform,i=X(e.styles);if(i.length>0&&(n.style=i),J(o)){var c=Z({transform:o,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:a({},c.outer),children:[{tag:"g",attributes:a({},c.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:a({},r.icon.attributes,c.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(j),x=E.children,S=E.attributes;return j.children=x,j.attributes=S,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,i=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:a({},o,{id:!0===i?"".concat(t,"-").concat(_.familyPrefix,"-").concat(n):i}),children:r}]}]}(j):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,i=e.styles,c=e.transform;if(J(c)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};o.style=X(a({},i,{"transform-origin":"".concat(s.x+c.x/16,"em ").concat(s.y+c.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(j)}var te=function(){},ne=(_.measurePerformance&&m&&m.mark&&m.measure,function(e,t,n,r){var o,i,c,a=Object.keys(e),s=a.length,u=void 0!==r?function(e,t){return function(n,r,o,i){return e.call(t,n,r,o,i)}}(t,r):t;for(void 0===n?(o=1,c=e[a[0]]):(o=0,c=n);o<s;o++)c=u(c,e[i=a[o]],i,e);return c});function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,o=void 0!==r&&r,i=Object.keys(t).reduce((function(e,n){var r=t[n];return!!r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof x.hooks.addPack||o?x.styles[e]=a({},x.styles[e]||{},i):x.hooks.addPack(e,i),"fas"===e&&re("fa",t)}var oe=x.styles,ie=x.shims,ce=function(){var e=function(e){return ne(oe,(function(t,n,r){return t[r]=ne(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in oe;ne(ie,(function(e,n){var r=n[0],o=n[1],i=n[2];return"far"!==o||t||(o="fas"),e[r]={prefix:o,iconName:i},e}),{})};ce();x.styles;function ae(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function se(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,i=void 0===o?[]:o;return"string"==typeof e?Y(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Y(e[n]),'" ')}),"").trim()}(r),">").concat(i.map(se).join(""),"</").concat(t,">")}var ue=function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),t):t};function le(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}le.prototype=Object.create(Error.prototype),le.prototype.constructor=le;var fe={fill:"currentColor"},de={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},pe={tag:"path",attributes:a({},fe,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},he=a({},de,{attributeName:"opacity"});a({},fe,{cx:"256",cy:"364",r:"28"}),a({},de,{attributeName:"r",values:"28;14;28;28;14;28;"}),a({},he,{values:"1;0;1;1;0;1;"}),a({},fe,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),a({},he,{values:"1;0;0;0;0;1;"}),a({},fe,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),a({},he,{values:"0;0;1;1;0;0;"}),x.styles;function $e(e){var t=e[0],n=e[1],r=s(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(_.familyPrefix,"-").concat(O.GROUP)},children:[{tag:"path",attributes:{class:"".concat(_.familyPrefix,"-").concat(O.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(_.familyPrefix,"-").concat(O.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}x.styles;function be(){var e="svg-inline--fa",t=_.familyPrefix,n=_.replacementClass,r='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if("fa"!==t||n!==e){var o=new RegExp("\\.".concat("fa","\\-"),"g"),i=new RegExp("\\--".concat("fa","\\-"),"g"),c=new RegExp("\\.".concat(e),"g");r=r.replace(o,".".concat(t,"-")).replace(i,"--".concat(t,"-")).replace(c,".".concat(n))}return r}function me(){_.autoAddCss&&!ve&&(z(be()),ve=!0)}function ge(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return se(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(g){var t=b.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function we(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return ae(Oe.definitions,n,r)||ae(x.styles,n,r)}var ye,Oe=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,r;return t=e,(n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach((function(t){e.definitions[t]=a({},e.definitions[t]||{},o[t]),re(t,o[t]),ce()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],o=r.prefix,i=r.iconName,c=r.icon;e[o]||(e[o]={}),e[o][i]=c})),e}}])&&i(t.prototype,n),r&&i(t,r),e}()),ve=!1,je={transform:function(e){return ue(e)}},_e=(ye=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?W:n,o=t.symbol,i=void 0!==o&&o,c=t.mask,s=void 0===c?null:c,u=t.maskId,l=void 0===u?null:u,f=t.title,d=void 0===f?null:f,p=t.titleId,h=void 0===p?null:p,$=t.classes,b=void 0===$?[]:$,m=t.attributes,g=void 0===m?{}:m,w=t.styles,y=void 0===w?{}:w;if(e){var O=e.prefix,v=e.iconName,j=e.icon;return ge(a({type:"icon"},e),(function(){return me(),_.autoA11y&&(d?g["aria-labelledby"]="".concat(_.replacementClass,"-title-").concat(h||q()):(g["aria-hidden"]="true",g.focusable="false")),ee({icons:{main:$e(j),mask:s?$e(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:O,iconName:v,transform:a({},W,r),symbol:i,title:d,maskId:l,titleId:h,extra:{attributes:g,styles:y,classes:b}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:we(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:we(r||{})),ye(n,a({},t,{mask:r}))})}).call(this,n(32),n(49).setImmediate)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return s}));var r=n(2),o=(n(0),n(7));class i extends r.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SuccessRedirectionUrl"]}}function c(e){return Object(r.e)(e)}function a(e,t){sessionStorage.setItem(c(e),t)}function s(e){return Object(o.e)(sessionStorage.getItem(c(e)))}},function(e,t,n){"use strict";var r=a(n(42)),o=a(n(47)),i=a(n(36)),c=a(n(33));function a(e){return e&&e.__esModule?e:{default:e}}e.exports={Transition:c.default,TransitionGroup:i.default,ReplaceTransition:o.default,CSSTransition:r.default}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(11)),o=a(n(9)),i=a(n(9)),c=n(34);n(35);function a(e){return e&&e.__esModule?e:{default:e}}t.UNMOUNTED="unmounted";t.EXITED="exited";t.ENTERING="entering";t.ENTERED="entered";t.EXITING="exiting";var s=function(e){var t,n;function r(t,n){var r;r=e.call(this,t,n)||this;var o,i=n.transitionGroup,c=i&&!i.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?c?(o="exited",r.appearStatus="entering"):o="entered":o=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:o},r.nextCallback=null,r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var c=r.prototype;return c.getChildContext=function(){return{transitionGroup:null}},r.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null},c.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},c.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},c.componentWillUnmount=function(){this.cancelNextCallback()},c.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},c.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=i.default.findDOMNode(this);"entering"===t?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},c.performEnter=function(e,t){var n=this,r=this.props.enter,o=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,i=this.getTimeouts(),c=o?i.appear:i.enter;t||r?(this.props.onEnter(e,o),this.safeSetState({status:"entering"},(function(){n.props.onEntering(e,o),n.onTransitionEnd(e,c,(function(){n.safeSetState({status:"entered"},(function(){n.props.onEntered(e,o)}))}))}))):this.safeSetState({status:"entered"},(function(){n.props.onEntered(e)}))},c.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();n?(this.props.onExit(e),this.safeSetState({status:"exiting"},(function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,(function(){t.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))},c.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},c.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},c.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},c.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;e&&!r?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},c.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return n(e,r);var i=o.default.Children.only(n);return o.default.cloneElement(i,r)},r}(o.default.Component);function u(){}s.contextTypes={transitionGroup:r.object},s.childContextTypes={transitionGroup:function(){}},s.propTypes={},s.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:u,onEntering:u,onEntered:u,onExit:u,onExiting:u,onExited:u},s.UNMOUNTED=0,s.EXITED=1,s.ENTERING=2,s.ENTERED=3,s.EXITING=4;var l=(0,c.polyfill)(s);t.default=l},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function c(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,c=null,a=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?c="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(c="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?a="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(a="UNSAFE_componentWillUpdate"),null!==n||null!==c||null!==a){var s=e.displayName||e.name,u="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+s+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==c?"\n "+c:"")+(null!==a?"\n "+a:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var l=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;l.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",(function(){return c})),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0;var r;(r=n(11))&&r.__esModule;t.timeoutsShape=null;t.classNamesShape=null},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=a(n(11)),o=a(n(9)),i=n(34),c=n(48);function a(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var l=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},f=function(e){var t,n;function r(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(u(u(r)));return r.state={handleExited:o,firstRender:!0},r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},i.componentDidMount=function(){this.appeared=!0,this.mounted=!0},i.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,c.getInitialChildMapping)(e,r):(0,c.getNextChildMapping)(e,n,r),firstRender:!1}},i.handleExited=function(e,t){var n=(0,c.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=s({},t.children);return delete n[e.key],{children:n}})))},i.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["component","childFactory"]),i=l(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i:o.default.createElement(t,r,i)},r}(o.default.Component);f.childContextTypes={transitionGroup:r.default.object.isRequired},f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};var d=(0,i.polyfill)(f);t.default=d,e.exports=t.default},function(e,t,n){"use strict";n.d(t,"a",(function(){return Pa}));var r=n(4),o=n(2),i=n(0),c=n(15),a=n(18),s=n(6),u=n(7),l=n(8),f=n(3),d=n(10);function p(){return e=(e,t)=>Object(r.e)(e,t),{Compare:(t,n)=>e(t,n)};var e}function h(){return p()}n(24);class ${constructor(e,t){this.k=e,this.v=t}}function b(e,t){return new $(e,t)}function m(e){return e.k}function g(e){return e.v}class w extends ${constructor(e,t,n,r,o){super(e,t),this.left=n,this.right=r,this.h=o}}function y(e,t,n,r,o){return new w(e,t,n,r,o)}function O(e){return e.left}function v(e){return e.right}function j(e){return e.h}function _(e){return function e(t,n){e:for(;;){const r=t,o=n;if(null!=o){const i=o;if(i instanceof w){t=e(r+1,O(i)),n=v(i);continue e}return r+1|0}return 0|r}}(0,e)}function E(e,t,n,r){let o;if(null!=e){const t=e;o=t instanceof w?j(t):1}else o=0;let i;if(null!=r){const e=r;i=e instanceof w?j(e):1}else i=0;const c=0|(o<i?i:o);return 0===c?b(t,n):y(t,n,e,r,c+1)}function x(e,t,n,r){let o,i,c,a,s;if(null!=e){const t=e;s=t instanceof w?j(t):1}else s=0;let l;if(null!=r){const e=r;l=e instanceof w?j(e):1}else l=0;if(l>s+2){const c=Object(u.i)(r);if(c instanceof w){if(o=O(c),(null!=o?(i=o,i instanceof w?j(i):1):0)>s+1){const r=Object(u.i)(O(c));if(r instanceof w)return E(E(e,t,n,O(r)),m(r),g(r),E(v(r),m(c),g(c),v(c)));throw new Error("internal error: Map.rebalance")}return E(E(e,t,n,O(c)),m(c),g(c),v(c))}throw new Error("internal error: Map.rebalance")}if(s>l+2){const o=Object(u.i)(e);if(o instanceof w){if(c=v(o),(null!=c?(a=c,a instanceof w?j(a):1):0)>l+1){const e=Object(u.i)(v(o));if(e instanceof w)return E(E(O(o),m(o),g(o),O(e)),m(e),g(e),E(v(e),t,n,r));throw new Error("internal error: Map.rebalance")}return E(O(o),m(o),g(o),E(v(o),t,n,r))}throw new Error("internal error: Map.rebalance")}return E(e,t,n,r)}function S(e,t,n,r){if(null!=r){const o=r,i=0|e.Compare(t,m(o));return o instanceof w?i<0?x(S(e,t,n,O(o)),m(o),g(o),v(o)):0===i?y(t,n,O(o),v(o),j(o)):x(O(o),m(o),g(o),S(e,t,n,v(o))):i<0?y(t,n,void 0,r,2):0===i?b(t,n):y(t,n,r,void 0,2)}return b(t,n)}function C(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const c=i,a=0|r.Compare(o,m(c));if(0===a)return Object(u.f)(g(c));if(c instanceof w){e=r,t=o,n=a<0?O(c):v(c);continue e}return}return}}function T(e,t){!function e(t,n){e:for(;;){const r=t,o=n;if(null!=o){const i=o;if(i instanceof w){e(r,O(i)),r(m(i),g(i)),t=r,n=v(i);continue e}r(m(i),g(i))}break}}(e,t)}function k(e,t){return function e(t,n){if(null!=n){const r=n;if(r instanceof w){const n=e(t,O(r)),o=t(m(r),g(r)),i=e(t,v(r));return y(m(r),o,n,i,j(r))}return b(m(r),t(m(r),g(r)))}}(e,t)}function A(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const o=t[r];n=S(e,o[0],o[1],n)}return n}function I(e,t){if(Object(r.r)(t))return A(e,t);if(t instanceof o.b)return function(e,t){return Object(l.k)((t,n)=>S(e,n[0],n[1],t),void 0,t)}(e,t);{const n=Object(f.l)(t);try{return function(e,t,n){for(;;){const r=e,o=t,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;{const c=i["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=S(r,c[0],c[1],o),n=i}}}(e,void 0,n)}finally{n.Dispose()}}}class D extends o.c{constructor(e,t){super(),this.stack=e,this.started=t}}function P(e){e:for(;;){const t=e;if(null==t.tail)return new o.b;{const n=t.tail,r=t.head;if(null!=r){const i=r;if(i instanceof w){e=new o.b(O(i),new o.b(b(m(i),g(i)),new o.b(v(i),n)));continue e}return t}e=n}}}function M(e){return new D(P(new o.b(e,new o.b)),!1)}function N(e){if(e.started){const t=e.stack;if(null!=t.tail){if(null!=t.head){const e=t.head;if(e instanceof w)throw new Error("Please report error: Map iterator, unexpected stack for current");return[m(e),g(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration already finished")}()}return function(){throw new Error("enumeration not started")}()}function R(e){let t=M(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>N(t),"System.Collections.IEnumerator.get_Current":()=>N(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(null!=t.tail){if(null!=t.head){if(t.head instanceof w)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=P(t.tail),!(null==e.stack.tail)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return!1}return e.started=!0,!(null==e.stack.tail)}(t),"System.Collections.IEnumerator.Reset"(){t=M(e)},Dispose(){}}}class F{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){const t=(e,t)=>(e<<1)+t+631;let n=0;const o=Object(f.l)(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const e=o["System.Collections.Generic.IEnumerator`1.get_Current"]();n=t(n,Object(r.E)(e[0])),n=t(n,Object(r.E)(e[1]))}}finally{o.Dispose()}return 0|n}(this)}Equals(e){const t=this;if(!(e instanceof F))return!1;{const n=Object(f.l)(t);try{const t=Object(f.l)(e);try{const e=()=>{const o=n["System.Collections.IEnumerator.MoveNext"]();if(o===t["System.Collections.IEnumerator.MoveNext"]()){if(o){const o=n["System.Collections.Generic.IEnumerator`1.get_Current"](),i=t["System.Collections.Generic.IEnumerator`1.get_Current"]();return!(!Object(r.o)(o[0],i[0])||!Object(r.o)(o[1],i[1]))&&e()}return!0}return!1};return e()}finally{t.Dispose()}}finally{n.Dispose()}}}toString(){return"map ["+Object(d.g)("; ",Object(f.p)(e=>Object(d.c)("({0}, {1})",e[0],e[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}GetEnumerator(){return R(this.tree)}[Symbol.iterator](){return Object(f.C)(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return R(this.tree)}CompareTo(e){const t=this;if(e instanceof F)return 0|Object(f.d)((e,n)=>{const o=0|t.comparer.Compare(e[0],n[0]);return 0|(0!==o?o:Object(r.e)(e[1],n[1]))},t,e);throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return!!V(this,e[0])&&Object(r.o)(U(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){!function(e,t,n){let r=0|n;T((e,n)=>{t[r]=[e,n],r+=1},e)}(this.tree,e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|G(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|G(this)}get size(){return 0|G(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return Object(f.p)(e=>[e[0],e[1]],this)}get(e){return U(this,e)}has(e){return V(this,e)}keys(){return Object(f.p)(e=>e[0],this)}set(e,t){throw new Error("Map cannot be mutated")}values(){return Object(f.p)(e=>e[1],this)}forEach(e,t){const n=this;Object(f.n)(t=>{e(t[1],t[0],n)},n)}}function L(e,t){return new F(e,t)}function B(e){const t=h();return L(t,I(t,e))}function U(e,t){return function(e,t,n){const r=C(e,t,n);if(null==r)throw new Error;return Object(u.i)(r)}(e.comparer,t,e.tree)}function G(e){return _(e.tree)}function V(e,t){return function(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const c=i,a=0|r.Compare(o,m(c));if(c instanceof w){if(a<0){e=r,t=o,n=O(c);continue e}if(0===a)return!0;e=r,t=o,n=v(c);continue e}return 0===a}return!1}}(e.comparer,t,e.tree)}function H(e,t,n){return function(e,t,n){return L(e.comparer,S(e.comparer,t,n,e.tree))}(n,e,t)}function W(e,t){return function(e,t){return C(e.comparer,t,e.tree)}(t,e)}function z(e,t){return r=e,L((n=t).comparer,k(r,n.tree));var n,r}function q(){return F.empty}F.empty=L(h(),void 0);class Y extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function X(e,t){const n=Object(c.m)(Object(a.c)());return Object(c.g)(()=>Object(c.a)(()=>{Object(a.a)(n.current)})),Object(c.e)(r=>{Object(a.f)(n.current)||Object(a.i)(s.g.Delay(()=>s.g.TryWith(s.g.Delay(()=>(t(new Y(1)),s.g.Bind(e(r),e=>(t(new Y(2,e)),s.g.Zero())))),e=>(t(new Y(3,e)),s.g.Zero()))),n.current)})}var J=n(1);function Z(e){return 1!==e.tag}function K(e,t){return null==t?new J.e(1,e):new J.e(0,Object(u.i)(t))}function Q(e,t,n){return Object(r.o)(n,e)?new J.e(0,void 0):new J.e(1,t)}function ee(e,t){return Object(f.m)(t)?new J.e(1,e):new J.e(0,void 0)}function te(e,t,n){if(1===n.tag);else{const r=n.fields[0];e(r)&&t(r)}return n}function ne(e,t,n){if(1===n.tag){const r=n.fields[0];e(r)&&t(r)}return n}function re(e,t){return s.g.Bind(t,t=>s.g.Return(function(e,t){return te(e=>!0,e,t)}(e,t)))}function oe(e,t){return s.g.Bind(t,t=>s.g.Return(function(e,t){return ne(e=>!0,e,t)}(e,t)))}o.d;o.c;var ie=n(17),ce=n(9);function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function se(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var le,fe=n(11),de=n.n(fe),pe=n(27),he=n.n(pe);function $e(e,t){return void 0===e&&(e=""),void 0===t&&(t=le),t?e.split(" ").map((function(e){return t[e]||e})).join(" "):e}var be="object"==typeof window&&window.Element||function(){};de.a.oneOfType([de.a.string,de.a.func,function(e,t,n){if(!(e[t]instanceof be))return new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Expected prop to be an instance of Element. Validation failed.")},de.a.shape({current:de.a.any})]);var me=de.a.oneOfType([de.a.func,de.a.string,de.a.shape({$$typeof:de.a.symbol,render:de.a.func}),de.a.arrayOf(de.a.oneOfType([de.a.func,de.a.string,de.a.shape({$$typeof:de.a.symbol,render:de.a.func})]))]),ge=["in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","onEnter","onEntering","onEntered","onExit","onExiting","onExited"];"undefined"==typeof window||!window.document||window.document.createElement;var we=n(31);function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach((function(t){ue(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ve=Oe(Oe({},we.Transition.propTypes),{},{children:de.a.oneOfType([de.a.arrayOf(de.a.node),de.a.node]),tag:me,baseClass:de.a.string,baseClassActive:de.a.string,className:de.a.string,cssModule:de.a.object,innerRef:de.a.oneOfType([de.a.object,de.a.string,de.a.func])}),je=Oe(Oe({},we.Transition.defaultProps),{},{tag:"div",baseClass:"fade",baseClassActive:"show",timeout:150,appear:!0,enter:!0,exit:!0,in:!0});function _e(e){var t,n,r,o=e.tag,i=e.baseClass,c=e.baseClassActive,a=e.className,s=e.cssModule,u=e.children,l=e.innerRef,f=se(e,["tag","baseClass","baseClassActive","className","cssModule","children","innerRef"]),d=function(e,t){for(var n,r=Array.isArray(t)?t:[t],o=r.length,i={};o>0;)i[n=r[o-=1]]=e[n];return i}(f,ge),p=(t=f,n=ge,r={},Object.keys(t).forEach((function(e){-1===n.indexOf(e)&&(r[e]=t[e])})),r);return ce.default.createElement(we.Transition,d,(function(e){var t="entered"===e,n=$e(he()(a,i,t&&c),s);return ce.default.createElement(o,ae({className:n},p,{ref:l}),u)}))}_e.propTypes=ve,_e.defaultProps=je;var Ee=_e;function xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(n),!0).forEach((function(t){ue(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ce={children:de.a.node,className:de.a.string,closeClassName:de.a.string,closeAriaLabel:de.a.string,cssModule:de.a.object,color:de.a.string,fade:de.a.bool,isOpen:de.a.bool,toggle:de.a.func,tag:me,transition:de.a.shape(Ee.propTypes),innerRef:de.a.oneOfType([de.a.object,de.a.string,de.a.func])},Te={color:"success",isOpen:!0,tag:"div",closeAriaLabel:"Close",fade:!0,transition:Se(Se({},Ee.defaultProps),{},{unmountOnExit:!0})};function ke(e){var t=e.className,n=e.closeClassName,r=e.closeAriaLabel,o=e.cssModule,i=e.tag,c=e.color,a=e.isOpen,s=e.toggle,u=e.children,l=e.transition,f=e.fade,d=e.innerRef,p=se(e,["className","closeClassName","closeAriaLabel","cssModule","tag","color","isOpen","toggle","children","transition","fade","innerRef"]),h=$e(he()(t,"alert","alert-"+c,{"alert-dismissible":s}),o),$=$e(he()("close",n),o),b=Se(Se(Se({},Ee.defaultProps),l),{},{baseClass:f?l.baseClass:"",timeout:f?l.timeout:0});return ce.default.createElement(Ee,ae({},p,b,{tag:i,className:h,in:a,role:"alert",innerRef:d}),s?ce.default.createElement("button",{type:"button",className:$,"aria-label":r,onClick:s},ce.default.createElement("span",{"aria-hidden":"true"},"×")):null,u)}ke.propTypes=Ce,ke.defaultProps=Te;var Ae=ke;class Ie extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Tag","CSSModule","Color","Transition","IsOpen","Toggle","Custom"]}}function De(e,t){const n=Object(ie.d)(Object(f.c)(e=>6===e.tag?e.fields[0]:Object(l.g)(),e),1),r=Object(ie.d)(Object(f.b)(e=>6===e.tag?void 0:e,e),1);return ce.createElement(Ae,Object.assign({},n,r),...t)}var Pe=n(13);class Me extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Success","Failure","Info"]}}function Ne(e){switch(e.tag){case 0:return new Ie(2,"success");case 2:return new Ie(2,"info");default:return new Ie(2,"danger")}}function Re(e){switch(e.tag){case 0:case 2:default:return e.fields[0]}}function Fe(e){const t=e.hideAlert,n=e.alert,r=Object(a.c)();return Object(c.i)(()=>{!function(e,t){Object(a.i)(s.g.Delay(()=>s.g.Bind(Object(a.h)(5e3),()=>(e(),s.g.Zero()))),t)}(t,r)},[]),Object(ce.createElement)("div",{className:Object(d.g)(" ",["container-lg","fixed-top","mt-2"]),children:Pe.a.Children.toArray([De([Ne(n),new Ie(5,()=>{Object(a.a)(r),t()})],[Re(n)])])})}class Le{constructor(){}}function Be(e,t){return new J.e(0,t)}function Ue(e,t){return t}function Ge(e,t,n){return Object(J.g)(n,t)}new Le;class Ve{constructor(){}}function He(e,t){return s.g.Return(Be(0,t))}function We(e,t){return s.g.Delay(t)}new Ve;class ze extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class qe extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Header"]}}class Ye extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}o.d;class Xe extends o.c{constructor(e,t,n,r,o,i,c){super(),this.url=e,this.method=t,this.headers=n,this.withCredentials=r,this.overridenMimeType=o,this.overridenResponseType=i,this.content=c}}class Je extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Ze extends o.c{constructor(e,t,n,r,o){super(),this.statusCode=0|e,this.responseText=t,this.responseType=n,this.responseHeaders=r,this.content=o}}var Ke=n(14);const Qe=new Xe("",new ze(0),Object(l.g)(),!1,void 0,void 0,new Ye(0));new Ze(0,"","",q(),new Je(0,""));function et(e,t){return Object(d.e)(t)?[t]:Object(d.i)(t,[e],null,0)}function tt(e){return new Xe(e,Qe.method,Qe.headers,Qe.withCredentials,Qe.overridenMimeType,Qe.overridenResponseType,Qe.content)}function nt(e,t){return new Xe(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.content)}function rt(e,t){return new Xe(t.url,t.method,Object(l.a)(t.headers,Object(l.s)(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.content)}function ot(e,t){return new Xe(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,e)}function it(e){return Object(a.d)(t=>{const n=new XMLHttpRequest;n.open(function(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}(e.method),e.url),n.onreadystatechange=()=>{let e,r,o,i,c,a;4===n.readyState&&t[0]((r=n.responseType,e=""===r||"text"===r?n.responseText:"",o=0|n.status,i=n.responseType,a=n.responseType,c=""===a||"text"===a?new Je(0,n.responseText):new Je("arraybuffer"===a?2:"blob"===a?1:3,n.response),new Ze(o,e,i,function(e){const t=h();return L(t,A(t,e))}(Object(Ke.a)(e=>{const t=Object(l.p)(et(":",e));return null!=t.tail?[t.head.toLocaleLowerCase(),Object(d.g)(":",t.tail).trim()]:void 0},et("\r\n",n.getAllResponseHeaders()))),c)))};const r=Object(f.l)(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(e.fields[0],e.fields[1])}}finally{r.Dispose()}n.withCredentials=e.withCredentials;const o=e.overridenMimeType;null==o||n.overrideMimeType(o);const i=e.overridenResponseType;null==i||(1===i.tag?n.responseType="blob":2===i.tag?n.responseType="arraybuffer":n.responseType="text");const c=[e.method,e.content];0===c[0].tag?n.send(Object(u.f)(void 0)):1===c[1].tag||3===c[1].tag||2===c[1].tag?n.send(Object(u.f)(c[1].fields[0])):n.send(Object(u.f)(void 0))})}var ct=n(25);class at extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class st extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}o.c;class ut{constructor(){this.cache=new Map([])}}function lt(){return new ut}lt(),lt();function ft(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function dt(e,t){switch(e.tag){case 2:return Object(ct.b)(ft(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return ft(t)}}var pt=n(26),ht=n(21),$t=n(5);class bt extends o.c{constructor(e,t){super(),this.bound=0|e,this.digits=t}}function mt(e,t){for(;;){const n=e,r=t;if(0===r)return 1;if(r%2!=0)return n*mt(n*n,~~(r/2))|0;e=n*n,t=~~(r/2)}}Object($t.c)(2013265921,0,!1),Object($t.c)(2013265921,0,!0);Object(Ke.l)(28,e=>mt(2,e),Int32Array);function gt(e){return e.bound}function wt(e,t){return e.digits[t]}function yt(e,t){return Object($t.e)(wt(e,t),!1,2)}function Ot(e,t,n){e.digits[t]=n}function vt(e,t){for(;;){const n=e,r=t;if(0===r)return Object($t.c)(1,0,!1);if(r%2!=0)return Object($t.n)(n,vt(Object($t.n)(n,n),~~(r/2)));e=Object($t.n)(n,n),t=~~(r/2)}}function jt(e,t){for(;;){const n=e,r=t;if(0===r)return 1;if(r%2!=0)return n*jt(n*n,~~(r/2))|0;e=n*n,t=~~(r/2)}}const _t=Object($t.c)(16777216,0,!1),Et=Object($t.c)(16777215,0,!1);Object($t.c)(16777215,0,!0);function xt(e){return new bt(e,new Int32Array(e))}function St(e){const t=0|((e,t)=>{for(;;){const n=e,r=t;if(-1===r||0!==n[r])return r+1|0;e=n,t=r-1}})(e.digits,e.bound-1);return e.bound=t,e}function Ct(e){const t=0|(e<0?0:e);if(t<16777216){const e=xt(1);return e.digits[0]=t,St(e)}{const e=xt(2);for(let n=0;n<=1;n++)e.digits[n]=~~(t/jt(16777216,n))%16777216;return St(e)}}function Tt(e){if(1===e.bound)return 0|e.digits[0];{let t=0;for(let n=e.bound-1;n>=0;n--)t=e.digits[n]+16777216*t;return 0|t}}const kt=Ct(1),At=Ct(0);function It(e){return e.bound-1}function Dt(e){return 0===e.bound}function Pt(e,t){if(e.bound===t.bound){return((e,t,n)=>{for(;;){const r=e,o=t,i=n;if(-1===i)return!0;if(r[i]!==o[i])return!1;e=r,t=o,n=i-1}})(e.digits,t.digits,e.bound-1)}return!1}function Mt(e,t){if(e.bound<t.bound)return-1;if(e.bound>t.bound)return 1;return 0|((e,t,n)=>{for(;;){const r=e,o=t,i=n;if(-1===i)return 0;if(r[i]!==o[i])return r[i]<o[i]?-1:1;e=r,t=o,n=i-1}})(e.digits,t.digits,e.bound-1)}function Nt(e,t){return-1===Mt(e,t)}function Rt(e,t,n){for(;;){const r=e,o=t,i=n;if(!(Object($t.a)(o,Object($t.c)(0,0,!1))>0))break;{const c=Object($t.i)(yt(r,i),o);Ot(r,i,~~Object($t.r)(Object($t.j)(c,Et))),e=r,t=Object($t.k)(c,_t),n=i+1}}}function Ft(e,t){const n=0|gt(e),r=xt(n+1),o=Object($t.e)(t,!1,2);let i=Object($t.c)(0,0,!1);for(let t=0;t<=n-1;t++){const n=Object($t.i)(Object($t.i)(i,yt(r,t)),Object($t.n)(yt(e,t),o));Ot(r,t,~~Object($t.r)(Object($t.j)(n,Et))),i=Object($t.k)(n,_t)}return Rt(r,i,n),St(r)}function Lt(e,t){const n=1===gt(e),r=1===gt(t);return n&&r?function(e,t){const n=xt(2),r=Object($t.n)(Object($t.e)(e,!1,2),Object($t.e)(t,!1,2));return Ot(n,0,~~Object($t.r)(Object($t.j)(r,Et))),Ot(n,1,~~Object($t.r)(Object($t.k)(r,_t))),St(n)}(wt(e,0),wt(t,0)):n?Ft(t,wt(e,0)):r?Ft(e,wt(t,0)):function(e,t){const n=xt(e.bound+t.bound),r=n.digits;for(let o=0;o<=e.bound-1;o++){const i=Object($t.e)(e.digits[o],!1,2);let c=Object($t.c)(0,0,!1),a=0|o;for(let e=0;e<=t.bound-1;e++){const n=Object($t.e)(t.digits[e],!1,2),o=Object($t.i)(Object($t.i)(Object($t.e)(r[a],!1,2),c),Object($t.n)(i,n));r[a]=~~Object($t.r)(Object($t.j)(o,Et)),c=Object($t.k)(o,_t),a+=1}Rt(n,c,a)}return St(n)}(e,t)}class Bt extends o.c{constructor(e,t,n,r,o,i,c){super(),this.bigL=0|e,this.twoToBigL=0|t,this.k=0|n,this.bigK=0|r,this.bigN=0|o,this.split=0|i,this.splits=c}}function Ut(e,t,n,r){return new Bt(e,jt(2,e),t,n,r,~~(24/e),Object(Ke.l)(~~(24/e),t=>jt(2,e*t),Int32Array))}const Gt=[Ut(1,28,268435456,268435456),Ut(2,26,67108864,134217728),Ut(3,24,16777216,50331648),Ut(4,22,4194304,16777216),Ut(5,20,1048576,5242880),Ut(6,18,262144,1572864),Ut(7,16,65536,458752),Ut(8,14,16384,131072),Ut(9,12,4096,36864),Ut(10,10,1024,10240),Ut(11,8,256,2816),Ut(12,6,64,768),Ut(13,4,16,208)];Object(Ke.l)(24,e=>jt(2,e)-1,Int32Array),Object(Ke.l)(24,e=>jt(2,e),Int32Array),Object(Ke.l)(24,e=>vt(Object($t.c)(2,0,!1),e));Gt[0].bigN;function Vt(e,t){return Lt(e,t)}function Ht(e,t,n,r){const o=[e.digits,It(e)],i=o[0],c=[n.digits,It(n)],a=0|c[1],s=c[0],u=Object($t.e)(t,!1,2);let l=0,f=Object($t.n)(u,Object($t.e)(s[0],!1,2));for(;Object($t.a)(f,Object($t.c)(0,0,!1))>0||l<a;){if(l>o[1])throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let e=0|~~Object($t.r)(Object($t.j)(f,Et)),t=Object($t.k)(f,_t);e<=i[l+r]?i[l+r]=i[l+r]-e:(i[l+r]=i[l+r]+(16777216-e),t=Object($t.i)(t,Object($t.c)(1,0,!1))),f=l<a?Object($t.i)(t,Object($t.n)(u,Object($t.e)(s[l+1],!1,2))):t,l+=1}St(e)}function Wt(e,t,n,r){const o=[e.digits,It(e)],i=o[0],c=[n.digits,It(n)],a=0|c[1],s=c[0],u=Object($t.e)(t,!1,2);let l=0,f=Object($t.n)(u,Object($t.e)(s[0],!1,2));for(;Object($t.a)(f,Object($t.c)(0,0,!1))>0||l<a;){if(l>o[1])throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let e=0|~~Object($t.r)(Object($t.j)(f,Et)),t=Object($t.k)(f,_t);e<16777216-i[l+r]?i[l+r]=i[l+r]+e:(i[l+r]=e-(16777216-i[l+r]),t=Object($t.i)(t,Object($t.c)(1,0,!1))),f=l<a?Object($t.i)(t,Object($t.n)(u,Object($t.e)(s[l+1],!1,2))):t,l+=1}St(e)}function zt(e,t,n){const r=[It(t),It(e)],o=0|r[1],i=0|r[0];if(o<i+n)return 0;{const r=[t.digits,e.digits],l=r[1],f=r[0],d=0|(0===i?o===n?~~(l[n]/f[0]):~~Object($t.r)(Object($t.k)(Object($t.i)(Object($t.n)(Object($t.e)(l[o],!1,2),_t),Object($t.e)(l[o-1],!1,2)),Object($t.e)(f[0],!1,2))):o===i+n?~~(l[o]/(f[i]+1)):~~Object($t.r)(Object($t.k)(Object($t.i)(Object($t.n)(Object($t.e)(l[o],!1,2),_t),Object($t.e)(l[o-1],!1,2)),Object($t.i)(Object($t.e)(f[i],!1,2),Object($t.c)(1,0,!1)))));return 0===d?1!=(a=n,s=e,u=0,(c=t).bound+a<s.bound+u?-1:c.bound+a>s.bound+a?1:0|((e,t,n)=>{e:for(;;){const r=e,o=t,i=n;if(-1===i)return 0;{const c=0|(i<a?0:r[i-a]),s=0|(i<u?0:o[i-u]);if(c===s){e=r,t=o,n=i-1;continue e}return c<s?-1:1}}})(c.digits,s.digits,c.bound+a-1))?1:0:0|d}var c,a,s,u}function qt(e,t){if(Dt(t))throw new Error;if(It(e)<It(t))return[At,e];{const n=function(e){return new bt(e.bound,Object(Ke.d)(e.digits))}(e),r=xt(It(e)-It(t)+1+1);let o=0|It(e);const i=0|It(t);let c=o-i|0;const a=e=>{};let s=!1;for(;!s;){a([r,n,c,o]);const e=0|zt(n,t,c);e>0?(Ht(n,e,t,c),Wt(r,e,kt,c),a([r,n,c,o])):(s=0===e&&0===c,s||(o===i+c?(a([r,n,c-1,o]),c-=1):(a([r,n,c-1,o-1]),c-=1,o-=1)))}return[St(r),St(n)]}}Ct(2);function Yt(e){return Ct(e)}function Xt(e){return function(e){const t=Object($t.a)(e,Object($t.c)(0,0,!1))<0?Object($t.c)(0,0,!1):e,n=xt(3);for(let e=0;e<=2;e++)n.digits[e]=~~Object($t.r)(Object($t.m)(Object($t.k)(t,vt(_t,e)),_t));return St(n)}(e)}function Jt(e){const t=0|It(e),n=(e,t,i,c)=>{e:for(;;){const a=e,s=t,u=i,l=c;if(null==l.tail){const e=0|Tt(u);return a&&0===e?s:new o.b(Object(r.q)(e),s)}{const r=l.tail,o=qt(u,l.head[1]),f=o[1],d=o[0];if(a&&Dt(d)){e=a,t=s,i=f,c=r;continue e}e=a,t=n(!1,s,f,r),i=d,c=r}}},i=n(!0,new o.b,e,((e,n,r)=>{for(;;){const i=e,c=n,a=r;if(It(a)>t)return new o.b([c,a],i);e=new o.b([c,a],i),n=c+1,r=Vt(a,a)}})(new o.b,0,Ct(10)));return null==i.tail?"0":Object(d.g)("",Array.from(i))}function Zt(e){return e.bound<=1}function Kt(e){const t=e;return 0<t.bound?0|t.digits[0]:0}n(22);class Qt extends o.c{constructor(e,t){super(),this.signInt=e,this.v=t}toString(){const e=this;switch(0|nn(e)){case-1:return Dt(rn(e))?"0":"-"+Jt(rn(e));case 0:return"0";case 1:return Jt(rn(e));default:throw new Error("signs should be +/- 1 or 0")}}Equals(e){return e instanceof Qt&&on(this,e)}GetHashCode(){return 0|(0===nn(e=this)?1:nn(e)+function(e){let t=0;for(let n=0;n<=e.bound-1;n++)t=e.digits[n]+(t<<3);return 0|t}(rn(e))|0);var e}CompareTo(e){if(e instanceof Qt)return 0|(cn(t=this,n=e)?-1:on(t,n)?0:1);throw new Error("the objects are not comparable\\nParameter name: obj");var t,n}}function en(e,t){return new Qt(e,t)}function tn(e){return Zt(e)&&Kt(e)<Qt.smallLim?Qt.smallPosTab[Kt(e)]:e}function nn(e){return e.signInt}function rn(e){return e.v}function on(e,t){const n=[nn(e),nn(t)];let r;switch(r=-1===n[0]?-1===n[1]?1:0===n[1]?8:1===n[1]?3:9:0===n[0]?-1===n[1]?6:0===n[1]?4:1===n[1]?5:9:1===n[0]?-1===n[1]?2:0===n[1]?7:1===n[1]?0:9:9,r){case 0:case 1:return Pt(rn(e),rn(t));case 2:case 3:return!!Dt(rn(e))&&Dt(rn(t));case 4:return!0;case 5:case 6:return Dt(rn(t));case 7:case 8:return Dt(rn(e));case 9:throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}}function cn(e,t){const n=[nn(e),nn(t)];let r;switch(r=-1===n[0]?-1===n[1]?1:0===n[1]?8:1===n[1]?3:9:0===n[0]?-1===n[1]?6:0===n[1]?4:1===n[1]?5:9:1===n[0]?-1===n[1]?2:0===n[1]?7:1===n[1]?0:9:9,r){case 0:return Nt(rn(e),rn(t));case 1:return Nt(rn(t),rn(e));case 2:return!1;case 3:return!Dt(rn(e))||!Dt(rn(t));case 4:return!1;case 5:return!Dt(rn(t));case 6:case 7:return!1;case 8:return!Dt(rn(e));case 9:throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}}function an(e){return e>=0?en(1,tn(Yt(e))):en(-1,tn(-2147483648===e?Xt(Object($t.p)(Object($t.e)(e,!1,2))):Yt(Object(ht.b)(e))))}function sn(){return Qt.one}function un(){return Qt.two}function ln(){return Qt.zero}Qt.smallLim=4096,Qt.smallPosTab=Object(Ke.l)(Qt.smallLim,e=>Yt(e)),Qt.one=an(1),Qt.two=an(2),Qt.zero=an(0);ln(),sn(),un();ln(),sn();var fn=n(20);function dn(e,t){const n=new Date(e);return n.offset=null!=t?t:-6e4*(new Date).getTimezoneOffset(),n}function pn(e,t){try{return t.contents=function(e){const t=Object(fn.f)(e),n=fn.e.exec(e),r=null==n?-6e4*t.getTimezoneOffset():"Z"===n[0]?0:36e5*parseInt(n[1],10)+6e4*parseInt(n[2],10);return dn(t.getTime(),r)}(e),!0}catch(e){return!1}}function hn(e){return e<0?Math.ceil(e):Math.floor(e)}function $n(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return bn(arguments[0]);case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],o=0}return 864e5*e+36e5*t+6e4*n+1e3*r+o}function bn(e){return Object($t.s)(Object($t.k)(e,1e4))}r.h,r.h;function mn(e,t="c",n){if(-1===["c","g","G"].indexOf(t))throw new Error("Custom formats are not supported");const o=Math.abs(function(e){return hn(e/864e5)}(e)),i=Math.abs(function(e){return hn(e%864e5/36e5)}(e)),c=Math.abs(function(e){return hn(e%36e5/6e4)}(e)),a=Math.abs(function(e){return hn(e%6e4/1e3)}(e)),s=Math.abs(function(e){return hn(e%1e3)}(e));return`${e<0?"-":""}${0!==o||"c"!==t&&"g"!==t?"c"===t?o+".":o+":":""}${"g"===t?i:Object(r.y)(i,2)}:${Object(r.y)(c,2)}:${Object(r.y)(a,2)}${0!==s||"c"!==t&&"g"!==t?"g"===t?"."+Object(r.y)(s,3):"."+Object(r.x)(s,3,7):""}`}function gn(e,t){try{return t.contents=function(e){const t=e.search("\\."),n=e.search("\\:");if(-1===t&&-1===n){const t=parseInt(e,0);if(isNaN(t))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return $n(t,0,0,0,0)}if(n>0){const t=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(null!=t&&null!=t[4]&&null!=t[5]){let n=0,r=0,o=0;const i=null!=t[1]&&"-"===t[1]?-1:1,c=+t[4],a=+t[5];if(null!=t[3]&&(n=+t[3]),null!=t[7]&&(o=+t[7]),null!=t[8])switch(t[8].length){case 1:r=100*+t[8];break;case 2:r=10*+t[8];break;case 3:r=+t[8];break;case 4:r=+t[8]/10;break;case 5:r=+t[8]/100;break;case 6:r=+t[8]/1e3;break;case 7:r=+t[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return i*$n(n,c,a,o,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}n(23);class wn{constructor(e){this.k=e}}function yn(e){return new wn(e)}function On(e){return e.k}class vn extends wn{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=r}}function jn(e,t,n,r){return new vn(e,t,n,r)}function _n(e){return e.left}function En(e){return e.right}function xn(e){return e.h}function Sn(e){return function e(t,n){e:for(;;){const r=t,o=n;if(null!=r){const i=r;if(i instanceof vn){t=_n(i),n=e(En(i),o+1);continue e}return o+1|0}return 0|o}}(e,0)}function Cn(e,t,n){let r;if(null!=e){const t=e;r=t instanceof vn?xn(t):1}else r=0;let o;if(null!=n){const e=n;o=e instanceof vn?xn(e):1}else o=0;const i=0|(r<o?o:r);return 0===i?yn(t):jn(t,e,n,i+1)}function Tn(e,t,n){let r,o,i,c,a;if(null!=e){const t=e;a=t instanceof vn?xn(t):1}else a=0;let s;if(null!=n){const e=n;s=e instanceof vn?xn(e):1}else s=0;if(s>a+2){const i=Object(u.i)(n);if(i instanceof vn){if(r=_n(i),(null!=r?(o=r,o instanceof vn?xn(o):1):0)>a+1){const n=Object(u.i)(_n(i));if(n instanceof vn)return Cn(Cn(e,t,_n(n)),On(n),Cn(En(n),On(i),En(i)));throw new Error("internal error: Set.rebalance")}return Cn(Cn(e,t,_n(i)),On(i),En(i))}throw new Error("internal error: Set.rebalance")}if(a>s+2){const r=Object(u.i)(e);if(r instanceof vn){if(i=En(r),(null!=i?(c=i,c instanceof vn?xn(c):1):0)>s+1){const e=Object(u.i)(En(r));if(e instanceof vn)return Cn(Cn(_n(r),On(r),_n(e)),On(e),Cn(En(e),t,n));throw new Error("internal error: Set.rebalance")}return Cn(_n(r),On(r),Cn(En(r),t,n))}throw new Error("internal error: Set.rebalance")}return Cn(e,t,n)}function kn(e,t,n){if(null!=n){const r=n,o=0|e.Compare(t,On(r));if(r instanceof vn)return o<0?Tn(kn(e,t,_n(r)),On(r),En(r)):0===o?n:Tn(_n(r),On(r),kn(e,t,En(r)));{const o=0|e.Compare(t,On(r));return o<0?jn(t,void 0,n,2):0===o?n:jn(t,n,void 0,2)}}return yn(t)}function An(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const c=i,a=0|r.Compare(o,On(c));if(c instanceof vn){if(a<0){e=r,t=o,n=_n(c);continue e}if(0===a)return!0;e=r,t=o,n=En(c);continue e}return 0===a}return!1}}function In(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof vn){In(n,_n(o)),n(On(o)),e=n,t=En(o);continue e}n(On(o))}break}}class Dn extends o.c{constructor(e,t){super(),this.stack=e,this.started=t}}function Pn(e){e:for(;;){const t=e;if(null==t.tail)return new o.b;{const n=t.head,r=t.tail;if(null!=n){const i=n;if(i instanceof vn){e=new o.b(_n(i),new o.b(yn(On(i)),new o.b(En(i),r)));continue e}return t}e=r}}}function Mn(e){return new Dn(Pn(new o.b(e,new o.b)),!1)}function Nn(e){if(e.started){const t=e.stack;if(null==t.tail)return function(){throw new Error("Enumeration already started")}();if(null!=t.head){return On(t.head)}throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function Rn(e){let t=Mn(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Nn(t),"System.Collections.IEnumerator.get_Current":()=>Nn(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(null!=t.tail){if(null!=t.head){if(t.head instanceof vn)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Pn(t.tail),!(null==e.stack.tail)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return!1}return e.started=!0,!(null==e.stack.tail)}(t),"System.Collections.IEnumerator.Reset"(){t=Mn(e)},Dispose(){}}}function Fn(e,t,n){return null==t?null==n?0:-1:null==n?1:0|function(e,t,n){e:for(;;){const r=e,i=t,c=n,a=[i,c];if(null==a[0].tail)return null==a[1].tail?0:-1;if(null==a[1].tail)return 1;if(null!=a[1].head)if(null!=a[0].head){const s=a[0].head,u=a[1].head;if(s instanceof vn)if(null==_n(s)){if(!(u instanceof vn)){const i=0|r.Compare(On(s),On(u));if(0!==i)return 0|i;e=r,t=new o.b(En(s),a[0].tail),n=new o.b(void 0,a[1].tail);continue e}if(null==_n(u)){const i=0|r.Compare(On(s),On(u));if(0!==i)return 0|i;e=r,t=new o.b(En(s),a[0].tail),n=new o.b(En(u),a[1].tail);continue e}{const a=[i,c];let s,u,l,f,d;switch(null!=a[0].tail&&null!=a[0].head?(s=0,u=a[0].tail,l=a[0].head):null!=a[1].tail&&null!=a[1].head?(s=1,f=a[1].tail,d=a[1].head):s=2,s){case 0:if(l instanceof vn){e=r,t=new o.b(_n(l),new o.b(jn(On(l),void 0,En(l),0),u)),n=c;continue e}e=r,t=new o.b(void 0,new o.b(yn(On(l)),u)),n=c;continue e;case 1:if(d instanceof vn){e=r,t=i,n=new o.b(_n(d),new o.b(jn(On(d),void 0,En(d),0),f));continue e}e=r,t=i,n=new o.b(void 0,new o.b(yn(On(d)),f));continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const a=[i,c];let s,u,l,f,d;switch(null!=a[0].tail&&null!=a[0].head?(s=0,u=a[0].tail,l=a[0].head):null!=a[1].tail&&null!=a[1].head?(s=1,f=a[1].tail,d=a[1].head):s=2,s){case 0:if(l instanceof vn){e=r,t=new o.b(_n(l),new o.b(jn(On(l),void 0,En(l),0),u)),n=c;continue e}e=r,t=new o.b(void 0,new o.b(yn(On(l)),u)),n=c;continue e;case 1:if(d instanceof vn){e=r,t=i,n=new o.b(_n(d),new o.b(jn(On(d),void 0,En(d),0),f));continue e}e=r,t=i,n=new o.b(void 0,new o.b(yn(On(d)),f));continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(u instanceof vn)){const o=0|r.Compare(On(s),On(u));if(0!==o)return 0|o;e=r,t=a[0].tail,n=a[1].tail;continue e}if(null==_n(u)){const i=0|r.Compare(On(s),On(u));if(0!==i)return 0|i;e=r,t=new o.b(void 0,a[0].tail),n=new o.b(En(u),a[1].tail);continue e}{const a=[i,c];let s,u,l,f,d;switch(null!=a[0].tail&&null!=a[0].head?(s=0,u=a[0].tail,l=a[0].head):null!=a[1].tail&&null!=a[1].head?(s=1,f=a[1].tail,d=a[1].head):s=2,s){case 0:if(l instanceof vn){e=r,t=new o.b(_n(l),new o.b(jn(On(l),void 0,En(l),0),u)),n=c;continue e}e=r,t=new o.b(void 0,new o.b(yn(On(l)),u)),n=c;continue e;case 1:if(d instanceof vn){e=r,t=i,n=new o.b(_n(d),new o.b(jn(On(d),void 0,En(d),0),f));continue e}e=r,t=i,n=new o.b(void 0,new o.b(yn(On(d)),f));continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{a[1].head;const s=[i,c];let u,l,f,d,p;switch(null!=s[0].tail&&null!=s[0].head?(u=0,l=s[0].tail,f=s[0].head):null!=s[1].tail&&null!=s[1].head?(u=1,d=s[1].tail,p=s[1].head):u=2,u){case 0:if(f instanceof vn){e=r,t=new o.b(_n(f),new o.b(jn(On(f),void 0,En(f),0),l)),n=c;continue e}e=r,t=new o.b(void 0,new o.b(yn(On(f)),l)),n=c;continue e;case 1:if(p instanceof vn){e=r,t=i,n=new o.b(_n(p),new o.b(jn(On(p),void 0,En(p),0),d));continue e}e=r,t=i,n=new o.b(void 0,new o.b(yn(On(p)),d));continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==a[0].head){e=r,t=a[0].tail,n=a[1].tail;continue e}{a[0].head;const s=[i,c];let u,l,f,d,p;switch(null!=s[0].tail&&null!=s[0].head?(u=0,l=s[0].tail,f=s[0].head):null!=s[1].tail&&null!=s[1].head?(u=1,d=s[1].tail,p=s[1].head):u=2,u){case 0:if(f instanceof vn){e=r,t=new o.b(_n(f),new o.b(jn(On(f),void 0,En(f),0),l)),n=c;continue e}e=r,t=new o.b(void 0,new o.b(yn(On(f)),l)),n=c;continue e;case 1:if(p instanceof vn){e=r,t=i,n=new o.b(_n(p),new o.b(jn(On(p),void 0,En(p),0),d));continue e}e=r,t=i,n=new o.b(void 0,new o.b(yn(On(p)),d));continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,new o.b(t,new o.b),new o.b(n,new o.b))}function Ln(e,t,n){let r=0|n;In(e=>{t[r]=e,r+=1},e)}function Bn(e,t){const n=Object(f.l)(t);try{return function(e,t,n){for(;;){const r=e,o=t,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;e=r,t=kn(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i}}(e,void 0,n)}finally{n.Dispose()}}class Un{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t=0;const n=Object(f.l)(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const e=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+Object(r.E)(e)+631}}finally{n.Dispose()}return 0|Math.abs(t)}(this)}Equals(e){return e instanceof Un&&0===Fn(Vn(this),Hn(this),Hn(e))}toString(){return"set ["+Object(d.g)("; ",Object(f.p)(e=>{let t=e;return Object(o.e)(t)},this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}CompareTo(e){return 0|Fn(Vn(this),Hn(this),Hn(e))}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return An(Vn(this),e,Hn(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){Ln(Hn(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|Wn(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|Wn(this)}GetEnumerator(){return Rn(Hn(this))}[Symbol.iterator](){return Object(f.C)(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Rn(Hn(this))}get size(){return 0|Wn(this)}add(e){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(e){throw new Error("Set cannot be mutated")}has(e){return zn(this,e)}keys(){return Object(f.p)(e=>e,this)}values(){return Object(f.p)(e=>e,this)}entries(){return Object(f.p)(e=>[e,e],this)}forEach(e,t){const n=this;Object(f.n)(t=>{e(t,t,n)},n)}}function Gn(e,t){return new Un(e,t)}function Vn(e){return e.comparer}function Hn(e){return e.tree}function Wn(e){return Sn(Hn(e))}function zn(e,t){return An(Vn(e),t,Hn(e))}function qn(e,t){return Gn(t,Bn(t,e))}function Yn(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?"\n":" ")+JSON.stringify(t,null,4)}catch(t){return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(n?"\n":" ")}}function Xn(e,t){const n=2===t.tag?Yn(t.fields[0],t.fields[1],!0):1===t.tag?Yn(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?Yn(t.fields[0],t.fields[1],!0):4===t.tag?Yn(t.fields[0],t.fields[1],!0)+"\nNode `"+t.fields[2]+"` is unkown.":5===t.tag?"Expecting "+t.fields[0]+".\n"+JSON.stringify(t.fields[1],null,4):7===t.tag?"The following errors were found:\n\n"+Object(d.g)("\n\n",t.fields[0]):6===t.tag?"The following `failure` occurred with the decoder: "+t.fields[0]:Yn(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}function Jn(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new J.e(1,Xn(e[0],e[1]))}return new J.e(0,r.fields[0])}function Zn(e,t){try{return Jn("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new J.e(1,"Given an invalid JSON: "+e.message);throw e}}const Kn=e=>t=>{const n=e,r=t;if("number"==typeof r){const e=r;return isFinite(e)&&Math.floor(e)===e?-128<=e&&e<=127?new J.e(0,(e+128&255)-128):new J.e(1,[n,new at(1,"a sbyte",e,"Value was either too large or too small for a sbyte")]):new J.e(1,[n,new at(1,"a sbyte",e,"Value is not an integral value")])}if("string"==typeof r){let e,t=0;return e=[Object(ht.d)(r,511,!1,8,new o.a(()=>t,e=>{t=e})),t],e[0]?new J.e(0,e[1]):new J.e(1,[n,new at(0,"a sbyte",r)])}return new J.e(1,[n,new at(0,"a sbyte",r)])},Qn=e=>t=>{const n=e,r=t;if("number"==typeof r){const e=r;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=255?new J.e(0,255&e):new J.e(1,[n,new at(1,"a byte",e,"Value was either too large or too small for a byte")]):new J.e(1,[n,new at(1,"a byte",e,"Value is not an integral value")])}if("string"==typeof r){let e,t=0;return e=[Object(ht.d)(r,511,!0,8,new o.a(()=>t,e=>{t=e})),t],e[0]?new J.e(0,e[1]):new J.e(1,[n,new at(0,"a byte",r)])}return new J.e(1,[n,new at(0,"a byte",r)])},er=e=>t=>{const n="an int16",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-32768<=e&&e<=32767?new J.e(0,(e+32768&65535)-32768):new J.e(1,[r,new at(1,n,e,"Value was either too large or too small for "+n)]):new J.e(1,[r,new at(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Object(ht.d)(i,511,!1,16,new o.a(()=>t,e=>{t=e})),t],e[0]?new J.e(0,e[1]):new J.e(1,[r,new at(0,n,i)])}return new J.e(1,[r,new at(0,n,i)])},tr=e=>t=>{const n="an uint16",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=65535?new J.e(0,65535&e):new J.e(1,[r,new at(1,n,e,"Value was either too large or too small for "+n)]):new J.e(1,[r,new at(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Object(ht.d)(i,511,!0,16,new o.a(()=>t,e=>{t=e})),t],e[0]?new J.e(0,e[1]):new J.e(1,[r,new at(0,n,i)])}return new J.e(1,[r,new at(0,n,i)])},nr=e=>t=>{const n=e,r=t;if("number"==typeof r){const e=r;return isFinite(e)&&Math.floor(e)===e?-2147483648<=e&&e<=2147483647?new J.e(0,~~e):new J.e(1,[n,new at(1,"an int",e,"Value was either too large or too small for an int")]):new J.e(1,[n,new at(1,"an int",e,"Value is not an integral value")])}if("string"==typeof r){let e,t=0;return e=[Object(ht.d)(r,511,!1,32,new o.a(()=>t,e=>{t=e})),t],e[0]?new J.e(0,e[1]):new J.e(1,[n,new at(0,"an int",r)])}return new J.e(1,[n,new at(0,"an int",r)])},rr=e=>t=>{const n="an uint32",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=4294967295?new J.e(0,e>>>0):new J.e(1,[r,new at(1,n,e,"Value was either too large or too small for "+n)]):new J.e(1,[r,new at(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Object(ht.d)(i,511,!0,32,new o.a(()=>t,e=>{t=e})),t],e[0]?new J.e(0,e[1]):new J.e(1,[r,new at(0,n,i)])}return new J.e(1,[r,new at(0,n,i)])};function or(e,t){if("string"==typeof t){let n,r=dn(-621355968e5,0);return n=[pn(t,new o.a(()=>r,e=>{r=e})),r],n[0]?new J.e(0,n[1]):new J.e(1,[e,new at(0,"a datetimeoffset",t)])}return new J.e(1,[e,new at(0,"a datetime",t)])}function ir(e,t,n,o){let i;const c=n+".["+Object(r.q)(e)+"]";if(Array.isArray(o)){const n=o;return e<n.length?t(c,n[e]):new J.e(1,[c,new at(5,"a longer array. Need index `"+Object(r.q)(e)+"` but there are only `"+(i=0|n.length,Object(r.q)(i)+"` entries"),o)])}return new J.e(1,[c,new at(0,"an array",o)])}function cr(e,t,n){if(Array.isArray(n)){let o=-1;return Object(J.g)(e=>Object(l.r)(e),Object(Ke.i)((n,i)=>{if(o+=1,0===n.tag){const c=e(t+".["+Object(r.q)(o)+"]",i);return 0===c.tag?new J.e(0,Object(l.e)(c.fields[0],n.fields[0])):new J.e(1,c.fields[0])}return n},new J.e(0,Object(l.g)()),n))}return new J.e(1,[t,new at(0,"a list",n)])}function ar(e,t,n){if(Array.isArray(n)){let o=-1;const i=n;return Object(Ke.i)((n,i)=>{if(o+=1,0===n.tag){const c=n.fields[0],a=e(t+".["+Object(r.q)(o)+"]",i);return 0===a.tag?(c[o]=a.fields[0],new J.e(0,c)):new J.e(1,a.fields[0])}return n},new J.e(0,Object(Ke.g)(new Array(i.length),0,i.length,null)),i)}return new J.e(1,[t,new at(0,"an array",n)])}function sr(e,t,n){return new J.e(0,e)}function ur(e,t,n,r){const o=t(n,r);return 0===o.tag?e(o.fields[0],n,r):new J.e(1,o.fields[0])}function lr(e,t,n,r){const o=t(n,r);return 1===o.tag?new J.e(1,o.fields[0]):new J.e(0,e(o.fields[0]))}function fr(e,t){let n;const o=e;return n=e=>t=>ir(0,o,e,t),e=>o=>ur(Object(r.F)(3,e=>{let n;const o=t;return n=e=>t=>ir(1,o,e,t),t=>o=>ur((t,n,r)=>sr([e,t]),Object(r.F)(2,n),t,o)}),Object(r.F)(2,n),e,o)}function dr(e){return B(e)}function pr(e,t,n,o){let i,c;return t.length!==o.length?new J.e(1,[n,new at(6,(i=0|o.length,c=0|t.length,Object(d.l)(Object(d.h)("Expected %i %s but got %i"))(c)(e)(i)))]):Object(Ke.k)(Object(r.F)(3,Object(r.t)(e=>t=>r=>0===r.tag?Object(J.g)(e=>Object(l.e)(e,r.fields[0]),t(n,e)):r,[0,[0,2],0])),o,t,new J.e(0,Object(l.g)()))}function hr(e,t,n,r,o,c){const a=Object(Ke.s)(e=>Object(i.E)(e)===r,Object(i.q)(n,!0));if(null!=a){const n=a;return 0===c.length?new J.e(0,Object(i.D)(n,[],!0)):Object(J.g)(e=>Object(i.D)(n,Array.from(e),!0),pr("union fields",Object(Ke.m)(n=>br(e,t,!1,n[1]),Object(i.p)(n)),o,c))}return new J.e(1,[o,new at(6,"Cannot find case "+r+" in "+Object(i.f)(n))])}function $r(e,t,n,c){const a=new o.a(null),s=H(Object(i.f)(c),a,e);let u;if(Object(i.w)(c,!0)){const e=Object(Ke.m)(e=>[dt(t,Object(i.E)(e)),br(s,t,!1,e[1])],Object(i.l)(c,!0));u=t=>n=>Object(J.g)(e=>Object(i.B)(c,Array.from(e),!0),function(e,t,n){return null===n||Object.getPrototypeOf(n||!1)!==Object.prototype?new J.e(1,[t,new at(0,"an object",n)]):Object(Ke.j)(Object(r.F)(2,e=>{const r=e[0];return o=>0===o.tag?Object(J.g)(e=>Object(l.e)(e,o.fields[0]),e[1](t+"."+r)(n[r])):o}),e,new J.e(0,Object(l.g)()))}(e,t,n))}else if(Object(i.y)(c,!0))u=e=>n=>{if("string"==typeof n)return hr(s,t,c,n,e,[]);if(Array.isArray(n)){const r=n;return hr(s,t,c,r[0],e,r.slice(1,r.length))}return new J.e(1,[e,new at(0,"a string or array",n)])};else{if(!n){let e;const t=Object(i.f)(c);throw e=Object(d.l)(Object(d.h)("Cannot generate auto decoder for %s. Please pass an extra decoder."))(t),new Error(e)}u=e=>t=>new J.e(1,[e,new at(2,"an extra coder for "+Object(i.f)(c),t)])}return a.contents=u,u}function br(e,t,n,c){let a;const s=Object(i.f)(c),p=W(s,e);if(null==p){if(Object(i.t)(c)){const n=br(e,t,!1,Object(i.g)(c));return e=>t=>ar(Object(r.F)(2,n),e,t)}if(Object(i.u)(c)){const e=Object(i.f)(Object(i.h)(c));if("System.SByte"===e)return e=>t=>{const n=c,r=e,o=t,a=Kn(r)(o);if(1===a.tag)return new J.e(1,a.fields[0]);{const e=0|a.fields[0];return Object(f.f)(e,Object(i.i)(n))?new J.e(0,Object(i.H)(n,e.toString())):new J.e(1,[r,new at(1,Object(i.f)(n),o,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>t=>{const n=c,r=e,o=t,a=Qn(r)(o);if(1===a.tag)return new J.e(1,a.fields[0]);{const e=a.fields[0];return Object(f.f)(e,Object(i.i)(n))?new J.e(0,Object(i.H)(n,e.toString())):new J.e(1,[r,new at(1,Object(i.f)(n),o,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>t=>{const n=c,o=e,a=t,s=er(o)(a);if(1===s.tag)return new J.e(1,s.fields[0]);{const e=0|s.fields[0];return Object(f.f)(e,Object(i.i)(n))?new J.e(0,Object(i.H)(n,Object(r.p)(e))):new J.e(1,[o,new at(1,Object(i.f)(n),a,"Unkown value provided for the enum")])}};if("System.UInt16"===e)return e=>t=>{const n=c,r=e,o=t,a=tr(r)(o);if(1===a.tag)return new J.e(1,a.fields[0]);{const e=a.fields[0];return Object(f.f)(e,Object(i.i)(n))?new J.e(0,Object(i.H)(n,e.toString())):new J.e(1,[r,new at(1,Object(i.f)(n),o,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>t=>{const n=c,o=e,a=t,s=nr(o)(a);if(1===s.tag)return new J.e(1,s.fields[0]);{const e=0|s.fields[0];return Object(f.f)(e,Object(i.i)(n))?new J.e(0,Object(i.H)(n,Object(r.q)(e))):new J.e(1,[o,new at(1,Object(i.f)(n),a,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>t=>{const n=c,r=e,o=t,a=rr(r)(o);if(1===a.tag)return new J.e(1,a.fields[0]);{const e=a.fields[0];return Object(f.f)(e,Object(i.i)(n))?new J.e(0,Object(i.H)(n,e.toString())):new J.e(1,[r,new at(1,Object(i.f)(n),o,"Unkown value provided for the enum")])}};{const e=Object(i.f)(c),t=Object(d.k)(Object(d.h)("Cannot generate auto decoder for %s.\nThoth.Json.Net only support the folluwing enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra decoder.\n "))(e);return e=>{const n=t(e);return e=>n(e)}}}if(Object(i.v)(c)){if(Object(i.x)(c)){const n=Object(Ke.m)(n=>br(e,t,!1,n),Object(i.n)(c));return e=>t=>Array.isArray(t)?Object(J.g)(e=>Object(i.C)(Array.from(e),c),pr("tuple elements",n,e,t)):new J.e(1,[e,new at(0,"an array",t)])}{const o=Object(i.f)(Object(i.j)(c));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===o){const n=br(e,t,!0,Object(i.k)(c)[0]);return e=>t=>{return o=Object(r.F)(2,n),i=e,null==(c=t)?new J.e(0,void 0):Object(J.g)(e=>Object(u.f)(e),o(i,c));var o,i,c}}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===o){const n=br(e,t,!1,Object(i.k)(c)[0]);return e=>t=>cr(Object(r.F)(2,n),e,t)}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===o){const n=br(e,t,!1,Object(i.k)(c)[0]),o=br(e,t,!1,Object(i.k)(c)[1]);let s;const u=Object(l.p)([e=>t=>function(e,t,n,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new J.e(1,[n,new at(0,"an object",r)]):Object(f.i)((o,i)=>{if(0===o.tag){const c=e(n,i);if(0===c.tag){const e=t(n+"."+i,r[i]);return 0===e.tag?new J.e(0,Object(l.e)([c.fields[0],e.fields[0]],o.fields[0])):new J.e(1,e.fields[0])}return new J.e(1,c.fields[0])}return o},new J.e(0,Object(l.g)()),Object.keys(r))}(Object(r.F)(2,n),Object(r.F)(2,o),e,t),(a=fr(Object(r.F)(2,n),Object(r.F)(2,o)),e=>t=>cr(Object(r.F)(2,a),e,t))]);return s=e=>t=>{return n=e,o=t,((e,t)=>{e:for(;;){const i=e,c=t;if(null==i.tail)return new J.e(1,[n,new at(7,c)]);{const a=Jn(n,Object(r.F)(2,i.head),o);if(1===a.tag){e=i.tail,t=Object(l.a)(c,Object(l.s)(a.fields[0]));continue e}return new J.e(0,a.fields[0])}}})(u,Object(l.g)());var n,o},e=>t=>lr(e=>dr(e),Object(r.F)(2,s),e,t)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===o){const n=br(e,t,!1,Object(i.k)(c)[0]);return e=>t=>{const o=ar(Object(r.F)(2,n),e,t);return 0===o.tag?new J.e(0,qn(o.fields[0],{Compare:(e,t)=>Object(r.e)(e,t)})):new J.e(1,o.fields[0])}}return $r(e,t,n,c)}}return"System.Boolean"===s?e=>t=>{return n=e,"boolean"==typeof(r=t)?new J.e(0,r):new J.e(1,[n,new at(0,"a boolean",r)]);var n,r}:"Microsoft.FSharp.Core.Unit"===s?e=>t=>{return n=e,null==(r=t)?new J.e(0,void 0):new J.e(1,[n,new at(0,"null",r)]);var n,r}:"System.String"===s?e=>t=>{return n=e,"string"==typeof(r=t)?new J.e(0,r):new J.e(1,[n,new at(0,"a string",r)]);var n,r}:"System.SByte"===s?Kn:"System.Byte"===s?Qn:"System.Int16"===s?er:"System.UInt16"===s?tr:"System.Int32"===s?nr:"System.UInt32"===s?rr:"System.Double"===s?e=>t=>{return n=e,"number"==typeof(r=t)?new J.e(0,r):new J.e(1,[n,new at(0,"a float",r)]);var n,r}:"System.Single"===s?e=>t=>{return n=e,"number"==typeof(r=t)?new J.e(0,r):new J.e(1,[n,new at(0,"a float32",r)]);var n,r}:"System.DateTime"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r=Object(fn.d)();return n=[Object(fn.i)(t,new o.a(()=>r,e=>{r=e})),r],n[0]?new J.e(0,Object(fn.h)(n[1])):new J.e(1,[e,new at(0,"a datetime",t)])}return new J.e(1,[e,new at(0,"a datetime",t)])}(e,t):"System.DateTimeOffset"===s?e=>t=>or(e,t):"System.TimeSpan"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[gn(t,new o.a(()=>r,e=>{r=e})),r],n[0]?new J.e(0,n[1]):new J.e(1,[e,new at(0,"a timespan",t)])}return new J.e(1,[e,new at(0,"a timespan",t)])}(e,t):"System.Guid"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r="00000000-0000-0000-0000-000000000000";return n=[Object(pt.b)(t,new o.a(()=>r,e=>{r=e})),r],n[0]?new J.e(0,n[1]):new J.e(1,[e,new at(0,"a guid",t)])}return new J.e(1,[e,new at(0,"a guid",t)])}(e,t):"System.Object"===s?e=>e=>new J.e(0,e):$r(e,t,n,c)}{const e=p;return t=>n=>e.contents(t)(n)}}function mr(e){return null!=e?z((e,t)=>new o.a(t[1]),e.Coders):q()}function gr(e,t,n){const r=Object(u.b)(e,new st(0)),o=Object(u.i)(n).ResolveType();return br(mr(t),r,!1,o)}const wr=function(){const e=[..."#C$&$&$$$$$$%-%&%=$$$$$$=$$$$D$$'$$$$$$$$$$$$%$$%$$$$&$:$*;$+$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$&%$$$%$&%'$%$&&%$%$$$$$%$$%$$%$&$$$%%$$&'$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$%$$$$$&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*%$%%$$'$$$$$$$$h$>5'/1(*$$$4$$$$$$$$%$&$$'%$$&$$$%$4$,F$%&&$$$$$$$$$$$$$$$$$$$$$$$($$$$$%%VS$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$(%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$I%$)L$$%%$$P$$$%$%$$+>''%.)&%$%%.$$$%C$-8-'%$$$*$$)%%$'%-&%$1$$$$A>%|.$1-D,%$&$%$%9'$,$&$(%2$<&%$$.X8$5.2$C$Y$$$$&+'$%$*-%%-$$2$%$+%%%9$*$$&'%$$&'%%%%$$+$'%$&%%-%%)$$$$$%%$$)'%%9$*$%$%$%%$$&%'%%&&$*'$$*-%&$$-%$$,$&$9$*$%$(%$$&($%$$%$%$2%%%-$$*$)$$%$+%%%9$*$%$(%$$$$$'%%%%$*%$'%$&%%-$$)-$$$)&&$'&%$$$%&%&&&/'%$%&&$&$%$)$1-&)$$($&$+$&$:$3&$&'$&$'*%$&(%%%-*$*$$$%$+$&$:$-$(%$$$$($$%$%%*%*$$%%%-$%0%%,$&$L%$&'$&$&$$$'&$*&%%-,$)$$%$5&;$,$$%*&$'&&$$$+)-%%$/S$%*'$)$+$-%H%$$$($;$$$-$%,$%($$$)%-%'C$&2$$&%)--$$$$$$$$$$%+$G'1$($%(.$G$+$)$%('%HN%'$)$%%%$-))%%'&$&%*&'0$%%)$$$-&$%I$$($%N$$&Ŭ$'%*$$$'%L$'%D$'%*$$$'%2$\\$'%f%&,7&3-)y%)%$ʏ$$4$=$$&n&&+*0$'&.5&%,5%/0$&$%/W%$*+$%.&$&$$$%-)-))$'&$$-)F$X*(%E$$(i-B$&'%&'%$)&'$&%-A%(.O'=)-$&E:%%$%%X$$$*$$$$%+)-%$-)-)*$)%1$%b'$R$$($$($%*'-*-,,&%$A$'%%$&%-O$$%&$$&%+'G++%%&(-&&-A)%,*N%&++&$0$*'$)$%$%$(Ob0$EH]$($$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$,$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$,+)%)%++++)%)%+$$$$$$$$++1%++++++($%'$$$&&$%'$&'%%'$&+(&%&$%'$%$.()%$$$%$$$+$$($,$$'%&$$$.$$$-$($-$$%)&$$$-&$$$0&C30'$&/2%$'$%$&%&$$$%$()$$$$$$'$$'$'$%%%($'$$%$$3F$$'$%'((%'$%$%$*$B%%$$$Bį+$$$$7%*$$t$A<K)h<.8_q9Ú$,$Y+$ě$$$$$$$$$$$$$$AO($$B$$$$$$$$$$3ģ¦$$$$$$$$$$$$$$$$$$$$$$b$$$$C$$ĥS8%)J%C$R$R$$$&%$$$$$$'$$%$)%&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%)$$$$&$$('$%I$$($%[*$$1$:,*$*$*$*$*$*$*$*$C%$$$$&$$$$$,$%$$$$%$$$$$$$$$$($-%'$$$0%$P=$|/ù=/'$&$$$$$$$$$$$$$$%$$$$$$$$$$%$,'%$(%&$$$%$y%%%%$$}$&$(N$$%'-CG/3B$-A+$2C-J2ţ᧣c删&8$Қ&Z,K)%į$&3-%7$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$&$-$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%%i-%)+:,%$$$$$$$$$$$$$&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$+$$$$%$$$$$$$$$$%$$$$$$$$&$$$$$$$$$$$$$$$$$$$$($($$$$$$$$$$$%$$'$$$M$$$%$*$&$'$:%%$'$&)%$$)W'+%U3%+%-)5)&$$%$-?+%:.%.$@&&$R$%'%%&0$$-'%($$,-($L)%%%%,&$+$$%-%'3$)&$$$$U$$&%%(%$$$;%$%.$%%%$%$$-)%)%),*$*$N$',$%'sF%$%$%$$$%-)⯇/:'T'ࠣᤣƑ%I*/(($$-$0$($$$%$%$34Ǝ$$3c%YK/$$%3*$$$)3$%%$$$$$$$$$$$$$$$$%$$'&&$'$$$$$$$&$$&$$$%'($ª%$$&$&$$$$$$%-%&%=$$$$$$=$$$$$$$$$%-$P%B&)%)%)%&&%$$$%$$'%-&%%/$=$6$%$2%1E(&'P&,X'4%&$0&$RP$¥@&T2$>'C',7$+$(I((A$$G'+$(MKKq%-)G'G'K+W.$³Ś,9-+»)%$$O$%&$%:$$+:%*B+,S6$%((9)&$=($c['%%3%Q$&$%(''$&$@%&'$,*,*@%$@&C+$?%'(*,Y&*9%+6(+5*'/*slZV0V*)G'+-ʼnB$M$%$%%q@-$+9.'(y8*7:,$$$X2*'7-2&$P&'%%%$'.$%<*-)&G($+$-'$%$+F$%$,%$S&,%'''$$$-$$$&$7.5$<&&%$$%)$d*$$$'$2$-$)R$&+(-)%%$+%%%9$*$%$($%$%$'%%%&%$)$((%%*&(®X&+%&$$'(-%$$$&AS&)$$'%$%%$$+-ÉR&'%'%$%:'%ES&+%$$%&$.-)06N$$$%)$$$*-Y>%&%'$('-%&$ãO&,$%$CC-,/+%$%+$%$;)$%%%$$$$$$$&,-i+%J&'%%'$$$$$>$-K)$$'+$+$)%&Q0$%&$(@\\Ī,$H$*$)$$$(--6&%A%9$$*$%$%l*$%$I)&$$%$*$$+-))$%$C($%$%$$$$*-ř6%%%Ú$28+'40$ν$(.çђ$,ɪ⇜ɜ*B$-'%A%($-S*(''$$--$*$8(6˓CC:'n'$$Z*'0c%$$$.%1+ӹM,⌚łT&4'+Ưध(0&,*-%$%$'ę-J%_%&&)++%*A'^:e&$½7/z,<ª===*$5==$$%%$%%%'$+'$$$*$.==%$'%+$*$=%$'$($$&*$============?%<$<$)<$<$)<$<$)<$<$)<$<$)$$%UȣZ'U+$1$%(2($2ճ*$4%*$%$(øP&**%-'$$ƓO'-($ԣè%,*LEE*$'-'%̴^$&$'oP$2å'$>$%$$%$$-$'$$$$)$'$$$$$$&$%$$%$$$$$$$$$$%$$%'$*$'$'$$$-$4(&$($4W%ıO'/2%2$2$H-0Ä[@0O',*%1)½Ğ(˻+0&0&/|*/7/'[+-)K+A%%q$u$ª/1%(&&(*,<**,&0*L¶$ZH-Щ꜁Eၘ.ā%ᚥ1ᵔూɁ፮$A£ē︳𐀡%𐀡"].map(e=>{var t;return(null!==(t=e.codePointAt(0))&&void 0!==t?t:0)-35}),t=[..."1.;=;78;<;6;+;<;#7;8>5>$7<8<1.;=?;>?'9<2?>?<->$;>-':-;#<#$<$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'#$'#%$#%$#%$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#%$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'$&>&>&>&>&>(#$#$&>#$@&$;#@>#;#@#@#$#@#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$<#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$?(*#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#@&;$;6@?=@(6(;(;(;(@'@';@2<;=;?(;2@;'&'(+;'(';'(2?(&(?('+'?';@2'('(@'('@+'(&?;&@(='(&(&(&(@;@'(@;@'@'@'@(2()'()(')()()'('(;+;&'()@'@'@'@'@'@'@(')(@)@)('@)@'@'(@+'=-?=';(@()@'@'@'@'@'@'@'@(@)(@(@(@(@'@'@+('(;@()@'@'@'@'@'@'@(')(@()@)(@'@'(@+;=@'(@()@'@'@'@'@'@'@(')()(@)@)(@()@'@'(@+?'-@('@'@'@'@'@'@'@'@'@'@)()@)@)(@'@)@+-?=?@()('@'@'@'@'()@(@(@(@'@'(@+@;-?'();'@'@'@'@'@(')()@()@)(@)@'@'(@+@'@()'@'@'(')(@)@)('?@')-'(@+-?'@()@'@'@'@'@'@(@)(@(@)@+@);@'('(@='&(;+;@'@'@'@'@'@'('('@'@&@(@+@'@'?;?;?(?+-?(?(?(7878)'@'@()(;('(@(@?(?@?;?;@')()()()('+;')('(')')'('()()(')+)(?#@#@#@$;&$'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@(;-@'?@#@$@6'?;'.'78@';,'@'@'(@'(;@'(@'@'@(@'()()()(;&;='(@+@-@;6;(2@+@'&'@'('('@'@'@()()@)()(@?@;+'@'@'@'@+-@?'()(@;')()(@()()()(@(+@+@;&;@(*(@()'()()()()'@+;?(?@()')()()('+'()()()()@;')()(@;+@'+'&;$@#@#;@(;()('('(')('@$&$&$&(@(#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#@$#$#$@#@$@#@#@#@#$#$@$%$%$%$@$#%>$>$@$#%>$@$#@>$#>@$@$#%>@.26;9:79:79;/02.;9:;5;<78;<;5;.2@2-&@-<78&-<78@&@=@(*(*(@?#?#?$#$#$?#?<#?#?#?#?#?$#$'$?$#<#$?<?$?-,#$,-?@<?<?<?<?<?<?<?<?<?<?7878?<?78?<?<?<?@?@-?-?<?<?<?<?78787878787878-?<78<7878787878<?<7878787878787878787878<7878<78<?<?<?@?@?#@$@#$#$#$#$#$#$#$#$&#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$?#$#$(#$@;-;$@$@$@'@&;@('@'@'@'@'@'@'@'@'@(;9:9:;9:;9:;6;6;9:;9:78787878;&;6;6;7;?;@?@?@?@?@.;?&',7878787878?78787878678?,()6&?,&';?@'@(>&'6';&'@'@'@?-?'?@'?@-?-?-?-?-?'?'@'&'@?@'&;'&;'+'@#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'(*;(;&#$#$#$#$#$#$#$#$#$#$#$#$#$#$&(',(;@>&>#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$&$#$#$#$#$#$#$#$&>#$#$'#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#$#$#$@#$'&$'('('(')()?(@-?=?@';@)')(@;+@(';';'(+'(;'()@;'@()'()()();@&+@;'(&'+'@'()()(@'('()@+@;'&'?')()'('('('('('@'&;')();'&)(@'@'@'@'@'@$>&$&>@$')()();)(@+@'@'@'@34'@'@$@$@'('<'@'@'@'@'@'>@'87@'@'@'=?@(;78;@(;657878787878787878;78;5;@;6787878;<6<@;=;@'@'@2@;=;78;<;6;+;<;#7;8>5>$7<8<78;78;'&'&'@'@'@'@'@=<>?=@?<?@2?@'@'@'@'@'@'@'@;@-@?,-?-?@?@?@?(@'@'@(-@'-@',',@'(@'@;'@';,@#$'@+@#@$@'@'@;@'@'@'@'@'@'@'@'@'@;-'?-'@-@'@'@-'-@;'@;@'@-'-@-'(@(@('@'@'@(@(-@;@'-;'-@'?'(@-;@'@;'@-'@-'@;@-@'@#@$@-'(@+@-@'@(6@'@'-'@'(-;@'-@'@)()'(;@-+@()')()(;2;@2@'@+@('()(@+;')'@'(;'@()')()';(;)(+';';@-@'@')()()(;(@'@'@'@'@';@'()(@+@()@'@'@'@'@'@'@(')()@)@)@'@)@')@(@(@')()()(';+;@;('@')()()()(';'@+@')(@)()(;'(@')()()(;'@+@;@'()()()('@+@'@()()(@+-;?@')()(;@#$+-@'@'@'@'@')@)@()(')')(;@+@'@')(@()(';')@'('()'(;(@'()('()(;';@'@'@')(@()(';@+-@;'@(@)()()(@'@'@'(@(@(@('(@+@'@'@')@(@)()('@+@'();@'@-?=?@;'@,@;@'@'@2@'@'@'@+@;@'@(;@'(;?&;?@+@-@'@'@#$-;@'@(')@(&@&;&(@)@'@'@'@'@'@'@'@'@'@'@'@?(;2@?@?@?)(?)2(?(?(?@?(?@-@?@-@#$#$@$#$#@#@#@#@#@#$@$@$@$#$#@#@#@#@$#@#@#@#@#@$#$#$#$#$#$#$@#<$<$#<$<$#<$<$#<$<$#<$<$#$@+?(?(?(?(?;@(@(@(@(@(@(@(@'@(&@+@'?@'(+@=@'@-(@#$(&@+@;@-?-=-@-?-@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@<@?@?@?@?@?@?@-?@?@?@?@?@?@?>?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@+@'@'@'@'@'@'@'@2@2@(@4@4@"].map(e=>{var t;return(null!==(t=e.codePointAt(0))&&void 0!==t?t:0)-35}),n=new Uint32Array(e),r=new Uint8Array(t);for(let e=1;e<n.length;++e)n[e]+=n[e-1];return e=>{let t=n.length,o=0;for(;t-o>1;){const r=Math.floor((t+o)/2),i=n[r];if(e<i)t=r;else{if(e===i){t=o=r;break}i<e&&(o=r)}}return r[o]}}();function yr(e,t){if(t>=0&&t<e.length)return e.charCodeAt(t);throw new Error("Index out of range.")}const Or=e=>function(e,t){return 0!=(1<<vr(e,t)&256)}(e,0);function vr(e,t){const n=yr(e,t);return wr(n)}o.d;o.c;o.d;o.d;o.c;o.d;o.c;o.d;o.d;class jr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HELP","VETStudentLoan","FinancialSupplement","StudentStartUpLoan","TradeSupportLoan"]}}class _r extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["AustralianResidentForTaxPurposes","ForeignResidentForTaxPurposes","WorkingHolidayMaker"]}}class Er extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["FullTime","PartTime","LabourHire","SuperIncomeStream","Casual"]}}class xr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Tfn"]}}class Sr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Under18AndBelowTaxThreshold","Pending","Pensioner"]}}o.d;class Cr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PreviousSurname"]}}function Tr(e){return new Cr(0,e)}function kr(e){return e.fields[0]}o.c;o.d;o.d;o.d;function Ar(e,t){return function(e,t,n){for(;;){const r=e,o=t,i=n;if(null==i.tail)return r;{const c=Ue(0,()=>Object(J.f)(e=>Ge(0,r,t=>Object(l.a)(t,Object(l.s)(e))),o(i.head)))();if(1===c.tag)return c;e=c,t=o,n=i.tail}}}(new J.e(0,Object(l.g)()),e,t)}o.c;o.c;o.c;function Ir(e){return Ue(0,()=>{const t=Object(d.b)(e=>Or(e),e);return Object(J.f)(()=>Object(J.f)(()=>Ge(0,Q(0,"TFN is not valid",Object(Ke.r)(Object(Ke.n)((e,t)=>e*t,Object(Ke.m)(e=>Object(ht.c)(e,511,!1,32),t.split(""),Int32Array),new Int32Array([1,4,3,7,5,8,6,9,10]),Int32Array),{GetZero:()=>0,Add:(e,t)=>e+t})%11),()=>t),Q(9,"TFN must be 9 digits",t.length)),Q(e,"TFN must contain digits only",t))})()}function Dr(e){return Ue(0,()=>Object(J.f)(e=>{const t=e;return Ge(0,ee("TFN must not contain all zeros",Object(Ke.f)(["0"],t.split(""),{Equals:(e,t)=>e===t,GetHashCode:e=>Object(r.D)(e)})),()=>t)},Ir(e)))()}function Pr(e){switch(e){case 0:return new J.e(0,new _r(0));case 1:return new J.e(0,new _r(1));case 2:return new J.e(0,new _r(2));default:return new J.e(1,"Invalid ResidencyStatus")}}function Mr(e){switch(e.tag){case 1:return 1;case 2:return 2;default:return 0}}function Nr(e){switch(e){case 0:return new J.e(0,new Er(0));case 1:return new J.e(0,new Er(1));case 2:return new J.e(0,new Er(2));case 3:return new J.e(0,new Er(3));case 4:return new J.e(0,new Er(4));default:return new J.e(1,"Invalid EmploymentBasis")}}function Rr(e){switch(e.tag){case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;default:return 0}}const Fr=e=>Ar(e=>function(e){switch(e){case 0:return new J.e(0,new jr(0));case 1:return new J.e(0,new jr(1));case 2:return new J.e(0,new jr(2));case 3:return new J.e(0,new jr(3));case 4:return new J.e(0,new jr(4));default:return new J.e(1,"Invalid DebtSupport")}}(e),Object(l.f)(e,{Equals:(e,t)=>e===t,GetHashCode:e=>Object(r.w)(e)})),Lr=e=>Object(l.o)(e=>function(e){switch(e.tag){case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;default:return 0}}(e),e);function Br(e){switch(e){case 0:return new J.e(0,new Sr(0));case 1:return new J.e(0,new Sr(1));case 2:return new J.e(0,new Sr(2));default:return new J.e(1,"Invalid ExemptionReason")}}function Ur(e){switch(e.tag){case 1:return 1;case 2:return 2;default:return 0}}class Gr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Tfn","Exempted"]}}function Vr(){return Object(i.L)("Dto.Dto.ProvidedTfnInformationDto",[],Gr,()=>[[["Item",i.J]],[["Item",Object(i.e)("Dto.Dto.ExemptionReasonDto",i.s,[["Under18AndBelowTaxThreshold",0],["Pending",1],["Pensioner",2]])]]])}o.d;o.d;o.d;o.c;class Hr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TfnTruncated","Exempted"]}}class Wr extends o.c{constructor(e,t,n,r,o,i){super(),this.TfnInformation=e,this.PreviousSurname=t,this.ResidencyStatus=0|n,this.EmploymentBasis=0|r,this.IsTaxFreeThresholdClaimed=o,this.HasDebtSupport=i}}class zr extends o.c{constructor(e,t){super(),this.Meta=e,this.Data=t}}function qr(){return Object(i.I)("Dto.BackendApiModels.Read.TfnDeclarationDetailsWithMeta",[],zr,()=>[["Meta",Object(i.a)(["AccountId",i.J])],["Data",Object(i.G)(Object(i.I)("Dto.BackendApiModels.Read.TfnDeclarationDetails",[],Wr,()=>[["TfnInformation",Object(i.L)("Dto.BackendApiModels.Read.TfnInformation",[],Hr,()=>[[["Item",i.J]],[["Item",Object(i.e)("Dto.Dto.ExemptionReasonDto",i.s,[["Under18AndBelowTaxThreshold",0],["Pending",1],["Pensioner",2]])]]])],["PreviousSurname",Object(i.G)(i.J)],["ResidencyStatus",Object(i.e)("Dto.Dto.ResidencyStatusDto",i.s,[["AustralianResidentForTaxPurposes",0],["ForeignResidentForTaxPurposes",1],["WorkingHolidayMaker",2]])],["EmploymentBasis",Object(i.e)("Dto.Dto.EmploymentBasisDto",i.s,[["FullTime",0],["PartTime",1],["LabourHire",2],["SuperIncomeStream",3],["Casual",4]])],["IsTaxFreeThresholdClaimed",i.c],["HasDebtSupport",Object(i.A)(Object(i.e)("Dto.Dto.DebtSupportDto",i.s,[["HELP",0],["VETStudentLoan",1],["FinancialSupplement",2],["StudentStartUpLoan",3],["TradeSupportLoan",4]]))]]))]])}class Yr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Create","ChangeTfnInformation","ChangePreviousSurname","ChangeResidencyStatus","ChangeEmploymentBasis","ChangeTaxFreeThresholdClaimed","ChangeDebtSupport"]}}function Xr(e){return Array.from(e)}function Jr(e){return String(e)}function Zr(e){return String(e)}function Kr(e){return String(e)}function Qr(e){return String(e)}function eo(){return null}function to(e,t){return JSON.stringify(t,Object(r.F)(2,null),Object(u.f)(e))}function no(e,t,n,c){const a=new o.a(null),s=H(Object(i.f)(c),a,e);let u;if(Object(i.w)(c,!0)){const e=Object(Ke.m)(e=>{const r=dt(t,Object(i.E)(e)),o=ro(s,t,n,e[1]);return t=>c=>{const a=Object(i.m)(t,e);return(!n||n&&null!=a)&&(c[r]=o(a)),c}},Object(i.l)(c,!0));u=t=>Object(f.i)(Object(r.F)(2,Object(r.t)(e=>n=>n(t,e),[0,[0,2]])),{},e)}else{if(!Object(i.y)(c,!0)){let e;const t=Object(i.f)(c);throw e=Object(d.l)(Object(d.h)("Cannot generate auto encoder for %s. Please pass an extra encoder."))(t),new Error(e)}u=e=>{const r=Object(i.r)(e,c,!0),o=r[0],a=r[1],u=0|a.length;if(0===u)return Object(i.E)(o);{const e=0|u,r=Object(i.p)(o),c=Object(Ke.g)(new Array(e+1),0,e+1,null);c[0]=Object(i.E)(o);for(let o=1;o<=e;o++){const e=ro(s,t,n,r[o-1][1]);c[o]=e(a[o-1])}return c}}}return a.contents=u,u}function ro(e,t,n,o){const c=Object(i.f)(o),a=W(c,e);if(null==a){if(Object(i.t)(o)){const r=ro(e,t,n,Object(i.g)(o));return e=>Xr(Object(f.p)(r,e))}if(Object(i.u)(o)){const e=Object(i.f)(Object(i.h)(o));if("System.SByte"===e)return e=>Jr(e);if("System.Byte"===e)return e=>Zr(e);if("System.Int16"===e)return e=>Kr(e);if("System.UInt16"===e)return e=>Qr(e);if("System.Int32"===e)return e=>e;if("System.UInt32"===e)return e=>e;{const e=Object(i.f)(o),t=Object(d.k)(Object(d.h)("Cannot generate auto encoder for %s.\nThoth.Json.Net only support the folluwing enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra encoder.\n "))(e);return e=>t(e)}}if(Object(i.v)(o)){if(Object(i.x)(o)){const r=Object(Ke.m)(r=>ro(e,t,n,r),Object(i.n)(o));return e=>Xr(Object(f.q)((e,t)=>r[e](t),Object(i.o)(e)))}{const c=Object(i.f)(Object(i.j)(o));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===c){const c=new r.a(()=>{return r=ro(e,t,n,Object(i.k)(o)[0]),e=>Object(u.c)(Object(u.d)(r,e),()=>null);var r});return e=>null==e?null:c.Value(e)}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===c||"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===c){const r=ro(e,t,n,Object(i.k)(o)[0]);return e=>Xr(Object(f.p)(r,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===c){const r=Object(i.k)(o)[0],c=ro(e,t,n,Object(i.k)(o)[1]);if("System.String"===Object(i.f)(r)||"System.Guid"===Object(i.f)(r))return e=>Object(f.i)((e,t)=>{const n=t;return e[n[0]]=c(n[1]),e},{},e);{let o;const i=ro(e,t,n,r);return o=e=>i(e),e=>Xr(Object(f.p)(e=>{const t=e;return[o(t[0]),c(t[1])]},e))}}return no(e,t,n,o)}}return"System.Boolean"===c?e=>e:"Microsoft.FSharp.Core.Unit"===c?eo:"System.String"===c?e=>e:"System.SByte"===c?e=>Jr(e):"System.Byte"===c?e=>Zr(e):"System.Int16"===c?e=>Kr(e):"System.UInt16"===c?e=>Qr(e):"System.Int32"===c?e=>e:"System.UInt32"===c?e=>e:"System.Double"===c?e=>e:"System.Single"===c?e=>e:"System.DateTime"===c?e=>{return t=e,Object(fn.g)(t,"O",{});var t}:"System.DateTimeOffset"===c?e=>{return t=e,Object(fn.g)(t,"O",{});var t}:"System.TimeSpan"===c?e=>mn(e):"System.Guid"===c?e=>e:"System.Object"===c?e=>e:no(e,t,n,o)}{const e=a;return t=>e.contents(t)}}function oo(e){return null!=e?z((e,t)=>new o.a(t[0]),e.Coders):q()}function io(e,t,n,r,o,i){return to(e,function(e,t,n,r){const o=Object(u.b)(e,new st(0)),i=Object(u.b)(n,!0),c=Object(u.i)(r).ResolveType();return ro(oo(t),o,i,c)}(n,r,o,i)(t))}function co(e){return Object(d.l)(Object(d.h)("%s/tfn-declaration/backend"))(e)}function ao(e,t){return We(0,()=>{const n=rt((r=Object(d.l)(Object(d.h)("Bearer %s"))(e),new qe(0,"Authorization",r)),t);var r;const o=s.g.Bind(it(n),e=>s.g.Return(new J.e(0,e)));return s.g.Delay(()=>s.g.Bind(o,e=>{let t;const r=e;return 1===r.tag?s.g.Return(new J.e(1,r.fields[0])):s.g.ReturnFrom((t=r.fields[0],429===t.statusCode||t.statusCode>=500?s.g.Bind(it(n),e=>s.g.Return(new J.e(0,e))):He(0,t)))}))})}const so=e=>{return t=e,n=new st(1),o=void 0,i={ResolveType:qr},Zn(Object(r.F)(2,gr(n,o,i)),t);var t,n,o,i};function uo(e,t){return We(0,()=>{const n=ao(e,nt(new ze(0),tt(co(t))));return s.g.Delay(()=>s.g.Bind(n,e=>{let t;const n=e;return 1===n.tag?s.g.Return(new J.e(1,n.fields[0])):s.g.ReturnFrom((t=n.fields[0],200===t.statusCode?s.g.Return(so(t.responseText)):s.g.Return(new J.e(1,"Unexpected response from backend"))))}))})}function lo(e,t,n){return We(0,()=>{let o;const c=e.PreExistingTfnDec;let a,d;switch(2===c.tag&&0===c.fields[0].tag?(a=0,d=c.fields[0].fields[0]):a=1,a){case 0:o=We(0,()=>He(0,d));break;case 1:o=uo(t,n)}return s.g.Delay(()=>s.g.Bind(o,o=>{let c,a;const d=o;return 1===d.tag?s.g.Return(new J.e(1,d.fields[0])):s.g.ReturnFrom((c=d.fields[0],a=s.g.Return(function(e,t){return Ue(0,()=>Object(J.f)(n=>{const o=n,i=Object(u.d)(e=>kr(e),e.PreviousSurname.Value);return Object(J.f)(n=>{const c=0|n;return Object(J.f)(n=>{const a=0|n;return Object(J.f)(n=>{let s,u;const d=n,p=Lr(e.DebtSupportCheckboxGroup),h=t.Data;if(null!=h){const e=h;return Be(0,Object(l.a)(0===o.tag?Object(l.g)():1===o.fields[0].tag?(s=0|Ur(o.fields[0].fields[0]),u=e.TfnInformation,1===u.tag&&u.fields[0]===s?Object(l.g)():Object(l.s)(new Yr(1,new Gr(1,s)))):Object(l.s)(new Yr(1,new Gr(0,o.fields[0].fields[0].fields[0]))),Object(l.q)(Object(f.g)(()=>Object(f.a)(Object(r.o)(i,e.PreviousSurname)?Object(f.h)():Object(f.y)(new Yr(2,i)),Object(f.g)(()=>Object(f.a)(c!==e.ResidencyStatus?Object(f.y)(new Yr(3,c)):Object(f.h)(),Object(f.g)(()=>Object(f.a)(a!==e.EmploymentBasis?Object(f.y)(new Yr(4,a)):Object(f.h)(),Object(f.g)(()=>Object(f.a)(d!==e.IsTaxFreeThresholdClaimed?Object(f.y)(new Yr(5,d)):Object(f.h)(),Object(f.g)(()=>Object(r.o)(Object(l.u)(p,{Compare:(e,t)=>Object(r.h)(e,t)}),Object(l.u)(e.HasDebtSupport,{Compare:(e,t)=>Object(r.h)(e,t)}))?Object(f.h)():Object(f.y)(new Yr(6,p))))))))))))))}return Ge(0,0===o.tag?new J.e(1,"New TFN declaration cannot have a truncated TFN"):1===o.fields[0].tag?new J.e(0,new Gr(1,Ur(o.fields[0].fields[0]))):new J.e(0,new Gr(0,o.fields[0].fields[0].fields[0])),e=>Object(l.s)(new Yr(0,{AccountId:t.Meta.AccountId,EmploymentBasis:a,HasDebtSupport:p,IsTaxFreeThresholdClaimed:d,PreviousSurname:i,ResidencyStatus:c,TfnInformation:e})))},K("missing is tax-free threshold claimed",Object(u.d)(e=>1!==e.tag,e.ClaimTaxFreeThreshold.Selected)))},K("missing employment basis",Object(u.d)(e=>Rr(e),e.EmploymentBasisRadioButtonGroup.Value)))},K("missing residency status",Object(u.d)(e=>Mr(e),e.ResidencyStatusRadioButtonGroup.Value)))},K("missing TFN info",e.TfnInformation.Value)))()}(e,c)),s.g.Delay(()=>s.g.Bind(a,e=>{let r,o,a;const u=e;return 1===u.tag?s.g.Return(new J.e(1,u.fields[0])):s.g.ReturnFrom((r=u.fields[0],null==r.tail?He(0,c):(o=ao(t,(a=ot(new Ye(1,io(0,r,new st(1),void 0,void 0,{ResolveType:()=>Object(i.A)(Object(i.L)("Dto.Commands.TfnDeclarationCommandDto",[],Yr,()=>[[["Item",Object(i.a)(["AccountId",i.J],["EmploymentBasis",Object(i.e)("Dto.Dto.EmploymentBasisDto",i.s,[["FullTime",0],["PartTime",1],["LabourHire",2],["SuperIncomeStream",3],["Casual",4]])],["HasDebtSupport",Object(i.A)(Object(i.e)("Dto.Dto.DebtSupportDto",i.s,[["HELP",0],["VETStudentLoan",1],["FinancialSupplement",2],["StudentStartUpLoan",3],["TradeSupportLoan",4]]))],["IsTaxFreeThresholdClaimed",i.c],["PreviousSurname",Object(i.G)(i.J)],["ResidencyStatus",Object(i.e)("Dto.Dto.ResidencyStatusDto",i.s,[["AustralianResidentForTaxPurposes",0],["ForeignResidentForTaxPurposes",1],["WorkingHolidayMaker",2]])],["TfnInformation",Vr()])]],[["Item",Vr()]],[["Item",Object(i.G)(i.J)]],[["Item",Object(i.e)("Dto.Dto.ResidencyStatusDto",i.s,[["AustralianResidentForTaxPurposes",0],["ForeignResidentForTaxPurposes",1],["WorkingHolidayMaker",2]])]],[["Item",Object(i.e)("Dto.Dto.EmploymentBasisDto",i.s,[["FullTime",0],["PartTime",1],["LabourHire",2],["SuperIncomeStream",3],["Casual",4]])]],[["Item",i.c]],[["Item",Object(i.A)(Object(i.e)("Dto.Dto.DebtSupportDto",i.s,[["HELP",0],["VETStudentLoan",1],["FinancialSupplement",2],["StudentStartUpLoan",3],["TradeSupportLoan",4]]))]]]))})),nt(new ze(2),tt(co(n)))),rt(new qe(0,"Content-Type","application/json"),a))),s.g.Delay(()=>s.g.Bind(o,e=>{let t;const n=e;return 1===n.tag?s.g.Return(new J.e(1,n.fields[0])):s.g.ReturnFrom((t=n.fields[0],200===t.statusCode?s.g.Return(so(t.responseText)):s.g.Return(new J.e(1,"Unexpected response from backend"))))})))))}))))}))})}class fo{constructor(){}}function po(e,t){return{then:(e,n)=>{try{return t().then(e,n)}catch(e){if(Object(r.o)(n,null))return Promise.reject(e);try{return Promise.resolve(n(e))}catch(e){return Promise.reject(e)}}},catch:e=>{try{return t().catch(e)}catch(t){try{return Promise.resolve(e(t))}catch(e){return Promise.reject(e)}}}}}const ho=new fo;class $o extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class bo{constructor(e){this.state=new $o(0,Object(Ke.g)(new Array(Object(r.u)((e,t)=>Object(r.h)(e,t),e,10)),0,Object(r.u)((e,t)=>Object(r.h)(e,t),e,10),null),0)}}function mo(e){const t=e.state;if(1===t.tag){const n=0|t.fields[1],r=0|t.fields[2],o=t.fields[0],i=(r+1)%o.length|0;return e.state=i===n?new $o(0,o,n):new $o(1,o,n,i),Object(u.f)(o[r])}}function go(e,t,n){const o=Object(c.m)(e[0]),i=Object(c.m)(new bo(10));const s=Object(c.d)(e[0]);let d;const p=Object(c.m)(Object(a.c)()),h=Object(c.m)(p.current);Object(c.g)(()=>Object(c.a)(()=>{Object(a.a)(p.current)})),d=h;const $=()=>{setTimeout(()=>{let e;e=d.current,Object(a.f)(e)||s[1](o.current)},0)},b=e=>{var n;(n=po(0,()=>{let n=Object(u.f)(e);return function e(t,n,r){return n()?r.then(()=>e(t,n,r)):Promise.resolve(void 0)}(ho,()=>{let e;return null!=n&&(e=d.current,!Object(a.f)(e))},po(0,()=>{const e=t(Object(u.i)(n),o.current);return Object(l.m)(e=>{e(b)},e[1]),n=mo(i.current),o.current=e[0],$(),Promise.resolve()}))}),new Promise((e,t)=>{try{Promise.resolve(n).then(e,t)}catch(e){t(e)}})).then()},m=Object(c.e)(b);return Object(c.j)(()=>Object(c.a)(()=>{let e;Object(f.n)(e=>{e.Dispose()},Object(u.g)((e=o.current,Object(r.s)(e)?e:void 0)))}),n),Object(c.i)(()=>{o.current=e[0],$(),Object(l.m)(e=>{e(m)},e[1])},n),Object(c.h)(()=>{Object(f.n)(m,Object(u.g)(mo(i.current)))}),[s[0],m]}class wo extends o.c{constructor(e,t){super(),this.Value=e,this.Meta=t}}function yo(){return new wo(void 0,{Valid:!1})}function Oo(e){return new wo(e,{Valid:!0})}function vo(e){return Object(ce.createElement)("div",{className:"mb-2",children:Pe.a.Children.toArray([Object(ce.createElement)("strong",{children:[e]})])})}function jo(e,t){return Object(ce.createElement)("div",{className:"mb-2",children:Pe.a.Children.toArray([Object(ce.createElement)("span",{className:"mr-2",children:Pe.a.Children.toArray([Object(ce.createElement)("strong",{children:[e]})])}),t])})}class _o extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Yes","No"]}}class Eo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Select","SelectInternal"]}}class xo extends o.c{constructor(e,t){super(),this.Selected=e,this.Meta=t}}function So(e){return new xo(e,{Touched:!1})}function Co(e,t){return 1===e.tag?e.fields[1]||!t.Meta.Touched?new xo(e.fields[0],t.Meta):t:new xo(e.fields[0],{Touched:!0})}function To(e){const t=Object(r.o)(e.Parent.State.Selected,e.Selection)?Object(l.p)(["btn-secondary","active"]):Object(l.s)("btn-outline-secondary");return Object(ce.createElement)("label",{className:Object(d.g)(" ",Object(l.a)(Object(l.s)("btn"),t)),children:Pe.a.Children.toArray([Object(ce.createElement)("input",{type:"radio",name:"yesNoButtonGroup",onClick:t=>{e.Parent.Dispatch(new Eo(0,e.Selection))},disabled:Object(r.o)(e.Parent.Disable,e.Selection)}),Object(o.e)(e.Selection)])})}function ko(e){return Object(ce.createElement)("div",{className:"row",children:Pe.a.Children.toArray([Object(ce.createElement)("div",{className:Object(d.g)(" ",["btn-group","btn-group-toggle","col-12","col-sm-6"]),children:Pe.a.Children.toArray([To({Parent:e,Selection:new _o(0)}),To({Parent:e,Selection:new _o(1)})])})])})}var Ao=n(16);class Io extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Select"]}}class Do extends o.c{constructor(e){super(),this.Selected=e}}function Po(e,t,n){const r=function(e,t){return new Do(e.fields[0])}(t);return e(new wo(r.Selected,{Valid:null!=r.Selected})),[r,Object(Ao.g)()]}function Mo(e){const t=go((n=e.InitialValue,[new Do(n),Object(Ao.g)()]),(t,n)=>Po(e.OnUpdate,t),[]);var n;const r=Object(l.q)(Object(f.g)(()=>Object(f.c)(n=>{const r=n[0];return Object(f.y)(Object(ce.createElement)("div",{className:Object(d.g)(" ",["form-check","fl-radio-container"]),children:Pe.a.Children.toArray([Object(ce.createElement)("input",{className:"form-check-input",type:"radio",name:e.Name,id:r,checked:Object(u.h)(t[0].Selected)===r,onChange:e=>{e.target.checked;t[1](new Io(0,r))}}),Object(ce.createElement)("label",{className:"form-check-label",for:r,children:n[1]})])}))},e.ValueLabelPairs)));return Object(ce.createElement)("div",{children:Pe.a.Children.toArray(Array.from(r))})}class No extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SetText","SetTouched"]}}class Ro extends o.c{constructor(e,t){super(),this.Text=e,this.Meta=t}}function Fo(e,t,n,r){const o=function(e,t,n){if(1===t.tag)return new Ro(n.Text,{Touched:!0,Valid:n.Meta.Valid});{const r=t.fields[0];return new Ro(r,{Touched:n.Meta.Touched,Valid:e(r)})}}(t,n,r);return e(new wo(o.Text,{Valid:o.Meta.Valid})),[o,Object(Ao.g)()]}class Lo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Number","Text"]}}function Bo(e){const t=go(function(e,t){const n=Object(u.b)(e,"");return[new Ro(n,{Touched:!1,Valid:t(n)}),Object(Ao.g)()]}(e.InitialValue,e.Validator),(t,n)=>Fo(e.OnUpdate,e.Validator,t,n),[]),n=t[0],o=t[1],i=Object(l.p)([Object(ce.createElement)("input",Object(r.j)(Object(l.q)(Object(f.g)(()=>Object(f.a)(Object(f.y)(["className",Object(d.g)(" ",Object(l.q)(Object(f.g)(()=>Object(f.a)(Object(f.y)("form-control"),Object(f.g)(()=>!n.Meta.Valid&&n.Meta.Touched?Object(f.y)("is-invalid"):Object(f.h)())))))]),Object(f.g)(()=>Object(f.a)(Object(f.y)(["type","text"]),Object(f.g)(()=>Object(f.a)(Object(f.y)(["onChange",t=>{const n=t.target.value;o(new No(0,1===e.InputType.tag?n:Object(d.b)(e=>Or(e),n)))}]),Object(f.g)(()=>{let t;return Object(f.a)(Object(f.y)((t=n.Text,["ref",e=>{null==e||Object(r.o)(e.value,t)||(e.value=t)}])),Object(f.g)(()=>Object(f.a)(Object(f.y)(["onBlur",e=>{o(new No(1))}]),Object(f.g)(()=>Object(r.o)(e.InputType,new Lo(0))?Object(f.y)(["inputmode","numeric"]):Object(f.h)()))))})))))))))),Object(ce.createElement)("div",{className:"invalid-feedback",children:e.InvalidFeedback})]);return Object(ce.createElement)("div",{children:Pe.a.Children.toArray(Array.from(i))})}class Uo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["YesNoButtonGroupMsg","SetTfnInput","SetTfnExemptionReason","SwitchEditingState","HideAlert"]}}class Go extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Tfn","Exempted"]}}class Vo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TfnTruncated","TfnValue"]}}class Ho extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Truncated","Editing"]}}class Wo extends o.c{constructor(e,t,n,r){super(),this.YesNoButtonGroup=e,this.TruncatedTfn=t,this.CurrentAlert=n,this.EditingState=r}}function zo(e){const t=e.EditingState;if(1===t.tag){const e=t.fields[0];return new wo(Object(u.d)(e=>new Vo(1,e),e.Value),e.Meta)}return new wo(new Vo(0,Object(u.h)(e.TruncatedTfn)),{Valid:!0})}const qo=e=>Z(Dr(e));function Yo(e){const t=e.EditingState;if(1===t.tag){const n=t.fields[0],r=n.Value;if(null==r)return new Wo(e.YesNoButtonGroup,e.TruncatedTfn,e.CurrentAlert,new Ho(1,new wo(n.Value,{Valid:!1})));if(1===r.tag)return new Wo(e.YesNoButtonGroup,e.TruncatedTfn,e.CurrentAlert,new Ho(1,new wo(n.Value,{Valid:!0})));{const t=r.fields[0].fields[0];return new Wo(e.YesNoButtonGroup,e.TruncatedTfn,e.CurrentAlert,new Ho(1,new wo(n.Value,{Valid:qo(t)})))}}return e}function Xo(e,t){let n,r,o,i,c,a,s,l,f,d;return Yo(1===e.tag?(n=e.fields[0],r=Object(u.d)(e=>new Go(0,new xr(0,e)),n.Value),t.EditingState.tag,new Wo(t.YesNoButtonGroup,t.TruncatedTfn,t.CurrentAlert,new Ho(1,new wo(r,n.Meta)))):2===e.tag?(o=e.fields[0],i=Object(u.d)(e=>new Go(1,e),Object(u.a)(e=>function(e){switch(e){case"Under18AndBelowTaxThreshold":return new Sr(0);case"Pending":return new Sr(1);case"Pensioner":return new Sr(2);default:return}}(e),o.Value)),t.EditingState.tag,new Wo(t.YesNoButtonGroup,t.TruncatedTfn,t.CurrentAlert,new Ho(1,new wo(i,o.Meta)))):3===e.tag?1===t.EditingState.tag?new Wo(t.YesNoButtonGroup,t.TruncatedTfn,t.CurrentAlert,new Ho(0)):new Wo(t.YesNoButtonGroup,t.TruncatedTfn,new Me(2,"Please click the Save and continue button at the end of\n this form to save the changes to your TFN."),new Ho(1,yo())):4===e.tag?new Wo(t.YesNoButtonGroup,t.TruncatedTfn,void 0,t.EditingState):(c=e.fields[0],c.tag,s=[c.fields[0],t.EditingState],a=1===s[0].tag?1===s[1].tag?(l=s[1].fields[0].Value,null!=l&&1===l.tag?t.EditingState:new Ho(1,yo())):new Ho(1,yo()):1===s[1].tag?(f=[s[1].fields[0].Value,t.TruncatedTfn],null!=f[0]&&0===f[0].tag?t.EditingState:null!=f[1]?(d=f[1],new Ho(0)):new Ho(1,yo())):new Ho(0),new Wo(Co(c,t.YesNoButtonGroup),t.TruncatedTfn,t.CurrentAlert,a)))}function Jo(e){const t=go(function(e){let t,n,r;return[Yo(new Wo(So(null!=e&&1===e.tag&&1===e.fields[0].tag?new _o(1):new _o(0)),(t=e,null!=t&&0===t.tag?(n=t.fields[0],n):void 0),void 0,null==e?new Ho(1,yo()):1===e.tag?(r=e.fields[0],new Ho(1,new wo(r,{Valid:!1}))):new Ho(0))),Object(Ao.g)()]}(e.InitialValue),(t,n)=>function(e,t,n){const r=Xo(t,n);return e(zo(r)),[r,Object(Ao.g)()]}(e.OnUpdate,t,n),[]),n=t[0],i=t[1],c=null==n.TruncatedTfn?null:Object(ce.createElement)("div",{className:Object(d.g)(" ",["col-auto","col-sm-auto"]),children:Pe.a.Children.toArray([Object(ce.createElement)("button",{className:Object(d.g)(" ",["btn","btn-secondary"]),type:"button",children:Object(r.o)(n.EditingState,new Ho(0))?"Change":"Cancel",onClick:e=>{i(new Uo(3))}})])}),a=Object(l.q)(Object(f.g)(()=>{let e,t;return Object(f.a)((e=n.CurrentAlert,null==e?Object(f.y)(null):(t=e,Object(f.y)(Object(ce.createElement)(Fe,{alert:t,hideAlert:()=>{i(new Uo(4))}})))),Object(f.g)(()=>Object(f.a)(Object(f.y)(vo("Do you have your TFN?")),Object(f.g)(()=>Object(f.a)(Object(f.y)(Object(ce.createElement)(ko,{Disable:void 0,Dispatch:e=>{i(new Uo(0,e))},State:n.YesNoButtonGroup})),Object(f.g)(()=>Object(f.y)(Object(ce.createElement)("div",{className:"mt-2",children:Pe.a.Children.toArray(Array.from(Object(l.q)(Object(f.g)(()=>{let e,t,a;const s=n.YesNoButtonGroup.Selected;if(null==s)return Object(f.y)(null);if(1===s.tag)return Object(f.y)(Object(ce.createElement)(Mo,(e=Object(l.o)(e=>[Object(o.e)(e[0]),e[1]],Object(l.p)([[new Sr(1),"My TFN is pending"],[new Sr(0),"I'm under 18 and don't have a TFN"],[new Sr(2),"I have an exemption from quoting a TFN (such as receiving a social security or service pension)"]])),{InitialValue:(t=zo(n).Value,null!=t&&1===t.tag&&1===t.fields[0].tag?(a=t.fields[0].fields[0],Object(o.e)(a)):void 0),Name:"TfnExemption",OnUpdate:e=>{i(new Uo(2,e))},ValueLabelPairs:e})));{const e=[n.TruncatedTfn,n.EditingState];let t,o;switch(null!=e[0]&&0===e[1].tag?(t=0,o=e[0]):t=1,t){case 0:return Object(f.a)(Object(f.y)(Object(ce.createElement)("h6",{children:["Your Tax File Number"]})),Object(f.g)(()=>{let e;return Object(f.y)(Object(ce.createElement)("div",{className:"row",children:Pe.a.Children.toArray([Object(ce.createElement)("div",{className:Object(d.g)(" ",["col","col-sm-4"]),children:Pe.a.Children.toArray([Object(ce.createElement)("input",Object(r.j)(Object(l.p)([["className",Object(d.g)(" ",["form-control"])],["disabled",!0],(e=Object(d.l)(Object(d.d)("xxx-xxx-x%P()",[o])),["ref",t=>{null==t||Object(r.o)(t.value,e)||(t.value=e)}])])))])}),c])}))}));case 1:return Object(f.a)(Object(f.y)(Object(ce.createElement)("h6",{children:["Enter Tax File Number"]})),Object(f.g)(()=>Object(f.y)(Object(ce.createElement)("div",{className:"row",children:Pe.a.Children.toArray([Object(ce.createElement)("div",{className:Object(d.g)(" ",["col","col-sm-4"]),children:Pe.a.Children.toArray([Object(ce.createElement)(Bo,{InitialValue:void 0,InputType:new Lo(0),InvalidFeedback:"Please enter a valid tax file number",OnUpdate:e=>{i(new Uo(1,e))},Validator:qo})])}),c])}))))}}}))))}))))))))}));return Object(ce.createElement)("div",{children:Pe.a.Children.toArray(Array.from(a))})}class Zo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SetTfnInformation","SetPreviousSurname","SetResidencyStatus","SetClaimTaxFreeThreshold","SetDebtSupport","SetEmploymentBasis","GetData","ShowAlert","HideAlert","Saved","AppReady"]}}class Ko extends o.c{constructor(e,t,n,r,o,i,c,a){super(),this.PreExistingTfnDec=e,this.CurrentAlert=t,this.TfnInformation=n,this.PreviousSurname=r,this.ResidencyStatusRadioButtonGroup=o,this.ClaimTaxFreeThreshold=i,this.DebtSupportCheckboxGroup=c,this.EmploymentBasisRadioButtonGroup=a}}class Qo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Web","ReactNative","WebComponent"]}}function ei(){const e=document.URL.split("/"),t=Object(Ke.c)("web",e,{Equals:(e,t)=>e===t,GetHashCode:e=>Object(r.D)(e)}),n=Object(Ke.c)("react-native",e,{Equals:(e,t)=>e===t,GetHashCode:e=>Object(r.D)(e)}),o=[Object(u.e)(document.querySelector("tax-component")),t,n];let i;switch(i=null==o[0]?o[1]?o[2]?3:1:o[2]?2:3:0,i){case 0:return new J.e(0,new Qo(2,o[0]));case 1:return new J.e(0,new Qo(0));case 2:return new J.e(0,new Qo(1));case 3:return new J.e(1,"Could not determine the embed mode")}}var ti=n(30);function ni(e,t){switch(e.tag){case 1:return[new Ko(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,e.fields[0],t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(Ao.g)()];case 2:{const n=Object(u.a)(e=>function(e){switch(e){case"AustralianResidentForTaxPurposes":return new _r(0);case"ForeignResidentForTaxPurposes":return new _r(1);case"WorkingHolidayMaker":return new _r(2);default:return}}(e),e.fields[0].Value);return[new Ko(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,new wo(n,{Valid:null!=n}),t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),null==n?Object(Ao.g)():1===n.tag?Object(Ao.a)(new Zo(3,new Eo(1,new _o(1),!1))):2===n.tag?Object(Ao.a)(new Zo(3,new Eo(1,new _o(1),!0))):Object(Ao.a)(new Zo(3,new Eo(1,new _o(0),!1)))]}case 3:return[new Ko(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,Co(e.fields[0],t.ClaimTaxFreeThreshold),t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(Ao.g)()];case 4:return[new Ko(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,e.fields[0],t.EmploymentBasisRadioButtonGroup),Object(Ao.g)()];case 5:{const n=Object(u.a)(e=>function(e){switch(e){case"FullTime":return new Er(0);case"PartTime":return new Er(1);case"LabourHire":return new Er(2);case"SuperIncomeStream":return new Er(3);case"Casual":return new Er(4);default:return}}(e),e.fields[0].Value);return[new Ko(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,new wo(n,{Valid:null!=n})),Object(Ao.g)()]}case 6:{const n=e.fields[0],r=new Ko(n,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),o=Object(Ao.a)(new Zo(7,new Me(1,"There was an error loading your tax declaration. Please try refreshing this page.")));!function(){const e=ei();let t;switch(t=0===e.tag&&(0===e.fields[0].tag||1===e.fields[0].tag)?0:1,t){case 0:Object(f.n)(e=>{document.body.removeChild(e)},Object(u.g)(Object(u.e)(document.getElementById("external-loading-page-container"))))}}();const i=Object(Ao.a)(new Zo(10));let c,a;switch(2===n.tag?1===n.fields[0].tag?c=1:(c=0,a=n.fields[0].fields[0]):c=3===n.tag?1:2,c){case 0:{const e=Object(u.d)(e=>function(e,t){return Ue(0,()=>{let n;return Object(J.f)(n=>Object(J.f)(r=>{const o=t.IsTaxFreeThresholdClaimed?new _o(0):new _o(1);return Object(J.f)(i=>Ge(0,Nr(t.EmploymentBasis),c=>new Ko(e.PreExistingTfnDec,e.CurrentAlert,Oo(n),Oo(Object(u.d)(e=>Tr(e),t.PreviousSurname)),Oo(r),So(o),i,Oo(c))),Fr(t.HasDebtSupport))},Pr(t.ResidencyStatus)),(n=t.TfnInformation,1===n.tag?Object(J.g)(e=>new Vo(1,new Go(1,e)),Br(n.fields[0])):new J.e(0,new Vo(0,n.fields[0]))))})()}(r,e),a.Data);if(null==e)return[r,i];{const t=e;return 0===t.tag?[t.fields[0],i]:[r,o]}}case 1:return[r,o];case 2:return[r,i]}}case 7:return[new Ko(t.PreExistingTfnDec,e.fields[0],t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(Ao.g)()];case 8:return[new Ko(t.PreExistingTfnDec,void 0,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(Ao.g)()];case 9:return[new Ko(new Y(2,new J.e(0,e.fields[0])),t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(Ao.g)()];case 10:return function(){const e=ei();let t;switch(t=0===e.tag&&(0===e.fields[0].tag||1===e.fields[0].tag)?0:1,t){case 0:window.parent.postMessage({sender:"flare",type:"appReady"},"*",Object(u.f)(Object(l.g)()))}}(),[t,Object(Ao.g)()];default:return[new Ko(t.PreExistingTfnDec,t.CurrentAlert,e.fields[0],t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(Ao.g)()]}}class ri extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["YesNoButtonGroupMsg","SetPreviousSurname"]}}class oi extends o.c{constructor(e,t){super(),this.YesNoButtonGroup=e,this.Data=t}}function ii(e){return!Object(d.f)(e)}function ci(e){const t=e.YesNoButtonGroup.Selected;return null==t?new oi(e.YesNoButtonGroup,new wo(e.Data.Value,{Valid:!1})):1===t.tag?new oi(e.YesNoButtonGroup,new wo(e.Data.Value,{Valid:!0})):new oi(e.YesNoButtonGroup,new wo(e.Data.Value,{Valid:Object(u.b)(Object(u.d)(e=>ii(e.fields[0]),e.Data.Value),!1)}))}function ai(e,t,n){const r=function(e,t){let n,r,o;return ci(1===e.tag?(n=e.fields[0],new oi(t.YesNoButtonGroup,new wo(Object(u.d)(e=>new Cr(0,e),n.Value),{Valid:n.Meta.Valid}))):(r=e.fields[0],r.tag,o=1===r.fields[0].tag?new wo(void 0,t.Data.Meta):t.Data,new oi(Co(r,t.YesNoButtonGroup),o)))}(t,n);return e(r.Data),[r,Object(Ao.g)()]}function si(e){const t=go((n=e.InitialValue,[ci(new oi(So(new _o(null!=n?0:1)),new wo(n,{Valid:!1}))),Object(Ao.g)()]),(t,n)=>ai(e.OnUpdate,t,n),[]);var n;const r=t[0],o=t[1],i=Object(l.p)([vo("Have you changed your surname since you last dealt with the Australian Tax Office?"),Object(ce.createElement)(ko,{Disable:void 0,Dispatch:e=>{o(new ri(0,e))},State:r.YesNoButtonGroup}),Object(ce.createElement)("div",{className:"mt-2",children:Pe.a.Children.toArray(Array.from(Object(l.q)(Object(f.g)(()=>{const e=r.YesNoButtonGroup.Selected;let t;switch(t=null!=e&&0===e.tag?0:1,t){case 0:return Object(f.a)(Object(f.y)(Object(ce.createElement)("h6",{children:["Enter Previous Surname"]})),Object(f.g)(()=>Object(f.y)(Object(ce.createElement)("div",{className:"row",children:Pe.a.Children.toArray([Object(ce.createElement)("div",{className:Object(d.g)(" ",["col-12","col-sm-5"]),children:Pe.a.Children.toArray([Object(ce.createElement)(Bo,{InitialValue:Object(u.d)(e=>kr(e),r.Data.Value),InputType:new Lo(1),InvalidFeedback:"Please enter your previous surname",OnUpdate:e=>{o(new ri(1,e))},Validator:e=>ii(e)})])})])}))));case 1:return Object(f.y)(null)}}))))})]);return Object(ce.createElement)("div",{children:Pe.a.Children.toArray(Array.from(i))})}function ui(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function li(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function fi(e){var t=li(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function di(e){return e instanceof li(e).Element||e instanceof Element}function pi(e){return e instanceof li(e).HTMLElement||e instanceof HTMLElement}function hi(e){return e?(e.nodeName||"").toLowerCase():null}function $i(e){return((di(e)?e.ownerDocument:e.document)||window.document).documentElement}function bi(e){return ui($i(e)).left+fi(e).scrollLeft}function mi(e){return li(e).getComputedStyle(e)}function gi(e){var t=mi(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function wi(e,t,n){void 0===n&&(n=!1);var r,o,i=$i(t),c=ui(e),a=pi(t),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&(("body"!==hi(t)||gi(i))&&(s=(r=t)!==li(r)&&pi(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:fi(r)),pi(t)?((u=ui(t)).x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=bi(i))),{x:c.left+s.scrollLeft-u.x,y:c.top+s.scrollTop-u.y,width:c.width,height:c.height}}function yi(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function Oi(e){return"html"===hi(e)?e:e.assignedSlot||e.parentNode||e.host||$i(e)}function vi(e,t){void 0===t&&(t=[]);var n=function e(t){return["html","body","#document"].indexOf(hi(t))>=0?t.ownerDocument.body:pi(t)&&gi(t)?t:e(Oi(t))}(e),r="body"===hi(n),o=li(n),i=r?[o].concat(o.visualViewport||[],gi(n)?n:[]):n,c=t.concat(i);return r?c:c.concat(vi(Oi(i)))}function ji(e){return["table","td","th"].indexOf(hi(e))>=0}function _i(e){if(!pi(e)||"fixed"===mi(e).position)return null;var t=e.offsetParent;if(t){var n=$i(t);if("body"===hi(t)&&"static"===mi(t).position&&"static"!==mi(n).position)return n}return t}function Ei(e){for(var t=li(e),n=_i(e);n&&ji(n)&&"static"===mi(n).position;)n=_i(n);return n&&"body"===hi(n)&&"static"===mi(n).position?t:n||function(e){for(var t=Oi(e);pi(t)&&["html","body"].indexOf(hi(t))<0;){var n=mi(t);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return t;t=t.parentNode}return null}(e)||t}var xi="top",Si="bottom",Ci="right",Ti="left",ki=[xi,Si,Ci,Ti],Ai=ki.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),Ii=[].concat(ki,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),Di=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Pi(e){var t=new Map,n=new Set,r=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(o){n.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var o=t.get(r);o&&e(o)}})),r.push(o)}(e)})),r}var Mi={placement:"bottom",modifiers:[],strategy:"absolute"};function Ni(){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 Ri(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Mi:o;return function(e,t,n){void 0===n&&(n=i);var o,c,a={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},Mi),i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],u=!1,l={state:a,setOptions:function(n){f(),a.options=Object.assign(Object.assign(Object.assign({},i),a.options),n),a.scrollParents={reference:di(e)?vi(e):e.contextElement?vi(e.contextElement):[],popper:vi(t)};var o=function(e){var t=Pi(e);return Di.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign(Object.assign(Object.assign({},n),t),{},{options:Object.assign(Object.assign({},n.options),t.options),data:Object.assign(Object.assign({},n.data),t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,a.options.modifiers)));return a.orderedModifiers=o.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:a,name:t,instance:l,options:r});s.push(i||function(){})}})),l.update()},forceUpdate:function(){if(!u){var e=a.elements,t=e.reference,n=e.popper;if(Ni(t,n)){a.rects={reference:wi(t,Ei(n),"fixed"===a.options.strategy),popper:yi(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<a.orderedModifiers.length;r++)if(!0!==a.reset){var o=a.orderedModifiers[r],i=o.fn,c=o.options,s=void 0===c?{}:c,f=o.name;"function"==typeof i&&(a=i({state:a,options:s,name:f,instance:l})||a)}else a.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){l.forceUpdate(),e(a)}))},function(){return c||(c=new Promise((function(e){Promise.resolve().then((function(){c=void 0,e(o())}))}))),c}),destroy:function(){f(),u=!0}};if(!Ni(e,t))return l;function f(){s.forEach((function(e){return e()})),s=[]}return l.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var Fi={passive:!0};function Li(e){return e.split("-")[0]}function Bi(e){return e.split("-")[1]}function Ui(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Gi(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Li(o):null,c=o?Bi(o):null,a=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case xi:t={x:a,y:n.y-r.height};break;case Si:t={x:a,y:n.y+n.height};break;case Ci:t={x:n.x+n.width,y:s};break;case Ti:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=i?Ui(i):null;if(null!=u){var l="y"===u?"height":"width";switch(c){case"start":t[u]=t[u]-(n[l]/2-r[l]/2);break;case"end":t[u]=t[u]+(n[l]/2-r[l]/2)}}return t}var Vi={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Hi(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.offsets,c=e.position,a=e.gpuAcceleration,s=e.adaptive,u=e.roundOffsets?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Math.round(t*r)/r||0,y:Math.round(n*r)/r||0}}(i):i,l=u.x,f=void 0===l?0:l,d=u.y,p=void 0===d?0:d,h=i.hasOwnProperty("x"),$=i.hasOwnProperty("y"),b=Ti,m=xi,g=window;if(s){var w=Ei(n);w===li(n)&&(w=$i(n)),o===xi&&(m=Si,p-=w.clientHeight-r.height,p*=a?1:-1),o===Ti&&(b=Ci,f-=w.clientWidth-r.width,f*=a?1:-1)}var y,O=Object.assign({position:c},s&&Vi);return a?Object.assign(Object.assign({},O),{},((y={})[m]=$?"0":"",y[b]=h?"0":"",y.transform=(g.devicePixelRatio||1)<2?"translate("+f+"px, "+p+"px)":"translate3d("+f+"px, "+p+"px, 0)",y)):Object.assign(Object.assign({},O),{},((t={})[m]=$?p+"px":"",t[b]=h?f+"px":"",t.transform="",t))}var Wi={left:"right",right:"left",bottom:"top",top:"bottom"};function zi(e){return e.replace(/left|right|bottom|top/g,(function(e){return Wi[e]}))}var qi={start:"end",end:"start"};function Yi(e){return e.replace(/start|end/g,(function(e){return qi[e]}))}function Xi(e,t){var n,r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&((n=r)instanceof li(n).ShadowRoot||n instanceof ShadowRoot)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Ji(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Zi(e,t){return"viewport"===t?Ji(function(e){var t=li(e),n=$i(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,c=0,a=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(c=r.offsetLeft,a=r.offsetTop)),{width:o,height:i,x:c+bi(e),y:a}}(e)):pi(t)?function(e){var t=ui(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Ji(function(e){var t=$i(e),n=fi(e),r=e.ownerDocument.body,o=Math.max(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Math.max(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),c=-n.scrollLeft+bi(e),a=-n.scrollTop;return"rtl"===mi(r||t).direction&&(c+=Math.max(t.clientWidth,r?r.clientWidth:0)-o),{width:o,height:i,x:c,y:a}}($i(e)))}function Ki(e,t,n){var r="clippingParents"===t?function(e){var t=vi(Oi(e)),n=["absolute","fixed"].indexOf(mi(e).position)>=0&&pi(e)?Ei(e):e;return di(n)?t.filter((function(e){return di(e)&&Xi(e,n)&&"body"!==hi(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],c=o.reduce((function(t,n){var r=Zi(e,n);return t.top=Math.max(r.top,t.top),t.right=Math.min(r.right,t.right),t.bottom=Math.min(r.bottom,t.bottom),t.left=Math.max(r.left,t.left),t}),Zi(e,i));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function Qi(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function ec(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function tc(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,c=void 0===i?"clippingParents":i,a=n.rootBoundary,s=void 0===a?"viewport":a,u=n.elementContext,l=void 0===u?"popper":u,f=n.altBoundary,d=void 0!==f&&f,p=n.padding,h=void 0===p?0:p,$=Qi("number"!=typeof h?h:ec(h,ki)),b="popper"===l?"reference":"popper",m=e.elements.reference,g=e.rects.popper,w=e.elements[d?b:l],y=Ki(di(w)?w:w.contextElement||$i(e.elements.popper),c,s),O=ui(m),v=Gi({reference:O,element:g,strategy:"absolute",placement:o}),j=Ji(Object.assign(Object.assign({},g),v)),_="popper"===l?j:O,E={top:y.top-_.top+$.top,bottom:_.bottom-y.bottom+$.bottom,left:y.left-_.left+$.left,right:_.right-y.right+$.right},x=e.modifiersData.offset;if("popper"===l&&x){var S=x[o];Object.keys(E).forEach((function(e){var t=[Ci,Si].indexOf(e)>=0?1:-1,n=[xi,Si].indexOf(e)>=0?"y":"x";E[e]+=S[n]*t}))}return E}function nc(e,t,n){return Math.max(e,Math.min(t,n))}function rc(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function oc(e){return[xi,Ci,Si,Ti].some((function(t){return e[t]>=0}))}var ic=Ri({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,c=r.resize,a=void 0===c||c,s=li(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,Fi)})),a&&s.addEventListener("resize",n.update,Fi),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,Fi)})),a&&s.removeEventListener("resize",n.update,Fi)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Gi({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=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,c=void 0===i||i,a=n.roundOffsets,s=void 0===a||a,u={placement:Li(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),Hi(Object.assign(Object.assign({},u),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),Hi(Object.assign(Object.assign({},u),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];pi(o)&&hi(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});pi(r)&&hi(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,c=Ii.reduce((function(e,n){return e[n]=function(e,t,n){var r=Li(e),o=[Ti,xi].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign(Object.assign({},t),{},{placement:e})):n,c=i[0],a=i[1];return c=c||0,a=(a||0)*o,[Ti,Ci].indexOf(r)>=0?{x:a,y:c}:{x:c,y:a}}(n,t.rects,i),e}),{}),a=c[t.placement],s=a.x,u=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,c=n.altAxis,a=void 0===c||c,s=n.fallbackPlacements,u=n.padding,l=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,$=n.allowedAutoPlacements,b=t.options.placement,m=Li(b),g=s||(m===b||!h?[zi(b)]:function(e){if("auto"===Li(e))return[];var t=zi(e);return[Yi(e),t,Yi(t)]}(b)),w=[b].concat(g).reduce((function(e,n){return e.concat("auto"===Li(n)?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,c=n.padding,a=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?Ii:s,l=Bi(r),f=l?a?Ai:Ai.filter((function(e){return Bi(e)===l})):ki,d=f.filter((function(e){return u.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=tc(e,{placement:n,boundary:o,rootBoundary:i,padding:c})[Li(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:$}):n)}),[]),y=t.rects.reference,O=t.rects.popper,v=new Map,j=!0,_=w[0],E=0;E<w.length;E++){var x=w[E],S=Li(x),C="start"===Bi(x),T=[xi,Si].indexOf(S)>=0,k=T?"width":"height",A=tc(t,{placement:x,boundary:l,rootBoundary:f,altBoundary:d,padding:u}),I=T?C?Ci:Ti:C?Si:xi;y[k]>O[k]&&(I=zi(I));var D=zi(I),P=[];if(i&&P.push(A[S]<=0),a&&P.push(A[I]<=0,A[D]<=0),P.every((function(e){return e}))){_=x,j=!1;break}v.set(x,P)}if(j)for(var M=function(e){var t=w.find((function(t){var n=v.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return _=t,"break"},N=h?3:1;N>0;N--){if("break"===M(N))break}t.placement!==_&&(t.modifiersData[r]._skip=!0,t.placement=_,t.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=n.mainAxis,i=void 0===o||o,c=n.altAxis,a=void 0!==c&&c,s=n.boundary,u=n.rootBoundary,l=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,$=void 0===h?0:h,b=tc(t,{boundary:s,rootBoundary:u,padding:f,altBoundary:l}),m=Li(t.placement),g=Bi(t.placement),w=!g,y=Ui(m),O="x"===y?"y":"x",v=t.modifiersData.popperOffsets,j=t.rects.reference,_=t.rects.popper,E="function"==typeof $?$(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):$,x={x:0,y:0};if(v){if(i){var S="y"===y?xi:Ti,C="y"===y?Si:Ci,T="y"===y?"height":"width",k=v[y],A=v[y]+b[S],I=v[y]-b[C],D=p?-_[T]/2:0,P="start"===g?j[T]:_[T],M="start"===g?-_[T]:-j[T],N=t.elements.arrow,R=p&&N?yi(N):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},L=F[S],B=F[C],U=nc(0,j[T],R[T]),G=w?j[T]/2-D-U-L-E:P-U-L-E,V=w?-j[T]/2+D+U+B+E:M+U+B+E,H=t.elements.arrow&&Ei(t.elements.arrow),W=H?"y"===y?H.clientTop||0:H.clientLeft||0:0,z=t.modifiersData.offset?t.modifiersData.offset[t.placement][y]:0,q=v[y]+G-z-W,Y=v[y]+V-z,X=nc(p?Math.min(A,q):A,k,p?Math.max(I,Y):I);v[y]=X,x[y]=X-k}if(a){var J="x"===y?xi:Ti,Z="x"===y?Si:Ci,K=v[O],Q=nc(K+b[J],K,K-b[Z]);v[O]=Q,x[O]=Q-K}t.modifiersData[r]=x}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=n.elements.arrow,i=n.modifiersData.popperOffsets,c=Li(n.placement),a=Ui(c),s=[Ti,Ci].indexOf(c)>=0?"height":"width";if(o&&i){var u=n.modifiersData[r+"#persistent"].padding,l=yi(o),f="y"===a?xi:Ti,d="y"===a?Si:Ci,p=n.rects.reference[s]+n.rects.reference[a]-i[a]-n.rects.popper[s],h=i[a]-n.rects.reference[a],$=Ei(o),b=$?"y"===a?$.clientHeight||0:$.clientWidth||0:0,m=p/2-h/2,g=u[f],w=b-l[s]-u[d],y=b/2-l[s]/2+m,O=nc(g,y,w),v=a;n.modifiersData[r]=((t={})[v]=O,t.centerOffset=O-y,t)}},effect:function(e){var t=e.state,n=e.options,r=e.name,o=n.element,i=void 0===o?"[data-popper-arrow]":o,c=n.padding,a=void 0===c?0:c;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Xi(t.elements.popper,i)&&(t.elements.arrow=i,t.modifiersData[r+"#persistent"]={padding:Qi("number"!=typeof a?a:ec(a,ki))})},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,i=t.modifiersData.preventOverflow,c=tc(t,{elementContext:"reference"}),a=tc(t,{altBoundary:!0}),s=rc(c,r),u=rc(a,o,i),l=oc(s),f=oc(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),cc={passive:!0,capture:!0};function ac(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function sc(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function uc(e,t){return"function"==typeof e?e.apply(void 0,t):e}function lc(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function fc(e){return[].concat(e)}function dc(e,t){-1===e.indexOf(t)&&e.push(t)}function pc(e){return e.split("-")[0]}function hc(e){return[].slice.call(e)}function $c(){return document.createElement("div")}function bc(e){return["Element","Fragment"].some((function(t){return sc(e,t)}))}function mc(e){return sc(e,"MouseEvent")}function gc(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function wc(e){return bc(e)?[e]:function(e){return sc(e,"NodeList")}(e)?hc(e):Array.isArray(e)?e:hc(document.querySelectorAll(e))}function yc(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Oc(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function vc(e){var t=fc(e)[0];return t&&t.ownerDocument||document}function jc(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}var _c={isTouch:!1},Ec=0;function xc(){_c.isTouch||(_c.isTouch=!0,window.performance&&document.addEventListener("mousemove",Sc))}function Sc(){var e=performance.now();e-Ec<20&&(_c.isTouch=!1,document.removeEventListener("mousemove",Sc)),Ec=e}function Cc(){var e=document.activeElement;if(gc(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var Tc="undefined"!=typeof window&&"undefined"!=typeof document?navigator.userAgent:"",kc=/MSIE |Trident\//.test(Tc);var Ac={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ic=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Ac,{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Dc=Object.keys(Ic);function Pc(e){var t=(e.plugins||[]).reduce((function(t,n){var r=n.name,o=n.defaultValue;return r&&(t[r]=void 0!==e[r]?e[r]:o),t}),{});return Object.assign({},e,{},t)}function Mc(e,t){var n=Object.assign({},t,{content:uc(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Pc(Object.assign({},Ic,{plugins:t}))):Dc).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},Ic.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function Nc(e,t){e.innerHTML=t}function Rc(e){var t=$c();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",bc(e)?t.appendChild(e):Nc(t,e)),t}function Fc(e,t){bc(t.content)?(Nc(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Nc(e,t.content):e.textContent=t.content)}function Lc(e){var t=e.firstElementChild,n=hc(t.children);return{box:t,content:n.find((function(e){return e.classList.contains("tippy-content")})),arrow:n.find((function(e){return e.classList.contains("tippy-arrow")||e.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function Bc(e){var t=$c(),n=$c();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=$c();function o(n,r){var o=Lc(t),i=o.box,c=o.content,a=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Fc(c,e.props),r.arrow?a?n.arrow!==r.arrow&&(i.removeChild(a),i.appendChild(Rc(r.arrow))):i.appendChild(Rc(r.arrow)):a&&i.removeChild(a)}return r.className="tippy-content",r.setAttribute("data-state","hidden"),Fc(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}Bc.$$tippy=!0;var Uc=1,Gc=[],Vc=[];function Hc(e,t){var n,r,o,i,c,a,s,u,l,f=Mc(e,Object.assign({},Ic,{},Pc((n=t,Object.keys(n).reduce((function(e,t){return void 0!==n[t]&&(e[t]=n[t]),e}),{}))))),d=!1,p=!1,h=!1,$=!1,b=[],m=lc(Y,f.interactiveDebounce),g=Uc++,w=(l=f.plugins).filter((function(e,t){return l.indexOf(e)===t})),y={id:g,reference:e,popper:$c(),popperInstance:null,props:f,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:w,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(t){0;if(y.state.isDestroyed)return;P("onBeforeUpdate",[y,t]),z();var n=y.props,r=Mc(e,Object.assign({},y.props,{},t,{ignoreAttributes:!0}));y.props=r,W(),n.interactiveDebounce!==r.interactiveDebounce&&(R(),m=lc(Y,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?fc(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");N(),D(),j&&j(n,r);y.popperInstance&&(K(),ee().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));P("onAfterUpdate",[y,t])},setContent:function(e){y.setProps({content:e})},show:function(){0;var e=y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,r=_c.isTouch&&!y.props.touch,o=ac(y.props.duration,0,Ic.duration);if(e||t||n||r)return;if(T().hasAttribute("disabled"))return;if(P("onShow",[y],!1),!1===y.props.onShow(y))return;y.state.isVisible=!0,C()&&(v.style.visibility="visible");D(),U(),y.state.isMounted||(v.style.transition="none");if(C()){var i=A(),c=i.box,a=i.content;yc([c,a],0)}s=function(){if(y.state.isVisible&&!$){if($=!0,v.offsetHeight,v.style.transition=y.props.moveTransition,C()&&y.props.animation){var e=A(),t=e.box,n=e.content;yc([t,n],o),Oc([t,n],"visible")}M(),N(),dc(Vc,y),y.state.isMounted=!0,P("onMount",[y]),y.props.animation&&C()&&function(e,t){V(e,t)}(o,(function(){y.state.isShown=!0,P("onShown",[y])}))}},function(){var e,t=y.props.appendTo,n=T();e=y.props.interactive&&t===Ic.appendTo||"parent"===t?n.parentNode:uc(t,[n]);e.contains(v)||e.appendChild(v);K(),!1}()},hide:function(){0;var e=!y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,r=ac(y.props.duration,1,Ic.duration);if(e||t||n)return;if(P("onHide",[y],!1),!1===y.props.onHide(y))return;y.state.isVisible=!1,y.state.isShown=!1,$=!1,d=!1,C()&&(v.style.visibility="hidden");if(R(),G(),D(),C()){var o=A(),i=o.box,c=o.content;y.props.animation&&(yc([i,c],r),Oc([i,c],"hidden"))}M(),N(),y.props.animation?C()&&function(e,t){V(e,(function(){!y.state.isVisible&&v.parentNode&&v.parentNode.contains(v)&&t()}))}(r,y.unmount):y.unmount()},hideWithInteractivity:function(e){0;k().addEventListener("mousemove",m),dc(Gc,m),m(e)},enable:function(){y.state.isEnabled=!0},disable:function(){y.hide(),y.state.isEnabled=!1},unmount:function(){0;y.state.isVisible&&y.hide();if(!y.state.isMounted)return;Q(),ee().forEach((function(e){e._tippy.unmount()})),v.parentNode&&v.parentNode.removeChild(v);Vc=Vc.filter((function(e){return e!==y})),y.state.isMounted=!1,P("onHidden",[y])},destroy:function(){0;if(y.state.isDestroyed)return;y.clearDelayTimeouts(),y.unmount(),z(),delete e._tippy,y.state.isDestroyed=!0,P("onDestroy",[y])}};if(!f.render)return y;var O=f.render(y),v=O.popper,j=O.onUpdate;v.setAttribute("data-tippy-root",""),v.id="tippy-"+y.id,y.popper=v,e._tippy=y,v._tippy=y;var _=w.map((function(e){return e.fn(y)})),E=e.hasAttribute("aria-expanded");return W(),N(),D(),P("onCreate",[y]),f.showOnCreate&&te(),v.addEventListener("mouseenter",(function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()})),v.addEventListener("mouseleave",(function(e){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&(k().addEventListener("mousemove",m),m(e))})),y;function x(){var e=y.props.touch;return Array.isArray(e)?e:[e,0]}function S(){return"hold"===x()[0]}function C(){var e;return!!(null==(e=y.props.render)?void 0:e.$$tippy)}function T(){return u||e}function k(){var e=T().parentNode;return e?vc(e):document}function A(){return Lc(v)}function I(e){return y.state.isMounted&&!y.state.isVisible||_c.isTouch||c&&"focus"===c.type?0:ac(y.props.delay,e?0:1,Ic.delay)}function D(){v.style.pointerEvents=y.props.interactive&&y.state.isVisible?"":"none",v.style.zIndex=""+y.props.zIndex}function P(e,t,n){var r;(void 0===n&&(n=!0),_.forEach((function(n){n[e]&&n[e].apply(void 0,t)})),n)&&(r=y.props)[e].apply(r,t)}function M(){var t=y.props.aria;if(t.content){var n="aria-"+t.content,r=v.id;fc(y.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(y.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function N(){!E&&y.props.aria.expanded&&fc(y.props.triggerTarget||e).forEach((function(e){y.props.interactive?e.setAttribute("aria-expanded",y.state.isVisible&&e===T()?"true":"false"):e.removeAttribute("aria-expanded")}))}function R(){k().removeEventListener("mousemove",m),Gc=Gc.filter((function(e){return e!==m}))}function F(e){if(!(_c.isTouch&&(h||"mousedown"===e.type)||y.props.interactive&&v.contains(e.target))){if(T().contains(e.target)){if(_c.isTouch)return;if(y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else P("onClickOutside",[y,e]);!0===y.props.hideOnClick&&(y.clearDelayTimeouts(),y.hide(),p=!0,setTimeout((function(){p=!1})),y.state.isMounted||G())}}function L(){h=!0}function B(){h=!1}function U(){var e=k();e.addEventListener("mousedown",F,!0),e.addEventListener("touchend",F,cc),e.addEventListener("touchstart",B,cc),e.addEventListener("touchmove",L,cc)}function G(){var e=k();e.removeEventListener("mousedown",F,!0),e.removeEventListener("touchend",F,cc),e.removeEventListener("touchstart",B,cc),e.removeEventListener("touchmove",L,cc)}function V(e,t){var n=A().box;function r(e){e.target===n&&(jc(n,"remove",r),t())}if(0===e)return t();jc(n,"remove",a),jc(n,"add",r),a=r}function H(t,n,r){void 0===r&&(r=!1),fc(y.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),b.push({node:e,eventType:t,handler:n,options:r})}))}function W(){var e;S()&&(H("touchstart",q,{passive:!0}),H("touchend",X,{passive:!0})),(e=y.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(H(e,q),e){case"mouseenter":H("mouseleave",X);break;case"focus":H(kc?"focusout":"blur",J);break;case"focusin":H("focusout",J)}}))}function z(){b.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),b=[]}function q(e){var t,n=!1;if(y.state.isEnabled&&!Z(e)&&!p){var r="focus"===(null==(t=c)?void 0:t.type);c=e,u=e.currentTarget,N(),!y.state.isVisible&&mc(e)&&Gc.forEach((function(t){return t(e)})),"click"===e.type&&(y.props.trigger.indexOf("mouseenter")<0||d)&&!1!==y.props.hideOnClick&&y.state.isVisible?n=!0:te(e),"click"===e.type&&(d=!n),n&&!r&&ne(e)}}function Y(e){var t=e.target,n=T().contains(t)||v.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,c=pc(o.placement),a=o.modifiersData.offset;if(!a)return!0;var s="bottom"===c?a.top.y:0,u="top"===c?a.bottom.y:0,l="right"===c?a.left.x:0,f="left"===c?a.right.x:0,d=t.top-r+s>i,p=r-t.bottom-u>i,h=t.left-n+l>i,$=n-t.right-f>i;return d||p||h||$}))}(ee().concat(v).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:f}:null})).filter(Boolean),e)&&(R(),ne(e))}function X(e){Z(e)||y.props.trigger.indexOf("click")>=0&&d||(y.props.interactive?y.hideWithInteractivity(e):ne(e))}function J(e){y.props.trigger.indexOf("focusin")<0&&e.target!==T()||y.props.interactive&&e.relatedTarget&&v.contains(e.relatedTarget)||ne(e)}function Z(e){return!!_c.isTouch&&S()!==e.type.indexOf("touch")>=0}function K(){Q();var t=y.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,c=t.moveTransition,a=C()?Lc(v).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||T()}:e,l=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!c}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(C()){var n=A().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];C()&&a&&l.push({name:"arrow",options:{element:a,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),y.popperInstance=ic(u,v,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:l}))}function Q(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function ee(){return hc(v.querySelectorAll("[data-tippy-root]"))}function te(e){y.clearDelayTimeouts(),e&&P("onTrigger",[y,e]),U();var t=I(!0),n=x(),o=n[0],i=n[1];_c.isTouch&&"hold"===o&&i&&(t=i),t?r=setTimeout((function(){y.show()}),t):y.show()}function ne(e){if(y.clearDelayTimeouts(),P("onUntrigger",[y,e]),y.state.isVisible){if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=I(!1);t?o=setTimeout((function(){y.state.isVisible&&y.hide()}),t):i=requestAnimationFrame((function(){y.hide()}))}}else G()}}function Wc(e,t){void 0===t&&(t={});var n=Ic.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",xc,cc),window.addEventListener("blur",Cc);var r=Object.assign({},t,{plugins:n}),o=wc(e).reduce((function(e,t){var n=t&&Hc(t,r);return n&&e.push(n),e}),[]);return bc(e)?o[0]:o}Wc.defaultProps=Ic,Wc.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Ic[t]=e[t]}))},Wc.currentInput=_c;Wc.setDefaultProps({render:Bc});var zc=Wc;function qc(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var Yc="undefined"!=typeof window&&"undefined"!=typeof document;function Xc(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function Jc(){return Yc&&document.createElement("div")}function Zc(e,t){var n,r;return Object.assign({},t,{popperOptions:Object.assign({},e.popperOptions,t.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?void 0:n.modifiers)||[]).filter((function(e){return e.name.indexOf("tippy")>=0})),(null==(r=t.popperOptions)?void 0:r.modifiers)||[])})})}var Kc=Yc?ce.useLayoutEffect:ce.useEffect;function Qc(e){var t=Object(ce.useRef)();return t.current||(t.current="function"==typeof e?e():e),t.current}function ea(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var ta={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function r(){e.props.className&&!n()||ea(t,"add",e.props.className)}return{onCreate:r,onBeforeUpdate:function(){n()&&ea(t,"remove",e.props.className)},onAfterUpdate:r}}};function na(e){return function(t){var n=t.children,r=t.content,o=t.visible,i=t.singleton,c=t.render,a=t.reference,s=t.disabled,u=void 0!==s&&s,l=t.ignoreAttributes,f=void 0===l||l,d=(t.__source,t.__self,qc(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),p=void 0!==o,h=void 0!==i,$=Object(ce.useState)(!1),b=$[0],m=$[1],g=Object(ce.useState)({}),w=g[0],y=g[1],O=Object(ce.useState)(),v=O[0],j=O[1],_=Qc((function(){return{container:Jc(),renders:1}})),E=Object.assign({ignoreAttributes:f},d,{content:_.container});p&&(E.trigger="manual",E.hideOnClick=!1),h&&(u=!0);var x=E,S=E.plugins||[];c&&(x=Object.assign({},E,{plugins:h?[].concat(S,[{fn:function(){return{onTrigger:function(e,t){var n=i.data.children.find((function(e){return e.instance.reference===t.currentTarget})).content;j(n)}}}}]):S,render:function(){return{popper:_.container}}}));var C=[a].concat(n?[n.type]:[]);return Kc((function(){var t=a;a&&a.hasOwnProperty("current")&&(t=a.current);var n=e(t||_.ref||Jc(),Object.assign({},x,{plugins:[ta].concat(E.plugins||[])}));return _.instance=n,u&&n.disable(),o&&n.show(),h&&i.hook({instance:n,content:r,props:x}),m(!0),function(){n.destroy(),null==i||i.cleanup(n)}}),C),Kc((function(){if(1!==_.renders){var e=_.instance;e.setProps(Zc(e.props,x)),u?e.disable():e.enable(),p&&(o?e.show():e.hide()),h&&i.hook({instance:e,content:r,props:x})}else _.renders++})),Kc((function(){var e;if(c){var t=_.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[],[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,r=null==(t=n.modifiersData)?void 0:t.hide;w.placement===n.placement&&w.referenceHidden===(null==r?void 0:r.isReferenceHidden)&&w.escaped===(null==r?void 0:r.hasPopperEscaped)||y({placement:n.placement,referenceHidden:null==r?void 0:r.isReferenceHidden,escaped:null==r?void 0:r.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[w.placement,w.referenceHidden,w.escaped].concat(C)),ce.default.createElement(ce.default.Fragment,null,n?Object(ce.cloneElement)(n,{ref:function(e){_.ref=e,Xc(n.ref,e)}}):null,b&&Object(ce.createPortal)(c?c(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(w),v,_.instance):r,_.container))}}var ra=function(e,t){return Object(ce.forwardRef)((function(n,r){var o=n.children,i=qc(n,["children"]);return ce.default.createElement(e,Object.assign({},t,i),o?Object(ce.cloneElement)(o,{ref:function(e){Xc(r,e),Xc(o.ref,e)}}):null)}))},oa=ra(na(zc));class ia extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Content"]}}var ca=n(29);function aa(e){return(aa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function sa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ua(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function la(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ua(Object(n),!0).forEach((function(t){sa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ua(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fa(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function da(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function pa(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}function ha(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),o=pa(t.slice(0,r)),i=t.slice(r+1).trim();return o.startsWith("webkit")?e[(n=o,n.charAt(0).toUpperCase()+n.slice(1))]=i:e[o]=i,e}),{})}var $a=!1;try{$a=!0}catch(e){}function ba(e){return ca.b.icon?ca.b.icon(e):null===e?null:"object"===aa(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function ma(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?sa({},e,t):{}}function ga(e){var t=e.forwardedRef,n=fa(e,["forwardedRef"]),r=n.icon,o=n.mask,i=n.symbol,c=n.className,a=n.title,s=n.titleId,u=ba(r),l=ma("classes",[].concat(da(function(e){var t,n=e.spin,r=e.pulse,o=e.fixedWidth,i=e.inverse,c=e.border,a=e.listItem,s=e.flip,u=e.size,l=e.rotation,f=e.pull,d=(sa(t={"fa-spin":n,"fa-pulse":r,"fa-fw":o,"fa-inverse":i,"fa-border":c,"fa-li":a,"fa-flip-horizontal":"horizontal"===s||"both"===s,"fa-flip-vertical":"vertical"===s||"both"===s},"fa-".concat(u),null!=u),sa(t,"fa-rotate-".concat(l),null!=l&&0!==l),sa(t,"fa-pull-".concat(f),null!=f),sa(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(d).map((function(e){return d[e]?e:null})).filter((function(e){return e}))}(n)),da(c.split(" ")))),f=ma("transform","string"==typeof n.transform?ca.b.transform(n.transform):n.transform),d=ma("mask",ba(o)),p=Object(ca.a)(u,la({},l,{},f,{},d,{symbol:i,title:a,titleId:s}));if(!p)return function(){var e;!$a&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var h=p.abstract,$={ref:t};return Object.keys(n).forEach((function(e){ga.defaultProps.hasOwnProperty(e)||($[e]=n[e])})),wa(h[0],$)}ga.displayName="FontAwesomeIcon",ga.propTypes={border:de.a.bool,className:de.a.string,mask:de.a.oneOfType([de.a.object,de.a.array,de.a.string]),fixedWidth:de.a.bool,inverse:de.a.bool,flip:de.a.oneOf(["horizontal","vertical","both"]),icon:de.a.oneOfType([de.a.object,de.a.array,de.a.string]),listItem:de.a.bool,pull:de.a.oneOf(["right","left"]),pulse:de.a.bool,rotation:de.a.oneOf([0,90,180,270]),size:de.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:de.a.bool,symbol:de.a.oneOfType([de.a.bool,de.a.string]),title:de.a.string,transform:de.a.oneOfType([de.a.string,de.a.object]),swapOpacity:de.a.bool},ga.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var wa=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map((function(n){return e(t,n)})),i=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=ha(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[pa(t)]=r}return e}),{attrs:{}}),c=r.style,a=void 0===c?{}:c,s=fa(r,["style"]);return i.attrs.style=la({},i.attrs.style,{},a),t.apply(void 0,[n.tag,la({},i.attrs,{},s)].concat(da(o)))}.bind(null,ce.default.createElement),ya={prefix:"fas",iconName:"info-circle",icon:[512,512,[],"f05a","M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"]};
|
|
12
12
|
/*!
|
|
13
13
|
* Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
|
|
14
14
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|