@flarehr/tfn-declaration-app 1.26.1 → 1.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=57)}([function(e,t,n){"use strict";n.d(t,"k",(function(){return a})),n.d(t,"d",(function(){return l})),n.d(t,"I",(function(){return f})),n.d(t,"a",(function(){return d})),n.d(t,"L",(function(){return p})),n.d(t,"K",(function(){return h})),n.d(t,"z",(function(){return $})),n.d(t,"G",(function(){return b})),n.d(t,"A",(function(){return m})),n.d(t,"b",(function(){return g})),n.d(t,"e",(function(){return w})),n.d(t,"F",(function(){return y})),n.d(t,"M",(function(){return O})),n.d(t,"J",(function(){return v})),n.d(t,"c",(function(){return j})),n.d(t,"s",(function(){return _})),n.d(t,"E",(function(){return E})),n.d(t,"f",(function(){return x})),n.d(t,"t",(function(){return S})),n.d(t,"g",(function(){return C})),n.d(t,"v",(function(){return T})),n.d(t,"u",(function(){return k})),n.d(t,"j",(function(){return A})),n.d(t,"h",(function(){return I})),n.d(t,"i",(function(){return D})),n.d(t,"H",(function(){return N})),n.d(t,"q",(function(){return M})),n.d(t,"l",(function(){return R})),n.d(t,"n",(function(){return F})),n.d(t,"y",(function(){return L})),n.d(t,"w",(function(){return B})),n.d(t,"x",(function(){return U})),n.d(t,"r",(function(){return G})),n.d(t,"p",(function(){return V})),n.d(t,"m",(function(){return H})),n.d(t,"o",(function(){return W})),n.d(t,"D",(function(){return z})),n.d(t,"B",(function(){return q})),n.d(t,"C",(function(){return Y}));var r=n(2),o=n(4);class i{constructor(e,t,n,r){this.declaringType=e,this.tag=t,this.name=n,this.fields=r}}class c{constructor(e,t,n,r,o,i,c){this.fullname=e,this.generics=t,this.construct=n,this.parent=r,this.fields=o,this.cases=i,this.enumCases=c}toString(){return x(this)}GetHashCode(){return s(this)}Equals(e){return u(this,e)}}function a(e){return null!=e.generics?e.generics:[]}function s(e){const t=Object(o.D)(e.fullname),n=a(e).map(s);return Object(o.d)([t,...n])}function u(e,t){return""===e.fullname?""===t.fullname&&Object(o.n)(R(e),R(t),([e,t],[n,r])=>e===n&&u(t,r)):e.fullname===t.fullname&&Object(o.n)(a(e),a(t),u)}function l(e,t,n,r){return new c(e,t,n,r)}function f(e,t,n,r){return new c(e,t,n,void 0,r)}function d(...e){return new c("",void 0,void 0,void 0,()=>e)}function p(e,t,n,r){const o=new c(e,t,n,void 0,void 0,()=>{const e=n.prototype.cases();return r().map((t,n)=>new i(o,n,e[n],t))});return o}function h(...e){return new c("System.Tuple`"+e.length,e)}function $(e,t){return new c("Microsoft.FSharp.Core.FSharpFunc`2",[e,t])}function b(e){return new c("Microsoft.FSharp.Core.FSharpOption`1",[e])}function m(e){return new c("Microsoft.FSharp.Collections.FSharpList`1",[e])}function g(e){return new c(e.fullname+"[]",[e])}function w(e,t,n){return new c(e,[t],void 0,void 0,void 0,void 0,n)}const y=new c("System.Object"),O=new c("Microsoft.FSharp.Core.Unit"),v=(new c("System.Char"),new c("System.String")),j=new c("System.Boolean"),_=(new c("System.SByte"),new c("System.Byte"),new c("System.Int16"),new c("System.UInt16"),new c("System.Int32"));new c("System.UInt32"),new c("System.Single"),new c("System.Double"),new c("System.Decimal");function E(e){if(Array.isArray(e))return e[0];if(e instanceof i)return e.name;{const t=e.fullname.lastIndexOf(".");return-1===t?e.fullname:e.fullname.substr(t+1)}}function x(e){const t=null==e.generics||S(e)?[]:e.generics;return t.length>0?e.fullname+"["+t.map(e=>x(e)).join(",")+"]":e.fullname}function S(e){return e.fullname.endsWith("[]")}function C(e){var t;return S(e)?null===(t=e.generics)||void 0===t?void 0:t[0]:void 0}function T(e){return null!=e.generics&&e.generics.length>0}function k(e){return null!=e.enumCases&&e.enumCases.length>0}function A(e){return null==e.generics?e:new c(e.fullname,e.generics.map(()=>y))}function I(e){var t;return null===(t=e.generics)||void 0===t?void 0:t[0]}function D(e){if(k(e)&&null!=e.enumCases)return e.enumCases.map(e=>e[1]);throw new Error(e.fullname+" is not an enum type")}function P(e,t){if(null!=e.enumCases){if("string"==typeof t){for(const n of e.enumCases)if(n[0]===t)return n;throw new Error(`'${t}' was not found in ${e.fullname}`)}for(const n of e.enumCases)if(n[1]===t)return n;return["",t]}throw new Error(e.fullname+" is not an enum type")}function N(e,t){const n=parseInt(t,10);return P(e,isNaN(n)?t:n)[1]}function M(e){if(null!=e.cases)return e.cases();throw new Error(e.fullname+" is not an F# union type")}function R(e){if(null!=e.fields)return e.fields();throw new Error(e.fullname+" is not an F# record type")}function F(e){if(U(e)&&null!=e.generics)return e.generics;throw new Error(e.fullname+" is not a tuple type")}function L(e){return e instanceof c?null!=e.cases:e instanceof r.d}function B(e){return e instanceof c?null!=e.fields:e instanceof r.c}function U(e){return e.fullname.startsWith("System.Tuple")&&!S(e)}function G(e,t){const n=M(t)[e.tag];if(null==n)throw new Error(`Cannot find case ${e.name} in union type`);return[n,e.fields]}function V(e){return null==e.fields?[]:e.fields}function H(e,t){return e[t[0]]}function W(e){return e}function z(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);return null!=e.declaringType.construct?new e.declaringType.construct(e.tag,...t):{}}function q(e,t){const n=R(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return null!=e.construct?new e.construct(...t):n.reduce((e,[n,r],o)=>(e[n]=t[o],e),{})}function Y(e,t){return e}},function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return a})),n.d(t,"f",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p}));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["Ok","Error"]}}function c(e,t){return 0===t.tag?new i(0,e(t.fields[0])):new i(1,t.fields[0])}function a(e,t){return 0===t.tag?new i(0,t.fields[0]):new i(1,e(t.fields[0]))}function s(e,t){return 0===t.tag?e(t.fields[0]):new i(1,t.fields[0])}class u extends r.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of2","Choice2Of2"]}}r.d;r.d;r.d;r.d;r.d;function l(e){return new u(0,e)}function f(e){return new u(1,e)}function d(e){return 0===e.tag?Object(o.f)(e.fields[0]):void 0}function p(e){return 1===e.tag?Object(o.f)(e.fields[0]):void 0}},function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"c",(function(){return h})),n.d(t,"a",(function(){return $}));var r=n(4);function o(e){let t=0,n="[";for(const r of e){if(0===t)n+=i(r);else{if(100===t){n+="; ...";break}n+="; "+i(r)}t++}return n+"]"}function i(e,t=0){if(null!=e&&"object"==typeof e){if("function"==typeof e.toString)return e.toString();if(Symbol.iterator in e)return o(e);{const n=Object.getPrototypeOf(e).constructor;return n===Object&&t<10?"{ "+Object.entries(e).map(([e,n])=>e+" = "+i(n,t+1)).join("\n ")+" }":n.name}}return String(e)}function c(e,t){if(e===t)return 0;if(null==t)return-1;for(;null!=e.tail;){if(null==t.tail)return 1;const n=Object(r.e)(e.head,t.head);if(0!==n)return n;e=e.tail,t=t.tail}return null==t.tail?0:-1}class a{constructor(e,t){this.head=e,this.tail=t}[Symbol.iterator](){let e=this;return{next:()=>{const t=null==e?void 0:e.head,n=null==(null==e?void 0:e.tail);return e=null==e?void 0:e.tail,{done:n,value:t}}}}toJSON(){return Array.from(this)}toString(){return o(this)}GetHashCode(){return Object(r.d)(Array.from(this).map(r.E))}Equals(e){return 0===c(this,e)}CompareTo(e){return c(this,e)}}class s{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){if(0===this.fields.length)return this.name;{let e="",t=!0;if(1===this.fields.length){const n=i(this.fields[0]);t=n.indexOf(" ")>=0,e=n}else e=this.fields.map(e=>i(e)).join(", ");return this.name+(t?" (":" ")+e+(t?")":"")}}GetHashCode(){const e=this.fields.map(e=>Object(r.E)(e));return e.splice(0,0,Object(r.w)(this.tag)),Object(r.d)(e)}Equals(e){return this===e||!!Object(r.C)(this,e)&&(this.tag===e.tag&&Object(r.m)(this.fields,e.fields))}CompareTo(e){return this===e?0:Object(r.C)(this,e)?this.tag===e.tag?Object(r.f)(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}function u(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function l(e){return"{ "+Object.entries(e).map(([e,t])=>e+" = "+i(t)).join("\n ")+" }"}function f(e){const t=Object.values(e).map(e=>Object(r.E)(e));return Object(r.d)(t)}function d(e,t){if(e===t)return!0;if(Object(r.C)(e,t)){const n=Object.keys(e);for(let o=0;o<n.length;o++)if(!Object(r.o)(e[n[o]],t[n[o]]))return!1;return!0}return!1}function p(e,t){if(e===t)return 0;if(Object(r.C)(e,t)){const n=Object.keys(e);for(let o=0;o<n.length;o++){const i=Object(r.e)(e[n[o]],t[n[o]]);if(0!==i)return i}return 0}return-1}class h{toJSON(){return u(this)}toString(){return l(this)}GetHashCode(){return f(this)}Equals(e){return d(this,e)}CompareTo(e){return p(this,e)}}class ${constructor(e,t){"function"==typeof t?(this.getter=e,this.setter=t):(this.getter=()=>e,this.setter=t=>{e=t})}get contents(){return this.getter()}set contents(e){this.setter(e)}}},function(e,t,n){"use strict";n.d(t,"l",(function(){return c})),n.d(t,"C",(function(){return a})),n.d(t,"a",(function(){return p})),n.d(t,"e",(function(){return h})),n.d(t,"c",(function(){return $})),n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return m})),n.d(t,"g",(function(){return g})),n.d(t,"h",(function(){return w})),n.d(t,"y",(function(){return y})),n.d(t,"f",(function(){return v})),n.d(t,"i",(function(){return j})),n.d(t,"j",(function(){return _})),n.d(t,"k",(function(){return E})),n.d(t,"E",(function(){return x})),n.d(t,"n",(function(){return S})),n.d(t,"o",(function(){return C})),n.d(t,"m",(function(){return T})),n.d(t,"p",(function(){return k})),n.d(t,"q",(function(){return A})),n.d(t,"r",(function(){return I})),n.d(t,"t",(function(){return D})),n.d(t,"u",(function(){return P})),n.d(t,"v",(function(){return N})),n.d(t,"w",(function(){return M})),n.d(t,"x",(function(){return R})),n.d(t,"z",(function(){return F})),n.d(t,"A",(function(){return L})),n.d(t,"B",(function(){return B})),n.d(t,"F",(function(){return U})),n.d(t,"s",(function(){return G})),n.d(t,"G",(function(){return V})),n.d(t,"D",(function(){return H}));n(22),n(5);var r=n(7),o=n(4);class i{constructor(e){this.iter=e}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this.iter.next();return this.current=e.value,!e.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function c(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new i(e[Symbol.iterator]())}function a(e){return{[Symbol.iterator](){return this},next(){const t=e["System.Collections.IEnumerator.MoveNext"]();return{done:!t,value:t?e["System.Collections.IEnumerator.get_Current"]():void 0}}}}function s(e){if(null==e)throw new Error("Seq did not contain any matching element");return Object(r.i)(e)}class u{constructor(e){this.f=e}[Symbol.iterator](){return new u(this.f)}next(){var e;return this.iter=null!==(e=this.iter)&&void 0!==e?e:this.f(),this.iter.next()}toString(){return"seq ["+Array.from(this).join("; ")+"]"}}function l(e){return new u(e)}function f(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function d(e){return Array.isArray(e)?g(()=>e):g(()=>V(t=>null!=t&&t<e.length?[e[t],t+1]:void 0,0))}function p(e,t){return g(()=>{let n=!1;let r=[e[Symbol.iterator](),void 0];return V(()=>{var e,o;let i;if(!n){if(i=null===(e=r[0])||void 0===e?void 0:e.next(),null!=i&&!i.done)return[i.value,r];n=!0,r=[void 0,t[Symbol.iterator]()]}return i=null===(o=r[1])||void 0===o?void 0:o.next(),null==i||i.done?void 0:[i.value,r]},r)})}function h(e){return g(()=>{const t=e[Symbol.iterator]();let n;return V(e=>{let r=!1;for(;!r;)if(null==e){const n=t.next();n.done?r=!0:e=n.value[Symbol.iterator]()}else{const t=e.next();t.done?e=void 0:(n=t.value,r=!0)}return null!=e?[n,e]:void 0},void 0)})}function $(e,t){return h(k(e,t))}function b(e,t){return g(()=>V(t=>{let n=t.next();for(;!n.done;){const o=e(n.value);if(null!=o)return[Object(r.i)(o),t];n=t.next()}},t[Symbol.iterator]()))}function m(e,t,n){if(t===n)return 0;let r,o,i=0;for(const c=t[Symbol.iterator](),a=n[Symbol.iterator]();(r=c.next(),o=a.next(),!r.done&&!o.done)&&(i=e(r.value,o.value),0===i););return 0!==i?i:r.done&&!o.done?-1:!r.done&&o.done?1:0}function g(e){return l(()=>e()[Symbol.iterator]())}function w(){return g(()=>[])}function y(e){return g(()=>[e])}function O(e,t){let n;for(const r=t[Symbol.iterator]();n=r.next(),!n.done;)if(e(n.value))return!0;return!1}function v(e,t){return O(t=>Object(o.o)(t,e),t)}function j(e,t,n){if(f(n))return n.reduce(e,t);{let r;for(let o=0,i=n[Symbol.iterator]();r=i.next(),!r.done;o++)t=e(t,r.value,o);return t}}function _(e,t,n,r){const o=n[Symbol.iterator](),i=r[Symbol.iterator]();let c,a;for(let n=0;c=o.next(),a=i.next(),!c.done&&!a.done;n++)t=e(t,c.value,a.value,n);return t}function E(e,t,n,r){const o=f(t)?t:Array.from(t),i=f(n)?n:Array.from(n);for(let t=o.length-1;t>=0;t--)r=e(o[t],i[t],r,t);return r}function x(e){const t=e[Symbol.iterator]().next();return t.done?void 0:Object(r.f)(t.value)}function S(e,t){j((t,n)=>{e(n)},void 0,t)}function C(e,t){j((t,n,r)=>{e(null!=r?r:0,n)},void 0,t)}function T(e){return e[Symbol.iterator]().next().done}function k(e,t){return g(()=>V(t=>{const n=t.next();return n.done?void 0:[e(n.value),t]},t[Symbol.iterator]()))}function A(e,t){return g(()=>{let n=0;return V(t=>{const r=t.next();return r.done?void 0:[e(n++,r.value),t]},t[Symbol.iterator]())})}function I(e){return g(()=>{const t=e[Symbol.iterator]().next();if(t.done)return w();const n=t.value,r=function(e){return F(1,e)}(e);return F(1,M(([e,t],n)=>[t,n],[n,n],r))})}function D(e,t,n){if(0===t)throw new Error("Step cannot be 0");return g(()=>V(e=>t>0&&e<=n||t<0&&e>=n?[e,e+t]:void 0,e))}function P(e,t){if(f(t))return t.reduce(e);const n=t[Symbol.iterator]();let r=n.next();if(r.done)throw new Error("Seq was empty");let o=r.value;for(;r=n.next(),!r.done;)o=e(o,r.value);return o}function N(e){return d((f(e)?e.slice(0):Array.from(e)).reverse())}function M(e,t,n){return g(()=>{const r=n[Symbol.iterator]();return V(n=>{if(null==n)return[t,t];const o=r.next();return o.done?void 0:[n=e(n,o.value),n]},void 0)})}function R(e,t,n){return N(M((t,n)=>e(n,t),n,N(t)))}function F(e,t){return l(()=>{const n=t[Symbol.iterator]();for(let t=1;t<=e;t++)if(n.next().done)throw new Error("Seq has not enough elements");return n})}function L(e,t,n){return j((t,r)=>n.Add(t,e(r)),n.GetZero(),t)}function B(e,t,n=!1){return g(()=>{const r=t[Symbol.iterator]();return V(t=>{if(t<e){const e=r.next();if(!e.done)return[e.value,t+1];if(!n)throw new Error("Seq has not enough elements")}},0)})}function U(e,t){for(let n=0,r=t[Symbol.iterator]();;n++){const t=r.next();if(t.done)break;const o=e(t.value,n);if(null!=o)return o}}function G(e,t){return s(U(e,t))}function V(e,t){return l(()=>{let n=t;return{next(){const t=e(n);if(null!=t){const e=Object(r.i)(t);if(null!=e)return n=e[1],{done:!1,value:e[0]}}return{done:!0,value:void 0}}}})}function H(e){return l(()=>{const t=Array.from(e,e=>e[Symbol.iterator]());return{next(){if(0===t.length)return{done:!0,value:void 0};const e=Array.from(t,e=>e.next());if(e[0].done){if(!e.every(e=>e.done))throw new Error("Sequences have different lengths");return{done:!0,value:void 0}}if(!e.every(e=>!e.done))throw new Error("Sequences have different lengths");return{done:!1,value:e.map(e=>e.value)}}}})}},function(e,t,n){"use strict";function r(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function o(e){return"function"==typeof e.GetHashCode}function i(e){return null!=e&&"function"==typeof e.Dispose}function c(e,t){return Object.getPrototypeOf(e).constructor===Object.getPrototypeOf(t).constructor}n.d(t,"r",(function(){return r})),n.d(t,"s",(function(){return i})),n.d(t,"C",(function(){return c})),n.d(t,"a",(function(){return a})),n.d(t,"y",(function(){return s})),n.d(t,"x",(function(){return u})),n.d(t,"l",(function(){return l})),n.d(t,"p",(function(){return f})),n.d(t,"q",(function(){return d})),n.d(t,"D",(function(){return h})),n.d(t,"w",(function(){return $})),n.d(t,"d",(function(){return b})),n.d(t,"A",(function(){return m})),n.d(t,"E",(function(){return g})),n.d(t,"B",(function(){return w})),n.d(t,"n",(function(){return y})),n.d(t,"m",(function(){return O})),n.d(t,"o",(function(){return v})),n.d(t,"g",(function(){return j})),n.d(t,"h",(function(){return _})),n.d(t,"f",(function(){return E})),n.d(t,"e",(function(){return x})),n.d(t,"v",(function(){return S})),n.d(t,"u",(function(){return C})),n.d(t,"j",(function(){return T})),n.d(t,"i",(function(){return k})),n.d(t,"c",(function(){return A})),n.d(t,"F",(function(){return I})),n.d(t,"k",(function(){return D})),n.d(t,"b",(function(){return P})),n.d(t,"z",(function(){return N})),n.d(t,"t",(function(){return M}));class a{constructor(e){this.factory=e,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function s(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function u(e,t,n){let r=e.toString(10);for(;r.length<t;)r="0"+r;for(;r.length<n;)r+="0";return r}function l(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}function f(e,t){return(e=e<0&&null!=t&&10!==t?65535+e+1:e).toString(t)}function d(e,t){return(e=e<0&&null!=t&&10!==t?4294967295+e+1:e).toString(t)}class p{static id(e){return p.idMap.has(e)||p.idMap.set(e,++p.count),p.idMap.get(e)}}function h(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}function $(e){return 2654435761*e|0}function b(e){return 0===e.length?0:e.reduce((e,t)=>(e<<5)+e^t)}function m(e){if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return $(e);case"string":return h(e);default:return $(p.id(e))}}function g(e){if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return $(e);case"string":return h(e);default:if(o(e))return e.GetHashCode();if(r(e))return function(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=g(e[r]);return b(n)}(e);if(e instanceof Date)return function(e){return e.getTime()}(e);if(Object.getPrototypeOf(e).constructor===Object){return b(Object.values(e).map(e=>g(e)))}return $(p.id(e))}}function w(e){return null==e?0:o(e)?e.GetHashCode():$(p.id(e))}function y(e,t,n){if(null==e)return null==t;if(null==t)return!1;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function O(e,t){return y(e,t,v)}function v(e,t){return e===t||(null==e?null==t:null!=t&&("object"==typeof e&&(function(e){return"function"==typeof e.Equals}(e)?e.Equals(t):r(e)?r(t)&&O(e,t):e instanceof Date?t instanceof Date&&0===j(e,t):Object.getPrototypeOf(e).constructor===Object&&function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=0;o<n.length;o++)if(n[o]!==r[o]||!v(e[n[o]],t[r[o]]))return!1;return!0}(e,t))))}function j(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+l(e),r=t.getTime()+l(t)),n===r?0:n<r?-1:1}function _(e,t){return e===t?0:e<t?-1:1}function E(e,t){return function(e,t,n){if(null==e)return null==t?0:1;if(null==t)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,o=0;r<e.length;r++)if(o=n(e[r],t[r]),0!==o)return o;return 0}(e,t,x)}function x(e,t){return e===t?0:null==e?null==t?0:-1:null==t?1:"object"!=typeof e?e<t?-1:1:function(e){return"function"==typeof e.CompareTo}(e)?e.CompareTo(t):r(e)?r(t)?E(e,t):-1:e instanceof Date?t instanceof Date?j(e,t):-1:Object.getPrototypeOf(e).constructor===Object?function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let o=0,i=0;o<n.length;o++){const c=n[o];if(c!==r[o])return c<r[o]?-1:1;if(i=x(e[c],t[c]),0!==i)return i}return 0}(e,t):-1}function S(e,t,n){return e(t,n)<0?t:n}function C(e,t,n){return e(t,n)>0?t:n}function T(e){const t={};for(const n of e)t[n[0]]=n[1];return t}function k(e){if(r(e))return e.length;{let t=0;for(const n of e)t++;return t}}function A(e){r(e)?e.splice(0):e.clear()}p.idMap=new WeakMap,p.count=0;function I(e,t){if(null==t||t.length>1)return t;let n;switch(e){case 2:n=(e,n)=>t(e)(n);break;case 3:n=(e,n,r)=>t(e)(n)(r);break;case 4:n=(e,n,r,o)=>t(e)(n)(r)(o);break;case 5:n=(e,n,r,o,i)=>t(e)(n)(r)(o)(i);break;case 6:n=(e,n,r,o,i,c)=>t(e)(n)(r)(o)(i)(c);break;case 7:n=(e,n,r,o,i,c,a)=>t(e)(n)(r)(o)(i)(c)(a);break;case 8:n=(e,n,r,o,i,c,a,s)=>t(e)(n)(r)(o)(i)(c)(a)(s);break;default:throw new Error("Uncurrying to more than 8-arity is not supported: "+e)}return n.__CURRIED__=t,n}function D(e,t){if(null==t||1===t.length)return t;if("__CURRIED__"in t)return t.__CURRIED__;switch(e){case 2:return e=>n=>t(e,n);case 3:return e=>n=>r=>t(e,n,r);case 4:return e=>n=>r=>o=>t(e,n,r,o);case 5:return e=>n=>r=>o=>i=>t(e,n,r,o,i);case 6:return e=>n=>r=>o=>i=>c=>t(e,n,r,o,i,c);case 7:return e=>n=>r=>o=>i=>c=>a=>t(e,n,r,o,i,c,a);case 8:return e=>n=>r=>o=>i=>c=>a=>s=>t(e,n,r,o,i,c,a,s);default:throw new Error("Currying to more than 8-arity is not supported: "+e)}}function P(e,t){return t.length>e?(...e)=>(...n)=>t.apply(void 0,e.concat(n)):t}function N(e,t,n){if(null!=t){if("__CURRIED__"in t){t=t.__CURRIED__;for(let e=0;e<n.length;e++)t=t(n[e]);return t}switch(e){case 1:return e=>t.apply(void 0,n.concat([e]));case 2:return e=>r=>t.apply(void 0,n.concat([e,r]));case 3:return e=>r=>o=>t.apply(void 0,n.concat([e,r,o]));case 4:return e=>r=>o=>i=>t.apply(void 0,n.concat([e,r,o,i]));case 5:return e=>r=>o=>i=>c=>t.apply(void 0,n.concat([e,r,o,i,c]));case 6:return e=>r=>o=>i=>c=>a=>t.apply(void 0,n.concat([e,r,o,i,c,a]));case 7:return e=>r=>o=>i=>c=>a=>s=>t.apply(void 0,n.concat([e,r,o,i,c,a,s]));case 8:return e=>r=>o=>i=>c=>a=>s=>u=>t.apply(void 0,n.concat([e,r,o,i,c,a,s,u]));default:throw new Error("Partially applying to more than 8-arity is not supported: "+e)}}}function M(e,t){return n=>function e(t,n,r,o){const i=r[o];if(0!==i){const e=i[0],t=i[1];e>1&&(n=D(e,n)),t>1&&(n=I(t,n))}const c=t(n);return o+1===r.length?c:t=>e(c,t,r,o+1)}(e,n,t,0)}},function(e,t,n){"use strict";n.d(t,"i",(function(){return J})),n.d(t,"o",(function(){return Z})),n.d(t,"n",(function(){return K})),n.d(t,"k",(function(){return Q})),n.d(t,"m",(function(){return ee})),n.d(t,"p",(function(){return te})),n.d(t,"l",(function(){return ne})),n.d(t,"j",(function(){return re})),n.d(t,"b",(function(){return oe})),n.d(t,"a",(function(){return ie})),n.d(t,"d",(function(){return ce})),n.d(t,"c",(function(){return ae})),n.d(t,"f",(function(){return se})),n.d(t,"g",(function(){return ue})),n.d(t,"r",(function(){return le})),n.d(t,"s",(function(){return fe})),n.d(t,"e",(function(){return de})),n.d(t,"t",(function(){return he})),n.d(t,"u",(function(){return $e})),n.d(t,"q",(function(){return be})),n.d(t,"h",(function(){return me}));var r=n(21),o=n(19),i=null;try{i=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(e){}function c(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function a(e){return!0===(e&&e.__isLong__)}c.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},c.prototype.Equals=function(e){return P(this,e)},c.prototype.CompareTo=function(e){return F(this,e)},c.prototype.toString=function(e){return k(this,e)},c.prototype.toJSON=function(){return k(this)},c.prototype[o.d]=function(){const e=this;return{multiply:t=>G(e,t),toPrecision:t=>String(e)+(0).toPrecision(t).substr(1),toExponential:t=>String(e)+(0).toExponential(t).substr(1),toFixed:t=>String(e)+(0).toFixed(t).substr(1),toHex:()=>k(e.unsigned?e:X(Y(e),!0),16)}},c.prototype.__isLong__,Object.defineProperty(c.prototype,"__isLong__",{value:!0});var s={},u={};function l(e,t){var n,r,o;return t?(o=0<=(e>>>=0)&&e<256)&&(r=u[e])?r:(n=d(e,(0|e)<0?-1:0,!0),o&&(u[e]=n),n):(o=-128<=(e|=0)&&e<128)&&(r=s[e])?r:(n=d(e,e<0?-1:0,!1),o&&(s[e]=n),n)}function f(e,t){if(isNaN(e))return t?O:y;if(t){if(e<0)return O;if(e>=m)return x}else{if(e<=-g)return S;if(e+1>=g)return E}return e<0?L(f(-e,t)):d(e%b|0,e/b|0,t)}function d(e,t,n){return new c(e,t,n)}var p=Math.pow;function h(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return y;if("number"==typeof t?(n=t,t=!1):t=!!t,(n=n||10)<2||36<n)throw RangeError("radix");var r=e.indexOf("-");if(r>0)throw Error("interior hyphen");if(0===r)return L(h(e.substring(1),t,n));for(var o=f(p(n,8)),i=y,c=0;c<e.length;c+=8){var a=Math.min(8,e.length-c),s=parseInt(e.substring(c,c+a),n);if(a<8)i=B(G(i,f(p(n,a))),f(s));else i=B(i=G(i,o),f(s))}return i.unsigned=t,i}function $(e,t){return"number"==typeof e?f(e,t):"string"==typeof e?h(e,t):d(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}var b=4294967296,m=b*b,g=m/2,w=l(1<<24),y=l(0),O=l(0,!0),v=l(1),j=l(1,!0),_=l(-1),E=d(-1,2147483647,!1),x=d(-1,-1,!0),S=d(0,-2147483648,!1);function C(e){return e.unsigned?e.low>>>0:e.low}function T(e){return e.unsigned?(e.high>>>0)*b+(e.low>>>0):e.high*b+(e.low>>>0)}function k(e,t){if((t=t||10)<2||36<t)throw RangeError("radix");if(A(e))return"0";if(I(e)){if(P(e,S)){var n=f(t),r=V(e,n),o=U(G(r,n),e);return k(r,t)+C(o).toString(t)}return"-"+k(L(e),t)}for(var i=f(p(t,6),e.unsigned),c=e,a="";;){var s=V(c,i),u=(C(U(c,G(s,i)))>>>0).toString(t);if(A(c=s))return u+a;for(;u.length<6;)u="0"+u;a=""+u+a}}function A(e){return 0===e.high&&0===e.low}function I(e){return!e.unsigned&&e.high<0}function D(e){return 1==(1&e.low)}function P(e,t){return a(t)||(t=$(t)),(e.unsigned===t.unsigned||e.high>>>31!=1||t.high>>>31!=1)&&(e.high===t.high&&e.low===t.low)}function N(e,t){return F(e,t)<0}function M(e,t){return F(e,t)>0}function R(e,t){return F(e,t)>=0}function F(e,t){if(a(t)||(t=$(t)),P(e,t))return 0;var n=I(e),r=I(t);return n&&!r?-1:!n&&r?1:e.unsigned?t.high>>>0>e.high>>>0||t.high===e.high&&t.low>>>0>e.low>>>0?-1:1:I(U(e,t))?-1:1}function L(e){return!e.unsigned&&P(e,S)?S:B(H(e),v)}function B(e,t){a(t)||(t=$(t));var n=e.high>>>16,r=65535&e.high,o=e.low>>>16,i=65535&e.low,c=t.high>>>16,s=65535&t.high,u=t.low>>>16,l=0,f=0,p=0,h=0;return p+=(h+=i+(65535&t.low))>>>16,f+=(p+=o+u)>>>16,l+=(f+=r+s)>>>16,l+=n+c,d((p&=65535)<<16|(h&=65535),(l&=65535)<<16|(f&=65535),e.unsigned)}function U(e,t){return a(t)||(t=$(t)),B(e,L(t))}function G(e,t){if(A(e))return e.unsigned?O:y;if(a(t)||(t=$(t)),i)return d(i.mul(e.low,e.high,t.low,t.high),i.get_high(),e.unsigned);if(A(t))return e.unsigned?O:y;if(P(e,S))return D(t)?S:y;if(P(t,S))return D(e)?S:y;if(I(e))return I(t)?G(L(e),L(t)):L(G(L(e),t));if(I(t))return L(G(e,L(t)));if(N(e,w)&&N(t,w))return f(T(e)*T(t),e.unsigned);var n=e.high>>>16,r=65535&e.high,o=e.low>>>16,c=65535&e.low,s=t.high>>>16,u=65535&t.high,l=t.low>>>16,p=65535&t.low,h=0,b=0,m=0,g=0;return m+=(g+=c*p)>>>16,b+=(m+=o*p)>>>16,m&=65535,b+=(m+=c*l)>>>16,h+=(b+=r*p)>>>16,b&=65535,h+=(b+=o*l)>>>16,b&=65535,h+=(b+=c*u)>>>16,h+=n*p+r*l+o*u+c*s,d((m&=65535)<<16|(g&=65535),(h&=65535)<<16|(b&=65535),e.unsigned)}function V(e,t){if(a(t)||(t=$(t)),A(t))throw Error("division by zero");var n,r,o;if(i)return e.unsigned||-2147483648!==e.high||-1!==t.low||-1!==t.high?d((e.unsigned?i.div_u:i.div_s)(e.low,e.high,t.low,t.high),i.get_high(),e.unsigned):e;if(A(e))return e.unsigned?O:y;if(e.unsigned){if(t.unsigned||(t=function(e){return e.unsigned?e:d(e.low,e.high,!0)}(t)),M(t,e))return O;if(M(t,q(e,1)))return j;o=O}else{if(P(e,S))return P(t,v)||P(t,_)?S:P(t,S)?v:P(n=W(V(z(e,1),t),1),y)?I(t)?v:_:o=B(n,V(r=U(e,G(t,n)),t));if(P(t,S))return e.unsigned?O:y;if(I(e))return I(t)?V(L(e),L(t)):L(V(L(e),t));if(I(t))return L(V(e,L(t)));o=y}for(r=e;R(r,t);){n=Math.max(1,Math.floor(T(r)/T(t)));for(var c=Math.ceil(Math.log(n)/Math.LN2),s=c<=48?1:p(2,c-48),u=f(n),l=G(u,t);I(l)||M(l,r);)l=G(u=f(n-=s,e.unsigned),t);A(u)&&(u=v),o=B(o,u),r=U(r,l)}return o}function H(e){return d(~e.low,~e.high,e.unsigned)}function W(e,t){return a(t)&&(t=C(t)),0==(t&=63)?e:t<32?d(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):d(0,e.low<<t-32,e.unsigned)}function z(e,t){return a(t)&&(t=C(t)),0==(t&=63)?e:t<32?d(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):d(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}function q(e,t){if(a(t)&&(t=C(t)),0===(t&=63))return e;var n=e.high;return t<32?d(e.low>>>t|n<<32-t,n>>>t,e.unsigned):d(32===t?n:n>>>t-32,0,e.unsigned)}function Y(e,t){return t?function(e){var t=e.high,n=e.low;return[255&n,n>>>8&255,n>>>16&255,n>>>24,255&t,t>>>8&255,t>>>16&255,t>>>24]}(e):function(e){var t=e.high,n=e.low;return[t>>>24,t>>>16&255,t>>>8&255,255&t,n>>>24,n>>>16&255,n>>>8&255,255&n]}(e)}function X(e,t,n){return n?function(e,t){return new c(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)}(e,t):function(e,t){return new c(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}(e,t)}const J=B,Z=U,K=G,Q=V,ee=function(e,t){return a(t)||(t=$(t)),i?d((e.unsigned?i.rem_u:i.rem_s)(e.low,e.high,t.low,t.high),i.get_high(),e.unsigned):U(e,G(V(e,t),t))},te=L,ne=W,re=function(e,t){return a(t)||(t=$(t)),d(e.low&t.low,e.high&t.high,e.unsigned)},oe=P,ie=F,ce=l,ae=d,se=f,ue=$,le=C,fe=T;function de(e,t,n){let r=e,o=0;switch(n){case 0:r=e<<24>>24,o=r;break;case 4:r=e<<24>>>24;break;case 1:r=e<<16>>16,o=r;break;case 5:r=e<<16>>>16;break;case 2:r=e>>0,o=r;break;case 6:r=e>>>0}return d(r,o>>31,t)}function pe(e,t,n,o,i){const c=Object(r.a)(e,t,i);if(null!=c){const t=(e,t)=>{const n=Math.max(e.length,t.length);return e.padStart(n,"0")<=t.padStart(n,"0")},r="-"===c.sign,o=function(e,t,n){switch(t){case 2:return e?"1111111111111111111111111111111111111111111111111111111111111111":n?"1000000000000000000000000000000000000000000000000000000000000000":"111111111111111111111111111111111111111111111111111111111111111";case 8:return e?"1777777777777777777777":n?"1000000000000000000000":"777777777777777777777";case 10:return e?"18446744073709551615":n?"9223372036854775808":"9223372036854775807";case 16:return e?"FFFFFFFFFFFFFFFF":n?"8000000000000000":"7FFFFFFFFFFFFFFF";default:throw new Error("Invalid radix.")}}(n||10!==c.radix,c.radix,r);if(t(c.digits.toUpperCase(),o))return h(e=r?c.sign+c.digits:c.digits,n,c.radix)}throw new Error("Input string was not in a correct format.")}function he(e,t,n,r,o){try{return o.contents=pe(e,t,n),!0}catch(e){return!1}}function $e(e,t){return K(J(J(f(e),621355968e5),t),1e4)}function be(e){return T(Z(Q(e,1e4),621355968e5))}function me(e,t,n){const r=F(e,n?O:y);if(0===r)throw new Error("The step of a range cannot be zero");const o=r>0;return n=>{const r=F(n,t);return o&&r<=0||!o&&r>=0?[n,J(n,e)]:void 0}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"e",(function(){return c})),n.d(t,"d",(function(){return a})),n.d(t,"f",(function(){return s})),n.d(t,"g",(function(){return u}));class r{constructor(e=!1){this._id=0,this._cancelled=e,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,e]of this._listeners)e()}}addListener(e){const t=this._id;return this._listeners.set(this._id++,e),t}removeListener(e){return this._listeners.delete(e)}register(e,t){const n=this,r=this.addListener(null==t?e:()=>e(t));return{Dispose(){n.removeListener(r)}}}}class o extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,o.prototype)}}class i{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>i.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function c(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new o);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(e){t.onError(e)}});else try{e(t)}catch(e){t.onError(e)}}}function a(e,t){return c(n=>{e({onSuccess:e=>{try{t(e)(n)}catch(e){n.onError(e)}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function s(e){return c(t=>t.onSuccess(e))}const u=new class{Bind(e,t){return a(e,t)}Combine(e,t){return this.Bind(e,()=>t)}Delay(e){return c(t=>e()(t))}For(e,t){const n=e[Symbol.iterator]();let r=n.next();return this.While(()=>!r.done,this.Delay(()=>{const e=t(r.value);return r=n.next(),e}))}Return(e){return s(e)}ReturnFrom(e){return e}TryFinally(e,t){return c(n=>{e({onSuccess:e=>{t(),n.onSuccess(e)},onError:e=>{t(),n.onError(e)},onCancel:e=>{t(),n.onCancel(e)},cancelToken:n.cancelToken,trampoline:n.trampoline})})}TryWith(e,t){return c(n=>{e({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:e=>{try{t(e)(n)}catch(e){n.onError(e)}}})})}Using(e,t){return this.TryFinally(t(e),()=>e.Dispose())}While(e,t){return e()?this.Bind(t,()=>this.While(e,t)):this.Return(void 0)}Zero(){return c(e=>e.onSuccess(void 0))}}},function(e,t,n){"use strict";n.d(t,"f",(function(){return i})),n.d(t,"i",(function(){return c})),n.d(t,"e",(function(){return a})),n.d(t,"h",(function(){return s})),n.d(t,"g",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p}));var r=n(4);class o{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Object(r.E)(this.value)}Equals(e){return null!=e&&Object(r.o)(this.value,e instanceof o?e.value:e)}CompareTo(e){return null==e?1:Object(r.e)(this.value,e instanceof o?e.value:e)}}function i(e){return null==e||e instanceof o?new o(e):e}function c(e){if(null==e)throw new Error("Option has no value");return e instanceof o?e.value:e}function a(e){return null==e?void 0:e}function s(e){return null==e?null:c(e)}function u(e){return null==e?[]:[c(e)]}function l(e,t){return null!=e?c(e):t}function f(e,t){return null!=e?c(e):t()}function d(e,t){return null!=t?i(e(c(t))):void 0}function p(e,t){return null!=t?e(c(t)):void 0}},function(e,t,n){"use strict";n.d(t,"g",(function(){return u})),n.d(t,"s",(function(){return l})),n.d(t,"e",(function(){return f})),n.d(t,"l",(function(){return d})),n.d(t,"v",(function(){return p})),n.d(t,"w",(function(){return h})),n.d(t,"k",(function(){return $})),n.d(t,"r",(function(){return b})),n.d(t,"q",(function(){return m})),n.d(t,"d",(function(){return g})),n.d(t,"n",(function(){return w})),n.d(t,"a",(function(){return y})),n.d(t,"c",(function(){return O})),n.d(t,"o",(function(){return v})),n.d(t,"m",(function(){return j})),n.d(t,"p",(function(){return _})),n.d(t,"j",(function(){return C})),n.d(t,"i",(function(){return T})),n.d(t,"b",(function(){return k})),n.d(t,"h",(function(){return A})),n.d(t,"u",(function(){return I})),n.d(t,"t",(function(){return D})),n.d(t,"f",(function(){return P}));var r=n(2),o=n(7),i=n(3),c=n(4),a=(n(14),n(23)),s=n(17);n(24);function u(){return new r.b}function l(e){return new r.b(e,u())}function f(e,t){return new r.b(e,t)}function d(e){if(null!=e.tail)return e.head;throw new Error("List was empty")}function p(e){if(null!=e.tail)return e.tail;throw new Error("List was empty")}function h(e){for(;;){const t=e;if(null==t.tail)return;if(null==t.tail.tail)return Object(o.f)(t.head);e=t.tail}}function $(e,t,n){for(;;){const r=e,o=t,i=n;if(null==i.tail)return o;e=r,t=r(o,i.head),n=i.tail}}function b(e){return $((e,t)=>new r.b(t,e),new r.b,e)}function m(e){return b(Object(i.i)((e,t)=>new r.b(t,e),new r.b,e))}function g(e){return b(Object(i.i)((e,t)=>$((e,t)=>new r.b(t,e),e,t),new r.b,e))}function w(e){return $((e,t)=>e+1,0,e)}function y(e,t){return $((e,t)=>new r.b(t,e),t,b(e))}function O(e,t){return m(Object(i.c)(e,t))}function v(e,t){return b($((t,n)=>new r.b(e(n),t),new r.b,t))}function j(e,t){return $((t,n)=>{e(n)},void 0,t)}function _(e){return function(e,t){let n=t;for(let t=Object(c.i)(e)-1;t>=0;t--)n=new r.b(e[t],n);return n}(e,new r.b)}function E(e,t){return function(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i.tail){const c=r(o,i.head);if(null==c){e=r,t=o+1,n=i.tail;continue e}return c}return}}(e,0,t)}function x(e,t){return E((t,n)=>e(t,n)?Object(o.f)(n):void 0,t)}function S(e,t){const n=x(e,t);if(null!=n)return Object(o.i)(n);throw new Error("List did not contain any matching elements")}function C(e,t){return S((t,n)=>e(n),t)}function T(e,t){return b($((t,n)=>e(n)?new r.b(n,t):t,new r.b,t))}function k(e,t){return b($((t,n)=>{const i=e(n);return null==i?t:new r.b(Object(o.i)(i),t)},new r.b,t))}function A(e,t){for(;;){const n=e,r=t;if(null==r.tail)return!1;if(n(r.head))return!0;e=n,t=r.tail}}function I(e,t){let n;return _((n=Array.from(e),n.sort((e,n)=>t.Compare(e,n)),n))}function D(e,t){e:for(;;){const n=e,r=t;let o,i,c;switch(null!=r.tail&&n(r.head)?(o=0,i=r.head,c=r.tail):o=1,o){case 0:e=n,t=c;continue e;case 1:return r}break}}function P(e,t){return function(e,t,n){const r=new a.a([],n);return T(t=>Object(s.b)(e(t),r),t)}(e=>e,e,t)}},function(e,t,n){"use strict";n.r(t),n.d(t,"useState",(function(){return b})),n.d(t,"useReducer",(function(){return m})),n.d(t,"useEffect",(function(){return g})),n.d(t,"useLayoutEffect",(function(){return w})),n.d(t,"useRef",(function(){return y})),n.d(t,"useImperativeHandle",(function(){return O})),n.d(t,"useMemo",(function(){return v})),n.d(t,"useCallback",(function(){return j})),n.d(t,"useContext",(function(){return _})),n.d(t,"useDebugValue",(function(){return E})),n.d(t,"useErrorBoundary",(function(){return x})),n.d(t,"createElement",(function(){return a.e})),n.d(t,"createContext",(function(){return a.d})),n.d(t,"createRef",(function(){return a.f})),n.d(t,"Fragment",(function(){return a.b})),n.d(t,"Component",(function(){return a.a})),n.d(t,"version",(function(){return pe})),n.d(t,"Children",(function(){return U})),n.d(t,"render",(function(){return ne})),n.d(t,"hydrate",(function(){return re})),n.d(t,"unmountComponentAtNode",(function(){return me})),n.d(t,"createPortal",(function(){return Z})),n.d(t,"createFactory",(function(){return he})),n.d(t,"cloneElement",(function(){return be})),n.d(t,"isValidElement",(function(){return $e})),n.d(t,"findDOMNode",(function(){return ge})),n.d(t,"PureComponent",(function(){return N})),n.d(t,"memo",(function(){return M})),n.d(t,"forwardRef",(function(){return L})),n.d(t,"flushSync",(function(){return ye})),n.d(t,"unstable_batchedUpdates",(function(){return we})),n.d(t,"StrictMode",(function(){return Oe})),n.d(t,"Suspense",(function(){return H})),n.d(t,"SuspenseList",(function(){return q})),n.d(t,"lazy",(function(){return z})),n.d(t,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",(function(){return de}));var r,o,i,c,a=n(12),s=0,u=[],l=a.i.__b,f=a.i.__r,d=a.i.diffed,p=a.i.__c,h=a.i.unmount;function $(e,t){a.i.__h&&a.i.__h(o,e,s||t),s=0;var n=o.__H||(o.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function b(e){return s=1,m(I,e)}function m(e,t,n){var i=$(r++,2);return i.t=e,i.__c||(i.__=[n?n(t):I(void 0,t),function(e){var t=i.t(i.__[0],e);i.__[0]!==t&&(i.__=[t,i.__[1]],i.__c.setState({}))}],i.__c=o),i.__}function g(e,t){var n=$(r++,3);!a.i.__s&&A(n.__H,t)&&(n.__=e,n.u=t,o.__H.__h.push(n))}function w(e,t){var n=$(r++,4);!a.i.__s&&A(n.__H,t)&&(n.__=e,n.u=t,o.__h.push(n))}function y(e){return s=5,v((function(){return{current:e}}),[])}function O(e,t,n){s=6,w((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function v(e,t){var n=$(r++,7);return A(n.__H,t)?(n.o=e(),n.u=t,n.__h=e,n.o):n.__}function j(e,t){return s=8,v((function(){return e}),t)}function _(e){var t=o.context[e.__c],n=$(r++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(o)),t.props.value):e.__}function E(e,t){a.i.useDebugValue&&a.i.useDebugValue(t?t(e):e)}function x(e){var t=$(r++,10),n=b();return t.__=e,o.componentDidCatch||(o.componentDidCatch=function(e){t.__&&t.__(e),n[1](e)}),[n[0],function(){n[1](void 0)}]}function S(){for(var e;e=u.shift();)if(e.__P)try{e.__H.__h.forEach(T),e.__H.__h.forEach(k),e.__H.__h=[]}catch(t){e.__H.__h=[],a.i.__e(t,e.__v)}}a.i.__b=function(e){o=null,l&&l(e)},a.i.__r=function(e){f&&f(e),r=0;var t=(o=e.__c).__H;t&&(i===o?(t.__h=[],o.__h=[],t.__.forEach((function(e){e.o=e.u=void 0}))):(t.__.forEach((function(e){e.u&&(e.__H=e.u),e.o&&(e.__=e.o),e.o=e.u=void 0})),t.__h.forEach(T),t.__h.forEach(k),t.__h=[])),i=o},a.i.diffed=function(e){d&&d(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==u.push(t)&&c===a.i.requestAnimationFrame||((c=a.i.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),C&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);C&&(t=requestAnimationFrame(n))})(S)),o=null,i=null},a.i.__c=function(e,t){t.some((function(e){try{e.__H&&e.__H.__.forEach((function(e){e.u&&(e.__H=e.u),e.o&&(e.__=e.o),e.o=e.u=void 0})),e.__h.forEach(T),e.__h=e.__h.filter((function(e){return!e.__||k(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],a.i.__e(n,e.__v)}})),p&&p(e,t)},a.i.unmount=function(e){h&&h(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{T(e)}catch(e){t=e}})),t&&a.i.__e(t,n.__v))};var C="function"==typeof requestAnimationFrame;function T(e){var t=o,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),o=t}function k(e){var t=o;e.__c=e.__(),o=t}function A(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function I(e,t){return"function"==typeof t?t(e):t}function D(e,t){for(var n in t)e[n]=t[n];return e}function P(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function N(e){this.props=e}function M(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:P(this.props,e)}function r(t){return this.shouldComponentUpdate=n,Object(a.e)(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(N.prototype=new a.a).isPureReactComponent=!0,N.prototype.shouldComponentUpdate=function(e,t){return P(this.props,e)||P(this.state,t)};var R=a.i.__b;a.i.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),R&&R(e)};var F="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function L(e){function t(t){var n=D({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=F,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var B=function(e,t){return null==e?null:Object(a.k)(Object(a.k)(e).map(t))},U={map:B,forEach:B,count:function(e){return e?Object(a.k)(e).length:0},only:function(e){var t=Object(a.k)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:a.k},G=a.i.__e;a.i.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);G(e,t,n,r)};var V=a.i.unmount;function H(){this.__u=0,this.t=null,this.__b=null}function W(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function z(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return Object(a.e)(n,o)}return o.displayName="Lazy",o.__f=!0,o}function q(){this.u=null,this.o=null}a.i.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),V&&V(e)},(H.prototype=new a.a).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=W(r.__v),i=!1,c=function(){i||(i=!0,n.__R=null,o?o(a):a())};n.__R=c;var a=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},s=!0===t.__h;r.__u++||s||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(c,c)},H.prototype.componentWillUnmount=function(){this.t=[]},H.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=D({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__e&&Object(a.e)(a.b,null,e.fallback);return o&&(o.__h=null),[Object(a.e)(a.b,null,t.__e?null:e.children),o]};var Y=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function X(e){return this.getChildContext=function(){return e.context},e.children}function J(e){var t=this,n=e.i;t.componentWillUnmount=function(){Object(a.j)(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),Object(a.j)(Object(a.e)(X,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function Z(e,t){var n=Object(a.e)(J,{__v:e,i:t});return n.containerInfo=t,n}(q.prototype=new a.a).__e=function(e){var t=this,n=W(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Y(t,e,r)):o()};n?n(i):i()}},q.prototype.render=function(e){this.u=null,this.o=new Map;var t=Object(a.k)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},q.prototype.componentDidUpdate=q.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Y(e,n,t)}))};var K="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Q=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,ee="undefined"!=typeof document,te=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function ne(e,t,n){return null==t.__k&&(t.textContent=""),Object(a.j)(e,t),"function"==typeof n&&n(),e?e.__c:null}function re(e,t,n){return Object(a.h)(e,t),"function"==typeof n&&n(),e?e.__c:null}a.a.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(a.a.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var oe=a.i.event;function ie(){}function ce(){return this.cancelBubble}function ae(){return this.defaultPrevented}a.i.event=function(e){return oe&&(e=oe(e)),e.persist=ie,e.isPropagationStopped=ce,e.isDefaultPrevented=ae,e.nativeEvent=e};var se,ue={configurable:!0,get:function(){return this.class}},le=a.i.vnode;a.i.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in r={},n){var c=n[i];ee&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in n&&null==c||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===c?c="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!te(n.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&Q.test(i)?i=i.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===c&&(c=void 0),/^oninput/i.test(i)&&(i=i.toLowerCase(),r[i]&&(i="oninputCapture")),r[i]=c)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=Object(a.k)(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=Object(a.k)(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(ue.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",ue))}e.$$typeof=K,le&&le(e)};var fe=a.i.__r;a.i.__r=function(e){fe&&fe(e),se=e.__c};var de={ReactCurrentDispatcher:{current:{readContext:function(e){return se.__n[e.__c].props.value}}}},pe="17.0.2";function he(e){return a.e.bind(null,e)}function $e(e){return!!e&&e.$$typeof===K}function be(e){return $e(e)?a.c.apply(null,arguments):e}function me(e){return!!e.__k&&(Object(a.j)(null,e),!0)}function ge(e){return e&&(e.base||1===e.nodeType&&e)||null}var we=function(e,t){return e(t)},ye=function(e,t){return e(t)},Oe=a.b;t.default={useState:b,useReducer:m,useEffect:g,useLayoutEffect:w,useRef:y,useImperativeHandle:O,useMemo:v,useCallback:j,useContext:_,useDebugValue:E,version:"17.0.2",Children:U,render:ne,hydrate:re,unmountComponentAtNode:me,createPortal:Z,createElement:a.e,createContext:a.d,createFactory:he,cloneElement:be,createRef:a.f,Fragment:a.b,isValidElement:$e,findDOMNode:ge,Component:a.a,PureComponent:N,memo:M,forwardRef:L,flushSync:ye,unstable_batchedUpdates:we,StrictMode:a.b,Suspense:H,SuspenseList:q,lazy:z,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:de}},function(e,t,n){"use strict";n.d(t,"h",(function(){return f})),n.d(t,"d",(function(){return d})),n.d(t,"l",(function(){return h})),n.d(t,"k",(function(){return $})),n.d(t,"c",(function(){return g})),n.d(t,"a",(function(){return w})),n.d(t,"e",(function(){return y})),n.d(t,"f",(function(){return O})),n.d(t,"g",(function(){return v})),n.d(t,"i",(function(){return _})),n.d(t,"m",(function(){return E})),n.d(t,"n",(function(){return x})),n.d(t,"b",(function(){return S})),n.d(t,"j",(function(){return C}));var r=n(20),o=n(19),i=n(25),c=n(2);const a=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/,s=/(?:(^|[^%])%([0+\- ]*)(\d+)?(?:\.(\d+))?(\w))?%P\(\)/g,u=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function l(e,t){return Object(o.a)(e,t)<0}function f(e){return{input:e,cont:(t=e,e=>a.test(t)?function e(t,n,r=new c.a(null)){return(...o)=>{let i=t;for(const e of o)i=m(i,e,r);return a.test(i)?e(i,n,r):n(i.replace(/%%/g,"%"))}}(t,e):e(t))};var t}function d(e,t){let n=0;return e.replace(s,(e,r,o,i,c,a)=>b(t[n++],r,o,i,c,a))}function p(e,t){return"string"==typeof t?e(t):t.cont(e)}function h(e){return p(e=>e,e)}function $(e){return p(e=>{throw new Error(e)},e)}function b(e,t,n,i,a,s){let u="";if(n=n||"",s=s||"",Object(o.b)(e))switch("x"!==s.toLowerCase()&&(l(e,0)?(e=Object(o.c)(e,-1),u="-"):n.indexOf(" ")>=0?u=" ":n.indexOf("+")>=0&&(u="+")),a=null==a?null:parseInt(a,10),s){case"f":case"F":a=null!=a?a:6,e=Object(o.f)(e,a);break;case"g":case"G":e=null!=a?Object(o.h)(e,a):Object(o.h)(e);break;case"e":case"E":e=null!=a?Object(o.e)(e,a):Object(o.e)(e);break;case"x":e=Object(o.g)(e);break;case"X":e=Object(o.g)(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?Object(r.g)(e):Object(c.e)(e);if(i="number"==typeof i?i:parseInt(i,10),isNaN(i))e=u+e;else{const t=n.indexOf("0")>=0,r=n.indexOf("-")>=0,o=r||!t?" ":"0";e="0"===o?u+(e=j(e,i-u.length,o,r)):j(u+e,i,o,r)}return t?t+e:e}function m(e,t,n){return e.replace(a,(e,r,o,i,c,a)=>{if(null!=n.contents)i=n.contents,n.contents=null;else if("*"===i){if(t<0)throw new Error("Non-negative number required");return n.contents=t,e}return b(t,r,o,i,c,a).replace(/%/g,"%%")})}function g(e,...t){return"object"==typeof e&&t.length>0&&(e=t[0],t.shift()),e.replace(u,(e,n,i,a,s,u)=>{let f=t[n];if(Object(o.b)(f))switch(s=null==s?null:parseInt(s,10),a){case"f":case"F":s=null!=s?s:2,f=Object(o.f)(f,s);break;case"g":case"G":f=null!=s?Object(o.h)(f,s):Object(o.h)(f);break;case"e":case"E":f=null!=s?Object(o.e)(f,s):Object(o.e)(f);break;case"p":case"P":s=null!=s?s:2,f=Object(o.f)(Object(o.c)(f,100),s)+" %";break;case"d":case"D":f=null!=s?j(String(f),s,"0"):String(f);break;case"x":case"X":f=null!=s?j(Object(o.g)(f),s,"0"):Object(o.g)(f),"X"===a&&(f=f.toUpperCase());break;default:if(u){let e="";f=u.replace(/(0+)(\.0+)?/,(t,n,r)=>(l(f,0)&&(f=Object(o.c)(f,-1),e="-"),f=Object(o.f)(f,null!=r?r.length-1:0),j(f,(n||"").length-e.length+(null!=r?r.length:0),"0"))),f=e+f}}else f=f instanceof Date?Object(r.g)(f,u||a):Object(c.e)(f);return i=parseInt((i||" ").substring(1),10),isNaN(i)||(f=j(String(f),Math.abs(i)," ",i<0)),f})}function w(e,t){const n=e.lastIndexOf(t);return n>=0&&n===e.length-t.length}function y(e){return"string"!=typeof e||0===e.length}function O(e){return"string"!=typeof e||/^\s*$/.test(e)}function v(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function j(e,t,n,r){n=n||" ",t-=e.length;for(let o=0;o<t;o++)e=r?e+n:n+e;return e}function _(e,t,n,r){if(r="number"==typeof r?r:void 0,(n="number"==typeof n?n:void 0)&&n<0)throw new Error("Count cannot be less than zero");if(0===n)return[];if(!Array.isArray(t)){if(0===r)return e.split(t,n);const o=arguments.length;t=Array(o-1);for(let e=1;e<o;e++)t[e-1]=arguments[e]}t=(t=t.map(e=>Object(i.a)(e))).length>0?t:[" "];let o=0;const c=[],a=new RegExp(t.join("|"),"g");for(;null==n||n>1;){const t=a.exec(e);if(null===t)break;(!r||t.index-o>0)&&(n=null!=n?n-1:n,c.push(e.substring(o,t.index))),o=a.lastIndex}return(!r||e.length-o>0)&&c.push(e.substring(o)),c}function E(e,...t){if(0===t.length)return e.trim();const n="["+Object(i.a)(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}function x(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+Object(i.a)(t.join(""))+"]+$"),"")}function S(e,t){return t.split("").filter(t=>e(t)).join("")}function C(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=n?e.substr(t,n):e.substr(t)}},function(e,t,n){e.exports=n(41)()},function(e,t,n){"use strict";n.d(t,"j",(function(){return F})),n.d(t,"h",(function(){return L})),n.d(t,"e",(function(){return $})),n.d(t,"g",(function(){return $})),n.d(t,"b",(function(){return g})),n.d(t,"f",(function(){return m})),n.d(t,"a",(function(){return w})),n.d(t,"c",(function(){return B})),n.d(t,"d",(function(){return U})),n.d(t,"k",(function(){return x})),n.d(t,"i",(function(){return o}));var r,o,i,c,a,s,u,l={},f=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function p(e,t){for(var n in t)e[n]=t[n];return e}function h(e){var t=e.parentNode;t&&t.removeChild(e)}function $(e,t,n){var o,i,c,a={};for(c in t)"key"==c?o=t[c]:"ref"==c?i=t[c]:a[c]=t[c];if(arguments.length>2&&(a.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(c in e.defaultProps)void 0===a[c]&&(a[c]=e.defaultProps[c]);return b(e,a,o,i,null)}function b(e,t,n,r,c){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==c?++i:c};return null==c&&null!=o.vnode&&o.vnode(a),a}function m(){return{current:null}}function g(e){return e.children}function w(e,t){this.props=e,this.context=t}function y(e,t){if(null==t)return e.__?y(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?y(e):null}function O(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return O(e)}}function v(e){(!e.__d&&(e.__d=!0)&&c.push(e)&&!j.__r++||s!==o.debounceRendering)&&((s=o.debounceRendering)||a)(j)}function j(){for(var e;j.__r=c.length;)e=c.sort((function(e,t){return e.__v.__b-t.__v.__b})),c=[],e.some((function(e){var t,n,r,o,i,c;e.__d&&(i=(o=(t=e).__v).__e,(c=t.__P)&&(n=[],(r=p({},o)).__v=o.__v+1,I(c,o,r,t.__n,void 0!==c.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?y(o):i,o.__h),D(n,o),o.__e!=i&&O(o)))}))}function _(e,t,n,r,o,i,c,a,s,u){var d,p,h,$,m,w,O,v=r&&r.__k||f,j=v.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=($=n.__k[d]=null==($=t[d])||"boolean"==typeof $?null:"string"==typeof $||"number"==typeof $||"bigint"==typeof $?b(null,$,null,null,$):Array.isArray($)?b(g,{children:$},null,null,null):$.__b>0?b($.type,$.props,$.key,null,$.__v):$)){if($.__=n,$.__b=n.__b+1,null===(h=v[d])||h&&$.key==h.key&&$.type===h.type)v[d]=void 0;else for(p=0;p<j;p++){if((h=v[p])&&$.key==h.key&&$.type===h.type){v[p]=void 0;break}h=null}I(e,$,h=h||l,o,i,c,a,s,u),m=$.__e,(p=$.ref)&&h.ref!=p&&(O||(O=[]),h.ref&&O.push(h.ref,null,$),O.push(p,$.__c||m,$)),null!=m?(null==w&&(w=m),"function"==typeof $.type&&$.__k===h.__k?$.__d=s=E($,s,e):s=S(e,$,h,v,m,s),"function"==typeof n.type&&(n.__d=s)):s&&h.__e==s&&s.parentNode!=e&&(s=y(h))}for(n.__e=w,d=j;d--;)null!=v[d]&&("function"==typeof n.type&&null!=v[d].__e&&v[d].__e==n.__d&&(n.__d=y(r,d+1)),M(v[d],v[d]));if(O)for(d=0;d<O.length;d++)N(O[d],O[++d],O[++d])}function E(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?E(r,t,n):S(n,r,r,o,r.__e,t));return t}function x(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){x(e,t)})):t.push(e)),t}function S(e,t,n,r,o,i){var c,a,s;if(void 0!==t.__d)c=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),c=null;else{for(a=i,s=0;(a=a.nextSibling)&&s<r.length;s+=2)if(a==o)break e;e.insertBefore(o,i),c=i}return void 0!==c?c:o.nextSibling}function C(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||d.test(t)?n:n+"px"}function T(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||C(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||C(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?A:k,i):e.removeEventListener(t,i?A:k,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function k(e){this.l[e.type+!1](o.event?o.event(e):e)}function A(e){this.l[e.type+!0](o.event?o.event(e):e)}function I(e,t,n,r,i,c,a,s,u){var l,f,d,h,$,b,m,y,O,v,j,E,x,S=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(u=n.__h,s=t.__e=n.__e,t.__h=null,c=[s]),(l=o.__b)&&l(t);try{e:if("function"==typeof S){if(y=t.props,O=(l=S.contextType)&&r[l.__c],v=l?O?O.props.value:l.__:r,n.__c?m=(f=t.__c=n.__c).__=f.__E:("prototype"in S&&S.prototype.render?t.__c=f=new S(y,v):(t.__c=f=new w(y,v),f.constructor=S,f.render=R),O&&O.sub(f),f.props=y,f.state||(f.state={}),f.context=v,f.__n=r,d=f.__d=!0,f.__h=[]),null==f.__s&&(f.__s=f.state),null!=S.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=p({},f.__s)),p(f.__s,S.getDerivedStateFromProps(y,f.__s))),h=f.props,$=f.state,d)null==S.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==S.getDerivedStateFromProps&&y!==h&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(y,v),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(y,f.__s,v)||t.__v===n.__v){f.props=y,f.state=f.__s,t.__v!==n.__v&&(f.__d=!1),f.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),f.__h.length&&a.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(y,f.__s,v),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(h,$,b)}))}if(f.context=v,f.props=y,f.__v=t,f.__P=e,j=o.__r,E=0,"prototype"in S&&S.prototype.render)f.state=f.__s,f.__d=!1,j&&j(t),l=f.render(f.props,f.state,f.context);else do{f.__d=!1,j&&j(t),l=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++E<25);f.state=f.__s,null!=f.getChildContext&&(r=p(p({},r),f.getChildContext())),d||null==f.getSnapshotBeforeUpdate||(b=f.getSnapshotBeforeUpdate(h,$)),x=null!=l&&l.type===g&&null==l.key?l.props.children:l,_(e,Array.isArray(x)?x:[x],t,n,r,i,c,a,s,u),f.base=t.__e,t.__h=null,f.__h.length&&a.push(f),m&&(f.__E=f.__=null),f.__e=!1}else null==c&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=P(n.__e,t,n,r,i,c,a,u);(l=o.diffed)&&l(t)}catch(e){t.__v=null,(u||null!=c)&&(t.__e=s,t.__h=!!u,c[c.indexOf(s)]=null),o.__e(e,t,n)}}function D(e,t){o.__c&&o.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){o.__e(e,t.__v)}}))}function P(e,t,n,o,i,c,a,s){var u,f,d,p=n.props,$=t.props,b=t.type,m=0;if("svg"===b&&(i=!0),null!=c)for(;m<c.length;m++)if((u=c[m])&&"setAttribute"in u==!!b&&(b?u.localName===b:3===u.nodeType)){e=u,c[m]=null;break}if(null==e){if(null===b)return document.createTextNode($);e=i?document.createElementNS("http://www.w3.org/2000/svg",b):document.createElement(b,$.is&&$),c=null,s=!1}if(null===b)p===$||s&&e.data===$||(e.data=$);else{if(c=c&&r.call(e.childNodes),f=(p=n.props||l).dangerouslySetInnerHTML,d=$.dangerouslySetInnerHTML,!s){if(null!=c)for(p={},m=0;m<e.attributes.length;m++)p[e.attributes[m].name]=e.attributes[m].value;(d||f)&&(d&&(f&&d.__html==f.__html||d.__html===e.innerHTML)||(e.innerHTML=d&&d.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||T(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||T(e,i,t[i],n[i],r)}(e,$,p,i,s),d)t.__k=[];else if(m=t.props.children,_(e,Array.isArray(m)?m:[m],t,n,o,i&&"foreignObject"!==b,c,a,c?c[0]:n.__k&&y(n,0),s),null!=c)for(m=c.length;m--;)null!=c[m]&&h(c[m]);s||("value"in $&&void 0!==(m=$.value)&&(m!==e.value||"progress"===b&&!m||"option"===b&&m!==p.value)&&T(e,"value",m,p.value,!1),"checked"in $&&void 0!==(m=$.checked)&&m!==e.checked&&T(e,"checked",m,p.checked,!1))}return e}function N(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){o.__e(e,n)}}function M(e,t,n){var r,i;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||N(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&M(r[i],t,"function"!=typeof e.type);n||null==e.__e||h(e.__e),e.__e=e.__d=void 0}function R(e,t,n){return this.constructor(e,n)}function F(e,t,n){var i,c,a;o.__&&o.__(e,t),c=(i="function"==typeof n)?null:n&&n.__k||t.__k,a=[],I(t,e=(!i&&n||t).__k=$(g,null,[e]),c||l,l,void 0!==t.ownerSVGElement,!i&&n?[n]:c?null:t.firstChild?r.call(t.childNodes):null,a,!i&&n?n:c?c.__e:t.firstChild,i),D(a,e)}function L(e,t){F(e,t,L)}function B(e,t,n){var o,i,c,a=p({},e.props);for(c in t)"key"==c?o=t[c]:"ref"==c?i=t[c]:a[c]=t[c];return arguments.length>2&&(a.children=arguments.length>3?r.call(arguments,2):n),b(e.type,a,o||e.key,i||e.ref,null)}function U(e,t){var n={__c:t="__cC"+u++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(v)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r=f.slice,o={__e:function(e,t,n,r){for(var o,i,c;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),c=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),c=o.__d),c)return o.__E=o}catch(t){e=t}throw e}},i=0,w.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=p({},this.state),"function"==typeof e&&(e=e(p({},n),this.props)),e&&p(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),v(this))},w.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),v(this))},w.prototype.render=g,c=[],a="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,j.__r=0,u=0},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=n(9).default},function(e,t,n){"use strict";n.d(t,"g",(function(){return l})),n.d(t,"m",(function(){return f})),n.d(t,"n",(function(){return d})),n.d(t,"c",(function(){return p})),n.d(t,"f",(function(){return h})),n.d(t,"l",(function(){return $})),n.d(t,"d",(function(){return b})),n.d(t,"p",(function(){return m})),n.d(t,"s",(function(){return g})),n.d(t,"h",(function(){return w})),n.d(t,"t",(function(){return y})),n.d(t,"a",(function(){return O})),n.d(t,"i",(function(){return v})),n.d(t,"o",(function(){return _})),n.d(t,"b",(function(){return E})),n.d(t,"e",(function(){return x})),n.d(t,"j",(function(){return S})),n.d(t,"k",(function(){return C})),n.d(t,"r",(function(){return T})),n.d(t,"q",(function(){return k}));var r=n(7),o=n(4),i=(n(24),n(17)),c=(n(2),n(23));n(3);function a(e,t){return"function"==typeof e?new e(t):new Array(t)}function s(){throw new Error("An index satisfying the predicate was not found in the collection.")}function u(){throw new Error("Arrays had different lengths")}function l(e,t,n,r){const o=0|t;return e.fill(r,o,o+n)}function f(e,t,n){const r=0|t.length,o=a(n,r);for(let n=0;n<=r-1;n++)o[n]=e(t[n]);return o}function d(e,t,n,r){if(t.length!==n.length)throw new Error("Arrays had different lengths");const o=a(r,t.length);for(let r=0;r<=t.length-1;r++)o[r]=e(t[r],n[r]);return o}function p(e,t,n){return(r=>{for(;;){const o=r;if(o>=t.length)return!1;if(n.Equals(e,t[o]))return!0;r=o+1}})(0)}function h(e,t,n){if(0===t.length)return t;{const r=new c.a(e,n);return t.filter(e=>Object(i.b)(e,r))}}function $(e,t,n){if(e<0)throw new Error("The input must be non-negative\\nParameter name: count");const r=a(n,e);for(let n=0;n<=e-1;n++)r[n]=t(n);return r}function b(e){return e.slice()}function m(e){return e.slice().reverse()}function g(e,t){return t.find(e)}function w(e,t){return 0|(n=>{for(;;){const r=n;if(r<0)return s();if(e(t[r]))return 0|r;n=r-1}})(t.length-1)}function y(e,t){return(n=>{for(;;){const r=n;if(r<0)return;if(e(t[r]))return r;n=r-1}})(t.length-1)}function O(e,t,n){return f(t=>Object(r.i)(e(t)),t.filter(t=>null!=e(t)),n)}function v(e,t,n){return n.reduce((t,n)=>e(t,n),t)}function j(e,t){for(let n=0;n<=t.length-1;n++)e(n,t[n])}function _(e,t){const n=0|t.length,r=t.slice(),o=new Array(n);if(j((t,i)=>{const c=0|e(t);if(c<0||c>=n)throw new Error("Not a valid permutation");r[c]=i,o[c]=1},t),!o.every(e=>1===e))throw new Error("Not a valid permutation");return r}function E(e,t){if(e<1)throw new Error("The input must be positive.\\nParameter name: size");if(0===t.length)return[[]];{const n=[];for(let r=0;r<=~~Math.ceil(t.length/e)-1;r++){let o;const i=r*e|0;o=t.slice(i,i+e),n.push(o)}return n}}function x(e,t,n){return 0===function(e,t,n){if(null==t)return null==n?0:-1;if(null==n)return 1;{let r=0,o=0;const i=0|t.length,c=0|n.length;if(i>c)return 1;if(i<c)return-1;for(;r<i&&0===o;)o=e(t[r],n[r]),r+=1;return 0|o}}((e,t)=>Object(o.e)(e,t),t,n)}function S(e,t,n){return t.reduceRight((t,n)=>e(n,t),n)}function C(e,t,n,r){return function(e,t,n,r){let o=r;t.length!==n.length&&u();const i=0|t.length;for(let r=1;r<=i;r++)o=e(r-1,t[i-r],n[i-r],o);return o}((t,n,r,o)=>e(n,r,o),t,n,r)}function T(e,t){let n=t.GetZero();for(let r=0;r<=e.length-1;r++)n=t.Add(n,e[r]);return n}function k(e,t){if(e<1)throw new Error("The input must be positive.\\nParameter name: chunks");if(0===t.length)return[[]];{const n=[],r=0|Object(o.v)((e,t)=>Object(o.h)(e,t),e,t.length),i=0|~~(t.length/r),c=t.length%r|0;for(let e=0;e<=r-1;e++){const r=0|(e<c?i+1:i);let a;const s=e*i+Object(o.v)((e,t)=>Object(o.h)(e,t),c,e)|0;a=t.slice(s,s+r),n.push(a)}return n}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"k",(function(){return h})),n.d(t,"j",(function(){return $})),n.d(t,"g",(function(){return b})),n.d(t,"h",(function(){return m})),n.d(t,"i",(function(){return g})),n.d(t,"f",(function(){return w})),n.d(t,"m",(function(){return y})),n.d(t,"l",(function(){return O})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return j})),n.d(t,"c",(function(){return _})),n.d(t,"d",(function(){return E}));var r=n(9);n(0);var o=n(3),i=n(7),c=n(13),a=n(4);const s=e=>{Object(r.useEffect)(()=>{const t=e();return()=>{t.Dispose()}})},u=(e,t)=>{Object(r.useEffect)(()=>{const t=e();return()=>{t.Dispose()}},t)},l=e=>{Object(r.useLayoutEffect)(()=>{const t=e();return()=>{t.Dispose()}})};function f(e,t,n,r){const s=c.a.memo(e,Object(a.F)(2,Object(i.b)(Object(a.k)(2,n),null)));return Object(o.n)(t=>{e.displayName=t},Object(i.g)(t)),e=>c.a.createElement(s,d(r,e))}function d(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}function p(e){return{Dispose(){e()}}}function h(e){s(e)}function $(e,t){u(e,t)}function b(e){$(e,[])}function m(e){s(t=>(e(),p(()=>{})))}function g(e,t){u(t=>(e(),p(()=>{})),t)}function w(e,t){return c.a.useCallback(e,Object(i.b)(t,[]))}function y(e){return c.a.useRef(e)}function O(e,t){return c.a.useMemo(e,Object(i.b)(t,[]))}function v(e,t,n){return f(e,void 0,n,t)}function j(e){const t=y(e),n=w(e=>t.current(e),[]);var r;return r=()=>{t.current=e},l(e=>(r(),p(()=>{}))),n}const _=r.useState;function E(e){return c.a.useState(e)}r.useState},function(e,t,n){"use strict";n.d(t,"e",(function(){return o})),n.d(t,"g",(function(){return i})),n.d(t,"f",(function(){return c})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"b",(function(){return l}));var r=n(8);n(6),n(18),n(28);function o(e,t,n){Object(r.m)(n=>{try{n(t)}catch(t){e(t)}},n)}function i(){return Object(r.g)()}function c(e,t){return Object(r.o)(t=>n=>{t(t=>{n(e(t))})},t)}function a(e){return Object(r.d)(e)}function s(e){return Object(r.s)(t=>{t(e)})}function u(e,t,n,o){return Object(r.s)(r=>{e(t).then(e=>r(n(e))).catch(e=>r(o(e)))})}function l(e,t,n){return Object(r.s)(r=>{e(t).catch(e=>{r(n(e))})})}},function(e,t,n){"use strict";n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return f})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return h}));n(4);var r=n(2);const o=0,i=1,c=2,a=3,s=4;function u(e,t){return e.replace(/[a-z]?[A-Z]/g,e=>1===e.length?e.toLowerCase():e.charAt(0)+t+e.charAt(1).toLowerCase())}function l(e,t=o){const n={},l=t;function f(e){throw new Error("Cannot infer key and value of "+String(e))}function d(e,t,r){e=function(e,t){switch(t){case i:return e.charAt(0).toLowerCase()+e.slice(1);case c:return u(e,"_");case a:return u(e,"_").toUpperCase();case s:return u(e,"-");case o:default:return e}}(e,t),n[e]=r}for(let t of e){let e=o;if(null==t&&f(t),t instanceof r.d){const n=t.cases()[t.tag];t=0===t.fields.length?n:[n].concat(t.fields),e=l}if(Array.isArray(t))switch(t.length){case 0:f(t);break;case 1:d(t[0],e,!0);break;case 2:const n=t[1];d(t[0],e,n);break;default:d(t[0],e,t.slice(1))}else"string"==typeof t?d(t,e,!0):f(t)}return n}function f(e,t,n){return!!e.has(t)&&(n.contents=e.get(t),!0)}function d(e,t){return!t.has(e)&&(t.add(e),!0)}function p(e,t,n){if(e.has(t))throw new Error("An item with the same key has already been added. Key: "+t);e.set(t,n)}function h(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}},function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"b",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return h})),n.d(t,"g",(function(){return $})),n.d(t,"h",(function(){return b})),n.d(t,"i",(function(){return m}));var r=n(6),o=n(1),i=n(3);function c(e){}function a(e){const t=new r.a("boolean"==typeof e&&e);return"number"==typeof e&&setTimeout(()=>{t.cancel()},e),t}function s(e){e.cancel()}function u(e){return null!=e&&e.isCancelled}function l(e){return p(t=>e.then(t[0]).catch(e=>(e instanceof r.b?t[2]:t[1])(e)))}const f=new r.a;function d(e){return Object(r.e)(t=>{e({onSuccess:e=>t.onSuccess(Object(o.a)(e)),onError:e=>t.onSuccess(Object(o.b)(e)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function p(e){return Object(r.e)(t=>e([t.onSuccess,t.onError,t.onCancel]))}function h(e){return Object(r.d)(e,e=>Object(r.f)(void 0))}function $(e){return l(Promise.all(Object(i.p)(e=>w(e),e)))}function b(e){return Object(r.e)(t=>{let n;const o=setTimeout(()=>{t.cancelToken.removeListener(n),t.onSuccess(void 0)},e);n=t.cancelToken.addListener(()=>{clearTimeout(o),t.onCancel(new r.b)})})}function m(e,t){return function(e,t){return g(e,t)}(e,t)}function g(e,t,n,o,i){"function"!=typeof t&&(i=t,t=void 0);const a=new r.c;e({onSuccess:t||c,onError:n||c,onCancel:o||c,cancelToken:i||f,trampoline:a})}function w(e,t){return new Promise((n,r)=>g(e,n,r,r,t||f))}},function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return c})),n.d(t,"f",(function(){return a})),n.d(t,"h",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"g",(function(){return l}));const r=Symbol("numeric");function o(e){return"number"==typeof e||(null==e?void 0:e[r])}function i(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}function c(e,t){return"number"==typeof e?e*t:e[r]().multiply(t)}function a(e,t){return"number"==typeof e?e.toFixed(t):e[r]().toFixed(t)}function s(e,t){return"number"==typeof e?e.toPrecision(t):e[r]().toPrecision(t)}function u(e,t){return"number"==typeof e?e.toExponential(t):e[r]().toExponential(t)}function l(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[r]().toHex()}},function(e,t,n){"use strict";n.d(t,"e",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"g",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"f",(function(){return p})),n.d(t,"i",(function(){return h})),n.d(t,"a",(function(){return $})),n.d(t,"j",(function(){return b})),n.d(t,"c",(function(){return m})),n.d(t,"h",(function(){return g}));n(5);var r=n(4);const o=/(?:Z|[+-](\d+):?([0-5]?\d)?)\s*$/;function i(e){const t=e<0,n=~~((e=Math.abs(e))/36e5),o=e%36e5/6e4;return(t?"-":"+")+Object(r.y)(n,2)+":"+Object(r.y)(o,2)}function c(e,t){const n=e.toISOString();return"first"===t?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function a(e,t,n){return t.replace(/(\w)\1*/g,t=>{let r=Number.NaN;switch(t.substring(0,1)){case"y":const o=n?e.getUTCFullYear():e.getFullYear();r=t.length<4?o%100:o;break;case"M":r=(n?e.getUTCMonth():e.getMonth())+1;break;case"d":r=n?e.getUTCDate():e.getDate();break;case"H":r=n?e.getUTCHours():e.getHours();break;case"h":const i=n?e.getUTCHours():e.getHours();r=i>12?i%12:i;break;case"m":r=n?e.getUTCMinutes():e.getMinutes();break;case"s":r=n?e.getUTCSeconds():e.getSeconds();break;case"f":r=n?e.getUTCMilliseconds():e.getMilliseconds()}return Number.isNaN(r)?t:r<10&&t.length>1?"0"+r:""+r})}function s(e,t){var n,r,o;const s=new Date(e.getTime()+(null!==(n=e.offset)&&void 0!==n?n:0));if("string"!=typeof t)return s.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+i(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==t.length)return a(s,t,!0);switch(t){case"D":case"d":return c(s,"first");case"T":case"t":return c(s,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+i(t)}(s,null!==(o=e.offset)&&void 0!==o?o:0);default:throw new Error("Unrecognized Date print format")}}function u(e,t){const n=1===e.kind;if("string"!=typeof t)return n?e.toUTCString():e.toLocaleString();if(1!==t.length)return a(e,t,n);switch(t){case"D":case"d":return n?c(e,"first"):e.toLocaleDateString();case"T":case"t":return n?c(e,"second"):e.toLocaleTimeString();case"O":case"o":return function(e,t){if(t)return e.toISOString();{const t=null==e.kind||2===e.kind;return Object(r.y)(e.getFullYear(),4)+"-"+Object(r.y)(e.getMonth()+1,2)+"-"+Object(r.y)(e.getDate(),2)+"T"+Object(r.y)(e.getHours(),2)+":"+Object(r.y)(e.getMinutes(),2)+":"+Object(r.y)(e.getSeconds(),2)+"."+Object(r.y)(e.getMilliseconds(),3)+(t?i(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}function l(e,t,n){return null!=e.offset?s(e,t):u(e,t)}function f(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function d(){return f(-621355968e5,0)}function p(e){if(null===e)throw new Error("Value cannot be null when parsing DateTime");if(""===e.trim())throw new Error("An empty string is not recognized as a valid DateTime");let t=new Date(e);if(isNaN(t.getTime())){const n=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*([+-]\d+(?::\d+)?)?\s*$/.exec(e);if(null==n)throw new Error("The string is not a valid Date.");{let e,r=0;if(null!=n[2]){const e=n[2].split(":");r=3600*parseInt(e[0],10)+60*parseInt(e[1]||"0",10)+parseFloat(e[2]||"0"),null!=n[3]&&"PM"===n[3].toUpperCase()&&(r+=720)}if(null!=n[4]){if(null!=n[1])e=new Date(n[1]+" UTC");else{const t=new Date;e=new Date(t.getUTCFullYear()+"/"+(t.getUTCMonth()+1)+"/"+t.getUTCDate())}const t=n[4].substr(1).split(":");let o=60*parseInt(t[0],10)+parseInt(t[1]||"0",10);"+"===n[4][0]&&(o*=-1),r+=60*o}else if(null!=n[1])e=new Date(n[1]);else{const t=new Date;e=new Date(t.getFullYear()+"/"+(t.getMonth()+1)+"/"+t.getDate())}t=new Date(e.getTime()+1e3*r),t=new Date(t.getTime()+6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))}}return t}function h(e,t){try{return t.contents=function(e,t=!1){const n=p(e),r=o.exec(e),i=null!=r?t&&"Z"===r[0]?1:2:0;return f(n.getTime(),i)}(e),!0}catch(e){return!1}}function $(e,t,n,r=0,o=0,i=0,c=0,a){const s=1===a?Date.UTC(e,t-1,n,r,o,i,c):new Date(e,t-1,n,r,o,i,c).getTime();if(isNaN(s))throw new Error("The parameters describe an unrepresentable Date.");const u=f(s,a);return e<=99&&u.setFullYear(e,t-1,n),u}function b(){return f(Date.now(),1)}function m(e,t){return 2===t?function(e){return e%4==0&&e%100!=0||e%400==0}(e)?29:28:t>=8?t%2==0?31:30:t%2==0?30:31}function g(e){return 1===e.kind?e:f(e.getTime(),1)}r.g,r.g},function(e,t,n){"use strict";var r;function o(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function i(e,t,n){const o=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=o){const[,,e,i]=o;if(!function(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}(n=n||function(e,t){if(t&r.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}(e,t)).test(i))return function(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}(o,n)}return null}function c(e,t,n,r,c){const a=i(e,t,c);if(null!=a){let e=Number.parseInt(a.sign+a.digits,a.radix);if(!Number.isNaN(e)){const[t,i]=o(!0,r);!n&&10!==a.radix&&e>=t&&e<=i&&(e=e<<32-r>>32-r);const[c,s]=o(n,r);if(e>=c&&e<=s)return e}}throw new Error("Input string was not in a correct format.")}function a(e,t,n,r,o){try{return o.contents=c(e,t,n,r),!0}catch(e){return!1}}function s(e){return-2147483648===e?e:-e}n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return s})),function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"c",(function(){return b})),n.d(t,"d",(function(){return m})),n.d(t,"b",(function(){return g}));var r=n(4),o={GetHashCode(){return Object(r.d)([this.s,this.e].concat(this.c))},Equals(e){return!this.cmp(e)},CompareTo(e){return this.cmp(e)},[n(19).d](){const e=this;return{multiply:t=>e.mul(t),toPrecision:t=>e.toPrecision(t),toExponential:t=>e.toExponential(t),toFixed:t=>e.toFixed(t),toHex:()=>(Number(e)>>>0).toString(16)}}},i="[big.js] ",c=i+"Invalid ",a=c+"decimal places",s=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function u(e,t){var n,r,o;if(0===t&&1/t<0)t="-0";else if(!s.test(t+=""))throw Error(c+"number");for(e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),o=t.length,r=0;r<n&&r<o&&"0"==t.charAt(r);)++r;if(r==o)e.c=[e.e=0];else for(e.e=n-r-1,e.c=[],n=0;r<o;)e.c[n++]=+t.charAt(r++);return e=l(e,d.DP,d.RM)}function l(e,t,n,r){var o=e.c,i=e.e+t+1;if(i<o.length){if(1===n)r=o[i]>=5;else if(2===n)r=o[i]>5||5==o[i]&&(r||i<0||void 0!==o[i+1]||1&o[i-1]);else if(3===n){const e=o.findIndex((e,t)=>t>=i&&e>0)<0;r=r||!e}else if(r=!1,0!==n)throw Error("[big.js] Invalid rounding mode");if(i<1)o.length=1,r?(e.e=-t,o[0]=1):o[0]=e.e=0;else{if(o.length=i--,r)for(;++o[i]>9;)o[i]=0,i--||(++e.e,o.unshift(1));for(i=o.length;!o[--i];)o.pop()}}else if(n<0||n>3||n!==~~n)throw Error("[big.js] Invalid rounding mode");return e}function f(e,t,n,r){var o,i,s=e.constructor,u=!e.c[0];if(void 0!==n){if(n!==~~n||n<(3==t)||n>1e6)throw Error(3==t?c+"precision":a);for(n=r-(e=new s(e)).e,e.c.length>++r&&l(e,n,s.RM),2==t&&(r=e.e+n+1);e.c.length<r;)e.c.push(0)}if(o=e.e,n=(i=e.c.join("")).length,2!=t&&(1==t||3==t&&r<=o||o<=s.NE||o>=s.PE))i=i.charAt(0)+(n>1?"."+i.slice(1):"")+(o<0?"e":"e+")+o;else if(o<0){for(;++o;)i="0"+i;i="0."+i}else if(o>0)if(++o>n)for(o-=n;o--;)i+="0";else o<n&&(i=i.slice(0,o)+"."+i.slice(o));else n>1&&(i=i.charAt(0)+"."+i.slice(1));return e.s<0&&(!u||4==t)?"-"+i:i}o.abs=function(){var e=new this.constructor(this);return e.s=1,e},o.cmp=function(e){var t,n=this.constructor,r=new n(this),o=(e=new n(e),r.c),i=e.c,c=r.s,a=e.s,s=r.e,u=e.e;if(!o[0]||!i[0])return o[0]?c:i[0]?-a:0;if(c!=a)return c;if(t=c<0,s!=u)return s>u^t?1:-1;for(a=Math.max(o.length,i.length),c=0;c<a;c++)if((s=c<o.length?o[c]:0)!=(u=c<i.length?i[c]:0))return s>u^t?1:-1;return 0},o.div=function(e){var t=this.constructor,n=new t(this),r=(e=new t(e),n.c),o=e.c,i=n.s==e.s?1:-1,c=t.DP;if(c!==~~c||c<0||c>1e6)throw Error(a);if(!o[0])throw Error("[big.js] Division by zero");if(!r[0])return new t(0*i);var s,u,f,d,p,h=o.slice(),$=s=o.length,b=r.length,m=r.slice(0,s),g=m.length,w=e,y=w.c=[],O=0,v=c+(w.e=n.e-e.e)+1;for(w.s=i,i=v<0?0:v,h.unshift(0);g++<s;)m.push(0);do{for(f=0;f<10;f++){if(s!=(g=m.length))d=s>g?1:-1;else for(p=-1,d=0;++p<s;)if(o[p]!=m[p]){d=o[p]>m[p]?1:-1;break}if(!(d<0))break;for(u=g==s?o:h;g;){if(m[--g]<u[g]){for(p=g;p&&!m[--p];)m[p]=9;--m[p],m[g]+=10}m[g]-=u[g]}for(;!m[0];)m.shift()}y[O++]=d?f:++f,m[0]&&d?m[g]=r[$]||0:m=[r[$]]}while(($++<b||void 0!==m[0])&&i--);return y[0]||1==O||(y.shift(),w.e--),O>v&&l(w,c,t.RM,void 0!==m[0]),w},o.eq=function(e){return!this.cmp(e)},o.gt=function(e){return this.cmp(e)>0},o.gte=function(e){return this.cmp(e)>-1},o.lt=function(e){return this.cmp(e)<0},o.lte=function(e){return this.cmp(e)<1},o.minus=o.sub=function(e){var t,n,r,o,i=this.constructor,c=new i(this),a=(e=new i(e),c.s),s=e.s;if(a!=s)return e.s=-s,c.plus(e);var u=c.c.slice(),l=c.e,f=e.c,d=e.e;if(!u[0]||!f[0])return f[0]?(e.s=-s,e):new i(u[0]?c:0);if(a=l-d){for((o=a<0)?(a=-a,r=u):(d=l,r=f),r.reverse(),s=a;s--;)r.push(0);r.reverse()}else for(n=((o=u.length<f.length)?u:f).length,a=s=0;s<n;s++)if(u[s]!=f[s]){o=u[s]<f[s];break}if(o&&(r=u,u=f,f=r,e.s=-e.s),(s=(n=f.length)-(t=u.length))>0)for(;s--;)u[t++]=0;for(s=t;n>a;){if(u[--n]<f[n]){for(t=n;t&&!u[--t];)u[t]=9;--u[t],u[n]+=10}u[n]-=f[n]}for(;0===u[--s];)u.pop();for(;0===u[0];)u.shift(),--d;return u[0]||(e.s=1,u=[d=0]),e.c=u,e.e=d,e},o.mod=function(e){var t,n=this.constructor,r=new n(this),o=(e=new n(e),r.s),i=e.s;if(!e.c[0])throw Error("[big.js] Division by zero");return r.s=e.s=1,t=1==e.cmp(r),r.s=o,e.s=i,t?new n(r):(o=n.DP,i=n.RM,n.DP=n.RM=0,r=r.div(e),n.DP=o,n.RM=i,this.minus(r.times(e)))},o.plus=o.add=function(e){var t,n=this.constructor,r=new n(this),o=(e=new n(e),r.s),i=e.s;if(o!=i)return e.s=-i,r.minus(e);var c=r.e,a=r.c,s=e.e,u=e.c;if(!a[0]||!u[0])return u[0]?e:new n(a[0]?r:0*o);if(a=a.slice(),o=c-s){for(o>0?(s=c,t=u):(o=-o,t=a),t.reverse();o--;)t.push(0);t.reverse()}for(a.length-u.length<0&&(t=u,u=a,a=t),o=u.length,i=0;o;a[o]%=10)i=(a[--o]=a[o]+u[o]+i)/10|0;for(i&&(a.unshift(i),++s),o=a.length;0===a[--o];)a.pop();return e.c=a,e.e=s,e},o.pow=function(e){var t=this.constructor,n=new t(this),r=new t(1),o=new t(1),i=e<0;if(e!==~~e||e<-1e6||e>1e6)throw Error(c+"exponent");for(i&&(e=-e);1&e&&(r=r.times(n)),e>>=1;)n=n.times(n);return i?o.div(r):r},o.round=function(e,t){var n=this.constructor;if(void 0===e)e=0;else if(e!==~~e||e<-1e6||e>1e6)throw Error(a);return l(new n(this),e,void 0===t?n.RM:t)},o.sqrt=function(){var e,t,n,r=this.constructor,o=new r(this),c=o.s,a=o.e,s=new r(.5);if(!o.c[0])return new r(o);if(c<0)throw Error(i+"No square root");0===(c=Math.sqrt(o+""))||c===1/0?((t=o.c.join("")).length+a&1||(t+="0"),a=((a+1)/2|0)-(a<0||1&a),e=new r(((c=Math.sqrt(t))==1/0?"1e":(c=c.toExponential()).slice(0,c.indexOf("e")+1))+a)):e=new r(c),a=e.e+(r.DP+=4);do{n=e,e=s.times(n.plus(o.div(n)))}while(n.c.slice(0,a).join("")!==e.c.slice(0,a).join(""));return l(e,r.DP-=4,r.RM)},o.times=o.mul=function(e){var t,n=this.constructor,r=new n(this),o=(e=new n(e),r.c),i=e.c,c=o.length,a=i.length,s=r.e,u=e.e;if(e.s=r.s==e.s?1:-1,!o[0]||!i[0])return new n(0*e.s);for(e.e=s+u,c<a&&(t=o,o=i,i=t,u=c,c=a,a=u),t=new Array(u=c+a);u--;)t[u]=0;for(s=a;s--;){for(a=0,u=c+s;u>s;)a=t[u]+i[s]*o[u-s-1]+a,t[u--]=a%10,a=a/10|0;t[u]=(t[u]+a)%10}for(a?++e.e:t.shift(),s=t.length;!t[--s];)t.pop();return e.c=t,e},o.toExponential=function(e){return f(this,1,e,e)},o.toFixed=function(e){return f(this,2,e,this.e+e)},o.toPrecision=function(e){return f(this,3,e,e-1)},o.toString=function(){return f(this)},o.valueOf=o.toJSON=function(){return f(this,4)};var d=function e(){function t(n){var r=this;if(!(r instanceof t))return void 0===n?e():new t(n);n instanceof t?(r.s=n.s,r.e=n.e,r.c=n.c.slice(),function(e){if((e=l(e,28,0)).c.length>1&&!e.c[0]){let t=e.c.findIndex(e=>e);e.c=e.c.slice(t),e.e=e.e-t}}(r)):u(r,n),r.constructor=t}return t.prototype=o,t.DP=28,t.RM=1,t.NE=-29,t.PE=29,t.version="5.2.2",t}(),p=d;n(2),t.a=p;const h=new p(0);new p(1),new p(-1),new p("79228162514264337593543950335"),new p("-79228162514264337593543950335");function $(e,t){return e.add(t)}function b(e){return e.toString()}function m(e,t){try{return t.contents=new p(e.trim()),!0}catch(e){return!1}}function g(e,t){const n=e.cmp(h);if(0===n)throw new Error("The step of a range cannot be zero");const r=n>0;return n=>{const o=n.cmp(t);return r&&o<=0||!r&&o>=0?[n,$(n,e)]:void 0}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return f}));var r=n(3),o=n(2),i=(n(0),n(17));n(7);class c{constructor(e,t){const n=new o.a(null);this.comparer=t,n.contents=this,this.hashMap=new Map([]),this["init@8-2"]=1;const i=Object(r.l)(e);try{for(;i["System.Collections.IEnumerator.MoveNext"]();)f(n.contents,i["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{i.Dispose()}}get[Symbol.toStringTag](){return"HashSet"}"System.Collections.IEnumerable.GetEnumerator"(){return Object(r.l)(this)}GetEnumerator(){return Object(r.l)(Object(r.e)(this.hashMap.values()))}[Symbol.iterator](){return Object(r.C)(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){f(this,e)}"System.Collections.Generic.ICollection`1.Clear"(){u(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return d(this,e)}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){Object(r.o)((n,r)=>{e[t+n]=r},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|l(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){return p(this,e)}get size(){return 0|l(this)}add(e){return f(this,e),this}clear(){u(this)}delete(e){return p(this,e)}has(e){return d(this,e)}keys(){return Object(r.p)(e=>e,this)}values(){return Object(r.p)(e=>e,this)}entries(){return Object(r.p)(e=>[e,e],this)}forEach(e,t){const n=this;Object(r.n)(t=>{e(t,t,n)},n)}}function a(e,t){return new c(e,t)}function s(e,t){const n=0|e.comparer.GetHashCode(t);let r,c=null;return r=[Object(i.e)(e.hashMap,n,new o.a(()=>c,e=>{c=e})),c],r[0]?[!0,n,r[1].findIndex(n=>e.comparer.Equals(t,n))]:[!1,n,-1]}function u(e){e.hashMap.clear()}function l(e){return Object(r.A)(e=>e.length,e.hashMap.values(),{GetZero:()=>0,Add:(e,t)=>e+t})}function f(e,t){const n=s(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!1;case 1:if(n[0]){Object(i.c)(e.hashMap,n[1]).push(t);return!0}return e.hashMap.set(n[1],[t]),!0}}function d(e,t){const n=s(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function p(e,t){const n=s(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return Object(i.c)(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return u}));var r=n(3),o=n(4),i=n(2),c=(n(0),n(17)),a=n(10);class s{constructor(e,t){const n=new i.a(null);this.comparer=t,n.contents=this,this.hashMap=new Map([]),this["init@8-1"]=1;const o=Object(r.l)(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const e=o["System.Collections.Generic.IEnumerator`1.get_Current"]();h(n.contents,e[0],e[1])}}finally{o.Dispose()}}get[Symbol.toStringTag](){return"Dictionary"}"System.Collections.IEnumerable.GetEnumerator"(){return Object(r.l)(this)}GetEnumerator(){return Object(r.l)(Object(r.e)(this.hashMap.values()))}[Symbol.iterator](){return Object(r.C)(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){h(this,e[0],e[1])}"System.Collections.Generic.ICollection`1.Clear"(){d(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){const t=f(this,e[0]);let n;switch(n=null!=t&&Object(o.o)(t[1],e[1])?0:1,n){case 0:return!0;case 1:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){Object(r.o)((n,r)=>{e[t+n]=r},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|p(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){const t=this,n=f(t,e[0]);return null!=n&&(Object(o.o)(n[1],e[1])&&$(t,e[0]),!0)}get size(){return 0|p(this)}clear(){d(this)}delete(e){return $(this,e)}entries(){return Object(r.p)(e=>[e[0],e[1]],this)}get(e){return function(e,t){const n=f(e,t);if(null!=n)return n[1];throw new Error("The item was not found in collection")}(this,e)}has(e){return function(e,t){const n=l(e,t);let r;r=n[0]&&n[2]>-1?0:1;switch(r){case 0:return!0;case 1:return!1}}(this,e)}keys(){return Object(r.p)(e=>e[0],this)}set(e,t){return function(e,t,n){const r=l(e,t);let o;o=r[0]&&r[2]>-1?0:1;switch(o){case 0:Object(c.c)(e.hashMap,r[1])[r[2]]=[t,n];break;case 1:if(r[0]){Object(c.c)(e.hashMap,r[1]).push([t,n])}else e.hashMap.set(r[1],[[t,n]])}}(this,e,t),this}values(){return Object(r.p)(e=>e[1],this)}forEach(e,t){const n=this;Object(r.n)(t=>{e(t[1],t[0],n)},n)}}function u(e,t){return new s(e,t)}function l(e,t){const n=0|e.comparer.GetHashCode(t);let r,o=null;return r=[Object(c.e)(e.hashMap,n,new i.a(()=>o,e=>{o=e})),o],r[0]?[!0,n,r[1].findIndex(n=>e.comparer.Equals(t,n[0]))]:[!1,n,-1]}function f(e,t){const n=l(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return Object(c.c)(e.hashMap,n[1])[n[2]];case 1:return}}function d(e){e.hashMap.clear()}function p(e){return Object(r.A)(e=>e.length,e.hashMap.values(),{GetZero:()=>0,Add:(e,t)=>e+t})}function h(e,t,n){const r=l(e,t);let o;switch(o=r[0]&&r[2]>-1?0:1,o){case 0:{const e=Object(a.c)("An item with the same key has already been added. Key: {0}",t);throw new Error(e)}case 1:if(r[0]){Object(c.c)(e.hashMap,r[1]).push([t,n])}else e.hashMap.set(r[1],[[t,n]])}}function $(e,t){const n=l(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return Object(c.c)(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}},function(e,t,n){"use strict";function r(e,t=0){if(0!=(-276&t))throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Singleline and ECMAScript");let n="g";return n+=1&t?"i":"",n+=2&t?"m":"",n+=16&t?"s":"",new RegExp(e,n)}function o(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function i(e,t,n=0){let o;if(o=e instanceof RegExp?(o=e,e=t,o.lastIndex=n,o):o=r(t,n),!o.global)throw new Error("Non-global RegExp");let i=o.exec(e);const c=[];for(;null!==i;)c.push(i),i=o.exec(e);return c}function c(e,t,n,o,c=0){if("string"==typeof e){const n=e;e=r(t,null!=o?o:0),t=n,o=void 0}if("function"==typeof n)return o=null==o?-1:o,t.substring(0,c)+t.substring(c).replace(e,(function(){let e=arguments[0];if(o){o--;const t=[],r=arguments.length,i="string"!=typeof arguments[r-1];let c=i?r-3:r-2;for(let e=0;e<c;e++)t.push(arguments[e]);t.index=arguments[c++],t.input=arguments[c++],i&&(t.groups=arguments[c]),e=n(t)}return e}));if(n=n.replace(/\$0/g,e=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),null!=o){let r;const a=t.substring(c),s=i(e,a),u=i.length>o?(r=s[o-1],a.substring(0,r.index+r[0].length)):a;return t.substring(0,c)+u.replace(e,n)+t.substring(c+u.length)}return t.replace(e,n)}n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var r=n(10);const o=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,i=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,c=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function a(e,t){try{return t.contents=function(e){function t(e){return e.replace(i,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(o.test(n))return Object(r.m)(n,"{","}","(",")");if(i.test(n))return t(n);if(c.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}(e),!0}catch(e){return!1}}function s(){let e="";for(let t=0;t++<36;)e+=51*t&52?(15^t?8^Math.random()*(20^t?16:4):4).toString(16):"-";return e}},function(e,t,n){var r;
|
|
1
|
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=58)}([function(e,t,n){"use strict";n.d(t,"k",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"I",(function(){return f})),n.d(t,"a",(function(){return d})),n.d(t,"L",(function(){return p})),n.d(t,"K",(function(){return h})),n.d(t,"z",(function(){return b})),n.d(t,"G",(function(){return $})),n.d(t,"A",(function(){return m})),n.d(t,"b",(function(){return g})),n.d(t,"e",(function(){return O})),n.d(t,"F",(function(){return w})),n.d(t,"M",(function(){return y})),n.d(t,"J",(function(){return v})),n.d(t,"c",(function(){return j})),n.d(t,"s",(function(){return _})),n.d(t,"E",(function(){return E})),n.d(t,"f",(function(){return x})),n.d(t,"t",(function(){return S})),n.d(t,"g",(function(){return C})),n.d(t,"v",(function(){return k})),n.d(t,"u",(function(){return T})),n.d(t,"j",(function(){return A})),n.d(t,"h",(function(){return I})),n.d(t,"i",(function(){return N})),n.d(t,"H",(function(){return M})),n.d(t,"q",(function(){return D})),n.d(t,"l",(function(){return R})),n.d(t,"n",(function(){return F})),n.d(t,"y",(function(){return L})),n.d(t,"w",(function(){return G})),n.d(t,"x",(function(){return B})),n.d(t,"r",(function(){return U})),n.d(t,"p",(function(){return V})),n.d(t,"m",(function(){return H})),n.d(t,"o",(function(){return q})),n.d(t,"D",(function(){return W})),n.d(t,"B",(function(){return z})),n.d(t,"C",(function(){return Y}));var r=n(8),o=n(1);n(22),n(5);class i{constructor(e,t,n,r){this.declaringType=e,this.tag=t,this.name=n,this.fields=r}}class c{constructor(e,t,n,r,o,i,c){this.fullname=e,this.generics=t,this.construct=n,this.parent=r,this.fields=o,this.cases=i,this.enumCases=c}toString(){return x(this)}GetHashCode(){return u(this)}Equals(e){return a(this,e)}}function s(e){return null!=e.generics?e.generics:[]}function u(e){const t=Object(o.C)(e.fullname),n=s(e).map(u);return Object(o.c)([t,...n])}function a(e,t){return""===e.fullname?""===t.fullname&&Object(o.m)(R(e),R(t),([e,t],[n,r])=>e===n&&a(t,r)):e.fullname===t.fullname&&Object(o.m)(s(e),s(t),a)}function l(e,t,n,r){return new c(e,t,n,r)}function f(e,t,n,r){return new c(e,t,n,void 0,r)}function d(...e){return new c("",void 0,void 0,void 0,()=>e)}function p(e,t,n,r){const o=new c(e,t,n,void 0,void 0,()=>{const e=n.prototype.cases();return r().map((t,n)=>new i(o,n,e[n],t))});return o}function h(...e){return new c("System.Tuple`"+e.length,e)}function b(e,t){return new c("Microsoft.FSharp.Core.FSharpFunc`2",[e,t])}function $(e){return new c("Microsoft.FSharp.Core.FSharpOption`1",[e])}function m(e){return new c("Microsoft.FSharp.Collections.FSharpList`1",[e])}function g(e){return new c("[]",[e])}function O(e,t,n){return new c(e,[t],void 0,void 0,void 0,void 0,n)}const w=new c("System.Object"),y=new c("Microsoft.FSharp.Core.Unit"),v=(new c("System.Char"),new c("System.String")),j=new c("System.Boolean"),_=(new c("System.SByte"),new c("System.Byte"),new c("System.Int16"),new c("System.UInt16"),new c("System.Int32"));new c("System.UInt32"),new c("System.Single"),new c("System.Double"),new c("System.Decimal");function E(e){if(Array.isArray(e))return e[0];if(e instanceof c){const t=C(e);if(null!=t)return E(t)+"[]";{const t=e.fullname.lastIndexOf(".");return-1===t?e.fullname:e.fullname.substr(t+1)}}return e.name}function x(e){const t=C(e);return null!=t?x(t)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map(e=>x(e)).join(",")+"]"}function S(e){return null!=C(e)}function C(e){var t;return"[]"===e.fullname&&1===(null===(t=e.generics)||void 0===t?void 0:t.length)?e.generics[0]:void 0}function k(e){return null!=e.generics&&e.generics.length>0}function T(e){return null!=e.enumCases&&e.enumCases.length>0}function A(e){return null==e.generics?e:new c(e.fullname,e.generics.map(()=>w))}function I(e){var t;return null===(t=e.generics)||void 0===t?void 0:t[0]}function N(e){if(T(e)&&null!=e.enumCases)return e.enumCases.map(e=>e[1]);throw new Error(e.fullname+" is not an enum type")}function P(e,t){if(null!=e.enumCases){if("string"==typeof t){for(const n of e.enumCases)if(n[0]===t)return n;throw new Error(`'${t}' was not found in ${e.fullname}`)}for(const n of e.enumCases)if(n[1]===t)return n;return["",t]}throw new Error(e.fullname+" is not an enum type")}function M(e,t){const n=parseInt(t,10);return P(e,isNaN(n)?t:n)[1]}function D(e){if(null!=e.cases)return e.cases();throw new Error(e.fullname+" is not an F# union type")}function R(e){if(null!=e.fields)return e.fields();throw new Error(e.fullname+" is not an F# record type")}function F(e){if(B(e)&&null!=e.generics)return e.generics;throw new Error(e.fullname+" is not a tuple type")}function L(e){return e instanceof c?null!=e.cases:e instanceof r.d}function G(e){return e instanceof c?null!=e.fields:e instanceof r.c}function B(e){return e.fullname.startsWith("System.Tuple")}function U(e,t){const n=D(t)[e.tag];if(null==n)throw new Error(`Cannot find case ${e.name} in union type`);return[n,e.fields]}function V(e){return null==e.fields?[]:e.fields}function H(e,t){return e[t[0]]}function q(e){return e}function W(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);return null!=e.declaringType.construct?new e.declaringType.construct(e.tag,...t):{}}function z(e,t){const n=R(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return null!=e.construct?new e.construct(...t):n.reduce((e,[n,r],o)=>(e[n]=t[o],e),{})}function Y(e,t){return e}},function(e,t,n){"use strict";function r(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function o(e){return"function"==typeof e.GetHashCode}function i(e){return null!=e&&"function"==typeof e.Dispose}function c(e){i(e)&&e.Dispose()}function s(e,t){var n,r;return(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===(null===(r=Object.getPrototypeOf(t))||void 0===r?void 0:r.constructor)}n.d(t,"r",(function(){return r})),n.d(t,"s",(function(){return i})),n.d(t,"k",(function(){return c})),n.d(t,"B",(function(){return s})),n.d(t,"o",(function(){return a})),n.d(t,"E",(function(){return l})),n.d(t,"a",(function(){return f})),n.d(t,"x",(function(){return d})),n.d(t,"w",(function(){return p})),n.d(t,"j",(function(){return h})),n.d(t,"p",(function(){return b})),n.d(t,"q",(function(){return $})),n.d(t,"C",(function(){return g})),n.d(t,"v",(function(){return O})),n.d(t,"c",(function(){return w})),n.d(t,"z",(function(){return y})),n.d(t,"D",(function(){return v})),n.d(t,"A",(function(){return j})),n.d(t,"m",(function(){return _})),n.d(t,"l",(function(){return E})),n.d(t,"n",(function(){return x})),n.d(t,"f",(function(){return S})),n.d(t,"g",(function(){return C})),n.d(t,"e",(function(){return k})),n.d(t,"d",(function(){return T})),n.d(t,"u",(function(){return A})),n.d(t,"t",(function(){return I})),n.d(t,"h",(function(){return N})),n.d(t,"b",(function(){return P})),n.d(t,"F",(function(){return D})),n.d(t,"i",(function(){return F})),n.d(t,"y",(function(){return L}));class u{constructor(e){this.iter=e}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this.iter.next();return this.current=e.value,!e.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function a(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new u(e[Symbol.iterator]())}function l(e){return{[Symbol.iterator](){return this},next(){const t=e["System.Collections.IEnumerator.MoveNext"]();return{done:!t,value:t?e["System.Collections.IEnumerator.get_Current"]():void 0}}}}class f{constructor(e){this.factory=e,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function d(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function p(e,t,n){let r=e.toString(10);for(;r.length<t;)r="0"+r;for(;r.length<n;)r+="0";return r}function h(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}function b(e,t){return(e=e<0&&null!=t&&10!==t?65535+e+1:e).toString(t)}function $(e,t){return(e=e<0&&null!=t&&10!==t?4294967295+e+1:e).toString(t)}class m{static id(e){return m.idMap.has(e)||m.idMap.set(e,++m.count),m.idMap.get(e)}}function g(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}function O(e){return 2654435761*e|0}function w(e){return 0===e.length?0:e.reduce((e,t)=>(e<<5)+e^t)}function y(e){if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return O(e);case"string":return g(e);default:return O(m.id(e))}}function v(e){var t;if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return O(e);case"string":return g(e);default:if(o(e))return e.GetHashCode();if(r(e))return function(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=v(e[r]);return w(n)}(e);if(e instanceof Date)return function(e){return e.getTime()}(e);if((null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor)===Object){return w(Object.values(e).map(e=>v(e)))}return O(m.id(e))}}function j(e){return null==e?0:o(e)?e.GetHashCode():O(m.id(e))}function _(e,t,n){if(null==e)return null==t;if(null==t)return!1;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function E(e,t){return _(e,t,x)}function x(e,t){var n;return e===t||(null==e?null==t:null!=t&&("object"==typeof e&&(function(e){return"function"==typeof e.Equals}(e)?e.Equals(t):r(e)?r(t)&&E(e,t):e instanceof Date?t instanceof Date&&0===S(e,t):(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===Object&&function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=0;o<n.length;o++)if(n[o]!==r[o]||!x(e[n[o]],t[r[o]]))return!1;return!0}(e,t))))}function S(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+h(e),r=t.getTime()+h(t)),n===r?0:n<r?-1:1}function C(e,t){return e===t?0:e<t?-1:1}function k(e,t){return function(e,t,n){if(null==e)return null==t?0:1;if(null==t)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,o=0;r<e.length;r++)if(o=n(e[r],t[r]),0!==o)return o;return 0}(e,t,T)}function T(e,t){var n;return e===t?0:null==e?null==t?0:-1:null==t?1:"object"!=typeof e?e<t?-1:1:function(e){return"function"==typeof e.CompareTo}(e)?e.CompareTo(t):r(e)?r(t)?k(e,t):-1:e instanceof Date?t instanceof Date?S(e,t):-1:(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===Object?function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let o=0,i=0;o<n.length;o++){const c=n[o];if(c!==r[o])return c<r[o]?-1:1;if(i=T(e[c],t[c]),0!==i)return i}return 0}(e,t):-1}function A(e,t,n){return e(t,n)<0?t:n}function I(e,t,n){return e(t,n)>0?t:n}function N(e){const t={};for(const n of e)t[n[0]]=n[1];return t}function P(e){r(e)?e.splice(0):e.clear()}m.idMap=new WeakMap,m.count=0;const M=Symbol("curried");function D(e,t){if(null==t||t.length>1)return t;const n=(...n)=>{let r=t;for(let t=0;t<e;t++)r=r(n[t]);return r};return n[M]=t,n}function R(e,t,n){return r=>1===t?n(...e.concat([r])):R(e.concat([r]),t-1,n)}function F(e,t){return null==t||1===t.length?t:M in t?t[M]:R([],e,t)}function L(e,t,n){if(null!=t){if(M in t){t=t[M];for(let e=0;e<n.length;e++)t=t(n[e]);return t}return R(n,e,t)}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p}));var r=n(8),o=(n(0),n(6));class i extends r.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}function c(e,t){return 0===t.tag?new i(0,e(t.fields[0])):new i(1,t.fields[0])}function s(e,t){return 0===t.tag?new i(0,t.fields[0]):new i(1,e(t.fields[0]))}function u(e,t){return 0===t.tag?e(t.fields[0]):new i(1,t.fields[0])}class a extends r.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of2","Choice2Of2"]}}r.d;r.d;r.d;r.d;r.d;function l(e){return new a(0,e)}function f(e){return new a(1,e)}function d(e){return 0===e.tag?Object(o.f)(e.fields[0]):void 0}function p(e){return 1===e.tag?Object(o.f)(e.fields[0]):void 0}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"g",(function(){return m})),n.d(t,"f",(function(){return g})),n.d(t,"t",(function(){return O})),n.d(t,"l",(function(){return w})),n.d(t,"n",(function(){return y})),n.d(t,"k",(function(){return v})),n.d(t,"y",(function(){return j})),n.d(t,"w",(function(){return _})),n.d(t,"A",(function(){return E})),n.d(t,"x",(function(){return x})),n.d(t,"j",(function(){return S})),n.d(t,"s",(function(){return C})),n.d(t,"m",(function(){return k})),n.d(t,"q",(function(){return T})),n.d(t,"p",(function(){return A})),n.d(t,"r",(function(){return I})),n.d(t,"e",(function(){return N})),n.d(t,"b",(function(){return P})),n.d(t,"d",(function(){return M})),n.d(t,"o",(function(){return D})),n.d(t,"z",(function(){return F})),n.d(t,"i",(function(){return L})),n.d(t,"c",(function(){return G})),n.d(t,"h",(function(){return B})),n.d(t,"v",(function(){return V})),n.d(t,"u",(function(){return H}));var r=n(11),o=n(1),i=n(8),c=(n(0),n(17)),s=n(6),u=n(10);class a extends i.c{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+Object(r.f)("; ",this)+"]"}Equals(e){const t=this;if(t===e)return!0;return((e,t)=>{e:for(;;){const n=e,r=t,i=[n.tail,r.tail];if(null!=i[0]){if(null!=i[1]){const c=i[0],s=i[1];if(Object(o.n)(n.head,r.head)){e=c,t=s;continue e}return!1}return!1}return null==i[1]}})(t,e)}GetHashCode(){return 0|((e,t,n)=>{for(;;){const r=e,i=t,c=n,s=c.tail;if(null==s)return 0|i;{const u=s;if(r>18)return 0|i;e=r+1,t=(i<<1)+Object(o.D)(c.head)+631*r,n=u}}})(0,0,this)}toJSON(e){return Array.from(this)}CompareTo(e){return 0|((e,t)=>{e:for(;;){const n=e,r=t,i=[n.tail,r.tail];if(null!=i[0]){if(null!=i[1]){const c=i[0],s=i[1],u=0|Object(o.d)(n.head,r.head);if(0===u){e=c,t=s;continue e}return 0|u}return 1}return null!=i[1]?-1:0}})(this,e)}GetEnumerator(){return function(e){return new l(e)}(this)}[Symbol.iterator](){return Object(o.E)(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Object(o.o)(this)}}class l{constructor(e){this.xs=e,this.it=this.xs,this.current=null}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this,t=e.it.tail;if(null!=t){const n=t;return e.current=e.it.head,e.it=n,!0}return!1}"System.Collections.IEnumerator.Reset"(){this.it=this.xs,this.current=null}Dispose(){}}function f(){return new a(null,void 0)}function d(e,t){return new a(e,t)}function p(e){return null==e.tail}function h(e){return 0|((e,t)=>{for(;;){const n=e,r=t.tail;if(null==r)return 0|n;e=n+1,t=r}})(0,e)}function b(e){if(null!=e.tail)return e.head;throw new Error(c.f+"\\nParameter name: list")}function $(e){const t=e.tail;if(null!=t)return t;throw new Error(c.f+"\\nParameter name: list")}function m(){return f()}function g(e,t){return d(e,t)}function O(e){return d(e,f())}function w(e){return p(e)}function y(e){return h(e)}function v(e){return b(e)}function j(e){return p(e)?void 0:Object(s.f)(b(e))}function _(e){return $(e)}function E(e){e:for(;;){const t=e;if(p(t))return;{const n=$(t);if(p(n))return Object(s.f)(b(t));e=n;continue e}}}function x(e){const t=0|h(e),n=Object(u.f)(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,o=t;if(p(o))break;n[r]=b(o),e=r+1,t=$(o)}})(0,e),n}function S(e,t,n){let r=t,o=n;for(;!p(o);)r=e(r,b(o)),o=$(o);return r}function C(e){return S((e,t)=>d(t,e),f(),e)}function k(e,t){S((t,n)=>{e(n)},void 0,t)}function T(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=d(e[t],n);return n}function A(e){return T(e,f())}function I(e){let t,n;if(Object(o.r)(e))return A(e);if(e instanceof a)return e;{const r=f();let i=r;const c=Object(o.o)(e);try{for(;c["System.Collections.IEnumerator.MoveNext"]();){const e=c["System.Collections.Generic.IEnumerator`1.get_Current"]();t=i,n=new a(e,void 0),t.tail=n,i=n}}finally{Object(o.k)(c)}const s=i,u=f();return s.tail=u,$(r)}}function N(e){const t=f();let n=t;const r=e=>{n=S((e,t)=>{const n=new a(t,void 0);return e.tail=n,n},n,e)};if(Object(o.r)(e))e.forEach(r);else if(e instanceof a)k(r,e);else{const t=Object(o.o)(e);try{for(;t["System.Collections.IEnumerator.MoveNext"]();)r(t["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{Object(o.k)(t)}}const i=n,c=f();return i.tail=c,$(t)}function P(e,t){return S((e,t)=>d(t,e),t,C(e))}function M(e,t){let n,r;const o=f();let i=o,c=t;for(;!p(c);){let t=e(b(c));for(;!p(t);)n=i,r=new a(b(t),void 0),n.tail=r,i=r,t=$(t);c=$(c)}const s=i,u=f();return s.tail=u,$(o)}function D(e,t){const n=f(),r=S((t,n)=>{const r=new a(e(n),void 0);return t.tail=r,r},n,t),o=f();return r.tail=o,$(n)}function R(e,t){return((t,n)=>{for(;;){const r=t,o=n;if(p(o))return;if(e(b(o)))return r;t=r+1,n=$(o)}})(0,t)}function F(e,t){return((t,n)=>{for(;;){const r=t,o=n;if(p(o))return;if(r===e)return Object(s.f)(b(o));t=r+1,n=$(o)}})(0,t)}function L(e,t){const n=f(),r=S((t,n)=>{if(e(n)){const e=new a(n,void 0);return t.tail=e,e}return t},n,t),o=f();return r.tail=o,$(n)}function G(e,t){const n=f(),r=S((t,n)=>{const r=e(n);if(null==r)return t;{const e=new a(Object(s.i)(r),void 0);return t.tail=e,e}},n,t),o=f();return r.tail=o,$(n)}function B(e,t){return null!=R(e,t)}function U(e,t){const n=x(t);return n.sort(e),A(n)}function V(e,t){return U((e,n)=>t.Compare(e,n),e)}function H(e,t){for(;;){const n=e,r=t;if(p(r))return r;if(!n(b(r)))return r;e=n,t=$(r)}}},function(e,t,n){"use strict";n.d(t,"h",(function(){return v})),n.d(t,"f",(function(){return j})),n.d(t,"C",(function(){return _})),n.d(t,"i",(function(){return E})),n.d(t,"v",(function(){return x})),n.d(t,"y",(function(){return S})),n.d(t,"z",(function(){return C})),n.d(t,"a",(function(){return A})),n.d(t,"c",(function(){return I})),n.d(t,"e",(function(){return N})),n.d(t,"g",(function(){return P})),n.d(t,"k",(function(){return M})),n.d(t,"j",(function(){return D})),n.d(t,"l",(function(){return R})),n.d(t,"m",(function(){return F})),n.d(t,"A",(function(){return L})),n.d(t,"n",(function(){return G})),n.d(t,"o",(function(){return B})),n.d(t,"p",(function(){return U})),n.d(t,"q",(function(){return V})),n.d(t,"r",(function(){return H})),n.d(t,"b",(function(){return W})),n.d(t,"B",(function(){return z})),n.d(t,"s",(function(){return Y})),n.d(t,"t",(function(){return X})),n.d(t,"u",(function(){return J})),n.d(t,"w",(function(){return Z})),n.d(t,"x",(function(){return K})),n.d(t,"d",(function(){return Q}));var r=n(1),o=n(8),i=(n(0),n(6)),c=n(25),s=n(10),u=n(3);n(17);const a="The input sequence was empty.",l="The input sequence has an insufficient number of elements.";function f(){throw new Error("Enumeration has not started. Call MoveNext.")}function d(){throw new Error("Enumeration already finished.")}class p{constructor(e){this.f=e}toString(){let e=0,t="seq [";const n=Object(r.o)(this);try{for(;e<4&&n["System.Collections.IEnumerator.MoveNext"]();)e>0&&(t+="; "),t+=Object(o.f)(n["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(t+="; ..."),t+"]"}finally{Object(r.k)(n)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Object(r.E)(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class h{constructor(e,t,n){this.current=e,this.next=t,this.dispose=n}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){!function(){throw new Error("Reset is not supported on this enumerator.")}()}Dispose(){this.dispose()}}function b(e,t,n){return new h(e,t,n)}function $(e,t){return b(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{Object(r.k)(t)}finally{e()}})}function m(e,t,n){let r=!1,o=void 0,c=Object(i.f)(e());const s=()=>{if(null!=c){const e=Object(i.i)(c);try{n(e)}finally{c=void 0}}},u=()=>{try{s()}finally{o=void 0}};return b(()=>(r||f(),null!=o?Object(i.i)(o):d()),()=>{if(r||(r=!0),null!=c){const e=Object(i.i)(c);let n;try{n=t(e)}catch(e){throw u(),e}return null!=n?(o=n,!0):(u(),!1)}return!1},s)}function g(){throw new Error("An index satisfying the predicate was not found in the collection.")}function O(e,t){null==t&&Object(c.c)(e)}function w(e){return function(e){return new p(e)}(e)}function y(e){return O("source",e),Object(r.o)(e)}function v(e){return w(()=>Object(r.o)(e()))}function j(e){return w(()=>function(e){let t=void 0,n=void 0,o=!1,c=!1,s=void 0;const u=()=>{if(c=!0,null!=n){const e=n;try{Object(r.k)(e)}finally{n=void 0}}if(null!=t){const e=t;try{Object(r.k)(e)}finally{t=void 0}}};return b(()=>(o?c&&d():f(),null!=s?Object(i.i)(s):d()),()=>{let a;if(o||(o=!0),c)return!1;{let o=void 0;for(;null==o;){const c=[t,n];if(null!=c[0])if(null!=c[1]){const e=c[1];if(e["System.Collections.IEnumerator.MoveNext"]())s=Object(i.f)(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),o=!0;else try{Object(r.k)(e)}finally{n=void 0}}else{const e=c[0];if(e["System.Collections.IEnumerator.MoveNext"]()){a=e["System.Collections.Generic.IEnumerator`1.get_Current"](),n=Object(r.o)(a)}else u(),o=!1}else t=Object(r.o)(e)}return Object(i.i)(o)}},()=>{c||u()})}(e))}function _(e,t){return w(()=>function(e,t){let n=void 0,r=t;return b(()=>{if(null!=n){const e=n[0];n[1];return e}return f()},()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1},()=>{})}(e,t))}function E(){return v(()=>new Array(0))}function x(e){return v(()=>Object(s.s)(e))}function S(e){return e instanceof u.a?Object(u.x)(e):Array.from(e)}function C(e){return Object(r.r)(e)?Object(u.p)(e):e instanceof u.a?e:Object(u.r)(e)}function k(e,t,n){return w(()=>m(e,t,n))}function T(e,t,n){return w(()=>{let r=-1;return m(e,e=>(r=r+1|0,t(r,e)),n)})}function A(e,t){return j([e,t])}function I(e,t){return k(()=>y(t),t=>{let n=void 0;for(;null==n&&t["System.Collections.IEnumerator.MoveNext"]();)n=e(t["System.Collections.Generic.IEnumerator`1.get_Current"]());return n},e=>{Object(r.k)(e)})}function N(e,t,n){const o=y(t);try{const t=y(n);try{let n=0,i=o["System.Collections.IEnumerator.MoveNext"](),c=t["System.Collections.IEnumerator.MoveNext"]();for(;0===n&&i&&c;)n=0|e(o["System.Collections.Generic.IEnumerator`1.get_Current"](),t["System.Collections.Generic.IEnumerator`1.get_Current"]()),0===n&&(i=o["System.Collections.IEnumerator.MoveNext"](),c=t["System.Collections.IEnumerator.MoveNext"]());return 0|(0!==n?n:i?1:c?-1:0)}finally{Object(r.k)(t)}}finally{Object(r.k)(o)}}function P(e,t,n){const o=y(t);try{let t=!1;for(;!t&&o["System.Collections.IEnumerator.MoveNext"]();)t=n.Equals(e,o["System.Collections.Generic.IEnumerator`1.get_Current"]());return t}finally{Object(r.k)(o)}}function M(e,t){return I(t=>e(t)?Object(i.f)(t):void 0,t)}function D(e,t){const n=y(t);try{let t=!1;for(;!t&&n["System.Collections.IEnumerator.MoveNext"]();)t=e(n["System.Collections.Generic.IEnumerator`1.get_Current"]());return t}finally{Object(r.k)(n)}}function R(e,t,n){const o=y(n);try{let n=t;for(;o["System.Collections.IEnumerator.MoveNext"]();)n=e(n,o["System.Collections.Generic.IEnumerator`1.get_Current"]());return n}finally{Object(r.k)(o)}}function F(e,t){return!D(t=>!e(t),t)}function L(e){if(Object(r.r)(e))return Object(s.z)(e);if(e instanceof u.a)return Object(u.y)(e);{const t=y(e);try{return t["System.Collections.IEnumerator.MoveNext"]()?Object(i.f)(t["System.Collections.Generic.IEnumerator`1.get_Current"]()):void 0}finally{Object(r.k)(t)}}}function G(e){if(Object(r.r)(e))return 0===e.length;if(e instanceof u.a)return Object(u.l)(e);{const t=y(e);try{return!t["System.Collections.IEnumerator.MoveNext"]()}finally{Object(r.k)(t)}}}function B(e,t){R((t,n)=>{e(n)},void 0,t)}function U(e,t){R((t,n)=>(e(t,n),t+1|0),0,t)}function V(e,t){return k(()=>y(t),t=>t["System.Collections.IEnumerator.MoveNext"]()?Object(i.f)(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,e=>{Object(r.k)(e)})}function H(e,t){return T(()=>y(t),(t,n)=>n["System.Collections.IEnumerator.MoveNext"]()?Object(i.f)(e(t,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,e=>{Object(r.k)(e)})}class q{constructor(e,t){this.cleanup=e,this.res=t}Dispose(){this.cleanup()}GetEnumerator(){return Object(r.o)(this.res)}[Symbol.iterator](){return Object(r.E)(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Object(r.o)(this.res)}}function W(e){O("source",e);const t=[];let n=void 0;return o=()=>{Object(c.b)(t,()=>{let e,o;switch(Object(r.b)(t),null!=n&&null!=Object(i.i)(n)?(e=0,o=Object(i.i)(n)):e=1,e){case 0:Object(r.k)(o)}n=void 0})},s=_(o=>Object(c.b)(t,()=>{if(o<t.length)return[t[o],o+1];if(o>=t.length){let o;if(null!=n)o=Object(i.i)(n);else{const t=Object(r.o)(e);n=Object(i.f)(t),o=t}if(null==o);else{const e=o;e["System.Collections.IEnumerator.MoveNext"]()?t.push(e["System.Collections.Generic.IEnumerator`1.get_Current"]()):(Object(r.k)(e),n=Object(i.f)(void 0))}}return o<t.length?[t[o],o+1]:void 0}),0),new q(o,s);var o,s}function z(e,t){const n=y(t);try{let t=void 0;for(;null==t&&n["System.Collections.IEnumerator.MoveNext"]();)t=e(n["System.Collections.Generic.IEnumerator`1.get_Current"]());return t}finally{Object(r.k)(n)}}function Y(e,t){const n=z(e,t);return null==n?g():Object(i.i)(n)}function X(e,t){const n=y(t);try{const t=t=>{for(;;){const r=t;if(!n["System.Collections.IEnumerator.MoveNext"]())return r;t=e(r,n["System.Collections.Generic.IEnumerator`1.get_Current"]())}};if(n["System.Collections.IEnumerator.MoveNext"]())return t(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(a)}finally{Object(r.k)(n)}}function J(e){return v(()=>Object(s.q)(S(e)))}function Z(e,t){return w(()=>{const n=y(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(l+"\\nParameter name: source");return $(()=>{},n)}catch(e){throw Object(r.k)(n),e}})}function K(e,t){return T(()=>y(t),(t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return Object(i.f)(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(l+"\\nParameter name: source")}},e=>{Object(r.k)(e)})}function Q(e,t){return v(()=>j(V(e,t)))}},function(e,t,n){"use strict";n.d(t,"h",(function(){return J})),n.d(t,"n",(function(){return Z})),n.d(t,"m",(function(){return K})),n.d(t,"j",(function(){return Q})),n.d(t,"l",(function(){return ee})),n.d(t,"o",(function(){return te})),n.d(t,"k",(function(){return ne})),n.d(t,"i",(function(){return re})),n.d(t,"b",(function(){return oe})),n.d(t,"a",(function(){return ie})),n.d(t,"d",(function(){return ce})),n.d(t,"c",(function(){return se})),n.d(t,"f",(function(){return ue})),n.d(t,"g",(function(){return ae})),n.d(t,"q",(function(){return le})),n.d(t,"r",(function(){return fe})),n.d(t,"e",(function(){return de})),n.d(t,"s",(function(){return he})),n.d(t,"t",(function(){return be})),n.d(t,"p",(function(){return $e}));var r=n(21),o=n(19),i=null;try{i=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(e){}function c(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function s(e){return!0===(e&&e.__isLong__)}c.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},c.prototype.Equals=function(e){return P(this,e)},c.prototype.CompareTo=function(e){return F(this,e)},c.prototype.toString=function(e){return T(this,e)},c.prototype.toJSON=function(){return T(this)},c.prototype[o.d]=function(){const e=this;return{multiply:t=>U(e,t),toPrecision:t=>String(e)+(0).toPrecision(t).substr(1),toExponential:t=>String(e)+(0).toExponential(t).substr(1),toFixed:t=>String(e)+(0).toFixed(t).substr(1),toHex:()=>T(e.unsigned?e:X(Y(e),!0),16)}},c.prototype.__isLong__,Object.defineProperty(c.prototype,"__isLong__",{value:!0});var u={},a={};function l(e,t){var n,r,o;return t?(o=0<=(e>>>=0)&&e<256)&&(r=a[e])?r:(n=d(e,(0|e)<0?-1:0,!0),o&&(a[e]=n),n):(o=-128<=(e|=0)&&e<128)&&(r=u[e])?r:(n=d(e,e<0?-1:0,!1),o&&(u[e]=n),n)}function f(e,t){if(isNaN(e))return t?y:w;if(t){if(e<0)return y;if(e>=m)return x}else{if(e<=-g)return S;if(e+1>=g)return E}return e<0?L(f(-e,t)):d(e%$|0,e/$|0,t)}function d(e,t,n){return new c(e,t,n)}var p=Math.pow;function h(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return w;if("number"==typeof t?(n=t,t=!1):t=!!t,(n=n||10)<2||36<n)throw RangeError("radix");var r=e.indexOf("-");if(r>0)throw Error("interior hyphen");if(0===r)return L(h(e.substring(1),t,n));for(var o=f(p(n,8)),i=w,c=0;c<e.length;c+=8){var s=Math.min(8,e.length-c),u=parseInt(e.substring(c,c+s),n);if(s<8)i=G(U(i,f(p(n,s))),f(u));else i=G(i=U(i,o),f(u))}return i.unsigned=t,i}function b(e,t){return"number"==typeof e?f(e,t):"string"==typeof e?h(e,t):d(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}var $=4294967296,m=$*$,g=m/2,O=l(1<<24),w=l(0),y=l(0,!0),v=l(1),j=l(1,!0),_=l(-1),E=d(-1,2147483647,!1),x=d(-1,-1,!0),S=d(0,-2147483648,!1);function C(e){return e.unsigned?e.low>>>0:e.low}function k(e){return e.unsigned?(e.high>>>0)*$+(e.low>>>0):e.high*$+(e.low>>>0)}function T(e,t){if((t=t||10)<2||36<t)throw RangeError("radix");if(A(e))return"0";if(I(e)){if(P(e,S)){var n=f(t),r=V(e,n),o=B(U(r,n),e);return T(r,t)+C(o).toString(t)}return"-"+T(L(e),t)}for(var i=f(p(t,6),e.unsigned),c=e,s="";;){var u=V(c,i),a=(C(B(c,U(u,i)))>>>0).toString(t);if(A(c=u))return a+s;for(;a.length<6;)a="0"+a;s=""+a+s}}function A(e){return 0===e.high&&0===e.low}function I(e){return!e.unsigned&&e.high<0}function N(e){return 1==(1&e.low)}function P(e,t){return s(t)||(t=b(t)),(e.unsigned===t.unsigned||e.high>>>31!=1||t.high>>>31!=1)&&(e.high===t.high&&e.low===t.low)}function M(e,t){return F(e,t)<0}function D(e,t){return F(e,t)>0}function R(e,t){return F(e,t)>=0}function F(e,t){if(s(t)||(t=b(t)),P(e,t))return 0;var n=I(e),r=I(t);return n&&!r?-1:!n&&r?1:e.unsigned?t.high>>>0>e.high>>>0||t.high===e.high&&t.low>>>0>e.low>>>0?-1:1:I(B(e,t))?-1:1}function L(e){return!e.unsigned&&P(e,S)?S:G(H(e),v)}function G(e,t){s(t)||(t=b(t));var n=e.high>>>16,r=65535&e.high,o=e.low>>>16,i=65535&e.low,c=t.high>>>16,u=65535&t.high,a=t.low>>>16,l=0,f=0,p=0,h=0;return p+=(h+=i+(65535&t.low))>>>16,f+=(p+=o+a)>>>16,l+=(f+=r+u)>>>16,l+=n+c,d((p&=65535)<<16|(h&=65535),(l&=65535)<<16|(f&=65535),e.unsigned)}function B(e,t){return s(t)||(t=b(t)),G(e,L(t))}function U(e,t){if(A(e))return e.unsigned?y:w;if(s(t)||(t=b(t)),i)return d(i.mul(e.low,e.high,t.low,t.high),i.get_high(),e.unsigned);if(A(t))return e.unsigned?y:w;if(P(e,S))return N(t)?S:w;if(P(t,S))return N(e)?S:w;if(I(e))return I(t)?U(L(e),L(t)):L(U(L(e),t));if(I(t))return L(U(e,L(t)));if(M(e,O)&&M(t,O))return f(k(e)*k(t),e.unsigned);var n=e.high>>>16,r=65535&e.high,o=e.low>>>16,c=65535&e.low,u=t.high>>>16,a=65535&t.high,l=t.low>>>16,p=65535&t.low,h=0,$=0,m=0,g=0;return m+=(g+=c*p)>>>16,$+=(m+=o*p)>>>16,m&=65535,$+=(m+=c*l)>>>16,h+=($+=r*p)>>>16,$&=65535,h+=($+=o*l)>>>16,$&=65535,h+=($+=c*a)>>>16,h+=n*p+r*l+o*a+c*u,d((m&=65535)<<16|(g&=65535),(h&=65535)<<16|($&=65535),e.unsigned)}function V(e,t){if(s(t)||(t=b(t)),A(t))throw Error("division by zero");var n,r,o;if(i)return e.unsigned||-2147483648!==e.high||-1!==t.low||-1!==t.high?d((e.unsigned?i.div_u:i.div_s)(e.low,e.high,t.low,t.high),i.get_high(),e.unsigned):e;if(A(e))return e.unsigned?y:w;if(e.unsigned){if(t.unsigned||(t=function(e){return e.unsigned?e:d(e.low,e.high,!0)}(t)),D(t,e))return y;if(D(t,z(e,1)))return j;o=y}else{if(P(e,S))return P(t,v)||P(t,_)?S:P(t,S)?v:P(n=q(V(W(e,1),t),1),w)?I(t)?v:_:o=G(n,V(r=B(e,U(t,n)),t));if(P(t,S))return e.unsigned?y:w;if(I(e))return I(t)?V(L(e),L(t)):L(V(L(e),t));if(I(t))return L(V(e,L(t)));o=w}for(r=e;R(r,t);){n=Math.max(1,Math.floor(k(r)/k(t)));for(var c=Math.ceil(Math.log(n)/Math.LN2),u=c<=48?1:p(2,c-48),a=f(n),l=U(a,t);I(l)||D(l,r);)l=U(a=f(n-=u,e.unsigned),t);A(a)&&(a=v),o=G(o,a),r=B(r,l)}return o}function H(e){return d(~e.low,~e.high,e.unsigned)}function q(e,t){return s(t)&&(t=C(t)),0==(t&=63)?e:t<32?d(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):d(0,e.low<<t-32,e.unsigned)}function W(e,t){return s(t)&&(t=C(t)),0==(t&=63)?e:t<32?d(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):d(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}function z(e,t){if(s(t)&&(t=C(t)),0===(t&=63))return e;var n=e.high;return t<32?d(e.low>>>t|n<<32-t,n>>>t,e.unsigned):d(32===t?n:n>>>t-32,0,e.unsigned)}function Y(e,t){return t?function(e){var t=e.high,n=e.low;return[255&n,n>>>8&255,n>>>16&255,n>>>24,255&t,t>>>8&255,t>>>16&255,t>>>24]}(e):function(e){var t=e.high,n=e.low;return[t>>>24,t>>>16&255,t>>>8&255,255&t,n>>>24,n>>>16&255,n>>>8&255,255&n]}(e)}function X(e,t,n){return n?function(e,t){return new c(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)}(e,t):function(e,t){return new c(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}(e,t)}const J=G,Z=B,K=U,Q=V,ee=function(e,t){return s(t)||(t=b(t)),i?d((e.unsigned?i.rem_u:i.rem_s)(e.low,e.high,t.low,t.high),i.get_high(),e.unsigned):B(e,U(V(e,t),t))},te=L,ne=q,re=function(e,t){return s(t)||(t=b(t)),d(e.low&t.low,e.high&t.high,e.unsigned)},oe=P,ie=F,ce=l,se=d,ue=f,ae=b,le=C,fe=k;function de(e,t,n){let r=e,o=0;switch(n){case 0:r=e<<24>>24,o=r;break;case 4:r=e<<24>>>24;break;case 1:r=e<<16>>16,o=r;break;case 5:r=e<<16>>>16;break;case 2:r=e>>0,o=r;break;case 6:r=e>>>0}return d(r,o>>31,t)}function pe(e,t,n,o,i){const c=Object(r.a)(e,t,i);if(null!=c){const t=(e,t)=>{const n=Math.max(e.length,t.length);return e.padStart(n,"0")<=t.padStart(n,"0")},r="-"===c.sign,o=function(e,t,n){switch(t){case 2:return e?"1111111111111111111111111111111111111111111111111111111111111111":n?"1000000000000000000000000000000000000000000000000000000000000000":"111111111111111111111111111111111111111111111111111111111111111";case 8:return e?"1777777777777777777777":n?"1000000000000000000000":"777777777777777777777";case 10:return e?"18446744073709551615":n?"9223372036854775808":"9223372036854775807";case 16:return e?"FFFFFFFFFFFFFFFF":n?"8000000000000000":"7FFFFFFFFFFFFFFF";default:throw new Error("Invalid radix.")}}(n||10!==c.radix,c.radix,r);if(t(c.digits.toUpperCase(),o))return h(e=r?c.sign+c.digits:c.digits,n,c.radix)}throw new Error("Input string was not in a correct format.")}function he(e,t,n,r,o){try{return o.contents=pe(e,t,n),!0}catch(e){return!1}}function be(e,t){return K(J(J(f(e),621355968e5),t),1e4)}function $e(e){return k(Z(Q(e,1e4),621355968e5))}},function(e,t,n){"use strict";n.d(t,"f",(function(){return i})),n.d(t,"i",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"g",(function(){return a})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p}));var r=n(1);class o{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Object(r.D)(this.value)}Equals(e){return null!=e&&Object(r.n)(this.value,e instanceof o?e.value:e)}CompareTo(e){return null==e?1:Object(r.d)(this.value,e instanceof o?e.value:e)}}function i(e){return null==e||e instanceof o?new o(e):e}function c(e){if(null==e)throw new Error("Option has no value");return e instanceof o?e.value:e}function s(e){return null==e?void 0:e}function u(e){return null==e?null:c(e)}function a(e){return null==e?[]:[c(e)]}function l(e,t){return null!=e?c(e):t}function f(e,t){return null!=e?c(e):t()}function d(e,t){return null!=t?i(e(c(t))):void 0}function p(e,t){return null!=t?e(c(t)):void 0}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"f",(function(){return a})),n.d(t,"g",(function(){return l}));var r=n(8);class o{constructor(e=!1){this._id=0,this._cancelled=e,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,e]of this._listeners)e()}}addListener(e){const t=this._id;return this._listeners.set(this._id++,e),t}removeListener(e){return this._listeners.delete(e)}register(e,t){const n=this,r=this.addListener(null==t?e:()=>e(t));return{Dispose(){n.removeListener(r)}}}}class i extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,i.prototype)}}class c{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>c.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function s(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new i);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(e){t.onError(Object(r.e)(e))}});else try{e(t)}catch(e){t.onError(Object(r.e)(e))}}}function u(e,t){return s(n=>{e({onSuccess:e=>{try{t(e)(n)}catch(e){n.onError(Object(r.e)(e))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function a(e){return s(t=>t.onSuccess(e))}const l=new class{Bind(e,t){return u(e,t)}Combine(e,t){return this.Bind(e,()=>t)}Delay(e){return s(t=>e()(t))}For(e,t){const n=e[Symbol.iterator]();let r=n.next();return this.While(()=>!r.done,this.Delay(()=>{const e=t(r.value);return r=n.next(),e}))}Return(e){return a(e)}ReturnFrom(e){return e}TryFinally(e,t){return s(n=>{e({onSuccess:e=>{t(),n.onSuccess(e)},onError:e=>{t(),n.onError(e)},onCancel:e=>{t(),n.onCancel(e)},cancelToken:n.cancelToken,trampoline:n.trampoline})})}TryWith(e,t){return s(n=>{e({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:e=>{try{t(e)(n)}catch(e){n.onError(Object(r.e)(e))}}})})}Using(e,t){return this.TryFinally(t(e),()=>e.Dispose())}While(e,t){return e()?this.Bind(t,()=>this.While(e,t)):this.Return(void 0)}Zero(){return s(e=>e.onSuccess(void 0))}}},function(e,t,n){"use strict";n.d(t,"f",(function(){return o})),n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return f})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"e",(function(){return h}));var r=n(1);function o(e,t=0){var n,r;if(null!=e&&"object"==typeof e){if("function"==typeof e.toString)return e.toString();if(Symbol.iterator in e)return function(e){let t=0,n="[";for(const r of e){if(0===t)n+=o(r);else{if(100===t){n+="; ...";break}n+="; "+o(r)}t++}return n+"]"}(e);{const i=null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor;return i===Object&&t<10?"{ "+Object.entries(e).map(([e,n])=>e+" = "+o(n,t+1)).join("\n ")+" }":null!==(r=null==i?void 0:i.name)&&void 0!==r?r:""}}return String(e)}class i{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){return function(e,t){if(0===t.length)return e;{let n="",r=!0;return 1===t.length?(n=o(t[0]),r=n.indexOf(" ")>=0):n=t.map(e=>o(e)).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map(e=>Object(r.D)(e));return e.splice(0,0,Object(r.v)(this.tag)),Object(r.c)(e)}Equals(e){return this===e||!!Object(r.B)(this,e)&&(this.tag===e.tag&&Object(r.l)(this.fields,e.fields))}CompareTo(e){return this===e?0:Object(r.B)(this,e)?this.tag===e.tag?Object(r.e)(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}function c(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function s(e){return"{ "+Object.entries(e).map(([e,t])=>e+" = "+o(t)).join("\n ")+" }"}function u(e){const t=Object.values(e).map(e=>Object(r.D)(e));return Object(r.c)(t)}function a(e,t){if(e===t)return!0;if(Object(r.B)(e,t)){const n=Object.keys(e);for(let o=0;o<n.length;o++)if(!Object(r.n)(e[n[o]],t[n[o]]))return!1;return!0}return!1}function l(e,t){if(e===t)return 0;if(Object(r.B)(e,t)){const n=Object.keys(e);for(let o=0;o<n.length;o++){const i=Object(r.d)(e[n[o]],t[n[o]]);if(0!==i)return i}return 0}return-1}class f{toJSON(){return c(this)}toString(){return s(this)}GetHashCode(){return u(this)}Equals(e){return a(this,e)}CompareTo(e){return l(this,e)}}class d{constructor(e,t){"function"==typeof t?(this.getter=e,this.setter=t):(this.getter=()=>e,this.setter=t=>{e=t})}get contents(){return this.getter()}set contents(e){this.setter(e)}}class p{constructor(e){this.message=e}}function h(e){return(t=e)instanceof p||t instanceof Error?e:new Error(String(e));var t}},function(e,t,n){"use strict";n.r(t),n.d(t,"useState",(function(){return $})),n.d(t,"useReducer",(function(){return m})),n.d(t,"useEffect",(function(){return g})),n.d(t,"useLayoutEffect",(function(){return O})),n.d(t,"useRef",(function(){return w})),n.d(t,"useImperativeHandle",(function(){return y})),n.d(t,"useMemo",(function(){return v})),n.d(t,"useCallback",(function(){return j})),n.d(t,"useContext",(function(){return _})),n.d(t,"useDebugValue",(function(){return E})),n.d(t,"useErrorBoundary",(function(){return x})),n.d(t,"createElement",(function(){return s.e})),n.d(t,"createContext",(function(){return s.d})),n.d(t,"createRef",(function(){return s.f})),n.d(t,"Fragment",(function(){return s.b})),n.d(t,"Component",(function(){return s.a})),n.d(t,"version",(function(){return pe})),n.d(t,"Children",(function(){return B})),n.d(t,"render",(function(){return ne})),n.d(t,"hydrate",(function(){return re})),n.d(t,"unmountComponentAtNode",(function(){return me})),n.d(t,"createPortal",(function(){return Z})),n.d(t,"createFactory",(function(){return he})),n.d(t,"cloneElement",(function(){return $e})),n.d(t,"isValidElement",(function(){return be})),n.d(t,"findDOMNode",(function(){return ge})),n.d(t,"PureComponent",(function(){return M})),n.d(t,"memo",(function(){return D})),n.d(t,"forwardRef",(function(){return L})),n.d(t,"flushSync",(function(){return we})),n.d(t,"unstable_batchedUpdates",(function(){return Oe})),n.d(t,"StrictMode",(function(){return ye})),n.d(t,"Suspense",(function(){return H})),n.d(t,"SuspenseList",(function(){return z})),n.d(t,"lazy",(function(){return W})),n.d(t,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",(function(){return de}));var r,o,i,c,s=n(13),u=0,a=[],l=s.i.__b,f=s.i.__r,d=s.i.diffed,p=s.i.__c,h=s.i.unmount;function b(e,t){s.i.__h&&s.i.__h(o,e,u||t),u=0;var n=o.__H||(o.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function $(e){return u=1,m(I,e)}function m(e,t,n){var i=b(r++,2);return i.t=e,i.__c||(i.__=[n?n(t):I(void 0,t),function(e){var t=i.t(i.__[0],e);i.__[0]!==t&&(i.__=[t,i.__[1]],i.__c.setState({}))}],i.__c=o),i.__}function g(e,t){var n=b(r++,3);!s.i.__s&&A(n.__H,t)&&(n.__=e,n.u=t,o.__H.__h.push(n))}function O(e,t){var n=b(r++,4);!s.i.__s&&A(n.__H,t)&&(n.__=e,n.u=t,o.__h.push(n))}function w(e){return u=5,v((function(){return{current:e}}),[])}function y(e,t,n){u=6,O((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function v(e,t){var n=b(r++,7);return A(n.__H,t)?(n.o=e(),n.u=t,n.__h=e,n.o):n.__}function j(e,t){return u=8,v((function(){return e}),t)}function _(e){var t=o.context[e.__c],n=b(r++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(o)),t.props.value):e.__}function E(e,t){s.i.useDebugValue&&s.i.useDebugValue(t?t(e):e)}function x(e){var t=b(r++,10),n=$();return t.__=e,o.componentDidCatch||(o.componentDidCatch=function(e){t.__&&t.__(e),n[1](e)}),[n[0],function(){n[1](void 0)}]}function S(){for(var e;e=a.shift();)if(e.__P)try{e.__H.__h.forEach(k),e.__H.__h.forEach(T),e.__H.__h=[]}catch(t){e.__H.__h=[],s.i.__e(t,e.__v)}}s.i.__b=function(e){o=null,l&&l(e)},s.i.__r=function(e){f&&f(e),r=0;var t=(o=e.__c).__H;t&&(i===o?(t.__h=[],o.__h=[],t.__.forEach((function(e){e.o=e.u=void 0}))):(t.__.forEach((function(e){e.u&&(e.__H=e.u),e.o&&(e.__=e.o),e.o=e.u=void 0})),t.__h.forEach(k),t.__h.forEach(T),t.__h=[])),i=o},s.i.diffed=function(e){d&&d(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==a.push(t)&&c===s.i.requestAnimationFrame||((c=s.i.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),C&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);C&&(t=requestAnimationFrame(n))})(S)),o=null,i=null},s.i.__c=function(e,t){t.some((function(e){try{e.__H&&e.__H.__.forEach((function(e){e.u&&(e.__H=e.u),e.o&&(e.__=e.o),e.o=e.u=void 0})),e.__h.forEach(k),e.__h=e.__h.filter((function(e){return!e.__||T(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],s.i.__e(n,e.__v)}})),p&&p(e,t)},s.i.unmount=function(e){h&&h(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{k(e)}catch(e){t=e}})),t&&s.i.__e(t,n.__v))};var C="function"==typeof requestAnimationFrame;function k(e){var t=o,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),o=t}function T(e){var t=o;e.__c=e.__(),o=t}function A(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function I(e,t){return"function"==typeof t?t(e):t}function N(e,t){for(var n in t)e[n]=t[n];return e}function P(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function M(e){this.props=e}function D(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:P(this.props,e)}function r(t){return this.shouldComponentUpdate=n,Object(s.e)(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(M.prototype=new s.a).isPureReactComponent=!0,M.prototype.shouldComponentUpdate=function(e,t){return P(this.props,e)||P(this.state,t)};var R=s.i.__b;s.i.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),R&&R(e)};var F="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function L(e){function t(t){var n=N({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=F,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var G=function(e,t){return null==e?null:Object(s.k)(Object(s.k)(e).map(t))},B={map:G,forEach:G,count:function(e){return e?Object(s.k)(e).length:0},only:function(e){var t=Object(s.k)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:s.k},U=s.i.__e;s.i.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);U(e,t,n,r)};var V=s.i.unmount;function H(){this.__u=0,this.t=null,this.__b=null}function q(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function W(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return Object(s.e)(n,o)}return o.displayName="Lazy",o.__f=!0,o}function z(){this.u=null,this.o=null}s.i.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),V&&V(e)},(H.prototype=new s.a).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=q(r.__v),i=!1,c=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=c;var s=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},u=!0===t.__h;r.__u++||u||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(c,c)},H.prototype.componentWillUnmount=function(){this.t=[]},H.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=N({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__e&&Object(s.e)(s.b,null,e.fallback);return o&&(o.__h=null),[Object(s.e)(s.b,null,t.__e?null:e.children),o]};var Y=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function X(e){return this.getChildContext=function(){return e.context},e.children}function J(e){var t=this,n=e.i;t.componentWillUnmount=function(){Object(s.j)(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),Object(s.j)(Object(s.e)(X,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function Z(e,t){var n=Object(s.e)(J,{__v:e,i:t});return n.containerInfo=t,n}(z.prototype=new s.a).__e=function(e){var t=this,n=q(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Y(t,e,r)):o()};n?n(i):i()}},z.prototype.render=function(e){this.u=null,this.o=new Map;var t=Object(s.k)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},z.prototype.componentDidUpdate=z.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Y(e,n,t)}))};var K="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Q=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,ee="undefined"!=typeof document,te=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function ne(e,t,n){return null==t.__k&&(t.textContent=""),Object(s.j)(e,t),"function"==typeof n&&n(),e?e.__c:null}function re(e,t,n){return Object(s.h)(e,t),"function"==typeof n&&n(),e?e.__c:null}s.a.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(s.a.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var oe=s.i.event;function ie(){}function ce(){return this.cancelBubble}function se(){return this.defaultPrevented}s.i.event=function(e){return oe&&(e=oe(e)),e.persist=ie,e.isPropagationStopped=ce,e.isDefaultPrevented=se,e.nativeEvent=e};var ue,ae={configurable:!0,get:function(){return this.class}},le=s.i.vnode;s.i.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in r={},n){var c=n[i];ee&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in n&&null==c||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===c?c="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!te(n.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&Q.test(i)?i=i.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===c&&(c=void 0),/^oninput/i.test(i)&&(i=i.toLowerCase(),r[i]&&(i="oninputCapture")),r[i]=c)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=Object(s.k)(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=Object(s.k)(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(ae.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",ae))}e.$$typeof=K,le&&le(e)};var fe=s.i.__r;s.i.__r=function(e){fe&&fe(e),ue=e.__c};var de={ReactCurrentDispatcher:{current:{readContext:function(e){return ue.__n[e.__c].props.value}}}},pe="17.0.2";function he(e){return s.e.bind(null,e)}function be(e){return!!e&&e.$$typeof===K}function $e(e){return be(e)?s.c.apply(null,arguments):e}function me(e){return!!e.__k&&(Object(s.j)(null,e),!0)}function ge(e){return e&&(e.base||1===e.nodeType&&e)||null}var Oe=function(e,t){return e(t)},we=function(e,t){return e(t)},ye=s.b;t.default={useState:$,useReducer:m,useEffect:g,useLayoutEffect:O,useRef:w,useImperativeHandle:y,useMemo:v,useCallback:j,useContext:_,useDebugValue:E,version:"17.0.2",Children:B,render:ne,hydrate:re,unmountComponentAtNode:me,createPortal:Z,createElement:s.e,createContext:s.d,createFactory:he,cloneElement:$e,createRef:s.f,Fragment:s.b,isValidElement:be,findDOMNode:ge,Component:s.a,PureComponent:M,memo:D,forwardRef:L,flushSync:we,unstable_batchedUpdates:Oe,StrictMode:s.b,Suspense:H,SuspenseList:z,lazy:W,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:de}},function(e,t,n){"use strict";n.d(t,"f",(function(){return s})),n.d(t,"k",(function(){return u})),n.d(t,"l",(function(){return a})),n.d(t,"m",(function(){return l})),n.d(t,"n",(function(){return f})),n.d(t,"c",(function(){return d})),n.d(t,"s",(function(){return p})),n.d(t,"j",(function(){return h})),n.d(t,"o",(function(){return b})),n.d(t,"d",(function(){return $})),n.d(t,"q",(function(){return m})),n.d(t,"r",(function(){return g})),n.d(t,"w",(function(){return O})),n.d(t,"x",(function(){return w})),n.d(t,"y",(function(){return y})),n.d(t,"a",(function(){return v})),n.d(t,"g",(function(){return j})),n.d(t,"p",(function(){return E})),n.d(t,"b",(function(){return x})),n.d(t,"e",(function(){return S})),n.d(t,"z",(function(){return C})),n.d(t,"A",(function(){return k})),n.d(t,"h",(function(){return T})),n.d(t,"i",(function(){return A})),n.d(t,"u",(function(){return I})),n.d(t,"B",(function(){return N})),n.d(t,"t",(function(){return P})),n.d(t,"v",(function(){return M}));var r=n(6),o=n(1);n(17);function i(e,t){return"function"==typeof e?new e(t):new Array(t)}function c(){throw new Error("Arrays had different lengths")}function s(e,t,n,r){const o=0|t;return e.fill(r,o,o+n)}function u(e,t,n){const r=0|t.length,o=i(n,r);for(let n=0;n<=r-1;n++)o[n]=e(t[n]);return o}function a(e,t,n,r){if(t.length!==n.length)throw new Error("Arrays had different lengths");const o=i(r,t.length);for(let r=0;r<=t.length-1;r++)o[r]=e(t[r],n[r]);return o}function l(e,t,n,r){const o=0|n.length;if(0===o)return[[],t];{let c=t;const s=i(r,o);for(let t=0;t<=n.length-1;t++){const r=e(c,n[t]);s[t]=r[0],c=r[1]}return[s,c]}}function f(e,t,n,r){const o=0|t.length;if(0===o)return[[],n];{let c=n;const s=i(r,o);for(let n=t.length-1;n>=0;n--){const r=e(t[n],c);s[n]=r[0],c=r[1]}return[s,c]}}function d(e,t,n){return(r=>{for(;;){const o=r;if(o>=t.length)return!1;if(n.Equals(e,t[o]))return!0;r=o+1}})(0)}function p(e,t){const n=i(t,1);return n[0]=e,n}function h(e,t,n){if(e<0)throw new Error("The input must be non-negative\\nParameter name: count");const r=i(n,e);for(let n=0;n<=e-1;n++)r[n]=t(n);return r}function b(e){if(e.length<2)return[];{const t=e.length-1|0,n=new Array(t);for(let r=0;r<=t-1;r++)n[r]=[e[r],e[r+1]];return n}}function $(e){return e.slice()}function m(e){return e.slice().reverse()}function g(e,t,n,r){const o=i(r,t.length+1);o[t.length]=n;for(let n=t.length-1;n>=0;n--)o[n]=e(t[n],o[n+1]);return o}function O(e,t){return t.find(e)}function w(e,t){return(n=>{for(;;){const o=n;if(o<0)return;if(e(t[o]))return Object(r.f)(t[o]);n=o-1}})(t.length-1)}function y(e,t){return(n=>{for(;;){const r=n;if(r<0)return;if(e(t[r]))return r;n=r-1}})(t.length-1)}function v(e,t,n){const o=[];for(let n=0;n<=t.length-1;n++){const i=e(t[n]);if(null!=i){const e=Object(r.i)(i);o.push(e)}}return"function"==typeof n?u(e=>e,o,n):o}function j(e,t,n){return n.reduce(e,t)}function _(e,t){for(let n=0;n<=t.length-1;n++)e(n,t[n])}function E(e,t){const n=0|t.length,r=t.slice(),o=new Array(n);if(_((t,i)=>{const c=0|e(t);if(c<0||c>=n)throw new Error("Not a valid permutation");r[c]=i,o[c]=1},t),!o.every(e=>1===e))throw new Error("Not a valid permutation");return r}function x(e,t){if(e<1)throw new Error("The input must be positive.\\nParameter name: size");if(0===t.length)return[[]];{const n=[];for(let r=0;r<=~~Math.ceil(t.length/e)-1;r++){let o;const i=r*e|0;o=t.slice(i,i+e),n.push(o)}return n}}function S(e,t,n){if(null==t)return null==n;if(null==n)return!1;{let r=0,o=!0;const i=0|t.length,c=0|n.length;if(i>c)return!1;if(i<c)return!1;for(;r<i&&o;)o=e(t[r],n[r]),r=r+1|0;return o}}function C(e){return 0===e.length?void 0:Object(r.f)(e[0])}function k(e,t){return e<0||e>=t.length?void 0:Object(r.f)(t[e])}function T(e,t,n){return t.reduceRight((t,n)=>e(n,t),n)}function A(e,t,n,r){return function(e,t,n,r){let o=r;t.length!==n.length&&c();const i=0|t.length;for(let r=1;r<=i;r++)o=e(r-1,t[i-r],n[i-r],o);return o}((t,n,r,o)=>e(n,r,o),t,n,r)}function I(e,t){let n=t.GetZero();for(let r=0;r<=e.length-1;r++)n=t.Add(n,e[r]);return n}function N(e,t){if(e<=0)throw new Error("windowSize must be positive");let n;const r=0|Object(o.t)(o.g,0,t.length-e+1);n=new Array(r);for(let r=e;r<=t.length;r++)n[r-e]=t.slice(r-e,r-1+1);return n}function P(e,t){if(e<1)throw new Error("The input must be positive.\\nParameter name: chunks");if(0===t.length)return[[]];{const n=[],r=0|Object(o.u)(o.g,e,t.length),i=0|~~(t.length/r),c=t.length%r|0;for(let e=0;e<=r-1;e++){const r=0|(e<c?i+1:i);let s;const u=e*i+Object(o.u)(o.g,c,e)|0;s=t.slice(u,u+r),n.push(s)}return n}}function M(e,t){const n=Array.isArray(e)?e:Array.from(e),r=0|n.length;if(0===r)return new Array(0);{const e=0|n[0].length;o=t=>t.length===e,n.every(o)||c();const s=new Array(e);for(let o=0;o<=e-1;o++){s[o]=i(t,r);for(let e=0;e<=r-1;e++)s[o][e]=n[e][o]}return s}var o}},function(e,t,n){"use strict";n.d(t,"g",(function(){return l})),n.d(t,"k",(function(){return d})),n.d(t,"j",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"a",(function(){return $})),n.d(t,"d",(function(){return m})),n.d(t,"e",(function(){return g})),n.d(t,"f",(function(){return O})),n.d(t,"h",(function(){return y})),n.d(t,"l",(function(){return v})),n.d(t,"m",(function(){return j})),n.d(t,"b",(function(){return _})),n.d(t,"i",(function(){return E}));var r=n(20),o=n(19),i=n(24),c=n(8);const s=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,u=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function a(e,t){return Object(o.a)(e,t)<0}function l(e){return{input:e,cont:(t=e,e=>{s.lastIndex=0;const n=[],r=[];let o=0,i=s.exec(t);for(;i;){const e=i.index+(i[1]||"").length;n.push(t.substring(o,e).replace(/%%/g,"%")),r.push(i),o=s.lastIndex,s.lastIndex-=1,i=s.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),function e(t,n,r,o="",i=-1){return(...c)=>{let s=o;const u=n.slice(),a=r.slice();for(const e of c){const[,,t,n,r,o]=a[0];let c=n;if(i>=0)c=i,i=-1;else if("*"===c){if(e<0)throw new Error("Non-negative number required");i=e;continue}s+=u[0],s+=h(e,t,c,r,o),u.splice(0,1),a.splice(0,1)}return 0===a.length?(s+=u[0],t(s)):e(t,u,a,s,i)}}(e,n,r))})};var t}function f(e,t){return"string"==typeof t?e(t):t.cont(e)}function d(e){return f(e=>e,e)}function p(e){return f(e=>{throw new Error(e)},e)}function h(e,t,n,i,s){let u="";if(t=t||"",s=s||"",Object(o.b)(e))switch("x"!==s.toLowerCase()&&(a(e,0)?(e=Object(o.c)(e,-1),u="-"):t.indexOf(" ")>=0?u=" ":t.indexOf("+")>=0&&(u="+")),i=null==i?null:parseInt(i,10),s){case"f":case"F":i=null!=i?i:6,e=Object(o.f)(e,i);break;case"g":case"G":e=null!=i?Object(o.h)(e,i):Object(o.h)(e);break;case"e":case"E":e=null!=i?Object(o.e)(e,i):Object(o.e)(e);break;case"x":e=Object(o.g)(e);break;case"X":e=Object(o.g)(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?Object(r.f)(e):Object(c.f)(e);if(n="number"==typeof n?n:parseInt(n,10),isNaN(n))e=u+e;else{const r=t.indexOf("0")>=0,o=t.indexOf("-")>=0,i=o||!r?" ":"0";e="0"===i?u+(e=w(e,n-u.length,i,o)):w(u+e,n,i,o)}return e}function b(e,...t){return"object"==typeof e&&t.length>0&&(e=t[0],t.shift()),e.replace(u,(e,n,i,s,u,l)=>{if(n<0||n>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let f=t[n];if(Object(o.b)(f))switch(u=null==u?null:parseInt(u,10),s){case"f":case"F":u=null!=u?u:2,f=Object(o.f)(f,u);break;case"g":case"G":f=null!=u?Object(o.h)(f,u):Object(o.h)(f);break;case"e":case"E":f=null!=u?Object(o.e)(f,u):Object(o.e)(f);break;case"p":case"P":u=null!=u?u:2,f=Object(o.f)(Object(o.c)(f,100),u)+" %";break;case"d":case"D":f=null!=u?w(String(f),u,"0"):String(f);break;case"x":case"X":f=null!=u?w(Object(o.g)(f),u,"0"):Object(o.g)(f),"X"===s&&(f=f.toUpperCase());break;default:if(l){let e="";f=l.replace(/([0#,]+)(\.[0#]+)?/,(t,n,r)=>{a(f,0)&&(f=Object(o.c)(f,-1),e="-");const i=null!=r?r.length:0;if(f=Object(o.f)(f,Math.max(i-1,0)),n.indexOf(",")>0){const[e,t]=f.split("."),n=e.length%3,r=Math.floor(e.length/3);let o=n>0?e.substr(0,n)+(r>0?",":""):"";for(let t=0;t<r;t++)o+=e.substr(n+3*t,3)+(t<r-1?",":"");f=t?o+"."+t:o}const c=(n=n.replace(/,/g,"")).length>0&&"0"===n[0]?n.length:0;return w(f,c-e.length+i,"0")}),f=e+f}}else f=f instanceof Date?Object(r.f)(f,l||s):Object(c.f)(f);return i=parseInt((i||" ").substring(1),10),isNaN(i)||(f=w(String(f),Math.abs(i)," ",i<0)),f})}function $(e,t){const n=e.lastIndexOf(t);return n>=0&&n===e.length-t.length}function m(e){return"string"!=typeof e||0===e.length}function g(e){return"string"!=typeof e||/^\s*$/.test(e)}function O(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function w(e,t,n,r){n=n||" ",t-=e.length;for(let o=0;o<t;o++)e=r?e+n:n+e;return e}function y(e,t,n,r){if(r="number"==typeof r?r:0,(n="number"==typeof n?n:void 0)&&n<0)throw new Error("Count cannot be less than zero");if(0===n)return[];const o=1==(1&r),c=2==(2&r);t=(t=(t=t||[]).filter(e=>e).map(i.a)).length>0?t:["\\s"];const s=[],u=new RegExp(t.join("|"),"g");let a=!0,l=0;do{const t=u.exec(e);if(null===t){const t=c?e.substring(l).trim():e.substring(l);(!o||t.length>0)&&s.push(t),a=!1}else{const r=c?e.substring(l,t.index).trim():e.substring(l,t.index);(!o||r.length>0)&&(null!=n&&s.length+1===n?(s.push(c?e.substring(l).trim():e.substring(l)),a=!1):s.push(r)),l=u.lastIndex}}while(a);return s}function v(e,...t){if(0===t.length)return e.trim();const n="["+Object(i.a)(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}function j(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+Object(i.a)(t.join(""))+"]+$"),"")}function _(e,t){return t.split("").filter(t=>e(t)).join("")}function E(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=n?e.substr(t,n):e.substr(t)}},function(e,t,n){e.exports=n(42)()},function(e,t,n){"use strict";n.d(t,"j",(function(){return F})),n.d(t,"h",(function(){return L})),n.d(t,"e",(function(){return b})),n.d(t,"g",(function(){return b})),n.d(t,"b",(function(){return g})),n.d(t,"f",(function(){return m})),n.d(t,"a",(function(){return O})),n.d(t,"c",(function(){return G})),n.d(t,"d",(function(){return B})),n.d(t,"k",(function(){return x})),n.d(t,"i",(function(){return o}));var r,o,i,c,s,u,a,l={},f=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function p(e,t){for(var n in t)e[n]=t[n];return e}function h(e){var t=e.parentNode;t&&t.removeChild(e)}function b(e,t,n){var o,i,c,s={};for(c in t)"key"==c?o=t[c]:"ref"==c?i=t[c]:s[c]=t[c];if(arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(c in e.defaultProps)void 0===s[c]&&(s[c]=e.defaultProps[c]);return $(e,s,o,i,null)}function $(e,t,n,r,c){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==c?++i:c};return null==c&&null!=o.vnode&&o.vnode(s),s}function m(){return{current:null}}function g(e){return e.children}function O(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?w(e):null}function y(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return y(e)}}function v(e){(!e.__d&&(e.__d=!0)&&c.push(e)&&!j.__r++||u!==o.debounceRendering)&&((u=o.debounceRendering)||s)(j)}function j(){for(var e;j.__r=c.length;)e=c.sort((function(e,t){return e.__v.__b-t.__v.__b})),c=[],e.some((function(e){var t,n,r,o,i,c;e.__d&&(i=(o=(t=e).__v).__e,(c=t.__P)&&(n=[],(r=p({},o)).__v=o.__v+1,I(c,o,r,t.__n,void 0!==c.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?w(o):i,o.__h),N(n,o),o.__e!=i&&y(o)))}))}function _(e,t,n,r,o,i,c,s,u,a){var d,p,h,b,m,O,y,v=r&&r.__k||f,j=v.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(b=n.__k[d]=null==(b=t[d])||"boolean"==typeof b?null:"string"==typeof b||"number"==typeof b||"bigint"==typeof b?$(null,b,null,null,b):Array.isArray(b)?$(g,{children:b},null,null,null):b.__b>0?$(b.type,b.props,b.key,null,b.__v):b)){if(b.__=n,b.__b=n.__b+1,null===(h=v[d])||h&&b.key==h.key&&b.type===h.type)v[d]=void 0;else for(p=0;p<j;p++){if((h=v[p])&&b.key==h.key&&b.type===h.type){v[p]=void 0;break}h=null}I(e,b,h=h||l,o,i,c,s,u,a),m=b.__e,(p=b.ref)&&h.ref!=p&&(y||(y=[]),h.ref&&y.push(h.ref,null,b),y.push(p,b.__c||m,b)),null!=m?(null==O&&(O=m),"function"==typeof b.type&&b.__k===h.__k?b.__d=u=E(b,u,e):u=S(e,b,h,v,m,u),"function"==typeof n.type&&(n.__d=u)):u&&h.__e==u&&u.parentNode!=e&&(u=w(h))}for(n.__e=O,d=j;d--;)null!=v[d]&&("function"==typeof n.type&&null!=v[d].__e&&v[d].__e==n.__d&&(n.__d=w(r,d+1)),D(v[d],v[d]));if(y)for(d=0;d<y.length;d++)M(y[d],y[++d],y[++d])}function E(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?E(r,t,n):S(n,r,r,o,r.__e,t));return t}function x(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){x(e,t)})):t.push(e)),t}function S(e,t,n,r,o,i){var c,s,u;if(void 0!==t.__d)c=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),c=null;else{for(s=i,u=0;(s=s.nextSibling)&&u<r.length;u+=2)if(s==o)break e;e.insertBefore(o,i),c=i}return void 0!==c?c:o.nextSibling}function C(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||d.test(t)?n:n+"px"}function k(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||C(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||C(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?A:T,i):e.removeEventListener(t,i?A:T,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function T(e){this.l[e.type+!1](o.event?o.event(e):e)}function A(e){this.l[e.type+!0](o.event?o.event(e):e)}function I(e,t,n,r,i,c,s,u,a){var l,f,d,h,b,$,m,w,y,v,j,E,x,S=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(a=n.__h,u=t.__e=n.__e,t.__h=null,c=[u]),(l=o.__b)&&l(t);try{e:if("function"==typeof S){if(w=t.props,y=(l=S.contextType)&&r[l.__c],v=l?y?y.props.value:l.__:r,n.__c?m=(f=t.__c=n.__c).__=f.__E:("prototype"in S&&S.prototype.render?t.__c=f=new S(w,v):(t.__c=f=new O(w,v),f.constructor=S,f.render=R),y&&y.sub(f),f.props=w,f.state||(f.state={}),f.context=v,f.__n=r,d=f.__d=!0,f.__h=[]),null==f.__s&&(f.__s=f.state),null!=S.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=p({},f.__s)),p(f.__s,S.getDerivedStateFromProps(w,f.__s))),h=f.props,b=f.state,d)null==S.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==S.getDerivedStateFromProps&&w!==h&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(w,v),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(w,f.__s,v)||t.__v===n.__v){f.props=w,f.state=f.__s,t.__v!==n.__v&&(f.__d=!1),f.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),f.__h.length&&s.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(w,f.__s,v),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(h,b,$)}))}if(f.context=v,f.props=w,f.__v=t,f.__P=e,j=o.__r,E=0,"prototype"in S&&S.prototype.render)f.state=f.__s,f.__d=!1,j&&j(t),l=f.render(f.props,f.state,f.context);else do{f.__d=!1,j&&j(t),l=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++E<25);f.state=f.__s,null!=f.getChildContext&&(r=p(p({},r),f.getChildContext())),d||null==f.getSnapshotBeforeUpdate||($=f.getSnapshotBeforeUpdate(h,b)),x=null!=l&&l.type===g&&null==l.key?l.props.children:l,_(e,Array.isArray(x)?x:[x],t,n,r,i,c,s,u,a),f.base=t.__e,t.__h=null,f.__h.length&&s.push(f),m&&(f.__E=f.__=null),f.__e=!1}else null==c&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=P(n.__e,t,n,r,i,c,s,a);(l=o.diffed)&&l(t)}catch(e){t.__v=null,(a||null!=c)&&(t.__e=u,t.__h=!!a,c[c.indexOf(u)]=null),o.__e(e,t,n)}}function N(e,t){o.__c&&o.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){o.__e(e,t.__v)}}))}function P(e,t,n,o,i,c,s,u){var a,f,d,p=n.props,b=t.props,$=t.type,m=0;if("svg"===$&&(i=!0),null!=c)for(;m<c.length;m++)if((a=c[m])&&"setAttribute"in a==!!$&&($?a.localName===$:3===a.nodeType)){e=a,c[m]=null;break}if(null==e){if(null===$)return document.createTextNode(b);e=i?document.createElementNS("http://www.w3.org/2000/svg",$):document.createElement($,b.is&&b),c=null,u=!1}if(null===$)p===b||u&&e.data===b||(e.data=b);else{if(c=c&&r.call(e.childNodes),f=(p=n.props||l).dangerouslySetInnerHTML,d=b.dangerouslySetInnerHTML,!u){if(null!=c)for(p={},m=0;m<e.attributes.length;m++)p[e.attributes[m].name]=e.attributes[m].value;(d||f)&&(d&&(f&&d.__html==f.__html||d.__html===e.innerHTML)||(e.innerHTML=d&&d.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||k(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||k(e,i,t[i],n[i],r)}(e,b,p,i,u),d)t.__k=[];else if(m=t.props.children,_(e,Array.isArray(m)?m:[m],t,n,o,i&&"foreignObject"!==$,c,s,c?c[0]:n.__k&&w(n,0),u),null!=c)for(m=c.length;m--;)null!=c[m]&&h(c[m]);u||("value"in b&&void 0!==(m=b.value)&&(m!==e.value||"progress"===$&&!m||"option"===$&&m!==p.value)&&k(e,"value",m,p.value,!1),"checked"in b&&void 0!==(m=b.checked)&&m!==e.checked&&k(e,"checked",m,p.checked,!1))}return e}function M(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){o.__e(e,n)}}function D(e,t,n){var r,i;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||M(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&D(r[i],t,"function"!=typeof e.type);n||null==e.__e||h(e.__e),e.__e=e.__d=void 0}function R(e,t,n){return this.constructor(e,n)}function F(e,t,n){var i,c,s;o.__&&o.__(e,t),c=(i="function"==typeof n)?null:n&&n.__k||t.__k,s=[],I(t,e=(!i&&n||t).__k=b(g,null,[e]),c||l,l,void 0!==t.ownerSVGElement,!i&&n?[n]:c?null:t.firstChild?r.call(t.childNodes):null,s,!i&&n?n:c?c.__e:t.firstChild,i),N(s,e)}function L(e,t){F(e,t,L)}function G(e,t,n){var o,i,c,s=p({},e.props);for(c in t)"key"==c?o=t[c]:"ref"==c?i=t[c]:s[c]=t[c];return arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),$(e.type,s,o||e.key,i||e.ref,null)}function B(e,t){var n={__c:t="__cC"+a++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(v)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r=f.slice,o={__e:function(e,t,n,r){for(var o,i,c;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),c=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),c=o.__d),c)return o.__E=o}catch(t){e=t}throw e}},i=0,O.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=p({},this.state),"function"==typeof e&&(e=e(p({},n),this.props)),e&&p(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),v(this))},O.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),v(this))},O.prototype.render=g,c=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,j.__r=0,a=0},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=n(9).default},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"k",(function(){return h})),n.d(t,"j",(function(){return b})),n.d(t,"g",(function(){return $})),n.d(t,"h",(function(){return m})),n.d(t,"i",(function(){return g})),n.d(t,"f",(function(){return O})),n.d(t,"m",(function(){return w})),n.d(t,"l",(function(){return y})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return j})),n.d(t,"c",(function(){return _})),n.d(t,"d",(function(){return E}));var r=n(9);n(0);var o=n(4),i=n(6),c=n(14),s=n(1);const u=e=>{Object(r.useEffect)(()=>{const t=e();return()=>{t.Dispose()}})},a=(e,t)=>{Object(r.useEffect)(()=>{const t=e();return()=>{t.Dispose()}},t)},l=e=>{Object(r.useLayoutEffect)(()=>{const t=e();return()=>{t.Dispose()}})};function f(e,t,n,r){const u=c.a.memo(e,Object(s.F)(2,Object(i.b)(Object(s.i)(2,n),null)));return Object(o.o)(t=>{e.displayName=t},Object(i.g)(t)),e=>{const t=d(r,e);return c.a.createElement(u,t)}}function d(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}function p(e){return{Dispose(){e()}}}function h(e){u(e)}function b(e,t){a(e,t)}function $(e){b(e,[])}function m(e){u(t=>(e(),p(()=>{})))}function g(e,t){a(t=>(e(),p(()=>{})),t)}function O(e,t){const n=Object(i.b)(t,[]);return c.a.useCallback(e,n)}function w(e){return c.a.useRef(e)}function y(e,t){const n=Object(i.b)(t,[]);return c.a.useMemo(e,n)}function v(e,t,n){return f(e,void 0,n,t)}function j(e){const t=w(e),n=O(e=>t.current(e),[]);var r;return r=()=>{t.current=e},l(e=>(r(),p(()=>{}))),n}const _=r.useState;function E(e){return c.a.useState(e)}r.useState},function(e,t,n){"use strict";n.d(t,"e",(function(){return o})),n.d(t,"g",(function(){return i})),n.d(t,"f",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return l}));var r=n(3);n(7),n(18),n(28);function o(e,t,n){Object(r.m)(n=>{try{n(t)}catch(t){e(t)}},n)}function i(){return Object(r.g)()}function c(e,t){return Object(r.o)(t=>n=>{t(t=>{n(e(t))})},t)}function s(e){return Object(r.e)(e)}function u(e){return Object(r.t)(t=>{t(e)})}function a(e,t,n,o){return Object(r.t)(r=>{e(t).then(e=>r(n(e))).catch(e=>r(o(e)))})}function l(e,t,n){return Object(r.t)(r=>{e(t).catch(e=>{r(n(e))})})}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"f",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"g",(function(){return u})),n.d(t,"a",(function(){return a})),n.d(t,"h",(function(){return l}));const r="The index was outside the range of elements in the collection.",o="Collection was empty.",i="The input must be non-negative.",c="The input sequence was empty.",s="The input sequence contains more than one element.",u="An index satisfying the predicate was not found in the collection.",a="The collections had different lengths.",l="The input sequence has an insufficient number of elements."},function(e,t,n){"use strict";n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return a})),n.d(t,"f",(function(){return l})),n.d(t,"b",(function(){return p})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return b})),n.d(t,"g",(function(){return $})),n.d(t,"h",(function(){return m})),n.d(t,"i",(function(){return g}));var r=n(7),o=n(2),i=n(8);n(0);i.a;function c(e){}function s(e){return Object(r.e)(t=>e()(t))}function u(e){const t=new r.a("boolean"==typeof e&&e);return"number"==typeof e&&setTimeout(()=>{t.cancel()},e),t}function a(e){e.cancel()}function l(e){return null!=e&&e.isCancelled}function f(e){return h(t=>e.then(t[0]).catch(e=>(e instanceof r.b?t[2]:t[1])(e)))}const d=new r.a;function p(e){return Object(r.e)(t=>{e({onSuccess:e=>t.onSuccess(Object(o.a)(e)),onError:e=>t.onSuccess(Object(o.b)(e)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function h(e){return Object(r.e)(t=>e([t.onSuccess,t.onError,t.onCancel]))}function b(e){return Object(r.d)(e,e=>Object(r.f)(void 0))}function $(e){return s(()=>f(Promise.all(Array.from(e,e=>w(e)))))}function m(e){return Object(r.e)(t=>{let n;const o=setTimeout(()=>{t.cancelToken.removeListener(n),t.onSuccess(void 0)},e);n=t.cancelToken.addListener(()=>{clearTimeout(o),t.onCancel(new r.b)})})}function g(e,t){return function(e,t){return O(e,t)}(e,t)}function O(e,t,n,o,i){"function"!=typeof t&&(i=t,t=void 0);const s=new r.c;e({onSuccess:t||c,onError:n||c,onCancel:o||c,cancelToken:i||d,trampoline:s})}function w(e,t){return new Promise((n,r)=>O(e,n,r,r,t||d))}},function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"e",(function(){return a})),n.d(t,"g",(function(){return l}));const r=Symbol("numeric");function o(e){return"number"==typeof e||(null==e?void 0:e[r])}function i(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}function c(e,t){return"number"==typeof e?e*t:e[r]().multiply(t)}function s(e,t){return"number"==typeof e?e.toFixed(t):e[r]().toFixed(t)}function u(e,t){return"number"==typeof e?e.toPrecision(t):e[r]().toPrecision(t)}function a(e,t){return"number"==typeof e?e.toExponential(t):e[r]().toExponential(t)}function l(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[r]().toHex()}},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"f",(function(){return a})),n.d(t,"d",(function(){return f})),n.d(t,"e",(function(){return d})),n.d(t,"h",(function(){return p})),n.d(t,"a",(function(){return h})),n.d(t,"i",(function(){return b})),n.d(t,"c",(function(){return $})),n.d(t,"g",(function(){return m}));n(5);var r=n(1);function o(e){const t=e<0,n=~~((e=Math.abs(e))/36e5),o=e%36e5/6e4;return(t?"-":"+")+Object(r.x)(n,2)+":"+Object(r.x)(o,2)}function i(e,t){const n=e.toISOString();return"first"===t?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function c(e,t,n){return t.replace(/(\w)\1*/g,t=>{let r=Number.NaN;switch(t.substring(0,1)){case"y":const o=n?e.getUTCFullYear():e.getFullYear();r=t.length<4?o%100:o;break;case"M":r=(n?e.getUTCMonth():e.getMonth())+1;break;case"d":r=n?e.getUTCDate():e.getDate();break;case"H":r=n?e.getUTCHours():e.getHours();break;case"h":const i=n?e.getUTCHours():e.getHours();r=i>12?i%12:i;break;case"m":r=n?e.getUTCMinutes():e.getMinutes();break;case"s":r=n?e.getUTCSeconds():e.getSeconds();break;case"f":r=n?e.getUTCMilliseconds():e.getMilliseconds()}return Number.isNaN(r)?t:r<10&&t.length>1?"0"+r:""+r})}function s(e,t){var n,r,s;const u=new Date(e.getTime()+(null!==(n=e.offset)&&void 0!==n?n:0));if("string"!=typeof t)return u.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+o(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==t.length)return c(u,t,!0);switch(t){case"D":case"d":return i(u,"first");case"T":case"t":return i(u,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+o(t)}(u,null!==(s=e.offset)&&void 0!==s?s:0);default:throw new Error("Unrecognized Date print format")}}function u(e,t){const n=1===e.kind;if("string"!=typeof t)return n?e.toUTCString():e.toLocaleString();if(1!==t.length)return c(e,t,n);switch(t){case"D":case"d":return n?i(e,"first"):e.toLocaleDateString();case"T":case"t":return n?i(e,"second"):e.toLocaleTimeString();case"O":case"o":return function(e,t){if(t)return e.toISOString();{const t=null==e.kind||2===e.kind;return Object(r.x)(e.getFullYear(),4)+"-"+Object(r.x)(e.getMonth()+1,2)+"-"+Object(r.x)(e.getDate(),2)+"T"+Object(r.x)(e.getHours(),2)+":"+Object(r.x)(e.getMinutes(),2)+":"+Object(r.x)(e.getSeconds(),2)+"."+Object(r.x)(e.getMilliseconds(),3)+(t?o(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}function a(e,t,n){return null!=e.offset?s(e,t):u(e,t)}function l(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function f(){return l(-621355968e5,0)}function d(e){function t(){throw new Error("The string is not a valid Date: "+e)}null!=e&&""!==e.trim()||t(),10===e.length&&"-"===e[4]&&"-"===e[7]&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const o=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(null!=o){let e,t=0;if(null!=o[2]){const e=o[2].split(":");t=3600*parseInt(e[0],10)+60*parseInt(e[1]||"0",10)+parseFloat(e[2]||"0"),null!=o[3]&&"PM"===o[3].toUpperCase()&&(t+=720)}if(null!=o[4]){if(null!=o[1])e=new Date(o[1]+" UTC");else{const t=new Date;e=new Date(t.getUTCFullYear()+"/"+(t.getUTCMonth()+1)+"/"+t.getUTCDate())}if("Z"===o[4])r="Z";else{let e=60*parseInt(o[5],10)+parseInt(o[6]||"0",10);"-"===o[4][0]&&(e*=-1),r=e,t-=60*e}}else if(null!=o[1])e=new Date(o[1]);else{const t=new Date;e=new Date(t.getFullYear()+"/"+(t.getMonth()+1)+"/"+t.getDate())}n=new Date(e.getTime()+1e3*t),n=new Date(n.getTime()+6e4*(n.getTimezoneOffset()-e.getTimezoneOffset()))}else t();isNaN(n.getTime())&&t()}return[n,r]}function p(e,t){try{return t.contents=function(e,t=!1){const[n,r]=d(e),o=null!=r?t&&"Z"===r?1:2:0;return l(n.getTime(),o)}(e),!0}catch(e){return!1}}function h(e,t,n,r=0,o=0,i=0,c=0,s){const u=1===s?Date.UTC(e,t-1,n,r,o,i,c):new Date(e,t-1,n,r,o,i,c).getTime();if(isNaN(u))throw new Error("The parameters describe an unrepresentable Date.");const a=l(u,s);return e<=99&&a.setFullYear(e,t-1,n),a}function b(){return l(Date.now(),1)}function $(e,t){return 2===t?function(e){return e%4==0&&e%100!=0||e%400==0}(e)?29:28:t>=8?t%2==0?31:30:t%2==0?30:31}function m(e){return 1===e.kind?e:l(e.getTime(),1)}r.f,r.f},function(e,t,n){"use strict";var r;function o(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function i(e,t,n){const o=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=o){const[,,e,i]=o;if(!function(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}(n=n||function(e,t){if(t&r.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}(e,t)).test(i))return function(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}(o,n)}return null}function c(e,t,n,r,c){const s=i(e,t,c);if(null!=s){let e=Number.parseInt(s.sign+s.digits,s.radix);if(!Number.isNaN(e)){const[t,i]=o(!0,r);!n&&10!==s.radix&&e>=t&&e<=i&&(e=e<<32-r>>32-r);const[c,u]=o(n,r);if(e>=c&&e<=u)return e}}throw new Error("Input string was not in a correct format.")}function s(e,t,n,r,o){try{return o.contents=c(e,t,n,r),!0}catch(e){return!1}}function u(e){return-2147483648===e?e:-e}n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"b",(function(){return u})),function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"c",(function(){return h})),n.d(t,"d",(function(){return b})),n.d(t,"e",(function(){return $})),n.d(t,"b",(function(){return g}));var r=n(1),o={GetHashCode(){return Object(r.c)([this.s,this.e].concat(this.c))},Equals(e){return!this.cmp(e)},CompareTo(e){return this.cmp(e)},[n(19).d](){const e=this;return{multiply:t=>e.mul(t),toPrecision:t=>e.toPrecision(t),toExponential:t=>e.toExponential(t),toFixed:t=>e.toFixed(t),toHex:()=>(Number(e)>>>0).toString(16)}}},i="[big.js] ",c=i+"Invalid ",s=c+"decimal places",u=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function a(e,t){var n,r,o;if(!u.test(t))throw Error(c+"number");for(e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),o=t.length,r=0;r<n&&r<o&&"0"==t.charAt(r);)++r;if(r==o)e.c=[e.e=0];else for(e.e=n-r-1,e.c=[],n=0;r<o;)e.c[n++]=+t.charAt(r++);return e=l(e,d.DP+1,d.RM)}function l(e,t,n,r){var o=e.c;if(void 0===n&&(n=d.RM),0!==n&&1!==n&&2!==n&&3!==n)throw Error("[big.js] Invalid rounding mode");if(t<1)r=3===n&&(r||!!o[0])||0===t&&(1===n&&o[0]>=5||2===n&&(o[0]>5||5===o[0]&&(r||void 0!==o[1]))),o.length=1,r?(e.e=e.e-t+1,o[0]=1):o[0]=e.e=0;else if(t<o.length){const i=o.findIndex((e,n)=>n>=t&&e>0)<0;if(r=1===n&&o[t]>=5||2===n&&(o[t]>5||5===o[t]&&(r||void 0!==o[t+1]||1&o[t-1]))||3===n&&(r||!i),o.length=t--,r)for(;++o[t]>9;)o[t]=0,t--||(++e.e,o.unshift(1));for(t=o.length;!o[--t];)o.pop()}return e}function f(e,t,n){var r=e.e,o=e.c.join(""),i=o.length;if(t)o=o.charAt(0)+(i>1?"."+o.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;)o="0"+o;o="0."+o}else if(r>0)if(++r>i)for(r-=i;r--;)o+="0";else r<i&&(o=o.slice(0,r)+"."+o.slice(r));else i>1&&(o=o.charAt(0)+"."+o.slice(1));return e.s<0&&n?"-"+o:o}o.abs=function(){var e=new this.constructor(this);return e.s=1,e},o.cmp=function(e){var t,n=this.constructor,r=new n(this),o=(e=new n(e),r.c),i=e.c,c=r.s,s=e.s,u=r.e,a=e.e;if(!o[0]||!i[0])return o[0]?c:i[0]?-s:0;if(c!=s)return c;if(t=c<0,u!=a)return u>a^t?1:-1;for(s=Math.max(o.length,i.length),c=0;c<s;c++)if((u=c<o.length?o[c]:0)!=(a=c<i.length?i[c]:0))return u>a^t?1:-1;return 0},o.div=function(e){var t=this.constructor,n=new t(this),r=(e=new t(e),n.c),o=e.c,i=n.s==e.s?1:-1,c=t.DP;if(c!==~~c||c<0||c>1e6)throw Error(s);if(!o[0])throw Error("[big.js] Division by zero");if(!r[0])return e.s=i,e.c=[e.e=0],e;var u,a,f,d,p,h=o.slice(),b=u=o.length,$=r.length,m=r.slice(0,u),g=m.length,O=e,w=O.c=[],y=0,v=c+(O.e=n.e-e.e)+1;for(O.s=i,i=v<0?0:v,h.unshift(0);g++<u;)m.push(0);do{for(f=0;f<10;f++){if(u!=(g=m.length))d=u>g?1:-1;else for(p=-1,d=0;++p<u;)if(o[p]!=m[p]){d=o[p]>m[p]?1:-1;break}if(!(d<0))break;for(a=g==u?o:h;g;){if(m[--g]<a[g]){for(p=g;p&&!m[--p];)m[p]=9;--m[p],m[g]+=10}m[g]-=a[g]}for(;!m[0];)m.shift()}w[y++]=d?f:++f,m[0]&&d?m[g]=r[b]||0:m=[r[b]]}while((b++<$||void 0!==m[0])&&i--);return w[0]||1==y||(w.shift(),O.e--,v--),y>v&&l(O,v,t.RM,void 0!==m[0]),O},o.eq=function(e){return 0===this.cmp(e)},o.gt=function(e){return this.cmp(e)>0},o.gte=function(e){return this.cmp(e)>-1},o.lt=function(e){return this.cmp(e)<0},o.lte=function(e){return this.cmp(e)<1},o.minus=o.sub=function(e){var t,n,r,o,i=this.constructor,c=new i(this),s=(e=new i(e),c.s),u=e.s;if(s!=u)return e.s=-u,c.plus(e);var a=c.c.slice(),l=c.e,f=e.c,d=e.e;if(!a[0]||!f[0])return f[0]?e.s=-u:a[0]?e=new i(c):e.s=1,e;if(s=l-d){for((o=s<0)?(s=-s,r=a):(d=l,r=f),r.reverse(),u=s;u--;)r.push(0);r.reverse()}else for(n=((o=a.length<f.length)?a:f).length,s=u=0;u<n;u++)if(a[u]!=f[u]){o=a[u]<f[u];break}if(o&&(r=a,a=f,f=r,e.s=-e.s),(u=(n=f.length)-(t=a.length))>0)for(;u--;)a[t++]=0;for(u=t;n>s;){if(a[--n]<f[n]){for(t=n;t&&!a[--t];)a[t]=9;--a[t],a[n]+=10}a[n]-=f[n]}for(;0===a[--u];)a.pop();for(;0===a[0];)a.shift(),--d;return a[0]||(e.s=1,a=[d=0]),e.c=a,e.e=d,e},o.mod=function(e){var t,n=this.constructor,r=new n(this),o=(e=new n(e),r.s),i=e.s;if(!e.c[0])throw Error("[big.js] Division by zero");return r.s=e.s=1,t=1==e.cmp(r),r.s=o,e.s=i,t?new n(r):(o=n.DP,i=n.RM,n.DP=n.RM=0,r=r.div(e),n.DP=o,n.RM=i,this.minus(r.times(e)))},o.plus=o.add=function(e){var t,n,r,o=this.constructor,i=new o(this);e=new o(e);if(i.s!=e.s)return e.s=-e.s,i.minus(e);var c=i.e,s=i.c,u=e.e,a=e.c;if(!s[0]||!a[0])return a[0]||(s[0]?e=new o(i):e.s=i.s),e;if(s=s.slice(),t=c-u){for(t>0?(u=c,r=a):(t=-t,r=s),r.reverse();t--;)r.push(0);r.reverse()}for(s.length-a.length<0&&(r=a,a=s,s=r),t=a.length,n=0;t;s[t]%=10)n=(s[--t]=s[t]+a[t]+n)/10|0;for(n&&(s.unshift(n),++u),t=s.length;0===s[--t];)s.pop();return e.c=s,e.e=u,e},o.pow=function(e){var t=this.constructor,n=new t(this),r=new t("1"),o=new t("1"),i=e<0;if(e!==~~e||e<-1e6||e>1e6)throw Error(c+"exponent");for(i&&(e=-e);1&e&&(r=r.times(n)),e>>=1;)n=n.times(n);return i?o.div(r):r},o.prec=function(e,t){if(e!==~~e||e<1||e>1e6)throw Error(c+"precision");return l(new this.constructor(this),e,t)},o.round=function(e,t){if(void 0===e)e=0;else if(e!==~~e||e<-1e6||e>1e6)throw Error(s);return l(new this.constructor(this),e+this.e+1,t)},o.sqrt=function(){var e,t,n,r=this.constructor,o=new r(this),c=o.s,s=o.e,u=new r("0.5");if(!o.c[0])return new r(o);if(c<0)throw Error(i+"No square root");0===(c=Math.sqrt(o+""))||c===1/0?((t=o.c.join("")).length+s&1||(t+="0"),s=((s+1)/2|0)-(s<0||1&s),e=new r(((c=Math.sqrt(t))==1/0?"5e":(c=c.toExponential()).slice(0,c.indexOf("e")+1))+s)):e=new r(c+""),s=e.e+(r.DP+=4);do{n=e,e=u.times(n.plus(o.div(n)))}while(n.c.slice(0,s).join("")!==e.c.slice(0,s).join(""));return l(e,(r.DP-=4)+e.e+1,r.RM)},o.times=o.mul=function(e){var t,n=this.constructor,r=new n(this),o=(e=new n(e),r.c),i=e.c,c=o.length,s=i.length,u=r.e,a=e.e;if(e.s=r.s==e.s?1:-1,!o[0]||!i[0])return e.c=[e.e=0],e;for(e.e=u+a,c<s&&(t=o,o=i,i=t,a=c,c=s,s=a),t=new Array(a=c+s);a--;)t[a]=0;for(u=s;u--;){for(s=0,a=c+u;a>u;)s=t[a]+i[u]*o[a-u-1]+s,t[a--]=s%10,s=s/10|0;t[a]=s}for(s?++e.e:t.shift(),u=t.length;!t[--u];)t.pop();return e.c=t,e},o.toExponential=function(e,t){var n=this,r=n.c[0];if(void 0!==e){if(e!==~~e||e<0||e>1e6)throw Error(s);for(n=l(new n.constructor(n),++e,t);n.c.length<e;)n.c.push(0)}return f(n,!0,!!r)},o.toFixed=function(e,t){var n=this,r=n.c[0];if(void 0!==e){if(e!==~~e||e<0||e>1e6)throw Error(s);for(e=e+(n=l(new n.constructor(n),e+n.e+1,t)).e+1;n.c.length<e;)n.c.push(0)}return f(n,!1,!!r)},o.toJSON=o.toString=function(){var e=this,t=e.constructor;return f(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])},o.toNumber=function(){var e=Number(f(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(e.toString()))throw Error(i+"Imprecise conversion");return e},o.toPrecision=function(e,t){var n=this,r=n.constructor,o=n.c[0];if(void 0!==e){if(e!==~~e||e<1||e>1e6)throw Error(c+"precision");for(n=l(new r(n),e,t);n.c.length<e;)n.c.push(0)}return f(n,e<=n.e||n.e<=r.NE||n.e>=r.PE,!!o)},o.valueOf=function(){var e=this,t=e.constructor;if(!0===t.strict)throw Error(i+"valueOf disallowed");return f(e,e.e<=t.NE||e.e>=t.PE,!0)};var d=function e(){function t(n){var r=this;if(!(r instanceof t))return void 0===n?e():new t(n);if(n instanceof t)r.s=n.s,r.e=n.e,r.c=n.c.slice(),function(e){if(e.c.length>1&&!e.c[0]){let t=e.c.findIndex(e=>e);e.c=e.c.slice(t),e.e=e.e-t}}(r);else{if("string"!=typeof n){if(!0===t.strict)throw TypeError(c+"number");n=0===n&&1/n<0?"-0":String(n)}a(r,n)}r.constructor=t}return t.prototype=o,t.DP=28,t.RM=1,t.NE=-29,t.PE=29,t.strict=!1,t}(),p=d;n(8),t.a=p;new p(0),new p(1),new p(-1),new p("79228162514264337593543950335"),new p("-79228162514264337593543950335");function h(e,t){return e.add(t)}function b(e){return e.toString()}function $(e,t){try{return t.contents=new p(e.trim()),!0}catch(e){return!1}}function m(e,t,n){for(let r=0;r<8;r++)e[n+r]=t>>4*r&15}function g(e,t,n,r,o){const i=new Uint8Array(24);m(i,e,0),m(i,t,8),m(i,n,16);const c=function(e,t){const n=new Uint8Array(301*t/1e3+1|0);let r=1;for(let t=e.length-1;t>=0;t--){let o=e[t];for(let e=0;e<r;e++){const t=16*n[e]+o|0;n[e]=t%10|0,o=t/10|0}for(;o>0;)n[r++]=o%10|0,o=o/10|0}return n.slice(0,r)}(i,96);o&=127;const s=new p(0);s.c=Array.from(c.reverse()),s.e=c.length-o-1,s.s=r?-1:1;return new p(s)}},function(e,t,n){"use strict";n.d(t,"d",(function(){return ye})),n.d(t,"b",(function(){return ve})),n.d(t,"a",(function(){return je})),n.d(t,"e",(function(){return _e})),n.d(t,"c",(function(){return Ee}));var r=n(8),o=(n(0),n(5)),i=n(10),c=n(3),s=n(1),u=n(11);class a extends r.c{constructor(e,t){super(),this.bound=0|e,this.digits=t}}function l(e,t){for(;;){const n=e,r=t;if(0===r)return 1;if(r%2!=0)return n*l(n*n,~~(r/2))|0;e=n*n,t=~~(r/2)}}Object(o.c)(2013265921,0,!1),Object(o.c)(2013265921,0,!0);Object(i.j)(28,e=>l(2,e),Int32Array);function f(e){return e.bound}function d(e,t){return e.digits[t]}function p(e,t){return Object(o.e)(d(e,t),!1,2)}function h(e,t,n){e.digits[t]=0|n}function b(e,t){for(;;){const n=e,r=t;if(0===r)return Object(o.c)(1,0,!1);if(r%2!=0)return Object(o.m)(n,b(Object(o.m)(n,n),~~(r/2)));e=Object(o.m)(n,n),t=~~(r/2)}}function $(e,t){for(;;){const n=e,r=t;if(0===r)return 1;if(r%2!=0)return n*$(n*n,~~(r/2))|0;e=n*n,t=~~(r/2)}}function m(e,t){return e<t?0|t:0|e}const g=Object(o.c)(16777216,0,!1),O=Object(o.c)(16777215,0,!1);Object(o.c)(16777215,0,!0);function w(e){return~~(e>>>0>>>24)}function y(e){return 16777215&e}function v(e){return new a(e,new Int32Array(e))}function j(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=0|t,e}function _(e){const t=0|(e<0?0:e);if(t<16777216){const e=v(1);return e.digits[0]=0|t,j(e)}{const e=v(2);for(let n=0;n<=1;n++)e.digits[n]=~~(t/$(16777216,n))%16777216|0;return j(e)}}function E(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|0;return 0|t}}const x=_(1),S=_(0);function C(e){return e.bound-1}function k(e,t){const n=1+m(e.bound,t.bound)|0,r=v(n);return function(e,t,n,r,o,i){let c,s,u,a;for(;;){const l=e,f=t,d=n,p=r,h=o,b=i;if(!(l<f))break;{const $=0|(c=p,s=0|l,(s<c.bound?c.digits[s]:0)+(u=h,a=0|l,a<u.bound?u.digits[a]:0)+d);b.digits[l]=0|y($),e=l+1,t=f,n=w($),r=p,o=h,i=b}}}(0,n,0,e,t,r),j(r)}function T(e,t){const n=0|m(e.bound,t.bound),r=v(n);return function(e,t,n,r,o,i){let c,s,u,a;e:for(;;){const l=e,f=t,d=n,p=r,h=o,b=i;if(l<f){const $=0|(c=p,s=0|l,(s<c.bound?c.digits[s]:0)-(u=h,a=0|l,a<u.bound?u.digits[a]:0)+d);if($>0){b.digits[l]=0|y($),e=l+1,t=f,n=w($),r=p,o=h,i=b;continue e}{const c=$+16777216|0;b.digits[l]=0|y(c),e=l+1,t=f,n=w(c)-1,r=p,o=h,i=b;continue e}}return 0!==d}}(0,n,0,e,t,r)?_(0):j(r)}function A(e){return 0===e.bound}function I(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 N(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 P(e,t){return-1===N(e,t)}function M(e,t){return-1!==N(e,t)}function D(e,t,n){for(;;){const r=e,i=t,c=n;if(!(Object(o.a)(i,Object(o.c)(0,0,!1))>0))break;{const s=Object(o.h)(p(r,c),i);h(r,c,~~Object(o.q)(Object(o.i)(s,O))),e=r,t=Object(o.j)(s,g),n=c+1}}}function R(e,t){const n=0|f(e),r=v(n+1),i=Object(o.e)(t,!1,2);let c=Object(o.c)(0,0,!1);for(let t=0;t<=n-1;t++){const n=Object(o.h)(Object(o.h)(c,p(r,t)),Object(o.m)(p(e,t),i));h(r,t,~~Object(o.q)(Object(o.i)(n,O))),c=Object(o.j)(n,g)}return D(r,c,n),j(r)}function F(e,t){const n=1===f(e),r=1===f(t);return n&&r?function(e,t){const n=v(2),r=Object(o.m)(Object(o.e)(e,!1,2),Object(o.e)(t,!1,2));return h(n,0,~~Object(o.q)(Object(o.i)(r,O))),h(n,1,~~Object(o.q)(Object(o.j)(r,g))),j(n)}(d(e,0),d(t,0)):n?R(t,d(e,0)):r?R(e,d(t,0)):function(e,t){const n=v(e.bound+t.bound),r=n.digits;for(let i=0;i<=e.bound-1;i++){const c=Object(o.e)(e.digits[i],!1,2);let s=Object(o.c)(0,0,!1),u=i;for(let e=0;e<=t.bound-1;e++){const n=Object(o.e)(t.digits[e],!1,2),i=Object(o.h)(Object(o.h)(Object(o.e)(r[u],!1,2),s),Object(o.m)(c,n));r[u]=0|~~Object(o.q)(Object(o.i)(i,O)),s=Object(o.j)(i,g),u=u+1|0}D(n,s,u)}return j(n)}(e,t)}class L extends r.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 G(e,t,n,r){return new L(e,$(2,e),t,n,r,~~(24/e),Object(i.j)(~~(24/e),t=>$(2,e*t),Int32Array))}const B=[G(1,28,268435456,268435456),G(2,26,67108864,134217728),G(3,24,16777216,50331648),G(4,22,4194304,16777216),G(5,20,1048576,5242880),G(6,18,262144,1572864),G(7,16,65536,458752),G(8,14,16384,131072),G(9,12,4096,36864),G(10,10,1024,10240),G(11,8,256,2816),G(12,6,64,768),G(13,4,16,208)];Object(i.j)(24,e=>$(2,e)-1,Int32Array),Object(i.j)(24,e=>$(2,e),Int32Array),Object(i.j)(24,e=>b(Object(o.c)(2,0,!1),e));B[0].bigN;function U(e,t){return F(e,t)}function V(e,t,n,r){const i=[e.digits,C(e)],c=i[0],s=[n.digits,C(n)],u=0|s[1],a=s[0],l=Object(o.e)(t,!1,2);let f=0,d=Object(o.m)(l,Object(o.e)(a[0],!1,2));for(;Object(o.a)(d,Object(o.c)(0,0,!1))>0||f<u;){if(f>i[1])throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let e=~~Object(o.q)(Object(o.i)(d,O)),t=Object(o.j)(d,g);e<=c[f+r]?c[f+r]=c[f+r]-e|0:(c[f+r]=c[f+r]+(16777216-e)|0,t=Object(o.h)(t,Object(o.c)(1,0,!1))),d=f<u?Object(o.h)(t,Object(o.m)(l,Object(o.e)(a[f+1],!1,2))):t,f=f+1|0}j(e)}function H(e,t,n,r){const i=[e.digits,C(e)],c=i[0],s=[n.digits,C(n)],u=0|s[1],a=s[0],l=Object(o.e)(t,!1,2);let f=0,d=Object(o.m)(l,Object(o.e)(a[0],!1,2));for(;Object(o.a)(d,Object(o.c)(0,0,!1))>0||f<u;){if(f>i[1])throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let e=~~Object(o.q)(Object(o.i)(d,O)),t=Object(o.j)(d,g);e<16777216-c[f+r]?c[f+r]=c[f+r]+e|0:(c[f+r]=e-(16777216-c[f+r])|0,t=Object(o.h)(t,Object(o.c)(1,0,!1))),d=f<u?Object(o.h)(t,Object(o.m)(l,Object(o.e)(a[f+1],!1,2))):t,f=f+1|0}j(e)}function q(e,t,n){const r=[C(t),C(e)],i=0|r[1],c=0|r[0];if(i<c+n)return 0;{const r=[t.digits,e.digits],f=r[1],d=r[0],p=0|(0===c?i===n?~~(f[n]/d[0]):~~Object(o.q)(Object(o.j)(Object(o.h)(Object(o.m)(Object(o.e)(f[i],!1,2),g),Object(o.e)(f[i-1],!1,2)),Object(o.e)(d[0],!1,2))):i===c+n?~~(f[i]/(d[c]+1)):~~Object(o.q)(Object(o.j)(Object(o.h)(Object(o.m)(Object(o.e)(f[i],!1,2),g),Object(o.e)(f[i-1],!1,2)),Object(o.h)(Object(o.e)(d[c],!1,2),Object(o.c)(1,0,!1)))));return 0===p?1!=(u=n,a=e,l=0,(s=t).bound+u<a.bound+l?-1:s.bound+u>a.bound+u?1:0|((e,t,n)=>{e:for(;;){const r=e,o=t,i=n;if(-1===i)return 0;{const c=0|(i<u?0:r[i-u]),s=0|(i<l?0:o[i-l]);if(c===s){e=r,t=o,n=i-1;continue e}return c<s?-1:1}}})(s.digits,a.digits,s.bound+u-1))?1:0:0|p}var s,u,a,l}function W(e,t){if(A(t))throw new Error;if(C(e)<C(t))return[S,e];{const n=function(e){return new a(e.bound,Object(i.d)(e.digits))}(e),r=v(C(e)-C(t)+1+1);let o=C(e);const c=0|C(t);let s=o-c;const u=e=>{};let l=!1;for(;!l;){u([r,n,s,o]);const e=0|q(n,t,s);e>0?(V(n,e,t,s),H(r,e,x,s),u([r,n,s,o])):(l=0===e&&0===s,l||(o===c+s?(u([r,n,s-1,o]),s=s-1|0):(u([r,n,s-1,o-1]),s=s-1|0,o=o-1|0)))}return[j(r),j(n)]}}_(2);function z(e){return _(e)}function Y(e){return function(e){const t=Object(o.a)(e,Object(o.c)(0,0,!1))<0?Object(o.c)(0,0,!1):e,n=v(3);for(let e=0;e<=2;e++)n.digits[e]=0|~~Object(o.q)(Object(o.l)(Object(o.j)(t,b(g,e)),g));return j(n)}(e)}function X(e){const t=0|C(e),n=(e,t,r,o)=>{e:for(;;){const i=e,u=t,a=r,l=o;if(Object(c.l)(l)){const e=0|E(a);return i&&0===e?u:Object(c.f)(Object(s.q)(e),u)}{const s=Object(c.w)(l),f=W(a,Object(c.k)(l)[1]),d=f[1],p=f[0];if(i&&A(p)){e=i,t=u,r=d,o=s;continue e}e=i,t=n(!1,u,d,s),r=p,o=s;continue e}}},r=n(!0,Object(c.g)(),e,((e,n,r)=>{for(;;){const o=e,i=n,s=r;if(C(s)>t)return Object(c.f)([i,s],o);e=Object(c.f)([i,s],o),n=i+1,r=U(s,s)}})(Object(c.g)(),0,_(10)));return Object(c.l)(r)?"0":Object(u.f)("",Object(c.x)(r))}function J(e){const t=0|e.length;if(Object(u.d)(e))throw new Error("empty string\\nParameter name: str");const n=_(10);return((r,o)=>{e:for(;;){const i=r,c=o;if(c===t)return i;{const t=e[c].charCodeAt(0)-48|0;if(0<=t&&t<=9){r=k(U(n,i),_(t)),o=c+1;continue e}throw new Error}}})(_(0),0)}function Z(e){return e.bound<=1}function K(e){const t=e;return 0<t.bound?0|t.digits[0]:0}var Q=n(21);n(22);class ee extends r.c{constructor(e,t){super(),this.signInt=0|e,this.v=t}toString(){const e=this;switch(0|ce(e)){case-1:return A(se(e))?"0":"-"+X(se(e));case 0:return"0";case 1:return X(se(e));default:throw new Error("signs should be +/- 1 or 0")}}Equals(e){return e instanceof ee&&ue(this,e)}GetHashCode(){return 0|(0===ce(e=this)?1:ce(e)+function(e){let t=0;for(let n=0;n<=e.bound-1;n++)t=e.digits[n]+(t<<3)|0;return 0|t}(se(e))|0);var e}toJSON(e){return Object(r.f)(this)}CompareTo(e){if(e instanceof ee)return 0|(ae(t=this,n=e)?-1:ue(t,n)?0:1);throw new Error("the objects are not comparable\\nParameter name: obj");var t,n}}function te(e,t){return new ee(e,t)}function ne(e){return Z(e)&&K(e)<ee.smallLim?ee.smallPosTab[K(e)]:e}function re(e,t){return te(e,ne(t))}function oe(e){return te(1,ne(e))}function ie(e){return te(-1,ne(e))}function ce(e){return e.signInt}function se(e){return e.v}function ue(e,t){const n=[ce(e),ce(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 I(se(e),se(t));case 2:case 3:return!!A(se(e))&&A(se(t));case 4:return!0;case 5:case 6:return A(se(t));case 7:case 8:return A(se(e));case 9:throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}}function ae(e,t){const n=[ce(e),ce(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 P(se(e),se(t));case 1:return P(se(t),se(e));case 2:return!1;case 3:return!A(se(e))||!A(se(t));case 4:return!1;case 5:return!A(se(t));case 6:case 7:return!1;case 8:return!A(se(e));case 9:throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}}function le(e){return e>=0?te(1,ne(z(e))):te(-1,ne(-2147483648===e?Y(Object(o.o)(Object(o.e)(e,!1,2))):z(Object(Q.b)(e))))}function fe(e){return Object(o.a)(e,Object(o.c)(0,0,!1))>=0?te(1,ne(Y(e))):Object(o.b)(e,Object(o.c)(0,2147483648,!1))?te(-1,ne(k(Y(Object(o.c)(4294967295,2147483647,!1)),x))):te(-1,ne(Y(Object(o.o)(e))))}function de(){return ee.one}function pe(){return ee.two}function he(){return ee.zero}function be(e){const t=0|ce(e);return 0===t?he():re(Object(Q.b)(t),se(e))}function $e(e,t){return M(e,t)?oe(T(e,t)):ie(T(t,e))}function me(e,t){return oe(k(e,t))}function ge(e){return 0===ce(e)||A(se(e))}function Oe(e,t){if(ge(t))return e;if(ge(e))return t;{const n=[ce(e),ce(t)];let r;switch(r=-1===n[0]?-1===n[1]?1:1===n[1]?3:4:1===n[0]?-1===n[1]?2:1===n[1]?0:4:4,r){case 0:return me(se(e),se(t));case 1:return be(me(se(e),se(t)));case 2:return $e(se(e),se(t));case 3:return $e(se(t),se(e));case 4:throw new Error("signs should be +/- 1\\nParameter name: x")}}}function we(e){if(null==e)throw new Error("text");const t=e.trim(),n=0|t.length;if(0===n)throw new Error;const r=[t[0],n];if("+"===r[0]){if(1===r[1])throw new Error;return oe(J(t.slice(1,n-1+1)))}if("-"===r[0]){if(1===r[1])throw new Error;return ie(J(t.slice(1,n-1+1)))}return oe(J(t))}function ye(e){return we(e)}ee.smallLim=4096,ee.smallPosTab=Object(i.j)(ee.smallLim,z),ee.one=le(1),ee.two=le(2),ee.zero=le(0);he(),de(),pe();function ve(){return he()}function je(e){return e>2147483647?fe(Object(o.e)(e,!1,6)):le(e)}function _e(e){return Object(r.f)(e)}he(),de();function Ee(e,t){return Oe(e,t)}},function(e,t,n){"use strict";function r(e,t=0){if(0!=(-276&t))throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Singleline and ECMAScript");let n="gu";return n+=1&t?"i":"",n+=2&t?"m":"",n+=16&t?"s":"",new RegExp(e,n)}function o(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function i(e,t,n=0){if(null==t)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=n;const r=[];let o,i=-1;for(;null!=(o=e.exec(t));)o.index===i?e.lastIndex++:(i=o.index,r.push(o));return r}function c(e,t,n,o,c=0){if("string"==typeof e){const n=e;e=r(t,null!=o?o:0),t=n,o=void 0}if("function"==typeof n)return o=null==o?-1:o,t.substring(0,c)+t.substring(c).replace(e,(function(){let e=arguments[0];if(o){o--;const t=[],r=arguments.length,i="string"!=typeof arguments[r-1];let c=i?r-3:r-2;for(let e=0;e<c;e++)t.push(arguments[e]);t.index=arguments[c++],t.input=arguments[c++],i&&(t.groups=arguments[c]),e=n(t)}return e}));if(n=n.replace(/\$0/g,e=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),null!=o){let r;const s=t.substring(c),u=i(e,s),a=i.length>o?(r=u[o-1],s.substring(0,r.index+r[0].length)):s;return t.substring(0,c)+a.replace(e,n)+t.substring(c+a.length)}return t.replace(e,n)}n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return s}));var r=n(1);function o(){return e=r.d,{Compare:(t,n)=>e(t,n)};var e}n(11),n(0),n(8);function i(){return o()}function c(e){throw new Error(e)}function s(e,t){return t()}},function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return u}));var r=n(11);const o=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,i=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,c=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function s(e,t){try{return t.contents=function(e){function t(e){return e.replace(i,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(o.test(n))return Object(r.l)(n,"{","}","(",")");if(i.test(n))return t(n);if(c.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}(e),!0}catch(e){return!1}}function u(){let e="";for(let t=0;t++<36;)e+=51*t&52?(15^t?8^Math.random()*(20^t?16:4):4).toString(16):"-";return e}},function(e,t,n){var r;
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2018 Jed Watson.
|
|
4
4
|
Licensed under the MIT License (MIT), see
|
|
5
5
|
http://jedwatson.github.io/classnames
|
|
6
|
-
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var c=o.apply(null,r);c&&e.push(c)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var
|
|
6
|
+
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var c=o.apply(null,r);c&&e.push(c)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return l}));var r=n(6);n(2);class o{constructor(e,t,n){this.OnNext=e,this.OnError=t||(e=>{}),this.OnCompleted=n||(()=>{})}}class i{constructor(){this.delegates=[]}Add(e){this._addHandler(e)}get Publish(){return this}Trigger(e,t){let n,r;void 0===t?(n=null,r=e):(n=e,r=t),this.delegates.forEach(e=>1===e.length?e(r):e(n,r))}AddHandler(e){this._addHandler(e)}RemoveHandler(e){this._removeHandler(e)}Subscribe(e){const t="function"==typeof e?e:e.OnNext;return this._addHandler(t),{Dispose:()=>{this._removeHandler(t)}}}_addHandler(e){this.delegates.push(e)}_removeHandler(e){const t=this.delegates.indexOf(e);t>-1&&this.delegates.splice(t,1)}}var c=i;var s=class{constructor(e){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=e&&e>0?e:100,this.AutoReset=!0,this._elapsed=new c}Elapsed(){return this._elapsed}get Enabled(){return this._enabled}set Enabled(e){this._isDisposed||this._enabled===e||(this._enabled=e,this._enabled?this.AutoReset?this._intervalId=setInterval(()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)},this.Interval):this._timeoutId=setTimeout(()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)},this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}};function u(e,t){console.error(Object(r.f)(e),t)}function a(e,t){console.log(Object(r.f)(e),t)}function l(e,t){let n,r=new s(e);r.AutoReset=!1,n=r,function(e,t){t.Subscribe(new o(e))}(t,n.Elapsed()),n.Enabled=!0,n.Start()}},function(e,t,n){"use strict";(function(e,r){
|
|
7
7
|
/*!
|
|
8
8
|
* Font Awesome Free 5.15.4 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 N(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)}}M(i,r)||("fulfilled"===n&&R(i,r),"rejected"===n&&L(i,r))}function M(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&&M(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(N)}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(N,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(50).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(43)),o=a(n(48)),i=a(n(37)),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;!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]}t.default=e}(n(11));var r=a(n(9)),o=a(n(9)),i=n(34),c=(n(35),a(n(36)));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 i(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(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=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null};var a=i.prototype;return a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.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)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.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}},a.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=o.default.findDOMNode(this);"entering"===t?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},a.performEnter=function(e,t){var n=this,r=this.props.enter,o=this.context?this.context.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)}))},a.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)}))},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},a.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},a.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)},a.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,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}(t,["children"]);if(delete o.in,delete o.mountOnEnter,delete o.unmountOnExit,delete o.appear,delete o.enter,delete o.exit,delete o.timeout,delete o.addEndListener,delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,"function"==typeof n)return r.default.createElement(c.default.Provider,{value:null},n(e,o));var i=r.default.Children.only(n);return r.default.createElement(c.default.Provider,{value:null},r.default.cloneElement(i,o))},i}(r.default.Component);function u(){}s.contextType=c.default,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,i.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";var r;t.__esModule=!0,t.default=void 0;var o=((r=n(9))&&r.__esModule?r:{default:r}).default.createContext(null);t.default=o,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;a(n(11));var r=a(n(9)),o=n(34),i=a(n(36)),c=n(49);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 o(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(u(u(r)));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=o.prototype;return a.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},a.componentWillUnmount=function(){this.mounted=!1},o.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}},a.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}})))},a.render=function(){var e=this.props,t=e.component,n=e.childFactory,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,["component","childFactory"]),c=this.state.contextValue,a=l(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===t?r.default.createElement(i.default.Provider,{value:c},a):r.default.createElement(i.default.Provider,{value:c},r.default.createElement(t,o,a))},o}(r.default.Component);f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};var d=(0,o.polyfill)(f);t.default=d,e.exports=t.default},function(e,t,n){"use strict";n.d(t,"a",(function(){return qa}));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 N(e){return new D(P(new o.b(e,new o.b)),!1)}function M(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=N(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>M(t),"System.Collections.IEnumerator.get_Current":()=>M(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=N(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?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function 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),ye=["tag","baseClass","baseClassActive","className","cssModule","children","innerRef"];function Oe(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 ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){ue(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var je=ve(ve({},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])}),_e=ve(ve({},we.Transition.defaultProps),{},{tag:"div",baseClass:"fade",baseClassActive:"show",timeout:150,appear:!0,enter:!0,exit:!0,in:!0});function Ee(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,ye),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)}))}Ee.propTypes=je,Ee.defaultProps=_e;var xe=Ee,Se=["className","closeClassName","closeAriaLabel","cssModule","tag","color","isOpen","toggle","children","transition","fade","innerRef"];function Ce(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 Te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ce(Object(n),!0).forEach((function(t){ue(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ke={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(xe.propTypes),innerRef:de.a.oneOfType([de.a.object,de.a.string,de.a.func])},Ae={color:"success",isOpen:!0,tag:"div",closeAriaLabel:"Close",fade:!0,transition:Te(Te({},xe.defaultProps),{},{unmountOnExit:!0})};function Ie(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,Se),h=$e(he()(t,"alert","alert-"+c,{"alert-dismissible":s}),o),$=$e(he()("close",n),o),b=Te(Te(Te({},xe.defaultProps),l),{},{baseClass:f?l.baseClass:"",timeout:f?l.timeout:0});return ce.default.createElement(xe,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)}Ie.propTypes=ke,Ie.defaultProps=Ae;var De=Ie;class Pe extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Tag","CSSModule","Color","Transition","IsOpen","Toggle","Custom"]}}function Ne(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(De,Object.assign({},n,r),...t)}var Me=n(13);class Re extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Success","Failure","Info"]}}function Fe(e){switch(e.tag){case 0:return new Pe(2,"success");case 2:return new Pe(2,"info");default:return new Pe(2,"danger")}}function Le(e){switch(e.tag){case 0:case 2:default:return e.fields[0]}}function Be(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:Me.a.Children.toArray([Ne([Fe(n),new Pe(5,()=>{Object(a.a)(r),t()})],[Le(n)])])})}class Ue{constructor(){}}function Ge(e,t){return new J.e(0,t)}function Ve(e,t){return t}function He(e,t,n){return Object(J.g)(n,t)}new Ue;class We{constructor(){}}function ze(e,t){return s.g.Return(Ge(0,t))}function qe(e,t){return s.g.Delay(t)}new We;class Ye extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class Xe extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Header"]}}class Je extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}o.d;class Ze 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 Ke extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Qe 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 et=n(14);const tt=new Ze("",new Ye(0),Object(l.g)(),!1,void 0,void 0,new Je(0));new Qe(0,"","",q(),new Ke(0,""));function nt(e,t){return Object(d.e)(t)?[t]:Object(d.i)(t,[e],null,0)}function rt(e){return new Ze(e,tt.method,tt.headers,tt.withCredentials,tt.overridenMimeType,tt.overridenResponseType,tt.content)}function ot(e,t){return new Ze(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.content)}function it(e,t){return new Ze(t.url,t.method,Object(l.a)(t.headers,Object(l.s)(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.content)}function ct(e,t){return new Ze(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,e)}function at(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 Ke(0,n.responseText):new Ke("arraybuffer"===a?2:"blob"===a?1:3,n.response),new Qe(o,e,i,function(e){const t=h();return L(t,A(t,e))}(Object(et.a)(e=>{const t=Object(l.p)(nt(":",e));return null!=t.tail?[t.head.toLocaleLowerCase(),Object(d.g)(":",t.tail).trim()]:void 0},nt("\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 st=n(25);class ut 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 lt extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}o.c;class ft{constructor(){this.cache=new Map([])}}function dt(){return new ft}dt(),dt();function pt(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function ht(e,t){switch(e.tag){case 2:return Object(st.b)(pt(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return pt(t)}}var $t=n(26),bt=n(21),mt=n(5);class gt extends o.c{constructor(e,t){super(),this.bound=0|e,this.digits=t}}function wt(e,t){for(;;){const n=e,r=t;if(0===r)return 1;if(r%2!=0)return n*wt(n*n,~~(r/2))|0;e=n*n,t=~~(r/2)}}Object(mt.c)(2013265921,0,!1),Object(mt.c)(2013265921,0,!0);Object(et.l)(28,e=>wt(2,e),Int32Array);function yt(e){return e.bound}function Ot(e,t){return e.digits[t]}function vt(e,t){return Object(mt.e)(Ot(e,t),!1,2)}function jt(e,t,n){e.digits[t]=n}function _t(e,t){for(;;){const n=e,r=t;if(0===r)return Object(mt.c)(1,0,!1);if(r%2!=0)return Object(mt.n)(n,_t(Object(mt.n)(n,n),~~(r/2)));e=Object(mt.n)(n,n),t=~~(r/2)}}function Et(e,t){for(;;){const n=e,r=t;if(0===r)return 1;if(r%2!=0)return n*Et(n*n,~~(r/2))|0;e=n*n,t=~~(r/2)}}const xt=Object(mt.c)(16777216,0,!1),St=Object(mt.c)(16777215,0,!1);Object(mt.c)(16777215,0,!0);function Ct(e){return new gt(e,new Int32Array(e))}function Tt(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 kt(e){const t=0|(e<0?0:e);if(t<16777216){const e=Ct(1);return e.digits[0]=t,Tt(e)}{const e=Ct(2);for(let n=0;n<=1;n++)e.digits[n]=~~(t/Et(16777216,n))%16777216;return Tt(e)}}function At(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 It=kt(1),Dt=kt(0);function Pt(e){return e.bound-1}function Nt(e){return 0===e.bound}function Mt(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 Rt(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 Ft(e,t){return-1===Rt(e,t)}function Lt(e,t,n){for(;;){const r=e,o=t,i=n;if(!(Object(mt.a)(o,Object(mt.c)(0,0,!1))>0))break;{const c=Object(mt.i)(vt(r,i),o);jt(r,i,~~Object(mt.r)(Object(mt.j)(c,St))),e=r,t=Object(mt.k)(c,xt),n=i+1}}}function Bt(e,t){const n=0|yt(e),r=Ct(n+1),o=Object(mt.e)(t,!1,2);let i=Object(mt.c)(0,0,!1);for(let t=0;t<=n-1;t++){const n=Object(mt.i)(Object(mt.i)(i,vt(r,t)),Object(mt.n)(vt(e,t),o));jt(r,t,~~Object(mt.r)(Object(mt.j)(n,St))),i=Object(mt.k)(n,xt)}return Lt(r,i,n),Tt(r)}function Ut(e,t){const n=1===yt(e),r=1===yt(t);return n&&r?function(e,t){const n=Ct(2),r=Object(mt.n)(Object(mt.e)(e,!1,2),Object(mt.e)(t,!1,2));return jt(n,0,~~Object(mt.r)(Object(mt.j)(r,St))),jt(n,1,~~Object(mt.r)(Object(mt.k)(r,xt))),Tt(n)}(Ot(e,0),Ot(t,0)):n?Bt(t,Ot(e,0)):r?Bt(e,Ot(t,0)):function(e,t){const n=Ct(e.bound+t.bound),r=n.digits;for(let o=0;o<=e.bound-1;o++){const i=Object(mt.e)(e.digits[o],!1,2);let c=Object(mt.c)(0,0,!1),a=0|o;for(let e=0;e<=t.bound-1;e++){const n=Object(mt.e)(t.digits[e],!1,2),o=Object(mt.i)(Object(mt.i)(Object(mt.e)(r[a],!1,2),c),Object(mt.n)(i,n));r[a]=~~Object(mt.r)(Object(mt.j)(o,St)),c=Object(mt.k)(o,xt),a+=1}Lt(n,c,a)}return Tt(n)}(e,t)}class Gt 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 Vt(e,t,n,r){return new Gt(e,Et(2,e),t,n,r,~~(24/e),Object(et.l)(~~(24/e),t=>Et(2,e*t),Int32Array))}const Ht=[Vt(1,28,268435456,268435456),Vt(2,26,67108864,134217728),Vt(3,24,16777216,50331648),Vt(4,22,4194304,16777216),Vt(5,20,1048576,5242880),Vt(6,18,262144,1572864),Vt(7,16,65536,458752),Vt(8,14,16384,131072),Vt(9,12,4096,36864),Vt(10,10,1024,10240),Vt(11,8,256,2816),Vt(12,6,64,768),Vt(13,4,16,208)];Object(et.l)(24,e=>Et(2,e)-1,Int32Array),Object(et.l)(24,e=>Et(2,e),Int32Array),Object(et.l)(24,e=>_t(Object(mt.c)(2,0,!1),e));Ht[0].bigN;function Wt(e,t){return Ut(e,t)}function zt(e,t,n,r){const o=[e.digits,Pt(e)],i=o[0],c=[n.digits,Pt(n)],a=0|c[1],s=c[0],u=Object(mt.e)(t,!1,2);let l=0,f=Object(mt.n)(u,Object(mt.e)(s[0],!1,2));for(;Object(mt.a)(f,Object(mt.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(mt.r)(Object(mt.j)(f,St)),t=Object(mt.k)(f,xt);e<=i[l+r]?i[l+r]=i[l+r]-e:(i[l+r]=i[l+r]+(16777216-e),t=Object(mt.i)(t,Object(mt.c)(1,0,!1))),f=l<a?Object(mt.i)(t,Object(mt.n)(u,Object(mt.e)(s[l+1],!1,2))):t,l+=1}Tt(e)}function qt(e,t,n,r){const o=[e.digits,Pt(e)],i=o[0],c=[n.digits,Pt(n)],a=0|c[1],s=c[0],u=Object(mt.e)(t,!1,2);let l=0,f=Object(mt.n)(u,Object(mt.e)(s[0],!1,2));for(;Object(mt.a)(f,Object(mt.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(mt.r)(Object(mt.j)(f,St)),t=Object(mt.k)(f,xt);e<16777216-i[l+r]?i[l+r]=i[l+r]+e:(i[l+r]=e-(16777216-i[l+r]),t=Object(mt.i)(t,Object(mt.c)(1,0,!1))),f=l<a?Object(mt.i)(t,Object(mt.n)(u,Object(mt.e)(s[l+1],!1,2))):t,l+=1}Tt(e)}function Yt(e,t,n){const r=[Pt(t),Pt(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(mt.r)(Object(mt.k)(Object(mt.i)(Object(mt.n)(Object(mt.e)(l[o],!1,2),xt),Object(mt.e)(l[o-1],!1,2)),Object(mt.e)(f[0],!1,2))):o===i+n?~~(l[o]/(f[i]+1)):~~Object(mt.r)(Object(mt.k)(Object(mt.i)(Object(mt.n)(Object(mt.e)(l[o],!1,2),xt),Object(mt.e)(l[o-1],!1,2)),Object(mt.i)(Object(mt.e)(f[i],!1,2),Object(mt.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 Xt(e,t){if(Nt(t))throw new Error;if(Pt(e)<Pt(t))return[Dt,e];{const n=function(e){return new gt(e.bound,Object(et.d)(e.digits))}(e),r=Ct(Pt(e)-Pt(t)+1+1);let o=0|Pt(e);const i=0|Pt(t);let c=o-i|0;const a=e=>{};let s=!1;for(;!s;){a([r,n,c,o]);const e=0|Yt(n,t,c);e>0?(zt(n,e,t,c),qt(r,e,It,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[Tt(r),Tt(n)]}}kt(2);function Jt(e){return kt(e)}function Zt(e){return function(e){const t=Object(mt.a)(e,Object(mt.c)(0,0,!1))<0?Object(mt.c)(0,0,!1):e,n=Ct(3);for(let e=0;e<=2;e++)n.digits[e]=~~Object(mt.r)(Object(mt.m)(Object(mt.k)(t,_t(xt,e)),xt));return Tt(n)}(e)}function Kt(e){const t=0|Pt(e),n=(e,t,i,c)=>{e:for(;;){const a=e,s=t,u=i,l=c;if(null==l.tail){const e=0|At(u);return a&&0===e?s:new o.b(Object(r.q)(e),s)}{const r=l.tail,o=Xt(u,l.head[1]),f=o[1],d=o[0];if(a&&Nt(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(Pt(a)>t)return new o.b([c,a],i);e=new o.b([c,a],i),n=c+1,r=Wt(a,a)}})(new o.b,0,kt(10)));return null==i.tail?"0":Object(d.g)("",Array.from(i))}function Qt(e){return e.bound<=1}function en(e){const t=e;return 0<t.bound?0|t.digits[0]:0}n(22);class tn extends o.c{constructor(e,t){super(),this.signInt=e,this.v=t}toString(){const e=this;switch(0|on(e)){case-1:return Nt(cn(e))?"0":"-"+Kt(cn(e));case 0:return"0";case 1:return Kt(cn(e));default:throw new Error("signs should be +/- 1 or 0")}}Equals(e){return e instanceof tn&&an(this,e)}GetHashCode(){return 0|(0===on(e=this)?1:on(e)+function(e){let t=0;for(let n=0;n<=e.bound-1;n++)t=e.digits[n]+(t<<3);return 0|t}(cn(e))|0);var e}CompareTo(e){if(e instanceof tn)return 0|(sn(t=this,n=e)?-1:an(t,n)?0:1);throw new Error("the objects are not comparable\\nParameter name: obj");var t,n}}function nn(e,t){return new tn(e,t)}function rn(e){return Qt(e)&&en(e)<tn.smallLim?tn.smallPosTab[en(e)]:e}function on(e){return e.signInt}function cn(e){return e.v}function an(e,t){const n=[on(e),on(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 Mt(cn(e),cn(t));case 2:case 3:return!!Nt(cn(e))&&Nt(cn(t));case 4:return!0;case 5:case 6:return Nt(cn(t));case 7:case 8:return Nt(cn(e));case 9:throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}}function sn(e,t){const n=[on(e),on(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 Ft(cn(e),cn(t));case 1:return Ft(cn(t),cn(e));case 2:return!1;case 3:return!Nt(cn(e))||!Nt(cn(t));case 4:return!1;case 5:return!Nt(cn(t));case 6:case 7:return!1;case 8:return!Nt(cn(e));case 9:throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}}function un(e){return e>=0?nn(1,rn(Jt(e))):nn(-1,rn(-2147483648===e?Zt(Object(mt.p)(Object(mt.e)(e,!1,2))):Jt(Object(bt.b)(e))))}function ln(){return tn.one}function fn(){return tn.two}function dn(){return tn.zero}tn.smallLim=4096,tn.smallPosTab=Object(et.l)(tn.smallLim,e=>Jt(e)),tn.one=un(1),tn.two=un(2),tn.zero=un(0);dn(),ln(),fn();dn(),ln();var pn=n(20);function hn(e,t){const n=new Date(e);return n.offset=null!=t?t:-6e4*(new Date).getTimezoneOffset(),n}function $n(e,t){try{return t.contents=function(e){const t=Object(pn.f)(e),n=pn.e.exec(e),r=null==n?-6e4*t.getTimezoneOffset():"Z"===n[0]?0:36e5*parseInt(n[1],10)+6e4*parseInt(n[2],10);return hn(t.getTime(),r)}(e),!0}catch(e){return!1}}function bn(e){return e<0?Math.ceil(e):Math.floor(e)}function mn(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return gn(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 gn(e){return Object(mt.s)(Object(mt.k)(e,1e4))}r.h,r.h;function wn(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 bn(e/864e5)}(e)),i=Math.abs(function(e){return bn(e%864e5/36e5)}(e)),c=Math.abs(function(e){return bn(e%36e5/6e4)}(e)),a=Math.abs(function(e){return bn(e%6e4/1e3)}(e)),s=Math.abs(function(e){return bn(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 yn(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 mn(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*mn(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 On{constructor(e){this.k=e}}function vn(e){return new On(e)}function jn(e){return e.k}class _n extends On{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=r}}function En(e,t,n,r){return new _n(e,t,n,r)}function xn(e){return e.left}function Sn(e){return e.right}function Cn(e){return e.h}function Tn(e){return function e(t,n){e:for(;;){const r=t,o=n;if(null!=r){const i=r;if(i instanceof _n){t=xn(i),n=e(Sn(i),o+1);continue e}return o+1|0}return 0|o}}(e,0)}function kn(e,t,n){let r;if(null!=e){const t=e;r=t instanceof _n?Cn(t):1}else r=0;let o;if(null!=n){const e=n;o=e instanceof _n?Cn(e):1}else o=0;const i=0|(r<o?o:r);return 0===i?vn(t):En(t,e,n,i+1)}function An(e,t,n){let r,o,i,c,a;if(null!=e){const t=e;a=t instanceof _n?Cn(t):1}else a=0;let s;if(null!=n){const e=n;s=e instanceof _n?Cn(e):1}else s=0;if(s>a+2){const i=Object(u.i)(n);if(i instanceof _n){if(r=xn(i),(null!=r?(o=r,o instanceof _n?Cn(o):1):0)>a+1){const n=Object(u.i)(xn(i));if(n instanceof _n)return kn(kn(e,t,xn(n)),jn(n),kn(Sn(n),jn(i),Sn(i)));throw new Error("internal error: Set.rebalance")}return kn(kn(e,t,xn(i)),jn(i),Sn(i))}throw new Error("internal error: Set.rebalance")}if(a>s+2){const r=Object(u.i)(e);if(r instanceof _n){if(i=Sn(r),(null!=i?(c=i,c instanceof _n?Cn(c):1):0)>s+1){const e=Object(u.i)(Sn(r));if(e instanceof _n)return kn(kn(xn(r),jn(r),xn(e)),jn(e),kn(Sn(e),t,n));throw new Error("internal error: Set.rebalance")}return kn(xn(r),jn(r),kn(Sn(r),t,n))}throw new Error("internal error: Set.rebalance")}return kn(e,t,n)}function In(e,t,n){if(null!=n){const r=n,o=0|e.Compare(t,jn(r));if(r instanceof _n)return o<0?An(In(e,t,xn(r)),jn(r),Sn(r)):0===o?n:An(xn(r),jn(r),In(e,t,Sn(r)));{const o=0|e.Compare(t,jn(r));return o<0?En(t,void 0,n,2):0===o?n:En(t,n,void 0,2)}}return vn(t)}function Dn(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const c=i,a=0|r.Compare(o,jn(c));if(c instanceof _n){if(a<0){e=r,t=o,n=xn(c);continue e}if(0===a)return!0;e=r,t=o,n=Sn(c);continue e}return 0===a}return!1}}function Pn(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof _n){Pn(n,xn(o)),n(jn(o)),e=n,t=Sn(o);continue e}n(jn(o))}break}}class Nn extends o.c{constructor(e,t){super(),this.stack=e,this.started=t}}function Mn(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 _n){e=new o.b(xn(i),new o.b(vn(jn(i)),new o.b(Sn(i),r)));continue e}return t}e=r}}}function Rn(e){return new Nn(Mn(new o.b(e,new o.b)),!1)}function Fn(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 jn(t.head)}throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function Ln(e){let t=Rn(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Fn(t),"System.Collections.IEnumerator.get_Current":()=>Fn(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 _n)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Mn(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=Rn(e)},Dispose(){}}}function Bn(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 _n)if(null==xn(s)){if(!(u instanceof _n)){const i=0|r.Compare(jn(s),jn(u));if(0!==i)return 0|i;e=r,t=new o.b(Sn(s),a[0].tail),n=new o.b(void 0,a[1].tail);continue e}if(null==xn(u)){const i=0|r.Compare(jn(s),jn(u));if(0!==i)return 0|i;e=r,t=new o.b(Sn(s),a[0].tail),n=new o.b(Sn(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 _n){e=r,t=new o.b(xn(l),new o.b(En(jn(l),void 0,Sn(l),0),u)),n=c;continue e}e=r,t=new o.b(void 0,new o.b(vn(jn(l)),u)),n=c;continue e;case 1:if(d instanceof _n){e=r,t=i,n=new o.b(xn(d),new o.b(En(jn(d),void 0,Sn(d),0),f));continue e}e=r,t=i,n=new o.b(void 0,new o.b(vn(jn(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 _n){e=r,t=new o.b(xn(l),new o.b(En(jn(l),void 0,Sn(l),0),u)),n=c;continue e}e=r,t=new o.b(void 0,new o.b(vn(jn(l)),u)),n=c;continue e;case 1:if(d instanceof _n){e=r,t=i,n=new o.b(xn(d),new o.b(En(jn(d),void 0,Sn(d),0),f));continue e}e=r,t=i,n=new o.b(void 0,new o.b(vn(jn(d)),f));continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(u instanceof _n)){const o=0|r.Compare(jn(s),jn(u));if(0!==o)return 0|o;e=r,t=a[0].tail,n=a[1].tail;continue e}if(null==xn(u)){const i=0|r.Compare(jn(s),jn(u));if(0!==i)return 0|i;e=r,t=new o.b(void 0,a[0].tail),n=new o.b(Sn(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 _n){e=r,t=new o.b(xn(l),new o.b(En(jn(l),void 0,Sn(l),0),u)),n=c;continue e}e=r,t=new o.b(void 0,new o.b(vn(jn(l)),u)),n=c;continue e;case 1:if(d instanceof _n){e=r,t=i,n=new o.b(xn(d),new o.b(En(jn(d),void 0,Sn(d),0),f));continue e}e=r,t=i,n=new o.b(void 0,new o.b(vn(jn(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 _n){e=r,t=new o.b(xn(f),new o.b(En(jn(f),void 0,Sn(f),0),l)),n=c;continue e}e=r,t=new o.b(void 0,new o.b(vn(jn(f)),l)),n=c;continue e;case 1:if(p instanceof _n){e=r,t=i,n=new o.b(xn(p),new o.b(En(jn(p),void 0,Sn(p),0),d));continue e}e=r,t=i,n=new o.b(void 0,new o.b(vn(jn(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 _n){e=r,t=new o.b(xn(f),new o.b(En(jn(f),void 0,Sn(f),0),l)),n=c;continue e}e=r,t=new o.b(void 0,new o.b(vn(jn(f)),l)),n=c;continue e;case 1:if(p instanceof _n){e=r,t=i,n=new o.b(xn(p),new o.b(En(jn(p),void 0,Sn(p),0),d));continue e}e=r,t=i,n=new o.b(void 0,new o.b(vn(jn(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 Un(e,t,n){let r=0|n;Pn(e=>{t[r]=e,r+=1},e)}function Gn(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=In(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i}}(e,void 0,n)}finally{n.Dispose()}}class Vn{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 Vn&&0===Bn(Wn(this),zn(this),zn(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|Bn(Wn(this),zn(this),zn(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 Dn(Wn(this),e,zn(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){Un(zn(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|qn(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|qn(this)}GetEnumerator(){return Ln(zn(this))}[Symbol.iterator](){return Object(f.C)(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Ln(zn(this))}get size(){return 0|qn(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 Yn(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 Hn(e,t){return new Vn(e,t)}function Wn(e){return e.comparer}function zn(e){return e.tree}function qn(e){return Tn(zn(e))}function Yn(e,t){return Dn(Wn(e),t,zn(e))}function Xn(e,t){return Hn(t,Gn(t,e))}function Jn(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 Zn(e,t){const n=2===t.tag?Jn(t.fields[0],t.fields[1],!0):1===t.tag?Jn(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?Jn(t.fields[0],t.fields[1],!0):4===t.tag?Jn(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]:Jn(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}function Kn(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new J.e(1,Zn(e[0],e[1]))}return new J.e(0,r.fields[0])}function Qn(e,t){try{return Kn("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new J.e(1,"Given an invalid JSON: "+e.message);throw e}}const er=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 ut(1,"a sbyte",e,"Value was either too large or too small for a sbyte")]):new J.e(1,[n,new ut(1,"a sbyte",e,"Value is not an integral value")])}if("string"==typeof r){let e,t=0;return e=[Object(bt.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 ut(0,"a sbyte",r)])}return new J.e(1,[n,new ut(0,"a sbyte",r)])},tr=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 ut(1,"a byte",e,"Value was either too large or too small for a byte")]):new J.e(1,[n,new ut(1,"a byte",e,"Value is not an integral value")])}if("string"==typeof r){let e,t=0;return e=[Object(bt.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 ut(0,"a byte",r)])}return new J.e(1,[n,new ut(0,"a byte",r)])},nr=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 ut(1,n,e,"Value was either too large or too small for "+n)]):new J.e(1,[r,new ut(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Object(bt.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 ut(0,n,i)])}return new J.e(1,[r,new ut(0,n,i)])},rr=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 ut(1,n,e,"Value was either too large or too small for "+n)]):new J.e(1,[r,new ut(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Object(bt.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 ut(0,n,i)])}return new J.e(1,[r,new ut(0,n,i)])},or=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 ut(1,"an int",e,"Value was either too large or too small for an int")]):new J.e(1,[n,new ut(1,"an int",e,"Value is not an integral value")])}if("string"==typeof r){let e,t=0;return e=[Object(bt.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 ut(0,"an int",r)])}return new J.e(1,[n,new ut(0,"an int",r)])},ir=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 ut(1,n,e,"Value was either too large or too small for "+n)]):new J.e(1,[r,new ut(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Object(bt.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 ut(0,n,i)])}return new J.e(1,[r,new ut(0,n,i)])};function cr(e,t){if("string"==typeof t){let n,r=hn(-621355968e5,0);return n=[$n(t,new o.a(()=>r,e=>{r=e})),r],n[0]?new J.e(0,n[1]):new J.e(1,[e,new ut(0,"a datetimeoffset",t)])}return new J.e(1,[e,new ut(0,"a datetime",t)])}function ar(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 ut(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 ut(0,"an array",o)])}function sr(e,t,n){if(Array.isArray(n)){let o=-1;return Object(J.g)(e=>Object(l.r)(e),Object(et.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 ut(0,"a list",n)])}function ur(e,t,n){if(Array.isArray(n)){let o=-1;const i=n;return Object(et.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(et.g)(new Array(i.length),0,i.length,null)),i)}return new J.e(1,[t,new ut(0,"an array",n)])}function lr(e,t,n){return new J.e(0,e)}function fr(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 dr(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 pr(e,t){let n;const o=e;return n=e=>t=>ar(0,o,e,t),e=>o=>fr(Object(r.F)(3,e=>{let n;const o=t;return n=e=>t=>ar(1,o,e,t),t=>o=>fr((t,n,r)=>lr([e,t]),Object(r.F)(2,n),t,o)}),Object(r.F)(2,n),e,o)}function hr(e){return B(e)}function $r(e,t,n,o){let i,c;return t.length!==o.length?new J.e(1,[n,new ut(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(et.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 br(e,t,n,r,o,c){const a=Object(et.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),$r("union fields",Object(et.m)(n=>gr(e,t,!1,n[1]),Object(i.p)(n)),o,c))}return new J.e(1,[o,new ut(6,"Cannot find case "+r+" in "+Object(i.f)(n))])}function mr(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(et.m)(e=>[ht(t,Object(i.E)(e)),gr(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 ut(0,"an object",n)]):Object(et.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 br(s,t,c,n,e,[]);if(Array.isArray(n)){const r=n;return br(s,t,c,r[0],e,r.slice(1,r.length))}return new J.e(1,[e,new ut(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 ut(2,"an extra coder for "+Object(i.f)(c),t)])}return a.contents=u,u}function gr(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=gr(e,t,!1,Object(i.g)(c));return e=>t=>ur(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=er(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 ut(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=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 ut(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=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.p)(e))):new J.e(1,[o,new ut(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=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 ut(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=or(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 ut(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=ir(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 ut(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(et.m)(n=>gr(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),$r("tuple elements",n,e,t)):new J.e(1,[e,new ut(0,"an array",t)])}{const o=Object(i.f)(Object(i.j)(c));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===o){const n=gr(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=gr(e,t,!1,Object(i.k)(c)[0]);return e=>t=>sr(Object(r.F)(2,n),e,t)}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===o){const n=gr(e,t,!1,Object(i.k)(c)[0]),o=gr(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 ut(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=pr(Object(r.F)(2,n),Object(r.F)(2,o)),e=>t=>sr(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 ut(7,c)]);{const a=Kn(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=>dr(e=>hr(e),Object(r.F)(2,s),e,t)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===o){const n=gr(e,t,!1,Object(i.k)(c)[0]);return e=>t=>{const o=ur(Object(r.F)(2,n),e,t);return 0===o.tag?new J.e(0,Xn(o.fields[0],{Compare:(e,t)=>Object(r.e)(e,t)})):new J.e(1,o.fields[0])}}return mr(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 ut(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 ut(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 ut(0,"a string",r)]);var n,r}:"System.SByte"===s?er:"System.Byte"===s?tr:"System.Int16"===s?nr:"System.UInt16"===s?rr:"System.Int32"===s?or:"System.UInt32"===s?ir:"System.Double"===s?e=>t=>{return n=e,"number"==typeof(r=t)?new J.e(0,r):new J.e(1,[n,new ut(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 ut(0,"a float32",r)]);var n,r}:"System.DateTime"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r=Object(pn.d)();return n=[Object(pn.i)(t,new o.a(()=>r,e=>{r=e})),r],n[0]?new J.e(0,Object(pn.h)(n[1])):new J.e(1,[e,new ut(0,"a datetime",t)])}return new J.e(1,[e,new ut(0,"a datetime",t)])}(e,t):"System.DateTimeOffset"===s?e=>t=>cr(e,t):"System.TimeSpan"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[yn(t,new o.a(()=>r,e=>{r=e})),r],n[0]?new J.e(0,n[1]):new J.e(1,[e,new ut(0,"a timespan",t)])}return new J.e(1,[e,new ut(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($t.b)(t,new o.a(()=>r,e=>{r=e})),r],n[0]?new J.e(0,n[1]):new J.e(1,[e,new ut(0,"a guid",t)])}return new J.e(1,[e,new ut(0,"a guid",t)])}(e,t):"System.Object"===s?e=>e=>new J.e(0,e):mr(e,t,n,c)}{const e=p;return t=>n=>e.contents(t)(n)}}function wr(e){return null!=e?z((e,t)=>new o.a(t[1]),e.Coders):q()}function yr(e,t,n){const r=Object(u.b)(e,new lt(0)),o=Object(u.i)(n).ResolveType();return gr(wr(t),r,!1,o)}const Or=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 vr(e,t){if(t>=0&&t<e.length)return e.charCodeAt(t);throw new Error("Index out of range.")}const jr=e=>function(e,t){return 0!=(1<<_r(e,t)&256)}(e,0);function _r(e,t){const n=vr(e,t);return Or(n)}o.d;o.c;o.d;o.d;o.c;o.d;o.c;o.d;o.d;class Er extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HELP","VETStudentLoan","FinancialSupplement","StudentStartUpLoan","TradeSupportLoan"]}}class xr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["AustralianResidentForTaxPurposes","ForeignResidentForTaxPurposes","WorkingHolidayMaker"]}}class Sr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["FullTime","PartTime","LabourHire","SuperIncomeStream","Casual"]}}class Cr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Tfn"]}}class Tr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Under18AndBelowTaxThreshold","Pending","Pensioner"]}}o.d;class kr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PreviousSurname"]}}function Ar(e){return new kr(0,e)}function Ir(e){return e.fields[0]}o.c;o.d;o.d;o.d;function Dr(e,t){return function(e,t,n){for(;;){const r=e,o=t,i=n;if(null==i.tail)return r;{const c=Ve(0,()=>Object(J.f)(e=>He(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 Pr(e){return Ve(0,()=>{const t=Object(d.b)(e=>jr(e),e);return Object(J.f)(()=>Object(J.f)(()=>He(0,Q(0,"TFN is not valid",Object(et.r)(Object(et.n)((e,t)=>e*t,Object(et.m)(e=>Object(bt.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 Nr(e){return Ve(0,()=>Object(J.f)(e=>{const t=e;return He(0,ee("TFN must not contain all zeros",Object(et.f)(["0"],t.split(""),{Equals:(e,t)=>e===t,GetHashCode:e=>Object(r.D)(e)})),()=>t)},Pr(e)))()}function Mr(e){switch(e){case 0:return new J.e(0,new xr(0));case 1:return new J.e(0,new xr(1));case 2:return new J.e(0,new xr(2));default:return new J.e(1,"Invalid ResidencyStatus")}}function Rr(e){switch(e.tag){case 1:return 1;case 2:return 2;default:return 0}}function Fr(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));case 3:return new J.e(0,new Sr(3));case 4:return new J.e(0,new Sr(4));default:return new J.e(1,"Invalid EmploymentBasis")}}function Lr(e){switch(e.tag){case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;default:return 0}}const Br=e=>Dr(e=>function(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 DebtSupport")}}(e),Object(l.f)(e,{Equals:(e,t)=>e===t,GetHashCode:e=>Object(r.w)(e)})),Ur=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 Gr(e){switch(e){case 0:return new J.e(0,new Tr(0));case 1:return new J.e(0,new Tr(1));case 2:return new J.e(0,new Tr(2));default:return new J.e(1,"Invalid ExemptionReason")}}function Vr(e){switch(e.tag){case 1:return 1;case 2:return 2;default:return 0}}class Hr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Tfn","Exempted"]}}function Wr(){return Object(i.L)("Dto.Dto.ProvidedTfnInformationDto",[],Hr,()=>[[["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 zr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TfnTruncated","Exempted"]}}class qr 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 Yr extends o.c{constructor(e,t){super(),this.Meta=e,this.Data=t}}function Xr(){return Object(i.I)("Dto.BackendApiModels.Read.TfnDeclarationDetailsWithMeta",[],Yr,()=>[["Meta",Object(i.a)(["AccountId",i.J])],["Data",Object(i.G)(Object(i.I)("Dto.BackendApiModels.Read.TfnDeclarationDetails",[],qr,()=>[["TfnInformation",Object(i.L)("Dto.BackendApiModels.Read.TfnInformation",[],zr,()=>[[["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 Jr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Create","ChangeTfnInformation","ChangePreviousSurname","ChangeResidencyStatus","ChangeEmploymentBasis","ChangeTaxFreeThresholdClaimed","ChangeDebtSupport"]}}function Zr(e){return Array.from(e)}function Kr(e){return String(e)}function Qr(e){return String(e)}function eo(e){return String(e)}function to(e){return String(e)}function no(){return null}function ro(e,t){return JSON.stringify(t,Object(r.F)(2,null),Object(u.f)(e))}function oo(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(et.m)(e=>{const r=ht(t,Object(i.E)(e)),o=io(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(et.g)(new Array(e+1),0,e+1,null);c[0]=Object(i.E)(o);for(let o=1;o<=e;o++){const e=io(s,t,n,r[o-1][1]);c[o]=e(a[o-1])}return c}}}return a.contents=u,u}function io(e,t,n,o){const c=Object(i.f)(o),a=W(c,e);if(null==a){if(Object(i.t)(o)){const r=io(e,t,n,Object(i.g)(o));return e=>Zr(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=>Kr(e);if("System.Byte"===e)return e=>Qr(e);if("System.Int16"===e)return e=>eo(e);if("System.UInt16"===e)return e=>to(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(et.m)(r=>io(e,t,n,r),Object(i.n)(o));return e=>Zr(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=io(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=io(e,t,n,Object(i.k)(o)[0]);return e=>Zr(Object(f.p)(r,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===c){const r=Object(i.k)(o)[0],c=io(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=io(e,t,n,r);return o=e=>i(e),e=>Zr(Object(f.p)(e=>{const t=e;return[o(t[0]),c(t[1])]},e))}}return oo(e,t,n,o)}}return"System.Boolean"===c?e=>e:"Microsoft.FSharp.Core.Unit"===c?no:"System.String"===c?e=>e:"System.SByte"===c?e=>Kr(e):"System.Byte"===c?e=>Qr(e):"System.Int16"===c?e=>eo(e):"System.UInt16"===c?e=>to(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(pn.g)(t,"O",{});var t}:"System.DateTimeOffset"===c?e=>{return t=e,Object(pn.g)(t,"O",{});var t}:"System.TimeSpan"===c?e=>wn(e):"System.Guid"===c?e=>e:"System.Object"===c?e=>e:oo(e,t,n,o)}{const e=a;return t=>e.contents(t)}}function co(e){return null!=e?z((e,t)=>new o.a(t[0]),e.Coders):q()}function ao(e,t,n,r,o,i){return ro(e,function(e,t,n,r){const o=Object(u.b)(e,new lt(0)),i=Object(u.b)(n,!0),c=Object(u.i)(r).ResolveType();return io(co(t),o,i,c)}(n,r,o,i)(t))}function so(e){return Object(d.l)(Object(d.h)("%s/tfn-declaration/backend"))(e)}function uo(e,t){return qe(0,()=>{const n=it((r=Object(d.l)(Object(d.h)("Bearer %s"))(e),new Xe(0,"Authorization",r)),t);var r;const o=s.g.Bind(at(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(at(n),e=>s.g.Return(new J.e(0,e))):ze(0,t)))}))})}const lo=e=>{return t=e,n=new lt(1),o=void 0,i={ResolveType:Xr},Qn(Object(r.F)(2,yr(n,o,i)),t);var t,n,o,i};function fo(e,t){return qe(0,()=>{const n=uo(e,ot(new Ye(0),rt(so(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(lo(t.responseText)):s.g.Return(new J.e(1,"Unexpected response from backend"))))}))})}function po(e,t,n){return qe(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=qe(0,()=>ze(0,d));break;case 1:o=fo(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 Ve(0,()=>Object(J.f)(n=>{const o=n,i=Object(u.d)(e=>Ir(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=Ur(e.DebtSupportCheckboxGroup),h=t.Data;if(null!=h){const e=h;return Ge(0,Object(l.a)(0===o.tag?Object(l.g)():1===o.fields[0].tag?(s=0|Vr(o.fields[0].fields[0]),u=e.TfnInformation,1===u.tag&&u.fields[0]===s?Object(l.g)():Object(l.s)(new Jr(1,new Hr(1,s)))):Object(l.s)(new Jr(1,new Hr(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 Jr(2,i)),Object(f.g)(()=>Object(f.a)(c!==e.ResidencyStatus?Object(f.y)(new Jr(3,c)):Object(f.h)(),Object(f.g)(()=>Object(f.a)(a!==e.EmploymentBasis?Object(f.y)(new Jr(4,a)):Object(f.h)(),Object(f.g)(()=>Object(f.a)(d!==e.IsTaxFreeThresholdClaimed?Object(f.y)(new Jr(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 Jr(6,p))))))))))))))}return He(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 Hr(1,Vr(o.fields[0].fields[0]))):new J.e(0,new Hr(0,o.fields[0].fields[0].fields[0])),e=>Object(l.s)(new Jr(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=>Lr(e),e.EmploymentBasisRadioButtonGroup.Value)))},K("missing residency status",Object(u.d)(e=>Rr(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?ze(0,c):(o=uo(t,(a=ct(new Je(1,ao(0,r,new lt(1),void 0,void 0,{ResolveType:()=>Object(i.A)(Object(i.L)("Dto.Commands.TfnDeclarationCommandDto",[],Jr,()=>[[["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",Wr()])]],[["Item",Wr()]],[["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]]))]]]))})),ot(new Ye(2),rt(so(n)))),it(new Xe(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(lo(t.responseText)):s.g.Return(new J.e(1,"Unexpected response from backend"))))})))))}))))}))})}class ho{constructor(){}}function $o(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 bo=new ho;class mo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class go{constructor(e){this.state=new mo(0,Object(et.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 wo(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 mo(0,o,n):new mo(1,o,n,i),Object(u.f)(o[r])}}function yo(e,t,n){const o=Object(c.m)(e[0]),i=Object(c.m)(new go(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=$o(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)}(bo,()=>{let e;return null!=n&&(e=d.current,!Object(a.f)(e))},$o(0,()=>{const e=t(Object(u.i)(n),o.current);return Object(l.m)(e=>{e(b)},e[1]),n=wo(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)(wo(i.current)))}),[s[0],m]}class Oo extends o.c{constructor(e,t){super(),this.Value=e,this.Meta=t}}function vo(){return new Oo(void 0,{Valid:!1})}function jo(e){return new Oo(e,{Valid:!0})}function _o(e){return Object(ce.createElement)("div",{className:"mb-2",children:Me.a.Children.toArray([Object(ce.createElement)("strong",{children:[e]})])})}function Eo(e,t){return Object(ce.createElement)("div",{className:"mb-2",children:Me.a.Children.toArray([Object(ce.createElement)("span",{className:"mr-2",children:Me.a.Children.toArray([Object(ce.createElement)("strong",{children:[e]})])}),t])})}class xo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Yes","No"]}}class So extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Select","SelectInternal"]}}class Co extends o.c{constructor(e,t){super(),this.Selected=e,this.Meta=t}}function To(e){return new Co(e,{Touched:!1})}function ko(e,t){return 1===e.tag?e.fields[1]||!t.Meta.Touched?new Co(e.fields[0],t.Meta):t:new Co(e.fields[0],{Touched:!0})}function Ao(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:Me.a.Children.toArray([Object(ce.createElement)("input",{type:"radio",name:"yesNoButtonGroup",onClick:t=>{e.Parent.Dispatch(new So(0,e.Selection))},disabled:Object(r.o)(e.Parent.Disable,e.Selection)}),Object(o.e)(e.Selection)])})}function Io(e){return Object(ce.createElement)("div",{className:"row",children:Me.a.Children.toArray([Object(ce.createElement)("div",{className:Object(d.g)(" ",["btn-group","btn-group-toggle","col-12","col-sm-6"]),children:Me.a.Children.toArray([Ao({Parent:e,Selection:new xo(0)}),Ao({Parent:e,Selection:new xo(1)})])})])})}var Do=n(16);class Po extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Select"]}}class No extends o.c{constructor(e){super(),this.Selected=e}}function Mo(e,t,n){const r=function(e,t){return new No(e.fields[0])}(t);return e(new Oo(r.Selected,{Valid:null!=r.Selected})),[r,Object(Do.g)()]}function Ro(e){const t=yo((n=e.InitialValue,[new No(n),Object(Do.g)()]),(t,n)=>Mo(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:Me.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 Po(0,r))}}),Object(ce.createElement)("label",{className:"form-check-label",for:r,children:n[1]})])}))},e.ValueLabelPairs)));return Object(ce.createElement)("div",{children:Me.a.Children.toArray(Array.from(r))})}class Fo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SetText","SetTouched"]}}class Lo extends o.c{constructor(e,t){super(),this.Text=e,this.Meta=t}}function Bo(e,t,n,r){const o=function(e,t,n){if(1===t.tag)return new Lo(n.Text,{Touched:!0,Valid:n.Meta.Valid});{const r=t.fields[0];return new Lo(r,{Touched:n.Meta.Touched,Valid:e(r)})}}(t,n,r);return e(new Oo(o.Text,{Valid:o.Meta.Valid})),[o,Object(Do.g)()]}class Uo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Number","Text"]}}function Go(e){const t=yo(function(e,t){const n=Object(u.b)(e,"");return[new Lo(n,{Touched:!1,Valid:t(n)}),Object(Do.g)()]}(e.InitialValue,e.Validator),(t,n)=>Bo(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 Fo(0,1===e.InputType.tag?n:Object(d.b)(e=>jr(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 Fo(1))}]),Object(f.g)(()=>Object(r.o)(e.InputType,new Uo(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:Me.a.Children.toArray(Array.from(i))})}class Vo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["YesNoButtonGroupMsg","SetTfnInput","SetTfnExemptionReason","SwitchEditingState","HideAlert"]}}class Ho extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Tfn","Exempted"]}}class Wo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TfnTruncated","TfnValue"]}}class zo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Truncated","Editing"]}}class qo extends o.c{constructor(e,t,n,r){super(),this.YesNoButtonGroup=e,this.TruncatedTfn=t,this.CurrentAlert=n,this.EditingState=r}}function Yo(e){const t=e.EditingState;if(1===t.tag){const e=t.fields[0];return new Oo(Object(u.d)(e=>new Wo(1,e),e.Value),e.Meta)}return new Oo(new Wo(0,Object(u.h)(e.TruncatedTfn)),{Valid:!0})}const Xo=e=>Z(Nr(e));function Jo(e){const t=e.EditingState;if(1===t.tag){const n=t.fields[0],r=n.Value;if(null==r)return new qo(e.YesNoButtonGroup,e.TruncatedTfn,e.CurrentAlert,new zo(1,new Oo(n.Value,{Valid:!1})));if(1===r.tag)return new qo(e.YesNoButtonGroup,e.TruncatedTfn,e.CurrentAlert,new zo(1,new Oo(n.Value,{Valid:!0})));{const t=r.fields[0].fields[0];return new qo(e.YesNoButtonGroup,e.TruncatedTfn,e.CurrentAlert,new zo(1,new Oo(n.Value,{Valid:Xo(t)})))}}return e}function Zo(e,t){let n,r,o,i,c,a,s,l,f,d;return Jo(1===e.tag?(n=e.fields[0],r=Object(u.d)(e=>new Ho(0,new Cr(0,e)),n.Value),t.EditingState.tag,new qo(t.YesNoButtonGroup,t.TruncatedTfn,t.CurrentAlert,new zo(1,new Oo(r,n.Meta)))):2===e.tag?(o=e.fields[0],i=Object(u.d)(e=>new Ho(1,e),Object(u.a)(e=>function(e){switch(e){case"Under18AndBelowTaxThreshold":return new Tr(0);case"Pending":return new Tr(1);case"Pensioner":return new Tr(2);default:return}}(e),o.Value)),t.EditingState.tag,new qo(t.YesNoButtonGroup,t.TruncatedTfn,t.CurrentAlert,new zo(1,new Oo(i,o.Meta)))):3===e.tag?1===t.EditingState.tag?new qo(t.YesNoButtonGroup,t.TruncatedTfn,t.CurrentAlert,new zo(0)):new qo(t.YesNoButtonGroup,t.TruncatedTfn,new Re(2,"Please click the Save and continue button at the end of\n this form to save the changes to your TFN."),new zo(1,vo())):4===e.tag?new qo(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 zo(1,vo())):new zo(1,vo()):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 zo(0)):new zo(1,vo())):new zo(0),new qo(ko(c,t.YesNoButtonGroup),t.TruncatedTfn,t.CurrentAlert,a)))}function Ko(e){const t=yo(function(e){let t,n,r;return[Jo(new qo(To(null!=e&&1===e.tag&&1===e.fields[0].tag?new xo(1):new xo(0)),(t=e,null!=t&&0===t.tag?(n=t.fields[0],n):void 0),void 0,null==e?new zo(1,vo()):1===e.tag?(r=e.fields[0],new zo(1,new Oo(r,{Valid:!1}))):new zo(0))),Object(Do.g)()]}(e.InitialValue),(t,n)=>function(e,t,n){const r=Zo(t,n);return e(Yo(r)),[r,Object(Do.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:Me.a.Children.toArray([Object(ce.createElement)("button",{className:Object(d.g)(" ",["btn","btn-secondary"]),type:"button",children:Object(r.o)(n.EditingState,new zo(0))?"Change":"Cancel",onClick:e=>{i(new Vo(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)(Be,{alert:t,hideAlert:()=>{i(new Vo(4))}})))),Object(f.g)(()=>Object(f.a)(Object(f.y)(_o("Do you have your TFN?")),Object(f.g)(()=>Object(f.a)(Object(f.y)(Object(ce.createElement)(Io,{Disable:void 0,Dispatch:e=>{i(new Vo(0,e))},State:n.YesNoButtonGroup})),Object(f.g)(()=>Object(f.y)(Object(ce.createElement)("div",{className:"mt-2",children:Me.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)(Ro,(e=Object(l.o)(e=>[Object(o.e)(e[0]),e[1]],Object(l.p)([[new Tr(1),"My TFN is pending"],[new Tr(0),"I'm under 18 and don't have a TFN"],[new Tr(2),"I have an exemption from quoting a TFN (such as receiving a social security or service pension)"]])),{InitialValue:(t=Yo(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 Vo(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:Me.a.Children.toArray([Object(ce.createElement)("div",{className:Object(d.g)(" ",["col","col-sm-4"]),children:Me.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:Me.a.Children.toArray([Object(ce.createElement)("div",{className:Object(d.g)(" ",["col","col-sm-4"]),children:Me.a.Children.toArray([Object(ce.createElement)(Go,{InitialValue:void 0,InputType:new Uo(0),InvalidFeedback:"Please enter a valid tax file number",OnUpdate:e=>{i(new Vo(1,e))},Validator:Xo})])}),c])}))))}}}))))}))))))))}));return Object(ce.createElement)("div",{children:Me.a.Children.toArray(Array.from(a))})}class Qo 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 ei 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 ti extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Web","ReactNative","WebComponent"]}}function ni(){const e=document.URL.split("/"),t=Object(et.c)("web",e,{Equals:(e,t)=>e===t,GetHashCode:e=>Object(r.D)(e)}),n=Object(et.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 ti(2,o[0]));case 1:return new J.e(0,new ti(0));case 2:return new J.e(0,new ti(1));case 3:return new J.e(1,"Could not determine the embed mode")}}var ri=n(30);function oi(e,t){switch(e.tag){case 1:return[new ei(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,e.fields[0],t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(Do.g)()];case 2:{const n=Object(u.a)(e=>function(e){switch(e){case"AustralianResidentForTaxPurposes":return new xr(0);case"ForeignResidentForTaxPurposes":return new xr(1);case"WorkingHolidayMaker":return new xr(2);default:return}}(e),e.fields[0].Value);return[new ei(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,new Oo(n,{Valid:null!=n}),t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),null==n?Object(Do.g)():1===n.tag?Object(Do.a)(new Qo(3,new So(1,new xo(1),!1))):2===n.tag?Object(Do.a)(new Qo(3,new So(1,new xo(1),!0))):Object(Do.a)(new Qo(3,new So(1,new xo(0),!1)))]}case 3:return[new ei(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,ko(e.fields[0],t.ClaimTaxFreeThreshold),t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(Do.g)()];case 4:return[new ei(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,e.fields[0],t.EmploymentBasisRadioButtonGroup),Object(Do.g)()];case 5:{const n=Object(u.a)(e=>function(e){switch(e){case"FullTime":return new Sr(0);case"PartTime":return new Sr(1);case"LabourHire":return new Sr(2);case"SuperIncomeStream":return new Sr(3);case"Casual":return new Sr(4);default:return}}(e),e.fields[0].Value);return[new ei(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,new Oo(n,{Valid:null!=n})),Object(Do.g)()]}case 6:{const n=e.fields[0],r=new ei(n,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),o=Object(Do.a)(new Qo(7,new Re(1,"There was an error loading your tax declaration. Please try refreshing this page.")));!function(){const e=ni();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(Do.a)(new Qo(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 Ve(0,()=>{let n;return Object(J.f)(n=>Object(J.f)(r=>{const o=t.IsTaxFreeThresholdClaimed?new xo(0):new xo(1);return Object(J.f)(i=>He(0,Fr(t.EmploymentBasis),c=>new ei(e.PreExistingTfnDec,e.CurrentAlert,jo(n),jo(Object(u.d)(e=>Ar(e),t.PreviousSurname)),jo(r),To(o),i,jo(c))),Br(t.HasDebtSupport))},Mr(t.ResidencyStatus)),(n=t.TfnInformation,1===n.tag?Object(J.g)(e=>new Wo(1,new Ho(1,e)),Gr(n.fields[0])):new J.e(0,new Wo(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 ei(t.PreExistingTfnDec,e.fields[0],t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(Do.g)()];case 8:return[new ei(t.PreExistingTfnDec,void 0,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(Do.g)()];case 9:return[new ei(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(Do.g)()];case 10:return function(){const e=ni();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(Do.g)()];default:return[new ei(t.PreExistingTfnDec,t.CurrentAlert,e.fields[0],t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(Do.g)()]}}class ii extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["YesNoButtonGroupMsg","SetPreviousSurname"]}}class ci extends o.c{constructor(e,t){super(),this.YesNoButtonGroup=e,this.Data=t}}function ai(e){return!Object(d.f)(e)}function si(e){const t=e.YesNoButtonGroup.Selected;return null==t?new ci(e.YesNoButtonGroup,new Oo(e.Data.Value,{Valid:!1})):1===t.tag?new ci(e.YesNoButtonGroup,new Oo(e.Data.Value,{Valid:!0})):new ci(e.YesNoButtonGroup,new Oo(e.Data.Value,{Valid:Object(u.b)(Object(u.d)(e=>ai(e.fields[0]),e.Data.Value),!1)}))}function ui(e,t,n){const r=function(e,t){let n,r,o;return si(1===e.tag?(n=e.fields[0],new ci(t.YesNoButtonGroup,new Oo(Object(u.d)(e=>new kr(0,e),n.Value),{Valid:n.Meta.Valid}))):(r=e.fields[0],r.tag,o=1===r.fields[0].tag?new Oo(void 0,t.Data.Meta):t.Data,new ci(ko(r,t.YesNoButtonGroup),o)))}(t,n);return e(r.Data),[r,Object(Do.g)()]}function li(e){const t=yo((n=e.InitialValue,[si(new ci(To(new xo(null!=n?0:1)),new Oo(n,{Valid:!1}))),Object(Do.g)()]),(t,n)=>ui(e.OnUpdate,t,n),[]);var n;const r=t[0],o=t[1],i=Object(l.p)([_o("Have you changed your surname since you last dealt with the Australian Tax Office?"),Object(ce.createElement)(Io,{Disable:void 0,Dispatch:e=>{o(new ii(0,e))},State:r.YesNoButtonGroup}),Object(ce.createElement)("div",{className:"mt-2",children:Me.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:Me.a.Children.toArray([Object(ce.createElement)("div",{className:Object(d.g)(" ",["col-12","col-sm-5"]),children:Me.a.Children.toArray([Object(ce.createElement)(Go,{InitialValue:Object(u.d)(e=>Ir(e),r.Data.Value),InputType:new Uo(1),InvalidFeedback:"Please enter your previous surname",OnUpdate:e=>{o(new ii(1,e))},Validator:e=>ai(e)})])})])}))));case 1:return Object(f.y)(null)}}))))})]);return Object(ce.createElement)("div",{children:Me.a.Children.toArray(Array.from(i))})}function fi(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function di(e){return e instanceof fi(e).Element||e instanceof Element}function pi(e){return e instanceof fi(e).HTMLElement||e instanceof HTMLElement}function hi(e){return"undefined"!=typeof ShadowRoot&&(e instanceof fi(e).ShadowRoot||e instanceof ShadowRoot)}var $i=Math.max,bi=Math.min,mi=Math.round;function gi(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(pi(e)&&t){var i=e.offsetHeight,c=e.offsetWidth;c>0&&(r=mi(n.width)/c||1),i>0&&(o=mi(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function wi(e){var t=fi(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function yi(e){return e?(e.nodeName||"").toLowerCase():null}function Oi(e){return((di(e)?e.ownerDocument:e.document)||window.document).documentElement}function vi(e){return gi(Oi(e)).left+wi(e).scrollLeft}function ji(e){return fi(e).getComputedStyle(e)}function _i(e){var t=ji(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Ei(e,t,n){void 0===n&&(n=!1);var r,o,i=pi(t),c=pi(t)&&function(e){var t=e.getBoundingClientRect(),n=mi(t.width)/e.offsetWidth||1,r=mi(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=Oi(t),s=gi(e,c),u={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==yi(t)||_i(a))&&(u=(r=t)!==fi(r)&&pi(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:wi(r)),pi(t)?((l=gi(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=vi(a))),{x:s.left+u.scrollLeft-l.x,y:s.top+u.scrollTop-l.y,width:s.width,height:s.height}}function xi(e){var t=gi(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Si(e){return"html"===yi(e)?e:e.assignedSlot||e.parentNode||(hi(e)?e.host:null)||Oi(e)}function Ci(e,t){var n;void 0===t&&(t=[]);var r=function e(t){return["html","body","#document"].indexOf(yi(t))>=0?t.ownerDocument.body:pi(t)&&_i(t)?t:e(Si(t))}(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=fi(r),c=o?[i].concat(i.visualViewport||[],_i(r)?r:[]):r,a=t.concat(c);return o?a:a.concat(Ci(Si(c)))}function Ti(e){return["table","td","th"].indexOf(yi(e))>=0}function ki(e){return pi(e)&&"fixed"!==ji(e).position?e.offsetParent:null}function Ai(e){for(var t=fi(e),n=ki(e);n&&Ti(n)&&"static"===ji(n).position;)n=ki(n);return n&&("html"===yi(n)||"body"===yi(n)&&"static"===ji(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&pi(e)&&"fixed"===ji(e).position)return null;var n=Si(e);for(hi(n)&&(n=n.host);pi(n)&&["html","body"].indexOf(yi(n))<0;){var r=ji(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Ii="top",Di="bottom",Pi="right",Ni="left",Mi=[Ii,Di,Pi,Ni],Ri=Mi.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),Fi=[].concat(Mi,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),Li=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Bi(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 Ui={placement:"bottom",modifiers:[],strategy:"absolute"};function Gi(){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 Vi(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Ui:o;return function(e,t,n){void 0===n&&(n=i);var o,c,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ui,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],u=!1,l={state:a,setOptions:function(n){var o="function"==typeof n?n(a.options):n;f(),a.options=Object.assign({},i,a.options,o),a.scrollParents={reference:di(e)?Ci(e):e.contextElement?Ci(e.contextElement):[],popper:Ci(t)};var c=function(e){var t=Bi(e);return Li.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({},n,t,{options:Object.assign({},n.options,t.options),data: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=c.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(Gi(t,n)){a.rects={reference:Ei(t,Ai(n),"fixed"===a.options.strategy),popper:xi(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(!Gi(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 Hi={passive:!0};function Wi(e){return e.split("-")[0]}function zi(e){return e.split("-")[1]}function qi(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Yi(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Wi(o):null,c=o?zi(o):null,a=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case Ii:t={x:a,y:n.y-r.height};break;case Di:t={x:a,y:n.y+n.height};break;case Pi:t={x:n.x+n.width,y:s};break;case Ni:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=i?qi(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 Xi={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ji(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,c=e.offsets,a=e.position,s=e.gpuAcceleration,u=e.adaptive,l=e.roundOffsets,f=e.isFixed,d=c.x,p=void 0===d?0:d,h=c.y,$=void 0===h?0:h,b="function"==typeof l?l({x:p,y:$}):{x:p,y:$};p=b.x,$=b.y;var m=c.hasOwnProperty("x"),g=c.hasOwnProperty("y"),w=Ni,y=Ii,O=window;if(u){var v=Ai(n),j="clientHeight",_="clientWidth";if(v===fi(n)&&"static"!==ji(v=Oi(n)).position&&"absolute"===a&&(j="scrollHeight",_="scrollWidth"),v=v,o===Ii||(o===Ni||o===Pi)&&"end"===i)y=Di,$-=(f&&v===O&&O.visualViewport?O.visualViewport.height:v[j])-r.height,$*=s?1:-1;if(o===Ni||(o===Ii||o===Di)&&"end"===i)w=Pi,p-=(f&&v===O&&O.visualViewport?O.visualViewport.width:v[_])-r.width,p*=s?1:-1}var E,x=Object.assign({position:a},u&&Xi),S=!0===l?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:mi(t*r)/r||0,y:mi(n*r)/r||0}}({x:p,y:$}):{x:p,y:$};return p=S.x,$=S.y,s?Object.assign({},x,((E={})[y]=g?"0":"",E[w]=m?"0":"",E.transform=(O.devicePixelRatio||1)<=1?"translate("+p+"px, "+$+"px)":"translate3d("+p+"px, "+$+"px, 0)",E)):Object.assign({},x,((t={})[y]=g?$+"px":"",t[w]=m?p+"px":"",t.transform="",t))}var Zi={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)&&yi(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.styles=n,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)&&yi(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var Ki={left:"right",right:"left",bottom:"top",top:"bottom"};function Qi(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ki[e]}))}var ec={start:"end",end:"start"};function tc(e){return e.replace(/start|end/g,(function(e){return ec[e]}))}function nc(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&hi(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function rc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function oc(e,t){return"viewport"===t?rc(function(e){var t=fi(e),n=Oi(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+vi(e),y:a}}(e)):di(t)?function(e){var t=gi(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):rc(function(e){var t,n=Oi(e),r=wi(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=$i(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),c=$i(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-r.scrollLeft+vi(e),s=-r.scrollTop;return"rtl"===ji(o||n).direction&&(a+=$i(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:c,x:a,y:s}}(Oi(e)))}function ic(e,t,n){var r="clippingParents"===t?function(e){var t=Ci(Si(e)),n=["absolute","fixed"].indexOf(ji(e).position)>=0&&pi(e)?Ai(e):e;return di(n)?t.filter((function(e){return di(e)&&nc(e,n)&&"body"!==yi(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],c=o.reduce((function(t,n){var r=oc(e,n);return t.top=$i(r.top,t.top),t.right=bi(r.right,t.right),t.bottom=bi(r.bottom,t.bottom),t.left=$i(r.left,t.left),t}),oc(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 cc(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ac(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function sc(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,$=cc("number"!=typeof h?h:ac(h,Mi)),b="popper"===l?"reference":"popper",m=e.rects.popper,g=e.elements[d?b:l],w=ic(di(g)?g:g.contextElement||Oi(e.elements.popper),c,s),y=gi(e.elements.reference),O=Yi({reference:y,element:m,strategy:"absolute",placement:o}),v=rc(Object.assign({},m,O)),j="popper"===l?v:y,_={top:w.top-j.top+$.top,bottom:j.bottom-w.bottom+$.bottom,left:w.left-j.left+$.left,right:j.right-w.right+$.right},E=e.modifiersData.offset;if("popper"===l&&E){var x=E[o];Object.keys(_).forEach((function(e){var t=[Pi,Di].indexOf(e)>=0?1:-1,n=[Ii,Di].indexOf(e)>=0?"y":"x";_[e]+=x[n]*t}))}return _}function uc(e,t,n){return $i(e,bi(t,n))}function lc(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 fc(e){return[Ii,Pi,Di,Ni].some((function(t){return e[t]>=0}))}var dc=Vi({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=fi(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,Hi)})),a&&s.addEventListener("resize",n.update,Hi),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,Hi)})),a&&s.removeEventListener("resize",n.update,Hi)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Yi({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:Wi(t.placement),variation:zi(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ji(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ji(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Zi,{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=Fi.reduce((function(e,n){return e[n]=function(e,t,n){var r=Wi(e),o=[Ni,Ii].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,c=i[0],a=i[1];return c=c||0,a=(a||0)*o,[Ni,Pi].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=Wi(b),g=s||(m===b||!h?[Qi(b)]:function(e){if("auto"===Wi(e))return[];var t=Qi(e);return[tc(e),t,tc(t)]}(b)),w=[b].concat(g).reduce((function(e,n){return e.concat("auto"===Wi(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?Fi:s,l=zi(r),f=l?a?Ri:Ri.filter((function(e){return zi(e)===l})):Mi,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]=sc(e,{placement:n,boundary:o,rootBoundary:i,padding:c})[Wi(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=Wi(x),C="start"===zi(x),T=[Ii,Di].indexOf(S)>=0,k=T?"width":"height",A=sc(t,{placement:x,boundary:l,rootBoundary:f,altBoundary:d,padding:u}),I=T?C?Pi:Ni:C?Di:Ii;y[k]>O[k]&&(I=Qi(I));var D=Qi(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 N=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"},M=h?3:1;M>0;M--){if("break"===N(M))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=sc(t,{boundary:s,rootBoundary:u,padding:f,altBoundary:l}),m=Wi(t.placement),g=zi(t.placement),w=!g,y=qi(m),O="x"===y?"y":"x",v=t.modifiersData.popperOffsets,j=t.rects.reference,_=t.rects.popper,E="function"==typeof $?$(Object.assign({},t.rects,{placement:t.placement})):$,x="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,C={x:0,y:0};if(v){if(i){var T,k="y"===y?Ii:Ni,A="y"===y?Di:Pi,I="y"===y?"height":"width",D=v[y],P=D+b[k],N=D-b[A],M=p?-_[I]/2:0,R="start"===g?j[I]:_[I],F="start"===g?-_[I]:-j[I],L=t.elements.arrow,B=p&&L?xi(L):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},G=U[k],V=U[A],H=uc(0,j[I],B[I]),W=w?j[I]/2-M-H-G-x.mainAxis:R-H-G-x.mainAxis,z=w?-j[I]/2+M+H+V+x.mainAxis:F+H+V+x.mainAxis,q=t.elements.arrow&&Ai(t.elements.arrow),Y=q?"y"===y?q.clientTop||0:q.clientLeft||0:0,X=null!=(T=null==S?void 0:S[y])?T:0,J=D+z-X,Z=uc(p?bi(P,D+W-X-Y):P,D,p?$i(N,J):N);v[y]=Z,C[y]=Z-D}if(a){var K,Q="x"===y?Ii:Ni,ee="x"===y?Di:Pi,te=v[O],ne="y"===O?"height":"width",re=te+b[Q],oe=te-b[ee],ie=-1!==[Ii,Ni].indexOf(m),ce=null!=(K=null==S?void 0:S[O])?K:0,ae=ie?re:te-j[ne]-_[ne]-ce+x.altAxis,se=ie?te+j[ne]+_[ne]-ce-x.altAxis:oe,ue=p&&ie?function(e,t,n){var r=uc(e,t,n);return r>n?n:r}(ae,te,se):uc(p?ae:re,te,p?se:oe);v[O]=ue,C[O]=ue-te}t.modifiersData[r]=C}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,c=n.modifiersData.popperOffsets,a=Wi(n.placement),s=qi(a),u=[Ni,Pi].indexOf(a)>=0?"height":"width";if(i&&c){var l=function(e,t){return cc("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ac(e,Mi))}(o.padding,n),f=xi(i),d="y"===s?Ii:Ni,p="y"===s?Di:Pi,h=n.rects.reference[u]+n.rects.reference[s]-c[s]-n.rects.popper[u],$=c[s]-n.rects.reference[s],b=Ai(i),m=b?"y"===s?b.clientHeight||0:b.clientWidth||0:0,g=h/2-$/2,w=l[d],y=m-f[u]-l[p],O=m/2-f[u]/2+g,v=uc(w,O,y),j=s;n.modifiersData[r]=((t={})[j]=v,t.centerOffset=v-O,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&nc(t.elements.popper,r)&&(t.elements.arrow=r)},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=sc(t,{elementContext:"reference"}),a=sc(t,{altBoundary:!0}),s=lc(c,r),u=lc(a,o,i),l=fc(s),f=fc(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),pc={passive:!0,capture:!0},hc=function(){return document.body};function $c(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function bc(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function mc(e,t){return"function"==typeof e?e.apply(void 0,t):e}function gc(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function wc(e){return[].concat(e)}function yc(e,t){-1===e.indexOf(t)&&e.push(t)}function Oc(e){return e.split("-")[0]}function vc(e){return[].slice.call(e)}function jc(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function _c(){return document.createElement("div")}function Ec(e){return["Element","Fragment"].some((function(t){return bc(e,t)}))}function xc(e){return bc(e,"MouseEvent")}function Sc(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function Cc(e){return Ec(e)?[e]:function(e){return bc(e,"NodeList")}(e)?vc(e):Array.isArray(e)?e:vc(document.querySelectorAll(e))}function Tc(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function kc(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Ac(e){var t,n=wc(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function Ic(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function Dc(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var Pc={isTouch:!1},Nc=0;function Mc(){Pc.isTouch||(Pc.isTouch=!0,window.performance&&document.addEventListener("mousemove",Rc))}function Rc(){var e=performance.now();e-Nc<20&&(Pc.isTouch=!1,document.removeEventListener("mousemove",Rc)),Nc=e}function Fc(){var e=document.activeElement;if(Sc(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var Lc=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var Bc={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Uc=Object.assign({appendTo:hc,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},Bc,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Gc=Object.keys(Uc);function Vc(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,i=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=Uc[o])?r:i);return t}),{});return Object.assign({},e,t)}function Hc(e,t){var n=Object.assign({},t,{content:mc(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Vc(Object.assign({},Uc,{plugins:t}))):Gc).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({},Uc.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 Wc(e,t){e.innerHTML=t}function zc(e){var t=_c();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",Ec(e)?t.appendChild(e):Wc(t,e)),t}function qc(e,t){Ec(t.content)?(Wc(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Wc(e,t.content):e.textContent=t.content)}function Yc(e){var t=e.firstElementChild,n=vc(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 Xc(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=Yc(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||qc(c,e.props),r.arrow?a?n.arrow!==r.arrow&&(i.removeChild(a),i.appendChild(zc(r.arrow))):i.appendChild(zc(r.arrow)):a&&i.removeChild(a)}return r.className="tippy-content",r.setAttribute("data-state","hidden"),qc(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}Xc.$$tippy=!0;var Jc=1,Zc=[],Kc=[];function Qc(e,t){var n,r,o,i,c,a,s,u,l=Hc(e,Object.assign({},Uc,Vc(jc(t)))),f=!1,d=!1,p=!1,h=!1,$=[],b=gc(q,l.interactiveDebounce),m=Jc++,g=(u=l.plugins).filter((function(e,t){return u.indexOf(e)===t})),w={id:m,reference:e,popper:_c(),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){0;if(w.state.isDestroyed)return;D("onBeforeUpdate",[w,t]),W();var n=w.props,r=Hc(e,Object.assign({},n,jc(t),{ignoreAttributes:!0}));w.props=r,H(),n.interactiveDebounce!==r.interactiveDebounce&&(M(),b=gc(q,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?wc(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");N(),I(),v&&v(n,r);w.popperInstance&&(Z(),Q().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));D("onAfterUpdate",[w,t])},setContent:function(e){w.setProps({content:e})},show:function(){0;var e=w.state.isVisible,t=w.state.isDestroyed,n=!w.state.isEnabled,r=Pc.isTouch&&!w.props.touch,o=$c(w.props.duration,0,Uc.duration);if(e||t||n||r)return;if(C().hasAttribute("disabled"))return;if(D("onShow",[w],!1),!1===w.props.onShow(w))return;w.state.isVisible=!0,S()&&(O.style.visibility="visible");I(),B(),w.state.isMounted||(O.style.transition="none");if(S()){var i=k(),c=i.box,s=i.content;Tc([c,s],0)}a=function(){var e;if(w.state.isVisible&&!h){if(h=!0,O.offsetHeight,O.style.transition=w.props.moveTransition,S()&&w.props.animation){var t=k(),n=t.box,r=t.content;Tc([n,r],o),kc([n,r],"visible")}P(),N(),yc(Kc,w),null==(e=w.popperInstance)||e.forceUpdate(),D("onMount",[w]),w.props.animation&&S()&&function(e,t){G(e,t)}(o,(function(){w.state.isShown=!0,D("onShown",[w])}))}},function(){var e,t=w.props.appendTo,n=C();e=w.props.interactive&&t===hc||"parent"===t?n.parentNode:mc(t,[n]);e.contains(O)||e.appendChild(O);w.state.isMounted=!0,Z(),!1}()},hide:function(){0;var e=!w.state.isVisible,t=w.state.isDestroyed,n=!w.state.isEnabled,r=$c(w.props.duration,1,Uc.duration);if(e||t||n)return;if(D("onHide",[w],!1),!1===w.props.onHide(w))return;w.state.isVisible=!1,w.state.isShown=!1,h=!1,f=!1,S()&&(O.style.visibility="hidden");if(M(),U(),I(!0),S()){var o=k(),i=o.box,c=o.content;w.props.animation&&(Tc([i,c],r),kc([i,c],"hidden"))}P(),N(),w.props.animation?S()&&function(e,t){G(e,(function(){!w.state.isVisible&&O.parentNode&&O.parentNode.contains(O)&&t()}))}(r,w.unmount):w.unmount()},hideWithInteractivity:function(e){0;T().addEventListener("mousemove",b),yc(Zc,b),b(e)},enable:function(){w.state.isEnabled=!0},disable:function(){w.hide(),w.state.isEnabled=!1},unmount:function(){0;w.state.isVisible&&w.hide();if(!w.state.isMounted)return;K(),Q().forEach((function(e){e._tippy.unmount()})),O.parentNode&&O.parentNode.removeChild(O);Kc=Kc.filter((function(e){return e!==w})),w.state.isMounted=!1,D("onHidden",[w])},destroy:function(){0;if(w.state.isDestroyed)return;w.clearDelayTimeouts(),w.unmount(),W(),delete e._tippy,w.state.isDestroyed=!0,D("onDestroy",[w])}};if(!l.render)return w;var y=l.render(w),O=y.popper,v=y.onUpdate;O.setAttribute("data-tippy-root",""),O.id="tippy-"+w.id,w.popper=O,e._tippy=w,O._tippy=w;var j=g.map((function(e){return e.fn(w)})),_=e.hasAttribute("aria-expanded");return H(),N(),I(),D("onCreate",[w]),l.showOnCreate&&ee(),O.addEventListener("mouseenter",(function(){w.props.interactive&&w.state.isVisible&&w.clearDelayTimeouts()})),O.addEventListener("mouseleave",(function(){w.props.interactive&&w.props.trigger.indexOf("mouseenter")>=0&&T().addEventListener("mousemove",b)})),w;function E(){var e=w.props.touch;return Array.isArray(e)?e:[e,0]}function x(){return"hold"===E()[0]}function S(){var e;return!(null==(e=w.props.render)||!e.$$tippy)}function C(){return s||e}function T(){var e=C().parentNode;return e?Ac(e):document}function k(){return Yc(O)}function A(e){return w.state.isMounted&&!w.state.isVisible||Pc.isTouch||i&&"focus"===i.type?0:$c(w.props.delay,e?0:1,Uc.delay)}function I(e){void 0===e&&(e=!1),O.style.pointerEvents=w.props.interactive&&!e?"":"none",O.style.zIndex=""+w.props.zIndex}function D(e,t,n){var r;(void 0===n&&(n=!0),j.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=w.props)[e].apply(r,t)}function P(){var t=w.props.aria;if(t.content){var n="aria-"+t.content,r=O.id;wc(w.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(w.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(){!_&&w.props.aria.expanded&&wc(w.props.triggerTarget||e).forEach((function(e){w.props.interactive?e.setAttribute("aria-expanded",w.state.isVisible&&e===C()?"true":"false"):e.removeAttribute("aria-expanded")}))}function M(){T().removeEventListener("mousemove",b),Zc=Zc.filter((function(e){return e!==b}))}function R(t){if(!Pc.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!w.props.interactive||!Dc(O,n)){if(wc(w.props.triggerTarget||e).some((function(e){return Dc(e,n)}))){if(Pc.isTouch)return;if(w.state.isVisible&&w.props.trigger.indexOf("click")>=0)return}else D("onClickOutside",[w,t]);!0===w.props.hideOnClick&&(w.clearDelayTimeouts(),w.hide(),d=!0,setTimeout((function(){d=!1})),w.state.isMounted||U())}}}function F(){p=!0}function L(){p=!1}function B(){var e=T();e.addEventListener("mousedown",R,!0),e.addEventListener("touchend",R,pc),e.addEventListener("touchstart",L,pc),e.addEventListener("touchmove",F,pc)}function U(){var e=T();e.removeEventListener("mousedown",R,!0),e.removeEventListener("touchend",R,pc),e.removeEventListener("touchstart",L,pc),e.removeEventListener("touchmove",F,pc)}function G(e,t){var n=k().box;function r(e){e.target===n&&(Ic(n,"remove",r),t())}if(0===e)return t();Ic(n,"remove",c),Ic(n,"add",r),c=r}function V(t,n,r){void 0===r&&(r=!1),wc(w.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),$.push({node:e,eventType:t,handler:n,options:r})}))}function H(){var e;x()&&(V("touchstart",z,{passive:!0}),V("touchend",Y,{passive:!0})),(e=w.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(V(e,z),e){case"mouseenter":V("mouseleave",Y);break;case"focus":V(Lc?"focusout":"blur",X);break;case"focusin":V("focusout",X)}}))}function W(){$.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),$=[]}function z(e){var t,n=!1;if(w.state.isEnabled&&!J(e)&&!d){var r="focus"===(null==(t=i)?void 0:t.type);i=e,s=e.currentTarget,N(),!w.state.isVisible&&xc(e)&&Zc.forEach((function(t){return t(e)})),"click"===e.type&&(w.props.trigger.indexOf("mouseenter")<0||f)&&!1!==w.props.hideOnClick&&w.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function q(e){var t=e.target,n=C().contains(t)||O.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=Oc(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||$}))}(Q().concat(O).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:l}:null})).filter(Boolean),e)&&(M(),te(e))}function Y(e){J(e)||w.props.trigger.indexOf("click")>=0&&f||(w.props.interactive?w.hideWithInteractivity(e):te(e))}function X(e){w.props.trigger.indexOf("focusin")<0&&e.target!==C()||w.props.interactive&&e.relatedTarget&&O.contains(e.relatedTarget)||te(e)}function J(e){return!!Pc.isTouch&&x()!==e.type.indexOf("touch")>=0}function Z(){K();var t=w.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,c=t.moveTransition,s=S()?Yc(O).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||C()}: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(S()){var n=k().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={}}}}];S()&&s&&l.push({name:"arrow",options:{element:s,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),w.popperInstance=dc(u,O,Object.assign({},n,{placement:r,onFirstUpdate:a,modifiers:l}))}function K(){w.popperInstance&&(w.popperInstance.destroy(),w.popperInstance=null)}function Q(){return vc(O.querySelectorAll("[data-tippy-root]"))}function ee(e){w.clearDelayTimeouts(),e&&D("onTrigger",[w,e]),B();var t=A(!0),r=E(),o=r[0],i=r[1];Pc.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout((function(){w.show()}),t):w.show()}function te(e){if(w.clearDelayTimeouts(),D("onUntrigger",[w,e]),w.state.isVisible){if(!(w.props.trigger.indexOf("mouseenter")>=0&&w.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=A(!1);t?r=setTimeout((function(){w.state.isVisible&&w.hide()}),t):o=requestAnimationFrame((function(){w.hide()}))}}else U()}}function ea(e,t){void 0===t&&(t={});var n=Uc.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Mc,pc),window.addEventListener("blur",Fc);var r=Object.assign({},t,{plugins:n}),o=Cc(e).reduce((function(e,t){var n=t&&Qc(t,r);return n&&e.push(n),e}),[]);return Ec(e)?o[0]:o}ea.defaultProps=Uc,ea.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Uc[t]=e[t]}))},ea.currentInput=Pc;Object.assign({},Zi,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});ea.setDefaultProps({render:Xc});var ta=ea;function na(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 ra="undefined"!=typeof window&&"undefined"!=typeof document;function oa(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function ia(){return ra&&document.createElement("div")}function ca(e){var t=[];return e.forEach((function(e){t.find((function(t){return function e(t,n){if(t===n)return!0;if("object"==typeof t&&null!=t&&"object"==typeof n&&null!=n){if(Object.keys(t).length!==Object.keys(n).length)return!1;for(var r in t){if(!n.hasOwnProperty(r))return!1;if(!e(t[r],n[r]))return!1}return!0}return!1}(e,t)}))||t.push(e)})),t}function aa(e,t){var n,r;return Object.assign({},t,{popperOptions:Object.assign({},e.popperOptions,t.popperOptions,{modifiers:ca([].concat((null==(n=e.popperOptions)?void 0:n.modifiers)||[],(null==(r=t.popperOptions)?void 0:r.modifiers)||[]))})})}var sa=ra?ce.useLayoutEffect:ce.useEffect;function ua(e){var t=Object(ce.useRef)();return t.current||(t.current="function"==typeof e?e():e),t.current}function la(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var fa={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()||la(t,"add",e.props.className)}return{onCreate:r,onBeforeUpdate:function(){n()&&la(t,"remove",e.props.className)},onAfterUpdate:r}}};function da(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,na(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],_=ua((function(){return{container:ia(),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&&null!=i.data?[].concat(S,[{fn:function(){return{onTrigger:function(e,t){var n=i.data.children.find((function(e){return e.instance.reference===t.currentTarget}));e.state.$$activeSingletonInstance=n.instance,j(n.content)}}}}]):S,render:function(){return{popper:_.container}}}));var C=[a].concat(n?[n.type]:[]);return sa((function(){var t=a;a&&a.hasOwnProperty("current")&&(t=a.current);var n=e(t||_.ref||ia(),Object.assign({},x,{plugins:[fa].concat(E.plugins||[])}));return _.instance=n,u&&n.disable(),o&&n.show(),h&&i.hook({instance:n,content:r,props:x,setSingletonContent:j}),m(!0),function(){n.destroy(),null==i||i.cleanup(n)}}),C),sa((function(){var e;if(1!==_.renders){var t=_.instance;t.setProps(aa(t.props,x)),null==(e=t.popperInstance)||e.forceUpdate(),u?t.disable():t.enable(),p&&(o?t.show():t.hide()),h&&i.hook({instance:t,content:r,props:x,setSingletonContent:j})}else _.renders++})),sa((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)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{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,oa(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 pa=function(e,t){return Object(ce.forwardRef)((function(n,r){var o=n.children,i=na(n,["children"]);return ce.default.createElement(e,Object.assign({},t,i),o?Object(ce.cloneElement)(o,{ref:function(e){oa(r,e),oa(o.ref,e)}}):null)}))},ha=pa(da(ta));class $a extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Content"]}}var ba=n(29);function ma(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 ga(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ma(Object(n),!0).forEach((function(t){ya(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ma(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wa(e){return(wa="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 ya(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oa(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 va(e){return function(e){if(Array.isArray(e))return ja(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ja(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ja(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ja(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _a(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}var Ea=["style"];function xa(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=_a(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 Sa=!1;try{Sa=!0}catch(e){}function Ca(e){return e&&"object"===wa(e)&&e.prefix&&e.iconName&&e.icon?e:ba.b.icon?ba.b.icon(e):null===e?null:e&&"object"===wa(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 Ta(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?ya({},e,t):{}}var ka=["forwardedRef"];function Aa(e){var t=e.forwardedRef,n=Oa(e,ka),r=n.icon,o=n.mask,i=n.symbol,c=n.className,a=n.title,s=n.titleId,u=n.maskId,l=Ca(r),f=Ta("classes",[].concat(va(function(e){var t,n=e.beat,r=e.fade,o=e.beatFade,i=e.bounce,c=e.shake,a=e.flash,s=e.spin,u=e.spinPulse,l=e.spinReverse,f=e.pulse,d=e.fixedWidth,p=e.inverse,h=e.border,$=e.listItem,b=e.flip,m=e.size,g=e.rotation,w=e.pull,y=(ya(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":i,"fa-shake":c,"fa-flash":a,"fa-spin":s,"fa-spin-reverse":l,"fa-spin-pulse":u,"fa-pulse":f,"fa-fw":d,"fa-inverse":p,"fa-border":h,"fa-li":$,"fa-flip-horizontal":"horizontal"===b||"both"===b,"fa-flip-vertical":"vertical"===b||"both"===b},"fa-".concat(m),null!=m),ya(t,"fa-rotate-".concat(g),null!=g&&0!==g),ya(t,"fa-pull-".concat(w),null!=w),ya(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(y).map((function(e){return y[e]?e:null})).filter((function(e){return e}))}(n)),va(c.split(" ")))),d=Ta("transform","string"==typeof n.transform?ba.b.transform(n.transform):n.transform),p=Ta("mask",Ca(o)),h=Object(ba.a)(l,ga(ga(ga(ga({},f),d),p),{},{symbol:i,title:a,titleId:s,maskId:u}));if(!h)return function(){var e;!Sa&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",l),null;var $=h.abstract,b={ref:t};return Object.keys(n).forEach((function(e){Aa.defaultProps.hasOwnProperty(e)||(b[e]=n[e])})),Ia($[0],b)}Aa.displayName="FontAwesomeIcon",Aa.propTypes={beat:de.a.bool,border:de.a.bool,bounce:de.a.bool,className:de.a.string,fade:de.a.bool,flash:de.a.bool,mask:de.a.oneOfType([de.a.object,de.a.array,de.a.string]),maskId: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]),shake:de.a.bool,size:de.a.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:de.a.bool,spinPulse:de.a.bool,spinReverse:de.a.bool,symbol:de.a.oneOfType([de.a.bool,de.a.string]),title:de.a.string,titleId:de.a.string,transform:de.a.oneOfType([de.a.string,de.a.object]),swapOpacity:de.a.bool},Aa.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var Ia=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=xa(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[_a(t)]=r}return e}),{attrs:{}}),c=r.style,a=void 0===c?{}:c,s=Oa(r,Ea);return i.attrs.style=ga(ga({},i.attrs.style),a),t.apply(void 0,[n.tag,ga(ga({},i.attrs),s)].concat(va(o)))}.bind(null,ce.default.createElement),Da={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 s(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 u(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,s=e[Symbol.iterator]();!(r=(c=s.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.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 a=function(){},l={},f={},d={mark:a,measure:a};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,b=l,$=f,m=d,g=(b.document,!!$.documentElement&&!!$.head&&"function"==typeof $.addEventListener&&"function"==typeof $.createElement),O=(~h.indexOf("MSIE")||h.indexOf("Trident/"),function(){try{}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),w=O.concat([11,12,13,14,15,16,17,18,19,20]),y={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",y.GROUP,y.SWAP_OPACITY,y.PRIMARY,y.SECONDARY].concat(O.map((function(e){return"".concat(e,"x")}))).concat(w.map((function(e){return"w-".concat(e)}))),b.FontAwesomeConfig||{});if($&&"function"==typeof $.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=u(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=$.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(v[r]=o)}))}var j=s({},{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 _=s({},j);b.FontAwesomeConfig=_;var E=b||{};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&&(($.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test($.readyState)||$.addEventListener("DOMContentLoaded",(function e(){$.removeEventListener("DOMContentLoaded",e),1,S.map((function(e){return e()}))})));var C,k=function(){},T=void 0!==e&&void 0!==e.process&&"function"==typeof e.process.emit,A=void 0===r?setTimeout:r,I=[];function N(){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(N,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)}}D(i,r)||("fulfilled"===n&&R(i,r),"rejected"===n&&L(i,r))}function D(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&&D(e,t)||F(e,t)}function F(e,t){"pending"===e._state&&(e._state="settled",e._data=t,P(B,e))}function L(e,t){"pending"===e._state&&(e._state="settled",e._data=t,P(U,e))}function G(e){e._then=e._then.forEach(M)}function B(e){e._state="fulfilled",G(e)}function U(t){t._state="rejected",G(t),!t._handled&&T&&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(k),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,"rejected"===this._state&&T&&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,s=0;s<e.length;s++)(c=e[s])&&"function"==typeof c.then?c.then(i(s),n):r[s]=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 q={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function W(e){if(e&&g){var t=$.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=$.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 $.head.insertBefore(t,r),e}}function z(){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!==q.size||e.x!==q.x||e.y!==q.y||e.rotate!==q.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),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(i," ").concat(c," ").concat(s)},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,u=e.symbol,a=e.title,l=e.maskId,f=e.titleId,d=e.extra,p=e.watchable,h=void 0!==p&&p,b=r.found?r:n,$=b.width,m=b.height,g="fak"===o,O=g?"":"fa-w-".concat(Math.ceil($/m*16)),w=[_.replacementClass,i?"".concat(_.familyPrefix,"-").concat(i):"",O].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),y={children:[],attributes:s({},d.attributes,{"data-prefix":o,"data-icon":i,class:w,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat($," ").concat(m)})},v=g&&!~d.classes.indexOf("fa-fw")?{width:"".concat($/m*16*.0625,"em")}:{};h&&(y.attributes["data-fa-i2svg"]=""),a&&y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(f||z())},children:[a]});var j=s({},y,{prefix:o,iconName:i,main:n,mask:r,maskId:l,transform:c,symbol:u,styles:s({},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,u=e.transform,a=o.width,l=o.icon,f=i.width,d=i.icon,p=Z({transform:u,containerWidth:f,iconWidth:a}),h={tag:"rect",attributes:s({},K,{fill:"white"})},b=l.children?{children:l.children.map(Q)}:{},$={tag:"g",attributes:s({},p.inner),children:[Q(s({tag:l.tag,attributes:s({},l.attributes,p.path)},b))]},m={tag:"g",attributes:s({},p.outer),children:[$]},g="mask-".concat(c||z()),O="clip-".concat(c||z()),w={tag:"mask",attributes:s({},K,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,m]},y={tag:"defs",children:[{tag:"clipPath",attributes:{id:O},children:(t=d,"g"===t.tag?t.children:[t])},w]};return n.push(y,{tag:"rect",attributes:s({fill:"currentColor","clip-path":"url(#".concat(O,")"),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:s({},c.outer),children:[{tag:"g",attributes:s({},c.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:s({},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,u?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:s({},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 u={x:n.width/n.height/2,y:.5};o.style=X(s({},i,{"transform-origin":"".concat(u.x+c.x/16,"em ").concat(u.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,s=Object.keys(e),u=s.length,a=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[s[0]]):(o=0,c=n);o<u;o++)c=a(c,e[i=s[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]=s({},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 se(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function ue(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(ue).join(""),"</").concat(t,">")}var ae=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:s({},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=s({},de,{attributeName:"opacity"});s({},fe,{cx:"256",cy:"364",r:"28"}),s({},de,{attributeName:"r",values:"28;14;28;28;14;28;"}),s({},he,{values:"1;0;1;1;0;1;"}),s({},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"}),s({},he,{values:"1;0;0;0;0;1;"}),s({},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"}),s({},he,{values:"0;0;1;1;0;0;"}),x.styles;function be(e){var t=e[0],n=e[1],r=u(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(_.familyPrefix,"-").concat(y.GROUP)},children:[{tag:"path",attributes:{class:"".concat(_.familyPrefix,"-").concat(y.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(_.familyPrefix,"-").concat(y.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}x.styles;function $e(){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&&(W($e()),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 ue(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(g){var t=$.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Oe(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return se(ye.definitions,n,r)||se(x.styles,n,r)}var we,ye=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]=s({},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 ae(e)}},_e=(we=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?q:n,o=t.symbol,i=void 0!==o&&o,c=t.mask,u=void 0===c?null:c,a=t.maskId,l=void 0===a?null:a,f=t.title,d=void 0===f?null:f,p=t.titleId,h=void 0===p?null:p,b=t.classes,$=void 0===b?[]:b,m=t.attributes,g=void 0===m?{}:m,O=t.styles,w=void 0===O?{}:O;if(e){var y=e.prefix,v=e.iconName,j=e.icon;return ge(s({type:"icon"},e),(function(){return me(),_.autoA11y&&(d?g["aria-labelledby"]="".concat(_.replacementClass,"-title-").concat(h||z()):(g["aria-hidden"]="true",g.focusable="false")),ee({icons:{main:be(j),mask:u?be(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:y,iconName:v,transform:s({},q,r),symbol:i,title:d,maskId:l,titleId:h,extra:{attributes:g,styles:w,classes:$}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:Oe(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:Oe(r||{})),we(n,s({},t,{mask:r}))})}).call(this,n(32),n(51).setImmediate)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return u}));var r=n(8),o=(n(0),n(6));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.f)(e)}function s(e,t){sessionStorage.setItem(c(e),t)}function u(e){return Object(o.e)(sessionStorage.getItem(c(e)))}},function(e,t,n){"use strict";var r=s(n(44)),o=s(n(49)),i=s(n(38)),c=s(n(34));function s(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";n.d(t,"a",(function(){return c}));var r=n(1),o=n(4);n(23),n(22),n(5);function i(e,t,n,i,c){const s=function(e,t,n,o){const i=0|Object(r.d)(e,n);if(0===i)throw new Error("The step of a range cannot be zero");const c=i>0;return n=>{const i=0|Object(r.d)(n,t);return c&&i<=0||!c&&i>=0?[n,o(n,e)]:void 0}}(t,n,i,c);return Object(o.h)(()=>Object(o.C)(s,e))}function c(e,t,n){return i(e,t,n,0,(e,t)=>e+t)}},function(e,t,n){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;!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]}t.default=e}(n(12));var r=s(n(9)),o=s(n(9)),i=n(35),c=(n(36),s(n(37)));function s(e){return e&&e.__esModule?e:{default:e}}t.UNMOUNTED="unmounted";t.EXITED="exited";t.ENTERING="entering";t.ENTERED="entered";t.EXITING="exiting";var u=function(e){var t,n;function i(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(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=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null};var s=i.prototype;return s.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},s.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)},s.componentWillUnmount=function(){this.cancelNextCallback()},s.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}},s.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=o.default.findDOMNode(this);"entering"===t?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},s.performEnter=function(e,t){var n=this,r=this.props.enter,o=this.context?this.context.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)}))},s.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)}))},s.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},s.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},s.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},s.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)},s.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,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}(t,["children"]);if(delete o.in,delete o.mountOnEnter,delete o.unmountOnExit,delete o.appear,delete o.enter,delete o.exit,delete o.timeout,delete o.addEndListener,delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,"function"==typeof n)return r.default.createElement(c.default.Provider,{value:null},n(e,o));var i=r.default.Children.only(n);return r.default.createElement(c.default.Provider,{value:null},r.default.cloneElement(i,o))},i}(r.default.Component);function a(){}u.contextType=c.default,u.propTypes={},u.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:a,onEntering:a,onEntered:a,onExit:a,onExiting:a,onExited:a},u.UNMOUNTED=0,u.EXITED=1,u.ENTERING=2,u.ENTERED=3,u.EXITING=4;var l=(0,i.polyfill)(u);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,s=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?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==c||null!==s){var u=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+u+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==c?"\n "+c:"")+(null!==s?"\n "+s:"")+"\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(12))&&r.__esModule;t.timeoutsShape=null;t.classNamesShape=null},function(e,t,n){"use strict";var r;t.__esModule=!0,t.default=void 0;var o=((r=n(9))&&r.__esModule?r:{default:r}).default.createContext(null);t.default=o,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;s(n(12));var r=s(n(9)),o=n(35),i=s(n(37)),c=n(50);function s(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function a(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 o(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(a(a(r)));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=o.prototype;return s.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},s.componentWillUnmount=function(){this.mounted=!1},o.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}},s.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=u({},t.children);return delete n[e.key],{children:n}})))},s.render=function(){var e=this.props,t=e.component,n=e.childFactory,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,["component","childFactory"]),c=this.state.contextValue,s=l(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===t?r.default.createElement(i.default.Provider,{value:c},s):r.default.createElement(i.default.Provider,{value:c},r.default.createElement(t,o,s))},o}(r.default.Component);f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};var d=(0,o.polyfill)(f);t.default=d,e.exports=t.default},function(e,t,n){"use strict";n.d(t,"a",(function(){return js}));var r=n(1),o=n(8),i=n(0),c=n(15),s=n(18),u=n(7),a=n(6),l=n(3),f=n(10),d=n(4),p=n(11),h=n(25);class b{constructor(e,t){this.k=e,this.v=t}}function $(e,t){return new b(e,t)}function m(e){return e.k}function g(e){return e.v}class O extends b{constructor(e,t,n,r,o){super(e,t),this.left=n,this.right=r,this.h=0|o}}function w(e,t,n,r,o){return new O(e,t,n,r,o)}function y(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 O){t=e(r+1,y(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 O?j(t):1}else o=0;let i;if(null!=r){const e=r;i=e instanceof O?j(e):1}else i=0;const c=0|(o<i?i:o);return 0===c?$(t,n):w(t,n,e,r,c+1)}function x(e,t,n,r){let o,i,c,s,u;if(null!=e){const t=e;u=t instanceof O?j(t):1}else u=0;let l;if(null!=r){const e=r;l=e instanceof O?j(e):1}else l=0;if(l>u+2){const c=Object(a.i)(r);if(c instanceof O){if(o=y(c),(null!=o?(i=o,i instanceof O?j(i):1):0)>u+1){const r=Object(a.i)(y(c));if(r instanceof O)return E(E(e,t,n,y(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,y(c)),m(c),g(c),v(c))}throw new Error("internal error: Map.rebalance")}if(u>l+2){const o=Object(a.i)(e);if(o instanceof O){if(c=v(o),(null!=c?(s=c,s instanceof O?j(s):1):0)>l+1){const e=Object(a.i)(v(o));if(e instanceof O)return E(E(y(o),m(o),g(o),y(e)),m(e),g(e),E(v(e),t,n,r));throw new Error("internal error: Map.rebalance")}return E(y(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 O?i<0?x(S(e,t,n,y(o)),m(o),g(o),v(o)):0===i?w(t,n,y(o),v(o),j(o)):x(y(o),m(o),g(o),S(e,t,n,v(o))):i<0?w(t,n,void 0,r,2):0===i?$(t,n):w(t,n,r,void 0,2)}return $(t,n)}function C(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const c=i,s=0|r.Compare(o,m(c));if(0===s)return Object(a.f)(g(c));if(c instanceof O){e=r,t=o,n=s<0?y(c):v(c);continue e}return}return}}function k(e,t){!function e(t,n){e:for(;;){const r=t,o=n;if(null!=o){const i=o;if(i instanceof O){e(r,y(i)),r(m(i),g(i)),t=r,n=v(i);continue e}r(m(i),g(i))}break}}(e,t)}function T(e,t){return function e(t,n){if(null!=n){const r=n;if(r instanceof O){const n=e(t,y(r)),o=t(m(r),g(r)),i=e(t,v(r));return w(m(r),o,n,i,j(r))}return $(m(r),t(m(r),g(r)))}}(e,t)}function A(e,t,n){let r=n;k((e,n)=>{t[r]=[e,n],r=r+1|0},e)}function I(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 N(e,t){if(Object(r.r)(t))return I(e,t);if(t instanceof l.a)return function(e,t){return Object(l.j)((t,n)=>S(e,n[0],n[1],t),void 0,t)}(e,t);{const n=Object(r.o)(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{Object(r.k)(n)}}}class P extends o.c{constructor(e,t){super(),this.stack=e,this.started=t}}function M(e){e:for(;;){const t=e;if(Object(l.l)(t))return Object(l.g)();{const n=Object(l.w)(t),r=Object(l.k)(t);if(null!=r){const o=r;if(o instanceof O){e=Object(l.q)([y(o),$(m(o),g(o)),v(o)],n);continue e}return t}e=n;continue e}}}function D(e){return new P(M(Object(l.t)(e)),!1)}function R(e){if(e.started){const t=e.stack;if(Object(l.l)(t))return function(){throw new Error("enumeration already finished")}();if(null!=Object(l.k)(t)){const e=Object(l.k)(t);if(e instanceof O)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 not started")}()}function F(e){let t=D(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>R(t),"System.Collections.IEnumerator.get_Current":()=>R(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Object(l.l)(t))return!1;if(null!=Object(l.k)(t)){if(Object(l.k)(t)instanceof O)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=M(Object(l.w)(t)),!Object(l.l)(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!Object(l.l)(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=D(e)},Dispose(){}}}class L{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(r.o)(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const e=o["System.Collections.Generic.IEnumerator`1.get_Current"]();n=0|t(n,Object(r.D)(e[0])),n=0|t(n,Object(r.D)(e[1]))}}finally{Object(r.k)(o)}return 0|n}(this)}Equals(e){const t=this;if(!(e instanceof L))return!1;{const n=Object(r.o)(t);try{const t=Object(r.o)(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.n)(o[0],i[0])||!Object(r.n)(o[1],i[1]))&&e()}return!0}return!1};return e()}finally{Object(r.k)(t)}}finally{Object(r.k)(n)}}}toString(){return"map ["+Object(p.f)("; ",Object(d.q)(e=>Object(p.c)("({0}, {1})",e[0],e[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(e){return Array.from(this)}GetEnumerator(){return F(this.tree)}[Symbol.iterator](){return Object(r.E)(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return F(this.tree)}CompareTo(e){const t=this;if(e instanceof L)return 0|Object(d.e)((e,n)=>{const o=0|t.comparer.Compare(e[0],n[0]);return 0|(0!==o?o:Object(r.d)(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 H(this,e[0])&&Object(r.n)(U(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){A(this.tree,e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|V(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|V(this)}get size(){return 0|V(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return Object(d.q)(e=>[e[0],e[1]],this)}get(e){return U(this,e)}has(e){return H(this,e)}keys(){return Object(d.q)(e=>e[0],this)}set(e,t){throw new Error("Map cannot be mutated")}values(){return Object(d.q)(e=>e[1],this)}forEach(e,t){const n=this;Object(d.o)(t=>{e(t[1],t[0],n)},n)}}function G(e,t){return new L(e,t)}function B(e){const t=Object(h.a)();return G(t,N(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(a.i)(r)}(e.comparer,t,e.tree)}function V(e){return _(e.tree)}function H(e,t){return function(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const c=i,s=0|r.Compare(o,m(c));if(c instanceof O){if(s<0){e=r,t=o,n=y(c);continue e}if(0===s)return!0;e=r,t=o,n=v(c);continue e}return 0===s}return!1}}(e.comparer,t,e.tree)}function q(e,t,n){return function(e,t,n){return G(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,G((n=t).comparer,T(r,n.tree));var n,r}function Y(){return L.empty}L.empty=G(Object(h.a)(),void 0);class X extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function J(e,t){const n=Object(c.m)(Object(s.c)());return Object(c.g)(()=>Object(c.a)(()=>{Object(s.a)(n.current)})),Object(c.e)(r=>{Object(s.f)(n.current)||Object(s.i)(u.g.Delay(()=>u.g.TryWith(u.g.Delay(()=>(t(new X(1)),u.g.Bind(e(r),e=>(t(new X(2,e)),u.g.Zero())))),e=>(t(new X(3,e)),u.g.Zero()))),n.current)})}var Z=n(2);function K(e){return 1!==e.tag}function Q(e,t){return null==t?new Z.e(1,e):new Z.e(0,Object(a.i)(t))}function ee(e,t,n){return Object(r.n)(n,e)?new Z.e(0,void 0):new Z.e(1,t)}function te(e,t){return Object(d.n)(t)?new Z.e(1,e):new Z.e(0,void 0)}function ne(e,t,n){if(1===n.tag);else{const r=n.fields[0];e(r)&&t(r)}return n}function re(e,t,n){if(1===n.tag){const r=n.fields[0];e(r)&&t(r)}return n}function oe(e,t){return u.g.Bind(t,t=>{const n=function(e,t){return ne(e=>!0,e,t)}(e,t);return u.g.Return(n)})}function ie(e,t){return u.g.Bind(t,t=>{const n=function(e,t){return re(e=>!0,e,t)}(e,t);return u.g.Return(n)})}o.d;o.c;const ce=0,se=1,ue=2,ae=3,le=4;function fe(e,t){return e.replace(/[a-z]?[A-Z]/g,e=>1===e.length?e.toLowerCase():e.charAt(0)+t+e.charAt(1).toLowerCase())}function de(e,t=ce){const n={},r=t;function i(e){throw new Error("Cannot infer key and value of "+String(e))}function c(e,t,r){e=function(e,t){switch(t){case se:return e.charAt(0).toLowerCase()+e.slice(1);case ue:return fe(e,"_");case ae:return fe(e,"_").toUpperCase();case le:return fe(e,"-");case ce:default:return e}}(e,t),n[e]=r}for(let t of e){let e=ce;if(null==t&&i(t),t instanceof o.d){const n=t.cases()[t.tag];t=0===t.fields.length?n:[n].concat(t.fields),e=r}if(Array.isArray(t))switch(t.length){case 0:i(t);break;case 1:c(t[0],e,!0);break;case 2:const n=t[1];c(t[0],e,n);break;default:c(t[0],e,t.slice(1))}else"string"==typeof t?c(t,e,!0):i(t)}return n}function pe(e,t,n){return!!e.has(t)&&(n.contents=e.get(t),!0)}function he(e,t){return!t.has(e)&&(t.add(e),!0)}function be(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}var $e=n(9);function me(){return(me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ge(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 Oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var we,ye=n(12),ve=n.n(ye),je=n(27),_e=n.n(je);function Ee(e,t){return void 0===e&&(e=""),void 0===t&&(t=we),t?e.split(" ").map((function(e){return t[e]||e})).join(" "):e}var xe="object"==typeof window&&window.Element||function(){};ve.a.oneOfType([ve.a.string,ve.a.func,function(e,t,n){if(!(e[t]instanceof xe))return new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Expected prop to be an instance of Element. Validation failed.")},ve.a.shape({current:ve.a.any})]);var Se=ve.a.oneOfType([ve.a.func,ve.a.string,ve.a.shape({$$typeof:ve.a.symbol,render:ve.a.func}),ve.a.arrayOf(ve.a.oneOfType([ve.a.func,ve.a.string,ve.a.shape({$$typeof:ve.a.symbol,render:ve.a.func})]))]),Ce=["in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","onEnter","onEntering","onEntered","onExit","onExiting","onExited"];"undefined"==typeof window||!window.document||window.document.createElement;var ke=n(31),Te=["tag","baseClass","baseClassActive","className","cssModule","children","innerRef"];function Ae(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 Ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){Oe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ne=Ie(Ie({},ke.Transition.propTypes),{},{children:ve.a.oneOfType([ve.a.arrayOf(ve.a.node),ve.a.node]),tag:Se,baseClass:ve.a.string,baseClassActive:ve.a.string,className:ve.a.string,cssModule:ve.a.object,innerRef:ve.a.oneOfType([ve.a.object,ve.a.string,ve.a.func])}),Pe=Ie(Ie({},ke.Transition.defaultProps),{},{tag:"div",baseClass:"fade",baseClassActive:"show",timeout:150,appear:!0,enter:!0,exit:!0,in:!0});function Me(e){var t,n,r,o=e.tag,i=e.baseClass,c=e.baseClassActive,s=e.className,u=e.cssModule,a=e.children,l=e.innerRef,f=ge(e,Te),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,Ce),p=(t=f,n=Ce,r={},Object.keys(t).forEach((function(e){-1===n.indexOf(e)&&(r[e]=t[e])})),r);return $e.default.createElement(ke.Transition,d,(function(e){var t="entered"===e,n=Ee(_e()(s,i,t&&c),u);return $e.default.createElement(o,me({className:n},p,{ref:l}),a)}))}Me.propTypes=Ne,Me.defaultProps=Pe;var De=Me,Re=["className","closeClassName","closeAriaLabel","cssModule","tag","color","isOpen","toggle","children","transition","fade","innerRef"];function Fe(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 Le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(n),!0).forEach((function(t){Oe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ge={children:ve.a.node,className:ve.a.string,closeClassName:ve.a.string,closeAriaLabel:ve.a.string,cssModule:ve.a.object,color:ve.a.string,fade:ve.a.bool,isOpen:ve.a.bool,toggle:ve.a.func,tag:Se,transition:ve.a.shape(De.propTypes),innerRef:ve.a.oneOfType([ve.a.object,ve.a.string,ve.a.func])},Be={color:"success",isOpen:!0,tag:"div",closeAriaLabel:"Close",fade:!0,transition:Le(Le({},De.defaultProps),{},{unmountOnExit:!0})};function Ue(e){var t=e.className,n=e.closeClassName,r=e.closeAriaLabel,o=e.cssModule,i=e.tag,c=e.color,s=e.isOpen,u=e.toggle,a=e.children,l=e.transition,f=e.fade,d=e.innerRef,p=ge(e,Re),h=Ee(_e()(t,"alert","alert-"+c,{"alert-dismissible":u}),o),b=Ee(_e()("close",n),o),$=Le(Le(Le({},De.defaultProps),l),{},{baseClass:f?l.baseClass:"",timeout:f?l.timeout:0});return $e.default.createElement(De,me({},p,$,{tag:i,className:h,in:s,role:"alert",innerRef:d}),u?$e.default.createElement("button",{type:"button",className:b,"aria-label":r,onClick:u},$e.default.createElement("span",{"aria-hidden":"true"},"×")):null,a)}Ue.propTypes=Ge,Ue.defaultProps=Be;var Ve=Ue;class He extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Tag","CSSModule","Color","Transition","IsOpen","Toggle","Custom"]}}function qe(e,t){const n=de(Object(d.d)(e=>6===e.tag?e.fields[0]:Object(l.g)(),e),1),r=de(Object(d.c)(e=>6===e.tag?void 0:e,e),1),o=Object.assign({},n,r);return $e.createElement(Ve,o,...t)}var We=n(14);class ze extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Success","Failure","Info"]}}function Ye(e){switch(e.tag){case 0:return new He(2,"success");case 2:return new He(2,"info");default:return new He(2,"danger")}}function Xe(e){switch(e.tag){case 0:case 2:default:return e.fields[0]}}function Je(e){let t;const n=e.hideAlert,o=e.alert,i=Object(s.c)();return Object(c.i)(()=>{!function(e,t){Object(s.i)(u.g.Delay(()=>u.g.Bind(Object(s.h)(5e3),()=>(e(),u.g.Zero()))),t)}(n,i)},[]),Object($e.createElement)("div",Object(r.h)(Object(l.p)([["className",Object(p.f)(" ",["container-lg","fixed-top","mt-2"])],(t=[qe([Ye(o),new He(5,()=>{Object(s.a)(i),n()})],[Xe(o)])],["children",We.a.Children.toArray(Array.from(t))])])))}class Ze{constructor(){}}function Ke(e,t){return new Z.e(0,t)}function Qe(e,t){return t}function et(e,t,n){return Object(Z.g)(n,t)}new Ze;class tt{constructor(){}}function nt(e,t){const n=Ke(0,t);return u.g.Return(n)}function rt(e,t){return u.g.Delay(t)}new tt;class ot extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class it extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Header"]}}class ct extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}o.d;class st 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 ut extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class at 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}}const lt=new st("",new ot(0),Object(l.g)(),!1,void 0,void 0,new ct(0));new at(0,"","",Y(),new ut(0,""));function ft(e,t){return Object(p.d)(t)?[t]:Object(p.h)(t,[e],null,0)}function dt(e){return new st(e,lt.method,lt.headers,lt.withCredentials,lt.overridenMimeType,lt.overridenResponseType,lt.content)}function pt(e,t){return new st(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.content)}function ht(e,t){return new st(t.url,t.method,Object(l.b)(t.headers,Object(l.t)(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.content)}function bt(e,t){return new st(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,e)}function $t(e){return Object(s.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,s;4===n.readyState&&t[0]((r=n.responseType,e=""===r||"text"===r?n.responseText:"",o=0|n.status,i=n.responseType,s=n.responseType,c=""===s||"text"===s?new ut(0,n.responseText):new ut("arraybuffer"===s?2:"blob"===s?1:3,n.response),new at(o,e,i,function(e){const t=Object(h.a)();return G(t,I(t,e))}(Object(f.a)(e=>{const t=Object(l.p)(ft(":",e));return Object(l.l)(t)?void 0:[Object(l.k)(t).toLocaleLowerCase(),Object(p.f)(":",Object(l.w)(t)).trim()]},ft("\r\n",n.getAllResponseHeaders()))),c)))};const o=Object(r.o)(e.headers);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const e=o["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(e.fields[0],e.fields[1])}}finally{Object(r.k)(o)}n.withCredentials=e.withCredentials;const i=e.overridenMimeType;if(null==i);else{const e=i;n.overrideMimeType(e)}const c=e.overridenResponseType;null==c||(1===c.tag?n.responseType="blob":2===c.tag?n.responseType="arraybuffer":n.responseType="text");const s=[e.method,e.content];0===s[0].tag?n.send(Object(a.f)(void 0)):1===s[1].tag||3===s[1].tag||2===s[1].tag?n.send(Object(a.f)(s[1].fields[0])):n.send(Object(a.f)(void 0))})}var mt=n(24);class gt 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 Ot extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}o.c;class wt{constructor(){this.cache=new Map([])}}function yt(){return new wt}yt(),yt();function vt(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function jt(e,t){switch(e.tag){case 2:return Object(mt.b)(vt(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return vt(t)}}var _t=n(26),Et=n(21),xt=n(5),St=(n(23),n(22),n(20));function Ct(e,t){kt(t);const n=new Date(e);return n.offset=null!=t?t:-6e4*(new Date).getTimezoneOffset(),n}function kt(e){if(null!=e&&0!==e){if(e%6e4!=0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}function Tt(e,t){try{return t.contents=function(e){const[t,n]=Object(St.e)(e),r=null==n?-6e4*t.getTimezoneOffset():"Z"===n?0:6e4*n;return Ct(t.getTime(),r)}(e),!0}catch(e){return!1}}function At(e){return e<0?Math.ceil(e):Math.floor(e)}function It(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return Nt(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 Nt(e){return Object(xt.r)(Object(xt.j)(e,1e4))}r.g,r.g;function Pt(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 At(e/864e5)}(e)),i=Math.abs(function(e){return At(e%864e5/36e5)}(e)),c=Math.abs(function(e){return At(e%36e5/6e4)}(e)),s=Math.abs(function(e){return At(e%6e4/1e3)}(e)),u=Math.abs(function(e){return At(e%1e3)}(e));return`${e<0?"-":""}${0!==o||"c"!==t&&"g"!==t?"c"===t?o+".":o+":":""}${"g"===t?i:Object(r.x)(i,2)}:${Object(r.x)(c,2)}:${Object(r.x)(s,2)}${0!==u||"c"!==t&&"g"!==t?"g"===t?"."+Object(r.x)(u,3):"."+Object(r.w)(u,3,7):""}`}function Mt(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 It(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],s=+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*It(n,c,s,o,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}class Dt{constructor(e,t){const n=new o.b(null);this.comparer=t,n.contents=this,this.hashMap=new Map([]),this["init@8-2"]=1;const i=Object(r.o)(e);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const e=i["System.Collections.Generic.IEnumerator`1.get_Current"]();Gt(n.contents,e)}}finally{Object(r.k)(i)}}get[Symbol.toStringTag](){return"HashSet"}toJSON(e){return Array.from(this)}"System.Collections.IEnumerable.GetEnumerator"(){return Object(r.o)(this)}GetEnumerator(){return Object(r.o)(Object(d.f)(this.hashMap.values()))}[Symbol.iterator](){return Object(r.E)(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){Gt(this,e)}"System.Collections.Generic.ICollection`1.Clear"(){Ft(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return Bt(this,e)}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){Object(d.p)((n,r)=>{e[t+n]=r},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|Lt(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){return Ut(this,e)}get size(){return 0|Lt(this)}add(e){return Gt(this,e),this}clear(){Ft(this)}delete(e){return Ut(this,e)}has(e){return Bt(this,e)}keys(){return Object(d.q)(e=>e,this)}values(){return Object(d.q)(e=>e,this)}entries(){return Object(d.q)(e=>[e,e],this)}forEach(e,t){const n=this;Object(d.o)(t=>{e(t,t,n)},n)}}function Rt(e,t){const n=0|e.comparer.GetHashCode(t);let r,i=null;return r=[pe(e.hashMap,n,new o.b(()=>i,e=>{i=e})),i],r[0]?[!0,n,r[1].findIndex(n=>e.comparer.Equals(t,n))]:[!1,n,-1]}function Ft(e){e.hashMap.clear()}function Lt(e){let t=0,n=Object(r.o)(e.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();){t=t+n["System.Collections.Generic.IEnumerator`1.get_Current"]().length|0}}finally{Object(r.k)(n)}return 0|t}function Gt(e,t){const n=Rt(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!1;case 1:if(n[0]){be(e.hashMap,n[1]).push(t);return!0}return e.hashMap.set(n[1],[t]),!0}}function Bt(e,t){const n=Rt(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function Ut(e,t){const n=Rt(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return be(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}class Vt{constructor(e){this.k=e}}function Ht(e){return new Vt(e)}function qt(e){return e.k}class Wt extends Vt{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function zt(e,t,n,r){return new Wt(e,t,n,r)}function Yt(e){return e.left}function Xt(e){return e.right}function Jt(e){return e.h}function Zt(e){return function e(t,n){e:for(;;){const r=t,o=n;if(null!=r){const i=r;if(i instanceof Wt){t=Yt(i),n=e(Xt(i),o+1);continue e}return o+1|0}return 0|o}}(e,0)}function Kt(e,t,n){let r;if(null!=e){const t=e;r=t instanceof Wt?Jt(t):1}else r=0;let o;if(null!=n){const e=n;o=e instanceof Wt?Jt(e):1}else o=0;const i=0|(r<o?o:r);return 0===i?Ht(t):zt(t,e,n,i+1)}function Qt(e,t,n){let r,o,i,c,s;if(null!=e){const t=e;s=t instanceof Wt?Jt(t):1}else s=0;let u;if(null!=n){const e=n;u=e instanceof Wt?Jt(e):1}else u=0;if(u>s+2){const i=Object(a.i)(n);if(i instanceof Wt){if(r=Yt(i),(null!=r?(o=r,o instanceof Wt?Jt(o):1):0)>s+1){const n=Object(a.i)(Yt(i));if(n instanceof Wt)return Kt(Kt(e,t,Yt(n)),qt(n),Kt(Xt(n),qt(i),Xt(i)));throw new Error("internal error: Set.rebalance")}return Kt(Kt(e,t,Yt(i)),qt(i),Xt(i))}throw new Error("internal error: Set.rebalance")}if(s>u+2){const r=Object(a.i)(e);if(r instanceof Wt){if(i=Xt(r),(null!=i?(c=i,c instanceof Wt?Jt(c):1):0)>u+1){const e=Object(a.i)(Xt(r));if(e instanceof Wt)return Kt(Kt(Yt(r),qt(r),Yt(e)),qt(e),Kt(Xt(e),t,n));throw new Error("internal error: Set.rebalance")}return Kt(Yt(r),qt(r),Kt(Xt(r),t,n))}throw new Error("internal error: Set.rebalance")}return Kt(e,t,n)}function en(e,t,n){if(null!=n){const r=n,o=0|e.Compare(t,qt(r));if(r instanceof Wt)return o<0?Qt(en(e,t,Yt(r)),qt(r),Xt(r)):0===o?n:Qt(Yt(r),qt(r),en(e,t,Xt(r)));{const o=0|e.Compare(t,qt(r));return o<0?zt(t,void 0,n,2):0===o?n:zt(t,n,void 0,2)}}return Ht(t)}function tn(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const c=i,s=0|r.Compare(o,qt(c));if(c instanceof Wt){if(s<0){e=r,t=o,n=Yt(c);continue e}if(0===s)return!0;e=r,t=o,n=Xt(c);continue e}return 0===s}return!1}}function nn(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof Wt){nn(n,Yt(o)),n(qt(o)),e=n,t=Xt(o);continue e}n(qt(o))}break}}class rn extends o.c{constructor(e,t){super(),this.stack=e,this.started=t}}function on(e){e:for(;;){const t=e;if(Object(l.l)(t))return Object(l.g)();{const n=Object(l.k)(t),r=Object(l.w)(t);if(null!=n){const o=n;if(o instanceof Wt){e=Object(l.q)([Yt(o),Ht(qt(o)),Xt(o)],r);continue e}return t}e=r;continue e}}}function cn(e){return new rn(on(Object(l.t)(e)),!1)}function sn(e){if(e.started){const t=e.stack;if(Object(l.l)(t))return function(){throw new Error("Enumeration already started")}();if(null!=Object(l.k)(t)){return qt(Object(l.k)(t))}throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function un(e){let t=cn(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>sn(t),"System.Collections.IEnumerator.get_Current":()=>sn(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Object(l.l)(t))return!1;if(null!=Object(l.k)(t)){if(Object(l.k)(t)instanceof Wt)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=on(Object(l.w)(t)),!Object(l.l)(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!Object(l.l)(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=cn(e)},Dispose(){}}}function an(e,t,n){return null==t?null==n?0:-1:null==n?1:0|function(e,t,n){e:for(;;){const r=e,o=t,i=n,c=[o,i];if(Object(l.l)(c[0]))return Object(l.l)(c[1])?0:-1;if(Object(l.l)(c[1]))return 1;if(null!=Object(l.k)(c[1]))if(null!=Object(l.k)(c[0])){const s=Object(l.k)(c[0]),u=Object(l.k)(c[1]);if(s instanceof Wt)if(null==Yt(s)){if(!(u instanceof Wt)){const o=0|r.Compare(qt(s),qt(u));if(0!==o)return 0|o;e=r,t=Object(l.f)(Xt(s),Object(l.w)(c[0])),n=Object(l.f)(void 0,Object(l.w)(c[1]));continue e}if(null==Yt(u)){const o=0|r.Compare(qt(s),qt(u));if(0!==o)return 0|o;e=r,t=Object(l.f)(Xt(s),Object(l.w)(c[0])),n=Object(l.f)(Xt(u),Object(l.w)(c[1]));continue e}{const c=[o,i];let s,u,a,f,d;switch(Object(l.l)(c[0])?Object(l.l)(c[1])?s=2:null!=Object(l.k)(c[1])?(s=1,f=Object(l.w)(c[1]),d=Object(l.k)(c[1])):s=2:null!=Object(l.k)(c[0])?(s=0,u=Object(l.w)(c[0]),a=Object(l.k)(c[0])):Object(l.l)(c[1])?s=2:null!=Object(l.k)(c[1])?(s=1,f=Object(l.w)(c[1]),d=Object(l.k)(c[1])):s=2,s){case 0:if(a instanceof Wt){e=r,t=Object(l.q)([Yt(a),zt(qt(a),void 0,Xt(a),0)],u),n=i;continue e}e=r,t=Object(l.q)([void 0,Ht(qt(a))],u),n=i;continue e;case 1:if(d instanceof Wt){e=r,t=o,n=Object(l.q)([Yt(d),zt(qt(d),void 0,Xt(d),0)],f);continue e}e=r,t=o,n=Object(l.q)([void 0,Ht(qt(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const c=[o,i];let s,u,a,f,d;switch(Object(l.l)(c[0])?Object(l.l)(c[1])?s=2:null!=Object(l.k)(c[1])?(s=1,f=Object(l.w)(c[1]),d=Object(l.k)(c[1])):s=2:null!=Object(l.k)(c[0])?(s=0,u=Object(l.w)(c[0]),a=Object(l.k)(c[0])):Object(l.l)(c[1])?s=2:null!=Object(l.k)(c[1])?(s=1,f=Object(l.w)(c[1]),d=Object(l.k)(c[1])):s=2,s){case 0:if(a instanceof Wt){e=r,t=Object(l.q)([Yt(a),zt(qt(a),void 0,Xt(a),0)],u),n=i;continue e}e=r,t=Object(l.q)([void 0,Ht(qt(a))],u),n=i;continue e;case 1:if(d instanceof Wt){e=r,t=o,n=Object(l.q)([Yt(d),zt(qt(d),void 0,Xt(d),0)],f);continue e}e=r,t=o,n=Object(l.q)([void 0,Ht(qt(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(u instanceof Wt)){const o=0|r.Compare(qt(s),qt(u));if(0!==o)return 0|o;e=r,t=Object(l.w)(c[0]),n=Object(l.w)(c[1]);continue e}if(null==Yt(u)){const o=0|r.Compare(qt(s),qt(u));if(0!==o)return 0|o;e=r,t=Object(l.f)(void 0,Object(l.w)(c[0])),n=Object(l.f)(Xt(u),Object(l.w)(c[1]));continue e}{const c=[o,i];let s,u,a,f,d;switch(Object(l.l)(c[0])?Object(l.l)(c[1])?s=2:null!=Object(l.k)(c[1])?(s=1,f=Object(l.w)(c[1]),d=Object(l.k)(c[1])):s=2:null!=Object(l.k)(c[0])?(s=0,u=Object(l.w)(c[0]),a=Object(l.k)(c[0])):Object(l.l)(c[1])?s=2:null!=Object(l.k)(c[1])?(s=1,f=Object(l.w)(c[1]),d=Object(l.k)(c[1])):s=2,s){case 0:if(a instanceof Wt){e=r,t=Object(l.q)([Yt(a),zt(qt(a),void 0,Xt(a),0)],u),n=i;continue e}e=r,t=Object(l.q)([void 0,Ht(qt(a))],u),n=i;continue e;case 1:if(d instanceof Wt){e=r,t=o,n=Object(l.q)([Yt(d),zt(qt(d),void 0,Xt(d),0)],f);continue e}e=r,t=o,n=Object(l.q)([void 0,Ht(qt(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{Object(l.k)(c[1]);const s=[o,i];let u,a,f,d,p;switch(Object(l.l)(s[0])?Object(l.l)(s[1])?u=2:null!=Object(l.k)(s[1])?(u=1,d=Object(l.w)(s[1]),p=Object(l.k)(s[1])):u=2:null!=Object(l.k)(s[0])?(u=0,a=Object(l.w)(s[0]),f=Object(l.k)(s[0])):Object(l.l)(s[1])?u=2:null!=Object(l.k)(s[1])?(u=1,d=Object(l.w)(s[1]),p=Object(l.k)(s[1])):u=2,u){case 0:if(f instanceof Wt){e=r,t=Object(l.q)([Yt(f),zt(qt(f),void 0,Xt(f),0)],a),n=i;continue e}e=r,t=Object(l.q)([void 0,Ht(qt(f))],a),n=i;continue e;case 1:if(p instanceof Wt){e=r,t=o,n=Object(l.q)([Yt(p),zt(qt(p),void 0,Xt(p),0)],d);continue e}e=r,t=o,n=Object(l.q)([void 0,Ht(qt(p))],d);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==Object(l.k)(c[0])){e=r,t=Object(l.w)(c[0]),n=Object(l.w)(c[1]);continue e}{Object(l.k)(c[0]);const s=[o,i];let u,a,f,d,p;switch(Object(l.l)(s[0])?Object(l.l)(s[1])?u=2:null!=Object(l.k)(s[1])?(u=1,d=Object(l.w)(s[1]),p=Object(l.k)(s[1])):u=2:null!=Object(l.k)(s[0])?(u=0,a=Object(l.w)(s[0]),f=Object(l.k)(s[0])):Object(l.l)(s[1])?u=2:null!=Object(l.k)(s[1])?(u=1,d=Object(l.w)(s[1]),p=Object(l.k)(s[1])):u=2,u){case 0:if(f instanceof Wt){e=r,t=Object(l.q)([Yt(f),zt(qt(f),void 0,Xt(f),0)],a),n=i;continue e}e=r,t=Object(l.q)([void 0,Ht(qt(f))],a),n=i;continue e;case 1:if(p instanceof Wt){e=r,t=o,n=Object(l.q)([Yt(p),zt(qt(p),void 0,Xt(p),0)],d);continue e}e=r,t=o,n=Object(l.q)([void 0,Ht(qt(p))],d);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Object(l.t)(t),Object(l.t)(n))}function ln(e,t,n){let r=n;nn(e=>{t[r]=e,r=r+1|0},e)}function fn(e,t){return Object(f.g)((t,n)=>en(e,n,t),void 0,t)}function dn(e,t){if(Object(r.r)(t))return fn(e,t);if(t instanceof l.a)return function(e,t){return Object(l.j)((t,n)=>en(e,n,t),void 0,t)}(e,t);{const n=Object(r.o)(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=en(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i}}(e,void 0,n)}finally{Object(r.k)(n)}}}class pn{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t,n=0;const o=Object(r.o)(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const e=o["System.Collections.Generic.IEnumerator`1.get_Current"]();n=0|(t=0|Object(r.D)(e),(n<<1)+t+631)}}finally{Object(r.k)(o)}return 0|Math.abs(n)}(this)}Equals(e){return e instanceof pn&&0===an(bn(this),$n(this),$n(e))}toString(){return"set ["+Object(p.f)("; ",Object(d.q)(e=>{let t=e;return Object(o.f)(t)},this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(e){return Array.from(this)}CompareTo(e){return 0|an(bn(this),$n(this),$n(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 tn(bn(this),e,$n(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){ln($n(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|mn(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|mn(this)}GetEnumerator(){return un($n(this))}[Symbol.iterator](){return Object(r.E)(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return un($n(this))}get size(){return 0|mn(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 gn(this,e)}keys(){return Object(d.q)(e=>e,this)}values(){return Object(d.q)(e=>e,this)}entries(){return Object(d.q)(e=>[e,e],this)}forEach(e,t){const n=this;Object(d.o)(t=>{e(t,t,n)},n)}}function hn(e,t){return new pn(e,t)}function bn(e){return e.comparer}function $n(e){return e.tree}function mn(e){return Zt($n(e))}function gn(e,t){return tn(bn(e),t,$n(e))}function On(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 wn(e,t){const n=2===t.tag?On(t.fields[0],t.fields[1],!0):1===t.tag?On(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?On(t.fields[0],t.fields[1],!0):4===t.tag?On(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(p.f)("\n\n",t.fields[0]):6===t.tag?"The following `failure` occurred with the decoder: "+t.fields[0]:On(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}function yn(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new Z.e(1,wn(e[0],e[1]))}return new Z.e(0,r.fields[0])}function vn(e,t){try{return yn("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new Z.e(1,"Given an invalid JSON: "+e.message);throw e}}const jn=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 Z.e(0,(e+128&255)-128):new Z.e(1,[n,new gt(1,"a sbyte",e,"Value was either too large or too small for a sbyte")]):new Z.e(1,[n,new gt(1,"a sbyte",e,"Value is not an integral value")])}if("string"==typeof r){let e,t=0;return e=[Object(Et.d)(r,511,!1,8,new o.b(()=>t,e=>{t=0|e})),t],e[0]?new Z.e(0,e[1]):new Z.e(1,[n,new gt(0,"a sbyte",r)])}return new Z.e(1,[n,new gt(0,"a sbyte",r)])},_n=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 Z.e(0,255&e):new Z.e(1,[n,new gt(1,"a byte",e,"Value was either too large or too small for a byte")]):new Z.e(1,[n,new gt(1,"a byte",e,"Value is not an integral value")])}if("string"==typeof r){let e,t=0;return e=[Object(Et.d)(r,511,!0,8,new o.b(()=>t,e=>{t=e})),t],e[0]?new Z.e(0,e[1]):new Z.e(1,[n,new gt(0,"a byte",r)])}return new Z.e(1,[n,new gt(0,"a byte",r)])},En=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 Z.e(0,(e+32768&65535)-32768):new Z.e(1,[r,new gt(1,n,e,"Value was either too large or too small for "+n)]):new Z.e(1,[r,new gt(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Object(Et.d)(i,511,!1,16,new o.b(()=>t,e=>{t=0|e})),t],e[0]?new Z.e(0,e[1]):new Z.e(1,[r,new gt(0,n,i)])}return new Z.e(1,[r,new gt(0,n,i)])},xn=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 Z.e(0,65535&e):new Z.e(1,[r,new gt(1,n,e,"Value was either too large or too small for "+n)]):new Z.e(1,[r,new gt(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Object(Et.d)(i,511,!0,16,new o.b(()=>t,e=>{t=e})),t],e[0]?new Z.e(0,e[1]):new Z.e(1,[r,new gt(0,n,i)])}return new Z.e(1,[r,new gt(0,n,i)])},Sn=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 Z.e(0,~~e):new Z.e(1,[n,new gt(1,"an int",e,"Value was either too large or too small for an int")]):new Z.e(1,[n,new gt(1,"an int",e,"Value is not an integral value")])}if("string"==typeof r){let e,t=0;return e=[Object(Et.d)(r,511,!1,32,new o.b(()=>t,e=>{t=0|e})),t],e[0]?new Z.e(0,e[1]):new Z.e(1,[n,new gt(0,"an int",r)])}return new Z.e(1,[n,new gt(0,"an int",r)])},Cn=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 Z.e(0,e>>>0):new Z.e(1,[r,new gt(1,n,e,"Value was either too large or too small for "+n)]):new Z.e(1,[r,new gt(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Object(Et.d)(i,511,!0,32,new o.b(()=>t,e=>{t=e})),t],e[0]?new Z.e(0,e[1]):new Z.e(1,[r,new gt(0,n,i)])}return new Z.e(1,[r,new gt(0,n,i)])};function kn(e,t){if("string"==typeof t){let n,r=Ct(-621355968e5,0);return n=[Tt(t,new o.b(()=>r,e=>{r=e})),r],n[0]?new Z.e(0,n[1]):new Z.e(1,[e,new gt(0,"a datetimeoffset",t)])}return new Z.e(1,[e,new gt(0,"a datetime",t)])}function Tn(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 Z.e(1,[c,new gt(5,"a longer array. Need index `"+Object(r.q)(e)+"` but there are only `"+(i=n.length,Object(r.q)(i)+"` entries"),o)])}return new Z.e(1,[c,new gt(0,"an array",o)])}function An(e,t,n){if(Array.isArray(n)){let o=-1;return Object(Z.g)(l.s,Object(f.g)((n,i)=>{if(o=o+1|0,0===n.tag){const c=e(t+".["+Object(r.q)(o)+"]",i);return 0===c.tag?new Z.e(0,Object(l.f)(c.fields[0],n.fields[0])):new Z.e(1,c.fields[0])}return n},new Z.e(0,Object(l.g)()),n))}return new Z.e(1,[t,new gt(0,"a list",n)])}function In(e,t,n){if(Array.isArray(n)){let o=-1;const i=n;return Object(f.g)((n,i)=>{if(o=o+1|0,0===n.tag){const c=n.fields[0],s=e(t+".["+Object(r.q)(o)+"]",i);return 0===s.tag?(c[o]=s.fields[0],new Z.e(0,c)):new Z.e(1,s.fields[0])}return n},new Z.e(0,Object(f.f)(new Array(i.length),0,i.length,null)),i)}return new Z.e(1,[t,new gt(0,"an array",n)])}function Nn(e,t,n){return new Z.e(0,e)}function Pn(e,t,n,r){const o=t(n,r);return 0===o.tag?e(o.fields[0],n,r):new Z.e(1,o.fields[0])}function Mn(e,t,n,r){const o=t(n,r);return 1===o.tag?new Z.e(1,o.fields[0]):new Z.e(0,e(o.fields[0]))}function Dn(e,t){let n;const o=e;return n=e=>t=>Tn(0,o,e,t),e=>o=>Pn(Object(r.F)(3,e=>{let n;const o=t;return n=e=>t=>Tn(1,o,e,t),t=>o=>Pn((t,n,r)=>Nn([e,t]),Object(r.F)(2,n),t,o)}),Object(r.F)(2,n),e,o)}function Rn(e){return B(e)}function Fn(e){return t=e,hn(n={Compare:r.d},dn(n,t));var t,n}function Ln(e,t,n,r){let o,i;return t.length!==r.length?new Z.e(1,[n,new gt(6,(o=0|r.length,i=0|t.length,Object(p.k)(Object(p.g)("Expected %i %s but got %i"))(i)(e)(o)))]):Object(f.i)((e,t,r)=>0===r.tag?Object(Z.g)(e=>Object(l.f)(e,r.fields[0]),t(n)(e)):r,r,t,new Z.e(0,Object(l.g)()))}function Gn(e,t,n,r,o,c){const s=Object(f.w)(e=>Object(i.E)(e)===r,Object(i.q)(n,!0));if(null!=s){const n=s;return 0===c.length?new Z.e(0,Object(i.D)(n,[],!0)):Object(Z.g)(e=>Object(i.D)(n,Object(l.x)(e),!0),Ln("union fields",Object(f.k)(n=>Un(e,t,!1,n[1]),Object(i.p)(n)),o,c))}return new Z.e(1,[o,new gt(6,"Cannot find case "+r+" in "+Object(i.f)(n))])}function Bn(e,t,n,c){const s=new o.b(null),u=q(Object(i.f)(c),s,e);let a;if(Object(i.w)(c,!0)){const e=Object(f.k)(e=>[jt(t,Object(i.E)(e)),Un(u,t,!1,e[1])],Object(i.l)(c,!0));a=t=>n=>Object(Z.g)(e=>Object(i.B)(c,Object(l.x)(e),!0),function(e,t,n){return null===n||Object.getPrototypeOf(n||!1)!==Object.prototype?new Z.e(1,[t,new gt(0,"an object",n)]):Object(f.h)(Object(r.F)(2,e=>{const r=e[0];return o=>0===o.tag?Object(Z.g)(e=>Object(l.f)(e,o.fields[0]),e[1](t+"."+r)(n[r])):o}),e,new Z.e(0,Object(l.g)()))}(e,t,n))}else if(Object(i.y)(c,!0))a=e=>n=>{if("string"==typeof n)return Gn(u,t,c,n,e,[]);if(Array.isArray(n)){const r=n;return Gn(u,t,c,r[0],e,r.slice(1,r.length))}return new Z.e(1,[e,new gt(0,"a string or array",n)])};else{if(!n){let e;const t=Object(i.f)(c);throw e=Object(p.k)(Object(p.g)("Cannot generate auto decoder for %s. Please pass an extra decoder."))(t),new Error(e)}a=e=>t=>new Z.e(1,[e,new gt(2,"an extra coder for "+Object(i.f)(c),t)])}return s.contents=a,a}function Un(e,t,n,c){let s,u,h;const b=Object(i.f)(c),$=W(b,e);if(null==$){if(Object(i.t)(c)){const n=Un(e,t,!1,Object(i.g)(c));return e=>t=>In(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,o=e,s=t,u=jn(o)(s);if(1===u.tag)return new Z.e(1,u.fields[0]);{const e=u.fields[0];return Object(d.g)(e,Object(i.i)(n),{Equals:(e,t)=>e===t,GetHashCode:r.v})?new Z.e(0,Object(i.H)(n,e.toString())):new Z.e(1,[o,new gt(1,Object(i.f)(n),s,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>t=>{const n=c,o=e,s=t,u=_n(o)(s);if(1===u.tag)return new Z.e(1,u.fields[0]);{const e=u.fields[0];return Object(d.g)(e,Object(i.i)(n),{Equals:(e,t)=>e===t,GetHashCode:r.v})?new Z.e(0,Object(i.H)(n,e.toString())):new Z.e(1,[o,new gt(1,Object(i.f)(n),s,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>t=>{const n=c,o=e,s=t,u=En(o)(s);if(1===u.tag)return new Z.e(1,u.fields[0]);{const e=u.fields[0];return Object(d.g)(e,Object(i.i)(n),{Equals:(e,t)=>e===t,GetHashCode:r.v})?new Z.e(0,Object(i.H)(n,Object(r.p)(e))):new Z.e(1,[o,new gt(1,Object(i.f)(n),s,"Unkown value provided for the enum")])}};if("System.UInt16"===e)return e=>t=>{const n=c,o=e,s=t,u=xn(o)(s);if(1===u.tag)return new Z.e(1,u.fields[0]);{const e=u.fields[0];return Object(d.g)(e,Object(i.i)(n),{Equals:(e,t)=>e===t,GetHashCode:r.v})?new Z.e(0,Object(i.H)(n,e.toString())):new Z.e(1,[o,new gt(1,Object(i.f)(n),s,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>t=>{const n=c,o=e,s=t,u=Sn(o)(s);if(1===u.tag)return new Z.e(1,u.fields[0]);{const e=u.fields[0];return Object(d.g)(e,Object(i.i)(n),{Equals:(e,t)=>e===t,GetHashCode:r.v})?new Z.e(0,Object(i.H)(n,Object(r.q)(e))):new Z.e(1,[o,new gt(1,Object(i.f)(n),s,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>t=>{const n=c,o=e,s=t,u=Cn(o)(s);if(1===u.tag)return new Z.e(1,u.fields[0]);{const e=u.fields[0];return Object(d.g)(e,Object(i.i)(n),{Equals:(e,t)=>e===t,GetHashCode:r.v})?new Z.e(0,Object(i.H)(n,e.toString())):new Z.e(1,[o,new gt(1,Object(i.f)(n),s,"Unkown value provided for the enum")])}};{const e=Object(i.f)(c),t=Object(p.j)(Object(p.g)("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=>t(e)}}if(Object(i.v)(c)){if(Object(i.x)(c)){const n=Object(f.k)(n=>Un(e,t,!1,n),Object(i.n)(c));return e=>t=>Array.isArray(t)?Object(Z.g)(e=>Object(i.C)(Object(l.x)(e),c),Ln("tuple elements",n,e,t)):new Z.e(1,[e,new gt(0,"an array",t)])}{const o=Object(i.f)(Object(i.j)(c));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===o)return s=Un(e,t,!0,Object(i.k)(c)[0]),e=>t=>{return n=Object(r.F)(2,s),o=e,null==(i=t)?new Z.e(0,void 0):Object(Z.g)(a.f,n(o,i));var n,o,i};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===o)return u=Un(e,t,!1,Object(i.k)(c)[0]),e=>t=>An(Object(r.F)(2,u),e,t);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===o){const n=Un(e,t,!1,Object(i.k)(c)[0]),o=Un(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 Z.e(1,[n,new gt(0,"an object",r)]):Object(d.l)((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 Z.e(0,Object(l.f)([c.fields[0],e.fields[0]],o.fields[0])):new Z.e(1,e.fields[0])}return new Z.e(1,c.fields[0])}return o},new Z.e(0,Object(l.g)()),Object.keys(r))}(Object(r.F)(2,n),Object(r.F)(2,o),e,t),(h=Dn(Object(r.F)(2,n),Object(r.F)(2,o)),e=>t=>An(Object(r.F)(2,h),e,t))]);return s=e=>t=>{return n=e,o=t,((e,t)=>{e:for(;;){const i=e,c=t;if(Object(l.l)(i))return new Z.e(1,[n,new gt(7,c)]);{const s=yn(n,Object(r.F)(2,Object(l.k)(i)),o);if(1===s.tag){e=Object(l.w)(i),t=Object(l.b)(c,Object(l.t)(s.fields[0]));continue e}return new Z.e(0,s.fields[0])}}})(u,Object(l.g)());var n,o},e=>t=>Mn(Rn,Object(r.F)(2,s),e,t)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===o){const n=Un(e,t,!1,Object(i.k)(c)[0]);return e=>t=>{const o=In(Object(r.F)(2,n),e,t);return 0===o.tag?new Z.e(0,Fn(o.fields[0])):new Z.e(1,o.fields[0])}}return Bn(e,t,n,c)}}return"System.Boolean"===b?e=>t=>{return n=e,"boolean"==typeof(r=t)?new Z.e(0,r):new Z.e(1,[n,new gt(0,"a boolean",r)]);var n,r}:"Microsoft.FSharp.Core.Unit"===b?e=>t=>{return n=e,null==(r=t)?new Z.e(0,void 0):new Z.e(1,[n,new gt(0,"null",r)]);var n,r}:"System.String"===b?e=>t=>{return n=e,"string"==typeof(r=t)?new Z.e(0,r):new Z.e(1,[n,new gt(0,"a string",r)]);var n,r}:"System.SByte"===b?jn:"System.Byte"===b?_n:"System.Int16"===b?En:"System.UInt16"===b?xn:"System.Int32"===b?Sn:"System.UInt32"===b?Cn:"System.Double"===b?e=>t=>{return n=e,"number"==typeof(r=t)?new Z.e(0,r):new Z.e(1,[n,new gt(0,"a float",r)]);var n,r}:"System.Single"===b?e=>t=>{return n=e,"number"==typeof(r=t)?new Z.e(0,r):new Z.e(1,[n,new gt(0,"a float32",r)]);var n,r}:"System.DateTime"===b?e=>t=>function(e,t){if("string"==typeof t){let n,r=Object(St.d)();return n=[Object(St.h)(t,new o.b(()=>r,e=>{r=e})),r],n[0]?new Z.e(0,Object(St.g)(n[1])):new Z.e(1,[e,new gt(0,"a datetime",t)])}return new Z.e(1,[e,new gt(0,"a datetime",t)])}(e,t):"System.DateTimeOffset"===b?e=>t=>kn(e,t):"System.TimeSpan"===b?e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[Mt(t,new o.b(()=>r,e=>{r=e})),r],n[0]?new Z.e(0,n[1]):new Z.e(1,[e,new gt(0,"a timespan",t)])}return new Z.e(1,[e,new gt(0,"a timespan",t)])}(e,t):"System.Guid"===b?e=>t=>function(e,t){if("string"==typeof t){let n,r="00000000-0000-0000-0000-000000000000";return n=[Object(_t.b)(t,new o.b(()=>r,e=>{r=e})),r],n[0]?new Z.e(0,n[1]):new Z.e(1,[e,new gt(0,"a guid",t)])}return new Z.e(1,[e,new gt(0,"a guid",t)])}(e,t):"System.Object"===b?e=>e=>new Z.e(0,e):Bn(e,t,n,c)}{const e=$;return t=>n=>e.contents(t)(n)}}function Vn(e){return null!=e?z((e,t)=>new o.b(t[1]),e.Coders):Y()}const Hn=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 qn(e,t){if(t>=0&&t<e.length)return e.charCodeAt(t);throw new Error("Index out of range.")}const Wn=e=>function(e,t){return 0!=(1<<zn(e,t)&256)}(e,0);function zn(e,t){const n=qn(e,t);return Hn(n)}Symbol.toStringTag,Symbol.iterator;function Yn(e,t){return Object(d.h)(()=>{const n=new Dt([],t);return Object(d.k)(e=>he(e,n),e)})}function Xn(e,t,n){return Object(d.h)(()=>{const r=new Dt(e,n);return Object(d.k)(e=>he(e,r),t)})}o.d;o.c;o.d;o.d;o.c;o.d;o.c;o.d;o.d;class Jn extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HELP","VETStudentLoan","FinancialSupplement","StudentStartUpLoan","TradeSupportLoan"]}}class Zn extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["AustralianResidentForTaxPurposes","ForeignResidentForTaxPurposes","WorkingHolidayMaker"]}}class Kn extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["FullTime","PartTime","LabourHire","SuperIncomeStream","Casual"]}}class Qn extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Tfn"]}}class er extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Under18AndBelowTaxThreshold","Pending","Pensioner"]}}o.d;class tr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PreviousSurname"]}}function nr(e){return new tr(0,e)}function rr(e){return e.fields[0]}o.c;o.d;o.d;o.d;function or(e,t){return function(e,t,n){e:for(;;){const r=e,o=t,i=n;if(Object(l.l)(i))return Object(Z.g)(l.s,r);{const c=Qe(0,()=>Object(Z.f)(e=>et(0,r,t=>Object(l.f)(e,t)),o(Object(l.k)(i))))();if(1===c.tag)return c;e=c,t=o,n=Object(l.w)(i);continue e}}}(new Z.e(0,Object(l.g)()),e,t)}o.c;o.c;o.c;function ir(e){return Qe(0,()=>{const t=Object(p.b)(Wn,e);return Object(Z.f)(()=>Object(Z.f)(()=>et(0,ee(0,"TFN is not valid",Object(f.u)(Object(f.l)((e,t)=>e*t,Object(f.k)(e=>Object(Et.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),ee(9,"TFN must be 9 digits",t.length)),ee(e,"TFN must contain digits only",t))})()}function cr(e){return Qe(0,()=>Object(Z.f)(e=>{const t=e;return et(0,te("TFN must not contain all zeros",(n=["0"],o=t.split(""),i={Equals:(e,t)=>e===t,GetHashCode:r.C},Object(d.y)(Xn(n,o,i)))),()=>t);var n,o,i},ir(e)))()}function sr(e){switch(e){case 0:return new Z.e(0,new Zn(0));case 1:return new Z.e(0,new Zn(1));case 2:return new Z.e(0,new Zn(2));default:return new Z.e(1,"Invalid ResidencyStatus")}}function ur(e){switch(e.tag){case 1:return 1;case 2:return 2;default:return 0}}function ar(e){switch(e){case 0:return new Z.e(0,new Kn(0));case 1:return new Z.e(0,new Kn(1));case 2:return new Z.e(0,new Kn(2));case 3:return new Z.e(0,new Kn(3));case 4:return new Z.e(0,new Kn(4));default:return new Z.e(1,"Invalid EmploymentBasis")}}function lr(e){switch(e.tag){case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;default:return 0}}function fr(e){switch(e){case 0:return new Z.e(0,new Jn(0));case 1:return new Z.e(0,new Jn(1));case 2:return new Z.e(0,new Jn(2));case 3:return new Z.e(0,new Jn(3));case 4:return new Z.e(0,new Jn(4));default:return new Z.e(1,"Invalid DebtSupport")}}function dr(e){switch(e.tag){case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;default:return 0}}const pr=e=>{return or(fr,(t=e,n={Equals:(e,t)=>e===t,GetHashCode:r.v},Object(d.z)(Yn(t,n))));var t,n},hr=e=>Object(l.o)(dr,e);function br(e){switch(e){case 0:return new Z.e(0,new er(0));case 1:return new Z.e(0,new er(1));case 2:return new Z.e(0,new er(2));default:return new Z.e(1,"Invalid ExemptionReason")}}function $r(e){switch(e.tag){case 1:return 1;case 2:return 2;default:return 0}}class mr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Tfn","Exempted"]}}function gr(){return Object(i.L)("Dto.Dto.ProvidedTfnInformationDto",[],mr,()=>[[["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 Or 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 yr extends o.c{constructor(e,t){super(),this.Meta=e,this.Data=t}}function vr(){return Object(i.I)("Dto.BackendApiModels.Read.TfnDeclarationDetailsWithMeta",[],yr,()=>[["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",[],Or,()=>[[["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 jr extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Create","ChangeTfnInformation","ChangePreviousSurname","ChangeResidencyStatus","ChangeEmploymentBasis","ChangeTaxFreeThresholdClaimed","ChangeDebtSupport"]}}function _r(e){return e}function Er(e){return Array.from(e)}function xr(e){return Object(St.f)(e,"O",{})}function Sr(e){return Pt(e)}function Cr(){return null}function kr(e){return Object(St.f)(e,"O",{})}function Tr(e,t){return JSON.stringify(t,Object(r.F)(2,null),Object(a.f)(e))}function Ar(e,t,n,r){const c=new o.b(null),s=q(Object(i.f)(r),c,e);let u;if(Object(i.w)(r,!0)){const e=Object(f.k)(e=>{const r=jt(t,Object(i.E)(e)),o=Ir(s,t,n,e[1]);return t=>c=>{const s=Object(i.m)(t,e);return(!n||n&&null!=s)&&(c[r]=o(s)),c}},Object(i.l)(r,!0));u=t=>Object(d.l)((e,n)=>n(t)(e),{},e)}else{if(!Object(i.y)(r,!0)){let e;const t=Object(i.f)(r);throw e=Object(p.k)(Object(p.g)("Cannot generate auto encoder for %s. Please pass an extra encoder."))(t),new Error(e)}u=e=>{const o=Object(i.r)(e,r,!0),c=o[0],u=o[1],a=0|u.length;if(0===a)return Object(i.E)(c);{const e=0|a,r=Object(i.p)(c),o=Object(f.f)(new Array(e+1),0,e+1,null);o[0]=Object(i.E)(c);for(let i=1;i<=e;i++){const e=Ir(s,t,n,r[i-1][1]);o[i]=e(u[i-1])}return o}}}return c.contents=u,u}function Ir(e,t,n,o){const c=Object(i.f)(o),s=W(c,e);if(null==s){if(Object(i.t)(o)){const r=Ir(e,t,n,Object(i.g)(o));return e=>Er(Object(d.q)(r,e))}if(Object(i.u)(o)){const e=Object(i.f)(Object(i.h)(o));if("System.SByte"===e)return e=>e;if("System.Byte"===e)return e=>e;if("System.Int16"===e)return e=>e;if("System.UInt16"===e)return e=>e;if("System.Int32"===e)return e=>e;if("System.UInt32"===e)return e=>e;{const e=Object(i.f)(o);return Object(p.j)(Object(p.g)("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)}}if(Object(i.v)(o)){if(Object(i.x)(o)){const r=Object(f.k)(r=>Ir(e,t,n,r),Object(i.n)(o));return e=>Er(Object(d.r)((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=Ir(e,t,n,Object(i.k)(o)[0]),e=>Object(a.c)(Object(a.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=Ir(e,t,n,Object(i.k)(o)[0]);return e=>Er(Object(d.q)(r,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===c){const r=Object(i.k)(o)[0],c=Ir(e,t,n,Object(i.k)(o)[1]);if("System.String"===Object(i.f)(r)||"System.Guid"===Object(i.f)(r))return e=>Object(d.l)((e,t)=>{const n=t;return e[n[0]]=c(n[1]),e},{},e);{let o;const i=Ir(e,t,n,r);return o=i,e=>Er(Object(d.q)(e=>{const t=e;return[o(t[0]),c(t[1])]},e))}}return Ar(e,t,n,o)}}return"System.Boolean"===c?e=>e:"Microsoft.FSharp.Core.Unit"===c?Cr:"System.String"===c?e=>e:"System.SByte"===c?e=>e:"System.Byte"===c?e=>e:"System.Int16"===c?e=>e:"System.UInt16"===c?e=>e:"System.Int32"===c?e=>e:"System.UInt32"===c?e=>e:"System.Double"===c?e=>e:"System.Single"===c?e=>e:"System.DateTime"===c?kr:"System.DateTimeOffset"===c?xr:"System.TimeSpan"===c?Sr:"System.Guid"===c?_r:"System.Object"===c?e=>e:Ar(e,t,n,o)}{const e=s;return t=>e.contents(t)}}function Nr(e){return null!=e?z((e,t)=>new o.b(t[0]),e.Coders):Y()}function Pr(e){return Object(p.k)(Object(p.g)("%s/tfn-declaration/backend"))(e)}function Mr(e,t){return rt(0,()=>{const n=ht((r=Object(p.k)(Object(p.g)("Bearer %s"))(e),new it(0,"Authorization",r)),t);var r;let o;const i=$t(n);return o=u.g.Bind(i,e=>u.g.Return(new Z.e(0,e))),u.g.Delay(()=>u.g.Bind(o,e=>{let t,r;const o=e;return 1===o.tag?u.g.Return(new Z.e(1,o.fields[0])):u.g.ReturnFrom((t=o.fields[0],429===t.statusCode||t.statusCode>=500?(r=$t(n),u.g.Bind(r,e=>u.g.Return(new Z.e(0,e)))):nt(0,t)))}))})}const Dr=e=>vn(Object(r.F)(2,function(e,t,n){const r=Object(a.b)(t,new Ot(0));return Un(Vn(n),r,!1,e)}(vr(),new Ot(1),void 0)),e);function Rr(e,t){return rt(0,()=>{const n=Mr(e,pt(new ot(0),dt(Pr(t))));return u.g.Delay(()=>u.g.Bind(n,e=>{let t,n;const r=e;return 1===r.tag?u.g.Return(new Z.e(1,r.fields[0])):u.g.ReturnFrom((t=r.fields[0],200===t.statusCode?(n=Dr(t.responseText),u.g.Return(n)):u.g.Return(new Z.e(1,"Unexpected response from backend"))))}))})}function Fr(e,t,n){return rt(0,()=>{let o;const c=e.PreExistingTfnDec;let s,f;switch(2===c.tag&&0===c.fields[0].tag?(s=0,f=c.fields[0].fields[0]):s=1,s){case 0:o=rt(0,()=>nt(0,f));break;case 1:o=Rr(t,n)}return u.g.Delay(()=>u.g.Bind(o,o=>{let c,s,f;const p=o;return 1===p.tag?u.g.Return(new Z.e(1,p.fields[0])):u.g.ReturnFrom((c=p.fields[0],f=function(e,t){return Qe(0,()=>Object(Z.f)(n=>{const o=n,i=Object(a.d)(rr,e.PreviousSurname.Value);return Object(Z.f)(n=>{const c=0|n;return Object(Z.f)(n=>{const s=0|n;return Object(Z.f)(n=>{let u,a;const f=n,p=hr(e.DebtSupportCheckboxGroup),h=t.Data;if(null!=h){const e=h;return Ke(0,Object(l.b)(0===o.tag?Object(l.g)():1===o.fields[0].tag?(u=0|$r(o.fields[0].fields[0]),a=e.TfnInformation,1===a.tag&&a.fields[0]===u?Object(l.g)():Object(l.t)(new jr(1,new mr(1,u)))):Object(l.t)(new jr(1,new mr(0,o.fields[0].fields[0].fields[0]))),Object(d.z)(Object(d.h)(()=>Object(d.a)(Object(r.n)(i,e.PreviousSurname)?Object(d.i)():Object(d.v)(new jr(2,i)),Object(d.h)(()=>Object(d.a)(c!==e.ResidencyStatus?Object(d.v)(new jr(3,c)):Object(d.i)(),Object(d.h)(()=>Object(d.a)(s!==e.EmploymentBasis?Object(d.v)(new jr(4,s)):Object(d.i)(),Object(d.h)(()=>Object(d.a)(f!==e.IsTaxFreeThresholdClaimed?Object(d.v)(new jr(5,f)):Object(d.i)(),Object(d.h)(()=>Object(r.n)(Object(l.v)(p,{Compare:r.g}),Object(l.v)(e.HasDebtSupport,{Compare:r.g}))?Object(d.i)():Object(d.v)(new jr(6,p))))))))))))))}return et(0,0===o.tag?new Z.e(1,"New TFN declaration cannot have a truncated TFN"):1===o.fields[0].tag?new Z.e(0,new mr(1,$r(o.fields[0].fields[0]))):new Z.e(0,new mr(0,o.fields[0].fields[0].fields[0])),e=>Object(l.t)(new jr(0,{AccountId:t.Meta.AccountId,EmploymentBasis:s,HasDebtSupport:p,IsTaxFreeThresholdClaimed:f,PreviousSurname:i,ResidencyStatus:c,TfnInformation:e})))},Q("missing is tax-free threshold claimed",Object(a.d)(e=>1!==e.tag,e.ClaimTaxFreeThreshold.Selected)))},Q("missing employment basis",Object(a.d)(lr,e.EmploymentBasisRadioButtonGroup.Value)))},Q("missing residency status",Object(a.d)(ur,e.ResidencyStatusRadioButtonGroup.Value)))},Q("missing TFN info",e.TfnInformation.Value)))()}(e,c),s=u.g.Return(f),u.g.Delay(()=>u.g.Bind(s,e=>{let r,o,s;const f=e;return 1===f.tag?u.g.Return(new Z.e(1,f.fields[0])):u.g.ReturnFrom((r=f.fields[0],Object(l.l)(r)?nt(0,c):(o=Mr(t,(s=bt(new ct(1,Tr(0,function(e,t,n,r){const o=Object(a.b)(t,new Ot(0)),i=Object(a.b)(r,!0);return Ir(Nr(n),o,i,e)}(Object(i.A)(Object(i.L)("Dto.Commands.TfnDeclarationCommandDto",[],jr,()=>[[["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",gr()])]],[["Item",gr()]],[["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]]))]]])),new Ot(1),void 0,void 0)(r))),pt(new ot(2),dt(Pr(n)))),ht(new it(0,"Content-Type","application/json"),s))),u.g.Delay(()=>u.g.Bind(o,e=>{let t,n;const r=e;return 1===r.tag?u.g.Return(new Z.e(1,r.fields[0])):u.g.ReturnFrom((t=r.fields[0],200===t.statusCode?(n=Dr(t.responseText),u.g.Return(n)):u.g.Return(new Z.e(1,"Unexpected response from backend"))))})))))}))))}))})}n(33);class Lr{constructor(){}}function Gr(e,t){return{then:(e,n)=>{try{return t().then(e,n)}catch(e){if(Object(r.n)(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 Br=new Lr;class Ur extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class Vr{constructor(e){this.state=new Ur(0,Object(f.f)(new Array(Object(r.t)(r.g,e,10)),0,Object(r.t)(r.g,e,10),null),0)}}function Hr(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 Ur(0,o,n):new Ur(1,o,n,i),Object(a.f)(o[r])}}function qr(e,t,n){const o=Object(c.m)(e[0]),i=Object(c.m)(new Vr(10));const u=Object(c.d)(e[0]);let f;const p=Object(c.m)(Object(s.c)()),h=Object(c.m)(p.current);Object(c.g)(()=>Object(c.a)(()=>{Object(s.a)(p.current)})),f=h;const b=()=>{setTimeout(()=>{let e;e=f.current,Object(s.f)(e)||u[1](o.current)},0)},$=e=>{var n;(n=Gr(0,()=>{let n=Object(a.f)(e);return function e(t,n,r){return n()?r.then(()=>e(t,n,r)):Promise.resolve(void 0)}(Br,()=>{let e;return null!=n&&(e=f.current,!Object(s.f)(e))},Gr(0,()=>{const e=t(Object(a.i)(n),o.current);return Object(l.m)(e=>{e($)},e[1]),n=Hr(i.current),o.current=e[0],b(),Promise.resolve()}))}),new Promise((e,t)=>{try{Promise.resolve(n).then(e,t)}catch(e){t(e)}})).then()},m=Object(c.e)($);return Object(c.j)(()=>Object(c.a)(()=>{let e;Object(d.o)(e=>{Object(r.k)(e)},Object(a.g)((e=o.current,Object(r.s)(e)?e:void 0)))}),n),Object(c.i)(()=>{o.current=e[0],b(),Object(l.m)(e=>{e(m)},e[1])},n),Object(c.h)(()=>{Object(d.o)(m,Object(a.g)(Hr(i.current)))}),[u[0],m]}class Wr extends o.c{constructor(e,t){super(),this.Value=e,this.Meta=t}}function zr(){return new Wr(void 0,{Valid:!1})}function Yr(e){return new Wr(e,{Valid:!0})}function Xr(e){switch(e){case"Under18AndBelowTaxThreshold":return new er(0);case"Pending":return new er(1);case"Pensioner":return new er(2);default:return}}function Jr(e){switch(e){case"AustralianResidentForTaxPurposes":return new Zn(0);case"ForeignResidentForTaxPurposes":return new Zn(1);case"WorkingHolidayMaker":return new Zn(2);default:return}}function Zr(e){switch(e){case"HELP":return new Jn(0);case"VETStudentLoan":return new Jn(1);case"FinancialSupplement":return new Jn(2);case"StudentStartUpLoan":return new Jn(3);case"TradeSupportLoan":return new Jn(4);default:return}}function Kr(e){switch(e){case"FullTime":return new Kn(0);case"PartTime":return new Kn(1);case"LabourHire":return new Kn(2);case"SuperIncomeStream":return new Kn(3);case"Casual":return new Kn(4);default:return}}function Qr(e){let t;return Object($e.createElement)("div",Object(r.h)(Object(l.p)([["className","mb-2"],(t=[Object($e.createElement)("strong",{children:[e]})],["children",We.a.Children.toArray(Array.from(t))])])))}function eo(e,t){let n,o;return Object($e.createElement)("div",Object(r.h)(Object(l.p)([["className","mb-2"],(n=[Object($e.createElement)("span",Object(r.h)(Object(l.p)([["className","mr-2"],(o=[Object($e.createElement)("strong",{children:[e]})],["children",We.a.Children.toArray(Array.from(o))])]))),t],["children",We.a.Children.toArray(Array.from(n))])])))}class to extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Yes","No"]}}class no extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Select","SelectInternal"]}}class ro extends o.c{constructor(e,t){super(),this.Selected=e,this.Meta=t}}function oo(e){return new ro(e,{Touched:!1})}function io(e,t){return 1===e.tag?e.fields[1]||!t.Meta.Touched?new ro(e.fields[0],t.Meta):t:new ro(e.fields[0],{Touched:!0})}function co(e){let t;const n=Object(r.n)(e.Parent.State.Selected,e.Selection)?Object(l.p)(["btn-secondary","active"]):Object(l.t)("btn-outline-secondary");return Object($e.createElement)("label",Object(r.h)(Object(l.p)([["className",Object(p.f)(" ",Object(l.b)(Object(l.t)("btn"),n))],(t=[Object($e.createElement)("input",{type:"radio",name:"yesNoButtonGroup",onClick:t=>{e.Parent.Dispatch(new no(0,e.Selection))},disabled:Object(r.n)(e.Parent.Disable,e.Selection)}),Object(o.f)(e.Selection)],["children",We.a.Children.toArray(Array.from(t))])])))}function so(e){let t,n;return Object($e.createElement)("div",Object(r.h)(Object(l.p)([["className","row"],(t=[Object($e.createElement)("div",Object(r.h)(Object(l.p)([["className",Object(p.f)(" ",["btn-group","btn-group-toggle","col-12","col-sm-6"])],(n=[co({Parent:e,Selection:new to(0)}),co({Parent:e,Selection:new to(1)})],["children",We.a.Children.toArray(Array.from(n))])])))],["children",We.a.Children.toArray(Array.from(t))])])))}var uo=n(16);class ao extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Select"]}}class lo extends o.c{constructor(e){super(),this.Selected=e}}function fo(e,t,n){const r=function(e,t){return new lo(e.fields[0])}(t);return e(new Wr(r.Selected,{Valid:null!=r.Selected})),[r,Object(uo.g)()]}function po(e){const t=qr((n=e.InitialValue,[new lo(n),Object(uo.g)()]),(t,n)=>fo(e.OnUpdate,t),[]);var n;const o=Object(d.z)(Object(d.h)(()=>Object(d.d)(n=>{let o;const i=n[0];return Object(d.v)(Object($e.createElement)("div",Object(r.h)(Object(l.p)([["className",Object(p.f)(" ",["form-check","fl-radio-container"])],(o=[Object($e.createElement)("input",{className:"form-check-input",type:"radio",name:e.Name,id:i,checked:Object(a.h)(t[0].Selected)===i,onChange:e=>{e.target.checked;t[1](new ao(0,i))}}),Object($e.createElement)("label",{className:"form-check-label",for:i,children:n[1]})],["children",We.a.Children.toArray(Array.from(o))])]))))},e.ValueLabelPairs)));return Object($e.createElement)("div",{children:We.a.Children.toArray(Array.from(o))})}class ho extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SetText","SetTouched"]}}class bo extends o.c{constructor(e,t){super(),this.Text=e,this.Meta=t}}function $o(e,t,n,r){const o=function(e,t,n){if(1===t.tag)return new bo(n.Text,{Touched:!0,Valid:n.Meta.Valid});{const r=t.fields[0];return new bo(r,{Touched:n.Meta.Touched,Valid:e(r)})}}(t,n,r);return e(new Wr(o.Text,{Valid:o.Meta.Valid})),[o,Object(uo.g)()]}class mo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Number","Text"]}}function go(e){const t=qr(function(e,t){const n=Object(a.b)(e,"");return[new bo(n,{Touched:!1,Valid:t(n)}),Object(uo.g)()]}(e.InitialValue,e.Validator),(t,n)=>$o(e.OnUpdate,e.Validator,t,n),[]),n=t[0],o=t[1],i=Object(l.p)([Object($e.createElement)("input",Object(r.h)(Object(d.z)(Object(d.h)(()=>Object(d.a)(Object(d.v)(["className",Object(p.f)(" ",Object(d.z)(Object(d.h)(()=>Object(d.a)(Object(d.v)("form-control"),Object(d.h)(()=>!n.Meta.Valid&&n.Meta.Touched?Object(d.v)("is-invalid"):Object(d.i)())))))]),Object(d.h)(()=>Object(d.a)(Object(d.v)(["type","text"]),Object(d.h)(()=>Object(d.a)(Object(d.v)(["onChange",t=>{const n=t.target.value;o(new ho(0,1===e.InputType.tag?n:Object(p.b)(Wn,n)))}]),Object(d.h)(()=>{let t;return Object(d.a)(Object(d.v)((t=n.Text,["ref",e=>{null==e||Object(r.n)(e.value,t)||(e.value=t)}])),Object(d.h)(()=>Object(d.a)(Object(d.v)(["onBlur",e=>{o(new ho(1))}]),Object(d.h)(()=>Object(r.n)(e.InputType,new mo(0))?Object(d.v)(["inputmode","numeric"]):Object(d.i)()))))})))))))))),Object($e.createElement)("div",{className:"invalid-feedback",children:e.InvalidFeedback})]);return Object($e.createElement)("div",{children:We.a.Children.toArray(Array.from(i))})}class Oo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["YesNoButtonGroupMsg","SetTfnInput","SetTfnExemptionReason","SwitchEditingState","HideAlert"]}}class wo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Tfn","Exempted"]}}class yo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TfnTruncated","TfnValue"]}}class vo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Truncated","Editing"]}}class jo extends o.c{constructor(e,t,n,r){super(),this.YesNoButtonGroup=e,this.TruncatedTfn=t,this.CurrentAlert=n,this.EditingState=r}}function _o(e){const t=e.EditingState;if(1===t.tag){const e=t.fields[0];return new Wr(Object(a.d)(e=>new yo(1,e),e.Value),e.Meta)}return new Wr(new yo(0,Object(a.h)(e.TruncatedTfn)),{Valid:!0})}const Eo=e=>K(cr(e));function xo(e){const t=e.EditingState;if(1===t.tag){const n=t.fields[0],r=n.Value;if(null==r)return new jo(e.YesNoButtonGroup,e.TruncatedTfn,e.CurrentAlert,new vo(1,new Wr(n.Value,{Valid:!1})));if(1===r.tag)return new jo(e.YesNoButtonGroup,e.TruncatedTfn,e.CurrentAlert,new vo(1,new Wr(n.Value,{Valid:!0})));{const t=r.fields[0].fields[0];return new jo(e.YesNoButtonGroup,e.TruncatedTfn,e.CurrentAlert,new vo(1,new Wr(n.Value,{Valid:Eo(t)})))}}return e}function So(e,t,n){const r=function(e,t){let n,r,o,i,c,s,u,l,f,d;return xo(1===e.tag?(n=e.fields[0],r=Object(a.d)(e=>new wo(0,new Qn(0,e)),n.Value),t.EditingState.tag,new jo(t.YesNoButtonGroup,t.TruncatedTfn,t.CurrentAlert,new vo(1,new Wr(r,n.Meta)))):2===e.tag?(o=e.fields[0],i=Object(a.d)(e=>new wo(1,e),Object(a.a)(Xr,o.Value)),t.EditingState.tag,new jo(t.YesNoButtonGroup,t.TruncatedTfn,t.CurrentAlert,new vo(1,new Wr(i,o.Meta)))):3===e.tag?1===t.EditingState.tag?new jo(t.YesNoButtonGroup,t.TruncatedTfn,t.CurrentAlert,new vo(0)):new jo(t.YesNoButtonGroup,t.TruncatedTfn,new ze(2,"Please click the Save and continue button at the end of\n this form to save the changes to your TFN."),new vo(1,zr())):4===e.tag?new jo(t.YesNoButtonGroup,t.TruncatedTfn,void 0,t.EditingState):(c=e.fields[0],c.tag,u=[c.fields[0],t.EditingState],s=1===u[0].tag?1===u[1].tag?(l=u[1].fields[0].Value,null!=l&&1===l.tag?t.EditingState:new vo(1,zr())):new vo(1,zr()):1===u[1].tag?(f=[u[1].fields[0].Value,t.TruncatedTfn],null!=f[0]&&0===f[0].tag?t.EditingState:null!=f[1]?(d=f[1],new vo(0)):new vo(1,zr())):new vo(0),new jo(io(c,t.YesNoButtonGroup),t.TruncatedTfn,t.CurrentAlert,s)))}(t,n);return e(_o(r)),[r,Object(uo.g)()]}function Co(e){let t;const n=qr(function(e){let t,n,r;return[xo(new jo(oo(null!=e&&1===e.tag&&1===e.fields[0].tag?new to(1):new to(0)),(t=e,null!=t&&0===t.tag?(n=t.fields[0],n):void 0),void 0,null==e?new vo(1,zr()):1===e.tag?(r=e.fields[0],new vo(1,new Wr(r,{Valid:!1}))):new vo(0))),Object(uo.g)()]}(e.InitialValue),(t,n)=>So(e.OnUpdate,t,n),[]),i=n[0],c=n[1],s=null==i.TruncatedTfn?null:Object($e.createElement)("div",Object(r.h)(Object(l.p)([["className",Object(p.f)(" ",["col-auto","col-sm-auto"])],(t=[Object($e.createElement)("button",{className:Object(p.f)(" ",["btn","btn-secondary"]),type:"button",children:Object(r.n)(i.EditingState,new vo(0))?"Change":"Cancel",onClick:e=>{c(new Oo(3))}})],["children",We.a.Children.toArray(Array.from(t))])]))),u=Object(d.z)(Object(d.h)(()=>{let e,t;return Object(d.a)((e=i.CurrentAlert,null==e?Object(d.v)(null):(t=e,Object(d.v)(Object($e.createElement)(Je,{alert:t,hideAlert:()=>{c(new Oo(4))}})))),Object(d.h)(()=>Object(d.a)(Object(d.v)(Qr("Do you have your TFN?")),Object(d.h)(()=>Object(d.a)(Object(d.v)(Object($e.createElement)(so,{Disable:void 0,Dispatch:e=>{c(new Oo(0,e))},State:i.YesNoButtonGroup})),Object(d.h)(()=>{let e;return Object(d.v)(Object($e.createElement)("div",Object(r.h)(Object(l.p)([["className","mt-2"],(e=Object(d.z)(Object(d.h)(()=>{let e,t,n;const u=i.YesNoButtonGroup.Selected;if(null==u)return Object(d.v)(null);if(1===u.tag)return Object(d.v)(Object($e.createElement)(po,(e=Object(l.o)(e=>[Object(o.f)(e[0]),e[1]],Object(l.p)([[new er(1),"My TFN is pending"],[new er(0),"I'm under 18 and don't have a TFN"],[new er(2),"I have an exemption from quoting a TFN (such as receiving a social security or service pension)"]])),{InitialValue:(t=_o(i).Value,null!=t&&1===t.tag&&1===t.fields[0].tag?(n=t.fields[0].fields[0],Object(o.f)(n)):void 0),Name:"TfnExemption",OnUpdate:e=>{c(new Oo(2,e))},ValueLabelPairs:e})));{const e=[i.TruncatedTfn,i.EditingState];let t,n;switch(null!=e[0]&&0===e[1].tag?(t=0,n=e[0]):t=1,t){case 0:return Object(d.a)(Object(d.v)(Object($e.createElement)("h6",{children:["Your Tax File Number"]})),Object(d.h)(()=>{let e,t,o;return Object(d.v)(Object($e.createElement)("div",Object(r.h)(Object(l.p)([["className","row"],(e=[Object($e.createElement)("div",Object(r.h)(Object(l.p)([["className",Object(p.f)(" ",["col","col-sm-4"])],(t=[Object($e.createElement)("input",Object(r.h)(Object(l.p)([["className",Object(p.f)(" ",["form-control"])],["disabled",!0],(o="xxx-xxx-x"+n,["ref",e=>{null==e||Object(r.n)(e.value,o)||(e.value=o)}])])))],["children",We.a.Children.toArray(Array.from(t))])]))),s],["children",We.a.Children.toArray(Array.from(e))])]))))}));case 1:return Object(d.a)(Object(d.v)(Object($e.createElement)("h6",{children:["Enter Tax File Number"]})),Object(d.h)(()=>{let e,t;return Object(d.v)(Object($e.createElement)("div",Object(r.h)(Object(l.p)([["className","row"],(e=[Object($e.createElement)("div",Object(r.h)(Object(l.p)([["className",Object(p.f)(" ",["col","col-sm-4"])],(t=[Object($e.createElement)(go,{InitialValue:void 0,InputType:new mo(0),InvalidFeedback:"Please enter a valid tax file number",OnUpdate:e=>{c(new Oo(1,e))},Validator:Eo})],["children",We.a.Children.toArray(Array.from(t))])]))),s],["children",We.a.Children.toArray(Array.from(e))])]))))}))}}})),["children",We.a.Children.toArray(Array.from(e))])]))))}))))))}));return Object($e.createElement)("div",{children:We.a.Children.toArray(Array.from(u))})}class ko 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 To extends o.c{constructor(e,t,n,r,o,i,c,s){super(),this.PreExistingTfnDec=e,this.CurrentAlert=t,this.TfnInformation=n,this.PreviousSurname=r,this.ResidencyStatusRadioButtonGroup=o,this.ClaimTaxFreeThreshold=i,this.DebtSupportCheckboxGroup=c,this.EmploymentBasisRadioButtonGroup=s}}class Ao extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Web","ReactNative","WebComponent"]}}function Io(){const e=Object(p.h)(document.URL,["/"],null,0),t=Object(f.c)("web",e,{Equals:(e,t)=>e===t,GetHashCode:r.C}),n=Object(f.c)("react-native",e,{Equals:(e,t)=>e===t,GetHashCode:r.C}),o=[Object(a.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 Z.e(0,new Ao(2,o[0]));case 1:return new Z.e(0,new Ao(0));case 2:return new Z.e(0,new Ao(1));case 3:return new Z.e(1,"Could not determine the embed mode")}}var No=n(30);function Po(e,t){switch(e.tag){case 1:return[new To(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,e.fields[0],t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(uo.g)()];case 2:{const n=Object(a.a)(Jr,e.fields[0].Value);return[new To(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,new Wr(n,{Valid:null!=n}),t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),null==n?Object(uo.g)():1===n.tag?Object(uo.a)(new ko(3,new no(1,new to(1),!1))):2===n.tag?Object(uo.a)(new ko(3,new no(1,new to(1),!0))):Object(uo.a)(new ko(3,new no(1,new to(0),!1)))]}case 3:return[new To(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,io(e.fields[0],t.ClaimTaxFreeThreshold),t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(uo.g)()];case 4:return[new To(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,e.fields[0],t.EmploymentBasisRadioButtonGroup),Object(uo.g)()];case 5:{const n=Object(a.a)(Kr,e.fields[0].Value);return[new To(t.PreExistingTfnDec,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,new Wr(n,{Valid:null!=n})),Object(uo.g)()]}case 6:{const n=e.fields[0],r=new To(n,t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),o=Object(uo.a)(new ko(7,new ze(1,"There was an error loading your tax declaration. Please try refreshing this page.")));!function(){let e,t;const n=Io();let r;switch(r=0===n.tag&&(0===n.fields[0].tag||1===n.fields[0].tag)?0:1,r){case 0:{const n=Object(a.e)(document.getElementById("external-loading-page-container"));Object(d.o)((t=document.body,e=e=>t.removeChild(e),t=>{e(t)}),Object(a.g)(n));break}}}();const i=Object(uo.a)(new ko(10));let c,s;switch(2===n.tag?1===n.fields[0].tag?c=1:(c=0,s=n.fields[0].fields[0]):c=3===n.tag?1:2,c){case 0:{const e=Object(a.d)(e=>function(e,t){return Qe(0,()=>{let n;return Object(Z.f)(n=>Object(Z.f)(r=>{const o=t.IsTaxFreeThresholdClaimed?new to(0):new to(1);return Object(Z.f)(i=>et(0,ar(t.EmploymentBasis),c=>new To(e.PreExistingTfnDec,e.CurrentAlert,Yr(n),Yr(Object(a.d)(nr,t.PreviousSurname)),Yr(r),oo(o),i,Yr(c))),pr(t.HasDebtSupport))},sr(t.ResidencyStatus)),(n=t.TfnInformation,1===n.tag?Object(Z.g)(e=>new yo(1,new wo(1,e)),br(n.fields[0])):new Z.e(0,new yo(0,n.fields[0]))))})()}(r,e),s.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 To(t.PreExistingTfnDec,e.fields[0],t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(uo.g)()];case 8:return[new To(t.PreExistingTfnDec,void 0,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(uo.g)()];case 9:return[new To(new X(2,new Z.e(0,e.fields[0])),t.CurrentAlert,t.TfnInformation,t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(uo.g)()];case 10:return function(){const e=Io();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(a.f)(Object(l.g)()))}}(),[t,Object(uo.g)()];default:return[new To(t.PreExistingTfnDec,t.CurrentAlert,e.fields[0],t.PreviousSurname,t.ResidencyStatusRadioButtonGroup,t.ClaimTaxFreeThreshold,t.DebtSupportCheckboxGroup,t.EmploymentBasisRadioButtonGroup),Object(uo.g)()]}}class Mo extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["YesNoButtonGroupMsg","SetPreviousSurname"]}}class Do extends o.c{constructor(e,t){super(),this.YesNoButtonGroup=e,this.Data=t}}function Ro(e){return!Object(p.e)(e)}function Fo(e){const t=e.YesNoButtonGroup.Selected;return null==t?new Do(e.YesNoButtonGroup,new Wr(e.Data.Value,{Valid:!1})):1===t.tag?new Do(e.YesNoButtonGroup,new Wr(e.Data.Value,{Valid:!0})):new Do(e.YesNoButtonGroup,new Wr(e.Data.Value,{Valid:Object(a.b)(Object(a.d)(e=>Ro(e.fields[0]),e.Data.Value),!1)}))}function Lo(e,t,n){const r=function(e,t){let n,r,o;return Fo(1===e.tag?(n=e.fields[0],new Do(t.YesNoButtonGroup,new Wr(Object(a.d)(e=>new tr(0,e),n.Value),{Valid:n.Meta.Valid}))):(r=e.fields[0],r.tag,o=1===r.fields[0].tag?new Wr(void 0,t.Data.Meta):t.Data,new Do(io(r,t.YesNoButtonGroup),o)))}(t,n);return e(r.Data),[r,Object(uo.g)()]}function Go(e){let t;const n=qr((o=e.InitialValue,[Fo(new Do(oo(new to(null!=o?0:1)),new Wr(o,{Valid:!1}))),Object(uo.g)()]),(t,n)=>Lo(e.OnUpdate,t,n),[]);var o;const i=n[0],c=n[1],s=Object(l.p)([Qr("Have you changed your surname since you last dealt with the Australian Tax Office?"),Object($e.createElement)(so,{Disable:void 0,Dispatch:e=>{c(new Mo(0,e))},State:i.YesNoButtonGroup}),Object($e.createElement)("div",Object(r.h)(Object(l.p)([["className","mt-2"],(t=Object(d.z)(Object(d.h)(()=>{const e=i.YesNoButtonGroup.Selected;let t;switch(t=null!=e&&0===e.tag?0:1,t){case 0:return Object(d.a)(Object(d.v)(Object($e.createElement)("h6",{children:["Enter Previous Surname"]})),Object(d.h)(()=>{let e,t;return Object(d.v)(Object($e.createElement)("div",Object(r.h)(Object(l.p)([["className","row"],(e=[Object($e.createElement)("div",Object(r.h)(Object(l.p)([["className",Object(p.f)(" ",["col-12","col-sm-5"])],(t=[Object($e.createElement)(go,{InitialValue:Object(a.d)(rr,i.Data.Value),InputType:new mo(1),InvalidFeedback:"Please enter your previous surname",OnUpdate:e=>{c(new Mo(1,e))},Validator:Ro})],["children",We.a.Children.toArray(Array.from(t))])])))],["children",We.a.Children.toArray(Array.from(e))])]))))}));case 1:return Object(d.v)(null)}})),["children",We.a.Children.toArray(Array.from(t))])])))]);return Object($e.createElement)("div",{children:We.a.Children.toArray(Array.from(s))})}function Bo(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Uo(e){return e instanceof Bo(e).Element||e instanceof Element}function Vo(e){return e instanceof Bo(e).HTMLElement||e instanceof HTMLElement}function Ho(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Bo(e).ShadowRoot||e instanceof ShadowRoot)}var qo=Math.max,Wo=Math.min,zo=Math.round;function Yo(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(Vo(e)&&t){var i=e.offsetHeight,c=e.offsetWidth;c>0&&(r=zo(n.width)/c||1),i>0&&(o=zo(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function Xo(e){var t=Bo(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Jo(e){return e?(e.nodeName||"").toLowerCase():null}function Zo(e){return((Uo(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ko(e){return Yo(Zo(e)).left+Xo(e).scrollLeft}function Qo(e){return Bo(e).getComputedStyle(e)}function ei(e){var t=Qo(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ti(e,t,n){void 0===n&&(n=!1);var r,o,i=Vo(t),c=Vo(t)&&function(e){var t=e.getBoundingClientRect(),n=zo(t.width)/e.offsetWidth||1,r=zo(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=Zo(t),u=Yo(e,c),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==Jo(t)||ei(s))&&(a=(r=t)!==Bo(r)&&Vo(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Xo(r)),Vo(t)?((l=Yo(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=Ko(s))),{x:u.left+a.scrollLeft-l.x,y:u.top+a.scrollTop-l.y,width:u.width,height:u.height}}function ni(e){var t=Yo(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ri(e){return"html"===Jo(e)?e:e.assignedSlot||e.parentNode||(Ho(e)?e.host:null)||Zo(e)}function oi(e,t){var n;void 0===t&&(t=[]);var r=function e(t){return["html","body","#document"].indexOf(Jo(t))>=0?t.ownerDocument.body:Vo(t)&&ei(t)?t:e(ri(t))}(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Bo(r),c=o?[i].concat(i.visualViewport||[],ei(r)?r:[]):r,s=t.concat(c);return o?s:s.concat(oi(ri(c)))}function ii(e){return["table","td","th"].indexOf(Jo(e))>=0}function ci(e){return Vo(e)&&"fixed"!==Qo(e).position?e.offsetParent:null}function si(e){for(var t=Bo(e),n=ci(e);n&&ii(n)&&"static"===Qo(n).position;)n=ci(n);return n&&("html"===Jo(n)||"body"===Jo(n)&&"static"===Qo(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Vo(e)&&"fixed"===Qo(e).position)return null;var n=ri(e);for(Ho(n)&&(n=n.host);Vo(n)&&["html","body"].indexOf(Jo(n))<0;){var r=Qo(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var ui="top",ai="bottom",li="right",fi="left",di=[ui,ai,li,fi],pi=di.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),hi=[].concat(di,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),bi=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function $i(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 gi(){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 Oi(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,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},mi,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],a=!1,l={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:Uo(e)?oi(e):e.contextElement?oi(e.contextElement):[],popper:oi(t)};var c=function(e){var t=$i(e);return bi.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({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));return s.orderedModifiers=c.filter((function(e){return e.enabled})),s.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:s,name:t,instance:l,options:r});u.push(i||function(){})}})),l.update()},forceUpdate:function(){if(!a){var e=s.elements,t=e.reference,n=e.popper;if(gi(t,n)){s.rects={reference:ti(t,si(n),"fixed"===s.options.strategy),popper:ni(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,c=o.options,u=void 0===c?{}:c,f=o.name;"function"==typeof i&&(s=i({state:s,options:u,name:f,instance:l})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){l.forceUpdate(),e(s)}))},function(){return c||(c=new Promise((function(e){Promise.resolve().then((function(){c=void 0,e(o())}))}))),c}),destroy:function(){f(),a=!0}};if(!gi(e,t))return l;function f(){u.forEach((function(e){return e()})),u=[]}return l.setOptions(n).then((function(e){!a&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var wi={passive:!0};function yi(e){return e.split("-")[0]}function vi(e){return e.split("-")[1]}function ji(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function _i(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?yi(o):null,c=o?vi(o):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(i){case ui:t={x:s,y:n.y-r.height};break;case ai:t={x:s,y:n.y+n.height};break;case li:t={x:n.x+n.width,y:u};break;case fi:t={x:n.x-r.width,y:u};break;default:t={x:n.x,y:n.y}}var a=i?ji(i):null;if(null!=a){var l="y"===a?"height":"width";switch(c){case"start":t[a]=t[a]-(n[l]/2-r[l]/2);break;case"end":t[a]=t[a]+(n[l]/2-r[l]/2)}}return t}var Ei={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xi(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,c=e.offsets,s=e.position,u=e.gpuAcceleration,a=e.adaptive,l=e.roundOffsets,f=e.isFixed,d=c.x,p=void 0===d?0:d,h=c.y,b=void 0===h?0:h,$="function"==typeof l?l({x:p,y:b}):{x:p,y:b};p=$.x,b=$.y;var m=c.hasOwnProperty("x"),g=c.hasOwnProperty("y"),O=fi,w=ui,y=window;if(a){var v=si(n),j="clientHeight",_="clientWidth";if(v===Bo(n)&&"static"!==Qo(v=Zo(n)).position&&"absolute"===s&&(j="scrollHeight",_="scrollWidth"),v=v,o===ui||(o===fi||o===li)&&"end"===i)w=ai,b-=(f&&v===y&&y.visualViewport?y.visualViewport.height:v[j])-r.height,b*=u?1:-1;if(o===fi||(o===ui||o===ai)&&"end"===i)O=li,p-=(f&&v===y&&y.visualViewport?y.visualViewport.width:v[_])-r.width,p*=u?1:-1}var E,x=Object.assign({position:s},a&&Ei),S=!0===l?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:zo(t*r)/r||0,y:zo(n*r)/r||0}}({x:p,y:b}):{x:p,y:b};return p=S.x,b=S.y,u?Object.assign({},x,((E={})[w]=g?"0":"",E[O]=m?"0":"",E.transform=(y.devicePixelRatio||1)<=1?"translate("+p+"px, "+b+"px)":"translate3d("+p+"px, "+b+"px, 0)",E)):Object.assign({},x,((t={})[w]=g?b+"px":"",t[O]=m?p+"px":"",t.transform="",t))}var Si={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];Vo(o)&&Jo(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.styles=n,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}),{});Vo(r)&&Jo(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var Ci={left:"right",right:"left",bottom:"top",top:"bottom"};function ki(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ci[e]}))}var Ti={start:"end",end:"start"};function Ai(e){return e.replace(/start|end/g,(function(e){return Ti[e]}))}function Ii(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ho(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ni(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Pi(e,t){return"viewport"===t?Ni(function(e){var t=Bo(e),n=Zo(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,c=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(c=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:c+Ko(e),y:s}}(e)):Uo(t)?function(e){var t=Yo(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):Ni(function(e){var t,n=Zo(e),r=Xo(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=qo(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),c=qo(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Ko(e),u=-r.scrollTop;return"rtl"===Qo(o||n).direction&&(s+=qo(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:c,x:s,y:u}}(Zo(e)))}function Mi(e,t,n){var r="clippingParents"===t?function(e){var t=oi(ri(e)),n=["absolute","fixed"].indexOf(Qo(e).position)>=0&&Vo(e)?si(e):e;return Uo(n)?t.filter((function(e){return Uo(e)&&Ii(e,n)&&"body"!==Jo(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],c=o.reduce((function(t,n){var r=Pi(e,n);return t.top=qo(r.top,t.top),t.right=Wo(r.right,t.right),t.bottom=Wo(r.bottom,t.bottom),t.left=qo(r.left,t.left),t}),Pi(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 Di(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ri(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Fi(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,s=n.rootBoundary,u=void 0===s?"viewport":s,a=n.elementContext,l=void 0===a?"popper":a,f=n.altBoundary,d=void 0!==f&&f,p=n.padding,h=void 0===p?0:p,b=Di("number"!=typeof h?h:Ri(h,di)),$="popper"===l?"reference":"popper",m=e.rects.popper,g=e.elements[d?$:l],O=Mi(Uo(g)?g:g.contextElement||Zo(e.elements.popper),c,u),w=Yo(e.elements.reference),y=_i({reference:w,element:m,strategy:"absolute",placement:o}),v=Ni(Object.assign({},m,y)),j="popper"===l?v:w,_={top:O.top-j.top+b.top,bottom:j.bottom-O.bottom+b.bottom,left:O.left-j.left+b.left,right:j.right-O.right+b.right},E=e.modifiersData.offset;if("popper"===l&&E){var x=E[o];Object.keys(_).forEach((function(e){var t=[li,ai].indexOf(e)>=0?1:-1,n=[ui,ai].indexOf(e)>=0?"y":"x";_[e]+=x[n]*t}))}return _}function Li(e,t,n){return qo(e,Wo(t,n))}function Gi(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 Bi(e){return[ui,li,ai,fi].some((function(t){return e[t]>=0}))}var Ui=Oi({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,s=void 0===c||c,u=Bo(t.elements.popper),a=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&a.forEach((function(e){e.addEventListener("scroll",n.update,wi)})),s&&u.addEventListener("resize",n.update,wi),function(){i&&a.forEach((function(e){e.removeEventListener("scroll",n.update,wi)})),s&&u.removeEventListener("resize",n.update,wi)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=_i({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,s=n.roundOffsets,u=void 0===s||s,a={placement:yi(t.placement),variation:vi(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,xi(Object.assign({},a,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,xi(Object.assign({},a,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Si,{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=hi.reduce((function(e,n){return e[n]=function(e,t,n){var r=yi(e),o=[fi,ui].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,c=i[0],s=i[1];return c=c||0,s=(s||0)*o,[fi,li].indexOf(r)>=0?{x:s,y:c}:{x:c,y:s}}(n,t.rects,i),e}),{}),s=c[t.placement],u=s.x,a=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=a),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,s=void 0===c||c,u=n.fallbackPlacements,a=n.padding,l=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,b=n.allowedAutoPlacements,$=t.options.placement,m=yi($),g=u||(m===$||!h?[ki($)]:function(e){if("auto"===yi(e))return[];var t=ki(e);return[Ai(e),t,Ai(t)]}($)),O=[$].concat(g).reduce((function(e,n){return e.concat("auto"===yi(n)?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,c=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,a=void 0===u?hi:u,l=vi(r),f=l?s?pi:pi.filter((function(e){return vi(e)===l})):di,d=f.filter((function(e){return a.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=Fi(e,{placement:n,boundary:o,rootBoundary:i,padding:c})[yi(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:a,flipVariations:h,allowedAutoPlacements:b}):n)}),[]),w=t.rects.reference,y=t.rects.popper,v=new Map,j=!0,_=O[0],E=0;E<O.length;E++){var x=O[E],S=yi(x),C="start"===vi(x),k=[ui,ai].indexOf(S)>=0,T=k?"width":"height",A=Fi(t,{placement:x,boundary:l,rootBoundary:f,altBoundary:d,padding:a}),I=k?C?li:fi:C?ai:ui;w[T]>y[T]&&(I=ki(I));var N=ki(I),P=[];if(i&&P.push(A[S]<=0),s&&P.push(A[I]<=0,A[N]<=0),P.every((function(e){return e}))){_=x,j=!1;break}v.set(x,P)}if(j)for(var M=function(e){var t=O.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"},D=h?3:1;D>0;D--){if("break"===M(D))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,s=void 0!==c&&c,u=n.boundary,a=n.rootBoundary,l=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,b=void 0===h?0:h,$=Fi(t,{boundary:u,rootBoundary:a,padding:f,altBoundary:l}),m=yi(t.placement),g=vi(t.placement),O=!g,w=ji(m),y="x"===w?"y":"x",v=t.modifiersData.popperOffsets,j=t.rects.reference,_=t.rects.popper,E="function"==typeof b?b(Object.assign({},t.rects,{placement:t.placement})):b,x="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,C={x:0,y:0};if(v){if(i){var k,T="y"===w?ui:fi,A="y"===w?ai:li,I="y"===w?"height":"width",N=v[w],P=N+$[T],M=N-$[A],D=p?-_[I]/2:0,R="start"===g?j[I]:_[I],F="start"===g?-_[I]:-j[I],L=t.elements.arrow,G=p&&L?ni(L):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=B[T],V=B[A],H=Li(0,j[I],G[I]),q=O?j[I]/2-D-H-U-x.mainAxis:R-H-U-x.mainAxis,W=O?-j[I]/2+D+H+V+x.mainAxis:F+H+V+x.mainAxis,z=t.elements.arrow&&si(t.elements.arrow),Y=z?"y"===w?z.clientTop||0:z.clientLeft||0:0,X=null!=(k=null==S?void 0:S[w])?k:0,J=N+W-X,Z=Li(p?Wo(P,N+q-X-Y):P,N,p?qo(M,J):M);v[w]=Z,C[w]=Z-N}if(s){var K,Q="x"===w?ui:fi,ee="x"===w?ai:li,te=v[y],ne="y"===y?"height":"width",re=te+$[Q],oe=te-$[ee],ie=-1!==[ui,fi].indexOf(m),ce=null!=(K=null==S?void 0:S[y])?K:0,se=ie?re:te-j[ne]-_[ne]-ce+x.altAxis,ue=ie?te+j[ne]+_[ne]-ce-x.altAxis:oe,ae=p&&ie?function(e,t,n){var r=Li(e,t,n);return r>n?n:r}(se,te,ue):Li(p?se:re,te,p?ue:oe);v[y]=ae,C[y]=ae-te}t.modifiersData[r]=C}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,c=n.modifiersData.popperOffsets,s=yi(n.placement),u=ji(s),a=[fi,li].indexOf(s)>=0?"height":"width";if(i&&c){var l=function(e,t){return Di("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ri(e,di))}(o.padding,n),f=ni(i),d="y"===u?ui:fi,p="y"===u?ai:li,h=n.rects.reference[a]+n.rects.reference[u]-c[u]-n.rects.popper[a],b=c[u]-n.rects.reference[u],$=si(i),m=$?"y"===u?$.clientHeight||0:$.clientWidth||0:0,g=h/2-b/2,O=l[d],w=m-f[a]-l[p],y=m/2-f[a]/2+g,v=Li(O,y,w),j=u;n.modifiersData[r]=((t={})[j]=v,t.centerOffset=v-y,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Ii(t.elements.popper,r)&&(t.elements.arrow=r)},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=Fi(t,{elementContext:"reference"}),s=Fi(t,{altBoundary:!0}),u=Gi(c,r),a=Gi(s,o,i),l=Bi(u),f=Bi(a);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:a,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),Vi={passive:!0,capture:!0},Hi=function(){return document.body};function qi(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Wi(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function zi(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Yi(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Xi(e){return[].concat(e)}function Ji(e,t){-1===e.indexOf(t)&&e.push(t)}function Zi(e){return e.split("-")[0]}function Ki(e){return[].slice.call(e)}function Qi(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function ec(){return document.createElement("div")}function tc(e){return["Element","Fragment"].some((function(t){return Wi(e,t)}))}function nc(e){return Wi(e,"MouseEvent")}function rc(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function oc(e){return tc(e)?[e]:function(e){return Wi(e,"NodeList")}(e)?Ki(e):Array.isArray(e)?e:Ki(document.querySelectorAll(e))}function ic(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function cc(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function sc(e){var t,n=Xi(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function uc(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function ac(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var lc={isTouch:!1},fc=0;function dc(){lc.isTouch||(lc.isTouch=!0,window.performance&&document.addEventListener("mousemove",pc))}function pc(){var e=performance.now();e-fc<20&&(lc.isTouch=!1,document.removeEventListener("mousemove",pc)),fc=e}function hc(){var e=document.activeElement;if(rc(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var bc=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var $c={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},mc=Object.assign({appendTo:Hi,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},$c,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),gc=Object.keys(mc);function Oc(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,i=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=mc[o])?r:i);return t}),{});return Object.assign({},e,t)}function wc(e,t){var n=Object.assign({},t,{content:zi(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Oc(Object.assign({},mc,{plugins:t}))):gc).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({},mc.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 yc(e,t){e.innerHTML=t}function vc(e){var t=ec();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",tc(e)?t.appendChild(e):yc(t,e)),t}function jc(e,t){tc(t.content)?(yc(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?yc(e,t.content):e.textContent=t.content)}function _c(e){var t=e.firstElementChild,n=Ki(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 Ec(e){var t=ec(),n=ec();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=ec();function o(n,r){var o=_c(t),i=o.box,c=o.content,s=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||jc(c,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(vc(r.arrow))):i.appendChild(vc(r.arrow)):s&&i.removeChild(s)}return r.className="tippy-content",r.setAttribute("data-state","hidden"),jc(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}Ec.$$tippy=!0;var xc=1,Sc=[],Cc=[];function kc(e,t){var n,r,o,i,c,s,u,a,l=wc(e,Object.assign({},mc,Oc(Qi(t)))),f=!1,d=!1,p=!1,h=!1,b=[],$=Yi(z,l.interactiveDebounce),m=xc++,g=(a=l.plugins).filter((function(e,t){return a.indexOf(e)===t})),O={id:m,reference:e,popper:ec(),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){0;if(O.state.isDestroyed)return;N("onBeforeUpdate",[O,t]),q();var n=O.props,r=wc(e,Object.assign({},n,Qi(t),{ignoreAttributes:!0}));O.props=r,H(),n.interactiveDebounce!==r.interactiveDebounce&&(D(),$=Yi(z,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Xi(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");M(),I(),v&&v(n,r);O.popperInstance&&(Z(),Q().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));N("onAfterUpdate",[O,t])},setContent:function(e){O.setProps({content:e})},show:function(){0;var e=O.state.isVisible,t=O.state.isDestroyed,n=!O.state.isEnabled,r=lc.isTouch&&!O.props.touch,o=qi(O.props.duration,0,mc.duration);if(e||t||n||r)return;if(C().hasAttribute("disabled"))return;if(N("onShow",[O],!1),!1===O.props.onShow(O))return;O.state.isVisible=!0,S()&&(y.style.visibility="visible");I(),G(),O.state.isMounted||(y.style.transition="none");if(S()){var i=T(),c=i.box,u=i.content;ic([c,u],0)}s=function(){var e;if(O.state.isVisible&&!h){if(h=!0,y.offsetHeight,y.style.transition=O.props.moveTransition,S()&&O.props.animation){var t=T(),n=t.box,r=t.content;ic([n,r],o),cc([n,r],"visible")}P(),M(),Ji(Cc,O),null==(e=O.popperInstance)||e.forceUpdate(),N("onMount",[O]),O.props.animation&&S()&&function(e,t){U(e,t)}(o,(function(){O.state.isShown=!0,N("onShown",[O])}))}},function(){var e,t=O.props.appendTo,n=C();e=O.props.interactive&&t===Hi||"parent"===t?n.parentNode:zi(t,[n]);e.contains(y)||e.appendChild(y);O.state.isMounted=!0,Z(),!1}()},hide:function(){0;var e=!O.state.isVisible,t=O.state.isDestroyed,n=!O.state.isEnabled,r=qi(O.props.duration,1,mc.duration);if(e||t||n)return;if(N("onHide",[O],!1),!1===O.props.onHide(O))return;O.state.isVisible=!1,O.state.isShown=!1,h=!1,f=!1,S()&&(y.style.visibility="hidden");if(D(),B(),I(!0),S()){var o=T(),i=o.box,c=o.content;O.props.animation&&(ic([i,c],r),cc([i,c],"hidden"))}P(),M(),O.props.animation?S()&&function(e,t){U(e,(function(){!O.state.isVisible&&y.parentNode&&y.parentNode.contains(y)&&t()}))}(r,O.unmount):O.unmount()},hideWithInteractivity:function(e){0;k().addEventListener("mousemove",$),Ji(Sc,$),$(e)},enable:function(){O.state.isEnabled=!0},disable:function(){O.hide(),O.state.isEnabled=!1},unmount:function(){0;O.state.isVisible&&O.hide();if(!O.state.isMounted)return;K(),Q().forEach((function(e){e._tippy.unmount()})),y.parentNode&&y.parentNode.removeChild(y);Cc=Cc.filter((function(e){return e!==O})),O.state.isMounted=!1,N("onHidden",[O])},destroy:function(){0;if(O.state.isDestroyed)return;O.clearDelayTimeouts(),O.unmount(),q(),delete e._tippy,O.state.isDestroyed=!0,N("onDestroy",[O])}};if(!l.render)return O;var w=l.render(O),y=w.popper,v=w.onUpdate;y.setAttribute("data-tippy-root",""),y.id="tippy-"+O.id,O.popper=y,e._tippy=O,y._tippy=O;var j=g.map((function(e){return e.fn(O)})),_=e.hasAttribute("aria-expanded");return H(),M(),I(),N("onCreate",[O]),l.showOnCreate&&ee(),y.addEventListener("mouseenter",(function(){O.props.interactive&&O.state.isVisible&&O.clearDelayTimeouts()})),y.addEventListener("mouseleave",(function(){O.props.interactive&&O.props.trigger.indexOf("mouseenter")>=0&&k().addEventListener("mousemove",$)})),O;function E(){var e=O.props.touch;return Array.isArray(e)?e:[e,0]}function x(){return"hold"===E()[0]}function S(){var e;return!(null==(e=O.props.render)||!e.$$tippy)}function C(){return u||e}function k(){var e=C().parentNode;return e?sc(e):document}function T(){return _c(y)}function A(e){return O.state.isMounted&&!O.state.isVisible||lc.isTouch||i&&"focus"===i.type?0:qi(O.props.delay,e?0:1,mc.delay)}function I(e){void 0===e&&(e=!1),y.style.pointerEvents=O.props.interactive&&!e?"":"none",y.style.zIndex=""+O.props.zIndex}function N(e,t,n){var r;(void 0===n&&(n=!0),j.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=O.props)[e].apply(r,t)}function P(){var t=O.props.aria;if(t.content){var n="aria-"+t.content,r=y.id;Xi(O.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(O.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 M(){!_&&O.props.aria.expanded&&Xi(O.props.triggerTarget||e).forEach((function(e){O.props.interactive?e.setAttribute("aria-expanded",O.state.isVisible&&e===C()?"true":"false"):e.removeAttribute("aria-expanded")}))}function D(){k().removeEventListener("mousemove",$),Sc=Sc.filter((function(e){return e!==$}))}function R(t){if(!lc.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!O.props.interactive||!ac(y,n)){if(Xi(O.props.triggerTarget||e).some((function(e){return ac(e,n)}))){if(lc.isTouch)return;if(O.state.isVisible&&O.props.trigger.indexOf("click")>=0)return}else N("onClickOutside",[O,t]);!0===O.props.hideOnClick&&(O.clearDelayTimeouts(),O.hide(),d=!0,setTimeout((function(){d=!1})),O.state.isMounted||B())}}}function F(){p=!0}function L(){p=!1}function G(){var e=k();e.addEventListener("mousedown",R,!0),e.addEventListener("touchend",R,Vi),e.addEventListener("touchstart",L,Vi),e.addEventListener("touchmove",F,Vi)}function B(){var e=k();e.removeEventListener("mousedown",R,!0),e.removeEventListener("touchend",R,Vi),e.removeEventListener("touchstart",L,Vi),e.removeEventListener("touchmove",F,Vi)}function U(e,t){var n=T().box;function r(e){e.target===n&&(uc(n,"remove",r),t())}if(0===e)return t();uc(n,"remove",c),uc(n,"add",r),c=r}function V(t,n,r){void 0===r&&(r=!1),Xi(O.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),b.push({node:e,eventType:t,handler:n,options:r})}))}function H(){var e;x()&&(V("touchstart",W,{passive:!0}),V("touchend",Y,{passive:!0})),(e=O.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(V(e,W),e){case"mouseenter":V("mouseleave",Y);break;case"focus":V(bc?"focusout":"blur",X);break;case"focusin":V("focusout",X)}}))}function q(){b.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),b=[]}function W(e){var t,n=!1;if(O.state.isEnabled&&!J(e)&&!d){var r="focus"===(null==(t=i)?void 0:t.type);i=e,u=e.currentTarget,M(),!O.state.isVisible&&nc(e)&&Sc.forEach((function(t){return t(e)})),"click"===e.type&&(O.props.trigger.indexOf("mouseenter")<0||f)&&!1!==O.props.hideOnClick&&O.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function z(e){var t=e.target,n=C().contains(t)||y.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=Zi(o.placement),s=o.modifiersData.offset;if(!s)return!0;var u="bottom"===c?s.top.y:0,a="top"===c?s.bottom.y:0,l="right"===c?s.left.x:0,f="left"===c?s.right.x:0,d=t.top-r+u>i,p=r-t.bottom-a>i,h=t.left-n+l>i,b=n-t.right-f>i;return d||p||h||b}))}(Q().concat(y).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:l}:null})).filter(Boolean),e)&&(D(),te(e))}function Y(e){J(e)||O.props.trigger.indexOf("click")>=0&&f||(O.props.interactive?O.hideWithInteractivity(e):te(e))}function X(e){O.props.trigger.indexOf("focusin")<0&&e.target!==C()||O.props.interactive&&e.relatedTarget&&y.contains(e.relatedTarget)||te(e)}function J(e){return!!lc.isTouch&&x()!==e.type.indexOf("touch")>=0}function Z(){K();var t=O.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,c=t.moveTransition,u=S()?_c(y).arrow:null,a=i?{getBoundingClientRect:i,contextElement:i.contextElement||C()}: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(S()){var n=T().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={}}}}];S()&&u&&l.push({name:"arrow",options:{element:u,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),O.popperInstance=Ui(a,y,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:l}))}function K(){O.popperInstance&&(O.popperInstance.destroy(),O.popperInstance=null)}function Q(){return Ki(y.querySelectorAll("[data-tippy-root]"))}function ee(e){O.clearDelayTimeouts(),e&&N("onTrigger",[O,e]),G();var t=A(!0),r=E(),o=r[0],i=r[1];lc.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout((function(){O.show()}),t):O.show()}function te(e){if(O.clearDelayTimeouts(),N("onUntrigger",[O,e]),O.state.isVisible){if(!(O.props.trigger.indexOf("mouseenter")>=0&&O.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=A(!1);t?r=setTimeout((function(){O.state.isVisible&&O.hide()}),t):o=requestAnimationFrame((function(){O.hide()}))}}else B()}}function Tc(e,t){void 0===t&&(t={});var n=mc.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",dc,Vi),window.addEventListener("blur",hc);var r=Object.assign({},t,{plugins:n}),o=oc(e).reduce((function(e,t){var n=t&&kc(t,r);return n&&e.push(n),e}),[]);return tc(e)?o[0]:o}Tc.defaultProps=mc,Tc.setDefaultProps=function(e){Object.keys(e).forEach((function(t){mc[t]=e[t]}))},Tc.currentInput=lc;Object.assign({},Si,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});Tc.setDefaultProps({render:Ec});var Ac=Tc;function Ic(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 Nc="undefined"!=typeof window&&"undefined"!=typeof document;function Pc(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function Mc(){return Nc&&document.createElement("div")}function Dc(e){var t=[];return e.forEach((function(e){t.find((function(t){return function e(t,n){if(t===n)return!0;if("object"==typeof t&&null!=t&&"object"==typeof n&&null!=n){if(Object.keys(t).length!==Object.keys(n).length)return!1;for(var r in t){if(!n.hasOwnProperty(r))return!1;if(!e(t[r],n[r]))return!1}return!0}return!1}(e,t)}))||t.push(e)})),t}function Rc(e,t){var n,r;return Object.assign({},t,{popperOptions:Object.assign({},e.popperOptions,t.popperOptions,{modifiers:Dc([].concat((null==(n=e.popperOptions)?void 0:n.modifiers)||[],(null==(r=t.popperOptions)?void 0:r.modifiers)||[]))})})}var Fc=Nc?$e.useLayoutEffect:$e.useEffect;function Lc(e){var t=Object($e.useRef)();return t.current||(t.current="function"==typeof e?e():e),t.current}function Gc(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var Bc={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()||Gc(t,"add",e.props.className)}return{onCreate:r,onBeforeUpdate:function(){n()&&Gc(t,"remove",e.props.className)},onAfterUpdate:r}}};function Uc(e){return function(t){var n=t.children,r=t.content,o=t.visible,i=t.singleton,c=t.render,s=t.reference,u=t.disabled,a=void 0!==u&&u,l=t.ignoreAttributes,f=void 0===l||l,d=(t.__source,t.__self,Ic(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),p=void 0!==o,h=void 0!==i,b=Object($e.useState)(!1),$=b[0],m=b[1],g=Object($e.useState)({}),O=g[0],w=g[1],y=Object($e.useState)(),v=y[0],j=y[1],_=Lc((function(){return{container:Mc(),renders:1}})),E=Object.assign({ignoreAttributes:f},d,{content:_.container});p&&(E.trigger="manual",E.hideOnClick=!1),h&&(a=!0);var x=E,S=E.plugins||[];c&&(x=Object.assign({},E,{plugins:h&&null!=i.data?[].concat(S,[{fn:function(){return{onTrigger:function(e,t){var n=i.data.children.find((function(e){return e.instance.reference===t.currentTarget}));e.state.$$activeSingletonInstance=n.instance,j(n.content)}}}}]):S,render:function(){return{popper:_.container}}}));var C=[s].concat(n?[n.type]:[]);return Fc((function(){var t=s;s&&s.hasOwnProperty("current")&&(t=s.current);var n=e(t||_.ref||Mc(),Object.assign({},x,{plugins:[Bc].concat(E.plugins||[])}));return _.instance=n,a&&n.disable(),o&&n.show(),h&&i.hook({instance:n,content:r,props:x,setSingletonContent:j}),m(!0),function(){n.destroy(),null==i||i.cleanup(n)}}),C),Fc((function(){var e;if(1!==_.renders){var t=_.instance;t.setProps(Rc(t.props,x)),null==(e=t.popperInstance)||e.forceUpdate(),a?t.disable():t.enable(),p&&(o?t.show():t.hide()),h&&i.hook({instance:t,content:r,props:x,setSingletonContent:j})}else _.renders++})),Fc((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)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{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;O.placement===n.placement&&O.referenceHidden===(null==r?void 0:r.isReferenceHidden)&&O.escaped===(null==r?void 0:r.hasPopperEscaped)||w({placement:n.placement,referenceHidden:null==r?void 0:r.isReferenceHidden,escaped:null==r?void 0:r.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[O.placement,O.referenceHidden,O.escaped].concat(C)),$e.default.createElement($e.default.Fragment,null,n?Object($e.cloneElement)(n,{ref:function(e){_.ref=e,Pc(n.ref,e)}}):null,$&&Object($e.createPortal)(c?c(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(O),v,_.instance):r,_.container))}}var Vc=function(e,t){return Object($e.forwardRef)((function(n,r){var o=n.children,i=Ic(n,["children"]);return $e.default.createElement(e,Object.assign({},t,i),o?Object($e.cloneElement)(o,{ref:function(e){Pc(r,e),Pc(o.ref,e)}}):null)}))},Hc=Vc(Uc(Ac));class qc extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Content"]}}var Wc=n(29);function zc(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 Yc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zc(Object(n),!0).forEach((function(t){Jc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xc(e){return(Xc="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 Jc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zc(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 Kc(e){return function(e){if(Array.isArray(e))return Qc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Qc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qc(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function es(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}var ts=["style"];function ns(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=es(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 rs=!1;try{rs=!0}catch(e){}function os(e){return e&&"object"===Xc(e)&&e.prefix&&e.iconName&&e.icon?e:Wc.b.icon?Wc.b.icon(e):null===e?null:e&&"object"===Xc(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 is(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Jc({},e,t):{}}var cs=["forwardedRef"];function ss(e){var t=e.forwardedRef,n=Zc(e,cs),r=n.icon,o=n.mask,i=n.symbol,c=n.className,s=n.title,u=n.titleId,a=n.maskId,l=os(r),f=is("classes",[].concat(Kc(function(e){var t,n=e.beat,r=e.fade,o=e.beatFade,i=e.bounce,c=e.shake,s=e.flash,u=e.spin,a=e.spinPulse,l=e.spinReverse,f=e.pulse,d=e.fixedWidth,p=e.inverse,h=e.border,b=e.listItem,$=e.flip,m=e.size,g=e.rotation,O=e.pull,w=(Jc(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":i,"fa-shake":c,"fa-flash":s,"fa-spin":u,"fa-spin-reverse":l,"fa-spin-pulse":a,"fa-pulse":f,"fa-fw":d,"fa-inverse":p,"fa-border":h,"fa-li":b,"fa-flip-horizontal":"horizontal"===$||"both"===$,"fa-flip-vertical":"vertical"===$||"both"===$},"fa-".concat(m),null!=m),Jc(t,"fa-rotate-".concat(g),null!=g&&0!==g),Jc(t,"fa-pull-".concat(O),null!=O),Jc(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(w).map((function(e){return w[e]?e:null})).filter((function(e){return e}))}(n)),Kc(c.split(" ")))),d=is("transform","string"==typeof n.transform?Wc.b.transform(n.transform):n.transform),p=is("mask",os(o)),h=Object(Wc.a)(l,Yc(Yc(Yc(Yc({},f),d),p),{},{symbol:i,title:s,titleId:u,maskId:a}));if(!h)return function(){var e;!rs&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",l),null;var b=h.abstract,$={ref:t};return Object.keys(n).forEach((function(e){ss.defaultProps.hasOwnProperty(e)||($[e]=n[e])})),us(b[0],$)}ss.displayName="FontAwesomeIcon",ss.propTypes={beat:ve.a.bool,border:ve.a.bool,bounce:ve.a.bool,className:ve.a.string,fade:ve.a.bool,flash:ve.a.bool,mask:ve.a.oneOfType([ve.a.object,ve.a.array,ve.a.string]),maskId:ve.a.string,fixedWidth:ve.a.bool,inverse:ve.a.bool,flip:ve.a.oneOf(["horizontal","vertical","both"]),icon:ve.a.oneOfType([ve.a.object,ve.a.array,ve.a.string]),listItem:ve.a.bool,pull:ve.a.oneOf(["right","left"]),pulse:ve.a.bool,rotation:ve.a.oneOf([0,90,180,270]),shake:ve.a.bool,size:ve.a.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ve.a.bool,spinPulse:ve.a.bool,spinReverse:ve.a.bool,symbol:ve.a.oneOfType([ve.a.bool,ve.a.string]),title:ve.a.string,titleId:ve.a.string,transform:ve.a.oneOfType([ve.a.string,ve.a.object]),swapOpacity:ve.a.bool},ss.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var us=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=ns(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[es(t)]=r}return e}),{attrs:{}}),c=r.style,s=void 0===c?{}:c,u=Zc(r,ts);return i.attrs.style=Yc(Yc({},i.attrs.style),s),t.apply(void 0,[n.tag,Yc(Yc({},i.attrs),u)].concat(Kc(o)))}.bind(null,$e.default.createElement),as={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.4 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)
|
|
15
|
-
*/const Pa=(Na={icon:Da},Ma=[],ce.createElement(Aa,Na,...Ma));var Na,Ma;function Ra(e){return function(e,t){return ce.createElement(ha,Object(ie.d)(e,1),...t)}([new $a(0,e.content)],[Object(ce.createElement)("span",{children:Me.a.Children.toArray([Pa])})])}class Fa extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Select"]}}class La extends o.c{constructor(e){super(),this.Selected=e}}function Ba(e,t){return Object(l.h)(t=>e===t,t.Selected)}function Ua(e,t,n){const r=function(e,t){const n=e.fields[0];return Ba(n,t)?new La(Object(l.i)(e=>n!==e,t.Selected)):new La(Object(l.a)(Object(l.s)(n),t.Selected))}(t,n);return e(r.Selected),[r,Object(Do.g)()]}function Ga(e){const t=yo((n=e.InitialValue,[new La(n),Object(Do.g)()]),(t,n)=>Ua(e.OnUpdate,t,n),[]);var n;const r=Object(l.q)(Object(f.g)(()=>Object(f.c)(e=>{const n=e[0];return Object(f.y)(Object(ce.createElement)("div",{className:Object(d.g)(" ",["form-check","fl-checkbox-container"]),children:Me.a.Children.toArray([Object(ce.createElement)("input",{className:"form-check-input",type:"checkbox",id:n,checked:Ba(n,t[0])}),Object(ce.createElement)("label",{className:"form-check-label",for:n,children:e[1]})]),onChange:e=>{e.target.checked;t[1](new Fa(0,n))}}))},e.ValueLabelPairs)));return Object(ce.createElement)("div",{children:Me.a.Children.toArray(Array.from(r))})}function Va(e,t){return!!(e.TfnInformation.Meta.Valid&&e.PreviousSurname.Meta.Valid&&e.ResidencyStatusRadioButtonGroup.Meta.Valid&&null!=e.ClaimTaxFreeThreshold.Selected&&e.EmploymentBasisRadioButtonGroup.Meta.Valid)&&!Object(r.o)(t,new Y(1))}function Ha(){return Object(ce.createElement)("hr",{className:Object(d.g)(" ",["mt-4","mb-4"])})}const Wa=(()=>{const e=Object(l.p)([Object(ce.createElement)("p",{children:["You are considered to be an Australian resident for tax purposes if you live here permanently,\n or are studying for a period in excess of 6 months."]}),Object(ce.createElement)("p",{children:["Select Working holiday maker if you are in Australia on a working holiday visa (subclass 417)\n or a work and holiday visa (subclass 462). Special rates of tax apply for working holiday makers."]}),Object(ce.createElement)("span",{children:["If none of the above applies, select Foreign resident unless you are in receipt of an Australian Government pension or allowance.\n Foreign resident tax rates are different."]})]);return Object(ce.createElement)("div",{children:Me.a.Children.toArray(Array.from(e))})})(),za=(()=>{const e=Object(l.p)([Object(ce.createElement)("p",{children:["Answer yes if you are an Australian resident for tax purposes and this is your main job.\n It will mean that the first $18,200 of your annual income is not taxed. This is called the tax-free threshold.\n If you answer no then you must be claiming it from another employer."]}),Object(ce.createElement)("p",{children:["Answer yes if you are a foreign resident in receipt of an Australian Government pension or allowance."]}),Object(ce.createElement)("span",{children:["Answer no if none of the above applies or you are a working holiday maker."]})]);return Object(ce.createElement)("div",{children:Me.a.Children.toArray(Array.from(e))})})();function qa(e){const t=e.backendUrl,n=e.accessToken,i=yo([new ei(new Y(0),void 0,vo(),jo(void 0),jo(new xr(0)),To(new xo(0)),Object(l.g)(),jo(new Sr(0))),Object(Do.g)()],(e,t)=>oi(e,t),[]),p=i[0],h=i[1];Object(c.i)(X(()=>fo(n,t),e=>{h(new Qo(6,e))}),[]);const $=Object(c.d)(new Y(0)),b=$[0],m=X(()=>function(e,t,n,r){return oe(e=>{r(new Re(1,"There was an error saving your tax declaration. Please try saving again."))},re(e=>{r(new Re(0,"Your tax declaration has been saved."))},po(e,t,n)))}(p,n,t,e=>{h(new Qo(7,e))}),e=>{let t,n;switch($[1](e),2===e.tag&&0===e.fields[0].tag?(t=0,n=e.fields[0].fields[0]):t=1,t){case 0:Object(a.i)(s.g.Delay(()=>s.g.Bind(Object(a.h)(400),()=>(function(){const e=ni();0===e.tag&&(0===e.fields[0].tag?Object(f.n)(e=>{window.parent.location.href=e},Object(u.g)(Object(ri.b)(new ri.a(0)))):1===e.fields[0].tag?Object(f.n)(e=>{e.postMessage(JSON.stringify({stepStatus:"completed"}))},Object(u.g)(window.ReactNativeWebView)):e.fields[0].fields[0].dispatchEvent(new CustomEvent("step-completion",{bubbles:!0,detail:"tax"})))}(),s.g.Zero())))),h(new Qo(9,n))}});switch(p.PreExistingTfnDec.tag){case 0:case 1:return Object(ce.createElement)("div",{children:["Please wait..."]});default:{const e=Object(l.q)(Object(f.g)(()=>Object(f.a)(Object(f.y)(Object(ce.createElement)("style",{children:['.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}']})),Object(f.g)(()=>{let e,t;return Object(f.a)((e=p.CurrentAlert,null==e?Object(f.y)(null):(t=e,Object(f.y)(Object(ce.createElement)(Be,{alert:t,hideAlert:()=>{h(new Qo(8))}})))),Object(f.g)(()=>Object(f.a)(Object(f.y)(Object(ce.createElement)("h3",{className:"mb-4",children:"Tax Declaration"})),Object(f.g)(()=>Object(f.a)(Object(f.y)(Object(ce.createElement)(Ko,{InitialValue:p.TfnInformation.Value,OnUpdate:e=>{h(new Qo(0,e))}})),Object(f.g)(()=>Object(f.a)(Object(f.y)(Ha()),Object(f.g)(()=>Object(f.a)(Object(f.y)(Object(ce.createElement)(li,{InitialValue:p.PreviousSurname.Value,OnUpdate:e=>{h(new Qo(1,e))}})),Object(f.g)(()=>Object(f.a)(Object(f.y)(Ha()),Object(f.g)(()=>Object(f.a)(Object(f.y)(Eo("Are you an Australian resident for tax purposes or a working holiday maker?",Object(ce.createElement)(Ra,{content:Wa}))),Object(f.g)(()=>{let e;return Object(f.a)(Object(f.y)(Object(ce.createElement)(Ro,(e=Object(l.o)(e=>[Object(o.e)(e[0]),e[1]],Object(l.p)([[new xr(0),"Australian resident for tax purposes"],[new xr(1),"Foreign resident"],[new xr(2),"Working holiday maker"]])),{InitialValue:Object(u.d)(e=>Object(o.e)(e),p.ResidencyStatusRadioButtonGroup.Value),Name:"ResidencyStatus",OnUpdate:e=>{h(new Qo(2,e))},ValueLabelPairs:e}))),Object(f.g)(()=>Object(f.a)(Object(f.y)(Ha()),Object(f.g)(()=>Object(f.a)(Object(f.y)(Eo("Would you like to claim the tax-free threshold from this payer?",Object(ce.createElement)(Ra,{content:za}))),Object(f.g)(()=>{let e;return Object(f.a)(Object(f.y)(Object(ce.createElement)(Io,{Disable:(e=p.ResidencyStatusRadioButtonGroup.Value,null!=e&&2===e.tag?new xo(0):void 0),Dispatch:e=>{h(new Qo(3,e))},State:p.ClaimTaxFreeThreshold})),Object(f.g)(()=>Object(f.a)(Object(f.y)(Ha()),Object(f.g)(()=>Object(f.a)(Object(f.y)(_o("Do you have any of the following outstanding debts or loans?")),Object(f.g)(()=>{let e;return Object(f.a)(Object(f.y)(Object(ce.createElement)(Ga,(e=Object(l.o)(e=>[Object(o.e)(e[0]),e[1]],Object(l.p)([[new Er(0),"Higher Education Loan Program (HELP)"],[new Er(1),"VET Student Loan (VSL)"],[new Er(2),"Financial Supplement (FS)"],[new Er(3),"Student Start-up Loan (SSL)"],[new Er(4),"Trade Support Loan (TSL)"]])),{InitialValue:Object(l.o)(e=>Object(o.e)(e),p.DebtSupportCheckboxGroup),OnUpdate:e=>{h(new Qo(4,Object(l.b)(e=>function(e){switch(e){case"HELP":return new Er(0);case"VETStudentLoan":return new Er(1);case"FinancialSupplement":return new Er(2);case"StudentStartUpLoan":return new Er(3);case"TradeSupportLoan":return new Er(4);default:return}}(e),e)))},ValueLabelPairs:e}))),Object(f.g)(()=>Object(f.a)(Object(f.y)(Ha()),Object(f.g)(()=>Object(f.a)(Object(f.y)(_o("On what basis are you paid?")),Object(f.g)(()=>{let e;return Object(f.a)(Object(f.y)(Object(ce.createElement)(Ro,(e=Object(l.o)(e=>[Object(o.e)(e[0]),e[1]],Object(l.p)([[new Sr(0),"Full-time"],[new Sr(1),"Part-time"],[new Sr(2),"Labour Hire"],[new Sr(3),"Superannuation or annuity income stream"],[new Sr(4),"Casual"]])),{InitialValue:Object(u.d)(e=>Object(o.e)(e),p.EmploymentBasisRadioButtonGroup.Value),Name:"EmploymentBasis",OnUpdate:e=>{h(new Qo(5,e))},ValueLabelPairs:e}))),Object(f.g)(()=>Object(f.a)(Object(f.y)(Ha()),Object(f.g)(()=>Object(f.y)(Object(ce.createElement)("div",{className:Object(d.g)(" ",["row","justify-content-end"]),children:Me.a.Children.toArray([Object(ce.createElement)("div",{className:Object(d.g)(" ",["col-12","col-sm-auto"]),children:Me.a.Children.toArray([Object(ce.createElement)("button",{className:Object(d.g)(" ",["btn","is-primary","btn-block"]),type:"button",disabled:!Va(p,b),onClick:e=>{Va(p,b)&&m()},children:Me.a.Children.toArray([Object(ce.createElement)("span",{className:Object(d.g)(" ",Object(l.q)(Object(f.g)(()=>Object(f.a)(Object(f.y)("spinner-grow"),Object(f.g)(()=>Object(f.a)(Object(f.y)("spinner-grow-sm"),Object(f.g)(()=>Object(f.a)(Object(f.y)("mr-2"),Object(f.g)(()=>Object(r.o)(b,new Y(1))?Object(f.h)():Object(f.y)("d-none"))))))))))}),Object(ce.createElement)("span",{children:["Save and continue"]})])})])})])}))))))}))))))}))))))}))))))}))))))))))))))}))));return Object(ce.createElement)("form",{children:Me.a.Children.toArray(Array.from(e))})}}}},,,function(e,t,n){"use strict";var r=n(42);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,c){if(c!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;!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]}t.default=e}(n(11));var r=a(n(44)),o=a(n(47)),i=a(n(9)),c=a(n(33));n(35);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)}var u=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,r.default)(e,t)}))},l=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,o.default)(e,t)}))},f=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).onEnter=function(e,n){var r=t.getClassNames(n?"appear":"enter").className;t.removeClasses(e,"exit"),u(e,r),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.getClassNames(n?"appear":"enter").activeClassName;t.reflowAndAddClass(e,r),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.getClassNames("appear").doneClassName,o=t.getClassNames("enter").doneClassName,i=n?r+" "+o:o;t.removeClasses(e,n?"appear":"enter"),u(e,i),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.getClassNames("exit").className;t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),u(e,n),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.getClassNames("exit").activeClassName;t.reflowAndAddClass(e,n),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.getClassNames("exit").doneClassName;t.removeClasses(e,"exit"),u(e,n),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?(r&&n?n+"-":"")+e:n[e];return{className:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.removeClasses=function(e,t){var n=this.getClassNames(t),r=n.className,o=n.activeClassName,i=n.doneClassName;r&&l(e,r),o&&l(e,o),i&&l(e,i)},o.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,u(e,t))},o.render=function(){var e=s({},this.props);return delete e.classNames,i.default.createElement(c.default,s({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(i.default.Component);f.defaultProps={classNames:""},f.propTypes={};var d=f;t.default=d,e.exports=t.default},function(e,t,n){"use strict";var r=n(45);t.__esModule=!0,t.default=function(e,t){e.classList?e.classList.add(t):(0,o.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var o=r(n(46));e.exports=t.default},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=r(e.className,t):e.setAttribute("class",r(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;c(n(11));var r=c(n(9)),o=n(9),i=c(n(37));function c(e){return e&&e.__esModule?e:{default:e}}var a=function(e){var t,n;function c(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}n=e,(t=c).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=c.prototype;return a.handleLifecycle=function(e,t,n){var i,c=this.props.children,a=r.default.Children.toArray(c)[t];a.props[e]&&(i=a.props)[e].apply(i,n),this.props[e]&&this.props[e]((0,o.findDOMNode)(this))},a.render=function(){var e=this.props,t=e.children,n=e.in,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,["children","in"]),c=r.default.Children.toArray(t),a=c[0],s=c[1];return delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,r.default.createElement(i.default,o,n?r.default.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):r.default.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},c}(r.default.Component);a.propTypes={};var s=a;t.default=s,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=o,t.mergeChildMappings=i,t.getInitialChildMapping=function(e,t){return o(e.children,(function(n){return(0,r.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:c(n,"appear",e),enter:c(n,"enter",e),exit:c(n,"exit",e)})}))},t.getNextChildMapping=function(e,t,n){var a=o(e.children),s=i(t,a);return Object.keys(s).forEach((function(o){var i=s[o];if((0,r.isValidElement)(i)){var u=o in t,l=o in a,f=t[o],d=(0,r.isValidElement)(f)&&!f.props.in;!l||u&&!d?l||!u||d?l&&u&&(0,r.isValidElement)(f)&&(s[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:f.props.in,exit:c(i,"exit",e),enter:c(i,"enter",e)})):s[o]=(0,r.cloneElement)(i,{in:!1}):s[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:!0,exit:c(i,"exit",e),enter:c(i,"enter",e)})}})),s};var r=n(9);function o(e,t){var n=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)})),n}function i(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var c in e)c in t?i.length&&(o[c]=i,i=[]):i.push(c);var a={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var u=o[s][r];a[o[s][r]]=n(u)}a[s]=n(s)}for(r=0;r<i.length;r++)a[i[r]]=n(i[r]);return a}function c(e,t,n){return null!=n[t]?n[t]:e.props[t]}},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(51),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(32))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,o,i,c,a,s=1,u={},l=!1,f=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,r=function(e){var t=f.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(c="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(c)&&h(+t.data.slice(c.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),r=function(t){e.postMessage(c+t,"*")}),d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var o={callback:e,args:t};return u[s]=o,r(s),s++},d.clearImmediate=p}function p(e){delete u[e]}function h(e){if(l)setTimeout(h,0,e);else{var t=u[e];if(t){l=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{p(e),l=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(32),n(52))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function c(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:c}catch(e){r=c}}();var s,u=[],l=!1,f=-1;function d(){l&&s&&(l=!1,s.length?u=s.concat(u):f=-1,u.length&&p())}function p(){if(!l){var e=a(d);l=!0;for(var t=u.length;t;){for(s=u,u=[];++f<t;)s&&s[f].run();f=-1,t=u.length}s=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===c||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function $(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||l||a(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=$,o.addListener=$,o.once=$,o.off=$,o.removeListener=$,o.removeAllListeners=$,o.emit=$,o.prependListener=$,o.prependOnceListener=$,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return ce}));var r=n(9);function o(){return r.createElement("div",{},"Please wait...")}var i=n(38),c=n(10),a=n(8),s=n(14),u=n(4),l=n(15),f=n(7);const d=(()=>{try{"undefined"!=typeof window&&"function"==typeof window.addEventListener&&(window.addEventListener("testPassiveEventSupport",e=>{},{passive:!0}),window.removeEventListener("testPassiveEventSupport",e=>{}))}catch(e){}return!1})();function p(e){return Object(f.d)(e=>e.passive&&!d?{capture:e.capture,once:e.once,passive:!1}:e,e)}function h(e){return Object(f.a)(e=>e.capture?{capture:!0}:void 0,e)}n(21);var $=n(2);n(5),n(26);n(22);var b=n(3);function m(e,t){return 0===t.indexOf(e)?t:void 0}function g(e,t){return Object(c.a)(t,e)?t:void 0}function w(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,a;return t=m("/",e),null!=t?(n=t,"#"+n):(r=m("#/",e),null!=r?(o=r,o):(i=m("#",e),null!=i?(a=i,"#/"+Object(c.j)(a,1,a.length-1)):"#/"+e))}:e=>{let t,n;return t=m("/",e),null!=t?(n=t,n):"/"+e}}(t)(Object(c.g)("/",Object(a.o)(e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e),e)))}function y(e,t){return Object(a.c)(e=>{if(Object(c.f)(e))return Object(a.g)();{const t=Object(c.n)(e,"#");if("?"===t)return Object(a.g)();if(null!=m("?",t))return Object(a.s)(t);{const e=t.split("?");if(Object(s.e)((e,t)=>Object(u.h)(e,t),e,null)||1!==e.length){if(Object(s.e)((e,t)=>Object(u.h)(e,t),e,null)||2!==e.length)return Object(a.g)();if(""===e[1]){const t=e[0];return Object(a.s)(decodeURIComponent(t))}{const t=e[0],n=e[1];return Object(a.p)([decodeURIComponent(t),"?"+n])}}{const t=e[0];return Object(a.s)(decodeURIComponent(t))}}}},Object(a.p)((null!=m("#",e)?Object(c.j)(e,1,e.length-1):1===t&&(null!=g("#",e)||null!=g("#/",e))?"":e).split("/")))}const O=Object(l.b)(e=>{const t=Object(l.e)(t=>{const n=Object(f.b)(e.onUrlChanged,e=>{});return function(e,t,n){return t(y(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(Object(f.b)(e.hashMode,1),n)});if(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0){const e="hashchange",n=e=>{t(e)},r=void 0,o=Object(l.l)(()=>p(r),[r]),i=Object(l.l)(()=>h(r),[r]),c=Object(l.l)(()=>e=>{n(e)},[n]);Object(l.k)(Object(l.e)(()=>(null==o?window.addEventListener(e,c):window.addEventListener(e,c,o),Object(l.a)(()=>{null==i?window.removeEventListener(e,c):window.removeEventListener(e,c,i)}))))}else{const e="popstate",n=t,r=void 0,o=Object(l.l)(()=>p(r),[r]),i=Object(l.l)(()=>h(r),[r]),c=Object(l.l)(()=>e=>{n(e)},[n]);Object(l.k)(Object(l.e)(()=>(null==o?window.addEventListener(e,c):window.addEventListener(e,c,o),Object(l.a)(()=>{null==i?window.removeEventListener(e,c):window.removeEventListener(e,c,i)}))))}const n="CUSTOM_NAVIGATION_EVENT",r=t,o=Object(l.l)(()=>p(void 0),[void 0]),i=Object(l.l)(()=>h(void 0),[void 0]),c=Object(l.l)(()=>e=>{r(e)},[r]);Object(l.k)(Object(l.e)(()=>(null==o?window.addEventListener(n,c):window.addEventListener(n,c,o),Object(l.a)(()=>{null==i?window.removeEventListener(n,c):window.removeEventListener(n,c,i)}))));const a=e.application;return null==a?null:a});n(0);var v=n(30);class j extends $.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Token"]}}class _ extends $.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["QueryString"]}}class E extends $.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","OidcSignIn","OidcSignInRedirectCallback","OidcSignInSilentCallback","NotFound"]}}function x(e){let t,n,r;switch(null!=e.tail?"oidc"===e.head&&null!=e.tail.tail?"callback"===e.tail.head?null!=e.tail.tail.tail&&null==e.tail.tail.tail.tail?(t=1,n=e.tail.tail.head):t=3:"silent-refresh"===e.tail.head&&null!=e.tail.tail.tail&&null==e.tail.tail.tail.tail?(t=2,r=e.tail.tail.head):t=3:t=3:t=0,t){case 0:{const e=window.location.search,t=new URLSearchParams(e),n=t.get("token");if(null==n)return new E(0);{const e=n;return Object(b.n)(e=>{Object(v.c)(new v.a(0),e)},Object(f.g)(t.get("success-redirection-url"))),new E(1,new j(0,e))}}case 1:return new E(2,new _(0,n));case 2:return new E(3,new _(0,r));case 3:return new E(4)}}var S=n(1);class C extends $.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class T extends $.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}class k extends $.c{constructor(e){super(),this.AccessToken=e}}function A(e){return new k(e.access_token)}class I extends $.c{constructor(e){super(),this.Auth=e}}class D extends $.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GetUser","SignInRedirect","SignInRedirectCallback","SignInSilentCallback"]}}class P extends $.c{constructor(e,t){super(),this.CurrentPage=e,this.Auth=t}}class N extends $.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","AuthMsg"]}}var M=n(13),R=n(16),F=n(28);class L extends $.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class B{constructor(e){this.state=new L(0,Object(s.g)(new Array(Object(u.u)((e,t)=>Object(u.h)(e,t),e,10)),0,Object(u.u)((e,t)=>Object(u.h)(e,t),e,10),null),0)}}function U(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 L(0,o,n):new L(1,o,n,i),Object(f.f)(o[r])}}function G(e,t){const n=e.state;if(1===n.tag){const i=0|n.fields[1],c=0|n.fields[2],a=n.fields[0];a[i]=t;const s=(i+1)%a.length|0;e.state=s===c?new L(1,(r=c,o=a,Array.from(Object(b.g)(()=>Object(b.a)(Object(b.z)(r,o),Object(b.g)(()=>Object(b.a)(Object(b.B)(r,o),Object(b.g)(()=>Object(b.c)(e=>Object(b.y)(null),Object(b.t)(0,1,o.length))))))))),a.length,0):new L(1,a,s,c)}else{const r=0|n.fields[1],o=n.fields[0];o[r]=t;const i=(r+1)%o.length|0;e.state=new L(1,o,i,r)}var r,o}class V extends $.c{constructor(e,t,n,r,o,i,c){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=o,this.onError=i,this.syncDispatch=c}}function H(e,t){return new V(t.init,t.update,t.subscribe,Object(u.b)(2,t.view),e,t.onError,t.syncDispatch)}function W(e){return Object(u.k)(2,Object(u.b)(2,e.view))}function z(e,t){const n=t.init(e),r=n[0],o=new B(10);let i=!1,s=r;const l=Object(u.z)(1,t.syncDispatch,[e=>{if(i)G(o,e);else{i=!0;let n=Object(f.f)(e);for(;null!=n;){const e=Object(f.i)(n);try{const n=t.update(e,s),r=n[0];t.setState(r,l),Object(R.e)(n=>{t.onError([Object(c.l)(Object(c.h)("Error in command while handling: %A"))(e),n])},l,n[1]),s=r}catch(n){t.onError([Object(c.l)(Object(c.h)("Unable to process the message: %A"))(e),n])}n=U(o)}i=!1}}]);t.setState(r,l),Object(R.e)(e=>{t.onError(["Error intitializing:",e])},l,Object(R.d)(Object(a.p)([(()=>{try{return t.subscribe(r)}catch(e){return t.onError(["Unable to subscribe:",e]),Object(R.g)()}})(),n[1]])))}class q extends $.c{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class Y extends r.Component{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}function X(e,t,n,o){return r.createElement(Y,new q(n,()=>t(n,o),e))}function J(e,t,n){return H((o,i)=>{r.render(e((e,t)=>e===t,Object(u.F)(2,W(n)),o,i),document.getElementById(t))},n)}const Z=document.querySelector("#tfn-declaration-app"),K=Z.getAttribute("data-identity-url"),Q=Z.getAttribute("data-backend-url"),ee=(()=>{const e={};return e.store=Object(f.f)(window.sessionStorage),e})();function te(){const e=(t=window.location.origin+window.location.pathname,Object(c.a)(t,"/")?t:t+"/");var t;const n={};return n.authority=K,n.client_id="apollo-tfn-declaration-ui",n.redirect_uri=e+"#/oidc/callback?",n.response_type="id_token token",n.scope="openid profile",n.automaticSilentRenew=!0,n.silent_redirect_uri=Object(f.f)(e+"#/oidc/silent-refresh?"),n.post_logout_redirect_uri=e+"#/oidc/logout?",n.accessTokenExpiringNotificationTime=10,n.filterProtocolClaims=!0,n.loadUserInfo=!1,n.clockSkew=2592e3,n.userStore=new WebStorageStateStore(ee),n}function ne(){return new UserManager(te())}function re(e){return e.length>0?Object(c.j)(e,1):e}function oe(){return ne().getUser()}function ie(e,t){const n=e=>[new I(new C(2,new S.e(1,e))),Object(R.g)()];return 1===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Object(c.l)(Object(c.h)("SignInRedirect failed: %s"))(e.fields[0].fields[0].fields[0])):[t,Object(R.g)()]:[new I(new C(1)),Object(R.b)(e=>{return t=e,ne().signinRedirect(Object(f.f)({extraQueryParams:{irt:t.fields[0]}}));var t},e.fields[1],t=>new D(1,new T(1,new S.e(1,t.message)),e.fields[1]))]:2===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Object(c.l)(Object(c.h)("failed sign in: %s"))(e.fields[0].fields[0].fields[0])):[new I(new C(2,new S.e(0,A(e.fields[0].fields[0].fields[0])))),Object(a.s)(e=>{!function(e,t,n){1===t?history.pushState(void 0,"",w(e,n)):history.replaceState(void 0,"",w(e,n));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}(Object(a.s)(""),1,1)})]:[new I(new C(1)),Object(R.c)(e=>{return t=e,ne().signinRedirectCallback(re(t.fields[0]));var t},e.fields[1],t=>(window.gtag&&window.gtag("event","oidc_sign_in",{}),new D(2,new T(1,new S.e(0,t)),e.fields[1])),t=>new D(2,new T(1,new S.e(1,t.message)),e.fields[1]))]:3===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Object(c.l)(Object(c.h)("failed silent sign in: %s"))(e.fields[0].fields[0].fields[0])):null==e.fields[0].fields[0].fields[0]?n("silent refresh expected a user but got none"):[new I(new C(2,new S.e(0,A(e.fields[0].fields[0].fields[0])))),Object(R.g)()]:[t,Object(R.c)(e=>{return t=e,ne().signinSilentCallback(re(t.fields[0]));var t},e.fields[1],t=>new D(3,new T(1,new S.e(0,t)),e.fields[1]),t=>new D(3,new T(1,new S.e(1,t.message)),e.fields[1]))]:1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Object(c.l)(Object(c.h)("failed to get current user: %s"))(e.fields[0].fields[0].fields[0])):null==e.fields[0].fields[0].fields[0]?n("expected a user but got none"):[new I(new C(2,new S.e(0,A(e.fields[0].fields[0].fields[0])))),Object(R.g)()]:[new I(new C(1)),Object(R.c)(oe,void 0,e=>new D(0,new T(1,new S.e(0,e))),e=>new D(0,new T(1,new S.e(1,e.message))))]}function ce(e,t,n){let a;switch(t.CurrentPage.tag){case 1:case 2:case 3:a=o();break;case 4:a=r.createElement("h1",{},"Not found");break;default:{const n=t.Auth.Auth;a=2===n.tag?1===n.fields[0].tag?r.createElement("h1",{},"Unauthorised"):Object(r.createElement)(i.a,{accessToken:n.fields[0].fields[0].AccessToken,backendUrl:e}):o()}}return O({onUrlChanged:e=>{n(new N(0,e))},application:r.createElement(r.Fragment,{},Object(r.createElement)("div",{className:Object(c.g)(" ",["container-lg","p-5"]),children:M.a.Children.toArray([a])}))})}var ae,se,ue,le,fe;!function(e){z(void 0,e)}((ae="tfn-declaration-app",ue=function(){const e=x(y(window.location.hash,1)),t=function(){const e=x(y(window.location.hash,1));return[new I(new C(0)),1===e.tag?Object(R.a)(new D(1,new T(0),e.fields[0])):2===e.tag?Object(R.a)(new D(2,new T(0),e.fields[0])):3===e.tag?Object(R.a)(new D(3,new T(0),e.fields[0])):Object(R.a)(new D(0,new T(0)))]}();return[new P(e,t[0]),Object(R.f)(e=>new N(1,e),t[1])]},le=(e,t)=>function(e,t){if(1===e.tag){const n=ie(e.fields[0],t.Auth);return[new P(t.CurrentPage,n[0]),Object(R.f)(e=>new N(1,e),n[1])]}return[new P(x(e.fields[0]),t.Auth),Object(R.g)()]}(e,t),fe=(e,t)=>ce(Q,e,t),se=new V(ue,le,e=>Object(R.g)(),fe,(e,t)=>{fe(e,t)},e=>{Object(F.a)(e[0],e[1])},Object(u.F)(2,e=>e)),J((e,t,n,r)=>X(e,t,n,r),ae,se)))}]);
|
|
15
|
+
*/const ls=(fs={icon:as},ds=[],$e.createElement(ss,fs,...ds));var fs,ds;function ps(e){return function(e,t){const n=de(e,1);return $e.createElement(Hc,n,...t)}([new qc(0,e.content)],[Object($e.createElement)("span",{children:We.a.Children.toArray([ls])})])}class hs extends o.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Select"]}}class bs extends o.c{constructor(e){super(),this.Selected=e}}function $s(e,t){return Object(l.h)(t=>e===t,t.Selected)}function ms(e,t,n){const r=function(e,t){const n=e.fields[0];return $s(n,t)?new bs(Object(l.i)(e=>n!==e,t.Selected)):new bs(Object(l.b)(Object(l.t)(n),t.Selected))}(t,n);return e(r.Selected),[r,Object(uo.g)()]}function gs(e){const t=qr((n=e.InitialValue,[new bs(n),Object(uo.g)()]),(t,n)=>ms(e.OnUpdate,t,n),[]);var n;const o=Object(d.z)(Object(d.h)(()=>Object(d.d)(e=>{let n;const o=e[0];return Object(d.v)(Object($e.createElement)("div",Object(r.h)(Object(l.p)([["className",Object(p.f)(" ",["form-check","fl-checkbox-container"])],(n=[Object($e.createElement)("input",{className:"form-check-input",type:"checkbox",id:o,checked:$s(o,t[0])}),Object($e.createElement)("label",{className:"form-check-label",for:o,children:e[1]})],["children",We.a.Children.toArray(Array.from(n))]),["onChange",e=>{e.target.checked;t[1](new hs(0,o))}]]))))},e.ValueLabelPairs)));return Object($e.createElement)("div",{children:We.a.Children.toArray(Array.from(o))})}function Os(e,t){return!!(e.TfnInformation.Meta.Valid&&e.PreviousSurname.Meta.Valid&&e.ResidencyStatusRadioButtonGroup.Meta.Valid&&null!=e.ClaimTaxFreeThreshold.Selected&&e.EmploymentBasisRadioButtonGroup.Meta.Valid)&&!Object(r.n)(t,new X(1))}function ws(){return Object($e.createElement)("hr",{className:Object(p.f)(" ",["mt-4","mb-4"])})}const ys=(()=>{const e=Object(l.p)([Object($e.createElement)("p",{children:["You are considered to be an Australian resident for tax purposes if you live here permanently,\n or are studying for a period in excess of 6 months."]}),Object($e.createElement)("p",{children:["Select Working holiday maker if you are in Australia on a working holiday visa (subclass 417)\n or a work and holiday visa (subclass 462). Special rates of tax apply for working holiday makers."]}),Object($e.createElement)("span",{children:["If none of the above applies, select Foreign resident unless you are in receipt of an Australian Government pension or allowance.\n Foreign resident tax rates are different."]})]);return Object($e.createElement)("div",{children:We.a.Children.toArray(Array.from(e))})})(),vs=(()=>{const e=Object(l.p)([Object($e.createElement)("p",{children:["Answer yes if you are an Australian resident for tax purposes and this is your main job.\n It will mean that the first $18,200 of your annual income is not taxed. This is called the tax-free threshold.\n If you answer no then you must be claiming it from another employer."]}),Object($e.createElement)("p",{children:["Answer yes if you are a foreign resident in receipt of an Australian Government pension or allowance."]}),Object($e.createElement)("span",{children:["Answer no if none of the above applies or you are a working holiday maker."]})]);return Object($e.createElement)("div",{children:We.a.Children.toArray(Array.from(e))})})();function js(e){const t=e.backendUrl,n=e.accessToken,i=qr([new To(new X(0),void 0,zr(),Yr(void 0),Yr(new Zn(0)),oo(new to(0)),Object(l.g)(),Yr(new Kn(0))),Object(uo.g)()],Po,[]),f=i[0],h=i[1];Object(c.i)(J(()=>Rr(n,t),e=>{h(new ko(6,e))}),[]);const b=Object(c.d)(new X(0)),$=b[0],m=J(()=>function(e,t,n,r){return ie(e=>{r(new ze(1,"There was an error saving your tax declaration. Please try saving again."))},oe(e=>{r(new ze(0,"Your tax declaration has been saved."))},Fr(e,t,n)))}(f,n,t,e=>{h(new ko(7,e))}),e=>{let t,n;switch(b[1](e),2===e.tag&&0===e.fields[0].tag?(t=0,n=e.fields[0].fields[0]):t=1,t){case 0:Object(s.i)(u.g.Delay(()=>u.g.Bind(Object(s.h)(400),()=>(function(){let e;const t=Io();0===t.tag&&(0===t.fields[0].tag?Object(d.o)(e=>{window.parent.location.href=e},Object(a.g)(Object(No.b)(new No.a(0)))):1===t.fields[0].tag?Object(d.o)(e=>{let t;t=JSON.stringify({stepStatus:"completed"}),e.postMessage(t)},Object(a.g)(window.ReactNativeWebView)):(e=new CustomEvent("step-completion",{bubbles:!0,detail:"tax"}),t.fields[0].fields[0].dispatchEvent(e)))}(),u.g.Zero())))),h(new ko(9,n))}});switch(f.PreExistingTfnDec.tag){case 0:case 1:return Object($e.createElement)("div",{children:["Please wait..."]});default:{const e=Object(d.z)(Object(d.h)(()=>Object(d.a)(Object(d.v)(Object($e.createElement)("style",{children:['.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}']})),Object(d.h)(()=>{let e,t;return Object(d.a)((e=f.CurrentAlert,null==e?Object(d.v)(null):(t=e,Object(d.v)(Object($e.createElement)(Je,{alert:t,hideAlert:()=>{h(new ko(8))}})))),Object(d.h)(()=>Object(d.a)(Object(d.v)(Object($e.createElement)("h3",{className:"mb-4",children:"Tax Declaration"})),Object(d.h)(()=>Object(d.a)(Object(d.v)(Object($e.createElement)(Co,{InitialValue:f.TfnInformation.Value,OnUpdate:e=>{h(new ko(0,e))}})),Object(d.h)(()=>Object(d.a)(Object(d.v)(ws()),Object(d.h)(()=>Object(d.a)(Object(d.v)(Object($e.createElement)(Go,{InitialValue:f.PreviousSurname.Value,OnUpdate:e=>{h(new ko(1,e))}})),Object(d.h)(()=>Object(d.a)(Object(d.v)(ws()),Object(d.h)(()=>Object(d.a)(Object(d.v)(eo("Are you an Australian resident for tax purposes or a working holiday maker?",Object($e.createElement)(ps,{content:ys}))),Object(d.h)(()=>{let e;return Object(d.a)(Object(d.v)(Object($e.createElement)(po,(e=Object(l.o)(e=>[Object(o.f)(e[0]),e[1]],Object(l.p)([[new Zn(0),"Australian resident for tax purposes"],[new Zn(1),"Foreign resident"],[new Zn(2),"Working holiday maker"]])),{InitialValue:Object(a.d)(o.f,f.ResidencyStatusRadioButtonGroup.Value),Name:"ResidencyStatus",OnUpdate:e=>{h(new ko(2,e))},ValueLabelPairs:e}))),Object(d.h)(()=>Object(d.a)(Object(d.v)(ws()),Object(d.h)(()=>Object(d.a)(Object(d.v)(eo("Would you like to claim the tax-free threshold from this payer?",Object($e.createElement)(ps,{content:vs}))),Object(d.h)(()=>{let e;return Object(d.a)(Object(d.v)(Object($e.createElement)(so,{Disable:(e=f.ResidencyStatusRadioButtonGroup.Value,null!=e&&2===e.tag?new to(0):void 0),Dispatch:e=>{h(new ko(3,e))},State:f.ClaimTaxFreeThreshold})),Object(d.h)(()=>Object(d.a)(Object(d.v)(ws()),Object(d.h)(()=>Object(d.a)(Object(d.v)(Qr("Do you have any of the following outstanding debts or loans?")),Object(d.h)(()=>{let e;return Object(d.a)(Object(d.v)(Object($e.createElement)(gs,(e=Object(l.o)(e=>[Object(o.f)(e[0]),e[1]],Object(l.p)([[new Jn(0),"Higher Education Loan Program (HELP)"],[new Jn(1),"VET Student Loan (VSL)"],[new Jn(2),"Financial Supplement (FS)"],[new Jn(3),"Student Start-up Loan (SSL)"],[new Jn(4),"Trade Support Loan (TSL)"]])),{InitialValue:Object(l.o)(o.f,f.DebtSupportCheckboxGroup),OnUpdate:e=>{h(new ko(4,Object(l.c)(Zr,e)))},ValueLabelPairs:e}))),Object(d.h)(()=>Object(d.a)(Object(d.v)(ws()),Object(d.h)(()=>Object(d.a)(Object(d.v)(Qr("On what basis are you paid?")),Object(d.h)(()=>{let e;return Object(d.a)(Object(d.v)(Object($e.createElement)(po,(e=Object(l.o)(e=>[Object(o.f)(e[0]),e[1]],Object(l.p)([[new Kn(0),"Full-time"],[new Kn(1),"Part-time"],[new Kn(2),"Labour Hire"],[new Kn(3),"Superannuation or annuity income stream"],[new Kn(4),"Casual"]])),{InitialValue:Object(a.d)(o.f,f.EmploymentBasisRadioButtonGroup.Value),Name:"EmploymentBasis",OnUpdate:e=>{h(new ko(5,e))},ValueLabelPairs:e}))),Object(d.h)(()=>Object(d.a)(Object(d.v)(ws()),Object(d.h)(()=>{let e,t,n;return Object(d.v)(Object($e.createElement)("div",Object(r.h)(Object(l.p)([["className",Object(p.f)(" ",["row","justify-content-end"])],(e=[Object($e.createElement)("div",Object(r.h)(Object(l.p)([["className",Object(p.f)(" ",["col-12","col-sm-auto"])],(t=[Object($e.createElement)("button",Object(r.h)(Object(l.p)([["className",Object(p.f)(" ",["btn","is-primary","btn-block"])],["type","button"],["disabled",!Os(f,$)],["onClick",e=>{Os(f,$)&&m()}],(n=[Object($e.createElement)("span",{className:Object(p.f)(" ",Object(d.z)(Object(d.h)(()=>Object(d.a)(Object(d.v)("spinner-grow"),Object(d.h)(()=>Object(d.a)(Object(d.v)("spinner-grow-sm"),Object(d.h)(()=>Object(d.a)(Object(d.v)("mr-2"),Object(d.h)(()=>Object(r.n)($,new X(1))?Object(d.i)():Object(d.v)("d-none"))))))))))}),Object($e.createElement)("span",{children:["Save and continue"]})],["children",We.a.Children.toArray(Array.from(n))])])))],["children",We.a.Children.toArray(Array.from(t))])])))],["children",We.a.Children.toArray(Array.from(e))])]))))}))))}))))))}))))))}))))))}))))))))))))))}))));return Object($e.createElement)("form",{children:We.a.Children.toArray(Array.from(e))})}}}},,,function(e,t,n){"use strict";var r=n(43);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,c){if(c!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;!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]}t.default=e}(n(12));var r=s(n(45)),o=s(n(48)),i=s(n(9)),c=s(n(34));n(36);function s(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,r.default)(e,t)}))},l=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,o.default)(e,t)}))},f=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).onEnter=function(e,n){var r=t.getClassNames(n?"appear":"enter").className;t.removeClasses(e,"exit"),a(e,r),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.getClassNames(n?"appear":"enter").activeClassName;t.reflowAndAddClass(e,r),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.getClassNames("appear").doneClassName,o=t.getClassNames("enter").doneClassName,i=n?r+" "+o:o;t.removeClasses(e,n?"appear":"enter"),a(e,i),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.getClassNames("exit").className;t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),a(e,n),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.getClassNames("exit").activeClassName;t.reflowAndAddClass(e,n),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.getClassNames("exit").doneClassName;t.removeClasses(e,"exit"),a(e,n),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?(r&&n?n+"-":"")+e:n[e];return{className:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.removeClasses=function(e,t){var n=this.getClassNames(t),r=n.className,o=n.activeClassName,i=n.doneClassName;r&&l(e,r),o&&l(e,o),i&&l(e,i)},o.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,a(e,t))},o.render=function(){var e=u({},this.props);return delete e.classNames,i.default.createElement(c.default,u({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(i.default.Component);f.defaultProps={classNames:""},f.propTypes={};var d=f;t.default=d,e.exports=t.default},function(e,t,n){"use strict";var r=n(46);t.__esModule=!0,t.default=function(e,t){e.classList?e.classList.add(t):(0,o.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var o=r(n(47));e.exports=t.default},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=r(e.className,t):e.setAttribute("class",r(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;c(n(12));var r=c(n(9)),o=n(9),i=c(n(38));function c(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t,n;function c(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}n=e,(t=c).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=c.prototype;return s.handleLifecycle=function(e,t,n){var i,c=this.props.children,s=r.default.Children.toArray(c)[t];s.props[e]&&(i=s.props)[e].apply(i,n),this.props[e]&&this.props[e]((0,o.findDOMNode)(this))},s.render=function(){var e=this.props,t=e.children,n=e.in,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,["children","in"]),c=r.default.Children.toArray(t),s=c[0],u=c[1];return delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,r.default.createElement(i.default,o,n?r.default.cloneElement(s,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):r.default.cloneElement(u,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},c}(r.default.Component);s.propTypes={};var u=s;t.default=u,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=o,t.mergeChildMappings=i,t.getInitialChildMapping=function(e,t){return o(e.children,(function(n){return(0,r.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:c(n,"appear",e),enter:c(n,"enter",e),exit:c(n,"exit",e)})}))},t.getNextChildMapping=function(e,t,n){var s=o(e.children),u=i(t,s);return Object.keys(u).forEach((function(o){var i=u[o];if((0,r.isValidElement)(i)){var a=o in t,l=o in s,f=t[o],d=(0,r.isValidElement)(f)&&!f.props.in;!l||a&&!d?l||!a||d?l&&a&&(0,r.isValidElement)(f)&&(u[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:f.props.in,exit:c(i,"exit",e),enter:c(i,"enter",e)})):u[o]=(0,r.cloneElement)(i,{in:!1}):u[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:!0,exit:c(i,"exit",e),enter:c(i,"enter",e)})}})),u};var r=n(9);function o(e,t){var n=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)})),n}function i(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var c in e)c in t?i.length&&(o[c]=i,i=[]):i.push(c);var s={};for(var u in t){if(o[u])for(r=0;r<o[u].length;r++){var a=o[u][r];s[o[u][r]]=n(a)}s[u]=n(u)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}function c(e,t,n){return null!=n[t]?n[t]:e.props[t]}},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(52),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(32))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,o,i,c,s,u=1,a={},l=!1,f=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,r=function(e){var t=f.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(c="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(c)&&h(+t.data.slice(c.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(c+t,"*")}),d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var o={callback:e,args:t};return a[u]=o,r(u),u++},d.clearImmediate=p}function p(e){delete a[e]}function h(e){if(l)setTimeout(h,0,e);else{var t=a[e];if(t){l=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{p(e),l=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(32),n(53))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function c(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:c}catch(e){r=c}}();var u,a=[],l=!1,f=-1;function d(){l&&u&&(l=!1,u.length?a=u.concat(a):f=-1,a.length&&p())}function p(){if(!l){var e=s(d);l=!0;for(var t=a.length;t;){for(u=a,a=[];++f<t;)u&&u[f].run();f=-1,t=a.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===c||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function b(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];a.push(new h(e,t)),1!==a.length||l||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=b,o.addListener=b,o.once=b,o.off=b,o.removeListener=b,o.removeAllListeners=b,o.emit=b,o.prependListener=b,o.prependOnceListener=b,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return le}));var r=n(9);function o(){return r.createElement("div",{},"Please wait...")}var i=n(39),c=n(11),s=n(3),u=n(10),a=n(15),l=n(6);const f=(()=>{try{if("undefined"!=typeof window&&"function"==typeof window.addEventListener){const e={passive:!0};window.addEventListener("testPassiveEventSupport",e=>{},e),window.removeEventListener("testPassiveEventSupport",e=>{})}}catch(e){}return!1})();function d(e){return Object(l.d)(e=>e.passive&&!f?{capture:e.capture,once:e.once,passive:!1}:e,e)}function p(e){return Object(l.a)(e=>e.capture?{capture:!0}:void 0,e)}n(21);var h=n(8);n(5),n(26);n(22);var b=n(4);function $(e,t){return 0===t.indexOf(e)?t:void 0}function m(e,t){return Object(c.a)(t,e)?t:void 0}function g(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,s;return t=$("/",e),null!=t?(n=t,"#"+n):(r=$("#/",e),null!=r?(o=r,o):(i=$("#",e),null!=i?(s=i,"#/"+Object(c.i)(s,1,s.length-1)):"#/"+e))}:e=>{let t,n;return t=$("/",e),null!=t?(n=t,n):"/"+e}}(t)(Object(c.f)("/",Object(s.o)(e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e),e)))}function O(e,t){return Object(s.d)(e=>{if(Object(c.e)(e))return Object(s.g)();{const t=Object(c.m)(e,"#");if("?"===t)return Object(s.g)();if(null!=$("?",t))return Object(s.t)(t);{const e=t.split("?");if(Object(u.e)((e,t)=>e===t,e,null)||1!==e.length){if(Object(u.e)((e,t)=>e===t,e,null)||2!==e.length)return Object(s.g)();if(""===e[1]){const t=e[0];return Object(s.t)(decodeURIComponent(t))}{const t=e[0],n=e[1];return Object(s.p)([decodeURIComponent(t),"?"+n])}}{const t=e[0];return Object(s.t)(decodeURIComponent(t))}}}},Object(s.p)(Object(c.h)(null!=$("#",e)?Object(c.i)(e,1,e.length-1):1===t&&(null!=m("#",e)||null!=m("#/",e))?"":e,["/"],null,0)))}const w=Object(a.b)(e=>{const t=Object(a.e)(t=>{const n=Object(l.b)(e.onUrlChanged,e=>{});!function(e,t,n){t(O(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(Object(l.b)(e.hashMode,1),n)});if(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0){const e="hashchange",n=e=>{t(e)},r=void 0,o=Object(a.l)(()=>d(r),[r]),i=Object(a.l)(()=>p(r),[r]),c=Object(a.l)(()=>e=>{n(e)},[n]);Object(a.k)(Object(a.e)(()=>{if(null==o)window.addEventListener(e,c);else{const t=o;window.addEventListener(e,c,t)}return Object(a.a)(()=>{if(null==i)window.removeEventListener(e,c);else{const t=i;window.removeEventListener(e,c,t)}})}))}else{const e="popstate",n=t,r=void 0,o=Object(a.l)(()=>d(r),[r]),i=Object(a.l)(()=>p(r),[r]),c=Object(a.l)(()=>e=>{n(e)},[n]);Object(a.k)(Object(a.e)(()=>{if(null==o)window.addEventListener(e,c);else{const t=o;window.addEventListener(e,c,t)}return Object(a.a)(()=>{if(null==i)window.removeEventListener(e,c);else{const t=i;window.removeEventListener(e,c,t)}})}))}const n="CUSTOM_NAVIGATION_EVENT",r=t,o=Object(a.l)(()=>d(void 0),[void 0]),i=Object(a.l)(()=>p(void 0),[void 0]),c=Object(a.l)(()=>e=>{r(e)},[r]);Object(a.k)(Object(a.e)(()=>{if(null==o)window.addEventListener(n,c);else{const e=o;window.addEventListener(n,c,e)}return Object(a.a)(()=>{if(null==i)window.removeEventListener(n,c);else{const e=i;window.removeEventListener(n,c,e)}})}));const s=e.application;return null==s?null:s});var y=n(1),v=(n(0),n(30));class j extends h.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Token"]}}class _ extends h.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["QueryString"]}}class E extends h.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","OidcSignIn","OidcSignInRedirectCallback","OidcSignInSilentCallback","NotFound"]}}function x(e){let t,n,r;switch(Object(s.l)(e)?t=0:"oidc"===Object(s.k)(e)?Object(s.l)(Object(s.w)(e))?t=3:"callback"===Object(s.k)(Object(s.w)(e))?Object(s.l)(Object(s.w)(Object(s.w)(e)))?t=3:Object(s.l)(Object(s.w)(Object(s.w)(Object(s.w)(e))))?(t=1,n=Object(s.k)(Object(s.w)(Object(s.w)(e)))):t=3:"silent-refresh"===Object(s.k)(Object(s.w)(e))?Object(s.l)(Object(s.w)(Object(s.w)(e)))?t=3:Object(s.l)(Object(s.w)(Object(s.w)(Object(s.w)(e))))?(t=2,r=Object(s.k)(Object(s.w)(Object(s.w)(e)))):t=3:t=3:t=3,t){case 0:{const e=window.location.search,t=new URLSearchParams(e),n=t.get("token");if(null==n)return new E(0);{const e=n;return Object(b.o)(e=>{Object(v.c)(new v.a(0),e)},Object(l.g)(t.get("success-redirection-url"))),new E(1,new j(0,e))}}case 1:return new E(2,new _(0,n));case 2:return new E(3,new _(0,r));case 3:return new E(4)}}var S=n(2);class C extends h.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class k extends h.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}class T extends h.c{constructor(e){super(),this.AccessToken=e}}function A(e){return new T(e.access_token)}class I extends h.c{constructor(e){super(),this.Auth=e}}class N extends h.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GetUser","SignInRedirect","SignInRedirectCallback","SignInSilentCallback"]}}class P extends h.c{constructor(e,t){super(),this.CurrentPage=e,this.Auth=t}}class M extends h.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","AuthMsg"]}}var D=n(14),R=n(16),F=n(28),L=n(33);class G extends h.d{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class B{constructor(e){this.state=new G(0,Object(u.f)(new Array(Object(y.t)(y.g,e,10)),0,Object(y.t)(y.g,e,10),null),0)}}function U(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 G(0,o,n):new G(1,o,n,i),Object(l.f)(o[r])}}function V(e,t){const n=e.state;if(1===n.tag){const i=0|n.fields[1],c=0|n.fields[2],s=n.fields[0];s[i]=t;const u=(i+1)%s.length|0;e.state=u===c?new G(1,(r=c,o=s,Array.from(Object(b.h)(()=>Object(b.a)(Object(b.w)(r,o),Object(b.h)(()=>Object(b.a)(Object(b.x)(r,o),Object(b.h)(()=>Object(b.d)(e=>Object(b.v)(null),Object(L.a)(0,1,o.length))))))))),s.length,0):new G(1,s,u,c)}else{const r=0|n.fields[1],o=n.fields[0];o[r]=t;const i=(r+1)%o.length|0;e.state=new G(1,o,i,r)}var r,o}class H extends h.c{constructor(e,t,n,r,o,i,c){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=o,this.onError=i,this.syncDispatch=c}}function q(e,t){return new H(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}function W(e){return Object(y.i)(2,e.view)}function z(e,t){const n=t.init(e),r=n[0],o=new B(10);let i=!1,u=r;const a=Object(y.y)(1,t.syncDispatch,[e=>{if(i)V(o,e);else{i=!0;let n=Object(l.f)(e);for(;null!=n;){const e=Object(l.i)(n);try{const n=t.update(e,u),r=n[0];t.setState(r,a),Object(R.e)(n=>{t.onError([Object(c.k)(Object(c.g)("Error in command while handling: %A"))(e),n])},a,n[1]),u=r}catch(n){t.onError([Object(c.k)(Object(c.g)("Unable to process the message: %A"))(e),n])}n=U(o)}i=!1}}]);t.setState(r,a),Object(R.e)(e=>{t.onError(["Error intitializing:",e])},a,Object(R.d)(Object(s.p)([(()=>{try{return t.subscribe(r)}catch(e){return t.onError(["Unable to subscribe:",e]),Object(R.g)()}})(),n[1]])))}class Y extends h.c{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class X extends r.Component{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}function J(e,t,n,o){const i=new Y(n,()=>t(n,o),e);return r.createElement(X,i)}function Z(e,t,n){return q((o,i)=>{r.render(e(e=>t=>e===t,W(n),o,i),document.getElementById(t))},n)}const K=document.querySelector("#tfn-declaration-app"),Q=K.getAttribute("data-identity-url"),ee=K.getAttribute("data-backend-url"),te=(()=>{const e={};return e.store=Object(l.f)(window.sessionStorage),e})();function ne(){const e=(t=window.location.origin+window.location.pathname,Object(c.a)(t,"/")?t:t+"/");var t;const n={};return n.authority=Q,n.client_id="apollo-tfn-declaration-ui",n.redirect_uri=e+"#/oidc/callback?",n.response_type="id_token token",n.scope="openid profile",n.automaticSilentRenew=!0,n.silent_redirect_uri=Object(l.f)(e+"#/oidc/silent-refresh?"),n.post_logout_redirect_uri=e+"#/oidc/logout?",n.accessTokenExpiringNotificationTime=10,n.filterProtocolClaims=!0,n.loadUserInfo=!1,n.clockSkew=2592e3,n.userStore=new WebStorageStateStore(te),n}function re(){return new UserManager(ne())}function oe(e){return e.length>0?Object(c.i)(e,1):e}function ie(e){return re().signinRedirect(Object(l.f)({extraQueryParams:{irt:e.fields[0]}}))}function ce(e){return re().signinRedirectCallback(oe(e.fields[0]))}function se(e){return re().signinSilentCallback(oe(e.fields[0]))}function ue(){return re().getUser()}function ae(e,t){const n=e=>[new I(new C(2,new S.e(1,e))),Object(R.g)()];return 1===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Object(c.k)(Object(c.g)("SignInRedirect failed: %s"))(e.fields[0].fields[0].fields[0])):[t,Object(R.g)()]:[new I(new C(1)),Object(R.b)(ie,e.fields[1],t=>new N(1,new k(1,new S.e(1,t.message)),e.fields[1]))]:2===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Object(c.k)(Object(c.g)("failed sign in: %s"))(e.fields[0].fields[0].fields[0])):[new I(new C(2,new S.e(0,A(e.fields[0].fields[0].fields[0])))),Object(s.t)(e=>{!function(e,t,n){1===t?history.pushState(void 0,"",g(e,n)):history.replaceState(void 0,"",g(e,n));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}(Object(s.t)(""),1,1)})]:[new I(new C(1)),Object(R.c)(ce,e.fields[1],t=>(window.gtag&&window.gtag("event","oidc_sign_in",{}),new N(2,new k(1,new S.e(0,t)),e.fields[1])),t=>new N(2,new k(1,new S.e(1,t.message)),e.fields[1]))]:3===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Object(c.k)(Object(c.g)("failed silent sign in: %s"))(e.fields[0].fields[0].fields[0])):null==e.fields[0].fields[0].fields[0]?n("silent refresh expected a user but got none"):[new I(new C(2,new S.e(0,A(e.fields[0].fields[0].fields[0])))),Object(R.g)()]:[t,Object(R.c)(se,e.fields[1],t=>new N(3,new k(1,new S.e(0,t)),e.fields[1]),t=>new N(3,new k(1,new S.e(1,t.message)),e.fields[1]))]:1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Object(c.k)(Object(c.g)("failed to get current user: %s"))(e.fields[0].fields[0].fields[0])):null==e.fields[0].fields[0].fields[0]?n("expected a user but got none"):[new I(new C(2,new S.e(0,A(e.fields[0].fields[0].fields[0])))),Object(R.g)()]:[new I(new C(1)),Object(R.c)(ue,void 0,e=>new N(0,new k(1,new S.e(0,e))),e=>new N(0,new k(1,new S.e(1,e.message))))]}function le(e,t,n){let u,a;switch(t.CurrentPage.tag){case 1:case 2:case 3:a=o();break;case 4:a=r.createElement("h1",{},"Not found");break;default:{const n=t.Auth.Auth;a=2===n.tag?1===n.fields[0].tag?r.createElement("h1",{},"Unauthorised"):Object(r.createElement)(i.a,{accessToken:n.fields[0].fields[0].AccessToken,backendUrl:e}):o()}}return w(Object(y.h)(Object(s.p)([["onUrlChanged",e=>{n(new M(0,e))}],(u=Object(s.t)(Object(r.createElement)("div",{className:Object(c.f)(" ",["container-lg","p-5"]),children:D.a.Children.toArray([a])})),["application",r.createElement(r.Fragment,{},...u)])])))}var fe,de,pe,he,be;!function(e){z(void 0,e)}((fe="tfn-declaration-app",pe=function(){const e=x(O(window.location.hash,1)),t=function(){const e=x(O(window.location.hash,1));return[new I(new C(0)),1===e.tag?Object(R.a)(new N(1,new k(0),e.fields[0])):2===e.tag?Object(R.a)(new N(2,new k(0),e.fields[0])):3===e.tag?Object(R.a)(new N(3,new k(0),e.fields[0])):Object(R.a)(new N(0,new k(0)))]}();return[new P(e,t[0]),Object(R.f)(e=>new M(1,e),t[1])]},he=function(e,t){if(1===e.tag){const n=ae(e.fields[0],t.Auth);return[new P(t.CurrentPage,n[0]),Object(R.f)(e=>new M(1,e),n[1])]}return[new P(x(e.fields[0]),t.Auth),Object(R.g)()]},be=(e,t)=>le(ee,e,t),de=new H(pe,he,e=>Object(R.g)(),be,Object(y.F)(2,e=>{const t=Object(y.y)(1,be,[e]);return e=>{t(e)}}),e=>{Object(F.a)(e[0],e[1])},Object(y.F)(2,e=>e)),Z((e,t,n,r)=>J(Object(y.F)(2,e),Object(y.F)(2,t),n,r),fe,de)))}]);
|