tocco-devcon 1.0.72 → 1.0.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports["tocco-devcon"]=t(require("React"),require("ReactDOM")):e["tocco-devcon"]=t(e.React,e.ReactDOM)}(self,((e,t)=>(()=>{var n,r,o={67228:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},22858:e=>{e.exports=function(e){if(Array.isArray(e))return e}},23646:(e,t,n)=>{var r=n(67228);e.exports=function(e){if(Array.isArray(e))return r(e)}},81506:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},48926:e=>{function t(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var n=this,r=arguments;return new Promise((function(o,i){var a=e.apply(n,r);function s(e){t(a,o,i,s,c,"next",e)}function c(e){t(a,o,i,s,c,"throw",e)}s(void 0)}))}}},34575:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},93913:e=>{function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}},59713:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},29754:e=>{function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},t(n)}e.exports=t},2205:(e,t,n)=>{var r=n(99489);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},46860:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},13884:e=>{e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.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}}},80521:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},98206:e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},6479:(e,t,n)=>{var r=n(37316);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},37316:e=>{e.exports=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}},78585:(e,t,n)=>{var r=n(50008),o=n(81506);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},99489:e=>{function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(n,r)}e.exports=t},63038:(e,t,n)=>{var r=n(22858),o=n(13884),i=n(60379),a=n(80521);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},28655:e=>{e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},319:(e,t,n)=>{var r=n(23646),o=n(46860),i=n(60379),a=n(98206);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},50008:e=>{function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(n)}e.exports=t},60379:(e,t,n)=>{var r=n(67228);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},87757:(e,t,n)=>{e.exports=n(35666)},25687:(e,t,n)=>{"use strict";n.d(t,{kG:()=>r});function r(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}},95957:(e,t,n)=>{"use strict";function r(e,t){var n=t&&t.cache?t.cache:l,r=t&&t.serializer?t.serializer:c;return(t&&t.strategy?t.strategy:s)(e,{cache:n,serializer:r})}function o(e,t,n,r){var o,i=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),a=t.get(i);return void 0===a&&(a=e.call(this,r),t.set(i,a)),a}function i(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return void 0===i&&(i=e.apply(this,r),t.set(o,i)),i}function a(e,t,n,r,o){return n.bind(t,e,r,o)}function s(e,t){return a(e,this,1===e.length?o:i,t.cache.create(),t.serializer)}n.d(t,{A:()=>f,Z:()=>r});var c=function(){return JSON.stringify(arguments)};function u(){this.cache=Object.create(null)}u.prototype.get=function(e){return this.cache[e]},u.prototype.set=function(e,t){this.cache[e]=t};var l={create:function(){return new u}},f={variadic:function(e,t){return a(e,this,i,t.cache.create(),t.serializer)},monadic:function(e,t){return a(e,this,o,t.cache.create(),t.serializer)}}},35258:(e,t,n)=>{"use strict";n.d(t,{wD:()=>i,VG:()=>c,rp:()=>l,Ii:()=>v,O4:()=>s,uf:()=>u,Wh:()=>g,Jo:()=>d,yx:()=>h,Wi:()=>p,HI:()=>m,pe:()=>f,Qc:()=>ae});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.create;var o,i,a;Object.create;function s(e){return e.type===i.literal}function c(e){return e.type===i.argument}function u(e){return e.type===i.number}function l(e){return e.type===i.date}function f(e){return e.type===i.time}function p(e){return e.type===i.select}function d(e){return e.type===i.plural}function h(e){return e.type===i.pound}function m(e){return e.type===i.tag}function g(e){return!(!e||"object"!=typeof e||e.type!==a.number)}function v(e){return!(!e||"object"!=typeof e||e.type!==a.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(o||(o={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(i||(i={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(a||(a={}));var y=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,b=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function w(e){var t={};return e.replace(b,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"short":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var O=function(){return O=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},O.apply(this,arguments)};Object.create;Object.create;var x=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var S=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,j=/^(@+)?(\+|#+)?[rs]?$/g,P=/(\*)(0+)|(#+)(0+)|(0+)/g,E=/^(0+)$/;function k(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(j,(function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function C(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function T(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!E.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function D(e){var t=C(e);return t||{}}function _(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=O(O(O({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return O(O({},e),D(t))}),{}));continue;case"engineering":t=O(O(O({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return O(O({},e),D(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(P,(function(e,n,r,o,i,a){if(n)t.minimumIntegerDigits=r.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(E.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(S.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(S,(function(e,n,r,o,i,a){return"*"===r?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:i&&a?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var i=o.options[0];"w"===i?t=O(O({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=O(O({},t),k(i)))}else if(j.test(o.stem))t=O(O({},t),k(o.stem));else{var a=C(o.stem);a&&(t=O(O({},t),a));var s=T(o.stem);s&&(t=O(O({},t),s))}}return t}var A,M={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function R(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(M[n||""]||M[r||""]||M["".concat(r,"-001")]||M["001"])[0]}var I=new RegExp("^".concat(y.source,"*")),Z=new RegExp("".concat(y.source,"*$"));function N(e,t){return{start:e,end:t}}var L=!!String.prototype.startsWith,F=!!String.fromCodePoint,H=!!Object.fromEntries,B=!!String.prototype.codePointAt,U=!!String.prototype.trimStart,W=!!String.prototype.trimEnd,z=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},V=!0;try{V="a"===(null===(A=Q("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===A?void 0:A[0])}catch(e){V=!1}var G,q=L?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},$=F?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,i=0;o>i;){if((n=e[i++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Y=H?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o[0],a=o[1];t[i]=a}return t},X=B?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,o=e.charCodeAt(t);return o<55296||o>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?o:r-56320+(o-55296<<10)+65536}},K=U?function(e){return e.trimStart()}:function(e){return e.replace(I,"")},J=W?function(e){return e.trimEnd()}:function(e){return e.replace(Z,"")};function Q(e,t){return new RegExp(e,t)}if(V){var ee=Q("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");G=function(e,t){var n;return ee.lastIndex=t,null!==(n=ee.exec(e)[1])&&void 0!==n?n:""}}else G=function(e,t){for(var n=[];;){var r=X(e,t);if(void 0===r||re(r)||oe(r))break;n.push(r),t+=r>=65536?2:1}return $.apply(void 0,n)};var te=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var a=this.char();if(123===a){if((s=this.parseArgument(e,n)).err)return s;r.push(s.val)}else{if(125===a&&e>0)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(o.UNMATCHED_CLOSING_TAG,N(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&ne(this.peek()||0)){if((s=this.parseTag(e,t)).err)return s;r.push(s.val)}else{var s;if((s=this.parseLiteral(e,t)).err)return s;r.push(s.val)}}else{var c=this.clonePosition();this.bump(),r.push({type:i.pound,location:N(c,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:i.literal,value:"<".concat(r,"/>"),location:N(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(e+1,t,!0);if(a.err)return a;var s=a.val,c=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ne(this.char()))return this.error(o.INVALID_TAG,N(c,this.clonePosition()));var u=this.clonePosition();return r!==this.parseTagName()?this.error(o.UNMATCHED_CLOSING_TAG,N(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:i.tag,value:r,children:s,location:N(n,this.clonePosition())},err:null}:this.error(o.INVALID_TAG,N(c,this.clonePosition())))}return this.error(o.UNCLOSED_TAG,N(n,this.clonePosition()))}return this.error(o.INVALID_TAG,N(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{var a=this.tryParseUnquoted(e,t);if(a)r+=a;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var c=N(n,this.clonePosition());return{val:{type:i.literal,value:r,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ne(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return $.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),$(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(o.EMPTY_ARGUMENT,N(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(o.MALFORMED_ARGUMENT,N(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:i.argument,value:r,location:N(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(o.MALFORMED_ARGUMENT,N(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=G(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:N(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,s){var c,u=this.clonePosition(),l=this.parseIdentifierIfPossible().value,f=this.clonePosition();switch(l){case"":return this.error(o.EXPECT_ARGUMENT_TYPE,N(u,f));case"number":case"date":case"time":this.bumpSpace();var p=null;if(this.bumpIf(",")){this.bumpSpace();var d=this.clonePosition();if((x=this.parseSimpleArgStyleIfPossible()).err)return x;if(0===(v=J(x.val)).length)return this.error(o.EXPECT_ARGUMENT_STYLE,N(this.clonePosition(),this.clonePosition()));p={style:v,styleLocation:N(d,this.clonePosition())}}if((S=this.tryParseArgumentClose(s)).err)return S;var h=N(s,this.clonePosition());if(p&&q(null==p?void 0:p.style,"::",0)){var m=K(p.style.slice(2));if("number"===l)return(x=this.parseNumberSkeletonFromString(m,p.styleLocation)).err?x:{val:{type:i.number,value:n,location:h,style:x.val},err:null};if(0===m.length)return this.error(o.EXPECT_DATE_TIME_SKELETON,h);var g=m;this.locale&&(g=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var a=1+(1&i),s=i<2?1:3+(i>>1),c=R(t);for("H"!=c&&"k"!=c||(s=0);s-- >0;)n+="a";for(;a-- >0;)n=c+n}else n+="J"===o?"H":o}return n}(m,this.locale));var v={type:a.dateTime,pattern:g,location:p.styleLocation,parsedOptions:this.shouldParseSkeletons?w(g):{}};return{val:{type:"date"===l?i.date:i.time,value:n,location:h,style:v},err:null}}return{val:{type:"number"===l?i.number:"date"===l?i.date:i.time,value:n,location:h,style:null!==(c=null==p?void 0:p.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(o.EXPECT_SELECT_ARGUMENT_OPTIONS,N(y,r({},y)));this.bumpSpace();var b=this.parseIdentifierIfPossible(),O=0;if("select"!==l&&"offset"===b.value){if(!this.bumpIf(":"))return this.error(o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,N(this.clonePosition(),this.clonePosition()));var x;if(this.bumpSpace(),(x=this.tryParseDecimalInteger(o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return x;this.bumpSpace(),b=this.parseIdentifierIfPossible(),O=x.val}var S,j=this.tryParsePluralOrSelectOptions(e,l,t,b);if(j.err)return j;if((S=this.tryParseArgumentClose(s)).err)return S;var P=N(s,this.clonePosition());return"select"===l?{val:{type:i.select,value:n,options:Y(j.val),location:P},err:null}:{val:{type:i.plural,value:n,options:Y(j.val),offset:O,pluralType:"plural"===l?"cardinal":"ordinal",location:P},err:null};default:return this.error(o.INVALID_ARGUMENT_TYPE,N(u,f))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,N(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,N(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(x).filter((function(e){return e.length>0}));n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],a=o.slice(1),s=0,c=a;s<c.length;s++)if(0===c[s].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:a})}return t}(e)}catch(e){return this.error(o.INVALID_NUMBER_SKELETON,t)}return{val:{type:a.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?_(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i,a=!1,s=[],c=new Set,u=r.value,l=r.location;;){if(0===u.length){var f=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var p=this.tryParseDecimalInteger(o.EXPECT_PLURAL_ARGUMENT_SELECTOR,o.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;l=N(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}if(c.has(u))return this.error("select"===t?o.DUPLICATE_SELECT_ARGUMENT_SELECTOR:o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===u&&(a=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,N(this.clonePosition(),this.clonePosition()));var h=this.parseMessage(e+1,t,n);if(h.err)return h;var m=this.tryParseArgumentClose(d);if(m.err)return m;s.push([u,{value:h.val,location:N(d,this.clonePosition())}]),c.add(u),this.bumpSpace(),u=(i=this.parseIdentifierIfPossible()).value,l=i.location}return 0===s.length?this.error("select"===t?o.EXPECT_SELECT_ARGUMENT_SELECTOR:o.EXPECT_PLURAL_ARGUMENT_SELECTOR,N(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(o.MISSING_OTHER_CLAUSE,N(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}var s=N(r,this.clonePosition());return o?z(i*=n)?{val:i,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=X(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(q(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&re(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function ne(e){return e>=97&&e<=122||e>=65&&e<=90}function re(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function oe(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function ie(e){e.forEach((function(e){if(delete e.location,p(e)||d(e))for(var t in e.options)delete e.options[t].location,ie(e.options[t].value);else u(e)&&g(e.style)||(l(e)||f(e))&&v(e.style)?delete e.style.location:m(e)&&ie(e.children)}))}function ae(e,t){void 0===t&&(t={}),t=r({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new te(e,t).parse();if(n.err){var i=SyntaxError(o[n.err.kind]);throw i.location=n.err.location,i.originalMessage=n.err.message,i}return(null==t?void 0:t.captureLocation)||ie(n.val),n.val}},88222:(e,t,n)=>{"use strict";n.d(t,{$6:()=>f,OV:()=>s,Qe:()=>u,Rw:()=>i,X9:()=>l,bc:()=>r,gb:()=>c,wI:()=>a});var r,o=n(14874);!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(r||(r={}));var i=function(e){function t(n,r,o){var i=this,a=o?o instanceof Error?o:new Error(String(o)):void 0;return(i=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return(0,o.ZT)(t,e),t}(Error),a=function(e){function t(t,n){return e.call(this,r.UNSUPPORTED_FORMATTER,t,n)||this}return(0,o.ZT)(t,e),t}(i),s=function(e){function t(t,n){return e.call(this,r.INVALID_CONFIG,t,n)||this}return(0,o.ZT)(t,e),t}(i),c=function(e){function t(t,n){return e.call(this,r.MISSING_DATA,t,n)||this}return(0,o.ZT)(t,e),t}(i),u=function(e){function t(t,n,o){return e.call(this,r.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),o)||this}return(0,o.ZT)(t,e),t}(i),l=function(e){function t(t,n,r,o){var i=e.call(this,"".concat(t,"\nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description,"\n"),n,o)||this;return i.descriptor=r,i}return(0,o.ZT)(t,e),t}(u),f=function(e){function t(t,n){var o=e.call(this,r.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map((function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;return o.descriptor=t,o}return(0,o.ZT)(t,e),t}(i)},82644:(e,t,n)=>{"use strict";n.d(t,{L6:()=>s,Sn:()=>u,TB:()=>p,Z0:()=>c,ax:()=>f});var r=n(14874),o=n(16284),i=n(95957),a=n(88222);function s(e,t,n){return void 0===n&&(n={}),t.reduce((function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t}),{})}var c={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0},onWarn:function(e){0}};function u(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function l(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function f(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,a=Intl.DisplayNames,s=(0,i.Z)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,r.ev)([void 0],t,!1)))}),{cache:l(e.dateTime),strategy:i.A.variadic}),c=(0,i.Z)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,(0,r.ev)([void 0],t,!1)))}),{cache:l(e.number),strategy:i.A.variadic}),u=(0,i.Z)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,(0,r.ev)([void 0],t,!1)))}),{cache:l(e.pluralRules),strategy:i.A.variadic});return{getDateTimeFormat:s,getNumberFormat:c,getMessageFormat:(0,i.Z)((function(e,t,n,i){return new o.C(e,t,n,(0,r.pi)({formatters:{getNumberFormat:c,getDateTimeFormat:s,getPluralRules:u}},i||{}))}),{cache:l(e.message),strategy:i.A.variadic}),getRelativeTimeFormat:(0,i.Z)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,(0,r.ev)([void 0],e,!1)))}),{cache:l(e.relativeTime),strategy:i.A.variadic}),getPluralRules:u,getListFormat:(0,i.Z)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,(0,r.ev)([void 0],e,!1)))}),{cache:l(e.list),strategy:i.A.variadic}),getDisplayNames:(0,i.Z)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(a.bind.apply(a,(0,r.ev)([void 0],e,!1)))}),{cache:l(e.displayNames),strategy:i.A.variadic})}}function p(e,t,n,r){var o,i=e&&e[t];if(i&&(o=i[n]),o)return o;r(new a.wI("No ".concat(t," format named: ").concat(n)))}},14874:(e,t,n)=>{"use strict";n.d(t,{ZT:()=>o,ev:()=>a,pi:()=>i});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.create;function a(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create},11666:(e,t,n)=>{"use strict";n.d(t,{A:()=>M,B:()=>v,C:()=>I,D:()=>w,E:()=>u,F:()=>N,G:()=>z,J:()=>L,K:()=>$,L:()=>Q,M:()=>te,N:()=>J,P:()=>A,R:()=>R,S:()=>H,T:()=>_,U:()=>re,Y:()=>Y,_:()=>X,a:()=>Z,a1:()=>ee,a3:()=>ne,b:()=>F,d:()=>B,e:()=>D,f:()=>U,g:()=>W,h:()=>V,i:()=>y,j:()=>P,k:()=>s,l:()=>j,m:()=>b,n:()=>T,o:()=>d,p:()=>l,q:()=>g,r:()=>p,s:()=>S,t:()=>c,u:()=>f,v:()=>E,y:()=>x,z:()=>O});var r=n(12470),o=n(87462),i=n(52847);const a=function(e,t){var n;void 0===t&&(t=!0);var o=new Promise((function(r){n=setTimeout(r,e,t)}));return o[r.n1]=function(){clearTimeout(n)},o};var s=function(e){return function(){return e}}(!0),c=function(){};var u=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var l=function(e,t){(0,o.Z)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))},f=function(e,t){var n;return(n=[]).concat.apply(n,t.map(e))};function p(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function d(e){var t=!1;return function(){t||(t=!0,e())}}var h=function(e){throw e},m=function(e){return{value:e,done:!0}};function g(e,t,n){void 0===t&&(t=h),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:m,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function v(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var y=function(e){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+e+"\n")},b=function(e){return Array.apply(null,new Array(e))},w=function(e){return function(t){return e(Object.defineProperty(t,r.Nm,{value:!0}))}},O=function(e){return e===r.EO},x=function(e){return e===r.Wd},S=function(e){return O(e)||x(e)};function j(e,t){var n=Object.keys(e),r=n.length;var o,a=0,s=(0,i.IX)(e)?b(r):{},u={};return n.forEach((function(e){var n=function(n,i){o||(i||S(n)?(t.cancel(),t(n,i)):(s[e]=n,++a===r&&(o=!0,t(s))))};n.cancel=c,u[e]=n})),t.cancel=function(){o||(o=!0,n.forEach((function(e){return u[e].cancel()})))},u}function P(e){return{name:e.name||"anonymous",location:E(e)}}function E(e){return e[r.b_]}var k={isEmpty:s,put:c,take:c};function C(e,t){void 0===e&&(e=10);var n=new Array(e),r=0,o=0,i=0,a=function(t){n[o]=t,o=(o+1)%e,r++},s=function(){if(0!=r){var t=n[i];return n[i]=null,r--,i=(i+1)%e,t}},c=function(){for(var e=[];r;)e.push(s());return e};return{isEmpty:function(){return 0==r},put:function(s){var u;if(r<e)a(s);else switch(t){case 1:throw new Error("Channel's Buffer overflow!");case 3:n[o]=s,i=o=(o+1)%e;break;case 4:u=2*e,n=c(),r=n.length,o=n.length,i=0,n.length=u,e=u,a(s)}},take:s,flush:c}}var T=function(){return k},D=function(e){return C(e,4)},_="TAKE",A="PUT",M="ALL",R="RACE",I="CALL",Z="CPS",N="FORK",L="JOIN",F="CANCEL",H="SELECT",B="ACTION_CHANNEL",U="CANCELLED",W="FLUSH",z="GET_CONTEXT",V="SET_CONTEXT",G=function(e,t){var n;return(n={})[r.IO]=!0,n.combinator=!1,n.type=e,n.payload=t,n},q=function(e){return G(N,(0,o.Z)({},e.payload,{detached:!0}))};function $(e,t){return void 0===e&&(e="*"),(0,i.uj)(e)?G(_,{pattern:e}):(0,i.Om)(e)&&(0,i.d5)(t)&&(0,i.uj)(t)?G(_,{channel:e,pattern:t}):(0,i.CE)(e)?G(_,{channel:e}):void 0}function Y(e,t){return(0,i.sR)(t)&&(t=e,e=void 0),G(A,{channel:e,action:t})}function X(e){var t=G(M,e);return t.combinator=!0,t}function K(e,t){var n,r=null;return(0,i.Yl)(e)?n=e:((0,i.IX)(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&(0,i.Z_)(n)&&(0,i.Yl)(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function J(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return G(I,K(e,n))}function Q(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return G(N,K(e,n))}function ee(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return q(Q.apply(void 0,[e].concat(n)))}function te(e){return void 0===e&&(e=r.sC),G(F,e)}function ne(e){void 0===e&&(e=u);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return G(H,{selector:e,args:n})}var re=J.bind(null,a)},52847:(e,t,n)=>{"use strict";n.d(t,{CE:()=>p,IX:()=>c,MC:()=>u,NA:()=>h,Om:()=>m,Yl:()=>a,Z_:()=>s,d5:()=>i,eR:()=>d,hZ:()=>l,sR:()=>o,uj:()=>f});var r=n(12470),o=function(e){return null==e},i=function(e){return null!=e},a=function(e){return"function"==typeof e},s=function(e){return"string"==typeof e},c=Array.isArray,u=function(e){return e&&a(e.then)},l=function(e){return e&&a(e.next)&&a(e.throw)},f=function e(t){return t&&(s(t)||h(t)||a(t)||c(t)&&t.every(e))},p=function(e){return e&&a(e.take)&&a(e.close)},d=function(e){return a(e)&&e.hasOwnProperty("toString")},h=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},m=function(e){return p(e)&&e[r.AS]}},12470:(e,t,n)=>{"use strict";n.d(t,{AS:()=>c,Cs:()=>f,EO:()=>d,IO:()=>a,Nm:()=>u,Wd:()=>p,b_:()=>h,n1:()=>o,sC:()=>l,sZ:()=>i,uq:()=>s});var r=function(e){return"@@redux-saga/"+e},o=r("CANCEL_PROMISE"),i=r("CHANNEL_END"),a=r("IO"),s=r("MATCH"),c=r("MULTICAST"),u=r("SAGA_ACTION"),l=r("SELF_CANCELLATION"),f=r("TASK"),p=r("TASK_CANCEL"),d=r("TERMINATE"),h=r("LOCATION")},48479:(e,t,n)=>{"use strict";n.d(t,{AF:()=>p,Bw:()=>d,DN:()=>h,FX:()=>s,H6:()=>m,Hx:()=>u,KK:()=>S,LO:()=>O,Pm:()=>x,Pt:()=>a,Rg:()=>y,Tf:()=>o,VL:()=>g,VQ:()=>r,X7:()=>f,ZD:()=>l,_2:()=>c,b0:()=>i,b7:()=>P,m0:()=>j,pi:()=>w,rm:()=>b,xO:()=>v,zL:()=>E});var r="dbrefactoring/LOAD_MODULES",o="dbrefactoring/LOAD_FRAGMENTS",i="dbrefactoring/SET_VERSION",a="dbrefactoring/SET_FRAGMENTS",s="dbrefactoring/SET_MODULES",c="dbrefactoring/SET_SELECTED_MODULES",u="dbrefactoring/SET_FRAGMENT_SELECTED",l="dbrefactoring/SET_IGNORE_ERRORS",f="dbrefactoring/EXECUTE_DB_REFACTORING",p="dbrefactoring/SET_LANGUAGE",d="dbrefactoring/EXECUTE_LANGUAGE_UPGRADE",h="dbrefactoring/UNSET_RUNNING",m=function(){return{type:r}},g=function(){return{type:o}},v=function(e){return{type:i,payload:{version:e}}},y=function(e){return{type:a,payload:{fragments:e}}},b=function(e){return{type:s,payload:{modules:e}}},w=function(e){return{type:c,payload:{selectedModules:e}}},O=function(e,t){return{type:u,payload:{fragment:e,selected:t}}},x=function(e){return{type:l,payload:{ignoreErrors:e}}},S=function(){return{type:f}},j=function(e){return{type:p,payload:{language:e}}},P=function(){return{type:d}},E=function(e){return{type:h,payload:{path:e}}}},49478:(e,t,n)=>{"use strict";n.d(t,{$i:()=>x,EJ:()=>o,EL:()=>E,Ge:()=>d,HM:()=>s,LU:()=>i,MW:()=>r,Pq:()=>O,QM:()=>g,R6:()=>w,Rj:()=>j,VD:()=>f,YV:()=>m,_w:()=>P,ag:()=>v,c:()=>b,dQ:()=>p,es:()=>l,fq:()=>S,g6:()=>h,iK:()=>c,o1:()=>y,pe:()=>a,sF:()=>u});var r="modelvalidation/START_VALIDATION",o="modelvalidation/RECEIVE_MESSAGE",i="modelvalidation/SET_TOTAL",a="modelvalidation/SET_CURRENT",s="modelvalidation/ADD_CHECK_EVENT",c="modelvalidation/SET_RESULT",u="modelvalidation/SET_SELECTED",l="modelvalidation/GENERATE_SQL",f="modelvalidation/SET_SQL",p="modelvalidation/EXECUTE_SQL",d="modelvalidation/GENERATE_CHANGELOG",h="modelvalidation/SET_CHANGELOG",m=function(){return{type:r}},g=function(e){return{type:o,payload:{message:e}}},v=function(e){return{type:c,payload:{result:e}}},y=function(e){return{type:i,payload:{total:e}}},b=function(e,t,n){return{type:a,payload:{total:e,currentIndex:t,currentName:n}}},w=function(e,t,n){return{type:s,payload:{id:e,type:t,label:n}}},O=function(e,t){return{type:u,payload:{ids:e,selected:t}}},x=function(){return{type:l}},S=function(e){return{type:f,payload:{sql:e}}},j=function(e){return{type:p,payload:{close:e}}},P=function(){return{type:d}},E=function(e){return{type:h,payload:{changelog:e}}}},22541:(e,t,n)=>{"use strict";n.d(t,{HI:()=>o,Iv:()=>s,Z9:()=>r,Zm:()=>i,oS:()=>a,uI:()=>c});var r="sqllog/RECEIVE_ENTRY",o="sqllog/SET_ACTIVE",i="sqllog/SET_ELAPSED",a=function(e){return{type:r,payload:{data:e}}},s=function(e){return{type:o,payload:{active:e}}},c=function(e){return{type:i,payload:{elapsed:e}}}},50600:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(87757),o=n.n(r),i=n(34857),a="EMIT_ACTION",s="DISPATCH_EMITTED_ACTION",c=o().mark(f),u=o().mark(p),l=o().mark(d);function f(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.$6)([(0,i.ib)(a,p,e),(0,i.ib)(s,d)]);case 2:case"end":return t.stop()}}),c)}function p(e,t){var n,r,a;return o().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return n=t.payload,r=n.action,o.next=4,(0,i.Ys)(e);case 4:if(!(a=o.sent)){o.next=8;break}return o.next=8,(0,i.RE)(a,r);case 8:case"end":return o.stop()}}),u)}function d(e){var t,n;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,n=t.action,r.next=4,(0,i.gz)(n);case 4:case"end":return r.stop()}}),l)}const h={emitAction:function(e){return{type:a,payload:{action:e}}},dispatchEmittedAction:function(e){return{type:s,payload:{action:e}}},addToStore:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return null};e.sagaMiddleware.run(f,t)}}},31366:(e,t,n)=>{"use strict";n.d(t,{Z:()=>$i});var r=n(50558),o=n(30314),i=n.n(o),a=n(34206),s=n(47037),c=n.n(s),u=n(44012),l=n(58804),f=n(88162),p=n(85893);const d=(0,l.Zz)((function(e){return(0,p.jsx)(f.Z,{style:{fontSize:"".concat(e.theme.fontSize.base,"rem")},icon:e.value?"check":"times"})}));var h=n(19154),m=n(86896);const g=function(e){var t=(0,m.Z)();return(0,p.jsx)(a.ZP.Time,{dateTime:e.value,title:t.formatDate(e.value),children:(0,p.jsx)(h.FormattedDate,{value:e.value,year:"numeric",month:"2-digit",day:"2-digit",timeZone:"UTC"})})};var v,y=n(74806);const b=(0,y.ZP)((function(e){var t=e.value,n=e.intl,r=new Date(t);return!t||isNaN(r)?(console.error("DateTimeFormatter: Invalid date",t),v||(v=(0,p.jsx)(a.ZP.Span,{}))):(0,p.jsxs)(a.ZP.Time,{dateTime:r.toISOString(),title:"".concat(n.formatDate(r),", ").concat(n.formatTime(r)),children:[(0,p.jsx)(h.FormattedDate,{value:r,year:"numeric",month:"2-digit",day:"2-digit"}),", ",(0,p.jsx)(h.FormattedTime,{value:r})]})}));var w=n(46927),O=n(1024),x=n(76791),S=n(88601),j=n(7281),P=n(79686);function E(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 k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){(0,w.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const C=function(e){var t=(0,O.useContext)(l.Ni),n=e.options||{},r=(0,p.jsxs)(p.Fragment,{children:[n.title&&(0,p.jsx)(a.ZP.H5,{children:n.title}),(0,p.jsx)(P.Z,k({},e))]}),o={color:S.Z.color("text")({theme:t}),fontSize:"".concat(S.Z.fontSize("base")({theme:t})*S.Z.fontSize("factor")({theme:t}),"rem"),marginLeft:"-".concat(j.Z.space(-1.9)({theme:t}))};return"text"===n.mode?r:(0,p.jsx)(x.Z,{content:r,isPlainHtml:!0,children:(0,p.jsx)(f.Z,{style:o,icon:"question-circle"})})};var T=n(27361),D=n.n(T),_=n(28247),A=n(10535),M=n(41291);const R=function(e){var t=e.value,n=e.options||{},r=n.tooltips,o=n.loadTooltip,i=D()(r,t.resourceKey,null);return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(x.Z,{content:i?(0,p.jsx)("div",{dangerouslySetInnerHTML:{__html:A.Z.sanitizeHtml(i)}}):null,children:(0,p.jsx)("span",{onMouseOver:function(){return o&&!i&&o(t.resourceKey)},children:(0,p.jsx)(M.Z,{alt:t.alt||t.fileName,icon:"external-link",look:"raised",target:"_blank",href:t.binaryLink,onClick:function(e){e.stopPropagation()}})})}),(0,p.jsx)(M.Z,{alt:t.alt||t.fileName,icon:"arrow-to-bottom",look:"raised",target:"_blank",href:_.Z.getDownloadUrl(t.binaryLink),onClick:function(e){e.stopPropagation()}})]})};var I=n(73906);const Z=function(e){return(0,p.jsx)(I.Z,{alt:e.value.alt||e.value.fileName,caption:e.value.caption||e.value.fileName,downloadOnClick:!0,fileName:e.value.fileName,srcUrl:e.value.binaryLink,thumbnailUrl:e.value.thumbnailLink})};var N=n(86507);const L=function(e){var t=e.value,n=parseInt(t),r=N.Z.formatDuration(n);return(0,p.jsx)(a.ZP.Time,{dateTime:r,title:r,children:r})};const F=function(e){return(0,p.jsx)(M.Z,{href:"mailto:".concat(e.value.toString()),target:"_blank",onClick:function(e){return e.stopPropagation()},label:e.value.toString(),breakWords:e.breakWords})};const H=function(e){return(0,p.jsx)(a.ZP.Span,{breakWords:e.breakWords,children:e.value.toString()})};function B(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 U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){(0,w.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var W=function(){return", "};const z=function(e){var t=e.value,n=e.options,r=e.breakWords,o=n||{},i=o.navigationStrategy,s=o.linkProps,c=(null==t?void 0:t.length)>0?t.map((function(e){return null!=i&&i.DetailLink?(0,p.jsx)("span",{onClick:function(e){return e.stopPropagation()},children:(0,p.jsx)(i.DetailLink,U(U({},s),{},{entityKey:e.key,children:e.display}))}):e.display})).reduce((function(e,t,n){return[e,(0,p.jsx)(W,{},"sep".concat(n)),t]})):null;return(0,p.jsx)(a.ZP.Span,{breakWords:r,children:c})};const V=function(e){return(0,p.jsx)(a.ZP.Span,{breakWords:e.breakWords,children:(0,p.jsx)(h.FormattedNumber,{value:e.value,style:"decimal",minimumFractionDigits:e.options&&e.options.postPointDigits||2})})};const G=function(e){return(0,p.jsxs)(a.ZP.Span,{children:[(0,p.jsx)(V,{value:e.value}),"%"]})};function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){(0,w.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Y=(0,O.lazy)((function(){return Promise.all([n.e(817),n.e(85)]).then(n.bind(n,48078))}));const X=function(e){return(0,p.jsx)(O.Suspense,{fallback:"",children:(0,p.jsx)(Y,$({},e))})};var K=n(70696);function J(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 Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){(0,w.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const ee=function(e){var t=e.value,n=e.options,r=e.breakWords;t=K.Z.getOrFirst(t);var o=(0,p.jsx)(a.ZP.Span,{breakWords:r,children:t.display}),i=n||{},s=i.tooltips,c=i.loadTooltip,u=i.navigationStrategy,l=i.linkProps,f=D()(s,t.key,null);return(null!=u&&u.DetailLink?(0,p.jsx)("span",{onClick:function(e){return e.stopPropagation()},children:(0,p.jsx)(u.DetailLink,Q(Q({},l),{},{entityKey:t.key,children:(0,p.jsx)(x.Z,{content:f?(0,p.jsx)("div",{dangerouslySetInnerHTML:{__html:A.Z.sanitizeHtml(f)}}):null,children:(0,p.jsx)("span",{onMouseOver:function(){return c&&!f&&c(t.key)},children:o})})}))}):null)||o};const te=function(e){return(0,p.jsx)(a.ZP.Span,{breakWords:e.breakWords,children:e.value.toString()})};const ne=function(e){return e.breakWords?e.value.split("\n").map((function(e,t){return(0,p.jsx)(a.ZP.P,{children:e},t)})):(0,p.jsx)(a.ZP.Span,{breakWords:!1,children:e.value.replace("/\n/g"," ")})};var re=n(95395),oe=function(e,t){return parseInt(e.split(":")[t])||0};const ie=(0,y.ZP)((function(e){var t=e.value,n=e.intl,r=oe(t,0),o=oe(t,1),i=oe(t,2),s=oe(t,3),c=new Date(2e3,1,1,r,o,i,s),u=(0,re.default)(c,"HH:mm:ss.SSS");return(0,p.jsx)(a.ZP.Time,{dateTime:u,title:n.formatTime(c),children:(0,p.jsx)(h.FormattedTime,{value:c})})}));const ae=function(e){var t=e.value,n=e.breakWords;return(0,p.jsx)(M.Z,{onClick:function(e){e.stopPropagation()},href:t,target:"_blank",rel:"noopener noreferrer",label:t,breakWords:n,neutral:!1})};var se,ce={boolean:d,date:g,datetime:b,document:Z,"document-compact":R,duration:L,email:F,html:P.Z,integer:H,"multi-remote":z,"multi-select":z,number:V,percent:G,phone:X,remote:ee,"single-select":ee,string:te,text:ne,time:ie,url:ae,description:C};const ue=function(e){var t=e.componentType,n=e.value,r=e.options,o=e.breakWords,i=void 0===o||o;if(ce[t]){var a=ce[t];return(0,p.jsx)(a,{value:n,options:r,breakWords:i})}return console.log("No FormattedValue mapper defined for component type",t,n),se||(se=(0,p.jsx)("div",{}))};var le;const fe=function(e){var t=e.type,n=e.value,r=e.options,o=e.breakWords;return function(e){return null==e||""===e}(n)?le||(le=(0,p.jsx)("span",{})):(0,p.jsx)(ue,{componentType:t,value:n,options:r,breakWords:o})};const pe=function(e){var t=e.children;return c()(t)?function(e){return e&&/<\/?[a-zA-Z0-9]*\/?>/.test(e)}(t)?(0,p.jsx)(fe,{type:"html",value:t}):function(e){return e&&e.startsWith("client.")}(t)?(0,p.jsx)(u.Z,{id:t}):(0,p.jsx)("span",{children:t}):t};var de,he,me,ge=n(28655),ve=n.n(ge),ye=l.ZP.div.withConfig({displayName:"StyledPageOverlay"})(de||(de=ve()(["\n background-color: rgba(50, 50, 50, 0.7);\n height: 100%;\n width: 100%;\n position: fixed;\n top: 0;\n left: 0;\n z-index: 4; // higher than StyledHeader\n"]))),be=l.ZP.div.withConfig({displayName:"StyledBlockingDisplay"})(he||(he=ve()(["\n z-index: 1001;\n position: absolute;\n top: 10px;\n left: 50%;\n transform: translateX(-155px);\n width: 310px;\n padding: ",";\n background-color: ",";\n\n * {\n color: ",";\n }\n"])),j.Z.space(-.5),S.Z.color("signal.info.text"),S.Z.color("paper")),we=l.ZP.span.withConfig({displayName:"StyledTitleWrapper"})(me||(me=ve()(["\n color: ",";\n font-size: ",";\n font-weight: ",";\n"])),S.Z.color("paper"),j.Z.font(1.5),S.Z.fontWeight("regular"));const Oe=function(e){var t=e.blockers;if(!t||0===t.length)return null;var n=t[0];return(0,p.jsx)(p.Fragment,{children:i().createPortal((0,p.jsx)(ye,{children:(0,p.jsxs)(be,{children:[n.title&&(0,p.jsx)(a.ZP.H1,{children:(0,p.jsx)(we,{children:(0,p.jsx)(pe,{children:n.title})})}),n.body&&(0,p.jsx)(a.ZP.Span,{children:(0,p.jsx)(pe,{children:n.body})})]})}),document.body)})};const xe=(0,r.connect)((function(e){return{blockers:e.notification.blocking.blockers}}))(Oe);var Se,je,Pe,Ee,ke,Ce,Te,De,_e,Ae,Me,Re,Ie,Ze,Ne,Le="notification/MODAL",Fe="notification/REMOVE_MODAL",He=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:function(){};return{type:Le,payload:{id:e,title:t,message:n,component:r,cancelable:o,cancelCallback:i}}},Be=function(e){return{type:Fe,payload:{id:e}}},Ue="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,We=n(11347),ze=n(65035),Ve=n(24315),Ge=j.Z.space(.5),qe=l.ZP.div.withConfig({displayName:"StyledModalContent"})(Se||(Se=ve()(["\n position: relative;\n background-color: ",";\n padding: ",";\n ","\n ","\n display: grid;\n grid-template-rows: [header] auto [body] 1fr;\n"])),S.Z.color("paper"),Ge,!Ue&&(0,l.iv)(je||(je=ve()(["\n top: 10%;\n box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);\n max-height: 80vh;\n min-width: 350px;\n max-width: 700px;\n margin: auto;\n "]))),Ue&&(0,l.iv)(Pe||(Pe=ve()(["\n box-sizing: border-box;\n height: 100vh;\n width: 100vw;\n "])))),$e=l.ZP.button.withConfig({displayName:"StyledCloseButton"})(Ee||(Ee=ve()(["\n background-color: transparent;\n border: none;\n cursor: pointer;\n font-size: 22px;\n opacity: 0.8;\n outline: none;\n position: absolute;\n right: ",";\n top: ",";\n padding: 0;\n z-index: 1;\n\n &:hover {\n opacity: 1;\n }\n\n &:focus {\n outline: none;\n }\n"])),Ge,Ge),Ye=l.ZP.div.withConfig({displayName:"StyledModalHolder"})(ke||(ke=ve()(["\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n position: absolute;\n // higher than StyledHeader and very high value to prevent other elements blocking it when implemented as a widget\n // lower than ext-js legacy actions\n z-index: 9000;\n"]))),Xe=l.ZP.div.withConfig({displayName:"StyledModalWrapper"})(Ce||(Ce=ve()(["\n width: 100%;\n height: 100%;\n position: absolute;\n z-index: 1; // lower than ExtJS modals and mask (must be able to open legacy ExtJS modals on top of our modals)\n"]))),Ke=l.ZP.div.withConfig({displayName:"StyledModalHeader"})(Te||(Te=ve()(["\n grid-row-start: header;\n"]))),Je=l.ZP.div.withConfig({displayName:"StyledTitleWrapper"})(De||(De=ve()(["\n padding-bottom: ",";\n"])),j.Z.space(.5)),Qe=l.ZP.div.withConfig({displayName:"StyledModalBody"})(_e||(_e=ve()(["\n grid-row-start: body;\n overflow: hidden auto;\n padding-right: ",";\n ","\n"])),j.Z.space(0),We.C),et=l.ZP.div.withConfig({displayName:"StyledMessageWrapper"})(Ae||(Ae=ve()(["\n padding-bottom: ",";\n"])),j.Z.space(0)),tt=l.ZP.div.withConfig({displayName:"StyledPageOverlay"})(Me||(Me=ve()(["\n background-color: rgba(50, 50, 50, 0.7);\n height: 100%;\n width: 100%;\n position: fixed;\n top: 0;\n left: 0;\n"]))),nt=(0,l.ZP)(ze.Z).withConfig({displayName:"StyledModalButton"})(Re||(Re=ve()(["\n margin-top: ",";\n\n &:last-child {\n margin-right: 0;\n }\n"])),j.Z.space(0)),rt=l.ZP.div.withConfig({displayName:"StyledModalButtonWrapper"})(Ie||(Ie=ve()(["\n display: flex;\n justify-content: flex-end;\n"]))),ot=(0,l.vJ)(Ze||(Ze=ve()(["\n "," {\n && {\n z-index: 9999999; // higher than StyledModalHolder\n }\n }\n"])),Ve._M);const it=function(e){var t,n=e.cancelable,r=e.message,o=e.title,i=e.onClose,s=e.onCancel,c=e.id,u=e.component,l=(0,O.useRef)(null),f=(0,O.useCallback)((function(){i(c)}),[i,c]),d=(0,O.useCallback)((function(){s(c)}),[s,c]);(0,O.useEffect)((function(){var e=function(e){"Escape"===e.key&&n&&d()};return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}}),[d,n]),(0,O.useLayoutEffect)((function(){l.current&&setTimeout((function(){return window.scrollTo(0,0)}),10)}),[l]);var h=(0,O.useMemo)((function(){return t||(t=(0,p.jsx)(u,{close:f}))}),[u,f]);return(0,p.jsxs)(p.Fragment,{children:[Ne||(Ne=(0,p.jsx)(ot,{})),(0,p.jsx)(Xe,{children:(0,p.jsxs)(qe,{ref:l,children:[(0,p.jsxs)(Ke,{children:[o&&(0,p.jsx)(Je,{children:(0,p.jsx)(a.ZP.H1,{children:(0,p.jsx)(pe,{children:o})})}),n&&(0,p.jsx)($e,{onClick:d,type:"button",children:"✕"})]}),(0,p.jsxs)(Qe,{children:[r&&(0,p.jsx)(et,{children:(0,p.jsx)(a.ZP.Span,{children:(0,p.jsx)(pe,{children:r})})}),h]})]})})]})};var at;const st=function(e){var t=e.modals,n=e.close;return t.length>0&&i().createPortal((0,p.jsxs)(Ye,{children:[t.map((function(e,t){return(0,p.jsx)(it,{id:e.id,title:e.title,message:e.message,component:e.component,onClose:n,onCancel:function(t){n(t),e.cancelable&&e.cancelCallback&&e.cancelCallback()},cancelable:e.cancelable},t)})),at||(at=(0,p.jsx)(tt,{}))]}),document.body)};var ct={close:Be};const ut=(0,r.connect)((function(e,t){return{modals:e.notification.modal.modals}}),ct)(st);var lt,ft,pt,dt,ht,mt,gt,vt,yt="notification/SET_UNREAD_NOTIFICATION_KEYS",bt="notification/UPDATE_UNREAD_NOTIFICATION",wt="notification/LOAD_NOTIFICATIONS",Ot="notification/SET_NOTIFICATION",xt="notification/SET_MORE_NOTIFICATIONS_AVAILABLE",St="notification/UPDATE_NOTIFICATION",jt="notification/IS_LOADING_MORE_NOTIFICATIONS",Pt="notification/MARK_AS_READ",Et="notification/CANCEL_TASK",kt=function(e){return{type:Ot,payload:{notifications:e}}},Ct=function(e){return{type:St,payload:{notification:e}}},Tt=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:jt,payload:{isLoadingMoreNotifications:e}}},Dt=function(e){return{type:Pt,payload:{notificationKey:e}}},_t=function(e){return{type:Et,payload:{taskExecutionKey:e}}},At="notification/TOASTER",Mt="notification/REMOVE_TOASTER",Rt="notification/REMOVE_TOASTER_FROM_STORE",It=function(e){return{type:At,payload:{toaster:e}}},Zt=function(e,t){return{type:Mt,payload:{key:e,manually:t}}},Nt=function(e){return{type:Rt,payload:{key:e}}},Lt=n(2091),Ft=n(54608),Ht=n(30759),Bt=(0,l.F4)(lt||(lt=ve()(["\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n"]))),Ut={info:"info",success:"success",error:"danger",warning:"warning"},Wt=l.ZP.div.withConfig({displayName:"StyledToaster"})(ft||(ft=ve()(["\n background-color: ",";\n margin-bottom: ",";\n padding: ",";\n\n *,\n a:link // reset legacy styling\n {\n color: "," !important;\n }\n animation-name: ",";\n animation-duration: 0.8s;\n pointer-events: auto;\n"])),(function(e){return function(e,t){return Ut[e]?t.colors.signal[Ut[e]].text:"#ccc"}(e.type,e.theme)}),j.Z.space(-.5),j.Z.space(-.5),S.Z.color("paper"),Bt),zt=(0,l.ZP)(Lt.Z).withConfig({displayName:"StyledCloseButton"})(pt||(pt=ve()(["\n padding: 0;\n font-size: ",";\n color: ",";\n float: right;\n opacity: 0.9;\n\n &,\n &:hover {\n background-color: transparent;\n cursor: pointer;\n }\n\n &:hover {\n opacity: 1;\n color: ",";\n }\n"])),j.Z.font(3),S.Z.color("backgroundBody"),S.Z.color("paper")),Vt=l.ZP.div.withConfig({displayName:"StyledIconTitleWrapper"})(dt||(dt=ve()(["\n display: flex;\n align-items: center;\n padding-right: ",";\n\n "," {\n margin-top: 0;\n }\n"])),j.Z.space(0),Ft.XU),Gt=l.ZP.span.withConfig({displayName:"StyledTitleWrapper"})(ht||(ht=ve()(["\n font-size: ",";\n font-weight: ",";\n position: relative;\n bottom: 2px;\n"])),j.Z.font(1.5),S.Z.fontWeight("regular")),qt=l.ZP.div.withConfig({displayName:"StyledIconWrapper"})(mt||(mt=ve()(["\n font-size: ",";\n padding-right: ",";\n"])),j.Z.font(7),j.Z.space(-1.5)),$t=l.ZP.div.withConfig({displayName:"StyledContentWrapper"})(gt||(gt=ve()(["\n padding-top: ",";\n color: ",";\n"])),j.Z.space(-1),S.Z.color("paper")),Yt=l.ZP.div.withConfig({displayName:"StyledToasterBox"})(vt||(vt=ve()(["\n pointer-events: none;\n ",";\n position: fixed;\n height: 100%;\n width: 310px;\n top: 40px; // height of Header to prevent coverage\n right: 10px;\n // lower than StyledModalHolder and very high value to prevent other elements blocking it when implemented as a widget\n z-index: 99999;\n"])),(0,Ht.Z)()),Xt=n(63038),Kt=n.n(Xt),Jt=n(35997);const Qt=function(e){var t=e.toaster,n=e.closeToaster,r=e.cancelTask,o=e.navigationStrategy,i=(0,O.useCallback)((function(){n(t.key,!1)}),[t.key,n]),s=Jt.Z.useUserActive(i),c=Kt()(s,3),u=c[0],l=c[1],d=c[2];(0,O.useEffect)((function(){u(t.duration)}),[t.duration,u]);return(0,p.jsxs)(Wt,{onMouseOver:function(){l()},onMouseLeave:function(){d()},type:t.type,children:[(0,p.jsx)(zt,{icon:"times",onClick:function(){n(t.key,!0)}}),(0,p.jsxs)(Vt,{children:[t.icon&&(0,p.jsx)(qt,{children:(0,p.jsx)(f.Z,{icon:t.icon,hasFixedWidth:!1})}),t.title&&(0,p.jsx)(a.ZP.H1,{children:(0,p.jsx)(Gt,{children:(0,p.jsx)(pe,{children:t.title})})})]}),t.body&&(0,p.jsx)($t,{children:(0,p.jsx)(pe,{children:"function"==typeof t.body?(0,p.jsx)(t.body,{navigationStrategy:o,cancelTask:r}):t.body})})]},t.key)};const en=function(e){var t=e.toasters,n=e.removeToaster,r=e.cancelTask,o=e.navigationStrategy,a=Object.values(t).sort((function(e,t){return new Date(e.timestamp)-new Date(t.timestamp)})).map((function(e){return(0,p.jsx)(Qt,{toaster:e,closeToaster:n,cancelTask:r,navigationStrategy:o},"toaster-".concat(e.key))}));return(0,p.jsx)(p.Fragment,{children:t&&i().createPortal((0,p.jsx)(Yt,{children:a}),document.body)})};var tn={removeToaster:Zt,cancelTask:_t};const nn=(0,r.connect)((function(e){return{toasters:e.notification.toaster.toasters}}),tn)(en);var rn,on;const an=function(e){var t=e.navigationStrategy;return(0,p.jsxs)(p.Fragment,{children:[rn||(rn=(0,p.jsx)(xe,{})),(0,p.jsx)(nn,{navigationStrategy:t}),on||(on=(0,p.jsx)(ut,{}))]})};var sn="notification/BLOCKING_INFO",cn="notification/REMOVE_BLOCKING_INFO",un=n(93235),ln=n(59713),fn=n.n(ln),pn=n(87757),dn=n.n(pn),hn=n(34857),mn=n(63094),gn=dn().mark(Pn);function vn(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 yn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vn(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var bn={failed:"error",info:"info",warning:"warning",success:"success"},wn="running_infinite",On="running_absolute",xn="pending",Sn="OUTPUTJOB",jn="ENTITIES";function Pn(e){var t,n,r,o,i,a,s;return dn().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:if(!(t=yn(yn({},e),{},{type:bn[e.type]||"info",result:e.result?JSON.parse(e.result):null,taskProgress:e.taskProgress?yn(yn({},e.taskProgress),{},{isRunning:(u=e.taskProgress,u.status&&(u.status===xn||u.status===On||u.status===wn)),percentage:Math.round(100/e.taskProgress.total*e.taskProgress.done)}):null})).result||t.result.type!==Sn){c.next=15;break}return n=null,c.prev=3,r=t.result.content[0].key,c.next=7,(0,hn.RE)(mn.Z.fetchEntity,"Output_job",r,{paths:["document"]});case 7:o=c.sent,i=o.paths.document.value,a=i.fileName,s=i.binaryLink,n={name:a,link:s,description:t.result.content[0].display},c.next=14;break;case 12:c.prev=12,c.t0=c.catch(3);case 14:t.result=yn(yn({},t.result),{},{file:n});case 15:return c.abrupt("return",t);case 16:case"end":return c.stop()}var u}),gn,null,[[3,12]])}var En=function(){return En=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},En.apply(this,arguments)};var kn,Cn,Tn,Dn,_n,An,Mn,Rn,In,Zn,Nn,Ln,Fn,Hn,Bn,Un,Wn,zn,Vn,Gn,qn,$n,Yn,Xn={second:45,minute:45,hour:22,day:5},Kn=n(48272),Jn=n(7739),Qn=n.n(Jn),er=n(45697),tr=n.n(er),nr={neutral:"neutral",info:"info",warning:"warning",error:"error",success:"success"},rr=(kn={},fn()(kn,nr.neutral,null),fn()(kn,nr.error,"times-circle"),fn()(kn,nr.warning,"exclamation-circle"),fn()(kn,nr.success,"check-circle"),fn()(kn,nr.info,"info-circle"),kn),or=(tr().shape({key:tr().string.isRequired,message:tr().string,read:tr().bool,timestamp:tr().date,originId:tr().string,type:tr().string,taskProgress:tr().shape({taskExecutionKey:tr().string.isRequired,status:tr().string,message:tr().string,percentage:tr().number,done:tr().number,total:tr().number,supportsCancellation:tr().bool,isRunning:tr().bool})}),n(76538)),ir=l.ZP.div.withConfig({displayName:"StyledTaskProgressWrapper"})(Cn||(Cn=ve()(["\n margin-bottom: ",";\n\n a {\n padding-right: 1rem;\n }\n"])),j.Z.space(-1.5)),ar=l.ZP.span.withConfig({displayName:"StyledSpinnerWrapper"})(Tn||(Tn=ve()(["\n margin-right: ",";\n"])),j.Z.space(-1.5)),sr=l.ZP.div.withConfig({displayName:"StyledProgressOuter"})(Dn||(Dn=ve()(["\n background-color: ",";\n width: 100%;\n height: 5px;\n"])),(function(e){var t=e.theme;return(0,or._j)(.2,t.colors.backgroundBody)})),cr=l.ZP.div.withConfig({displayName:"StyledProgressInner"})(_n||(_n=ve()(["\n background-color: ",";\n width: ","%;\n height: 5px;\n"])),S.Z.color("paper"),(function(e){return e.percentage})),ur=l.ZP.span.withConfig({displayName:"StyledMessage"})(An||(An=ve()(["\n margin-right: ",";\n"])),j.Z.space(-2)),lr=l.ZP.div.withConfig({displayName:"StyledDetailLinkWrapper"})(Mn||(Mn=ve()(["\n margin-top: ",";\n margin-bottom: ",";\n\n * {\n font-size: ",";\n text-decoration: none;\n }\n"])),j.Z.space(-2),j.Z.space(-2),j.Z.font(-1)),fr=l.ZP.div.withConfig({displayName:"StyledOutputJobWrapper"})(Rn||(Rn=ve()(["\n a {\n color: ",";\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n }\n }\n"])),S.Z.color("text")),pr=l.ZP.div.withConfig({displayName:"StyledFileDescription"})(In||(In=ve()(["\n margin-bottom: ",";\n\n && {\n a {\n text-decoration: underline;\n }\n }\n"])),j.Z.space(0)),dr=l.ZP.span.withConfig({displayName:"StyledIconWrapper"})(Zn||(Zn=ve()(["\n padding-right: ",";\n"])),j.Z.space(-1.5)),hr=l.ZP.div.withConfig({displayName:"StyledCancelWrapper"})(Nn||(Nn=ve()(["\n color: ",";\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n cursor: pointer;\n }\n"])),S.Z.color("text")),mr=(0,y.ZP)((function(e){var t=e.notification.result,n=e.navigationStrategy,r=e.intl,o=t.type,i=t.file,a=t.content,s=function(e){return r.formatMessage({id:e})},c=s("client.common.notification.outputJobFileLink"),l=s("client.common.notification.outputJobFileDownload");return o===Sn?i?(0,p.jsxs)(fr,{children:[(0,p.jsx)(pr,{children:(0,p.jsx)("a",{href:i.link,target:"_blank",rel:"noreferrer",title:c,children:i.description})}),(0,p.jsx)("div",{children:(0,p.jsxs)("a",{href:i.link,target:"_blank",rel:"noreferrer",title:c,children:[Ln||(Ln=(0,p.jsx)(dr,{children:(0,p.jsx)(f.Z,{icon:"external-link"})})),Fn||(Fn=(0,p.jsx)(u.Z,{id:"client.common.notification.outputJobFileLink"}))]})}),_.Z.downloadSupportedByBrowser()&&(0,p.jsxs)("a",{href:_.Z.addParameterToURL(i.link,"download",!0),target:"_blank",rel:"noreferrer",title:l,children:[Hn||(Hn=(0,p.jsx)(dr,{children:(0,p.jsx)(f.Z,{icon:"arrow-to-bottom"})})),Bn||(Bn=(0,p.jsx)(u.Z,{id:"client.common.notification.outputJobFileDownload"}))]}),(0,p.jsx)(lr,{children:n&&n.DetailLink&&(0,p.jsxs)(n.DetailLink,{entityName:a[0].model,entityKey:a[0].key,children:[Un||(Un=(0,p.jsx)(f.Z,{icon:"arrow-right"}))," ",Wn||(Wn=(0,p.jsx)(u.Z,{id:"client.common.notification.outputJobOpen"}))]})})]}):null:o===jn?(0,p.jsx)(p.Fragment,{children:Object.entries(Qn()(a,(function(e){return e.model}))).map((function(e){var t=Kt()(e,2),r=t[0],o=t[1];return(0,p.jsx)(lr,{children:n&&n.ListOrDetailLink&&(0,p.jsxs)(n.ListOrDetailLink,{entityName:r,entityKeys:o.map((function(e){return e.key})),children:[zn||(zn=(0,p.jsx)(f.Z,{icon:"arrow-right"}))," ",(0,p.jsx)(u.Z,{id:"client.common.notification.entitiesOpen",values:{modelName:o.at(0).modelName}})]})},"entitylink-"+r)}))}):null})),gr=function(e){var t=e.notification,n=e.cancelTask,r=e.navigationStrategy,o=t.taskProgress;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(ir,{children:[(0,p.jsx)(ar,{children:o.isRunning&&(Vn||(Vn=(0,p.jsx)(un.Z,{})))}),(0,p.jsx)(vr,{notification:t})]}),"running_absolute"===o.status&&(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(sr,{children:(0,p.jsx)(cr,{percentage:o.percentage})})}),(0,p.jsx)(lr,{children:r&&r.DetailLink&&"completed"!==o.status&&(0,p.jsxs)(r.DetailLink,{entityName:"Task_execution",entityKey:o.taskExecutionKey,children:[Gn||(Gn=(0,p.jsx)(dr,{children:(0,p.jsx)(f.Z,{icon:"arrow-right"})})),qn||(qn=(0,p.jsx)(u.Z,{id:"client.common.notification.outputJobShowTask"}))]})}),t.type===nr.info&&o.isRunning&&o.supportsCancellation&&(0,p.jsxs)(hr,{onClick:function(){return n(o.taskExecutionKey)},children:[$n||($n=(0,p.jsx)(dr,{children:(0,p.jsx)(f.Z,{icon:"times"})})),Yn||(Yn=(0,p.jsx)(u.Z,{id:"client.common.notification.cancelTask"}))]})]})},vr=function(e){var t=e.notification.message;return t&&0!==t.trim().length?(0,p.jsx)(ur,{children:t}):null};const yr=function(e){var t=e.notification,n=e.cancelTask,r=e.navigationStrategy,o=t.result,i=t.taskProgress;return o?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(vr,{notification:t}),(0,p.jsx)(mr,{notification:t,navigationStrategy:r})]}):i?(0,p.jsx)(gr,{notification:t,navigationStrategy:r,cancelTask:n}):(0,p.jsx)(vr,{notification:t})},br=yr;var wr,Or,xr,Sr,jr,Pr,Er,kr,Cr={warning:S.Z.color("signal.warning.text"),error:S.Z.color("signal.danger.text"),success:S.Z.color("signal.success.text"),info:S.Z.color("signal.info.text")},Tr=l.ZP.article.withConfig({displayName:"StyledNotification"})(wr||(wr=ve()(["\n margin-bottom: ",";\n padding: ",";\n ","\n"])),j.Z.space(0),j.Z.space(-1),(function(e){return!e.read&&(0,l.iv)(Or||(Or=ve()(["\n background-color: ",";\n "])),S.Z.color("backgroundBody"))})),Dr=l.ZP.header.withConfig({displayName:"StyledNotificationHeader"})(xr||(xr=ve()(["\n display: flex;\n align-items: center;\n margin-bottom: ",";\n\n * {\n margin-top: 0 !important;\n color: "," !important;\n }\n"])),j.Z.space(-1),(function(e){var t=e.notificationType;return Cr[t]})),_r=l.ZP.span.withConfig({displayName:"StyledIconWrapper"})(Sr||(Sr=ve()(["\n display: inline-block;\n margin-right: ",";\n font-size: ",";\n"])),j.Z.space(-1.5),j.Z.font(5)),Ar=l.ZP.span.withConfig({displayName:"StyledTitleWrapper"})(jr||(jr=ve()(["\n * {\n font-weight: "," !important;\n }\n"])),S.Z.fontWeight("regular")),Mr=l.ZP.div.withConfig({displayName:"StyledNotificationTitleWrapper"})(Pr||(Pr=ve()(["\n ","\n margin-bottom: ",";\n"])),(0,Ht.Z)({fontSize:j.Z.font(2.9),fontWeight:S.Z.fontWeight("bold"),color:S.Z.color("secondary")}),j.Z.space(-.5)),Rr=l.ZP.div.withConfig({displayName:"StyledTimeStamp"})(Er||(Er=ve()(["\n font-size: ",";\n"])),j.Z.font(-2)),Ir=l.ZP.div.withConfig({displayName:"StyledNotificationCenter"})(kr||(kr=ve()(["\n max-height: calc(100vh - 100px);\n overflow-y: auto;\n width: inherit;\n padding: ",";\n background-color: ",";\n border: 1px solid ",";\n ","\n ","\n"])),j.Z.space(-.5),S.Z.color("paper"),S.Z.color("secondaryLight"),We.C,(0,Ht.Z)());var Zr={warning:"exclamation-circle",error:"times-circle",success:"check-circle",info:"info-circle"};const Nr=function(e){var t,n,r,o=e.notification,i=e.markAsRead,s=e.cancelTask,c=e.navigationStrategy,u=(0,O.useRef)(null),l=function(e,t,n){void 0===t&&(t=Date.now()),void 0===n&&(n={});var r=En(En({},Xn),n||{}),o=(+e-+t)/1e3;if(Math.abs(o)<r.second)return{value:Math.round(o),unit:"second"};var i=o/60;if(Math.abs(i)<r.minute)return{value:Math.round(i),unit:"minute"};var a=o/3600;if(Math.abs(a)<r.hour)return{value:Math.round(a),unit:"hour"};var s=o/86400;if(Math.abs(s)<r.day)return{value:Math.round(s),unit:"day"};var c=new Date(e),u=new Date(t),l=c.getFullYear()-u.getFullYear();if(Math.round(Math.abs(l))>0)return{value:Math.round(l),unit:"year"};var f=12*l+c.getMonth()-u.getMonth();if(Math.round(Math.abs(f))>0)return{value:Math.round(f),unit:"month"};var p=o/604800;return{value:Math.round(p),unit:"week"}}(new Date(o.timestamp)),d=l.value,h=l.unit,m=(0,O.useState)((function(){return o.read})),g=Kt()(m,1)[0];return t=u,n=function(){o.read||i(o.key)},r=new IntersectionObserver((function(e){Kt()(e,1)[0].isIntersecting&&(n(),r.disconnect())})),(0,O.useEffect)((function(){return r.observe(t.current),function(){r.disconnect()}}),[]),(0,p.jsxs)(Tr,{ref:u,read:g,children:[(0,p.jsxs)(Dr,{notificationType:o.type,children:[(0,p.jsx)(_r,{children:(0,p.jsx)(f.Z,{icon:Zr[o.type]})}),(0,p.jsx)(Ar,{children:(0,p.jsx)(a.ZP.H5,{children:o.title})})]}),(0,p.jsx)(br,{notification:o,navigationStrategy:c,cancelTask:s}),(0,p.jsx)(Rr,{children:(0,p.jsx)(Kn.Z,{value:d,unit:h})})]})};var Lr,Fr,Hr,Br;const Ur=function(e){var t=e.loadNotifications,n=e.notifications,r=e.moreNotificationsAvailable,o=e.isLoadingMoreNotifications,i=e.markAsRead,s=e.cancelTask,c=e.navigationStrategy,l=(0,O.useRef)(null);(0,O.useEffect)((function(){t()}),[t]);var f=Object.keys(n).map((function(e){return n[e]})).filter((function(e){return!e.result||e.result.type!==Sn||e.result.file})).filter((function(e){return!e.taskProgress||"cancelled"!==e.taskProgress.status})).sort((function(e,t){return new Date(t.timestamp)-new Date(e.timestamp)})).map((function(e){return(0,p.jsx)(Nr,{markAsRead:i,cancelTask:s,notification:e,navigationStrategy:c},"notification-".concat(e.key))}));return(0,p.jsxs)(Ir,{ref:l,onScroll:function(){var e=Object.keys(n).length;l.current.scrollTop+l.current.offsetHeight>=l.current.scrollHeight&&(!o&&r)&&t(e)},children:[Lr||(Lr=(0,p.jsx)(Mr,{children:(0,p.jsx)(u.Z,{id:"client.admin.notification.title"})})),f,o&&(Fr||(Fr=(0,p.jsx)(un.Z,{}))),f.length>0&&!r&&(Hr||(Hr=(0,p.jsx)(a.ZP.I,{children:(0,p.jsx)(u.Z,{id:"client.admin.notification.noMoreNotifications"})}))),0===f.length&&!o&&(Br||(Br=(0,p.jsx)(a.ZP.I,{children:(0,p.jsx)(u.Z,{id:"client.admin.notification.noNotification"})})))]})};var Wr={loadNotifications:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return{type:wt,payload:{offset:e}}},markAsRead:Dt,cancelTask:_t};const zr=(0,r.connect)((function(e){return{notifications:e.notification.center.notifications,moreNotificationsAvailable:e.notification.center.moreNotificationsAvailable,isLoadingMoreNotifications:e.notification.center.isLoadingMoreNotifications}}),Wr)(Ur);var Vr,Gr="notification/CONFIRM",qr="notification/YES_NO_QUESTION",$r="notification/CONNECT_SOCKET",Yr="notification/CLOSE_SOCKET",Xr="notification/SOCKET_MESSAGE_RECEIVED",Kr="notification/ADD_IGNORE_TOASTER",Jr=function(e){return{type:Xr,payload:{data:e}}},Qr=function(e){return{type:Kr,payload:{key:e}}},eo=n(15857),to=n(81770),no=n(319),ro=n.n(no);function oo(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 io(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oo(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ao=(Vr={},fn()(Vr,sn,(function(e,t){var n=t.payload,r=n.id,o=n.title,i=n.body;return io(io({},e),{},{blockers:[].concat(ro()(e.blockers),[{id:r,title:o,body:i}])})})),fn()(Vr,cn,(function(e,t){var n=t.payload.id;return io(io({},e),{},{blockers:e.blockers.filter((function(e){return e.id!==n}))})})),Vr),so={blockers:[]};function co(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:so,t=arguments.length>1?arguments[1]:void 0,n=ao[t.type];return n?n(e,t):e}var uo=n(50600),lo=dn().mark(po),fo=dn().mark(ho);function po(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=3;break}return t.next=3,(0,hn.$6)([(0,hn.ib)(sn,ho),(0,hn.ib)(cn,ho)]);case 3:case"end":return t.stop()}}),lo)}function ho(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,hn.gz)(uo.Z.emitAction(e));case 2:case"end":return t.stop()}}),fo)}var mo,go=n(93386),vo=n.n(go);function yo(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 bo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yo(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var wo=(mo={},fn()(mo,Ot,(function(e,t){var n=t.payload.notifications;return bo(bo({},e),{},{notifications:bo(bo({},e.notifications),n),isLoadingMoreNotifications:!1})})),fn()(mo,xt,to.Z.singleTransferReducer("moreNotificationsAvailable")),fn()(mo,St,(function(e,t){var n=t.payload.notification;return bo(bo({},e),{},{notifications:bo(bo({},e.notifications),{},fn()({},n.key,n))})})),fn()(mo,yt,to.Z.singleTransferReducer("unreadNotificationKeys")),fn()(mo,bt,(function(e,t){var n,r=t.payload,o=r.notificationKey;return n=r.read?e.unreadNotificationKeys.filter((function(e){return e!==o})):vo()(e.unreadNotificationKeys,[o]),bo(bo({},e),{},{unreadNotificationKeys:n})})),fn()(mo,jt,to.Z.singleTransferReducer("isLoadingMoreNotifications")),mo),Oo={notifications:{},isLoadingMoreNotifications:!1,unreadNotificationKeys:[],moreNotificationsAvailable:!0};function xo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Oo,t=arguments.length>1?arguments[1]:void 0,n=wo[t.type];return n?n(e,t):e}function So(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 jo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?So(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):So(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Po=dn().mark(Do),Eo=dn().mark(_o),ko=dn().mark(Ao),Co=dn().mark(Mo),To=dn().mark(Ro);function Do(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=3;break}return t.next=3,(0,hn.$6)([(0,hn.RE)(_o),(0,hn.ib)(wt,Ao),(0,hn.ib)(Pt,Mo),(0,hn.ib)(Et,Ro)]);case 3:case"end":return t.stop()}}),Po)}function _o(){var e,t,n,r,o;return dn().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:e=100,t=1,n=[];case 3:return r={where:"read == false and relPrincipal.username == :currentUsername",limit:e,page:t},i.next=6,(0,hn.RE)(mn.Z.fetchEntities,"Notification",r,{method:"GET"});case 6:o=i.sent,n.push.apply(n,ro()(o.map((function(e){return e.key})))),t++;case 9:if(n.length===(t-1)*e){i.next=3;break}case 10:return i.next=12,(0,hn.gz)({type:yt,payload:{unreadNotificationKeys:n}});case 12:case"end":return i.stop()}}),Eo)}function Ao(e){var t,n,r,o,i;return dn().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t=e.payload.offset,a.next=3,(0,hn.gz)(Tt());case 3:return n={_limit:10,_offset:t},a.next=6,(0,hn.RE)(mn.Z.requestSaga,"client/notifications",{method:"GET",queryParams:n});case 6:return r=a.sent,a.next=9,(0,hn.$6)(r.body.data.map((function(e){return(0,hn.RE)(Pn,e)})));case 9:if(o=a.sent,i=o.reduce((function(e,t){return jo(jo({},e),{},fn()({},t.key,t))}),{}),!(Object.keys(i).length<10)){a.next=14;break}return a.next=14,(0,hn.gz)({type:xt,payload:{moreNotificationsAvailable:!1}});case 14:return a.next=16,(0,hn.gz)(kt(i));case 16:case"end":return a.stop()}}),ko)}function Mo(e){var t,n;return dn().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload.notificationKey,n={method:"PATCH"},r.next=4,(0,hn.RE)(mn.Z.requestSaga,"client/notifications/".concat(t,"/read"),n);case 4:case"end":return r.stop()}}),Co)}function Ro(e){var t;return dn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.payload.taskExecutionKey,n.next=3,(0,hn.RE)(mn.Z.requestSaga,"client/tasks/".concat(t),{method:"DELETE"});case 3:case"end":return n.stop()}}),To)}var Io=n(44586),Zo=n(78958);function No(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 Lo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?No(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):No(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Fo=function(e){var t=e.buttons;return(0,p.jsx)(rt,{children:t.map((function(e,t){return(0,O.createElement)(nt,Lo(Lo({},e.primary?{ink:Zo.Z.ink.PRIMARY}:{}),{},{key:t,label:e.label,onClick:e.callback}))}))})};function Ho(e,t,n,r,o,i){var a=(0,Io.Z)();return He(a,e,t,(function(e){var t=e.close,a=function(e){"Enter"===e.key?(e.preventDefault(),o(),t()):"Escape"===e.key&&(i(),t())};(0,O.useEffect)((function(){return document.addEventListener("keydown",a),function(){document.removeEventListener("keydown",a)}}),[]);var s=[{label:n,primary:!0,callback:function(){o(),t()}},{label:r,callback:function(){i(),t()}}];return(0,p.jsx)(Fo,{buttons:s})}),!1)}function Bo(e,t,n,r,o,i,a,s){var c=(0,Io.Z)();return He(c,e,t,(function(e){var t=e.close,c=[{label:n,primary:!0,callback:function(){i(),t()}},{label:r,callback:function(){a(),t()}},{label:o,callback:function(){s(),t()}}];return(0,p.jsx)(Fo,{buttons:c})}),!1)}var Uo,Wo=dn().mark(qo),zo=dn().mark($o),Vo=dn().mark(Yo),Go=dn().mark(Xo);function qo(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=5;break}return t.next=3,(0,hn.$6)([(0,hn.ib)(Gr,$o),(0,hn.ib)(qr,Yo)]);case 3:t.next=7;break;case 5:return t.next=7,(0,hn.$6)([(0,hn.ib)(Gr,Xo),(0,hn.ib)(qr,Xo)]);case 7:case"end":return t.stop()}}),Wo)}function $o(e){var t,n,r,o,i,a,s,c;return dn().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return t=e.payload,n=t.title,r=t.message,o=t.okText,i=t.cancelText,a=t.onOk,s=t.onCancel,u.next=4,(0,hn.RE)(Ho,n,r,o,i,a,s);case 4:return c=u.sent,u.next=7,(0,hn.gz)(c);case 7:case"end":return u.stop()}}),zo)}function Yo(e){var t,n,r,o,i,a,s,c,u,l;return dn().wrap((function(f){for(;;)switch(f.prev=f.next){case 0:return t=e.payload,n=t.title,r=t.message,o=t.yesText,i=t.noText,a=t.cancelText,s=t.onYes,c=t.onNo,u=t.onCancel,f.next=4,(0,hn.RE)(Bo,n,r,o,i,a,s,c,u);case 4:return l=f.sent,f.next=7,(0,hn.gz)(l);case 7:case"end":return f.stop()}}),Vo)}function Xo(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,hn.gz)(uo.Z.emitAction(e));case 2:case"end":return t.stop()}}),Go)}function Ko(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 Jo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ko(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ko(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Qo=(Uo={},fn()(Uo,Le,(function(e,t){var n=t.payload,r=n.id,o=n.title,i=n.message,a=n.component,s=n.cancelable,c=n.cancelCallback;return Jo(Jo({},e),{},{modals:[].concat(ro()(e.modals),[{id:r,title:o,message:i,component:a,cancelable:s,cancelCallback:c}])})})),fn()(Uo,Fe,(function(e,t){var n=t.payload.id;return Jo(Jo({},e),{},{modals:e.modals.filter((function(e){return e.id!==n}))})})),Uo),ei={modals:[]};function ti(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ei,t=arguments.length>1?arguments[1]:void 0,n=Qo[t.type];return n?n(e,t):e}var ni=dn().mark(oi),ri=dn().mark(ii);function oi(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=3;break}return t.next=3,(0,hn.$6)([(0,hn.ib)(Le,ii),(0,hn.ib)(Fe,ii)]);case 3:case"end":return t.stop()}}),ni)}function ii(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,hn.gz)(uo.Z.emitAction(e));case 2:case"end":return t.stop()}}),ri)}function ai(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 si(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ai(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ai(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ci=fn()({},Kr,(function(e,t){var n=t.payload.key;return si(si({},e),{},{ignoredToasters:ro()(new Set([].concat(ro()(e.ignoredToasters),[n])))})})),ui={ignoredToasters:[]};function li(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ui,t=arguments.length>1?arguments[1]:void 0,n=ci[t.type];return n?n(e,t):e}var fi=n(58940),pi=n(47979);function di(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var hi="socket-msg-",mi=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?di(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):di(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({key:"".concat(hi).concat(e.key),type:e.type,time:new Date(e.timestamp),title:e.title,message:e.message,body:function(t){var n=t.navigationStrategy,r=t.cancelTask;return(0,p.jsx)(br,{notification:e,navigationStrategy:n,cancelTask:r})}},e.taskProgress&&e.taskProgress.isRunning?{duration:-1}:{})},gi=dn().mark(Si),vi=dn().mark(ji),yi=dn().mark(Pi),bi=dn().mark(Ei),wi=dn().mark(ki),Oi=function(e){return e.notification.socket},xi=function(e){return e.notification.toaster.toasters};function Si(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=3;break}return t.next=3,(0,hn.$6)([(0,hn.ib)(Xr,Ei),(0,hn.ib)(Mt,ki),(0,hn.ib)($r,ji),(0,hn.ib)(Yr,Pi)]);case 3:case"end":return t.stop()}}),gi)}function ji(){var e;return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,hn.RE)(fi.Z.getOriginId);case 2:return e=t.sent,t.next=5,(0,hn.RE)(pi.Z.connectSocket,{name:"notification",messageReceivedAction:Jr,originId:e});case 5:case"end":return t.stop()}}),vi)}function Pi(){return dn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,hn.RE)(pi.Z.closeSocket,"notification");case 2:case"end":return e.stop()}}),yi)}function Ei(e){var t,n,r,o,i,a;return dn().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return t=e.payload.data,s.next=3,(0,hn.RE)(Pn,t);case 3:return n=s.sent,s.next=6,(0,hn.Ys)(Oi);case 6:if(r=s.sent,o=r.ignoredToasters,i=!1,n.originId!==fi.Z.getOriginId()){s.next=17;break}return s.next=12,(0,hn.RE)(mi,n);case 12:if(a=s.sent,o.includes(a.key)||n.read){s.next=17;break}return s.next=16,(0,hn.gz)(It(a));case 16:i=!0;case 17:if(i&&!n.read){s.next=20;break}return s.next=20,(0,hn.gz)((c=n.key,u=n.read,{type:bt,payload:{notificationKey:c,read:u}}));case 20:return s.next=22,(0,hn.gz)(Ct(n));case 22:case"end":return s.stop()}var c,u}),bi)}function ki(e){var t,n,r,o;return dn().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(t=e.payload,n=t.key,r=t.manually,!n.startsWith(hi)){i.next=12;break}if(!r){i.next=5;break}return i.next=5,(0,hn.gz)(Qr(n));case 5:return i.next=7,(0,hn.Ys)(xi);case 7:if("success"!==i.sent[n].type&&!r){i.next=12;break}return o=n.replace(hi,""),i.next=12,(0,hn.gz)(Dt(o));case 12:case"end":return i.stop()}}),wi)}var Ci=n(50008),Ti=n.n(Ci),Di=n(6479),_i=n.n(Di);function Ai(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 Mi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ai(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ai(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ri,Ii=function(e,t){return Number.isInteger(e)?e:function(e){return e===nr.error||e===nr.warning}(t)?-1:5e3};tr().shape({type:tr().oneOf(Object.values(nr)).isRequired,title:tr().oneOfType([tr().string,tr().func]),message:tr().oneOfType([tr().string,tr().func]),body:tr().oneOfType([tr().string,tr().func]),onClose:tr().func,icons:tr().string,duration:tr().number,time:tr().instanceOf(Date)});function Zi(e){var t=function(e,t){if("object"!==Ti()(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Ti()(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Ti()(t)?t:String(t)}function Ni(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 Li(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ni(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ni(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Fi=(Ri={},fn()(Ri,At,(function(e,t){var n=function(e){if(!e.title&&!e.body)return null;var t=e.type&&Object.keys(nr).includes(e.type)?e.type:nr.neutral;return Mi(Mi(Mi(Mi(Mi({type:t,key:e.key||(0,Io.Z)()},e.title&&{title:e.title}),e.message&&{message:e.message}),e.body&&{body:e.body}),{},{icon:e.icon||rr[t]},e.onClose&&"function"==typeof e.onClose&&{onClose:e.onClose}),{},{duration:Ii(e.duration,t),time:e.time instanceof Date?e.time:new Date})}(t.payload.toaster);return Li(Li({},e),{},{toasters:Li(Li({},e.toasters),{},fn()({},n.key,n))})})),fn()(Ri,Rt,(function(e,t){var n=t.payload.key,r=e.toasters,o=(r[n],_i()(r,[n].map(Zi)));return Li(Li({},e),{},{toasters:Li({},o)})})),Ri),Hi={toasters:{}};function Bi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Hi,t=arguments.length>1?arguments[1]:void 0,n=Fi[t.type];return n?n(e,t):e}var Ui=dn().mark(Vi),Wi=dn().mark(Gi),zi=dn().mark(qi);function Vi(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=5;break}return t.next=3,(0,hn.$6)([(0,hn.ib)(Mt,qi)]);case 3:t.next=7;break;case 5:return t.next=7,(0,hn.$6)([(0,hn.ib)(At,Gi),(0,hn.ib)(Mt,Gi)]);case 7:case"end":return t.stop()}}),Ui)}function Gi(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,hn.gz)(uo.Z.emitAction(e));case 2:case"end":return t.stop()}}),Wi)}function qi(e){var t,n;return dn().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,n=t.key,t.manually,r.next=3,(0,hn.gz)(Nt(n));case 3:case"end":return r.stop()}}),zi)}const $i={addToStore:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.withNotificationCenter,o=void 0!==r&&r;t&&to.Z.injectReducers(e,{notification:(0,eo.UY)({modal:ti,socket:li,toaster:Bi,blocking:co,center:xo})}),e.sagaMiddleware.run(po,t),e.sagaMiddleware.run(qo,t),e.sagaMiddleware.run(oi,t),e.sagaMiddleware.run(Si,t),e.sagaMiddleware.run(Vi,t),t&&o&&e.sagaMiddleware.run(Do)},Notifications:an,NotificationCenter:zr,confirm:function(e,t,n,r,o,i){return{type:Gr,payload:{title:e,message:t,okText:n,cancelText:r,onOk:o,onCancel:i}}},yesNoQuestion:function(e,t,n,r,o,i,a,s){return{type:qr,payload:{title:e,message:t,yesText:n,noText:r,cancelText:o,onYes:i,onNo:a,onCancel:s}}},blockingInfo:function(e,t,n){return{type:sn,payload:{id:e,title:t,body:n}}},removeBlockingInfo:function(e){return{type:cn,payload:{id:e}}},modal:He,removeModal:Be,toaster:It,removeToaster:Zt,connectSocket:function(){return{type:$r}},closeSocket:function(){return{type:Yr}}}},63094:(e,t,n)=>{"use strict";n.d(t,{Z:()=>St});var r=n(93913),o=n.n(r),i=n(34575),a=n.n(i),s=n(2205),c=n.n(s),u=n(78585),l=n.n(u),f=n(29754),p=n.n(f);function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}const m=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";d(this,t);var n=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return Object.defineProperty(n,"message",{configurable:!0,enumerable:!1,value:e,writable:!0}),Object.defineProperty(n,"name",{configurable:!0,enumerable:!1,value:n.constructor.name,writable:!0}),Error.hasOwnProperty("captureStackTrace")?(Error.captureStackTrace(n,n.constructor),h(n)):(Object.defineProperty(n,"stack",{configurable:!0,enumerable:!1,value:new Error(e).stack,writable:!0}),n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(function(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e,t}(Error));function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p()(e);if(t){var o=p()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l()(this,n)}}const v=function(e){c()(n,e);var t=g(n);function n(){return a()(this,n),t.apply(this,arguments)}return o()(n)}(m);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p()(e);if(t){var o=p()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l()(this,n)}}const b=function(e){c()(n,e);var t=y(n);function n(){return a()(this,n),t.apply(this,arguments)}return o()(n)}(m);var w=n(63038),O=n.n(w),x=n(59713),S=n.n(x),j=n(87757),P=n.n(j),E=n(27361),k=n.n(E),C=n(13218),T=n.n(C),D=n(54061),_=n.n(D),A=n(34857),M=n(79311),R=n(85743),I=n(2100),Z=n(54159),N=n(31366),L=n(44422),F=n(24688);function H(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p()(e);if(t){var o=p()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l()(this,n)}}const B=function(e){c()(n,e);var t=H(n);function n(e){var r;return a()(this,n),(r=t.call(this)).message=e,r}return o()(n)}(m);function U(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 W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(Object(n),!0).forEach((function(t){S()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!(e.ok||n.includes(e.status)||e.body&&t.includes(e.body.errorCode))){if(409===e.status&&e.body.information)throw new B(e.body.information);var r="".concat(e.statusText," ").concat(e.body?e.body.message:"");throw new Error(r)}return e},V=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e.json()},n=e.ok,r=e.headers,o=e.status,i=e.statusText,a={ok:n,headers:r,status:o,statusText:i};return 204===o?W(W({},a),{},{body:null}):t(e).then((function(e){return W(W({},a),{},{body:e})})).catch((function(e){return W(W({},a),{},{body:null})}))};function G(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return r.push(412),fetch(e,W(W({},t),{},{signal:F.Z.abortController.signal})).then((function(e){return V(e)})).then((function(e){return z(e,n,r)}))}function q(e,t,n,r){return fetch(e,t).then((function(e){return function(e){return V(e,(function(e){return e.blob()}))}(e)})).then((function(e){return z(e,n,r)}))}var $=P().mark(Q),Y=P().mark(ee),X=P().mark(ne),K=P().mark(re),J={ConfirmQuestionHandler:ne,YesNoQuestionHandler:re};function Q(e,t,n){var r,o;return P().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if("GET"!==t.options.method&&"HEAD"!==t.options.method){i.next=2;break}return i.abrupt("return",e);case 2:r={};case 3:if(!e.body||!e.body.clientQuestion){i.next=16;break}return i.next=6,(0,A.RE)(ee,e.body.clientQuestion);case 6:if(null!=(o=i.sent).answer){i.next=9;break}throw new v("Client question cancelled by user");case 9:return r[e.body.clientQuestion.id]=o.answer,t.options.body=JSON.stringify({clientAnswers:r,payload:n.body}),i.next=13,(0,A.RE)(G,t.url,t.options,n.acceptedErrorCodes,n.acceptedStatusCodes);case 13:e=i.sent,i.next=3;break;case 16:return i.abrupt("return",e);case 17:case"end":return i.stop()}}),$)}function ee(e){var t;return P().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!(t=J[e.handler])){n.next=5;break}return n.next=4,(0,A.RE)(t,e);case 4:return n.abrupt("return",n.sent);case 5:throw new Error("No question handler found for client question",e);case 6:case"end":return n.stop()}}),Y)}var te=function(e){return{answer:e}};function ne(e){var t,n,r,o,i,a,s;return P().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,(0,A.RE)(L.CE);case 2:return t=c.sent,n=function(){return t.put(te(!0))},r=function(){return t.put(te(null))},o=e.header,i=e.message,a=e.okText,s=e.cancelText,c.next=8,(0,A.gz)(N.Z.confirm(o,i,a,s,n,r));case 8:return c.next=10,(0,A.qn)(t);case 10:return c.abrupt("return",c.sent);case 11:case"end":return c.stop()}}),X)}function re(e){var t,n,r,o,i,a,s,c,u;return P().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,(0,A.RE)(L.CE);case 2:return t=l.sent,n=function(){return t.put(te(!0))},r=function(){return t.put(te(!1))},o=function(){return t.put(te(null))},i=e.header,a=e.message,s=e.yesText,c=e.noText,u=e.cancelText,l.next=9,(0,A.gz)(N.Z.yesNoQuestion(i,a,s,c,u,n,r,o));case 9:return l.next=11,(0,A.qn)(t);case 11:return l.abrupt("return",l.sent);case 12:case"end":return l.stop()}}),K)}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 ie(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){S()(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 ae=P().mark(fe),se=P().mark(pe),ce=P().mark(de),ue=P().mark(he),le=function(e){var t=Object.keys(e||{}).filter((function(t){return!!e[t]})).sort().map((function(t){return Array.isArray(e[t])?e[t].map((function(e){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e))})).join("&"):"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))})).join("&");return t?"?".concat(t):""};function fe(e){return P().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e instanceof B)){t.next=5;break}return t.next=3,(0,A.gz)(N.Z.toaster({type:"info",title:"client.common.information",body:e.message}));case 3:t.next=6;break;case 5:throw e;case 6:case"end":return t.stop()}}),ae)}function pe(e){var t,n,r,o=arguments;return P().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return t=o.length>1&&void 0!==o[1]?o[1]:{},i.next=3,(0,A.RE)(he,t);case 3:return i.next=5,(0,A.RE)(ge,e,t);case 5:return n=i.sent,i.prev=6,i.next=9,(0,A.RE)(G,n.url,n.options,t.acceptedErrorCodes,t.acceptedStatusCodes);case 9:return r=i.sent,i.next=12,(0,A.RE)(Q,r,n,t);case 12:return r=i.sent,i.abrupt("return",r);case 16:return i.prev=16,i.t0=i.catch(6),i.next=20,fe(i.t0);case 20:return i.abrupt("return",{});case 21:case"end":return i.stop()}}),se,null,[[6,16]])}function de(e){var t,n,r=arguments;return P().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=r.length>1&&void 0!==r[1]?r[1]:{},o.next=3,(0,A.RE)(he,t);case 3:return o.next=5,(0,A.RE)(ge,e,t);case 5:return n=o.sent,o.prev=6,o.next=9,(0,A.RE)(q,n.url,n.options,t.acceptedErrorCodes,t.acceptedStatusCodes);case 9:return o.abrupt("return",o.sent);case 12:return o.prev=12,o.t0=o.catch(6),o.next=16,fe(o.t0);case 16:return o.abrupt("return",{});case 17:case"end":return o.stop()}}),ce,null,[[6,12]])}function he(e){var t,n;return P().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(null!==(t=e.queryParams)&&void 0!==t&&t.locale){r.next=5;break}return r.next=3,(0,A.Ys)(I.Z.localeSelector);case 3:n=r.sent,e.queryParams=ie(ie({},e.queryParams),{},{locale:n});case 5:return r.abrupt("return",e);case 6:case"end":return r.stop()}}),ue)}function me(e,t){return t.startsWith("/")&&(t=t.substring(1)),t.startsWith("http")||t.startsWith("nice2")?Z.Z.prepareUrl(e,t):"".concat(e,"/nice2/rest/").concat(t)}function ge(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.queryParams,r=void 0===n?{}:n,o=t.method,i=void 0===o?"GET":o,a=t.backendUrl,s=void 0===a?R.Z.getBackendUrl():a,c=Z.Z.prepareHeaders(t),u=t.body;!u||u instanceof FormData||"string"==typeof u||(u=JSON.stringify(u));var l=ie({method:i,headers:c,credentials:"include"},u?{body:u}:{}),f=le(r),p=me(s,e),d="".concat(p).concat(f);return{url:d,options:l}}var ve=P().mark(Ie),ye=P().mark(Ze),be=P().mark(Ne),we=P().mark(Le),Oe=P().mark(ze),xe=P().mark(Ge),Se=P().mark(qe),je=P().mark($e),Pe=P().mark(Xe),Ee=P().mark(Ke),ke=P().mark(Je),Ce=P().mark(at),Te=P().mark(st),De=P().mark(ct),_e=P().mark(ut),Ae=P().mark(lt);function Me(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 Re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(n),!0).forEach((function(t){S()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ie(e,t,n){var r,o,i,a,s=arguments;return P().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return r=s.length>3&&void 0!==s[3]?s[3]:function(e){return e},c.next=3,(0,A.RE)(nt,n);case 3:return o=c.sent,i={method:"GET",queryParams:Re(Re({},ot(o)),{},{_permissions:!0,_omitLinks:!0})},c.next=7,(0,A.RE)(pe,"entities/2.0/".concat(e,"/").concat(t),i);case 7:return a=c.sent,c.next=10,(0,A.RE)(r,a.body);case 10:return c.abrupt("return",c.sent);case 11:case"end":return c.stop()}}),ve)}function Ze(e,t){var n;return P().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n={method:"GET",queryParams:{_omitLinks:!0}},r.prev=1,r.next=4,(0,A.RE)(pe,"entities/2.0/".concat(e,"/").concat(t),n);case 4:return r.abrupt("return",!0);case 7:return r.prev=7,r.t0=r.catch(1),r.abrupt("return",!1);case 10:case"end":return r.stop()}}),ye,null,[[1,7]])}function Ne(e,t,n){return P().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.t0=k(),r.next=3,ze(S()({},e,[t]),n);case 3:return r.t1=r.sent,r.t2="".concat(e,".").concat(t),r.abrupt("return",(0,r.t0)(r.t1,r.t2,null));case 6:case"end":return r.stop()}}),be)}function Le(e,t,n,r,o){var i,a;return P().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return i={method:"POST",queryParams:{_paths:r.join(",")},body:{entityName:o,type:"ID",ids:n}},s.next=3,(0,A.RE)(pe,"forms/".concat(e,"_").concat(t,"/display-expressions"),i);case 3:return a=s.sent,s.abrupt("return",a.body.displayExpressions.reduce((function(e,t){return Re(Re({},e),{},S()({},t.key,t.displayExpressions))}),{}));case 5:case"end":return s.stop()}}),we)}var Fe={},He=function(e){return void 0!==Fe[e]},Be=function(e){return Fe[e]},Ue=function(e){Fe[e]=void 0},We=function(e,t){Fe[e]=t};function ze(e,t){var n,r;return P().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return n=Object.entries(e).map((function(e){var n=O()(e,2),r=n[0],o=n[1];return{model:r,keys:o.filter((function(e){return!He("".concat(r,".").concat(e).concat(t?".".concat(t):""))})),displays:o.map((function(e){return{key:e,display:Be("".concat(r,".").concat(e).concat(t?".".concat(t):""))}})).filter((function(e){return void 0!==e.display}))}})),o.next=3,Ge(n,t);case 3:return r=o.sent,o.abrupt("return",n.reduce((function(e,t){var n=t.model,r=t.displays;return Re(Re({},e),{},S()({},n,Re(Re({},e[n]),r.reduce((function(e,t){var n=t.key,r=t.display;return Re(Re({},e),{},S()({},n,r))}),{}))))}),r));case 5:case"end":return o.stop()}}),Oe)}function Ve(e,t){Object.entries(e).forEach((function(e){var n=O()(e,2),r=n[0];n[1].forEach((function(e){return Ue("".concat(r,".").concat(e).concat(t?".".concat(t):""))}))}))}function Ge(e,t){var n,r,o,i;return P().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(!((n=e.filter((function(e){return e.keys.length>0})).map((function(e){return{model:e.model,keys:e.keys}}))).length>0)){a.next=11;break}return r={method:"POST",body:{data:n}},a.next=5,(0,A.RE)(pe,"entities/2.0/displays".concat(t?"/".concat(t):""),r);case 5:return o=a.sent,i=o.body.data.reduce((function(e,t){return Re(Re({},e),{},S()({},t.model,t.values.reduce((function(e,t){return Re(Re({},e),{},S()({},t.key,t.display))}),{})))}),{}),Object.entries(i).forEach((function(e){var n=O()(e,2),r=n[0],o=n[1];Object.entries(o).forEach((function(e){var n=O()(e,2),o=n[0],i=n[1];We("".concat(r,".").concat(o).concat(t?".".concat(t):""),i)}))})),a.abrupt("return",i);case 11:return a.abrupt("return",{});case 12:case"end":return a.stop()}}),xe)}function qe(e,t){var n,r,o,i,a,s,c,u,l=arguments;return P().wrap((function(f){for(;;)switch(f.prev=f.next){case 0:return n=l.length>2&&void 0!==l[2]?l[2]:{},r=n.method,o=void 0===r?"POST":r,i=n.endpoint,f.next=3,(0,A.RE)(nt,t);case 3:return a=f.sent,s=(i||"entities/2.0/".concat(e))+"/count",c=Re({method:o},"GET"===o?{queryParams:ot(a)}:{body:a}),f.next=8,(0,A.RE)(pe,s,c);case 8:return u=f.sent,f.abrupt("return",u.body.count);case 10:case"end":return f.stop()}}),Se)}function $e(e,t){var n,r,o,i,a,s,c,u,l,f,p=arguments;return P().wrap((function(d){for(;;)switch(d.prev=d.next){case 0:return n=p.length>2&&void 0!==p[2]?p[2]:{},r=n.method,o=void 0===r?"POST":r,i=n.endpoint,a=n.allKeys,s=p.length>3&&void 0!==p[3]?p[3]:tt,d.next=4,(0,A.RE)(nt,t);case 4:return c=d.sent,u=i||"entities/2.0/".concat(e).concat("POST"===o?"/search":""),l=Re({method:o,queryParams:Re({_omitLinks:!0,_allKeys:a},"GET"===o&&ot(c))},"POST"===o&&{body:c}),d.next=9,(0,A.RE)(pe,u,l);case 9:return f=d.sent,d.next=12,(0,A.RE)(s,f.body);case 12:return d.abrupt("return",d.sent);case 13:case"end":return d.stop()}}),je)}var Ye={};function Xe(e,t){var n,r,o,i,a,s,c=arguments;return P().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(n=c.length>2&&void 0!==c[2]&&c[2],r=c.length>3&&void 0!==c[3]&&c[3],o="".concat(e,"/").concat(t),void 0===Ye[o]||r){u.next=5;break}return u.abrupt("return",Ye[o]);case 5:return i=Re(Re({},["create","search"].includes(t)?{queryParams:{_display:!0}}:{}),n&&{acceptedStatusCodes:[404]}),u.next=8,(0,A.RE)(pe,"forms/".concat(o),i);case 8:if(a=u.sent,!n||404!==a.status){u.next=12;break}return Ye[o]=null,u.abrupt("return",null);case 12:return u.next=14,(0,A.RE)(et,a.body);case 14:return s=u.sent,Ye[o]=s,u.abrupt("return",s);case 17:case"end":return u.stop()}}),Pe)}function Ke(e){var t;return P().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,A.RE)(pe,"client/searchfilters/".concat(e));case 2:return t=n.sent,n.abrupt("return",t.body.filters);case 4:case"end":return n.stop()}}),Ee)}function Je(e){var t,n,r,o,i=arguments;return P().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(t=i.length>1&&void 0!==i[1]?i[1]:Qe,!(n=M.Z.getLongTerm("model",e))){a.next=4;break}return a.abrupt("return",n);case 4:return a.next=6,(0,A.RE)(pe,"entities/".concat(e,"/model"));case 6:return r=a.sent,a.next=9,(0,A.RE)(t,r.body);case 9:return o=a.sent,M.Z.addLongTerm("model",e,o),a.abrupt("return",o);case 12:case"end":return a.stop()}}),ke)}var Qe=function(e){var t={name:e.name,label:e.label,markable:e.markable,useNiceFields:e.useNiceFields,keyField:e.keyField,paths:{}};return e.fields.forEach((function(e){t.paths[e.fieldName]=Re({},e)})),e.relations.forEach((function(e){t.paths[e.relationName]=Re({type:"relation"},e)})),t},et=function(e){return e.form},tt=function(e){return e.data},nt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.conditions,n=e.fields,r=e.form,o=e.limit,i=e.search,a=e.sorting,s=e.page,c=e.paths,u=e.where,l=e.relations,f=e.filter,p=e.keys,d=e.constriction;return Re(Re(Re(Re(Re(Re(Re(Re(Re(Re(Re(Re(Re({},t?{conditions:t}:{}),Array.isArray(n)?{fields:0===n.length?"!":n}:{}),r?{form:r}:{}),o?{limit:o}:{}),i?{search:i}:{}),a?{sort:rt(a)}:{}),s&&o?{offset:(s-1)*o}:{}),c?{paths:c}:{}),u?{where:u}:{}),Array.isArray(l)?{relations:0===l.length?"!":l}:{}),f?{filter:f}:{}),p?{keys:p}:{}),d?{constriction:d}:{})},rt=function(e){return e.map((function(e){return"".concat(e.field," ").concat(e.order)})).join(", ")},ot=function(e){return _()(e,(function(e,t,n){var r={};return"conditions"===n?r=it(t):r["_"+n]=Array.isArray(t)?t.join(","):t,Re(Re({},e),r)}),{})},it=function(e){return _()(e,(function(e,t,n){return Re(Re({},e),{},S()({},n,T()(t)&&t.value?t.value:t))}),{})};function at(){var e,t,n,r,o,i;return P().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(void 0===(e=M.Z.getLongTerm("session","principal"))){a.next=3;break}return a.abrupt("return",e);case 3:return a.next=5,(0,A.RE)(pe,"principals");case 5:return t=a.sent,n=t.body,r=n.username,o=n.businessUnit,i={username:r,currentBusinessUnit:o},a.next=10,M.Z.addLongTerm("session","principal",i);case 10:return a.abrupt("return",i);case 11:case"end":return a.stop()}}),Ce)}function st(e){var t,n;return P().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t={method:"POST",body:{selection:e}},r.next=3,(0,A.RE)(pe,"client/markings",t);case 3:return n=r.sent,r.abrupt("return",n.body.markings);case 5:case"end":return r.stop()}}),Te)}function ct(e,t){var n,r;return P().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return n={method:"GET"},o.next=3,(0,A.RE)(pe,"client/markings/".concat(e,"/").concat(t),n);case 3:return r=o.sent,o.abrupt("return",r.body.marked);case 5:case"end":return o.stop()}}),De)}function ut(e,t,n){var r;return P().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return r={method:"PATCH",body:{marked:n}},o.next=3,(0,A.RE)(pe,"client/markings/".concat(e,"/").concat(t),r);case 3:case"end":return o.stop()}}),_e)}function lt(e,t){var n,r;return P().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return n={method:"POST",body:{selection:e,marked:t}},o.next=3,(0,A.RE)(pe,"client/markings",n);case 3:return r=o.sent,o.abrupt("return",r.body.markings);case 5:case"end":return o.stop()}}),Ae)}var ft=P().mark(ht),pt=P().mark(mt),dt=P().mark(gt);function ht(e){var t;return P().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,A.RE)(pe,"client/preferences".concat(e?"/"+e:""));case 2:return t=n.sent,n.abrupt("return",t.body.preferences);case 4:case"end":return n.stop()}}),ft)}function mt(e){return P().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,A.RE)(pe,"client/preferences/".concat(e),{method:"DELETE"});case 2:case"end":return t.stop()}}),pt)}function gt(e){var t,n=arguments;return P().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=n.length>1&&void 0!==n[1]?n[1]:"/nice2/ui/settings",r.next=3,(0,A.RE)(pe,"client/preferences",{method:"PATCH",body:{path:t,values:e}});case 3:case"end":return r.stop()}}),dt)}var vt=n(57557),yt=n.n(vt),bt=P().mark(Ot),wt=P().mark(xt);function Ot(){var e,t,n;return P().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(void 0===(e=M.Z.getLongTerm("server","settings"))){r.next=3;break}return r.abrupt("return",e);case 3:return r.next=5,(0,A.RE)(pe,"client/settings");case 5:return t=r.sent,n=yt()(t.body,["_links"]),r.next=9,M.Z.addLongTerm("server","settings",n);case 9:return r.abrupt("return",n);case 10:case"end":return r.stop()}}),bt)}function xt(){var e,t,n;return P().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e=M.Z.getLongTerm("server","settings"),r.next=3,(0,A.RE)(pe,"client/settings");case 3:return t=r.sent,n=yt()(t.body,["_links"]),r.next=7,M.Z.addLongTerm("server","settings",n);case 7:return r.abrupt("return",!e||!e.niceRevision||e.niceRevision!==n.niceRevision);case 8:case"end":return r.stop()}}),wt)}const St={requestSaga:pe,requestBytesSaga:de,simpleRequest:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=ge(e,t);return G(n.url,n.options,t.acceptedErrorCodes,t.acceptedStatusCodes)},ClientQuestionCancelledException:v,ForbiddenException:b,InformationError:B,fetchEntity:Ie,fetchEntities:$e,fetchDisplay:Ne,invalidateDisplay:function(e,t,n){Ve(S()({},e,[t]),n)},fetchDisplays:ze,invalidateDisplays:Ve,fetchDisplayExpressions:Le,fetchForm:Xe,fetchModel:Je,defaultModelTransformer:Qe,fetchEntityCount:qe,fetchSearchFilters:Ke,buildRequestQuery:nt,requestQueryToUrlParams:ot,fetchPrincipal:at,fetchUserPreferences:ht,deleteUserPreferences:mt,savePreferences:gt,fetchServerSettings:Ot,hasRevisionIdChanged:xt,createSortingString:rt,fetchMarkings:st,fetchMarked:ct,setMarked:ut,setSelectionMarked:lt,entityExists:Ze}},47979:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(59713),o=n.n(r),i=n(87757),a=n.n(i),s=n(44422),c=n(34857),u=n(44759),l=n(85743),f=a().mark(m);function p(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h={};function m(e){var t,n,r;return a().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,c.RE)(v,e.name,e.originId);case 2:return t=o.sent,o.next=5,(0,c.RE)(g,d(d({},e),{},{url:t}));case 5:n=o.sent;case 6:return o.next=9,(0,c.qn)(n);case 9:return r=o.sent,o.next=12,(0,c.gz)(r);case 12:o.next=6;break;case 14:case"end":return o.stop()}}),f)}var g=function(e){return(0,s.GG)((function(t){return function n(){var r=e.url,o=e.messageReceivedAction,i=e.name;h[i]=new WebSocket(r),h[i].onmessage=function(e){var n=JSON.parse(e.data);t(o(n))},h[i].onclose=function(e){1e3!==e.code&&n()},h[i].onerror=function(e){u.Z.log("socket error",e)}}(),function(){}}))},v=function(e,t){var n=(l.Z.getBackendUrl()||window.location.origin).replace("http://","ws://").replace("https://","wss://");return"".concat(n,"/nice2/websocket/").concat(e,"?X-Origin-Id=").concat(t)};const y={connectSocket:m,closeSocket:function(e){h[e].close(1e3)}}},5435:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={name:"default",colors:{paper:"#fff",primary:"#B22A31",secondary:"#263E5B",secondaryLight:"#347da9",text:"#000",backgroundBody:"#DEE6ED",backgroundBreadcrumbs:"#DEE6ED",backgroundPopover:"#424242",signal:{danger:{paper:"#EF9A9A",text:"#961b1b"},info:{paper:"#81D4FA",text:"#027cc1"},success:{paper:"#A5D6A7",text:"#337f37"},warning:{paper:"#FFF59D",text:"#d54300"}}},fontFamily:{monospace:"Ubuntu Mono, monospace",regular:"Ubuntu, sans-serif",url:"https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap"},fontSize:{base:1.3,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{regular:"4px",medium:"13px",large:"25px"},space:{base:1.3,factor:2}}},2091:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var r,o,i=n(46927),a=n(46444),s=n.n(a),c=n(1024),u=n.n(c),l=n(88162),f=n(78958),p=n(91411),d=n(58804),h=n(7281),m=n(88601),g=n(30759),v=n(97388);const y=d.ZP.button.withConfig({displayName:"StyledButton"})(o||(o=(0,p.Z)(["\n ","\n ","\n ","\n cursor: pointer;\n"])),(0,g.Z)(),v.Z,(function(){return(0,d.iv)(r||(r=(0,p.Z)(["\n border-radius: 50%;\n justify-content: center;\n align-items: center;\n padding: ",";\n // ensure that width has at least the size of height\n min-width: calc(\n 1rem * "," * "," + 2.4 * ","\n );\n box-sizing: border-box;\n"])),h.Z.space(-3),m.Z.fontSize("base"),m.Z.lineHeight("regular"),h.Z.space(-3))}));var b=n(85893);function w(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 O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x=u().forwardRef((function(e,t){return(0,b.jsx)(y,O(O({ref:t,type:"button"},e),{},{children:(0,b.jsx)(l.Z,{icon:e.icon})}))}));x.propTypes={disabled:s().bool,icon:s().string.isRequired,ink:f.Z.inkPropTypes,look:s().oneOf([f.Z.look.FLAT,f.Z.look.RAISED]),onClick:s().func,title:s().string,tabIndex:s().number,"data-cy":s().string};const S=x},65035:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(46927),o=n(1024),i=n.n(o),a=n(88162),s=n(93235),c=n(78958),u=n(52058),l=n(58129),f=n(85893);function p(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=i().forwardRef((function(e,t){var n=e.aria,r=e.ink,o=e.label,i=e.icon,p=e.pending,h=e.look,m=e.iconPosition,g=e.iconOnly,v=e.children,y=(0,u.yq)().labelVisibility;return(0,f.jsxs)(l.Z,d(d(d({ref:t},n),e),{},{ink:r||c.Z.ink.BASE,"data-cy":e["data-cy"],title:o,labelVisibility:y,children:[i&&!p&&(0,f.jsx)(a.Z,{icon:i}),p&&(0,f.jsx)(s.Z,{ink:r||c.Z.ink.BASE,look:h,position:m,size:"1em"}),!g&&o?(0,f.jsx)(l.s,{children:o}):v||"​"]}))}));h.defaultProps={iconPosition:c.Z.position.PREPEND,look:c.Z.look.FLAT,type:"button"};const m=h},52058:(e,t,n)=>{"use strict";n.d(t,{xr:()=>i,yq:()=>c});var r=n(1024),o=n.n(r),i=(n(85893),{visible:"visible",hidden:"hidden",responsive:"responsive"}),a={labelVisibility:i.responsive},s=o().createContext(a),c=function(){return(0,r.useContext)(s)}},58129:(e,t,n)=>{"use strict";n.d(t,{s:()=>y,Z:()=>b});var r,o,i,a,s,c,u=n(91411),l=n(58804),f=n(78958),p=n(88601),d=n(7281),h=n(30759),m=n(97388),g=n(52058),v=(0,l.iv)(a||(a=(0,u.Z)(["\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n text-align: center;\n vertical-align: middle;\n white-space: nowrap;\n border: none;\n border-radius: ",";\n margin-right: ",";\n padding: "," ",";\n cursor: pointer;\n ","\n ","\n ","\n ","\n ","\n\n & > span:first-child {\n margin-left: 0;\n }\n ","\n"])),p.Z.radii("medium"),d.Z.space(-1.38),d.Z.space(-2.1),d.Z.space(0),(0,h.Z)(),(function(e){return e.withoutBackground?(0,l.iv)(i||(i=(0,u.Z)(["\n background: transparent;\n"]))):(0,m.Z)(e)}),(function(e){return n=(t=e).dense,o=t.theme,n?(0,l.iv)(r||(r=(0,u.Z)(["\n line-height: ",";\n padding: "," ",";\n "])),p.Z.lineHeight("dense")({theme:o}),d.Z.space(-3.5)({theme:o}),d.Z.space(-1.5)({theme:o})):null;var t,n,o}),(function(e){return e.iconOnly?(0,l.iv)(o||(o=(0,u.Z)(["\n padding: 0;\n margin: 0;\n "]))):null}),(function(e){return function(e){var t=e.icon,n=e.pending,r=e.iconPosition;if(t||n)return r===f.Z.position.APPEND?"\n > span {\n order: -1;\n margin-right: .5rem;\n }\n ":"\n > span {\n margin-left: .5rem;\n }\n "}(e)}),(function(e){var t=e.icon,n=e.labelVisibility,r="\n ".concat(y," {\n display: none;\n }\n ");return t&&n===g.xr.hidden?r:t&&n===g.xr.responsive&&"\n @media screen and (max-width: 1024px) {\n ".concat(r,"\n }\n ")})),y=l.ZP.span.withConfig({displayName:"StyledLabelWrapper"})(s||(s=(0,u.Z)([""])));const b=l.ZP.button.withConfig({displayName:"StyledButton"})(c||(c=(0,u.Z)(["\n ","\n"])),v)},92135:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Vr});var r=n(46927),o=n(57557),i=n.n(o),a=n(41609),s=n.n(a),c=n(1024),u=n.n(c),l=n(14293),f=n.n(l),p=n(8270),d=n(85893);const h=function(e){var t=e.id,n=e.immutable,r=e.value,o=e.options,i=o.trueLabel,a=o.falseLabel,s=e.onChange;return(0,d.jsx)(p.Z,{id:t,immutable:n,isMulti:!1,onChange:function(e){return s(e?e.key:null)},value:f()(r)?r:{key:r,display:r?i:a},openMenuOnClick:!0,options:[{key:!0,display:i},{key:!1,display:a}]})};var m,g=n(91411),v=n(58804),y=v.ZP.div.withConfig({displayName:"StyledBoolEdit"})(m||(m=(0,g.Z)(["\n margin: 5px 0;\n"])));const b=function(e){return(0,d.jsx)(y,{children:(0,d.jsx)("input",{type:"checkbox",checked:e.value||!1,name:e.name,onChange:function(t){e.onChange&&e.onChange(t.target.checked)},id:e.id,disabled:e.immutable})})};var w=n(23279),O=n.n(w);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var j=(0,c.lazy)((function(){return Promise.all([n.e(594),n.e(85)]).then(n.bind(n,24295))}));const P=function(e){return(0,d.jsx)(c.Suspense,{fallback:(t=e.value,(0,d.jsx)("div",{children:(0,d.jsx)("p",{children:t})})),children:(0,d.jsx)(j,S({},e))});var t};var E,k=v.ZP.div.withConfig({displayName:"EditorWrapper"})(E||(E=(0,g.Z)(["\n margin-top: 5px;\n"])));const C=function(e){var t=e.value,n=e.onChange,r=e.immutable,o=e.options;return(0,d.jsx)(k,{children:(0,d.jsx)(P,{value:t,onChange:O()(n,1e3),mode:o.mode,theme:"textmate",showGutter:!0,editorOptions:{enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,minLines:5,maxLines:50,readOnly:r,wrap:!0,indentedSoftWrap:!1},implicitModel:o.implicitModel})})};var T,D=n(86896),_=n(86507),A=function(e){return-1*Math.abs(e)};function M(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 R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var I=(0,c.lazy)((function(){return Promise.all([n.e(85),n.e(568)]).then(n.bind(n,91860))}));const Z=function(e){return(0,d.jsx)(c.Suspense,{fallback:T||(T=(0,d.jsx)(u().Fragment,{})),children:(0,d.jsx)(I,R({},e))})};function N(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}const L=function(e){var t=e.onChange,n=e.options,o=e.id,i=e.value,a=e.immutable,s=e.events,c=e.placeholder,u=(0,D.Z)(),l=(null==n?void 0:n.datePickerOptions)||{},f=_.Z.getLocalizedDateFormatWithoutPunctuation(u.locale),p=["P",f,_.Z.useTwoDigitYear("P"),_.Z.useTwoDigitYear(f)];return(0,d.jsx)(Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:o,value:i,onChange:function(e){var n=e?function(e){if(null==e)return null;var t=new Date(e),n=t.getFullYear(),r=t.getMonth()+1,o=t.getDate();return[n,(r>9?"":"0")+r,(o>9?"":"0")+o].join("-")}(e):null;t(n)},dateFormat:p,hasTime:!1,immutable:a,events:s,placeholder:c},l))};var F=n(74806);function H(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}const B=(0,F.ZP)((function(e){var t=e.onChange,n=e.options,o=e.value,i=e.immutable,a=e.events,s=e.placeholder,c=(0,D.Z)(),u=(null==n?void 0:n.datePickerOptions)||{},l=_.Z.getLocalizedDateTimeFormatWithoutPunctuation(c.locale),f=["Pp",l,_.Z.useTwoDigitYear("Pp"),_.Z.useTwoDigitYear(l)];return(0,d.jsx)(Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({value:o,onChange:t,dateFormat:f,hasTime:!0,immutable:i,events:a,placeholder:s},u))}));var U=n(68957),W=n(18446),z=n.n(W),V=n(46444),G=n.n(V);function q(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))}function $(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}Object.create;function Y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function X(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;var K=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function J(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=K.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var Q=[".DS_Store","Thumbs.db"];function ee(e){return"object"==typeof e&&null!==e}function te(e){return ie(e.target.files).map((function(e){return J(e)}))}function ne(e){return q(this,void 0,void 0,(function(){return $(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return e.getFile()})))];case 1:return[2,t.sent().map((function(e){return J(e)}))]}}))}))}function re(e,t){return q(this,void 0,void 0,(function(){var n;return $(this,(function(r){switch(r.label){case 0:return e.items?(n=ie(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(ae))]):[3,2];case 1:return[2,oe(se(r.sent()))];case 2:return[2,oe(ie(e.files).map((function(e){return J(e)})))]}}))}))}function oe(e){return e.filter((function(e){return-1===Q.indexOf(e.name)}))}function ie(e){if(null===e)return[];for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function ae(e){if("function"!=typeof e.webkitGetAsEntry)return ce(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?le(t):ce(e)}function se(e){return e.reduce((function(e,t){return X(X([],Y(e),!1),Y(Array.isArray(t)?se(t):[t]),!1)}),[])}function ce(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var n=J(t);return Promise.resolve(n)}function ue(e){return q(this,void 0,void 0,(function(){return $(this,(function(t){return[2,e.isDirectory?le(e):fe(e)]}))}))}function le(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function o(){var i=this;t.readEntries((function(t){return q(i,void 0,void 0,(function(){var i,a,s;return $(this,(function(c){switch(c.label){case 0:if(t.length)return[3,5];c.label=1;case 1:return c.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return i=c.sent(),e(i),[3,4];case 3:return a=c.sent(),n(a),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(ue)),r.push(s),o(),c.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function fe(e){return q(this,void 0,void 0,(function(){return $(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=J(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}var pe=n(91073);function de(e){return function(e){if(Array.isArray(e))return be(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ye(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 he(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 me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){ge(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ve(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||ye(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ye(e,t){if(e){if("string"==typeof e)return be(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?be(e,t):void 0}}function be(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}var we="file-invalid-type",Oe="file-too-large",xe="file-too-small",Se="too-many-files",je=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:we,message:"File type must be ".concat(t)}},Pe=function(e){return{code:Oe,message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},Ee=function(e){return{code:xe,message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},ke={code:Se,message:"Too many files"};function Ce(e,t){var n="application/x-moz-file"===e.type||(0,pe.Z)(e,t);return[n,n?null:je(t)]}function Te(e,t,n){if(De(e.size))if(De(t)&&De(n)){if(e.size>n)return[!1,Pe(n)];if(e.size<t)return[!1,Ee(t)]}else{if(De(t)&&e.size<t)return[!1,Ee(t)];if(De(n)&&e.size>n)return[!1,Pe(n)]}return[!0,null]}function De(e){return null!=e}function _e(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,i=e.multiple,a=e.maxFiles,s=e.validator;return!(!i&&t.length>1||i&&a>=1&&t.length>a)&&t.every((function(e){var t=ve(Ce(e,n),1)[0],i=ve(Te(e,r,o),1)[0],a=s?s(e):null;return t&&i&&!a}))}function Ae(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function Me(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function Re(e){e.preventDefault()}function Ie(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function Ze(e){return-1!==e.indexOf("Edge/")}function Ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return Ie(e)||Ze(e)}function Le(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return!Ae(e)&&t&&t.apply(void 0,[e].concat(r)),Ae(e)}))}}function Fe(){return"showOpenFilePicker"in window}function He(e){return De(e)?[{accept:Object.entries(e).filter((function(e){var t=ve(e,2),n=t[0],r=t[1],o=!0;return ze(n)||(console.warn('Skipped "'.concat(n,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),o=!1),Array.isArray(r)&&r.every(Ve)||(console.warn('Skipped "'.concat(n,'" because an invalid file extension was provided.')),o=!1),o})).reduce((function(e,t){var n=ve(t,2),r=n[0],o=n[1];return me(me({},e),{},ge({},r,o))}),{})}]:e}function Be(e){if(De(e))return Object.entries(e).reduce((function(e,t){var n=ve(t,2),r=n[0],o=n[1];return[].concat(de(e),[r],de(o))}),[]).filter((function(e){return ze(e)||Ve(e)})).join(",")}function Ue(e){return e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)}function We(e){return e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)}function ze(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||/\w+\/[-+.\w]+/g.test(e)}function Ve(e){return/^.*\.[\w]+$/.test(e)}var Ge=["children"],qe=["open"],$e=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],Ye=["refKey","onChange","onClick"];function Xe(e){return function(e){if(Array.isArray(e))return Qe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Je(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 Ke(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||Je(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Je(e,t){if(e){if("string"==typeof e)return Qe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qe(e,t):void 0}}function Qe(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 et(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 tt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?et(Object(n),!0).forEach((function(t){nt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):et(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rt(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}var ot=(0,c.forwardRef)((function(e,t){var n=e.children,r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=tt(tt({},it),e),n=t.accept,r=t.disabled,o=t.getFilesFromEvent,i=t.maxSize,a=t.minSize,s=t.multiple,u=t.maxFiles,l=t.onDragEnter,f=t.onDragLeave,p=t.onDragOver,d=t.onDrop,h=t.onDropAccepted,m=t.onDropRejected,g=t.onFileDialogCancel,v=t.onFileDialogOpen,y=t.useFsAccessApi,b=t.autoFocus,w=t.preventDropOnDocument,O=t.noClick,x=t.noKeyboard,S=t.noDrag,j=t.noDragEventsBubbling,P=t.onError,E=t.validator,k=(0,c.useMemo)((function(){return Be(n)}),[n]),C=(0,c.useMemo)((function(){return He(n)}),[n]),T=(0,c.useMemo)((function(){return"function"==typeof v?v:ut}),[v]),D=(0,c.useMemo)((function(){return"function"==typeof g?g:ut}),[g]),_=(0,c.useRef)(null),A=(0,c.useRef)(null),M=Ke((0,c.useReducer)(ct,st),2),R=M[0],I=M[1],Z=R.isFocused,N=R.isFileDialogActive,L=(0,c.useRef)("undefined"!=typeof window&&window.isSecureContext&&y&&Fe()),F=function(){!L.current&&N&&setTimeout((function(){A.current&&(A.current.files.length||(I({type:"closeDialog"}),D()))}),300)};(0,c.useEffect)((function(){return window.addEventListener("focus",F,!1),function(){window.removeEventListener("focus",F,!1)}}),[A,N,D,L]);var H=(0,c.useRef)([]),B=function(e){_.current&&_.current.contains(e.target)||(e.preventDefault(),H.current=[])};(0,c.useEffect)((function(){return w&&(document.addEventListener("dragover",Re,!1),document.addEventListener("drop",B,!1)),function(){w&&(document.removeEventListener("dragover",Re),document.removeEventListener("drop",B))}}),[_,w]),(0,c.useEffect)((function(){return!r&&b&&_.current&&_.current.focus(),function(){}}),[_,b,r]);var U=(0,c.useCallback)((function(e){P?P(e):console.error(e)}),[P]),W=(0,c.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e),H.current=[].concat(Xe(H.current),[e.target]),Me(e)&&Promise.resolve(o(e)).then((function(t){if(!Ae(e)||j){var n=t.length,r=n>0&&_e({files:t,accept:k,minSize:a,maxSize:i,multiple:s,maxFiles:u,validator:E});I({isDragAccept:r,isDragReject:n>0&&!r,isDragActive:!0,type:"setDraggedFiles"}),l&&l(e)}})).catch((function(e){return U(e)}))}),[o,l,U,j,k,a,i,s,u,E]),z=(0,c.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e);var t=Me(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&p&&p(e),!1}),[p,j]),V=(0,c.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e);var t=H.current.filter((function(e){return _.current&&_.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),H.current=t,t.length>0||(I({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Me(e)&&f&&f(e))}),[_,f,j]),G=(0,c.useCallback)((function(e,t){var n=[],r=[];e.forEach((function(e){var t=Ke(Ce(e,k),2),o=t[0],s=t[1],c=Ke(Te(e,a,i),2),u=c[0],l=c[1],f=E?E(e):null;if(o&&u&&!f)n.push(e);else{var p=[s,l];f&&(p=p.concat(f)),r.push({file:e,errors:p.filter((function(e){return e}))})}})),(!s&&n.length>1||s&&u>=1&&n.length>u)&&(n.forEach((function(e){r.push({file:e,errors:[ke]})})),n.splice(0)),I({acceptedFiles:n,fileRejections:r,type:"setFiles"}),d&&d(n,r,t),r.length>0&&m&&m(r,t),n.length>0&&h&&h(n,t)}),[I,s,k,a,i,u,d,h,m,E]),q=(0,c.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e),H.current=[],Me(e)&&Promise.resolve(o(e)).then((function(t){Ae(e)&&!j||G(t,e)})).catch((function(e){return U(e)})),I({type:"reset"})}),[o,G,U,j]),$=(0,c.useCallback)((function(){if(L.current){I({type:"openDialog"}),T();var e={multiple:s,types:C};window.showOpenFilePicker(e).then((function(e){return o(e)})).then((function(e){G(e,null),I({type:"closeDialog"})})).catch((function(e){Ue(e)?(D(e),I({type:"closeDialog"})):We(e)?(L.current=!1,A.current?(A.current.value=null,A.current.click()):U(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):U(e)}))}else A.current&&(I({type:"openDialog"}),T(),A.current.value=null,A.current.click())}),[I,T,D,y,G,U,C,s]),Y=(0,c.useCallback)((function(e){_.current&&_.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),$()))}),[_,$]),X=(0,c.useCallback)((function(){I({type:"focus"})}),[]),K=(0,c.useCallback)((function(){I({type:"blur"})}),[]),J=(0,c.useCallback)((function(){O||(Ne()?setTimeout($,0):$())}),[O,$]),Q=function(e){return r?null:e},ee=function(e){return x?null:Q(e)},te=function(e){return S?null:Q(e)},ne=function(e){j&&e.stopPropagation()},re=(0,c.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,o=e.role,i=e.onKeyDown,a=e.onFocus,s=e.onBlur,c=e.onClick,u=e.onDragEnter,l=e.onDragOver,f=e.onDragLeave,p=e.onDrop,d=rt(e,$e);return tt(tt(nt({onKeyDown:ee(Le(i,Y)),onFocus:ee(Le(a,X)),onBlur:ee(Le(s,K)),onClick:Q(Le(c,J)),onDragEnter:te(Le(u,W)),onDragOver:te(Le(l,z)),onDragLeave:te(Le(f,V)),onDrop:te(Le(p,q)),role:"string"==typeof o&&""!==o?o:"presentation"},n,_),r||x?{}:{tabIndex:0}),d)}}),[_,Y,X,K,J,W,z,V,q,x,S,r]),oe=(0,c.useCallback)((function(e){e.stopPropagation()}),[]),ie=(0,c.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onChange,o=e.onClick,i=rt(e,Ye);return tt(tt({},nt({accept:k,multiple:s,type:"file",style:{display:"none"},onChange:Q(Le(r,q)),onClick:Q(Le(o,oe)),tabIndex:-1},n,A)),i)}}),[A,n,s,q,r]);return tt(tt({},R),{},{isFocused:Z&&!r,getRootProps:re,getInputProps:ie,rootRef:_,inputRef:A,open:Q($)})}(rt(e,Ge)),o=r.open,i=rt(r,qe);return(0,c.useImperativeHandle)(t,(function(){return{open:o}}),[o]),u().createElement(c.Fragment,null,n(tt(tt({},i),{},{open:o})))}));ot.displayName="Dropzone";var it={disabled:!1,getFilesFromEvent:function(e){return q(this,void 0,void 0,(function(){return $(this,(function(t){return ee(e)&&ee(e.dataTransfer)?[2,re(e.dataTransfer,e.type)]:function(e){return ee(e)&&ee(e.target)}(e)?[2,te(e)]:Array.isArray(e)&&e.every((function(e){return"getFile"in e&&"function"==typeof e.getFile}))?[2,ne(e)]:[2,[]]}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};ot.defaultProps=it,ot.propTypes={children:G().func,accept:G().objectOf(G().arrayOf(G().string)),multiple:G().bool,preventDropOnDocument:G().bool,noClick:G().bool,noKeyboard:G().bool,noDrag:G().bool,noDragEventsBubbling:G().bool,minSize:G().number,maxSize:G().number,maxFiles:G().number,disabled:G().bool,getFilesFromEvent:G().func,onFileDialogCancel:G().func,onFileDialogOpen:G().func,useFsAccessApi:G().bool,autoFocus:G().bool,onDragEnter:G().func,onDragLeave:G().func,onDragOver:G().func,onDrop:G().func,onDropAccepted:G().func,onDropRejected:G().func,onError:G().func,validator:G().func};const at=ot;var st={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function ct(e,t){switch(t.type){case"focus":return tt(tt({},e),{},{isFocused:!0});case"blur":return tt(tt({},e),{},{isFocused:!1});case"openDialog":return tt(tt({},st),{},{isFileDialogActive:!0});case"closeDialog":return tt(tt({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return tt(tt({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return tt(tt({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return tt({},st);default:return e}}function ut(){}var lt,ft,pt,dt,ht,mt,gt,vt,yt,bt=n(65035),wt=n(76538),Ot=n(58129),xt=n(69829),St=n(7281),jt=n(30759),Pt=n(88601),Et=n(40953),kt=v.ZP.section.withConfig({displayName:"StyledSection"})(lt||(lt=(0,g.Z)(["\n flex: 1;\n display: flex;\n justify-content: flex-end;\n"]))),Ct=v.ZP.div.withConfig({displayName:"StyledButtonsWrapper"})(ft||(ft=(0,g.Z)(["\n display: flex;\n align-items: center;\n\n "," {\n margin: 0;\n border-radius: 50%;\n padding: ",";\n\n a:hover {\n color: unset;\n }\n }\n"])),Ot.Z,St.Z.space(-2)),Tt=v.ZP.div.withConfig({displayName:"StyledDropzone"})(pt||(pt=(0,g.Z)(["\n width: 100%;\n\n &:hover {\n "," {\n background-color: ",";\n }\n }\n"])),Ot.Z,(function(e){var t=e.theme;return(0,wt._j)(.1,t.colors.paper)})),Dt=v.ZP.div.withConfig({displayName:"StyledUploadInput"})(dt||(dt=(0,g.Z)(["\n ","\n cursor: ",";\n background-color: ",";\n color: ",";\n padding: "," 0 0 0;\n display: flex;\n\n "," {\n float: right;\n position: relative;\n top: -",";\n margin: 0;\n border-radius: 50%;\n padding: ",";\n }\n"])),(0,jt.Z)(),(function(e){return e.immutable?"not-allowed":"pointer"}),Pt.Z.color("paper"),(function(e){return e.immutable?Et.v.shade2(e):Et.v.shade0(e)}),St.Z.space(-2),Ot.Z,St.Z.space(-3.1),St.Z.space(-1.5)),_t=v.ZP.div.withConfig({displayName:"StyledUploadProgress"})(ht||(ht=(0,g.Z)(["\n && {\n padding-top: ",";\n text-align: center;\n display: inline-block;\n }\n"])),St.Z.space(-2)),At=(0,v.ZP)(xt.Fe).withConfig({displayName:"StyledUploadProgressText"})(mt||(mt=(0,g.Z)(["\n && {\n ","\n }\n"])),(0,jt.Z)({fontSize:St.Z.font(-1)})),Mt=v.ZP.div.withConfig({displayName:"StyledUploadProgressIconAndText"})(gt||(gt=(0,g.Z)(["\n && {\n display: flex;\n justify-content: center;\n align-items: center;\n\n span {\n margin-left: ",";\n }\n }\n"])),St.Z.space(-2)),Rt=v.ZP.div.withConfig({displayName:"StyledView"})(vt||(vt=(0,g.Z)(["\n display: flex;\n justify-content: space-between;\n padding-top: ",";\n"])),St.Z.space(-2));function It(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 Zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?It(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):It(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Nt=function(e){var t=e.onDrop,n=e.immutable,r=e.text,o=e.onChoose;return(0,d.jsxs)(Dt,{immutable:n,children:[(0,d.jsx)(at,{onDrop:function(e){var n=e.map((function(e){return Object.assign(e,{preview:URL.createObjectURL(e)})}));t(n[0])},multiple:!1,disabled:n,title:r||"drag and drop or click",children:function(e){var t=e.getRootProps,n=e.getInputProps;return(0,d.jsx)(kt,{children:(0,d.jsxs)(Tt,Zt(Zt({},t()),{},{children:[(0,d.jsx)("input",Zt({},n())),yt||(yt=(0,d.jsx)(bt.Z,{icon:"arrow-to-top"}))]}))})}}),o&&(0,d.jsx)(bt.Z,{onClick:function(e){o(),e.stopPropagation()},icon:"folder",label:"browse docs",iconOnly:!0})]})};var Lt=n(93235),Ft=n(73906),Ht=n(78958);const Bt=function(e){var t,n,r=e.file,o=e.text;return(0,d.jsxs)(_t,{children:[(0,d.jsx)(Ft.Z,{alt:r.name,caption:r.name,maxDimensionX:"96px",maxDimensionY:"96px",srcUrl:r.preview,thumbnailUrl:r.type.startsWith("image")?r.preview:null}),(0,d.jsxs)(Mt,{children:[(0,d.jsx)(Lt.Z,{position:Ht.Z.position.PREPEND}),(0,d.jsxs)(At,{children:[o||"uploading"," (",(t=r.size,n=Math.floor(Math.log(t)/Math.log(1024)),"".concat(1*(t/Math.pow(1024,n)).toFixed(2)," ").concat(["Bytes","KB","MB","GB","TB"][n])),")"]})]})]})};var Ut=n(28247),Wt=n(41291);function zt(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 Vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Gt=function(e){var t,n=e.value,r=e.downloadTitle,o=e.immutable,i=e.onUpload,a=e.deleteTitle,s=null===(t=n.binaryLink)||void 0===t?void 0:t.startsWith("blob:");return(0,d.jsxs)(Rt,{className:"StyledView",children:[(0,d.jsx)(Ft.Z,Vt(Vt({alt:n.fileName},s&&{caption:n.fileName}),{},{fileName:n.fileName,maxDimensionX:"96px",maxDimensionY:"96px",srcUrl:n.binaryLink,thumbnailUrl:n.thumbnailLink})),(0,d.jsxs)(Ct,{children:[!o&&(0,d.jsx)(bt.Z,{icon:"trash",onClick:function(){return i(null)},tabIndex:-1,title:a||"delete"}),(0,d.jsx)(bt.Z,{children:(0,d.jsx)(Wt.Z,{neutral:!0,icon:"arrow-to-bottom",target:"_blank",href:Ut.Z.getDownloadUrl(n.binaryLink),tabIndex:-1,title:r||"download"})})]})]})};function qt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $t(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Yt=function(e){var t=e.value,n=e.textResources,r=e.onUpload,o=e.onChoose,i=(0,c.useRef)(t),a=(0,c.useState)({isUploading:!1,previewFile:null}),s=(0,U.Z)(a,2),u=s[0],l=s[1];return(0,c.useEffect)((function(){z()(i.current,t)||l({isUploading:!1,previewFile:null}),i.current=t}),[t]),null!=t&&t.binaryLink?(0,d.jsx)(Gt,$t($t({},e),{},{deleteTitle:n.delete,downloadTitle:n.download})):u.isUploading?(0,d.jsx)(Bt,$t({file:u.previewFile,text:n.uploading},e)):(0,d.jsx)(Nt,$t($t({},e),{},{onDrop:function(e){!function(e){l({isUploading:!0,previewFile:e})}(e),r(e)},onChoose:o}))};Yt.defaultProps={textResources:{}};const Xt=Yt;var Kt=function(e){return(0,d.jsx)(Xt,{onUpload:function(t){null===t?e.onChange&&e.onChange(null):e.options.upload&&e.options.upload(t)},onChoose:e.options.choose,immutable:e.immutable,textResources:{upload:e.options.uploadText,uploading:e.options.uploadingText,delete:e.options.deleteText,download:e.options.downloadText},value:e.value?e.value:null})};Kt.defaultProps={options:{}};const Jt=Kt;var Qt,en,tn=n(34206),nn=n(51032),rn=n(27361),on=n.n(rn),an=n(58664),sn=v.ZP.input.withConfig({displayName:"StyledDurationEdit"})(Qt||(Qt=(0,g.Z)(["\n && {\n ","\n flex-grow: 0;\n width: ","px;\n min-width: 2.5ch;\n }\n"])),nn.k9,(function(e){return e.width})),cn=v.ZP.label.withConfig({displayName:"StyledDurationEditFocusable"})(en||(en=(0,g.Z)(["\n &&& {\n align-items: center;\n display: flex;\n flex-wrap: nowrap;\n margin-bottom: 0; /* reset bootstrap */\n margin-left: ",";\n\n &:first-child {\n margin-left: 0;\n }\n\n > span {\n color: ",";\n cursor: ",";\n }\n }\n"])),St.Z.space(1),(function(e){return e.immutable?(0,an.iy)(on()(e.theme,"colors.text")):Pt.Z.color("text")}),(function(e){return e.immutable?"not-allowed":"default"})),un=function(e){var t=e.value,n=e.immutable,r=e.onChange,o=e.options,i=_.Z.millisecondsToDuration(t),a=(0,c.useState)(!1),s=(0,U.Z)(a,2),u=s[0],l=s[1],f=function(e,t){var n,o,a=null!==t?t:i.minutes,s=null!==e?e:i.hours;""!==a||""!==s?(a>=60&&(s=0),r((o=a,(n=s)||o?((n<0||o<0)&&(n=A(n),o=A(o)),60*(n||0)*6e4+6e4*(o||0)):null))):r(null)},p=function(){l(!0)},h=function(e){e.charCode>=48&&e.charCode<=57||45===e.charCode&&!0===o.allowNegative||e.preventDefault()},m=function(){return!0===o.allowNegative?"-?d+":"d+"},g=function(){return u||"number"==typeof t},v=function(e){return 9*(e+"").length},y=n&&Boolean(i.seconds);return(0,d.jsxs)(nn.gg,{onBlur:function(){l(!1)},immutable:n,children:[(0,d.jsxs)(cn,{immutable:n,children:[(0,d.jsx)(sn,{disabled:n,immutable:n,min:!0===o.allowNegative?void 0:0,onChange:function(){},onFocus:p,onInput:function(e){var t=e.target.value.replace(/[^-\d]/g,"");f(t,null)},onKeyPress:h,pattern:m(),step:1,width:v(i.hours),type:"number",value:"number"!=typeof i.hours||0===i.hours&&!n?"":i.hours+""}),g()&&(0,d.jsx)(tn.ZP.Span,{children:o.hoursLabel})]}),(0,d.jsxs)(cn,{immutable:n,children:[(0,d.jsx)(sn,{disabled:n,immutable:n,min:!0!==o.allowNegative||null!==i.hours&&0!==i.hours?0:void 0,onChange:function(){},onFocus:p,onInput:function(e){var t=e.target.value.replace(/[^-\d]/g,"");f(null,t)},onKeyPress:h,pattern:m(),step:1,width:v(i.minutes),type:"number",value:i.minutes+""}),g()&&(0,d.jsx)(tn.ZP.Span,{children:o.minutesLabel})]}),y&&(0,d.jsxs)(cn,{immutable:n,children:[(0,d.jsx)(sn,{disabled:n,immutable:n,onChange:function(){},width:v(i.seconds),type:"number",value:i.seconds+""}),g()&&(0,d.jsx)(tn.ZP.Span,{children:o.secondsLabel})]})]})};un.defaultProps={options:{hoursLabel:"hrs",minutesLabel:"min",secondsLabel:"s"}};const ln=un;var fn,pn=n(35997);const dn=v.ZP.input.attrs((function(e){return{type:"text"}})).withConfig({displayName:"StyledStringEdit"})(fn||(fn=(0,g.Z)(["\n && {\n ","\n }\n"])),nn.k9);const hn=pn.Z.Debouncer((function(e){return(0,d.jsxs)(nn.gg,{immutable:e.immutable,children:[(0,d.jsx)(dn,{disabled:e.immutable,id:e.id,name:e.name,onChange:function(t){return e.onChange(t.target.value)},immutable:e.immutable,value:e.value||""}),e.value&&(0,d.jsx)(nn.Wg,{children:(0,d.jsx)(Wt.Z,{href:"mailto:".concat(e.value.toString()),icon:"envelope",look:"ball",tabIndex:-1,target:"_blank",neutral:!0})})]})}));var mn,gn=(0,c.lazy)((function(){return Promise.all([n.e(323),n.e(200),n.e(85)]).then(n.bind(n,23710))})),vn=function(e){var t=e.onChange,n=e.immutable,r=e.value,o=e.options;if(n)return(0,d.jsx)(tn.ZP.Span,{children:(0,d.jsx)("div",{dangerouslySetInnerHTML:{__html:r}})});var i=o||{},a=i.contentLang,s=i.ckEditorConfig;return(0,d.jsx)(c.Suspense,{fallback:mn||(mn=(0,d.jsx)("i",{})),children:(0,d.jsx)(gn,{onChange:function(e){t&&t(e)},value:r,contentLang:a,ckEditorConfig:s})})};vn.defaultProps={value:""};const yn=vn;var bn=n(56315);function wn(){}function On(e){return!!(e||"").match(/\d/)}function xn(e){return null==e}function Sn(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function jn(e,t){void 0===t&&(t=!0);var n="-"===e[0],r=n&&t,o=(e=e.replace("-","")).split(".");return{beforeDecimal:o[0],afterDecimal:o[1]||"",hasNagation:n,addNegation:r}}function Pn(e,t,n){for(var r="",o=n?"0":"",i=0;i<=t-1;i++)r+=e[i]||o;return r}function En(e,t){return Array(t+1).join(e)}function kn(e,t){if(e.value=e.value,null!==e){if(e.createTextRange){var n=e.createTextRange();return n.move("character",t),n.select(),!0}return e.selectionStart||0===e.selectionStart?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}function Cn(e,t,n){return Math.min(Math.max(e,t),n)}function Tn(e){return Math.max(e.selectionStart,e.selectionEnd)}var Dn={displayType:"input",decimalSeparator:".",thousandsGroupStyle:"thousand",fixedDecimalScale:!1,prefix:"",suffix:"",allowNegative:!0,allowEmptyFormatting:!1,allowLeadingZeros:!1,isNumericString:!1,type:"text",onValueChange:wn,onChange:wn,onKeyDown:wn,onMouseUp:wn,onFocus:wn,onBlur:wn,isAllowed:function(){return!0}},_n=function(e){function t(t){e.call(this,t);var n=t.defaultValue;this.validateProps();var r=this.formatValueProp(n);this.state={value:r,numAsString:this.removeFormatting(r),mounted:!1},this.selectionBeforeInput={selectionStart:0,selectionEnd:0},this.onChange=this.onChange.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.onMouseUp=this.onMouseUp.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentDidMount=function(){this.setState({mounted:!0})},t.prototype.componentDidUpdate=function(e){this.updateValueIfRequired(e)},t.prototype.componentWillUnmount=function(){clearTimeout(this.focusTimeout),clearTimeout(this.caretPositionTimeout)},t.prototype.updateValueIfRequired=function(e){var t=this,n=t.props,r=t.state,o=t.focusedElm,i=r.value,a=r.numAsString;if(void 0===a&&(a=""),e!==n){this.validateProps();var s=this.formatNumString(a),c=xn(n.value)?s:this.formatValueProp(),u=this.removeFormatting(c),l=parseFloat(u),f=parseFloat(a);(isNaN(l)&&isNaN(f)||l===f)&&s===i&&(null!==o||c===i)||this.updateValue({formattedValue:c,numAsString:u,input:o,source:"prop",event:null})}},t.prototype.getFloatString=function(e){void 0===e&&(e="");var t=this.props.decimalScale,n=this.getSeparators().decimalSeparator,r=this.getNumberRegex(!0),o="-"===e[0];o&&(e=e.replace("-","")),n&&0===t&&(e=e.split(n)[0]);var i=(e=(e.match(r)||[]).join("").replace(n,".")).indexOf(".");return-1!==i&&(e=e.substring(0,i)+"."+e.substring(i+1,e.length).replace(new RegExp(Sn(n),"g"),"")),o&&(e="-"+e),e},t.prototype.getNumberRegex=function(e,t){var n=this.props,r=n.format,o=n.decimalScale,i=n.customNumerals,a=this.getSeparators().decimalSeparator;return new RegExp("[0-9"+(i?i.join(""):"")+"]"+(!a||0===o||t||r?"":"|"+Sn(a)),e?"g":void 0)},t.prototype.getSeparators=function(){var e=this.props.decimalSeparator,t=this.props,n=t.thousandSeparator,r=t.allowedDecimalSeparators;return!0===n&&(n=","),r||(r=[e,"."]),{decimalSeparator:e,thousandSeparator:n,allowedDecimalSeparators:r}},t.prototype.getMaskAtIndex=function(e){var t=this.props.mask;return void 0===t&&(t=" "),"string"==typeof t?t:t[e]||" "},t.prototype.getValueObject=function(e,t){var n=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(n)?void 0:n}},t.prototype.validateProps=function(){var e=this.props.mask,t=this.getSeparators(),n=t.decimalSeparator,r=t.thousandSeparator;if(n===r)throw new Error("\n Decimal separator can't be same as thousand separator.\n thousandSeparator: "+r+' (thousandSeparator = {true} is same as thousandSeparator = ",")\n decimalSeparator: '+n+" (default value for decimalSeparator is .)\n ");if(e&&("string"===e?e:e.toString()).match(/\d/g))throw new Error("\n Mask "+e+" should not contain numeric character;\n ")},t.prototype.setPatchedCaretPosition=function(e,t,n){kn(e,t),this.caretPositionTimeout=setTimeout((function(){e.value===n&&kn(e,t)}),0)},t.prototype.correctCaretPosition=function(e,t,n){var r=this.props,o=r.prefix,i=r.suffix,a=r.format;if(""===e)return 0;if(t=Cn(t,0,e.length),!a){var s="-"===e[0];return Cn(t,o.length+(s?1:0),e.length-i.length)}if("function"==typeof a)return t;if("#"===a[t]&&On(e[t]))return t;if("#"===a[t-1]&&On(e[t-1]))return t;var c=a.indexOf("#");t=Cn(t,c,a.lastIndexOf("#")+1);for(var u=a.substring(t,a.length).indexOf("#"),l=t,f=t+(-1===u?0:u);l>c&&("#"!==a[l]||!On(e[l]));)l-=1;return!On(e[f])||"left"===n&&t!==c||t-l<f-t?On(e[l])?l+1:l:f},t.prototype.getCaretPosition=function(e,t,n){var r,o,i=this.props.format,a=this.state.value,s=this.getNumberRegex(!0),c=(e.match(s)||[]).join(""),u=(t.match(s)||[]).join("");for(r=0,o=0;o<n;o++){var l=e[o]||"",f=t[r]||"";if((l.match(s)||l===f)&&("0"!==l||!f.match(s)||"0"===f||c.length===u.length)){for(;l!==t[r]&&r<t.length;)r++;r++}}return"string"!=typeof i||a||(r=t.length),r=this.correctCaretPosition(t,r)},t.prototype.removePrefixAndSuffix=function(e){var t=this.props,n=t.format,r=t.prefix,o=t.suffix;if(!n&&e){var i="-"===e[0];i&&(e=e.substring(1,e.length));var a=(e=r&&0===e.indexOf(r)?e.substring(r.length,e.length):e).lastIndexOf(o);e=o&&-1!==a&&a===e.length-o.length?e.substring(0,a):e,i&&(e="-"+e)}return e},t.prototype.removePatternFormatting=function(e){for(var t=this.props.format.split("#").filter((function(e){return""!==e})),n=0,r="",o=0,i=t.length;o<=i;o++){var a=t[o]||"",s=o===i?e.length:e.indexOf(a,n);if(-1===s){r=e;break}r+=e.substring(n,s),n=s+a.length}return(r.match(this.getNumberRegex(!0))||[]).join("")},t.prototype.removeFormatting=function(e){var t=this.props,n=t.format,r=t.removeFormatting;return e?(n?e="string"==typeof n?this.removePatternFormatting(e):"function"==typeof r?r(e):(e.match(this.getNumberRegex(!0))||[]).join(""):(e=this.removePrefixAndSuffix(e),e=this.getFloatString(e)),e):e},t.prototype.formatWithPattern=function(e){for(var t=this.props.format,n=0,r=t.split(""),o=0,i=t.length;o<i;o++)"#"===t[o]&&(r[o]=e[n]||this.getMaskAtIndex(n),n+=1);return r.join("")},t.prototype.formatAsNumber=function(e){var t=this.props,n=t.decimalScale,r=t.fixedDecimalScale,o=t.prefix,i=t.suffix,a=t.allowNegative,s=t.thousandsGroupStyle,c=this.getSeparators(),u=c.thousandSeparator,l=c.decimalSeparator,f=-1!==e.indexOf(".")||n&&r,p=jn(e,a),d=p.beforeDecimal,h=p.afterDecimal,m=p.addNegation;return void 0!==n&&(h=Pn(h,n,r)),u&&(d=function(e,t,n){var r=function(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;default:return/(\d)(?=(\d{3})+(?!\d))/g}}(n),o=e.search(/[1-9]/);return o=-1===o?e.length:o,e.substring(0,o)+e.substring(o,e.length).replace(r,"$1"+t)}(d,u,s)),o&&(d=o+d),i&&(h+=i),m&&(d="-"+d),e=d+(f&&l||"")+h},t.prototype.formatNumString=function(e){void 0===e&&(e="");var t=this.props,n=t.format,r=t.allowEmptyFormatting,o=t.customNumerals,i=e;if(o&&10===o.length){var a=new RegExp("["+o.join("")+"]","g");i=e.replace(a,(function(e){return o.indexOf(e).toString()}))}return i=""!==e||r?"-"!==e||n?"string"==typeof n?this.formatWithPattern(i):"function"==typeof n?n(i):this.formatAsNumber(i):"-":""},t.prototype.formatValueProp=function(e){var t=this.props,n=t.format,r=t.decimalScale,o=t.fixedDecimalScale,i=t.allowEmptyFormatting,a=this.props,s=a.value,c=a.isNumericString,u=!(s=xn(s)?e:s)&&0!==s;return u&&i&&(s=""),u&&!i?"":("number"==typeof s&&(s=function(e){var t="-"===(e+="")[0]?"-":"";t&&(e=e.substring(1));var n=e.split(/[eE]/g),r=n[0],o=n[1];if(!(o=Number(o)))return t+r;var i=1+o,a=(r=r.replace(".","")).length;return i<0?r="0."+En("0",Math.abs(i))+r:i>=a?r+=En("0",i-a):r=(r.substring(0,i)||"0")+"."+r.substring(i),t+r}(s),c=!0),"Infinity"===s&&c&&(s=""),c&&!n&&"number"==typeof r&&(s=function(e,t,n){if(-1!==["","-"].indexOf(e))return e;var r=-1!==e.indexOf(".")&&t,o=jn(e),i=o.beforeDecimal,a=o.afterDecimal,s=o.hasNagation,c=parseFloat("0."+(a||"0")),u=(a.length<=t?"0."+a:c.toFixed(t)).split(".");return(s?"-":"")+i.split("").reverse().reduce((function(e,t,n){return e.length>n?(Number(e[0])+Number(t)).toString()+e.substring(1,e.length):t+e}),u[0])+(r?".":"")+Pn(u[1]||"",Math.min(t,a.length),n)}(s,r,o)),c?this.formatNumString(s):this.formatInput(s))},t.prototype.formatNegation=function(e){void 0===e&&(e="");var t=this.props.allowNegative,n=new RegExp("(-)"),r=new RegExp("(-)(.)*(-)"),o=n.test(e),i=r.test(e);return e=e.replace(/-/g,""),o&&!i&&t&&(e="-"+e),e},t.prototype.formatInput=function(e){return void 0===e&&(e=""),this.props.format||(e=this.removePrefixAndSuffix(e),e=this.formatNegation(e)),e=this.removeFormatting(e),this.formatNumString(e)},t.prototype.isCharacterAFormat=function(e,t){var n=this.props,r=n.format,o=n.prefix,i=n.suffix,a=n.decimalScale,s=n.fixedDecimalScale,c=this.getSeparators().decimalSeparator;return"string"==typeof r&&"#"!==r[e]||!(r||!(e<o.length||e>=t.length-i.length||a&&s&&t[e]===c))},t.prototype.correctInputValue=function(e,t,n){var r=this,o=this.props,i=o.format,a=o.allowNegative,s=o.prefix,c=o.suffix,u=o.decimalScale,l=this.getSeparators(),f=l.allowedDecimalSeparators,p=l.decimalSeparator,d=this.state.numAsString||"",h=this.selectionBeforeInput,m=h.selectionStart,g=h.selectionEnd,v=function(e,t){for(var n=0,r=0,o=e.length,i=t.length;e[n]===t[n]&&n<o;)n++;for(;e[o-1-r]===t[i-1-r]&&i-r>n&&o-r>n;)r++;return{start:n,end:o-r}}(t,n),y=v.start,b=v.end;if(!i&&y===b&&-1!==f.indexOf(n[m])){var w=0===u?"":p;return n.substr(0,m)+w+n.substr(m+1,n.length)}var O=i?0:s.length,x=t.length-(i?0:c.length);if(n.length>t.length||!n.length||y===b||0===m&&g===t.length||0===y&&b===t.length||m===O&&g===x)return n;var S=t.substr(y,b-y);if(!![].concat(S).find((function(e,n){return r.isCharacterAFormat(n+y,t)}))){var j=t.substr(y),P={},E=[];[].concat(j).forEach((function(e,n){r.isCharacterAFormat(n+y,t)?P[n]=e:n>S.length-1&&E.push(e)})),Object.keys(P).forEach((function(e){E.length>e?E.splice(e,0,P[e]):E.push(P[e])})),n=t.substr(0,y)+E.join("")}if(!i){var k=this.removeFormatting(n),C=jn(k,a),T=C.beforeDecimal,D=C.afterDecimal,_=C.addNegation,A=e<n.indexOf(p)+1;if(k.length<d.length&&A&&""===T&&!parseFloat(D))return _?"-":""}return n},t.prototype.updateValue=function(e){var t=e.formattedValue,n=e.input,r=e.setCaretPosition;void 0===r&&(r=!0);var o=e.source,i=e.event,a=e.numAsString,s=e.caretPos,c=this.props.onValueChange,u=this.state.value;if(n){if(void 0===s&&r){var l=e.inputValue||n.value,f=Tn(n);n.value=t,s=this.getCaretPosition(l,t,f)}n.value=t,r&&this.setPatchedCaretPosition(n,s,t)}void 0===a&&(a=this.removeFormatting(t)),t!==u&&(this.setState({value:t,numAsString:a}),c(this.getValueObject(t,a),{event:i,source:o}))},t.prototype.onChange=function(e){var t=e.target,n=t.value,r=this.state,o=this.props,i=o.isAllowed,a=r.value||"",s=Tn(t);n=this.correctInputValue(s,a,n);var c=this.formatInput(n)||"",u=this.removeFormatting(c),l=i(this.getValueObject(c,u));l||(c=a),this.updateValue({formattedValue:c,numAsString:u,inputValue:n,input:t,event:e,source:"event"}),l&&o.onChange(e)},t.prototype.onBlur=function(e){var t=this.props,n=this.state,r=t.format,o=t.onBlur,i=t.allowLeadingZeros,a=n.numAsString,s=n.value;if(this.focusedElm=null,clearTimeout(this.focusTimeout),clearTimeout(this.caretPositionTimeout),!r){isNaN(parseFloat(a))&&(a=""),i||(a=function(e){if(!e)return e;var t="-"===e[0];t&&(e=e.substring(1,e.length));var n=e.split("."),r=n[0].replace(/^0+/,"")||"0",o=n[1]||"";return(t?"-":"")+r+(o?"."+o:"")}(a));var c=this.formatNumString(a);if(c!==s)return this.updateValue({formattedValue:c,numAsString:a,input:e.target,setCaretPosition:!1,event:e,source:"event"}),void o(e)}o(e)},t.prototype.onKeyDown=function(e){var t,n=e.target,r=e.key,o=n.selectionStart,i=n.selectionEnd,a=n.value;void 0===a&&(a="");var s=this.props,c=s.decimalScale,u=s.fixedDecimalScale,l=s.prefix,f=s.suffix,p=s.format,d=s.onKeyDown,h=void 0!==c&&u,m=this.getNumberRegex(!1,h),g=new RegExp("-"),v="string"==typeof p;if(this.selectionBeforeInput={selectionStart:o,selectionEnd:i},"ArrowLeft"===r||"Backspace"===r?t=o-1:"ArrowRight"===r?t=o+1:"Delete"===r&&(t=o),void 0!==t&&o===i){var y=t,b=v?p.indexOf("#"):l.length,w=v?p.lastIndexOf("#")+1:a.length-f.length;if("ArrowLeft"===r||"ArrowRight"===r){var O="ArrowLeft"===r?"left":"right";y=this.correctCaretPosition(a,t,O)}else if("Delete"!==r||m.test(a[t])||g.test(a[t])){if("Backspace"===r&&!m.test(a[t]))if(o<=b+1&&"-"===a[0]&&void 0===p){var x=a.substring(1);this.updateValue({formattedValue:x,caretPos:y,input:n,event:e,source:"event"})}else if(!g.test(a[t])){for(;!m.test(a[y-1])&&y>b;)y--;y=this.correctCaretPosition(a,y,"left")}}else for(;!m.test(a[y])&&y<w;)y++;(y!==t||t<b||t>w)&&(e.preventDefault(),this.setPatchedCaretPosition(n,y,a)),e.isUnitTestRun&&this.setPatchedCaretPosition(n,y,a),d(e)}else d(e)},t.prototype.onMouseUp=function(e){var t=e.target,n=t.selectionStart,r=t.selectionEnd,o=t.value;if(void 0===o&&(o=""),n===r){var i=this.correctCaretPosition(o,n);i!==n&&this.setPatchedCaretPosition(t,i,o)}this.props.onMouseUp(e)},t.prototype.onFocus=function(e){var t=this;e.persist(),this.focusedElm=e.target,this.focusTimeout=setTimeout((function(){var n=e.target,r=n.selectionStart,o=n.selectionEnd,i=n.value;void 0===i&&(i="");var a=t.correctCaretPosition(i,r);a===r||0===r&&o===i.length||t.setPatchedCaretPosition(n,a,i),t.props.onFocus(e)}),0)},t.prototype.render=function(){var e=this.props,t=e.type,n=e.displayType,r=e.customInput,o=e.renderText,i=e.getInputRef,a=e.format,s=(e.thousandSeparator,e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle,e.decimalScale,e.fixedDecimalScale,e.prefix,e.suffix,e.removeFormatting,e.mask,e.defaultValue,e.isNumericString,e.allowNegative,e.allowEmptyFormatting,e.allowLeadingZeros,e.onValueChange,e.isAllowed,e.customNumerals,e.onChange,e.onKeyDown,e.onMouseUp,e.onFocus,e.onBlur,e.value,function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["type","displayType","customInput","renderText","getInputRef","format","thousandSeparator","decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","decimalScale","fixedDecimalScale","prefix","suffix","removeFormatting","mask","defaultValue","isNumericString","allowNegative","allowEmptyFormatting","allowLeadingZeros","onValueChange","isAllowed","customNumerals","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value"])),c=this.state,l=c.value,f=c.mounted&&function(e){return e||"undefined"!=typeof navigator&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}(a)?"numeric":void 0,p=Object.assign({inputMode:f},s,{type:t,value:l,onChange:this.onChange,onKeyDown:this.onKeyDown,onMouseUp:this.onMouseUp,onFocus:this.onFocus,onBlur:this.onBlur});if("text"===n)return o?o(l,s)||null:u().createElement("span",Object.assign({},s,{ref:i}),l);if(r){var d=r;return u().createElement(d,Object.assign({},p,{ref:i}))}return u().createElement("input",Object.assign({},p,{ref:i}))},t}(u().Component);_n.defaultProps=Dn;const An=_n;var Mn,Rn=["immutable"];function In(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}const Zn=(0,v.ZP)((function(e){e.immutable;var t=(0,bn.Z)(e,Rn);return(0,d.jsx)(An,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?In(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):In(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t))})).withConfig({displayName:"StyledNumberEdit"})(Mn||(Mn=(0,g.Z)(["\n && {\n ","\n }\n"])),nn.k9);function Nn(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 Ln(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nn(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Fn=function(e){return 0!==e?Math.ceil(Math.log10(Math.abs(e)+1)):1},Hn=function(e){return null!=e&&!isNaN(parseFloat(e))},Bn=function(e,t,n){return!Hn(n)||!(Hn(t)&&n>t)&&!(Hn(e)&&n<e)},Un=function(e,t){return function(n){var r=n.floatValue;return Fn(r)<Fn(e)||Bn(e,t,r)}};const Wn=(0,F.ZP)(pn.Z.Debouncer((function(e){var t,n=(t=e.intl.locale,{thousandSeparator:1111..toLocaleString(t).replace(/1/g,""),decimalSeparator:1.1.toLocaleString(t).replace(/1/g,"")}),r=n.thousandSeparator,o=n.decimalSeparator,i=e.options||{},a=i.prePointDigits,s=i.postPointDigits,c=i.minValue,u=i.maxValue,l=i.allowNegative,f=i.fixedDecimalScale,p=i.suffix,h=i.prefix,m=i.format,g=function(e,t,n){if(e){var r=Math.pow(10,e)-(t?1/Math.pow(10,t):1);return n&&n>r?n:r}return n}(a,s,u),v=Ln(Ln({isAllowed:Un(c,g),allowNegative:!!l},isNaN(s)?{}:{decimalScale:s}),{},{fixedDecimalScale:!!f});return(0,d.jsx)(nn.gg,{immutable:e.immutable,children:(0,d.jsx)(Zn,Ln(Ln({decimalSeparator:o,disabled:e.immutable,id:e.id,isNumericString:!0,name:e.name,onValueChange:function(t){e.onChange&&Bn(c,g,t.floatValue)&&e.onChange(void 0!==t.floatValue?t.floatValue:null)},immutable:e.immutable,thousandSeparator:r,value:e.value,suffix:p,prefix:h},v),{},{format:m,placeholder:e.placeholder,onBlur:function(t){var n,r=!(n=t.target.value)||isNaN(n)?null:parseFloat(n);e.onChange&&!Bn(c,g,r)&&(t.target.value=null)}}))})}),800));const zn=pn.Z.Debouncer((function(e){var t=e.value,n=e.onChange,r=e.options,o=e.immutable,i=e.name,a=e.id,s=e.placeholder,c=r||{},u=c.minValue,l=c.maxValue,f=c.format,p=c.allowLeadingZeros;return(0,d.jsx)(nn.gg,{immutable:o,children:(0,d.jsx)(Zn,{isAllowed:Un(u,l),allowNegative:!0,decimalScale:0,disabled:o,id:a,name:i,onValueChange:function(e){var t=e.value,r=e.floatValue,o=p?t:r;void 0===o&&(o=null),Bn(u,l,r)&&n(o)},value:t,allowLeadingZeros:p,format:f,placeholder:s})})}),800);var Vn,Gn,qn,$n=n(73891),Yn=n(52931),Xn=n.n(Yn),Kn=n(44066),Jn=v.ZP.div.withConfig({displayName:"StyledLocationEdit"})(Vn||(Vn=(0,g.Z)(["\n && {\n ","\n position: relative;\n\n div {\n :nth-of-type(1) {\n flex: 0 0 13ch;\n margin-right: ",";\n }\n\n :nth-of-type(2) {\n flex: 1 1 auto;\n }\n }\n\n > span {\n flex: 0 0 auto;\n margin-right: ",";\n color: ",";\n }\n\n .react-autosuggest__input {\n ","\n width: 100%;\n }\n\n .react-autosuggest__suggestions-container--open {\n width: calc(100% + 17.5px);\n background-color: ",";\n box-shadow: 0 0 6px ",";\n border: 1px solid ",";\n bottom: -9px;\n left: -10px;\n max-height: 300px;\n overflow-y: auto;\n position: absolute;\n transform: translateY(100%);\n z-index: 2; // higher than StyledIndicatorsContainerWrapper\n }\n\n .react-autosuggest__suggestions-list {\n margin: 0;\n padding: 0;\n list-style-type: none;\n }\n\n .react-autosuggest__suggestion {\n cursor: pointer;\n padding: 8px 12px;\n }\n\n .react-autosuggest__suggestion--highlighted {\n background-color: ",";\n }\n }\n"])),nn.yP,St.Z.space(-2),St.Z.space(-2),(function(e){var t=e.immutable,n=e.theme;return t?(0,an.iy)(on()(n,"colors.text")):on()(n,"colors.text")}),nn.k9,Pt.Z.color("paper"),Pt.Z.color("signal.info.text"),Pt.Z.color("secondaryLight"),(function(e){var t=e.theme;return(0,an.HO)(on()(t,"colors.paper"),1)}));function Qn(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 er(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qn(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const tr=function(e){var t=e.onChange,n=e.options,o=e.value,i=e.id,a=e.immutable,s=e.name,c=function(e){return function(t){return t[e]}},u=function(e){var t=e.state,n=e.country,r=e.postcode,o=e.city,i=t?"- ".concat(t):"",a=n?"/ ".concat(n.display):"";return(0,d.jsxs)(tn.ZP.Span,{children:[r," ",o," ",i," ",a]})},l=function(e){return function(n,i){var a=i.newValue;t(er(er({},o),{},(0,r.Z)({},e,a)))}},f=function(e,n){var r=n.suggestion;t(r)},p=function(e){return function(t){var o=t.value;n.fetchSuggestions((0,r.Z)({},e,o),n.locationValues.country)}},h={id:i,value:o.postcode||"",onChange:l("postcode"),disabled:a},m={value:o.city||"",onChange:l("city"),disabled:a};return(0,d.jsx)(Kn.Z,{children:function(e){var t,r,i,l=e.focused,g=e.getRef;return(0,d.jsxs)(Jn,{immutable:a,name:s,ref:g,children:[(0,d.jsx)(Xn(),{suggestions:n.suggestions||[],onSuggestionsFetchRequested:p("postcode"),getSuggestionValue:c("postcode"),renderSuggestion:u,onSuggestionsClearRequested:function(){},inputProps:h,onSuggestionSelected:f,focusInputOnSuggestionClick:!1,shouldRenderSuggestions:function(e){return e&&!a}}),(l||o.city||o.postcode)&&(Gn||(Gn=(0,d.jsx)(tn.ZP.Span,{children:"/"}))),(0,d.jsx)(Xn(),{suggestions:n.suggestions||[],onSuggestionsFetchRequested:p("city"),getSuggestionValue:c("city"),renderSuggestion:u,onSuggestionsClearRequested:function(){},inputProps:m,onSuggestionSelected:f,focusInputOnSuggestionClick:!1,shouldRenderSuggestions:function(e){return e&&!a}}),(0,d.jsxs)(nn.Wg,{children:[n.isLoading&&(qn||(qn=(0,d.jsx)(Lt.Z,{size:"1.8rem"}))),(i=n.locationValues,Boolean(i.city||i.postcode)&&(0,d.jsx)(Wt.Z,{href:(t=n.locationValues,r=t?Object.values(t).filter(Boolean).map((function(e){return"object"===(0,$n.Z)(e)&&e.display?e.display:e})).join("+"):"","".concat("https://www.google.com/maps/search/?api=1&query=").concat(r)),icon:"map-marked",tabIndex:-1,target:"_blank",dense:!1,title:n.mapButtonTitle||"Show on map",neutral:!0}))]})]})}})};function nr(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}const rr=function(e){return(0,d.jsx)(p.Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nr(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:e.id,isMulti:!0,immutable:e.immutable,onChange:e.onChange,value:e.value},e.options))};function or(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}const ir=function(e){return(0,d.jsx)(p.Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?or(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):or(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:e.id,isMulti:!0,immutable:e.immutable,onChange:e.onChange,value:e.value,openMenuOnClick:!0},e.options))};function ar(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}var sr,cr=n(92546),ur=n.n(cr);const lr=v.ZP.input.attrs((function(e){return{type:"tel"}})).withConfig({displayName:"StyledPhoneEdit"})(sr||(sr=(0,g.Z)(["\n && {\n ","\n }\n"])),nn.k9);const fr=function(e){var t=e.onChange,r=e.value,o=e.immutable,i=e.id,a=e.onLibLoaded,l=on()(e,"options.defaultCountry")||"CH",f=(0,c.useState)(null),p=(0,U.Z)(f,2),h=p[0],m=p[1],g=u().createRef();(0,c.useEffect)((function(){var e=function(){var e,t=(e=ur().mark((function e(){var t;return ur().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([n.e(817),n.e(877)]).then(n.bind(n,80446));case 2:t=e.sent,m(t),a&&a();case 5:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){ar(i,r,o,a,s,"next",e)}function s(e){ar(i,r,o,a,s,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}();e()}),[a]);var v=function(e,t){var n=e.substring(0,t-1).match(/\s/g);return(null==n?void 0:n.length)||0},y=r&&null!=h&&h.AsYouType?new h.AsYouType(l).input(r):r||"";return(0,d.jsxs)(nn.gg,{immutable:o,children:[(0,d.jsx)(lr,{disabled:o||!h,id:i,name,onChange:function(e){var n=e.target.value,o=h?h.parseNumber(n,l):n,i=s()(o)?new h.AsYouType(l).input(n).replace(/\s/g,""):h.formatNumber(o,"E.164");t(i);var a=e.target.selectionStart;!function(e,t,n){if(n&&e.length!==n){var r=new h.AsYouType(l).input(t),o=new h.AsYouType(l).input(e),i=v(r,n),a=v(o,n)-i;window.requestAnimationFrame(function(){var e=n+a;this.setSelectionRange(e,e)}.bind(g.current))}}(n,r,a)},immutable:o||!h,ref:g,value:y}),y&&(0,d.jsx)(nn.Wg,{children:(0,d.jsx)(Wt.Z,{href:"tel:".concat(r),icon:"phone",tabIndex:-1,neutral:!0})})]})};function pr(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}const dr=function(e){return(0,d.jsx)(p.Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pr(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:e.id,isMulti:!1,immutable:e.immutable,onChange:e.onChange,value:e.value},e.options))};function hr(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}const mr=function(e){return(0,d.jsx)(p.Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hr(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({immutable:e.immutable,onChange:e.onChange,value:e.value},e.options))};function gr(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}const vr=function(e){return(0,d.jsx)(p.Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gr(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:e.id,immutable:e.immutable,isMulti:!1,onChange:e.onChange,value:e.value,openMenuOnClick:!0},e.options))};const yr=pn.Z.Debouncer((function(e){return(0,d.jsx)(nn.gg,{immutable:e.immutable,children:(0,d.jsx)(dn,{disabled:e.immutable,id:e.id,name:e.name,onChange:function(t){return e.onChange(t.target.value)},immutable:e.immutable,value:e.value||""})})}));var br=n(23493),wr=n.n(br);const Or=function(){var e,t=(null===(e=navigator)||void 0===e?void 0:e.userAgent)||"";return/^((?!chrome|android).)*safari/i.test(t)};var xr,Sr,jr,Pr=(0,v.iv)(xr||(xr=(0,g.Z)(["\n ","\n width: 100%;\n grid-area: 1 / 1 / 2 / 2;\n max-height: 25rem;\n box-sizing: border-box;\n"])),nn.k9),Er=v.ZP.div.withConfig({displayName:"StyledSizeWrapper"})(Sr||(Sr=(0,g.Z)(["\n display: grid;\n width: 100%;\n\n &:after {\n content: attr(data-replicated-value) ' ';\n white-space: pre-wrap;\n word-break: break-all;\n visibility: hidden;\n ","\n\n /* prevent scrollbar on Firefox */\n padding-right: 15px;\n }\n"])),Pr),kr=v.ZP.textarea.withConfig({displayName:"StyledTextarea"})(jr||(jr=(0,g.Z)(["\n ","\n resize: none;\n margin: 0;\n min-height: 4em;\n"])),Pr);function Cr(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 Tr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cr(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Dr=function(e){var t=e.value,n=e.onChange,r=e.name,o=e.id,i=e.disabled,a=e.immutable,s=(0,c.useState)(t),u=(0,U.Z)(s,2),l=u[0],f=u[1],p=!Or(),h=(0,c.useCallback)(wr()(f,500,{trailing:!0}),[]);return(0,c.useEffect)((function(){p&&h(t)}),[t,p,h]),(0,d.jsx)(Er,Tr(Tr({},p?{"data-replicated-value":l}:{}),{},{children:(0,d.jsx)(kr,{value:t,name:r,id:o,onChange:n,disabled:i,immutable:a,rows:"1"})}))};const _r=pn.Z.Debouncer((function(e){return(0,d.jsx)(nn.gg,{immutable:e.immutable,children:(0,d.jsx)(Dr,{id:e.id,immutable:e.immutable,maxRows:20,name:e.name,onChange:function(t){return e.onChange(t.target.value)},disabled:e.immutable,rows:2,value:e.value})})}));var Ar,Mr=n(2091);const Rr=v.ZP.input.attrs((function(e){return{type:"time"}})).withConfig({displayName:"StyledTimeEdit"})(Ar||(Ar=(0,g.Z)(["\n && {\n ","\n }\n"])),nn.k9);const Ir=function(e){var t=!!window.sidebar,n=e.value&&!e.immutable&&!t,r=e.value||"";return(0,d.jsxs)(nn.gg,{immutable:e.immutable,children:[(0,d.jsx)(Rr,{disabled:e.immutable,id:e.id,immutable:e.immutable,name:e.name,onChange:function(t){e.onChange(t.target.value)},value:r}),n&&(0,d.jsx)(nn.Wg,{children:(0,d.jsx)(Mr.Z,{icon:"times",onClick:function(){e.onChange(null)},tabIndex:-1})})]})};var Zr;const Nr=v.ZP.input.attrs((function(e){return{type:"url"}})).withConfig({displayName:"StyledUrlEdit"})(Zr||(Zr=(0,g.Z)(["\n && {\n ","\n }\n"])),nn.k9);function Lr(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 Fr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lr(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Hr={boolean:b,"boolean-select":h,code:C,date:L,datetime:B,document:Jt,duration:ln,email:hn,html:yn,integer:zn,location:tr,"multi-remote":rr,"multi-select":ir,number:Wn,phone:fr,remote:dr,"search-filter":mr,"single-select":vr,string:yr,text:_r,url:pn.Z.Debouncer((function(e){return(0,d.jsxs)(nn.gg,{immutable:e.immutable,children:[(0,d.jsx)(Nr,{disabled:e.immutable,id:e.id,immutable:e.immutable,name:e.name,onChange:function(t){return e.onChange(((n=(n=t.target.value).toLowerCase()).indexOf(".")>0&&!/^[a-z0-9]+:\/\//.test(n)&&(n="https://".concat(n)),n));var n},value:e.value}),e.value&&(0,d.jsx)(nn.Wg,{children:(0,d.jsx)(Wt.Z,{href:e.value,icon:"external-link",look:"ball",tabIndex:-1,target:"_blank",neutral:!0})})]})})),time:Ir},Br=function(e){return["date","datetime"].includes(e)};const Ur=function(e){var t=e.componentType,n=e.value,r=e.options,o=e.id,a=e.events,u=e.placeholder,l=e.readOnly,f=void 0!==l&&l,p=(0,c.useRef)(void 0),h=(0,c.useCallback)((function(e){Br(t)&&(p.current=e),a.onChange(e)}),[t]);if(Hr[t]){var m=Hr[t];if(a&&a.onBlur){var g=a.onBlur;a.onBlur=function(){var e=Br(t)&&void 0!==p.current?p.current:n;g(e)}}return(0,d.jsx)("div",Fr(Fr({},i()(a,"onChange")),{},{"data-cy":"form-field",children:(0,d.jsx)(m,Fr(Fr({value:n,onChange:h},s()(r)?{}:{options:r}),{},{id:o,immutable:f,placeholder:u,events:a}))}))}return console.log("No type-editor defined for component type",t),null};function Wr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wr(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Vr=function(e){return(0,d.jsx)(nn.ZP,{children:(0,d.jsx)(Ur,zr({componentType:e.type},i()(e,"type")))})}},51032:(e,t,n)=>{"use strict";n.d(t,{Wg:()=>v,ZP:()=>y,gg:()=>h,k9:()=>m,yP:()=>d});var r,o,i,a,s,c,u=n(91411),l=n(58804),f=n(30759),p=n(88601),d=(0,l.iv)(r||(r=(0,u.Z)(["\n align-items: center;\n cursor: ",";\n display: flex;\n"])),(function(e){return e.immutable?"not-allowed":"default"})),h=l.ZP.label.withConfig({displayName:"StyledEditableWrapper"})(o||(o=(0,u.Z)(["\n &&& {\n margin: 0; /* reset Bootstrap and Ext JS */\n padding: 0; /* reset Ext JS */\n ","\n }\n"])),d),m=(0,l.iv)(i||(i=(0,u.Z)(["\n background-color: transparent;\n border: 0;\n cursor: ",";\n flex-grow: 1;\n min-height: 2.6rem;\n min-width: 0;\n outline: 0;\n padding: 0;\n ","\n &::-ms-clear {\n display: none;\n }\n\n &::-webkit-clear-button {\n display: none;\n }\n\n &::-webkit-inner-spin-button {\n display: none;\n }\n\n &[type='number'] {\n appearance: textfield;\n }\n\n &[type='search'] {\n appearance: none;\n }\n\n &:disabled {\n -webkit-text-fill-color: ","; // Safari fix\n opacity: 1; // iOS fix\n }\n\n /* remove indicators */\n &[type='date'],\n &[type='datetime-local'],\n &[type='month'],\n &[type='time'],\n &[type='week'] {\n appearance: none;\n display: flex;\n\n /* reset margin on smaller screens */\n ::-webkit-date-and-time-value {\n ","\n }\n }\n\n // allow pointer event only on touch devices\n @media (pointer: coarse) {\n pointer-events: ",";\n }\n"])),(function(e){return e.immutable?"not-allowed":"default"}),(function(){return(0,f.Z)({color:p.Z.color("text")})}),p.Z.color("text"),(function(e){return e.immutable&&"margin: unset;"}),(function(e){return e.immutable?"none":"auto"})),g=(0,l.iv)(a||(a=(0,u.Z)(["\n display: flex;\n align-items: center;\n"]))),v=l.ZP.div.withConfig({displayName:"StyledEditableControl"})(s||(s=(0,u.Z)(["\n &&& {\n ","\n }\n"])),g),y=l.ZP.span.withConfig({displayName:"StyledEditableValue"})(c||(c=(0,u.Z)(["\n width: 100%;\n\n && {\n //url\n [type='url'] + .input-group-addon > a {\n color: inherit; // reset bootstrap default\n }\n\n //url\n [type='tel'] + .input-group-addon > a {\n color: inherit; // reset bootstrap default\n }\n\n //date\n .date-edit {\n .input-group-addon {\n cursor: pointer;\n }\n\n input {\n z-index: 0;\n }\n\n &.disabled {\n input {\n cursor: not-allowed;\n }\n }\n\n .right-addon {\n position: relative;\n }\n\n .right-addon input {\n padding-right: 30px;\n }\n\n .reset {\n position: absolute;\n padding-right: 10px;\n padding-top: 5px;\n right: 0;\n color: #999;\n font-size: 18px;\n font-style: normal;\n cursor: pointer;\n }\n\n .reset:hover {\n color: ",";\n }\n }\n }\n"])),p.Z.color("signal.danger.text"))},79686:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d,j:()=>p});var r,o=n(91411),i=n(58804),a=n(10535),s=n(69829),c=n(56822),u=n(7281),l=n(88601),f=n(85893),p=(0,i.ZP)(s.Fe).withConfig({displayName:"StyledHtmlFormatter"})(r||(r=(0,o.Z)(["\n &&& {\n ","\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n\n .label {\n background: none !important; // nice2 reset\n font-size: 100% !important; // nice2 reset\n font-weight: "," !important; // nice2 reset\n padding-left: 0 !important; // nice2 reset\n white-space: normal !important; // nice2 reset\n }\n\n .label-danger {\n color: ",";\n }\n\n .label-info {\n color: ",";\n }\n\n .label-warning {\n color: ",";\n }\n\n .label-success {\n color: ",";\n }\n }\n"])),(function(e){return(0,c.L)(e,"html")}),u.Z.space(-1),l.Z.fontWeight("regular"),l.Z.color("signal.danger.text"),l.Z.color("signal.info.text"),l.Z.color("signal.warning.text"),l.Z.color("signal.success.text")),d=function(e){var t=e.value,n=e.breakWords;return(0,f.jsx)(p,{dangerouslySetInnerHTML:{__html:a.Z.sanitizeHtml(t)},breakWords:n})}},88162:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r,o=n(46927),i=n(1024),a=n.n(i),s=n(85893);function c(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 u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=(0,i.lazy)((function(){return Promise.all([n.e(198),n.e(611),n.e(701),n.e(85)]).then(n.bind(n,59178))}));const f=function(e){return(0,s.jsx)(i.Suspense,{fallback:r||(r=(0,s.jsx)(a().Fragment,{})),children:(0,s.jsx)(l,u({},e))})}},11347:(e,t,n)=>{"use strict";n.d(t,{C:()=>u});var r,o=n(91411),i=n(27361),a=n.n(i),s=n(58804),c=n(58664),u=(0,s.iv)(r||(r=(0,o.Z)(["\n ::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n }\n\n ::-webkit-scrollbar-thumb {\n background-color: ",";\n\n &:hover {\n background-color: ",";\n }\n }\n scrollbar-color: "," transparent; // Firefox workaround\n scrollbar-width: thin;\n"])),(function(e){var t=e.theme;return(0,c.HO)(a()(t,"colors.paper"),4)}),(function(e){var t=e.theme;return(0,c.HO)(a()(t,"colors.text"),5)}),(function(e){var t=e.theme;return(0,c.HO)(a()(t,"colors.paper"),4)}))},41291:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r,o=n(88162),i=n(78958),a=n(91411),s=n(58804),c=n(30759),u=n(19704),l=n(88601);const f=s.ZP.a.withConfig({displayName:"StyledLink"})(r||(r=(0,a.Z)(["\n ","\n ","\n\n && {\n color: ",";\n text-decoration: ",";\n\n &:hover,\n &:focus {\n text-decoration: ",";\n }\n\n &:active {\n text-decoration: ",";\n }\n }\n"])),(0,c.Z)(),(function(e){return e.breakWords?(0,u._)():(0,u.l)()}),l.Z.color("text"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}));var p=n(85893),d=function(e){var t=e.alt,n=e.breakWords,r=e.download,a=e.href,s=e.neutral,c=e.onClick,u=e.rel,l=e.tabIndex,d=e.target,h=e.title,m=e.label,g=e.icon,v=e.children;return(0,p.jsxs)(f,{alt:t,breakWords:n,download:r,href:a,neutral:s,onClick:c,rel:u,tabIndex:l,target:d,title:h||(n?void 0:m),children:[g&&(0,p.jsx)(o.Z,{icon:g,position:i.Z.position.PREPEND}),m||v]})};d.defaultProps={breakWords:!0,href:"#",target:"_self"};const h=d},93235:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r,o=n(46927),i=n(1024),a=n.n(i),s=n(85893);function c(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 u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=(0,i.lazy)((function(){return Promise.all([n.e(198),n.e(611),n.e(85)]).then(n.bind(n,81251))}));const f=function(e){return(0,s.jsx)(i.Suspense,{fallback:r||(r=(0,s.jsx)(a().Fragment,{})),children:(0,s.jsx)(l,u({},e))})}},76791:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E});var r,o,i,a=n(46927),s=n(68957),c=n(1024),u=n(30314),l=n.n(u),f=n(32654),p=n(91411),d=n(58804),h=n(79686),m=n(56822),g=n(88601),v=n(7281),y=16,b=d.ZP.div.withConfig({displayName:"StyledBoxWrapper"})(r||(r=(0,p.Z)(["\n && {\n pointer-events: none; // prevent flickering of tooltip\n background-color: ",";\n max-width: 400px;\n z-index: 100000010;\n padding: ",";\n }\n"])),g.Z.color("backgroundPopover"),(function(e){return e.rimless?"0":v.Z.space(0)})),w=d.ZP.div.withConfig({displayName:"StyledBox"})(o||(o=(0,p.Z)(["\n && {\n ",";\n\n &,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p,\n "," {\n color: ",";\n }\n }\n"])),(function(e){return e.isPlainHtml&&(0,m.L)(e,"html")}),h.j,g.Z.color("paper")),O=d.ZP.i.withConfig({displayName:"StyledArrow"})(i||(i=(0,p.Z)(["\n position: absolute;\n width: ","px;\n height: ","px;\n left: 0;\n\n &[data-popper-placement*='bottom'] {\n top: ","px;\n\n &:before {\n border-width: 0 ","px ","px ","px;\n border-color: transparent transparent "," transparent;\n }\n }\n\n &[data-popper-placement*='top'] {\n bottom: ","px;\n\n &:before {\n border-width: ","px ","px 0 ","px;\n border-color: "," transparent transparent transparent;\n }\n }\n\n &[data-popper-placement*='right'] {\n left: -","px;\n top: -6px !important;\n\n &:before {\n border-width: ","px;\n border-color: transparent "," transparent transparent;\n }\n }\n\n &:before {\n content: '';\n display: block;\n border-style: solid;\n width: 0;\n height: 0;\n }\n"])),y,8,-8,8,8,8,g.Z.color("backgroundPopover"),-6.4,8,8,8,g.Z.color("backgroundPopover"),y,8,g.Z.color("backgroundPopover")),x=n(85893);function S(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 j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var P=function(e){var t=e.children,n=e.content,r=e.isPlainHtml,o=e.rimless,i=(0,c.useState)(null),a=(0,s.Z)(i,2),u=a[0],p=a[1],d=(0,c.useState)(null),h=(0,s.Z)(d,2),m=h[0],g=h[1],v=(0,c.useState)(null),y=(0,s.Z)(v,2),S=y[0],P=y[1],E=(0,c.useState)(!1),k=(0,s.Z)(E,2),C=k[0],T=k[1],D=[{name:"offset",options:{offset:[0,8]}},{name:"preventOverflow",options:{padding:10}},{name:"arrow",options:{element:S}}],_=(0,f.D)(u,m,{modifiers:D}),A=_.styles,M=_.attributes;return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("span",{ref:p,onMouseOut:function(){T(!1)},onMouseOver:function(){T(!0)},children:t}),C&&n&&l().createPortal((0,x.jsxs)(b,j(j({ref:g,style:A.popper,rimless:o},M.popper),{},{children:[(0,x.jsx)(w,{isPlainHtml:r,children:n}),(0,x.jsx)(O,j({ref:P,style:A.arrow},M.popper))]})),document.body)]})};P.defaultProps={isPlainHtml:!0,rimless:!1};const E=P},73906:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r,o=n(88162),i=n(34206),a=n(91411),s=n(27361),c=n.n(s),u=n(58804),l=n(7281),f=n(58664);const p=u.ZP.figure.withConfig({displayName:"StyledPreview"})(r||(r=(0,a.Z)(["\n && {\n vertical-align: top;\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n margin: 0; //reset css overwrite\n\n img {\n margin-top: ",";\n border: 1px solid ",";\n max-width: ",";\n max-height: ",";\n min-width: 90px; // prevent collapse to 1px if there is no preview generated\n }\n\n figcaption {\n text-align: center;\n }\n }\n"])),l.Z.space(-2.2),(function(e){var t=e.theme;return(0,f.HO)(c()(t,"colors.paper"),2)}),(function(e){return e.maxDimensionX||"100%"}),(function(e){return e.maxDimensionY||"100%"}));var d,h=n(85893);const m=function(e){var t=e.thumbnailUrl,n=e.alt,r=e.srcUrl,a=(e.fileName,e.caption),s=e.maxDimensionX,c=e.maxDimensionY,u=t?(0,h.jsx)("img",{alt:n,title:n,src:t}):(0,h.jsx)("div",{title:n,children:d||(d=(0,h.jsx)(o.Z,{icon:"file-alt"}))});return(0,h.jsxs)(p,{maxDimensionX:s,maxDimensionY:c,children:[(0,h.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:r,children:u}),a&&(0,h.jsx)(i.ZP.Figcaption,{children:a})]})}},8270:(e,t,n)=>{"use strict";n.d(t,{Z:()=>gn});var r=n(46927),o=n(45915),i=n(68957),a=n(23493),s=n.n(a),c=n(1024),u=n(12864),l=n(56315),f=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];var p=n(3640),d=n(11259),h=n(44822),m=n(32208),g=n(82765);function v(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const y=function(e,t){var n;void 0===t&&(t=v);var r,o=[],i=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}};for(var b={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},w=function(e){return(0,g.tZ)("span",(0,p.Z)({css:b},e))},O={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.isDisabled,o=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(r?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,c=e.isSelected,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(u(a,n),".");if("menu"===t){var l=s?" disabled":"",f="".concat(c?"selected":"focused").concat(l);return"option ".concat(i," ").concat(f,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},x=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,i=e.isFocused,a=e.selectValue,s=e.selectProps,l=e.id,f=s.ariaLiveMessages,p=s.getOptionLabel,d=s.inputValue,h=s.isMulti,m=s.isOptionDisabled,v=s.isSearchable,y=s.menuIsOpen,b=s.options,x=s.screenReaderStatus,S=s.tabSelectsValue,j=s["aria-label"],P=s["aria-live"],E=(0,c.useMemo)((function(){return(0,u.a)((0,u.a)({},O),f||{})}),[f]),k=(0,c.useMemo)((function(){var e,n="";if(t&&E.onChange){var r=t.option,o=t.options,i=t.removedValue,s=t.removedValues,c=t.value,l=i||r||(e=c,Array.isArray(e)?null:e),f=l?p(l):"",d=o||s||void 0,h=d?d.map(p):[],g=(0,u.a)({isDisabled:l&&m(l,a),label:f,labels:h},t);n=E.onChange(g)}return n}),[t,E,m,a,p]),C=(0,c.useMemo)((function(){var e="",t=n||r,o=!!(n&&a&&a.includes(n));if(t&&E.onFocus){var i={focused:t,label:p(t),isDisabled:m(t,a),isSelected:o,options:b,context:t===n?"menu":"value",selectValue:a};e=E.onFocus(i)}return e}),[n,r,p,m,E,b,a]),T=(0,c.useMemo)((function(){var e="";if(y&&b.length&&E.onFilter){var t=x({count:o.length});e=E.onFilter({inputValue:d,resultsMessage:t})}return e}),[o,d,y,E,b,x]),D=(0,c.useMemo)((function(){var e="";if(E.guidance){var t=r?"value":y?"menu":"input";e=E.guidance({"aria-label":j,context:t,isDisabled:n&&m(n,a),isMulti:h,isSearchable:v,tabSelectsValue:S})}return e}),[j,n,r,h,m,v,y,E,a,S]),_="".concat(C," ").concat(T," ").concat(D),A=(0,g.tZ)(c.Fragment,null,(0,g.tZ)("span",{id:"aria-selection"},k),(0,g.tZ)("span",{id:"aria-context"},_)),M="initial-input-focus"===(null==t?void 0:t.action);return(0,g.tZ)(c.Fragment,null,(0,g.tZ)(w,{id:l},M&&A),(0,g.tZ)(w,{"aria-live":P,"aria-atomic":"false","aria-relevant":"additions text"},i&&!M&&A))},S=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],j=new RegExp("["+S.map((function(e){return e.letters})).join("")+"]","g"),P={},E=0;E<S.length;E++)for(var k=S[E],C=0;C<k.letters.length;C++)P[k.letters[C]]=k.base;var T=function(e){return e.replace(j,(function(e){return P[e]}))},D=y(T),_=function(e){return e.replace(/^\s+|\s+$/g,"")},A=function(e){return"".concat(e.label," ").concat(e.value)},M=["innerRef"];function R(e){var t=e.innerRef,n=(0,l.Z)(e,M),r=(0,u.r)(n,"onExited","in","enter","exit","appear");return(0,g.tZ)("input",(0,p.Z)({ref:t},r,{css:(0,g.iv)({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var I=["boxSizing","height","overflow","paddingRight","position"],Z={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function N(e){e.preventDefault()}function L(e){e.stopPropagation()}function F(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function H(){return"ontouchstart"in window||navigator.maxTouchPoints}var B=!("undefined"==typeof window||!window.document||!window.document.createElement),U=0,W={capture:!1,passive:!1};var z=function(){return document.activeElement&&document.activeElement.blur()},V={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function G(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,i=e.onTopLeave,a=(0,c.useRef)(!1),s=(0,c.useRef)(!1),l=(0,c.useRef)(0),f=(0,c.useRef)(null),p=(0,c.useCallback)((function(e,t){if(null!==f.current){var c=f.current,u=c.scrollTop,l=c.scrollHeight,p=c.clientHeight,d=f.current,h=t>0,m=l-p-u,g=!1;m>t&&a.current&&(r&&r(e),a.current=!1),h&&s.current&&(i&&i(e),s.current=!1),h&&t>m?(n&&!a.current&&n(e),d.scrollTop=l,g=!0,a.current=!0):!h&&-t>u&&(o&&!s.current&&o(e),d.scrollTop=0,g=!0,s.current=!0),g&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,i]),d=(0,c.useCallback)((function(e){p(e,e.deltaY)}),[p]),h=(0,c.useCallback)((function(e){l.current=e.changedTouches[0].clientY}),[]),m=(0,c.useCallback)((function(e){var t=l.current-e.changedTouches[0].clientY;p(e,t)}),[p]),g=(0,c.useCallback)((function(e){if(e){var t=!!u.s&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",m,t)}}),[m,h,d]),v=(0,c.useCallback)((function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",m,!1))}),[m,h,d]);return(0,c.useEffect)((function(){if(t){var e=f.current;return g(e),function(){v(e)}}}),[t,g,v]),function(e){f.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,c.useRef)({}),i=(0,c.useRef)(null),a=(0,c.useCallback)((function(e){if(B){var t=document.body,n=t&&t.style;if(r&&I.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&U<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(Z).forEach((function(e){var t=Z[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&H()&&(t.addEventListener("touchmove",N,W),e&&(e.addEventListener("touchstart",F,W),e.addEventListener("touchmove",L,W))),U+=1}}),[r]),s=(0,c.useCallback)((function(e){if(B){var t=document.body,n=t&&t.style;U=Math.max(U-1,0),r&&U<1&&I.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&H()&&(t.removeEventListener("touchmove",N,W),e&&(e.removeEventListener("touchstart",F,W),e.removeEventListener("touchmove",L,W)))}}),[r]);return(0,c.useEffect)((function(){if(t){var e=i.current;return a(e),function(){s(e)}}}),[t,a,s]),function(e){i.current=e}}({isEnabled:n});return(0,g.tZ)(c.Fragment,null,n&&(0,g.tZ)("div",{onClick:z,css:V}),t((function(e){o(e),i(e)})))}var q={clearIndicator:u.b,container:u.d,control:u.e,dropdownIndicator:u.f,group:u.g,groupHeading:u.h,indicatorsContainer:u.i,indicatorSeparator:u.j,input:u.k,loadingIndicator:u.l,loadingMessage:u.m,menu:u.n,menuList:u.o,menuPortal:u.p,multiValue:u.q,multiValueLabel:u.t,multiValueRemove:u.u,noOptionsMessage:u.v,option:u.w,placeholder:u.x,singleValue:u.y,valueContainer:u.z};var $,Y={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},X={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,u.A)(),captureMenuScroll:!(0,u.A)(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=(0,u.a)({ignoreCase:!0,ignoreAccents:!0,stringify:A,trim:!0,matchFrom:"any"},$),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,c=a?_(t):t,l=a?_(i(e)):i(e);return r&&(c=c.toLowerCase(),l=l.toLowerCase()),o&&(c=D(c),l=T(l)),"start"===s?l.substr(0,c.length)===c:l.indexOf(c)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!(0,u.B)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0};function K(e,t,n,r){return{type:"option",data:t,isDisabled:re(e,t,n),isSelected:oe(e,t,n),label:te(e,t),value:ne(e,t),index:r}}function J(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return K(e,n,t,r)})).filter((function(t){return ee(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=K(e,n,t,r);return ee(e,i)?i:void 0})).filter(u.H)}function Q(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,(0,o.Z)(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function ee(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!ae(e)||!i)&&ie(e,{label:a,value:s,data:o},r)}var te=function(e,t){return e.getOptionLabel(t)},ne=function(e,t){return e.getOptionValue(t)};function re(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function oe(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=ne(e,t);return n.some((function(t){return ne(e,t)===r}))}function ie(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ae=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},se=1,ce=function(e){(0,m.Z)(n,e);var t=(0,u._)(n);function n(e){var r;return(0,d.Z)(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,i=n.name;t.name=i,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e,t,n){var o=r.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,a=t.name,s=r.state.selectValue,c=i&&r.isOptionSelected(e,s),l=r.isOptionDisabled(e,s);if(c){var f=r.getOptionValue(e);r.setValue((0,u.C)(s.filter((function(e){return r.getOptionValue(e)!==f}))),"deselect-option",e)}else{if(l)return void r.ariaOnChange((0,u.D)(e),{action:"select-option",option:e,name:a});i?r.setValue((0,u.C)([].concat((0,o.Z)(s),[e])),"select-option",e):r.setValue((0,u.D)(e),"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),i=n.filter((function(e){return r.getOptionValue(e)!==o})),a=(0,u.E)(t,i,i[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange((0,u.E)(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),i=(0,u.E)(e,o,o[0]||null);r.onChange(i,{action:"pop-value",removedValue:n})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return u.F.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return te(r.props,e)},r.getOptionValue=function(e){return ne(r.props,e)},r.getStyles=function(e,t){var n=q[e](t);n.boxSizing="border-box";var o=r.props.styles[e];return o?o(n,t):n},r.getElementId=function(e){return"".concat(r.instancePrefix,"-").concat(e)},r.getComponents=function(){return(0,u.G)(r.props)},r.buildCategorizedOptions=function(){return J(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Q(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:(0,u.a)({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,o=t.menuIsOpen;r.focusInput(),o?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout((function(){return r.focusInput()})))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,u.I)(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),i=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||i>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){r.blockOptionHover||r.state.focusedOption===e||r.setState({focusedOption:e})},r.shouldHideSelectedOptions=function(){return ae(r.props)},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,c=t.isDisabled,u=t.menuIsOpen,l=t.onKeyDown,f=t.tabSelectsValue,p=t.openMenuOnFocus,d=r.state,h=d.focusedOption,m=d.focusedValue,g=d.selectValue;if(!(c||"function"==typeof l&&(l(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)r.removeValue(m);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!u||!f||!h||p&&r.isOptionSelected(h,g))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(u){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":u?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&i&&r.clearValue();break;case" ":if(a)return;if(!u){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":u?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":u?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!u)return;r.focusOption("pageup");break;case"PageDown":if(!u)return;r.focusOption("pagedown");break;case"Home":if(!u)return;r.focusOption("first");break;case"End":if(!u)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.instancePrefix="react-select-"+(r.props.instanceId||++se),r.state.selectValue=(0,u.J)(e.value),r}return(0,h.Z)(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,u.K)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Y):(0,u.a)((0,u.a)({},Y),this.props.theme):Y}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,o=this.selectOption,i=this.setValue,a=this.props,s=a.isMulti,c=a.isRtl,u=a.options;return{clearValue:e,cx:t,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:c,options:u,selectOption:o,selectProps:a,setValue:i,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return re(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return oe(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ie(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,i=e.tabIndex,a=e.form,s=e.menuIsOpen,l=this.getComponents().Input,f=this.state,d=f.inputIsHidden,h=f.ariaSelection,m=this.commonProps,g=r||this.getElementId("input"),v=(0,u.a)((0,u.a)((0,u.a)({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],role:"combobox"},s&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?c.createElement(l,(0,p.Z)({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:t,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:o},v)):c.createElement(R,(0,p.Z)({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:u.L,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:a,value:""},v))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,i=t.MultiValueRemove,a=t.SingleValue,s=t.Placeholder,u=this.commonProps,l=this.props,f=l.controlShouldRenderValue,d=l.isDisabled,h=l.isMulti,m=l.inputValue,g=l.placeholder,v=this.state,y=v.selectValue,b=v.focusedValue,w=v.isFocused;if(!this.hasValue()||!f)return m?null:c.createElement(s,(0,p.Z)({},u,{key:"placeholder",isDisabled:d,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),g);if(h)return y.map((function(t,a){var s=t===b,l="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return c.createElement(n,(0,p.Z)({},u,{components:{Container:r,Label:o,Remove:i},isFocused:s,isDisabled:d,key:l,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(m)return null;var O=y[0];return c.createElement(a,(0,p.Z)({},u,{data:O,isDisabled:d}),this.formatOptionLabel(O,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return c.createElement(e,(0,p.Z)({},t,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!e||!o)return null;return c.createElement(e,(0,p.Z)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused;return c.createElement(n,(0,p.Z)({},r,{isDisabled:o,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return c.createElement(e,(0,p.Z)({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,i=t.MenuList,a=t.MenuPortal,s=t.LoadingMessage,l=t.NoOptionsMessage,f=t.Option,d=this.commonProps,h=this.state.focusedOption,m=this.props,g=m.captureMenuScroll,v=m.inputValue,y=m.isLoading,b=m.loadingMessage,w=m.minMenuHeight,O=m.maxMenuHeight,x=m.menuIsOpen,S=m.menuPlacement,j=m.menuPosition,P=m.menuPortalTarget,E=m.menuShouldBlockScroll,k=m.menuShouldScrollIntoView,C=m.noOptionsMessage,T=m.onMenuScrollToTop,D=m.onMenuScrollToBottom;if(!x)return null;var _,A=function(t,n){var r=t.type,o=t.data,i=t.isDisabled,a=t.isSelected,s=t.label,u=t.value,l=h===o,m=i?void 0:function(){return e.onOptionHover(o)},g=i?void 0:function(){return e.selectOption(o)},v="".concat(e.getElementId("option"),"-").concat(n),y={id:v,onClick:g,onMouseMove:m,onMouseOver:m,tabIndex:-1};return c.createElement(f,(0,p.Z)({},d,{innerProps:y,data:o,isDisabled:i,isSelected:a,key:v,label:s,type:r,value:u,isFocused:l,innerRef:l?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())_=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,i=t.options,a=t.index,s="".concat(e.getElementId("group"),"-").concat(a),u="".concat(s,"-heading");return c.createElement(n,(0,p.Z)({},d,{key:s,data:o,options:i,Heading:r,headingProps:{id:u,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return A(e,"".concat(a,"-").concat(e.index))})))}if("option"===t.type)return A(t,"".concat(t.index))}));else if(y){var M=b({inputValue:v});if(null===M)return null;_=c.createElement(s,d,M)}else{var R=C({inputValue:v});if(null===R)return null;_=c.createElement(l,d,R)}var I={minMenuHeight:w,maxMenuHeight:O,menuPlacement:S,menuPosition:j,menuShouldScrollIntoView:k},Z=c.createElement(u.M,(0,p.Z)({},d,I),(function(t){var n=t.ref,r=t.placerProps,a=r.placement,s=r.maxHeight;return c.createElement(o,(0,p.Z)({},d,I,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove,id:e.getElementId("listbox")},isLoading:y,placement:a}),c.createElement(G,{captureEnabled:g,onTopArrive:T,onBottomArrive:D,lockEnabled:E},(function(t){return c.createElement(i,(0,p.Z)({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:y,maxHeight:s,focusedOption:h}),_)})))}));return P||"fixed"===j?c.createElement(a,(0,p.Z)({},d,{appendTo:P,controlElement:this.controlRef,menuPlacement:S,menuPosition:j}),Z):Z}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,a=this.state.selectValue;if(i&&!r){if(o){if(n){var s=a.map((function(t){return e.getOptionValue(t)})).join(n);return c.createElement("input",{name:i,type:"hidden",value:s})}var u=a.length>0?a.map((function(t,n){return c.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):c.createElement("input",{name:i,type:"hidden"});return c.createElement("div",null,u)}var l=a[0]?this.getOptionValue(a[0]):"";return c.createElement("input",{name:i,type:"hidden",value:l})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.isFocused,a=t.selectValue,s=this.getFocusableOptions();return c.createElement(x,(0,p.Z)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:a,focusableOptions:s}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,i=this.props,a=i.className,s=i.id,u=i.isDisabled,l=i.menuIsOpen,f=this.state.isFocused,d=this.commonProps=this.getCommonProps();return c.createElement(r,(0,p.Z)({},d,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:f}),this.renderLiveRegion(),c.createElement(t,(0,p.Z)({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:f,menuIsOpen:l}),c.createElement(o,(0,p.Z)({},d,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),c.createElement(n,(0,p.Z)({},d,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,c=e.options,l=e.value,f=e.menuIsOpen,p=e.inputValue,d=e.isMulti,h=(0,u.J)(l),m={};if(n&&(l!==n.value||c!==n.options||f!==n.menuIsOpen||p!==n.inputValue)){var g=f?function(e,t){return Q(J(e,t))}(e,h):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:h,focusedOption:y,focusedValue:v,clearFocusValueOnUpdate:!1}}var b=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},w=i,O=a&&s;return a&&!O&&(w={value:(0,u.E)(d,h,h[0]||null),options:h,action:"initial-input-focus"},O=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(w=null),(0,u.a)((0,u.a)((0,u.a)({},m),b),{},{prevProps:e,ariaSelection:w,prevWasFocused:O})}}]),n}(c.Component);ce.defaultProps=X;var ue=n(4692);var le=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),fe=Math.abs,pe=String.fromCharCode;function de(e){return e.trim()}function he(e,t,n){return e.replace(t,n)}function me(e,t){return e.indexOf(t)}function ge(e,t){return 0|e.charCodeAt(t)}function ve(e,t,n){return e.slice(t,n)}function ye(e){return e.length}function be(e){return e.length}function we(e,t){return t.push(e),e}var Oe=1,xe=1,Se=0,je=0,Pe=0,Ee="";function ke(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Oe,column:xe,length:a,return:""}}function Ce(e,t,n){return ke(e,t.root,t.parent,n,t.props,t.children,0)}function Te(){return Pe=je>0?ge(Ee,--je):0,xe--,10===Pe&&(xe=1,Oe--),Pe}function De(){return Pe=je<Se?ge(Ee,je++):0,xe++,10===Pe&&(xe=1,Oe++),Pe}function _e(){return ge(Ee,je)}function Ae(){return je}function Me(e,t){return ve(Ee,e,t)}function Re(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ie(e){return Oe=xe=1,Se=ye(Ee=e),je=0,[]}function Ze(e){return Ee="",e}function Ne(e){return de(Me(je-1,He(91===e?e+2:40===e?e+1:e)))}function Le(e){for(;(Pe=_e())&&Pe<33;)De();return Re(e)>2||Re(Pe)>3?"":" "}function Fe(e,t){for(;--t&&De()&&!(Pe<48||Pe>102||Pe>57&&Pe<65||Pe>70&&Pe<97););return Me(e,Ae()+(t<6&&32==_e()&&32==De()))}function He(e){for(;De();)switch(Pe){case e:return je;case 34:case 39:return He(34===e||39===e?e:Pe);case 40:41===e&&He(e);break;case 92:De()}return je}function Be(e,t){for(;De()&&e+Pe!==57&&(e+Pe!==84||47!==_e()););return"/*"+Me(t,je-1)+"*"+pe(47===e?e:De())}function Ue(e){for(;!Re(_e());)De();return Me(e,je)}var We="-ms-",ze="-moz-",Ve="-webkit-",Ge="comm",qe="rule",$e="decl";function Ye(e,t){for(var n="",r=be(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Xe(e,t,n,r){switch(e.type){case"@import":case $e:return e.return=e.return||e.value;case Ge:return"";case qe:e.value=e.props.join(",")}return ye(n=Ye(e.children,r))?e.return=e.value+"{"+n+"}":""}function Ke(e,t){switch(function(e,t){return(((t<<2^ge(e,0))<<2^ge(e,1))<<2^ge(e,2))<<2^ge(e,3)}(e,t)){case 5103:return Ve+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ve+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ve+e+ze+e+We+e+e;case 6828:case 4268:return Ve+e+We+e+e;case 6165:return Ve+e+We+"flex-"+e+e;case 5187:return Ve+e+he(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return Ve+e+We+"flex-item-"+he(e,/flex-|-self/,"")+e;case 4675:return Ve+e+We+"flex-line-pack"+he(e,/align-content|flex-|-self/,"")+e;case 5548:return Ve+e+We+he(e,"shrink","negative")+e;case 5292:return Ve+e+We+he(e,"basis","preferred-size")+e;case 6060:return Ve+"box-"+he(e,"-grow","")+Ve+e+We+he(e,"grow","positive")+e;case 4554:return Ve+he(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return he(he(he(e,/(zoom-|grab)/,Ve+"$1"),/(image-set)/,Ve+"$1"),e,"")+e;case 5495:case 3959:return he(e,/(image-set\([^]*)/,Ve+"$1$`$1");case 4968:return he(he(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ve+e+e;case 4095:case 3583:case 4068:case 2532:return he(e,/(.+)-inline(.+)/,Ve+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ye(e)-1-t>6)switch(ge(e,t+1)){case 109:if(45!==ge(e,t+4))break;case 102:return he(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+ze+(108==ge(e,t+3)?"$3":"$2-$3"))+e;case 115:return~me(e,"stretch")?Ke(he(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ge(e,t+1))break;case 6444:switch(ge(e,ye(e)-3-(~me(e,"!important")&&10))){case 107:return he(e,":",":"+Ve)+e;case 101:return he(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ve+(45===ge(e,14)?"inline-":"")+"box$3$1"+Ve+"$2$3$1"+We+"$2box$3")+e}break;case 5936:switch(ge(e,t+11)){case 114:return Ve+e+We+he(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ve+e+We+he(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ve+e+We+he(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ve+e+We+e+e}return e}function Je(e){return Ze(Qe("",null,null,null,[""],e=Ie(e),0,[0],e))}function Qe(e,t,n,r,o,i,a,s,c){for(var u=0,l=0,f=a,p=0,d=0,h=0,m=1,g=1,v=1,y=0,b="",w=o,O=i,x=r,S=b;g;)switch(h=y,y=De()){case 34:case 39:case 91:case 40:S+=Ne(y);break;case 9:case 10:case 13:case 32:S+=Le(h);break;case 92:S+=Fe(Ae()-1,7);continue;case 47:switch(_e()){case 42:case 47:we(tt(Be(De(),Ae()),t,n),c);break;default:S+="/"}break;case 123*m:s[u++]=ye(S)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+l:d>0&&ye(S)-f&&we(d>32?nt(S+";",r,n,f-1):nt(he(S," ","")+";",r,n,f-2),c);break;case 59:S+=";";default:if(we(x=et(S,t,n,u,l,o,s,b,w=[],O=[],f),i),123===y)if(0===l)Qe(S,t,x,x,w,i,f,s,O);else switch(p){case 100:case 109:case 115:Qe(e,x,x,r&&we(et(e,x,x,0,0,o,s,b,o,w=[],f),O),o,O,f,s,r?w:O);break;default:Qe(S,x,x,x,[""],O,f,s,O)}}u=l=d=0,m=v=1,b=S="",f=a;break;case 58:f=1+ye(S),d=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==Te())continue;switch(S+=pe(y),y*m){case 38:v=l>0?1:(S+="\f",-1);break;case 44:s[u++]=(ye(S)-1)*v,v=1;break;case 64:45===_e()&&(S+=Ne(De())),p=_e(),l=ye(b=S+=Ue(Ae())),y++;break;case 45:45===h&&2==ye(S)&&(m=0)}}return i}function et(e,t,n,r,o,i,a,s,c,u,l){for(var f=o-1,p=0===o?i:[""],d=be(p),h=0,m=0,g=0;h<r;++h)for(var v=0,y=ve(e,f+1,f=fe(m=a[h])),b=e;v<d;++v)(b=de(m>0?p[v]+" "+y:he(y,/&\f/g,p[v])))&&(c[g++]=b);return ke(e,t,n,0===o?qe:s,c,u,l)}function tt(e,t,n){return ke(e,t,n,Ge,pe(Pe),ve(e,2,-2),0)}function nt(e,t,n,r){return ke(e,t,n,$e,ve(e,0,r),ve(e,r+1,-1),r)}var rt=function(e,t){return Ze(function(e,t){var n=-1,r=44;do{switch(Re(r)){case 0:38===r&&12===_e()&&(t[n]=1),e[n]+=Ue(je-1);break;case 2:e[n]+=Ne(r);break;case 4:if(44===r){e[++n]=58===_e()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=pe(r)}}while(r=De());return e}(Ie(e),t))},ot=new WeakMap,it=function(e){if("rule"===e.type&&e.parent&&e.length){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ot.get(n))&&!r){ot.set(e,!0);for(var o=[],i=rt(t,o),a=n.props,s=0,c=0;s<i.length;s++)for(var u=0;u<a.length;u++,c++)e.props[c]=o[s]?i[s].replace(/&\f/g,a[u]):a[u]+" "+i[s]}}},at=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},st=[function(e,t,n,r){if(!e.return)switch(e.type){case $e:e.return=Ke(e.value,e.length);break;case"@keyframes":return Ye([Ce(he(e.value,"@","@"+Ve),e,"")],r);case qe:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ye([Ce(he(t,/:(read-\w+)/,":-moz-$1"),e,"")],r);case"::placeholder":return Ye([Ce(he(t,/:(plac\w+)/,":-webkit-input-$1"),e,""),Ce(he(t,/:(plac\w+)/,":-moz-$1"),e,""),Ce(he(t,/:(plac\w+)/,We+"input-$1"),e,"")],r)}return""}))}}];const ct=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||st;var o,i,a={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var c,u,l,f,p=[Xe,(f=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&f(e)})],d=(u=[it,at].concat(r,p),l=be(u),function(e,t,n,r){for(var o="",i=0;i<l;i++)o+=u[i](e,t,n,r)||"";return o});i=function(e,t,n,r){c=n,Ye(Je(e?e+"{"+t.styles+"}":t.styles),d),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new le({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:a,registered:{},insert:i};return h.sheet.hydrate(s),h};n(30314);var ut=(0,c.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,a=e.defaultValue,s=void 0===a?null:a,p=e.inputValue,d=e.menuIsOpen,h=e.onChange,m=e.onInputChange,g=e.onMenuClose,v=e.onMenuOpen,y=e.value,b=(0,l.Z)(e,f),w=(0,c.useState)(void 0!==p?p:n),O=(0,i.Z)(w,2),x=O[0],S=O[1],j=(0,c.useState)(void 0!==d?d:o),P=(0,i.Z)(j,2),E=P[0],k=P[1],C=(0,c.useState)(void 0!==y?y:s),T=(0,i.Z)(C,2),D=T[0],_=T[1],A=(0,c.useCallback)((function(e,t){"function"==typeof h&&h(e,t),_(e)}),[h]),M=(0,c.useCallback)((function(e,t){var n;"function"==typeof m&&(n=m(e,t)),S(void 0!==n?n:e)}),[m]),R=(0,c.useCallback)((function(){"function"==typeof v&&v(),k(!0)}),[v]),I=(0,c.useCallback)((function(){"function"==typeof g&&g(),k(!1)}),[g]),Z=void 0!==p?p:x,N=void 0!==d?d:E,L=void 0!==y?y:D;return(0,u.a)((0,u.a)({},b),{},{inputValue:Z,menuIsOpen:N,onChange:A,onInputChange:M,onMenuClose:I,onMenuOpen:R,value:L})}(e);return c.createElement(ce,(0,p.Z)({ref:t},n))}));c.Component;const lt=ut;var ft=n(58804),pt=n(74806),dt=n(2091),ht=n(85893);function mt(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 gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const vt=(0,pt.ZP)((function(e){var t;return(0,ht.jsx)("span",gt(gt({},e.innerProps),{},{children:(0,ht.jsx)(dt.Z,{icon:"times",tabIndex:-1,"aria-label":(t="client.component.select.clearFieldLabel",e.intl.formatMessage({id:t}))})}))}));var yt=n(24315);function bt(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 wt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Ot=function(e){var t=e.selectProps,n=t.isDisabled,r=t.menuIsOpen;return n?null:(0,ht.jsx)(u.c.DropdownIndicator,wt(wt({},e),{},{children:(0,ht.jsxs)(yt.M6,{children:[(0,ht.jsx)(yt.A,{icon:"chevron-down",visible:!r,tabIndex:-1}),(0,ht.jsx)(yt.A,{icon:"chevron-up",visible:r,tabIndex:-1})]})}))};var xt,St;function jt(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 Pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Et=function(e,t,n){return function(r){r.stopPropagation(),e(t,n)}},kt=function(e,t){return function(n){n.stopPropagation(),e(t)}},Ct=function(e){e.stopPropagation()};const Tt=function(e){var t=e.selectProps,n=t.openAdvancedSearch,r=t.openRemoteCreate,o=t.isDisabled,i=t.hasAdvancedSearch,a=t.createPermission,s=t.value,c=t.isMulti,l=t.inputValue,f=c&&i;return(0,ht.jsx)(yt.HO,{isTopAligned:f,children:(0,ht.jsxs)(u.c.IndicatorsContainer,Pt(Pt({},e),{},{children:[e.children,n&&!o&&(0,ht.jsx)("span",{onTouchEnd:Ct,onMouseDown:Et(n,l,s),children:xt||(xt=(0,ht.jsx)(dt.Z,{icon:"search",tabIndex:-1}))}),a&&!o&&(0,ht.jsx)("span",{onTouchEnd:Ct,onMouseDown:kt(r,s),children:St||(St=(0,ht.jsx)(dt.Z,{icon:"plus",tabIndex:-1}))})]}))})};var Dt,_t=n(93235);const At=function(){return Dt||(Dt=(0,ht.jsx)("span",{children:(0,ht.jsx)(_t.Z,{size:"1.8rem"})}))};var Mt=n(57557),Rt=n.n(Mt);function It(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 Zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?It(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):It(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Nt=function(e){var t=e.selectProps,n=e.children;return(0,ht.jsx)(yt._M,{attachment:"top left",targetAttachment:"bottom left",constraints:[{to:"window",attachment:"together"}],renderTarget:function(e){return(0,ht.jsx)("div",{ref:e})},renderElement:function(r){return(0,ht.jsx)("div",{ref:r,children:(0,ht.jsx)(yt.l2,Zt(Zt({},Rt()(e,["innerRef"])),{},{wrapperWidth:t.wrapperWidth,wrapperHeight:t.wrapperHeight,children:n}))})}})};function Lt(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 Ft(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Ht=function(e){var t=e.selectProps,n=e.children,r=e.theme,o=t.moreOptionsAvailable,i=t.moreOptionsAvailableText;return(0,ht.jsxs)(u.c.MenuList,Ft(Ft({},e),{},{className:"MenuList",children:[n,o&&(0,ht.jsx)(yt.OA,{reactSelectTheme:r,children:i})]}))};var Bt,Ut=n(27361),Wt=n.n(Ut),zt=n(10535),Vt=n(76791),Gt=n(91411);const qt=ft.ZP.span(Bt||(Bt=(0,Gt.Z)(["\n pointer-events: auto;\n cursor: pointer;\n"])));function $t(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 Yt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$t(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$t(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Xt=function(e){var t=e.data,n=e.innerProps,r=e.children,o=e.selectProps,i=o.tooltips,a=o.loadTooltip,s=o.DetailLink,c=Wt()(i,t.key,null),u=(0,ht.jsx)("span",Yt(Yt({},n),{},{children:r})),l=s?(0,ht.jsx)(qt,{onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},children:(0,ht.jsx)(s,{entityKey:t.key,children:(0,ht.jsx)(Vt.Z,{content:c?(0,ht.jsx)("div",{dangerouslySetInnerHTML:{__html:zt.Z.sanitizeHtml(c)}}):null,children:(0,ht.jsx)("span",{onMouseOver:function(){return a&&!c&&a(t.key)},children:u})})})}):u;return(0,ht.jsx)(yt.B1,{children:l})};var Kt=n(47037),Jt=n.n(Kt),Qt=n(14176),en=n.n(Qt),tn=n(46444),nn=n.n(tn),rn=n(70696);function on(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 an(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?on(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):on(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var sn=["linkComp"],cn=function(e,t){var n=rn.Z.difference(e,t),r=en()(Rt()(n,sn),(function(e){return 0===Object.keys(e).length}));return 0===Object.entries(r).length},un=(0,c.memo)((function(e){var t=e.linkComp,n=e.entityKey,r=e.children;return t&&Jt()(n)?(0,ht.jsx)(qt,{onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},children:(0,ht.jsx)(t,{entityKey:n,children:r})}):r}),cn);un.propTypes={children:nn().node,entityKey:nn().any,linkComp:nn().func};const ln=function(e){var t=e.data,n=e.selectProps,r=e.isDisabled,o=e.children,i=n.tooltips,a=n.loadTooltip,s=n.DetailLink,c=Wt()(i,t.key,null);return(0,ht.jsx)(u.c.SingleValue,an(an({},e),{},{children:(0,ht.jsx)(yt.xq,{onMouseOver:function(){return a&&!c&&a(t.key)},isDisabled:r,children:(0,ht.jsx)(Vt.Z,{content:c?(0,ht.jsx)("div",{dangerouslySetInnerHTML:{__html:zt.Z.sanitizeHtml(c)}}):null,children:(0,ht.jsx)(un,{linkComp:s,entityKey:t.key,children:o})})})}))};function fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var pn=function(e){var t;return"Input"===(null==e||null===(t=e.type)||void 0===t?void 0:t.name)};const dn=function(e){var t=e.selectProps,n=e.hasValue,o=e.children,i=t.isMulti,a=t.hasAdvancedSearch,s=t.isDisabled;if(!(i&&a))return(0,ht.jsx)(u.c.ValueContainer,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fn(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e));var l=c.Children.map(o,(function(e){return pn(e)?e:null})),f=c.Children.map(o,(function(e){return pn(e)?null:e})),p=s&&n;return(0,ht.jsxs)(ht.Fragment,{children:[!p&&(0,ht.jsx)(ht.Fragment,{children:l}),(0,ht.jsx)(yt.eQ,{children:f})]})};function hn(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 mn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hn(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const gn=(0,ft.Zz)((function(e){var t=e.fetchOptions,n=e.id,r=e.immutable,a=e.isLoading,u=e.isMulti,l=e.loadTooltip,f=e.moreOptionsAvailable,p=e.moreOptionsAvailableText,d=e.noResultsText,h=e.onChange,m=e.openAdvancedSearch,g=e.options,v=e.searchOptions,y=e.theme,b=e.tooltips,w=e.value,O=e.DetailLink,x=e.createPermission,S=e.openRemoteCreate,j=(0,c.useRef)(null),P=(0,c.useRef)(null),E=function(){var e;return(null===(e=P.current)||void 0===e?void 0:e.clientWidth)||300},k=function(){var e;return(null===(e=P.current)||void 0===e?void 0:e.clientHeight)||35},C=(0,c.useState)(E()),T=(0,i.Z)(C,2),D=T[0],_=T[1],A=(0,c.useState)(k()),M=(0,i.Z)(A,2),R=M[0],I=M[1],Z=function(e){t&&t(e)},N=(0,c.useCallback)(v||function(){},[]),L=(0,c.useCallback)(s()(N,800,{trailing:!0}),[]),F=Boolean(m),H=Boolean(x);return(0,ht.jsx)(yt.sP,{tabIndex:"-1",id:n,onFocus:function(){j.current.focus(),setTimeout((function(){_(E()),I(k())}),0)},children:(0,ht.jsx)(yt.RU,{ref:P,children:(0,ht.jsx)(lt,mn(mn({getOptionLabel:function(e){return e.display},getOptionValue:function(e){return e.key},wrapperWidth:D,wrapperHeight:R,components:{ClearIndicator:vt,LoadingIndicator:At,DropdownIndicator:Ot,IndicatorsContainer:Tt,IndicatorSeparator:null,Menu:Nt,MenuList:Ht,MultiValueLabel:Xt,SingleValue:ln,ValueContainer:dn},noOptionsMessage:function(){return d||" - "},isMulti:u,closeMenuOnSelect:!u,isSearchable:!0},v?{filterOption:function(){return!0}}:{}),{},{isClearable:!0,loadingMessage:function(){return null},placeholder:"",menuShouldScrollIntoView:!1,autoFocus:!1,value:w||null,onChange:function(e){h(e),Z(e)},onInputChange:function(e,t){var n=t.action;v&&e&&L(e,w),""===e&&"input-change"===n&&Z(w)},options:(0,o.Z)(g||[]),isLoading:a,isDisabled:r,ref:j,onMenuOpen:function(){Z(w)},styles:(0,yt.i4)(y),theme:function(e){return(0,yt.$p)(e,y)},loadTooltip:l,tooltips:b,DetailLink:O,hasAdvancedSearch:F,openAdvancedSearch:m,moreOptionsAvailable:f,moreOptionsAvailableText:p,blurInputOnSelect:!1,hasCreatePermission:H,createPermission:x,openRemoteCreate:S,closeMenuOnScroll:function(e){return!e.target.classList.contains("MenuList")}}))})})}))},24315:(e,t,n)=>{"use strict";n.d(t,{$p:()=>B,A:()=>L,B1:()=>H,HO:()=>A,M6:()=>N,OA:()=>I,RU:()=>_,_M:()=>M,eQ:()=>F,i4:()=>U,l2:()=>R,sP:()=>D,xq:()=>Z});var r,o,i,a,s,c,u,l,f,p,d,h,m,g=n(46927),v=n(91411),y=n(76538),b=n(12864),w=n(50855),O=n(58804),x=n(2091),S=n(11347),j=n(88601),P=n(7281),E=n(30759),k=n(58664);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){(0,g.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=O.ZP.div.withConfig({displayName:"StyledReactSelectOuterWrapper"})(r||(r=(0,v.Z)(["\n outline-style: none;\n cursor: ",";\n"])),(function(e){return e.immutable?"not-allowed":"default"})),_=O.ZP.div.withConfig({displayName:"StyledReactSelectInnerWrapper"})(o||(o=(0,v.Z)(["\n outline-style: none;\n"]))),A=O.ZP.div.withConfig({displayName:"StyledIndicatorsContainerWrapper"})(i||(i=(0,v.Z)(["\n position: relative;\n z-index: 1;\n background-color: ",";\n ",";\n"])),j.Z.color("paper"),(function(e){return e.isTopAligned&&(0,O.iv)(a||(a=(0,v.Z)(["\n position: absolute;\n right: 0;\n top: 0;\n "])))})),M=(0,O.ZP)(w.Z).withConfig({displayName:"StyledTether"})(s||(s=(0,v.Z)(["\n && {\n z-index: 1;\n }\n"]))),R=(O.ZP.div.withConfig({displayName:"StyledNonTether"})(c||(c=(0,v.Z)(["\n position: absolute;\n padding-bottom: ",";\n z-index: 2; // higher than StyledTether and StyledIndicatorsContainerWrapper\n"])),P.Z.space(1.5)),(0,O.ZP)(b.c.Menu).withConfig({displayName:"StyledMenu"})(u||(u=(0,v.Z)(["\n && {\n margin: 8px 0 8px -10px;\n width: calc(","px + 20px);\n position: relative;\n\n .tether-target-attached-top & {\n transform: translateY(-","px);\n }\n }\n"])),(function(e){return e.wrapperWidth}),(function(e){return e.wrapperHeight+6}))),I=O.ZP.div.withConfig({displayName:"StyledMoreOptionsAvailable"})(l||(l=(0,v.Z)(["\n && {\n ","\n cursor: default;\n padding: ",";\n }\n"])),(0,E.Z)({color:j.Z.color("signal.warning.text"),lineHeight:"normal"}),(function(e){var t=e.reactSelectTheme;return"".concat(2*t.spacing.baseUnit,"px ").concat(3*t.spacing.baseUnit,"px")})),Z=O.ZP.div.withConfig({displayName:"StyledSingleValueWrapper"})(f||(f=(0,v.Z)(["\n overflow-x: hidden;\n position: relative;\n color: ",";\n"])),(function(e){return e.isDisabled?j.Z.color("text"):"inherit"})),N=O.ZP.div.withConfig({displayName:"StyledDropdownIndicatorWrapper"})(p||(p=(0,v.Z)(["\n && {\n position: relative;\n width: 26px;\n height: 23px;\n }\n"]))),L=(0,O.ZP)(x.Z).withConfig({displayName:"StyledDropdownIndicatorBall"})(d||(d=(0,v.Z)(["\n && {\n position: absolute;\n top: 0;\n left: 0;\n transform: ",";\n }\n"])),(function(e){return e.visible?"scale(1)":"scale(0)"})),F=O.ZP.div.withConfig({displayName:"StyledMultiValueWrapper"})(h||(h=(0,v.Z)(["\n overflow: hidden;\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n"]))),H=O.ZP.span.withConfig({displayName:"StyledMultiValueLabelWrapper"})(m||(m=(0,v.Z)(["\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n"]))),B=function(e,t){return T(T({},e),{},{borderRadius:0,colors:T(T({},e.colors),{},{primary:t.colors.signal.info.text,primary75:t.colors.signal.info.text,primary50:t.colors.signal.info.paper,primary25:t.colors.signal.info.paper,danger:t.colors.signal.danger.text,dangerLight:t.colors.signal.danger.paper})})},U=function(e){var t=(0,k.xn)(e.colors.paper),n=(0,k.xn)(e.colors.text,{action:(0,y.H3)(e.colors.paper)>.5?"darken":"lighten"}),r=(0,k.iy)(e.colors.text),o=P.Z.space(-1)({theme:e}),i=P.Z.space(-2)({theme:e}),a={color:n[0],fontFamily:e.fontFamily.regular,fontSize:"".concat(e.fontSize.base,"rem"),fontWeight:e.fontWeights.regular,lineHeight:e.lineHeights.regular},s=function(e){return e.isMulti&&e.selectProps.hasAdvancedSearch},c=function(t){return T(T({},t),{},{color:e.colors.signal.warning.text,cursor:"default",textAlign:"left"})};return{container:function(e,t){return T(T(T({},e),a),{},{outline:0})},control:function(e,n){return T(T({},e),{},{backgroundColor:t[0],borderWidth:0,boxShadow:null,minHeight:0,flexWrap:"nowrap",position:"relative",display:s(n)?"block":e.display})},noOptionsMessage:c,loadingMessage:c,option:function(n,r){var o=t[0];return r.isSelected?o=t[2]:r.isFocused&&(o=t[1]),T(T({},n),{},{color:e.colors.text,backgroundColor:o,cursor:"pointer",":active":{backgroundColor:r.isSelected?t[2]:t[1]}})},indicatorsContainer:function(e,t){return T(T({},e),{},{alignSelf:"flex-end","> *":{padding:"0 !important;",marginRight:i},"> :last-child":{marginRight:"-".concat(i)}})},input:function(e,t){var n=50;return t.selectProps.hasAdvancedSearch&&(n+=25),t.selectProps.hasCreatePermission&&(n+=25),T(T(T({},e),{},{minHeight:"2.6rem"},s(t)?{width:"calc(100% - ".concat(n,"px)")}:{}),{},{overflow:"hidden"})},menu:function(t,n){return{backgroundColor:e.colors.paper,boxShadow:"0 0 6px ".concat(e.colors.signal.info.text)}},menuList:function(t,n){return T(T(T({},t),a),{},{border:"1px solid ".concat(e.colors.signal.info.text),padding:"0"},S.C)},multiValue:function(e,t){return T(T({},e),{},{borderRadius:0,margin:"".concat(o," ").concat(i," 0 0"),justifyContent:"space-between"},s(t)&&!t.isDisabled?{width:"100%",maxWidth:"300px"}:{})},multiValueLabel:function(e,t){return T(T({},e),{},{borderRadius:0,color:t.isDisabled?r:n[0],fontSize:"inherit",lineHeight:1.8})},multiValueRemove:function(e,r){return T(T({},e),{},{borderRadius:0,color:n[0],display:r.isDisabled?"none":"flex",":hover":T(T({},e[":hover"]),{},{color:n[1],backgroundColor:t[2],cursor:"pointer"})})},singleValue:function(e,t){return T(T({},e),{},{color:t.isDisabled?r:n[0],margin:0})},valueContainer:function(e,t){return T(T({},e),{},{padding:0,margin:0})}}}},54608:(e,t,n)=>{"use strict";n.d(t,{Qt:()=>O,XU:()=>y,eX:()=>w,hi:()=>S,qQ:()=>x,xD:()=>b});var r,o,i,a,s,c,u,l=n(91411),f=n(58804),p=n(7281),d=n(30759),h=n(88601),m=n(19704),g=function(e){var t;switch(e.styledLike){case"H1":t=p.Z.font(5)(e);break;case"H2":t=p.Z.font(4)(e);break;case"H3":t=p.Z.font(3)(e);break;case"H4":t=p.Z.font(2)(e);break;case"H5":t=p.Z.font(1)(e);break;default:t=p.Z.font(0)(e)}return(0,d.Z)({fontWeight:h.Z.fontWeight("bold"),fontSize:t})},v=function(e){return(0,f.iv)(r||(r=(0,l.Z)(["\n margin-top: ",";\n margin-bottom: ",";\n\n h1 + &,\n h2 + &,\n h3 + &,\n h4 + &,\n h5 + &,\n h6 + & {\n margin-top: 0;\n }\n\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n"])),p.Z.space(0),p.Z.space(-1))},y=f.ZP.h1.withConfig({displayName:"StyledH1"})(o||(o=(0,l.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return g(e)}),(function(e){return v()}),(function(e){return e.breakWords?(0,m._)():(0,m.l)()})),b=f.ZP.h2.withConfig({displayName:"StyledH2"})(i||(i=(0,l.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return g(e)}),(function(e){return v()}),(function(e){return e.breakWords?(0,m._)():(0,m.l)()})),w=f.ZP.h3.withConfig({displayName:"StyledH3"})(a||(a=(0,l.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return g(e)}),(function(e){return v()}),(function(e){return e.breakWords?(0,m._)():(0,m.l)()})),O=f.ZP.h4.withConfig({displayName:"StyledH4"})(s||(s=(0,l.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return g(e)}),(function(e){return v()}),(function(e){return e.breakWords?(0,m._)():(0,m.l)()})),x=f.ZP.h5.withConfig({displayName:"StyledH5"})(c||(c=(0,l.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return g(e)}),(function(e){return v()}),(function(e){return e.breakWords?(0,m._)():(0,m.l)()})),S=f.ZP.h6.withConfig({displayName:"StyledH6"})(u||(u=(0,l.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return g(e)}),(function(e){return v()}),(function(e){return e.breakWords?(0,m._)():(0,m.l)()}))},37188:(e,t,n)=>{"use strict";n.d(t,{DM:()=>g,EF:()=>b,XT:()=>y,_2:()=>v,hc:()=>x,mJ:()=>O});var r,o,i,a,s,c,u,l=n(91411),f=n(58804),p=n(30759),d=n(19704),h=n(7281),m=n(88601),g=f.ZP.dd.withConfig({displayName:"StyledDd"})(r||(r=(0,l.Z)(["\n && {\n ","\n ","\n margin: 0;\n }\n"])),(0,p.Z)(),(function(e){return e.breakWords?(0,d._)():(0,d.l)()})),v=f.ZP.dl.withConfig({displayName:"StyledDl"})(o||(o=(0,l.Z)(["\n && {\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),h.Z.space(-1)),y=f.ZP.dt.withConfig({displayName:"StyledDt"})(i||(i=(0,l.Z)(["\n && {\n ","\n ","\n margin: 0;\n }\n"])),(0,p.Z)({fontWeight:m.Z.fontWeight("bold")}),(function(e){return e.breakWords?(0,d._)():(0,d.l)()})),b=f.ZP.li.withConfig({displayName:"StyledLi"})(a||(a=(0,l.Z)(["\n && {\n ","\n ","\n }\n"])),(0,p.Z)(),(0,d._)()),w=f.ZP.ol.withConfig({displayName:"StyledList"})(s||(s=(0,l.Z)(["\n && {\n display: block;\n list-style-position: outside;\n margin: 0 0 "," 1.6rem;\n padding: 0;\n\n &&,\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),h.Z.space(-1)),O=(0,f.ZP)(w).withConfig({displayName:"StyledOl"})(c||(c=(0,l.Z)(["\n list-style-type: decimal;\n"]))),x=(0,f.ZP)(w).withConfig({displayName:"StyledUl"})(u||(u=(0,l.Z)(["\n && {\n list-style-type: disc;\n }\n"])))},69829:(e,t,n)=>{"use strict";n.d(t,{Bs:()=>L,Fe:()=>$,GI:()=>ee,HK:()=>K,HV:()=>te,IV:()=>G,Kf:()=>N,Te:()=>H,Ts:()=>Z,UB:()=>X,Vg:()=>I,Xv:()=>Q,_B:()=>z,ar:()=>U,gr:()=>B,kO:()=>Y,kQ:()=>W,nb:()=>q,nr:()=>V,q_:()=>R,xr:()=>F,z2:()=>J});var r,o,i,a,s,c,u,l,f,p,d,h,m,g,v,y,b,w,O,x,S,j,P=n(91411),E=n(27361),k=n.n(E),C=n(58804),T=n(30759),D=n(88601),_=n(19704),A=n(7281),M=n(58664),R=C.ZP.b.withConfig({displayName:"StyledB"})(r||(r=(0,P.Z)(["\n && {\n ","\n }\n ","\n"])),(0,T.Z)({fontWeight:D.Z.fontWeight("bold")}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),I=C.ZP.code.withConfig({displayName:"StyledCode"})(o||(o=(0,P.Z)(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n padding: "," ",";\n }\n"])),(0,T.Z)({fontFamily:D.Z.fontFamily("monospace"),fontSize:A.Z.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()}),(function(e){return(0,M.HO)(k()(e.theme,"colors.paper"),1)}),D.Z.radii("regular"),A.Z.space(-4),A.Z.space(-2)),Z=C.ZP.del.withConfig({displayName:"StyledDel"})(i||(i=(0,P.Z)(["\n && {\n ","\n ","\n text-decoration: line-through;\n }\n"])),(0,T.Z)(),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),N=C.ZP.em.withConfig({displayName:"StyledEm"})(a||(a=(0,P.Z)(["\n && {\n ","\n ","\n }\n"])),(0,T.Z)({fontStyle:"italic"}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),L=C.ZP.figcaption.withConfig({displayName:"StyledFigcaption"})(s||(s=(0,P.Z)(["\n && {\n ","\n ","\n margin: "," 0 "," 0;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,T.Z)({fontSize:A.Z.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()}),A.Z.space(-2),A.Z.space(-1)),F=C.ZP.i.withConfig({displayName:"StyledI"})(c||(c=(0,P.Z)(["\n && {\n ","\n ","\n }\n"])),(0,T.Z)({fontStyle:"italic"}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),H=C.ZP.ins.withConfig({displayName:"StyledIns"})(u||(u=(0,P.Z)(["\n && {\n ","\n ","\n text-decoration: underline;\n }\n"])),(0,T.Z)(),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),B=C.ZP.kbd.withConfig({displayName:"StyledKbd"})(l||(l=(0,P.Z)(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n padding: "," ",";\n vertical-align: text-top;\n }\n"])),(0,T.Z)({fontFamily:D.Z.fontFamily("monospace"),fontSize:A.Z.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()}),(function(e){return(0,M.HO)(k()(e.theme,"colors.paper"),2)}),D.Z.radii("regular"),A.Z.space(-4),A.Z.space(-2)),U=C.ZP.label.withConfig({displayName:"StyledLabel"})(f||(f=(0,P.Z)(["\n && {\n ","\n ","\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,T.Z)(),(function(e){return e.breakWords?(0,_._)():(0,_.l)()}),A.Z.space(-1)),W=C.ZP.mark.withConfig({displayName:"StyledMark"})(p||(p=(0,P.Z)(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n padding: "," ",";\n }\n"])),(0,T.Z)({fontFamily:D.Z.fontFamily("monospace")}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()}),D.Z.color("signal.info.paper"),D.Z.radii("regular"),A.Z.space(-4),A.Z.space(-2)),z=C.ZP.p.withConfig({displayName:"StyledP"})(d||(d=(0,P.Z)(["\n && {\n ","\n ","\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,T.Z)(),(function(e){return e.breakWords?(0,_._)():(0,_.l)()}),A.Z.space(-1)),V=C.ZP.pre.withConfig({displayName:"StyledPre"})(h||(h=(0,P.Z)(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n border: 1px solid ",";\n display: block;\n margin: 0 0 ",";\n padding: "," ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,T.Z)({fontFamily:D.Z.fontFamily("monospace"),fontSize:A.Z.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()}),(function(e){return(0,M.HO)(k()(e.theme,"colors.paper"),1)}),D.Z.radii("regular"),(function(e){return(0,M.HO)(k()(e.theme,"colors.paper"),2)}),A.Z.space(-1),A.Z.space(-3),A.Z.space(-2)),G=C.ZP.s.withConfig({displayName:"StyledS"})(m||(m=(0,P.Z)(["\n && {\n ","\n ","\n text-decoration: line-through;\n }\n"])),(0,T.Z)(),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),q=C.ZP.small.withConfig({displayName:"StyledSmall"})(g||(g=(0,P.Z)(["\n && {\n ","\n font-size: calc(1em / ",");\n ","\n }\n"])),(0,T.Z)(),D.Z.fontSize("factor"),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),$=C.ZP.span.withConfig({displayName:"StyledSpan"})(v||(v=(0,P.Z)(["\n && {\n ","\n ","\n }\n"])),(0,T.Z)(),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),Y=C.ZP.sub.withConfig({displayName:"StyledSub"})(y||(y=(0,P.Z)(["\n && {\n ","\n ","\n line-height: 0;\n position: relative;\n bottom: -0.25em;\n vertical-align: baseline;\n }\n"])),(0,T.Z)({fontSize:A.Z.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),X=C.ZP.sup.withConfig({displayName:"StyledSup"})(b||(b=(0,P.Z)(["\n && {\n ","\n ","\n line-height: 0;\n position: relative;\n top: -0.5em;\n vertical-align: baseline;\n }\n"])),(0,T.Z)({fontSize:A.Z.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),K=C.ZP.strong.withConfig({displayName:"StyledStrong"})(w||(w=(0,P.Z)(["\n && {\n ","\n ","\n }\n"])),(0,T.Z)({fontWeight:D.Z.fontWeight("bold")}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),J=C.ZP.time.withConfig({displayName:"StyledTime"})(O||(O=(0,P.Z)(["\n && {\n ","\n ","\n }\n"])),(0,T.Z)(),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),Q=C.ZP.u.withConfig({displayName:"StyledU"})(x||(x=(0,P.Z)(["\n && {\n ","\n ","\n text-decoration: underline;\n }\n"])),(0,T.Z)(),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),ee=C.ZP.var.withConfig({displayName:"StyledVar"})(S||(S=(0,P.Z)(["\n && {\n ","\n ","\n\n &:after {\n content: ']';\n }\n\n &:before {\n content: '[';\n }\n }\n"])),(0,T.Z)({fontFamily:D.Z.fontFamily("monospace"),fontSize:A.Z.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),te=C.ZP.q.withConfig({displayName:"StyledQ"})(j||(j=(0,P.Z)(["\n && {\n ","\n ","\n\n &:after {\n content: close-quote;\n }\n\n &:before {\n content: open-quote;\n }\n }\n"])),(0,T.Z)(),(function(e){return e.breakWords?(0,_._)():(0,_.l)()}))},34206:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>H});var r=n(73891),o=n(1024),i=n.n(o);const a=function e(t){var n="";return i().Children.map(t,(function(t,o){"string"==typeof t?n="".concat(n).concat(t):"object"===(0,r.Z)(t)&&(n="".concat(n).concat(e(t.props.children)))})),n};var s=n(54608),c=n(85893),u=function(e){return(0,c.jsx)(s.XU,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:a(e.children),children:e.children})};u.defaultProps={breakWords:!0,styledLike:"H1"};var l=function(e){return(0,c.jsx)(s.xD,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:a(e.children),children:e.children})};l.defaultProps={breakWords:!0,styledLike:"H2"};var f=function(e){return(0,c.jsx)(s.eX,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:a(e.children),children:e.children})};f.defaultProps={breakWords:!0,styledLike:"H3"};var p=function(e){return(0,c.jsx)(s.Qt,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:a(e.children),children:e.children})};p.defaultProps={breakWords:!0,styledLike:"H4"};var d=function(e){return(0,c.jsx)(s.qQ,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:a(e.children),children:e.children})};d.defaultProps={breakWords:!0,styledLike:"H5"};var h=function(e){return(0,c.jsx)(s.hi,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:a(e.children),children:e.children})};h.defaultProps={breakWords:!0,styledLike:"H6"};var m=n(37188),g=function(e){return(0,c.jsx)(m.DM,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},v=function(e){return(0,c.jsx)(m.XT,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})};g.defaultProps=v.defaultProps={breakWords:!0};var y=n(69829),b=function(e){return(0,c.jsx)(y.q_,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},w=function(e){return(0,c.jsx)(y.Vg,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},O=function(e){return(0,c.jsx)(y.Ts,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},x=function(e){return(0,c.jsx)(y.Kf,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},S=function(e){return(0,c.jsx)(y.Bs,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},j=function(e){return(0,c.jsx)(y.xr,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},P=function(e){return(0,c.jsx)(y.Te,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},E=function(e){return(0,c.jsx)(y.gr,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},k=function(e){return(0,c.jsx)(y.kQ,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},C=function(e){return(0,c.jsx)(y._B,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},T=function(e){return(0,c.jsx)(y.nr,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},D=function(e){return(0,c.jsx)(y.IV,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},_=function(e){return(0,c.jsx)(y.nb,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},A=function(e){return(0,c.jsx)(y.Fe,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},M=function(e){return(0,c.jsx)(y.kO,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},R=function(e){return(0,c.jsx)(y.UB,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},I=function(e){return(0,c.jsx)(y.HK,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},Z=function(e){return(0,c.jsx)(y.z2,{breakWords:e.breakWords,title:e.title,dateTime:e.dateTime,children:e.children})},N=function(e){return(0,c.jsx)(y.Xv,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},L=function(e){return(0,c.jsx)(y.GI,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},F=function(e){return(0,c.jsx)(y.HV,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})};b.defaultProps=w.defaultProps=O.defaultProps=x.defaultProps=S.defaultProps=j.defaultProps=P.defaultProps=E.defaultProps=k.defaultProps=C.defaultProps=T.defaultProps=F.defaultProps=D.defaultProps=_.defaultProps=A.defaultProps=I.defaultProps=M.defaultProps=R.defaultProps=N.defaultProps=L.defaultProps={breakWords:!0},Z.defaultProps={breakWords:!1};const H={H1:u,H2:l,H3:f,H4:p,H5:d,H6:h,Dd:g,Dt:v,Dl:function(e){return(0,c.jsx)(m._2,{children:e.children})},Li:function(e){return(0,c.jsx)(m.EF,{children:e.children})},Ol:function(e){return(0,c.jsx)(m.mJ,{children:e.children})},Ul:function(e){return(0,c.jsx)(m.hc,{as:"ul",children:e.children})},B:b,Code:w,Del:O,Em:x,Figcaption:S,I:j,Ins:P,Kbd:E,Label:function(e){return(0,c.jsx)(y.ar,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),htmlFor:e.for,children:e.children})},Mark:k,P:C,Pre:T,Q:F,S:D,Small:_,Span:A,Strong:I,Sub:M,Sup:R,Time:Z,U:N,Var:L}},56822:(e,t,n)=>{"use strict";n.d(t,{L:()=>c});var r=n(27361),o=n.n(r),i=n(88601),a=n(7281),s=n(58664),c=function(e,t){var n="\n color: ".concat(i.Z.color("text")(e),";\n font-family: ").concat(i.Z.fontFamily("regular")(e),";\n font-size: ").concat(a.Z.font(0)(e),";\n font-style: ","normal",";\n font-weight: ").concat(i.Z.fontWeight("regular")(e),";\n line-height: ").concat(i.Z.lineHeight("regular")(e),";\n\n a {\n color: ").concat(i.Z.color("secondary")(e),";\n\n &:hover,\n &:focus {\n color: ").concat((0,s.HO)(o()(e.theme,"colors.secondary"),1),";\n text-decoration: underline;\n }\n\n &:active {\n color: ").concat((0,s.HO)(o()(e.theme,"colors.secondary"),2),";\n }\n }\n\n b,\n strong {\n font-weight: ").concat(i.Z.fontWeight("bold")(e),"\n }\n\n em,\n i {\n font-style: italic;\n }\n\n u {\n text-decoration: underline;\n }\n\n h1 {font-size: ").concat(a.Z.font(5)(e),";}\n h2 {font-size: ").concat(a.Z.font(4)(e),";}\n h3 {font-size: ").concat(a.Z.font(3)(e),";}\n h4 {font-size: ").concat(a.Z.font(2)(e),";}\n h5 {font-size: ").concat(a.Z.font(1)(e),";}\n h6 {font-size: ").concat(a.Z.font(0)(e),";}\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: ").concat(i.Z.fontWeight("bold")(e),";\n margin-top: ").concat(a.Z.space(0)(e),";\n margin-bottom: ").concat(a.Z.space(-1)(e),";\n\n + h1,\n + h2,\n + h3,\n + h4,\n + h5,\n + h6,\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n p {\n margin-bottom: ").concat(a.Z.space(-1)(e),";\n &:last-child {\n margin-bottom: 0;\n }\n }\n ");return"ckeditor"!==t&&(n="\n ".concat(n,"\n a {\n text-decoration: none; \n }\n\n ol,\n ul {\n display: block;\n list-style-position: outside;\n margin: 0 0 ").concat(a.Z.space(-1)(e)," 1.6rem;\n padding: 0;\n\n ol,\n ul,\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n ol li {\n list-style-type: decimal;\n }\n\n ul li {\n list-style-type: disc;\n }\n ")),n}},40953:(e,t,n)=>{"use strict";n.d(t,{m:()=>s,v:()=>a});var r=n(27361),o=n.n(r),i=n(58664),a={shade0:function(e){var t=e.theme;return o()(t,"colors.text")},shade1:function(e){var t=e.theme;return(0,i.HO)(o()(t,"colors.text"),3.5)},shade2:function(e){var t=e.theme;return(0,i.HO)(o()(t,"colors.text"),5.5)},signal:function(e){var t=e.theme,n=e.signal;return o()(t,"colors.signal.".concat(n,".text"))},hasValue:function(e){var t=e.theme;return o()(t,"colors.signal.info.text")}},s={shade0:function(e){var t=e.theme;return o()(t,"colors.paper")},shade1:function(e){var t=e.theme;return(0,i.HO)(o()(t,"colors.paper"),2)},shade2:function(e){var t=e.theme;return(0,i.HO)(o()(t,"colors.paper"),4)},signal:function(e){var t=e.theme,n=e.signal;return o()(t,"colors.signal.".concat(n,".text"))},isDirty:function(e){var t=e.theme;return o()(t,"colors.secondaryLight")},transparent:function(){return"transparent"}}},30759:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r,o=n(91411),i=n(58804),a=n(88601),s=n(7281);const c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.iv)(r||(r=(0,o.Z)(["\n color: ",";\n font-family: ",";\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n"])),e.color||a.Z.color("text"),e.fontFamily||a.Z.fontFamily("regular"),e.fontSize||s.Z.font(0),e.fontStyle||"normal",e.fontWeight||a.Z.fontWeight("regular"),e.lineHeight||a.Z.lineHeight("regular"))}},58664:(e,t,n)=>{"use strict";n.d(t,{HO:()=>p,iy:()=>d,kk:()=>l,xn:()=>f});var r,o=n(91411),i=n(27361),a=n.n(i),s=n(76538),c=n(58804),u=n(78958),l=function(e){var t=a()(e.theme,"colors.signal.info.text",u.Z.fallbackColors.INFO);return(0,c.iv)(r||(r=(0,o.Z)(["\n transition: border-color ease-in-out 100ms;\n will-change: border-color;\n\n &:focus,\n &:focus-within {\n border-color: ",";\n box-shadow: 0 0 6px ",";\n outline: 0;\n\n /**\n * Disable box-shadow for Safari\n * in order to be able to tab through the form fluently\n */\n @media not all and (min-resolution: 0.001dpcm) {\n @supports (-webkit-appearance: none) {\n box-shadow: none;\n }\n }\n }\n "])),t,(0,s.DZ)(.4,t))},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.Z.fallbackColors.SHADE,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return[t.shadeOffset>=0?p(e,0,t):e,p(e,1,t),p(e,2,t)]},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.Z.fallbackColors.SHADE,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object.assign({},{shadeFactor:.1,shadeOffset:0},n),o=r.action,i=r.shadeFactor,a=r.shadeOffset,c=i*t+a;return"lighten"===o?(0,s.$n)(c,e):"darken"===o||(0,s.H3)(e)>.5?(0,s._j)(c,e):(0,s.$n)(c,e)},d=function(e){return p(e,3,{action:"lighten"})}},19704:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,l:()=>r});var r=function(){return"\n display: inline-block;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"},o=function(){return"\n hyphens: auto;\n overflow-wrap: break-word;\n white-space: normal;\n word-wrap: break-word;\n"}},78958:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r=n(46444),o=n.n(r),i=function(e,t){var n=[];return e.forEach((function(e){t.includes(e)||n.push(e)})),n};const a=function(e,t){var n,r=Object.values(e).sort(),o=Object.keys(t).sort();return r.length>o.length?(n=i(r,o),console.warn("".concat(n.length>1?"Keys":"Key"," ").concat(n.join(" and ")," has to be added to incomplete map.")),!1):r.length<o.length?(n=i(o,r),console.warn("".concat(n.length>1?"Keys":"Key"," ").concat(n.join(" and ")," has to be removed from over-defined map.")),!1):!!r.every((function(e,t){return e===o[t]}))||(n=i(o,r),console.warn("".concat(n.length>1?"Keys":"Key"," ").concat(n.join(" and ")," has to be spelled correctly in map.")),!1)};var s={NONE:"none",SPIN:"spin"},c={BASE:"base",DANGER:"danger",PRIMARY:"primary",SUCCESS:"success",WARNING:"warning",INFO:"info"},u={BASE:"base",PRIMARY:"primary",SECONDARY:"secondary"},l={BOX:"layoutBox",CONTAINER:"layoutContainer",NONE:"none"},f={BALL:"ball",FLAT:"flat",PLAIN:"plain",RAISED:"raised"},p={APPEND:"append",BETWEEN:"between",PREPEND:"prepend",SOLE:"sole"},d=function(e,t){return a(e,t)&&o().oneOf(Object.values(e))},h=o().oneOf(Object.values(s)),m=o().oneOf(Object.values(u)),g=o().oneOf(Object.values(f)),v=o().oneOf(Object.values(p)),y=o().oneOf(Object.values(l));const b={animation:s,animationPropTypes:h,condition:c,conditionPropTypes:function(e){return d(c,e)},ink:u,inkPropTypes:m,layout:l,layoutPropTypes:y,look:f,lookPropTypes:g,fallbackColors:{SHADE:"#000000",INFO:"#0000ff",TEXT:"#010101",PAPER:"#fefefe"},format:{HTML:"html",SVG:"svg"},oneOfPropTypeAndCompletelyMapped:d,position:p,positionPropTypes:v}},97388:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r,o=n(91411),i=n(76538),a=n(58804),s=n(88601),c=function(e,t){return(0,i.XV)(e,s.Z.color("text")({theme:t}),s.Z.color("paper")({theme:t}))};const u=function(e){var t=e.ink,n=e.look,u=e.theme,l=function(e,t,n){return"primary"===e&&"raised"===t?s.Z.color("primary")({theme:n}):"secondary"===e&&"raised"===t?s.Z.color("secondary")({theme:n}):s.Z.color("paper")({theme:n})}(t,n,u),f=function(e,t,n,r){return"primary"===e&&"raised"!==t?s.Z.color("primary")({theme:n}):c(r,n)}(t,n,u,l),p=function(e,t,n){return"primary"!==e&&"raised"===t?"0px 0px 0px 1px ".concat(s.Z.color("secondaryLight")({theme:n})," inset;"):"none"}(t,n,u),d=function(e,t,n){return"raised"===t?"primary"===e?(0,i.$n)(.1,s.Z.color("primary")({theme:n})):s.Z.color("secondaryLight")({theme:n}):(0,i._j)(.1,s.Z.color("paper")({theme:n}))}(t,n,u),h=function(e,t,n,r){return"raised"===t?s.Z.color("paper")({theme:n}):c(r,n)}(0,n,u,l);return(0,a.iv)(r||(r=(0,o.Z)(["\n background: ",";\n color: ",";\n box-shadow: ",";\n outline: none;\n border: none;\n\n &:focus,\n &:hover {\n background: ",";\n color: ",";\n }\n\n &:active,\n &[aria-pressed='true'] {\n background: ",";\n }\n\n &:disabled,\n &[disabled] {\n background: ",";\n color: ",";\n cursor: not-allowed;\n }\n "])),l,f,p,d,h,(0,i.$n)(.1,d),(0,i.nV)(.41,l),(0,i.nV)(.75,f))}},7281:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(59854),o=n.n(r),i=n(88601),a=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"rem";return"".concat(o()(s(t,e,n),3)).concat(r)},s=function(e,t,n){return Math.pow(n,t)*e};const c={declareScale:a,exponentiate:s,font:function(e,t){return function(n){return a(e,i.Z.fontSize("base")(n),i.Z.fontSize("factor")(n),t)}},space:function(e,t){return function(n){return a(e,i.Z.space("base")(n),i.Z.space("factor")(n),t)}}}},88601:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(27361),o=n.n(r),i=n(5435),a=function(e){return 0===Object.keys(e).length?i.Z:e};const s={color:function(e){return function(t){var n=t.theme;return o()(a(n),"colors.".concat(e))}},fontFamily:function(e){return function(t){var n=t.theme;return o()(a(n),"fontFamily.".concat(e))}},fontSize:function(e){return function(t){var n=t.theme;return o()(a(n),"fontSize.".concat(e))}},fontWeight:function(e){return function(t){var n=t.theme;return o()(a(n),"fontWeights.".concat(e))}},lineHeight:function(e){return function(t){var n=t.theme;return o()(a(n),"lineHeights.".concat(e))}},path:function(e){return function(t){var n=t.theme;return o()(a(n),e)}},radii:function(e){return function(t){var n=t.theme;return o()(a(n),"radii.".concat(e))}},space:function(e){return function(t){var n=t.theme;return o()(a(n),"space.".concat(e))}}}},79311:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(23560),o=n.n(r);const i=function(){return window.app&&o()(window.app.getRunEnv)?window.app.getRunEnv():"PRODUCTION"};var a="tocco.cache",s=function(e,t){return"".concat(a,".").concat(e,".").concat(t)},c=function(e,t,n,r){return"PRODUCTION"!==i()?null:r.setItem(s(e,t),JSON.stringify(n))},u=function(e,t,n){var r=n.getItem(s(e,t));if(r)return JSON.parse(r)},l=function(e,t,n){return n.removeItem(s(e,t))},f=function(){return d(sessionStorage)},p=function(){return d(localStorage)},d=function(e){Object.keys(e).filter((function(e){return e.startsWith(a)})).forEach((function(t){return e.removeItem(t)}))};const h={addShortTerm:function(e,t,n){return c(e,t,n,sessionStorage)},addLongTerm:function(e,t,n){return c(e,t,n,localStorage)},getShortTerm:function(e,t){return u(e,t,sessionStorage)},getLongTerm:function(e,t){return u(e,t,localStorage)},removeShortTerm:function(e,t){return l(e,t,sessionStorage)},removeLongTerm:function(e,t){return l(e,t,localStorage)},clearShortTerm:f,clearAll:function(){f(),p()}}},44759:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={log:function(){var e;window.console&&(e=console).log.apply(e,arguments)},logError:function(){if(window.console){var e=console.error||console.log;e.apply(void 0,arguments)}},logWarning:function(){if(window.console){var e=console.warn||console.log;e.apply(void 0,arguments)}}}},86507:(e,t,n)=>{"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function o(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function i(e){o(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}n.d(t,{Z:()=>q});var a={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"halbe Minute",withPreposition:"halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}};const s=function(e,t,n){var r,o=null!=n&&n.addSuffix?a[e].withPreposition:a[e].standalone;return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",String(t)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:"vor "+r:r};function c(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var u={date:c({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:c({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:c({formats:{full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};var l={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"};function f(e){return function(t,n){var r,o=n||{};if("formatting"===(o.context?String(o.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=o.width?String(o.width):i;r=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,c=o.width?String(o.width):e.defaultWidth;r=e.values[c]||e.values[s]}return r[e.argumentCallback?e.argumentCallback(t):t]}}var p={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},d={narrow:p.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:p.wide};function h(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var a,s=i[0],c=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(c)?g(c,(function(e){return e.test(s)})):m(c,(function(e){return e.test(s)}));a=e.valueCallback?e.valueCallback(u):u,a=n.valueCallback?n.valueCallback(a):a;var l=t.slice(s.length);return{value:a,rest:l}}}function m(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function g(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function v(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var o=r[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(o.length);return{value:a,rest:s}}}const y={code:"de",formatDistance:s,formatLong:u,formatRelative:function(e,t,n,r){return l[e]},localize:{ordinalNumber:function(e){return Number(e)+"."},era:f({values:{narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},defaultWidth:"wide"}),quarter:f({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:f({values:p,formattingValues:d,defaultWidth:"wide"}),day:f({values:{narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},defaultWidth:"wide"}),dayPeriod:f({values:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},defaultWidth:"wide",formattingValues:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:v({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e)}}),era:h({matchPatterns:{narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/i,/^n/i]},defaultParseWidth:"any"}),quarter:h({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:h({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:h({matchPatterns:{narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:h({matchPatterns:{narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var b={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};const w=function(e,t,n){var r,o=b[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};var O={date:c({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:c({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:c({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var x={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};const S={code:"en-US",formatDistance:w,formatLong:O,formatRelative:function(e,t,n,r){return x[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:f({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:f({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:f({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:f({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:f({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:v({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:h({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:h({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:h({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:h({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:h({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var j={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}};const P=function(e,t,n){var r,o=j[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",String(t)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"dans "+r:"il y a "+r:r};const E={ordinalNumber:function(e,t){var n=Number(e),r=null==t?void 0:t.unit;if(0===n)return"0";return n+(1===n?r&&["year","week","hour","minute","second"].includes(r)?"ère":"er":"ème")},era:f({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},defaultWidth:"wide"}),quarter:f({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:f({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},defaultWidth:"wide"}),day:f({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:f({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})};const k={ordinalNumber:v({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e)}}),era:h({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:h({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:h({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:h({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:h({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})};var C={date:c({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:c({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:c({formats:{full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var T={lastWeek:"eeee 'la semaine dernière à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'la semaine prochaine à' p",other:"P"};const D={code:"fr-CH",formatDistance:P,formatLong:C,formatRelative:function(e,t,n,r){return T[e]},localize:E,match:k,options:{weekStartsOn:1,firstWeekContainsDate:4}};var _={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}};const A=function(e,t,n){var r,o=_[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"tra "+r:r+" fa":r};var M={date:c({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:c({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:c({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};function R(e,t){o(1,arguments);var n=t||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,c=null==s?0:r(s),u=null==n.weekStartsOn?c:r(n.weekStartsOn);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=i(e),f=l.getUTCDay(),p=(f<u?7:0)+f-u;return l.setUTCDate(l.getUTCDate()-p),l.setUTCHours(0,0,0,0),l}function I(e,t,n){o(2,arguments);var r=R(e,n),i=R(t,n);return r.getTime()===i.getTime()}var Z=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function N(e){return"'"+Z[e]+" alle' p"}var L={lastWeek:function(e,t,n){var r=e.getUTCDay();return I(e,t,n)?N(r):function(e){return 0===e?"'domenica scorsa alle' p":"'"+Z[e]+" scorso alle' p"}(r)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:function(e,t,n){var r=e.getUTCDay();return I(e,t,n)?N(r):function(e){return 0===e?"'domenica prossima alle' p":"'"+Z[e]+" prossimo alle' p"}(r)},other:"P"};const F=function(e,t,n,r){var o=L[e];return"function"==typeof o?o(t,n,r):o};const H={code:"it",formatDistance:A,formatLong:M,formatRelative:F,localize:{ordinalNumber:function(e,t){return Number(e)+"º"},era:f({values:{narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},defaultWidth:"wide"}),quarter:f({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:f({values:{narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},defaultWidth:"wide"}),day:f({values:{narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},defaultWidth:"wide"}),dayPeriod:f({values:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},defaultWidth:"wide",formattingValues:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:v({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:h({matchPatterns:{narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^a/i,/^(d|e)/i]},defaultParseWidth:"any"}),quarter:h({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:h({matchPatterns:{narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:h({matchPatterns:{narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},defaultParseWidth:"any"}),dayPeriod:h({matchPatterns:{narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var B=n(44752),U=function(e){if(!e&&0!==e)return{hours:"",minutes:"",seconds:""};var t=(0,B.DJ)(e/1e3%60,3);e-=1e3*t;var n=parseInt(e/6e4%60);e-=1e3*n*60;var r=parseInt(e/36e5);return(n<0||r<0)&&(t=Math.abs(t)),r<0&&(n=Math.abs(n)),{hours:r,minutes:n,seconds:t}},W=function(e){switch(e){case"fr":return D;case"en":return S;case"it":return H;default:return y}},z=function(e){return W(e).formatLong.date({width:"short"})},V=function(e){return W(e).formatLong.time({width:"short"})},G=function(e){return z(e).replace(/[/.]/g,"")};const q={millisecondsToDuration:U,formatDuration:function(e){var t=U(e),n=t.hours,r=t.minutes,o=t.seconds,i="".concat(n.toString().padStart(2,"0"),":").concat(r.toString().padStart(2,"0")),a="".concat(i,":").concat(o.toFixed(3).padStart(6,"0"));return o?a:i},getDateFnsLocale:W,getLocalizedDateFormat:z,getLocalizedDateFormatWithoutPunctuation:G,getLocalizedDateTimeFormatWithoutPunctuation:function(e){return"".concat(G(e)," ").concat(function(e){return V(e).replace(/[:]/g,"")}(e))},getLocalizedTimeFormat:V,useTwoDigitYear:function(e){return e.replace(/y+/,"yy")},setCurrentTime:function(e){var t=new Date,n=new Date(e);return n=function(e,t){o(2,arguments);var n=i(e),a=r(t);return n.setHours(a),n}(n,function(e){return o(1,arguments),i(e).getHours()}(t)),n=function(e,t){o(2,arguments);var n=i(e),a=r(t);return n.setMinutes(a),n}(n,function(e){return o(1,arguments),i(e).getMinutes()}(t)),n=function(e,t){o(2,arguments);var n=i(e),a=r(t);return n.setSeconds(a),n}(n,0),n=function(e,t){o(2,arguments);var n=i(e),a=r(t);return n.setMilliseconds(a),n}(n,0),n}}},28247:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=function(e,t,n){return"".concat(e).concat(e&&e.indexOf("?")>=0?"&":"?").concat(t,"=").concat(n)};const o={downloadUrl:function(e,t){var n=document.createElement("a");n.href=e,n.download=t||e.split("/").pop(),n.target="_blank",document.body.appendChild(n),n.click(),window.URL.revokeObjectURL&&window.URL.revokeObjectURL(e),n.remove&&n.remove()},downloadReadableStream:function(e,t){var n=document.createElement("a"),r=URL.createObjectURL(e);n.href=r,n.download=t,n.target="_blank",document.body.appendChild(n),n.click(),window.URL.revokeObjectURL&&window.URL.revokeObjectURL(r),n.remove&&n.remove()},openUrl:function(e){var t=document.createElement("a");t.href=e,t.target="_blank",document.body.appendChild(t),t.click(),window.URL.revokeObjectURL&&window.URL.revokeObjectURL(e),t.remove&&t.remove()},downloadSupportedByBrowser:function(){var e=document.createElement("a"),t=void 0!==e.download;return e.remove&&e.remove(),t},getDownloadUrl:function(e){return r(e,"download",!0)},addParameterToURL:r}},85743:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(44759),o=["admin","widget","legacy-widget"],i={backendUrl:void 0,businessUnit:void 0,embedType:"admin"},a=function(e){i.backendUrl=e},s=function(e){i.businessUnit=e},c=function(e){o.includes(e)?i.embedType=e:r.Z.logError("'".concat(e,"' as embedType is not allowed. Allowed embedTypes are: ").concat(o.join(", ")))};const u={getBackendUrl:function(){return i.backendUrl||""},setBackendUrl:a,getBusinessUnit:function(){return i.businessUnit},setBusinessUnit:s,getEmbedType:function(){return i.embedType},setEmbedType:c,NULL_BUSINESS_UNIT:"__n-u-l-l__",ALLOWED_EMBED_TYPES:o,setInputEnvs:function(e){var t,n;(e.backendUrl&&a(e.backendUrl),e.businessUnit&&s(e.businessUnit),null!==(t=e.appContext)&&void 0!==t&&t.embedType)&&c(null===(n=e.appContext)||void 0===n?void 0:n.embedType)}}},10535:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(13615),o=n.n(r),i=["border","border-spacing","padding","margin","text-align","width"];o().addHook("afterSanitizeAttributes",(function(e){if(e&&"function"==typeof e.hasAttribute&&e.hasAttribute("style")){var t=(n=e.style,i.map((function(e){var t=n[e];return t&&"string"==typeof t&&!function(e){return/\w\(/.test(e)}(t)?"".concat(e,":").concat(t,";"):null})).filter(Boolean).join(""));t?e.setAttribute("style",t):e.removeAttribute("style")}var n;return e}));const a=function(e){return e?o().sanitize(e,{FORBID_TAGS:["style"]}):e},s={sanitizeHtml:a}},2100:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var r=n(59713),o=n.n(r),i=n(48926),a=n.n(i),s=n(87757),c=n.n(s),u=n(21101),l=n(79311),f=n(54159);function p(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=["de","fr","en","it"],m=function(){var e=a()(c().mark((function e(t,n,r){var o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=r){e.next=5;break}return e.next=4,y();case 4:o=e.sent;case 5:return e.abrupt("return",v(t,n,o));case 6:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),g=function(){var e=a()(c().mark((function e(t,n,r){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l.Z.clearAll(),v(t,n,r);case 2:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),v=function(){var e=a()(c().mark((function e(t,n,r){var o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O(r,n);case 2:o=e.sent,t.dispatch((0,u.zH)({locale:r.replace("_","-"),messages:o}));case 4:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),y=function(){var e=a()(c().mark((function e(){var t,n,r;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=l.Z.getLongTerm("session","locale"))){e.next=3;break}return e.abrupt("return",t);case 3:return e.next=5,w();case 5:return n=e.sent,r=n.locale,l.Z.addLongTerm("session","locale",r),e.abrupt("return",r);case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),b=function(){var e=a()(c().mark((function e(){var t,n,r;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=l.Z.getLongTerm("session","locale"),e.next=3,w();case 3:return n=e.sent,r=n.locale,l.Z.addLongTerm("session","locale",r),e.abrupt("return",!t||t!==r);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),w=function(){var e=a()(c().mark((function e(){var t,n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.Z.executeRequest("username").then(f.Z.extractBody);case 2:return t=e.sent,n=t.locale,"anonymous"===t.username&&(r=void 0,o=void 0,r=window.navigator.userLanguage||window.navigator.language,o=r.indexOf("-")>0?r.split("-")[0]:r,n=h.includes(o)?o:"en"),e.abrupt("return",d(d({},t),{},{locale:n}));case 6:case"end":return e.stop()}var r,o}),e)})));return function(){return e.apply(this,arguments)}}(),O=function(){var e=a()(c().mark((function e(t,n){var r,i,a;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r={},i=[],n.forEach((function(e){var n=l.Z.getLongTerm("textResource","".concat(t,".").concat(e));n?r=d(d({},r),n):i.push(e)})),!(i.length>0)){e.next=8;break}return e.next=6,x(t,i);case 6:a=e.sent,i.forEach((function(e){var n=Object.keys(a).filter((function(t){return t.match(new RegExp("^client\\."+e+".*","g"))})).reduce((function(e,t){return d(d({},e),{},o()({},t,a[t]))}),{});l.Z.addLongTerm("textResource","".concat(t,".").concat(e),n),r=d(d({},r),n)}));case 8:return e.abrupt("return",r);case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),x=function(e,t){var n="".concat(t.join(",")),r=n?"&module=".concat(n):"",o="textresource?locale=".concat(e).concat(r);return f.Z.executeRequest(o).then(f.Z.extractBody)};const S={initIntl:m,setLocale:v,changeLocale:g,hasUserLocaleChanged:b,localeSelector:function(e){return e.intl.locale},loadUserWithLocale:w}},44752:(e,t,n)=>{"use strict";n.d(t,{DJ:()=>o,MR:()=>r,vQ:()=>i});var r=function(e){return e&&Array.isArray(e)?e.length>0?e[0]:[]:e},o=function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n},i=function(e){return navigator.clipboard?navigator.clipboard.writeText(e):Promise.reject(new Error("navigator.clipboard API not available"))}},70696:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(44752),o=n(50008),i=n.n(o),a=n(18446),s=n.n(a),c=n(68718),u=n.n(c),l=function(e){return"object"===i()(e)&&null!==e};const f={difference:function(e,t){return function e(t,n){return u()(t,(function(t,r,o){s()(r,n[o])||(t[o]=l(r)&&l(n[o])?e(r,n[o]):r)}))}(e,t)},getOrFirst:r.MR,adjustedHTMLString:function(e){return e?e.replace(/&shy;/g,""):e},roundDecimalPlaces:r.DJ,copyToClipboard:r.vQ}},58940:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(44586),o="_tocco_originId";const i={getOriginId:function(){if(sessionStorage.getItem(o))return sessionStorage.getItem(o);var e="".concat("client_","_").concat((0,r.Z)());return sessionStorage.setItem(o,e),e}}},35997:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(59713),o=n.n(r),i=n(63038),a=n.n(i),s=n(1024),c=n.n(s);function u(e,t){var n=(0,s.useState)(e),r=a()(n,2),o=r[0],i=r[1];return(0,s.useEffect)((function(){var n=setTimeout((function(){i(e)}),t);return function(){clearTimeout(n)}}),[e,t]),[o,i]}var l=n(85893);function f(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"onChange",r=c().forwardRef((function(r,i){var c=r.value,f=(0,s.useState)(c),d=a()(f,2),h=d[0],m=d[1],g=u(h,t),v=a()(g,2),y=v[0],b=v[1],w=(0,s.useRef)(c),O=r[n];return(0,s.useEffect)((function(){h!==c&&h===y&&(m(c),w.current=c,b(c))}),[c]),(0,s.useEffect)((function(){w.current!==y&&(O(y),w.current=y)}),[y,O]),(0,l.jsx)(e,p(p(p({},r),{},{value:h},o()({},n,m)),{},{ref:i}))}));return r};const h={useAutofocus:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return(0,s.useEffect)((function(){if(e.current){if(t.selectFulltextFields){var n=e.current.querySelector('input[id$="txtFulltext"]:not([disabled])');if(n)return void n.focus()}var r=e.current.querySelector([':not(.react-datepicker-wrapper) input[type = "text"]:not([disabled])',":not(.react-datepicker-wrapper) textarea:not([disabled])"].join(","));r&&r.focus()}}),n)},useDebounce:u,Debouncer:d,useUserActive:function(e){var t=(0,s.useRef)(null),n=(0,s.useState)(null),r=a()(n,2),o=r[0],i=r[1],c=(0,s.useCallback)((function(){o>0&&(t.current=setTimeout((function(){e()}),o))}),[o,e]),u=(0,s.useCallback)((function(){t.current&&clearTimeout(t.current)}),[]);return(0,s.useEffect)((function(){return u(),window.addEventListener("mousemove",c,{once:!0}),window.addEventListener("touchstart",c,{once:!0}),function(){u()}}),[u,c]),[i,u,c]},usePrevious:function(e){var t=(0,s.useRef)();return(0,s.useEffect)((function(){t.current=e}),[e]),t.current},useDidUpdate:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,s.useRef)(!1);(0,s.useEffect)((function(){n.current?e():n.current=!0}),t)}}},81770:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var r=n(59713),o=n.n(r);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s=n(91966),c=n.n(s),u=n(78718),l=n.n(u),f=n(15857);function p(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(e,t){var n=d(d({},e.allReducers),t),r=(0,f.UY)(n);e.replaceReducer(r),e.dispatch({type:"replaceReducer"}),e.allReducers=n},m=n(36968),g=n.n(m);function v(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 y(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 b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const w={singleTransferReducer:function(e,t){return function(n,r){var i=r.payload[e],a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n);return g()(a,t?t+"."+e:e,i),a}},mappingTransferReducer:function(e,t){return function(n,r){var i=r.payload[e];return a(a({},n),{},o()({},t,i))}},injectReducers:function(e,t){var n=c()(Object.keys(t),Object.keys(e.allReducers));if(n.length>0){var r=d(d({},e.allReducers),l()(t,n));h(e,r)}},hotReloadReducers:h,toggleReducer:function(e){return function(t){return b(b({},t),{},o()({},e,!t[e]))}}}},54159:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(59713),o=n.n(r),i=n(50008),a=n.n(i),s=n(85743),c=n(58940);function u(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={method:"GET",credentials:"include"},p=function(e){var t=function(e){if(e){if(e instanceof Headers)return e;if("object"===a()(e))return new Headers(e)}return new Headers}(e.headers),n=e.body;return t.has("Content-Type")||("string"==typeof n?t.set("Content-Type","text/plain"):n instanceof FormData||t.set("Content-Type","application/json")),t.has("X-Origin-Id")||t.set("X-Origin-Id",c.Z.getOriginId()),!t.has("X-Business-Unit")&&s.Z.getBusinessUnit()&&t.set("X-Business-Unit",s.Z.getBusinessUnit()),t.has("X-Client")||t.set("X-Client","admin"===s.Z.getEmbedType()?"client":"widget"),t},d=function(e,t){return t.startsWith("/")&&(t=t.substring(1)),t.startsWith("http")?t:t.startsWith("nice2")?"".concat(e,"/").concat(t):"".concat(e,"/nice2/").concat(t)},h=function(e){return l(l(l({},f),e),{},{headers:p(e)})};const m={prepareHeaders:p,prepareUrl:d,executeRequest:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=h(t),r=s.Z.getBackendUrl(),o=d(r,e);return fetch(o,n)},extractBody:function(e){return e.json()}}},24688:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=new AbortController;window.addEventListener("beforeunload",(function(){return r.abort()}));var o=n(87757),i=n.n(o),a=n(34857),s=n(44759),c=function(e,t,n){return i().mark((function o(){var c,u,l,f=arguments;return i().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:for(c=f.length,u=new Array(c),l=0;l<c;l++)u[l]=f[l];case 1:return o.prev=2,o.next=5,a.RE.apply(void 0,[e,t].concat(u));case 5:o.next=16;break;case 7:if(o.prev=7,o.t0=o.catch(2),!1!==r.signal.aborted){o.next=16;break}if(!n){o.next=15;break}return o.next=13,(0,a.gz)(n("client.common.unexpectedError","client.common.unexpectedError",o.t0));case 13:o.next=16;break;case 15:s.Z.logError("error",o.t0);case 16:o.next=1;break;case 18:case"end":return o.stop()}}),o,null,[[2,7]])}))};const u={autoRestartSaga:c,createGenerator:function(e){return i().mark((function t(){return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,a.$6)(e);case 2:case"end":return t.stop()}}),t)}))},injectSaga:function(e,t,n){e.sagas.includes(t)||(e.sagas.push(t),e.sagaMiddleware.run(c(t,null,n)))},abortController:r}},36420:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,"@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap);"]),a.push([e.id,"\n","",{version:3,sources:[],names:[],mappings:"",sourceRoot:""}]);const s=a},23645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);r&&a[l[0]]||(void 0!==i&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},87537:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(o," */"),a=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[t].concat(a).concat([i]).join("\n")}return[t].join("\n")}},8679:(e,t,n)=>{"use strict";var r=n(59864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=c(t),m=c(n),g=0;g<a.length;++g){var v=a[g];if(!(i[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=p(n,v);try{u(t,v,y)}catch(e){}}}}return t}},16284:(e,t,n)=>{"use strict";n.d(t,{C:()=>u});var r=n(15145),o=n(35258),i=n(95957),a=n(61092);function s(e,t){return t?Object.keys(e).reduce((function(n,o){var i,a;return n[o]=(i=e[o],(a=t[o])?(0,r.pi)((0,r.pi)((0,r.pi)({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=(0,r.pi)((0,r.pi)({},i[t]),a[t]||{}),e}),{})):i),n}),(0,r.pi)({},e)):e}function c(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}var u=function(){function e(t,n,o,u){var l,f=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=f.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===a.du.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return(0,a.FK)(f.ast,f.locales,f.formatters,f.formats,e,void 0,f.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=f.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(f.locales)[0]}},this.getAst=function(){return f.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==u?void 0:u.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=s(e.formats,o),this.formatters=u&&u.formatters||(void 0===(l=this.formatterCache)&&(l={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,i.Z)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,(0,r.ev)([void 0],t,!1)))}),{cache:c(l.number),strategy:i.A.variadic}),getDateTimeFormat:(0,i.Z)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,r.ev)([void 0],t,!1)))}),{cache:c(l.dateTime),strategy:i.A.variadic}),getPluralRules:(0,i.Z)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,(0,r.ev)([void 0],t,!1)))}),{cache:c(l.pluralRules),strategy:i.A.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=o.Qc,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}()},11050:(e,t,n)=>{"use strict";n.d(t,{C8:()=>a,HR:()=>c,YR:()=>s,jK:()=>r,u_:()=>i});var r,o=n(15145);!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(r||(r={}));var i=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return(0,o.ZT)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),a=function(e){function t(t,n,o,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(o).join('", "'),'"'),r.INVALID_VALUE,i)||this}return(0,o.ZT)(t,e),t}(i),s=function(e){function t(t,n,o){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),r.INVALID_VALUE,o)||this}return(0,o.ZT)(t,e),t}(i),c=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),r.MISSING_VALUE,n)||this}return(0,o.ZT)(t,e),t}(i)},61092:(e,t,n)=>{"use strict";n.d(t,{FK:()=>s,Gt:()=>a,du:()=>r});var r,o=n(35258),i=n(11050);function a(e){return"function"==typeof e}function s(e,t,n,c,u,l,f){if(1===e.length&&(0,o.O4)(e[0]))return[{type:r.literal,value:e[0].value}];for(var p=[],d=0,h=e;d<h.length;d++){var m=h[d];if((0,o.O4)(m))p.push({type:r.literal,value:m.value});else if((0,o.yx)(m))"number"==typeof l&&p.push({type:r.literal,value:n.getNumberFormat(t).format(l)});else{var g=m.value;if(!u||!(g in u))throw new i.HR(g,f);var v=u[g];if((0,o.VG)(m))v&&"string"!=typeof v&&"number"!=typeof v||(v="string"==typeof v||"number"==typeof v?String(v):""),p.push({type:"string"==typeof v?r.literal:r.object,value:v});else if((0,o.rp)(m)){var y="string"==typeof m.style?c.date[m.style]:(0,o.Ii)(m.style)?m.style.parsedOptions:void 0;p.push({type:r.literal,value:n.getDateTimeFormat(t,y).format(v)})}else if((0,o.pe)(m)){y="string"==typeof m.style?c.time[m.style]:(0,o.Ii)(m.style)?m.style.parsedOptions:c.time.medium;p.push({type:r.literal,value:n.getDateTimeFormat(t,y).format(v)})}else if((0,o.uf)(m)){(y="string"==typeof m.style?c.number[m.style]:(0,o.Wh)(m.style)?m.style.parsedOptions:void 0)&&y.scale&&(v*=y.scale||1),p.push({type:r.literal,value:n.getNumberFormat(t,y).format(v)})}else{if((0,o.HI)(m)){var b=m.children,w=m.value,O=u[w];if(!a(O))throw new i.YR(w,"function",f);var x=O(s(b,t,n,c,u,l).map((function(e){return e.value})));Array.isArray(x)||(x=[x]),p.push.apply(p,x.map((function(e){return{type:"string"==typeof e?r.literal:r.object,value:e}})))}if((0,o.Wi)(m)){if(!(S=m.options[v]||m.options.other))throw new i.C8(m.value,v,Object.keys(m.options),f);p.push.apply(p,s(S.value,t,n,c,u))}else if((0,o.Jo)(m)){var S;if(!(S=m.options["=".concat(v)])){if(!Intl.PluralRules)throw new i.u_('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',i.jK.MISSING_INTL_API,f);var j=n.getPluralRules(t,{type:m.pluralType}).select(v-(m.offset||0));S=m.options[j]||m.options.other}if(!S)throw new i.C8(m.value,v,Object.keys(m.options),f);p.push.apply(p,s(S.value,t,n,c,u,v-(m.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===r.literal&&t.type===r.literal?n.value+=t.value:e.push(t),e}),[])}(p)}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(r||(r={}))},15145:(e,t,n)=>{"use strict";n.d(t,{ZT:()=>o,ev:()=>a,pi:()=>i});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.create;function a(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create},41143:e=>{"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,a,s],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},18552:(e,t,n)=>{var r=n(10852)(n(55639),"DataView");e.exports=r},1989:(e,t,n)=>{var r=n(51789),o=n(80401),i=n(57667),a=n(21327),s=n(81866);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},38407:(e,t,n)=>{var r=n(27040),o=n(14125),i=n(82117),a=n(67518),s=n(54705);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},57071:(e,t,n)=>{var r=n(10852)(n(55639),"Map");e.exports=r},83369:(e,t,n)=>{var r=n(24785),o=n(11285),i=n(96e3),a=n(49916),s=n(95265);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},53818:(e,t,n)=>{var r=n(10852)(n(55639),"Promise");e.exports=r},58525:(e,t,n)=>{var r=n(10852)(n(55639),"Set");e.exports=r},88668:(e,t,n)=>{var r=n(83369),o=n(90619),i=n(72385);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},46384:(e,t,n)=>{var r=n(38407),o=n(37465),i=n(63779),a=n(67599),s=n(44758),c=n(34309);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,e.exports=u},62705:(e,t,n)=>{var r=n(55639).Symbol;e.exports=r},11149:(e,t,n)=>{var r=n(55639).Uint8Array;e.exports=r},70577:(e,t,n)=>{var r=n(10852)(n(55639),"WeakMap");e.exports=r},96874:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},44174:e=>{e.exports=function(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}},77412:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},34963:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},47443:(e,t,n)=>{var r=n(42118);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},1196:e=>{e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},14636:(e,t,n)=>{var r=n(22545),o=n(35694),i=n(1469),a=n(44144),s=n(65776),c=n(36719),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&o(e),f=!n&&!l&&a(e),p=!n&&!l&&!f&&c(e),d=n||l||f||p,h=d?r(e.length,String):[],m=h.length;for(var g in e)!t&&!u.call(e,g)||d&&("length"==g||f&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},29932:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},62488:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},62663:e=>{e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},82908:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},86556:(e,t,n)=>{var r=n(89465),o=n(77813);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},34865:(e,t,n)=>{var r=n(89465),o=n(77813),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},18470:(e,t,n)=>{var r=n(77813);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},81119:(e,t,n)=>{var r=n(89881);e.exports=function(e,t,n,o){return r(e,(function(e,r,i){t(o,e,n(e),i)})),o}},44037:(e,t,n)=>{var r=n(98363),o=n(3674);e.exports=function(e,t){return e&&r(t,o(t),e)}},63886:(e,t,n)=>{var r=n(98363),o=n(81704);e.exports=function(e,t){return e&&r(t,o(t),e)}},89465:(e,t,n)=>{var r=n(38777);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},85990:(e,t,n)=>{var r=n(46384),o=n(77412),i=n(34865),a=n(44037),s=n(63886),c=n(64626),u=n(278),l=n(18805),f=n(1911),p=n(58234),d=n(46904),h=n(64160),m=n(43824),g=n(29148),v=n(38517),y=n(1469),b=n(44144),w=n(56688),O=n(13218),x=n(72928),S=n(3674),j=n(81704),P="[object Arguments]",E="[object Function]",k="[object Object]",C={};C[P]=C["[object Array]"]=C["[object ArrayBuffer]"]=C["[object DataView]"]=C["[object Boolean]"]=C["[object Date]"]=C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Map]"]=C["[object Number]"]=C[k]=C["[object RegExp]"]=C["[object Set]"]=C["[object String]"]=C["[object Symbol]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C["[object Error]"]=C[E]=C["[object WeakMap]"]=!1,e.exports=function e(t,n,T,D,_,A){var M,R=1&n,I=2&n,Z=4&n;if(T&&(M=_?T(t,D,_,A):T(t)),void 0!==M)return M;if(!O(t))return t;var N=y(t);if(N){if(M=m(t),!R)return u(t,M)}else{var L=h(t),F=L==E||"[object GeneratorFunction]"==L;if(b(t))return c(t,R);if(L==k||L==P||F&&!_){if(M=I||F?{}:v(t),!R)return I?f(t,s(M,t)):l(t,a(M,t))}else{if(!C[L])return _?t:{};M=g(t,L,R)}}A||(A=new r);var H=A.get(t);if(H)return H;A.set(t,M),x(t)?t.forEach((function(r){M.add(e(r,n,T,r,t,A))})):w(t)&&t.forEach((function(r,o){M.set(o,e(r,n,T,o,t,A))}));var B=N?void 0:(Z?I?d:p:I?j:S)(t);return o(B||t,(function(r,o){B&&(r=t[o=r]),i(M,o,e(r,n,T,o,t,A))})),M}},3118:(e,t,n)=>{var r=n(13218),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},20731:(e,t,n)=>{var r=n(88668),o=n(47443),i=n(1196),a=n(29932),s=n(7518),c=n(74757);e.exports=function(e,t,n,u){var l=-1,f=o,p=!0,d=e.length,h=[],m=t.length;if(!d)return h;n&&(t=a(t,s(n))),u?(f=i,p=!1):t.length>=200&&(f=c,p=!1,t=new r(t));e:for(;++l<d;){var g=e[l],v=null==n?g:n(g);if(g=u||0!==g?g:0,p&&v==v){for(var y=m;y--;)if(t[y]===v)continue e;h.push(g)}else f(t,v,u)||h.push(g)}return h}},89881:(e,t,n)=>{var r=n(47816),o=n(99291)(r);e.exports=o},41848:e=>{e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},21078:(e,t,n)=>{var r=n(62488),o=n(37285);e.exports=function e(t,n,i,a,s){var c=-1,u=t.length;for(i||(i=o),s||(s=[]);++c<u;){var l=t[c];n>0&&i(l)?n>1?e(l,n-1,i,a,s):r(s,l):a||(s[s.length]=l)}return s}},28483:(e,t,n)=>{var r=n(25063)();e.exports=r},47816:(e,t,n)=>{var r=n(28483),o=n(3674);e.exports=function(e,t){return e&&r(e,t,o)}},97786:(e,t,n)=>{var r=n(71811),o=n(40327);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},68866:(e,t,n)=>{var r=n(62488),o=n(1469);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},44239:(e,t,n)=>{var r=n(62705),o=n(89607),i=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},13:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},42118:(e,t,n)=>{var r=n(41848),o=n(62722),i=n(42351);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},9454:(e,t,n)=>{var r=n(44239),o=n(37005);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},90939:(e,t,n)=>{var r=n(2492),o=n(37005);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,s))}},2492:(e,t,n)=>{var r=n(46384),o=n(67114),i=n(18351),a=n(16096),s=n(64160),c=n(1469),u=n(44144),l=n(36719),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=c(e),b=c(t),w=y?p:s(e),O=b?p:s(t),x=(w=w==f?d:w)==d,S=(O=O==f?d:O)==d,j=w==O;if(j&&u(e)){if(!u(t))return!1;y=!0,x=!1}if(j&&!x)return v||(v=new r),y||l(e)?o(e,t,n,m,g,v):i(e,t,w,n,m,g,v);if(!(1&n)){var P=x&&h.call(e,"__wrapped__"),E=S&&h.call(t,"__wrapped__");if(P||E){var k=P?e.value():e,C=E?t.value():t;return v||(v=new r),g(k,C,n,m,v)}}return!!j&&(v||(v=new r),a(e,t,n,m,g,v))}},25588:(e,t,n)=>{var r=n(64160),o=n(37005);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},2958:(e,t,n)=>{var r=n(46384),o=n(90939);e.exports=function(e,t,n,i){var a=n.length,s=a,c=!i;if(null==e)return!s;for(e=Object(e);a--;){var u=n[a];if(c&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a<s;){var l=(u=n[a])[0],f=e[l],p=u[1];if(c&&u[2]){if(void 0===f&&!(l in e))return!1}else{var d=new r;if(i)var h=i(f,p,l,e,t,d);if(!(void 0===h?o(p,f,3,i,d):h))return!1}}return!0}},62722:e=>{e.exports=function(e){return e!=e}},28458:(e,t,n)=>{var r=n(23560),o=n(15346),i=n(13218),a=n(80346),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:s).test(a(e))}},29221:(e,t,n)=>{var r=n(64160),o=n(37005);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},38749:(e,t,n)=>{var r=n(44239),o=n(41780),i=n(37005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},67206:(e,t,n)=>{var r=n(91573),o=n(16432),i=n(6557),a=n(1469),s=n(39601);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},280:(e,t,n)=>{var r=n(25726),o=n(86916),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},10313:(e,t,n)=>{var r=n(13218),o=n(25726),i=n(33498),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},91573:(e,t,n)=>{var r=n(2958),o=n(1499),i=n(42634);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},16432:(e,t,n)=>{var r=n(90939),o=n(27361),i=n(79095),a=n(15403),s=n(89162),c=n(42634),u=n(40327);e.exports=function(e,t){return a(e)&&s(t)?c(u(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},42980:(e,t,n)=>{var r=n(46384),o=n(86556),i=n(28483),a=n(59783),s=n(13218),c=n(81704),u=n(36390);e.exports=function e(t,n,l,f,p){t!==n&&i(n,(function(i,c){if(p||(p=new r),s(i))a(t,n,c,l,e,f,p);else{var d=f?f(u(t,c),i,c+"",t,n,p):void 0;void 0===d&&(d=i),o(t,c,d)}}),c)}},59783:(e,t,n)=>{var r=n(86556),o=n(64626),i=n(77133),a=n(278),s=n(38517),c=n(35694),u=n(1469),l=n(29246),f=n(44144),p=n(23560),d=n(13218),h=n(68630),m=n(36719),g=n(36390),v=n(59881);e.exports=function(e,t,n,y,b,w,O){var x=g(e,n),S=g(t,n),j=O.get(S);if(j)r(e,n,j);else{var P=w?w(x,S,n+"",e,t,O):void 0,E=void 0===P;if(E){var k=u(S),C=!k&&f(S),T=!k&&!C&&m(S);P=S,k||C||T?u(x)?P=x:l(x)?P=a(x):C?(E=!1,P=o(S,!0)):T?(E=!1,P=i(S,!0)):P=[]:h(S)||c(S)?(P=x,c(x)?P=v(x):d(x)&&!p(x)||(P=s(S))):E=!1}E&&(O.set(S,P),b(P,S,y,w,O),O.delete(S)),r(e,n,P)}}},25970:(e,t,n)=>{var r=n(63012),o=n(79095);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},63012:(e,t,n)=>{var r=n(97786),o=n(10611),i=n(71811);e.exports=function(e,t,n){for(var a=-1,s=t.length,c={};++a<s;){var u=t[a],l=r(e,u);n(l,u)&&o(c,i(u,e),l)}return c}},40371:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},79152:(e,t,n)=>{var r=n(97786);e.exports=function(e){return function(t){return r(t,e)}}},10107:e=>{e.exports=function(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}},5976:(e,t,n)=>{var r=n(6557),o=n(45357),i=n(30061);e.exports=function(e,t){return i(o(e,t,r),e+"")}},10611:(e,t,n)=>{var r=n(34865),o=n(71811),i=n(65776),a=n(13218),s=n(40327);e.exports=function(e,t,n,c){if(!a(e))return e;for(var u=-1,l=(t=o(t,e)).length,f=l-1,p=e;null!=p&&++u<l;){var d=s(t[u]),h=n;if("__proto__"===d||"constructor"===d||"prototype"===d)return e;if(u!=f){var m=p[d];void 0===(h=c?c(m,d,p):void 0)&&(h=a(m)?m:i(t[u+1])?[]:{})}r(p,d,h),p=p[d]}return e}},14259:e=>{e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},22545:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},7518:e=>{e.exports=function(e){return function(t){return e(t)}}},45652:(e,t,n)=>{var r=n(88668),o=n(47443),i=n(1196),a=n(74757),s=n(23593),c=n(21814);e.exports=function(e,t,n){var u=-1,l=o,f=e.length,p=!0,d=[],h=d;if(n)p=!1,l=i;else if(f>=200){var m=t?null:s(e);if(m)return c(m);p=!1,l=a,h=new r}else h=t?[]:d;e:for(;++u<f;){var g=e[u],v=t?t(g):g;if(g=n||0!==g?g:0,p&&v==v){for(var y=h.length;y--;)if(h[y]===v)continue e;t&&h.push(v),d.push(g)}else l(h,v,n)||(h!==d&&h.push(v),d.push(g))}return d}},57406:(e,t,n)=>{var r=n(71811),o=n(10928),i=n(40292),a=n(40327);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},74757:e=>{e.exports=function(e,t){return e.has(t)}},71811:(e,t,n)=>{var r=n(1469),o=n(15403),i=n(55514),a=n(79833);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},74318:(e,t,n)=>{var r=n(11149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},64626:(e,t,n)=>{e=n.nmd(e);var r=n(55639),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},57157:(e,t,n)=>{var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},93147:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},40419:(e,t,n)=>{var r=n(62705),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},77133:(e,t,n)=>{var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},278:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},98363:(e,t,n)=>{var r=n(34865),o=n(89465);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,c=t.length;++s<c;){var u=t[s],l=i?i(n[u],e[u],u,n,e):void 0;void 0===l&&(l=e[u]),a?o(n,u,l):r(n,u,l)}return n}},18805:(e,t,n)=>{var r=n(98363),o=n(99551);e.exports=function(e,t){return r(e,o(e),t)}},1911:(e,t,n)=>{var r=n(98363),o=n(51442);e.exports=function(e,t){return r(e,o(e),t)}},14429:(e,t,n)=>{var r=n(55639)["__core-js_shared__"];e.exports=r},55189:(e,t,n)=>{var r=n(44174),o=n(81119),i=n(67206),a=n(1469);e.exports=function(e,t){return function(n,s){var c=a(n)?r:o,u=t?t():{};return c(n,e,i(s,2),u)}}},21463:(e,t,n)=>{var r=n(5976),o=n(16612);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var c=n[r];c&&e(t,c,r,a)}return t}))}},99291:(e,t,n)=>{var r=n(98612);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==o(s[a],a,s););return n}}},25063:e=>{e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++o];if(!1===n(i[c],c,i))break}return t}}},89179:(e,t,n)=>{var r=n(55639),o=n(40554),i=n(14841),a=n(79833),s=r.isFinite,c=Math.min;e.exports=function(e){var t=Math[e];return function(e,n){if(e=i(e),(n=null==n?0:c(o(n),292))&&s(e)){var r=(a(e)+"e").split("e"),u=t(r[0]+"e"+(+r[1]+n));return+((r=(a(u)+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}},23593:(e,t,n)=>{var r=n(58525),o=n(50308),i=n(21814),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},60696:(e,t,n)=>{var r=n(68630);e.exports=function(e){return r(e)?void 0:e}},38777:(e,t,n)=>{var r=n(10852),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},67114:(e,t,n)=>{var r=n(88668),o=n(82908),i=n(74757);e.exports=function(e,t,n,a,s,c){var u=1&n,l=e.length,f=t.length;if(l!=f&&!(u&&f>l))return!1;var p=c.get(e),d=c.get(t);if(p&&d)return p==t&&d==e;var h=-1,m=!0,g=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++h<l;){var v=e[h],y=t[h];if(a)var b=u?a(y,v,h,t,e,c):a(v,y,h,e,t,c);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(v===e||s(v,e,n,a,c)))return g.push(t)}))){m=!1;break}}else if(v!==y&&!s(v,y,n,a,c)){m=!1;break}}return c.delete(e),c.delete(t),m}},18351:(e,t,n)=>{var r=n(62705),o=n(11149),i=n(77813),a=n(67114),s=n(68776),c=n(21814),u=r?r.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=s;case"[object Set]":var h=1&r;if(d||(d=c),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var g=a(d(e),d(t),r,u,f,p);return p.delete(e),g;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},16096:(e,t,n)=>{var r=n(58234),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var c=1&n,u=r(e),l=u.length;if(l!=r(t).length&&!c)return!1;for(var f=l;f--;){var p=u[f];if(!(c?p in t:o.call(t,p)))return!1}var d=s.get(e),h=s.get(t);if(d&&h)return d==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=c;++f<l;){var v=e[p=u[f]],y=t[p];if(i)var b=c?i(y,v,p,t,e,s):i(v,y,p,e,t,s);if(!(void 0===b?v===y||a(v,y,n,i,s):b)){m=!1;break}g||(g="constructor"==p)}if(m&&!g){var w=e.constructor,O=t.constructor;w==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof O&&O instanceof O||(m=!1)}return s.delete(e),s.delete(t),m}},99021:(e,t,n)=>{var r=n(85564),o=n(45357),i=n(30061);e.exports=function(e){return i(o(e,void 0,r),e+"")}},31957:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},58234:(e,t,n)=>{var r=n(68866),o=n(99551),i=n(3674);e.exports=function(e){return r(e,i,o)}},46904:(e,t,n)=>{var r=n(68866),o=n(51442),i=n(81704);e.exports=function(e){return r(e,i,o)}},45050:(e,t,n)=>{var r=n(37019);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},1499:(e,t,n)=>{var r=n(89162),o=n(3674);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},10852:(e,t,n)=>{var r=n(28458),o=n(47801);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},85924:(e,t,n)=>{var r=n(5569)(Object.getPrototypeOf,Object);e.exports=r},89607:(e,t,n)=>{var r=n(62705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},99551:(e,t,n)=>{var r=n(34963),o=n(70479),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},51442:(e,t,n)=>{var r=n(62488),o=n(85924),i=n(99551),a=n(70479),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},64160:(e,t,n)=>{var r=n(18552),o=n(57071),i=n(53818),a=n(58525),s=n(70577),c=n(44239),u=n(80346),l="[object Map]",f="[object Promise]",p="[object Set]",d="[object WeakMap]",h="[object DataView]",m=u(r),g=u(o),v=u(i),y=u(a),b=u(s),w=c;(r&&w(new r(new ArrayBuffer(1)))!=h||o&&w(new o)!=l||i&&w(i.resolve())!=f||a&&w(new a)!=p||s&&w(new s)!=d)&&(w=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case m:return h;case g:return l;case v:return f;case y:return p;case b:return d}return t}),e.exports=w},47801:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},222:(e,t,n)=>{var r=n(71811),o=n(35694),i=n(1469),a=n(65776),s=n(41780),c=n(40327);e.exports=function(e,t,n){for(var u=-1,l=(t=r(t,e)).length,f=!1;++u<l;){var p=c(t[u]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++u!=l?f:!!(l=null==e?0:e.length)&&s(l)&&a(p,l)&&(i(e)||o(e))}},51789:(e,t,n)=>{var r=n(94536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},80401:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},57667:(e,t,n)=>{var r=n(94536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},21327:(e,t,n)=>{var r=n(94536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},81866:(e,t,n)=>{var r=n(94536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},43824:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},29148:(e,t,n)=>{var r=n(74318),o=n(57157),i=n(93147),a=n(40419),s=n(77133);e.exports=function(e,t,n){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},38517:(e,t,n)=>{var r=n(3118),o=n(85924),i=n(25726);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},37285:(e,t,n)=>{var r=n(62705),o=n(35694),i=n(1469),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},65776:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},16612:(e,t,n)=>{var r=n(77813),o=n(98612),i=n(65776),a=n(13218);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},15403:(e,t,n)=>{var r=n(1469),o=n(33448),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},37019:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},15346:(e,t,n)=>{var r,o=n(14429),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},25726:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},89162:(e,t,n)=>{var r=n(13218);e.exports=function(e){return e==e&&!r(e)}},27040:e=>{e.exports=function(){this.__data__=[],this.size=0}},14125:(e,t,n)=>{var r=n(18470),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},82117:(e,t,n)=>{var r=n(18470);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},67518:(e,t,n)=>{var r=n(18470);e.exports=function(e){return r(this.__data__,e)>-1}},54705:(e,t,n)=>{var r=n(18470);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},24785:(e,t,n)=>{var r=n(1989),o=n(38407),i=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},11285:(e,t,n)=>{var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},96e3:(e,t,n)=>{var r=n(45050);e.exports=function(e){return r(this,e).get(e)}},49916:(e,t,n)=>{var r=n(45050);e.exports=function(e){return r(this,e).has(e)}},95265:(e,t,n)=>{var r=n(45050);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},68776:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},42634:e=>{e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},24523:(e,t,n)=>{var r=n(88306);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},94536:(e,t,n)=>{var r=n(10852)(Object,"create");e.exports=r},86916:(e,t,n)=>{var r=n(5569)(Object.keys,Object);e.exports=r},33498:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},31167:(e,t,n)=>{e=n.nmd(e);var r=n(31957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},45357:(e,t,n)=>{var r=n(96874),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),c=Array(s);++a<s;)c[a]=i[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=i[a];return u[t]=n(c),r(e,this,u)}}},40292:(e,t,n)=>{var r=n(97786),o=n(14259);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},55639:(e,t,n)=>{var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},36390:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},90619:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:e=>{e.exports=function(e){return this.__data__.has(e)}},21814:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},30061:e=>{e.exports=function(e){return e}},37465:(e,t,n)=>{var r=n(38407);e.exports=function(){this.__data__=new r,this.size=0}},63779:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},67599:e=>{e.exports=function(e){return this.__data__.get(e)}},44758:e=>{e.exports=function(e){return this.__data__.has(e)}},34309:(e,t,n)=>{var r=n(38407),o=n(57071),i=n(83369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},42351:e=>{e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},55514:(e,t,n)=>{var r=n(24523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},40327:e=>{e.exports=function(e){return e}},80346:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},23279:(e,t,n)=>{var r=n(13218),o=n(7771),i=n(14841),a=Math.max,s=Math.min;e.exports=function(e,t,n){var c,u,l,f,p,d,h=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=c,r=u;return c=u=void 0,h=t,f=e.apply(r,n)}function b(e){return h=e,p=setTimeout(O,t),m?y(e):f}function w(e){var n=e-d;return void 0===d||n>=t||n<0||g&&e-h>=l}function O(){var e=o();if(w(e))return x(e);p=setTimeout(O,function(e){var n=t-(e-d);return g?s(n,l-(e-h)):n}(e))}function x(e){return p=void 0,v&&c?y(e):(c=u=void 0,f)}function S(){var e=o(),n=w(e);if(c=arguments,u=this,d=e,n){if(void 0===p)return b(d);if(g)return clearTimeout(p),p=setTimeout(O,t),y(d)}return void 0===p&&(p=setTimeout(O,t)),f}return t=i(t)||0,r(n)&&(m=!!n.leading,l=(g="maxWait"in n)?a(i(n.maxWait)||0,t):l,v="trailing"in n?!!n.trailing:v),S.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=d=u=p=void 0},S.flush=function(){return void 0===p?f:x(o())},S}},91966:(e,t,n)=>{var r=n(20731),o=n(21078),i=n(5976),a=n(29246),s=i((function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]}));e.exports=s},77813:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},85564:(e,t,n)=>{var r=n(21078);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},27361:(e,t,n)=>{var r=n(97786);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},7739:(e,t,n)=>{var r=n(89465),o=n(55189),i=Object.prototype.hasOwnProperty,a=o((function(e,t,n){i.call(e,n)?e[n].push(t):r(e,n,[t])}));e.exports=a},79095:(e,t,n)=>{var r=n(13),o=n(222);e.exports=function(e,t){return null!=e&&o(e,t,r)}},6557:e=>{e.exports=function(e){return e}},35694:(e,t,n)=>{var r=n(9454),o=n(37005),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},1469:e=>{var t=Array.isArray;e.exports=t},98612:(e,t,n)=>{var r=n(23560),o=n(41780);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},29246:(e,t,n)=>{var r=n(98612),o=n(37005);e.exports=function(e){return o(e)&&r(e)}},44144:(e,t,n)=>{e=n.nmd(e);var r=n(55639),o=n(95062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;e.exports=c},41609:(e,t,n)=>{var r=n(280),o=n(64160),i=n(35694),a=n(1469),s=n(98612),c=n(44144),u=n(25726),l=n(36719),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||l(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(u(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},18446:(e,t,n)=>{var r=n(90939);e.exports=function(e,t){return r(e,t)}},23560:(e,t,n)=>{var r=n(44239),o=n(13218);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},56688:(e,t,n)=>{var r=n(25588),o=n(7518),i=n(31167),a=i&&i.isMap,s=a?o(a):r;e.exports=s},14293:e=>{e.exports=function(e){return null==e}},13218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},68630:(e,t,n)=>{var r=n(44239),o=n(85924),i=n(37005),a=Function.prototype,s=Object.prototype,c=a.toString,u=s.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},72928:(e,t,n)=>{var r=n(29221),o=n(7518),i=n(31167),a=i&&i.isSet,s=a?o(a):r;e.exports=s},47037:(e,t,n)=>{var r=n(44239),o=n(1469),i=n(37005);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},33448:(e,t,n)=>{var r=n(44239),o=n(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},36719:(e,t,n)=>{var r=n(38749),o=n(7518),i=n(31167),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},3674:(e,t,n)=>{var r=n(14636),o=n(280),i=n(98612);e.exports=function(e){return i(e)?r(e):o(e)}},81704:(e,t,n)=>{var r=n(14636),o=n(10313),i=n(98612);e.exports=function(e){return i(e)?r(e,!0):o(e)}},10928:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},88306:(e,t,n)=>{var r=n(83369);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},82492:(e,t,n)=>{var r=n(42980),o=n(21463)((function(e,t,n){r(e,t,n)}));e.exports=o},94885:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},50308:e=>{e.exports=function(){}},7771:(e,t,n)=>{var r=n(55639);e.exports=function(){return r.Date.now()}},57557:(e,t,n)=>{var r=n(29932),o=n(85990),i=n(57406),a=n(71811),s=n(98363),c=n(60696),u=n(99021),l=n(46904),f=u((function(e,t){var n={};if(null==e)return n;var u=!1;t=r(t,(function(t){return t=a(t,e),u||(u=t.length>1),t})),s(e,l(e),n),u&&(n=o(n,7,c));for(var f=t.length;f--;)i(n,t[f]);return n}));e.exports=f},14176:(e,t,n)=>{var r=n(67206),o=n(94885),i=n(35937);e.exports=function(e,t){return i(e,o(r(t)))}},78718:(e,t,n)=>{var r=n(25970),o=n(99021)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},35937:(e,t,n)=>{var r=n(29932),o=n(67206),i=n(63012),a=n(46904);e.exports=function(e,t){if(null==e)return{};var n=r(a(e),(function(e){return[e]}));return t=o(t),i(e,n,(function(e,n){return t(e,n[0])}))}},39601:(e,t,n)=>{var r=n(40371),o=n(79152),i=n(15403),a=n(40327);e.exports=function(e){return i(e)?r(a(e)):o(e)}},54061:(e,t,n)=>{var r=n(62663),o=n(89881),i=n(67206),a=n(10107),s=n(1469);e.exports=function(e,t,n){var c=s(e)?r:a,u=arguments.length<3;return c(e,i(t,4),n,u,o)}},59854:(e,t,n)=>{var r=n(89179)("round");e.exports=r},36968:(e,t,n)=>{var r=n(10611);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},70479:e=>{e.exports=function(){return[]}},95062:e=>{e.exports=function(){return!1}},23493:(e,t,n)=>{var r=n(23279),o=n(13218);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},40554:e=>{e.exports=function(e){return e}},14841:e=>{e.exports=function(e){return e}},59881:(e,t,n)=>{var r=n(98363),o=n(81704);e.exports=function(e){return r(e,o(e))}},79833:e=>{e.exports=function(e){return e}},68718:(e,t,n)=>{var r=n(77412),o=n(3118),i=n(47816),a=n(67206),s=n(85924),c=n(1469),u=n(44144),l=n(23560),f=n(13218),p=n(36719);e.exports=function(e,t,n){var d=c(e),h=d||u(e)||p(e);if(t=a(t,4),null==n){var m=e&&e.constructor;n=h?d?new m:[]:f(e)&&l(m)?o(s(e)):{}}return(h?r:i)(e,(function(e,r,o){return t(n,e,r,o)})),n}},93386:(e,t,n)=>{var r=n(21078),o=n(5976),i=n(45652),a=n(29246),s=o((function(e){return i(r(e,1,a,!0))}));e.exports=s},27418:e=>{"use strict";
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports["tocco-devcon"]=t(require("React"),require("ReactDOM")):e["tocco-devcon"]=t(e.React,e.ReactDOM)}(self,((e,t)=>(()=>{var n,r,o={67228:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},22858:e=>{e.exports=function(e){if(Array.isArray(e))return e}},23646:(e,t,n)=>{var r=n(67228);e.exports=function(e){if(Array.isArray(e))return r(e)}},81506:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},48926:e=>{function t(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var n=this,r=arguments;return new Promise((function(o,i){var a=e.apply(n,r);function s(e){t(a,o,i,s,c,"next",e)}function c(e){t(a,o,i,s,c,"throw",e)}s(void 0)}))}}},34575:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},93913:e=>{function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}},59713:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},29754:e=>{function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},t(n)}e.exports=t},2205:(e,t,n)=>{var r=n(99489);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},46860:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},13884:e=>{e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.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}}},80521:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},98206:e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},6479:(e,t,n)=>{var r=n(37316);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},37316:e=>{e.exports=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}},78585:(e,t,n)=>{var r=n(50008),o=n(81506);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},99489:e=>{function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(n,r)}e.exports=t},63038:(e,t,n)=>{var r=n(22858),o=n(13884),i=n(60379),a=n(80521);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},28655:e=>{e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},319:(e,t,n)=>{var r=n(23646),o=n(46860),i=n(60379),a=n(98206);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},50008:e=>{function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(n)}e.exports=t},60379:(e,t,n)=>{var r=n(67228);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},87757:(e,t,n)=>{e.exports=n(35666)},25687:(e,t,n)=>{"use strict";n.d(t,{kG:()=>r});function r(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}},95957:(e,t,n)=>{"use strict";function r(e,t){var n=t&&t.cache?t.cache:l,r=t&&t.serializer?t.serializer:c;return(t&&t.strategy?t.strategy:s)(e,{cache:n,serializer:r})}function o(e,t,n,r){var o,i=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),a=t.get(i);return void 0===a&&(a=e.call(this,r),t.set(i,a)),a}function i(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return void 0===i&&(i=e.apply(this,r),t.set(o,i)),i}function a(e,t,n,r,o){return n.bind(t,e,r,o)}function s(e,t){return a(e,this,1===e.length?o:i,t.cache.create(),t.serializer)}n.d(t,{A:()=>f,Z:()=>r});var c=function(){return JSON.stringify(arguments)};function u(){this.cache=Object.create(null)}u.prototype.get=function(e){return this.cache[e]},u.prototype.set=function(e,t){this.cache[e]=t};var l={create:function(){return new u}},f={variadic:function(e,t){return a(e,this,i,t.cache.create(),t.serializer)},monadic:function(e,t){return a(e,this,o,t.cache.create(),t.serializer)}}},35258:(e,t,n)=>{"use strict";n.d(t,{wD:()=>i,VG:()=>c,rp:()=>l,Ii:()=>v,O4:()=>s,uf:()=>u,Wh:()=>g,Jo:()=>d,yx:()=>h,Wi:()=>p,HI:()=>m,pe:()=>f,Qc:()=>ae});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.create;var o,i,a;Object.create;function s(e){return e.type===i.literal}function c(e){return e.type===i.argument}function u(e){return e.type===i.number}function l(e){return e.type===i.date}function f(e){return e.type===i.time}function p(e){return e.type===i.select}function d(e){return e.type===i.plural}function h(e){return e.type===i.pound}function m(e){return e.type===i.tag}function g(e){return!(!e||"object"!=typeof e||e.type!==a.number)}function v(e){return!(!e||"object"!=typeof e||e.type!==a.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(o||(o={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(i||(i={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(a||(a={}));var y=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,b=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function w(e){var t={};return e.replace(b,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"short":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var O=function(){return O=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},O.apply(this,arguments)};Object.create;Object.create;var x=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var S=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,j=/^(@+)?(\+|#+)?[rs]?$/g,P=/(\*)(0+)|(#+)(0+)|(0+)/g,E=/^(0+)$/;function k(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(j,(function(e,n,r){return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function C(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function T(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!E.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function D(e){var t=C(e);return t||{}}function _(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=O(O(O({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return O(O({},e),D(t))}),{}));continue;case"engineering":t=O(O(O({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return O(O({},e),D(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(P,(function(e,n,r,o,i,a){if(n)t.minimumIntegerDigits=r.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(E.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(S.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(S,(function(e,n,r,o,i,a){return"*"===r?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:i&&a?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var i=o.options[0];"w"===i?t=O(O({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=O(O({},t),k(i)))}else if(j.test(o.stem))t=O(O({},t),k(o.stem));else{var a=C(o.stem);a&&(t=O(O({},t),a));var s=T(o.stem);s&&(t=O(O({},t),s))}}return t}var A,M={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function R(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(M[n||""]||M[r||""]||M["".concat(r,"-001")]||M["001"])[0]}var I=new RegExp("^".concat(y.source,"*")),Z=new RegExp("".concat(y.source,"*$"));function N(e,t){return{start:e,end:t}}var L=!!String.prototype.startsWith,F=!!String.fromCodePoint,H=!!Object.fromEntries,B=!!String.prototype.codePointAt,U=!!String.prototype.trimStart,W=!!String.prototype.trimEnd,z=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},V=!0;try{V="a"===(null===(A=Q("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===A?void 0:A[0])}catch(e){V=!1}var G,q=L?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},$=F?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,i=0;o>i;){if((n=e[i++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Y=H?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o[0],a=o[1];t[i]=a}return t},X=B?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,o=e.charCodeAt(t);return o<55296||o>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?o:r-56320+(o-55296<<10)+65536}},K=U?function(e){return e.trimStart()}:function(e){return e.replace(I,"")},J=W?function(e){return e.trimEnd()}:function(e){return e.replace(Z,"")};function Q(e,t){return new RegExp(e,t)}if(V){var ee=Q("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");G=function(e,t){var n;return ee.lastIndex=t,null!==(n=ee.exec(e)[1])&&void 0!==n?n:""}}else G=function(e,t){for(var n=[];;){var r=X(e,t);if(void 0===r||re(r)||oe(r))break;n.push(r),t+=r>=65536?2:1}return $.apply(void 0,n)};var te=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var a=this.char();if(123===a){if((s=this.parseArgument(e,n)).err)return s;r.push(s.val)}else{if(125===a&&e>0)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(o.UNMATCHED_CLOSING_TAG,N(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&ne(this.peek()||0)){if((s=this.parseTag(e,t)).err)return s;r.push(s.val)}else{var s;if((s=this.parseLiteral(e,t)).err)return s;r.push(s.val)}}else{var c=this.clonePosition();this.bump(),r.push({type:i.pound,location:N(c,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:i.literal,value:"<".concat(r,"/>"),location:N(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(e+1,t,!0);if(a.err)return a;var s=a.val,c=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ne(this.char()))return this.error(o.INVALID_TAG,N(c,this.clonePosition()));var u=this.clonePosition();return r!==this.parseTagName()?this.error(o.UNMATCHED_CLOSING_TAG,N(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:i.tag,value:r,children:s,location:N(n,this.clonePosition())},err:null}:this.error(o.INVALID_TAG,N(c,this.clonePosition())))}return this.error(o.UNCLOSED_TAG,N(n,this.clonePosition()))}return this.error(o.INVALID_TAG,N(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{var a=this.tryParseUnquoted(e,t);if(a)r+=a;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var c=N(n,this.clonePosition());return{val:{type:i.literal,value:r,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ne(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return $.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),$(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(o.EMPTY_ARGUMENT,N(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(o.MALFORMED_ARGUMENT,N(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:i.argument,value:r,location:N(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(o.MALFORMED_ARGUMENT,N(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=G(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:N(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,s){var c,u=this.clonePosition(),l=this.parseIdentifierIfPossible().value,f=this.clonePosition();switch(l){case"":return this.error(o.EXPECT_ARGUMENT_TYPE,N(u,f));case"number":case"date":case"time":this.bumpSpace();var p=null;if(this.bumpIf(",")){this.bumpSpace();var d=this.clonePosition();if((x=this.parseSimpleArgStyleIfPossible()).err)return x;if(0===(v=J(x.val)).length)return this.error(o.EXPECT_ARGUMENT_STYLE,N(this.clonePosition(),this.clonePosition()));p={style:v,styleLocation:N(d,this.clonePosition())}}if((S=this.tryParseArgumentClose(s)).err)return S;var h=N(s,this.clonePosition());if(p&&q(null==p?void 0:p.style,"::",0)){var m=K(p.style.slice(2));if("number"===l)return(x=this.parseNumberSkeletonFromString(m,p.styleLocation)).err?x:{val:{type:i.number,value:n,location:h,style:x.val},err:null};if(0===m.length)return this.error(o.EXPECT_DATE_TIME_SKELETON,h);var g=m;this.locale&&(g=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var a=1+(1&i),s=i<2?1:3+(i>>1),c=R(t);for("H"!=c&&"k"!=c||(s=0);s-- >0;)n+="a";for(;a-- >0;)n=c+n}else n+="J"===o?"H":o}return n}(m,this.locale));var v={type:a.dateTime,pattern:g,location:p.styleLocation,parsedOptions:this.shouldParseSkeletons?w(g):{}};return{val:{type:"date"===l?i.date:i.time,value:n,location:h,style:v},err:null}}return{val:{type:"number"===l?i.number:"date"===l?i.date:i.time,value:n,location:h,style:null!==(c=null==p?void 0:p.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(o.EXPECT_SELECT_ARGUMENT_OPTIONS,N(y,r({},y)));this.bumpSpace();var b=this.parseIdentifierIfPossible(),O=0;if("select"!==l&&"offset"===b.value){if(!this.bumpIf(":"))return this.error(o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,N(this.clonePosition(),this.clonePosition()));var x;if(this.bumpSpace(),(x=this.tryParseDecimalInteger(o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return x;this.bumpSpace(),b=this.parseIdentifierIfPossible(),O=x.val}var S,j=this.tryParsePluralOrSelectOptions(e,l,t,b);if(j.err)return j;if((S=this.tryParseArgumentClose(s)).err)return S;var P=N(s,this.clonePosition());return"select"===l?{val:{type:i.select,value:n,options:Y(j.val),location:P},err:null}:{val:{type:i.plural,value:n,options:Y(j.val),offset:O,pluralType:"plural"===l?"cardinal":"ordinal",location:P},err:null};default:return this.error(o.INVALID_ARGUMENT_TYPE,N(u,f))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(o.EXPECT_ARGUMENT_CLOSING_BRACE,N(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,N(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(x).filter((function(e){return e.length>0}));n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],a=o.slice(1),s=0,c=a;s<c.length;s++)if(0===c[s].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:a})}return t}(e)}catch(e){return this.error(o.INVALID_NUMBER_SKELETON,t)}return{val:{type:a.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?_(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i,a=!1,s=[],c=new Set,u=r.value,l=r.location;;){if(0===u.length){var f=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var p=this.tryParseDecimalInteger(o.EXPECT_PLURAL_ARGUMENT_SELECTOR,o.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;l=N(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}if(c.has(u))return this.error("select"===t?o.DUPLICATE_SELECT_ARGUMENT_SELECTOR:o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===u&&(a=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,N(this.clonePosition(),this.clonePosition()));var h=this.parseMessage(e+1,t,n);if(h.err)return h;var m=this.tryParseArgumentClose(d);if(m.err)return m;s.push([u,{value:h.val,location:N(d,this.clonePosition())}]),c.add(u),this.bumpSpace(),u=(i=this.parseIdentifierIfPossible()).value,l=i.location}return 0===s.length?this.error("select"===t?o.EXPECT_SELECT_ARGUMENT_SELECTOR:o.EXPECT_PLURAL_ARGUMENT_SELECTOR,N(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(o.MISSING_OTHER_CLAUSE,N(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}var s=N(r,this.clonePosition());return o?z(i*=n)?{val:i,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=X(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(q(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&re(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function ne(e){return e>=97&&e<=122||e>=65&&e<=90}function re(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function oe(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function ie(e){e.forEach((function(e){if(delete e.location,p(e)||d(e))for(var t in e.options)delete e.options[t].location,ie(e.options[t].value);else u(e)&&g(e.style)||(l(e)||f(e))&&v(e.style)?delete e.style.location:m(e)&&ie(e.children)}))}function ae(e,t){void 0===t&&(t={}),t=r({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new te(e,t).parse();if(n.err){var i=SyntaxError(o[n.err.kind]);throw i.location=n.err.location,i.originalMessage=n.err.message,i}return(null==t?void 0:t.captureLocation)||ie(n.val),n.val}},88222:(e,t,n)=>{"use strict";n.d(t,{$6:()=>f,OV:()=>s,Qe:()=>u,Rw:()=>i,X9:()=>l,bc:()=>r,gb:()=>c,wI:()=>a});var r,o=n(14874);!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(r||(r={}));var i=function(e){function t(n,r,o){var i=this,a=o?o instanceof Error?o:new Error(String(o)):void 0;return(i=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return(0,o.ZT)(t,e),t}(Error),a=function(e){function t(t,n){return e.call(this,r.UNSUPPORTED_FORMATTER,t,n)||this}return(0,o.ZT)(t,e),t}(i),s=function(e){function t(t,n){return e.call(this,r.INVALID_CONFIG,t,n)||this}return(0,o.ZT)(t,e),t}(i),c=function(e){function t(t,n){return e.call(this,r.MISSING_DATA,t,n)||this}return(0,o.ZT)(t,e),t}(i),u=function(e){function t(t,n,o){return e.call(this,r.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),o)||this}return(0,o.ZT)(t,e),t}(i),l=function(e){function t(t,n,r,o){var i=e.call(this,"".concat(t,"\nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description,"\n"),n,o)||this;return i.descriptor=r,i}return(0,o.ZT)(t,e),t}(u),f=function(e){function t(t,n){var o=e.call(this,r.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map((function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;return o.descriptor=t,o}return(0,o.ZT)(t,e),t}(i)},82644:(e,t,n)=>{"use strict";n.d(t,{L6:()=>s,Sn:()=>u,TB:()=>p,Z0:()=>c,ax:()=>f});var r=n(14874),o=n(16284),i=n(95957),a=n(88222);function s(e,t,n){return void 0===n&&(n={}),t.reduce((function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t}),{})}var c={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0},onWarn:function(e){0}};function u(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function l(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function f(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,a=Intl.DisplayNames,s=(0,i.Z)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,r.ev)([void 0],t,!1)))}),{cache:l(e.dateTime),strategy:i.A.variadic}),c=(0,i.Z)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,(0,r.ev)([void 0],t,!1)))}),{cache:l(e.number),strategy:i.A.variadic}),u=(0,i.Z)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,(0,r.ev)([void 0],t,!1)))}),{cache:l(e.pluralRules),strategy:i.A.variadic});return{getDateTimeFormat:s,getNumberFormat:c,getMessageFormat:(0,i.Z)((function(e,t,n,i){return new o.C(e,t,n,(0,r.pi)({formatters:{getNumberFormat:c,getDateTimeFormat:s,getPluralRules:u}},i||{}))}),{cache:l(e.message),strategy:i.A.variadic}),getRelativeTimeFormat:(0,i.Z)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,(0,r.ev)([void 0],e,!1)))}),{cache:l(e.relativeTime),strategy:i.A.variadic}),getPluralRules:u,getListFormat:(0,i.Z)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,(0,r.ev)([void 0],e,!1)))}),{cache:l(e.list),strategy:i.A.variadic}),getDisplayNames:(0,i.Z)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(a.bind.apply(a,(0,r.ev)([void 0],e,!1)))}),{cache:l(e.displayNames),strategy:i.A.variadic})}}function p(e,t,n,r){var o,i=e&&e[t];if(i&&(o=i[n]),o)return o;r(new a.wI("No ".concat(t," format named: ").concat(n)))}},14874:(e,t,n)=>{"use strict";n.d(t,{ZT:()=>o,ev:()=>a,pi:()=>i});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.create;function a(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create},11666:(e,t,n)=>{"use strict";n.d(t,{A:()=>M,B:()=>v,C:()=>I,D:()=>w,E:()=>u,F:()=>N,G:()=>z,J:()=>L,K:()=>$,L:()=>Q,M:()=>te,N:()=>J,P:()=>A,R:()=>R,S:()=>H,T:()=>_,U:()=>re,Y:()=>Y,_:()=>X,a:()=>Z,a1:()=>ee,a3:()=>ne,b:()=>F,d:()=>B,e:()=>D,f:()=>U,g:()=>W,h:()=>V,i:()=>y,j:()=>P,k:()=>s,l:()=>j,m:()=>b,n:()=>T,o:()=>d,p:()=>l,q:()=>g,r:()=>p,s:()=>S,t:()=>c,u:()=>f,v:()=>E,y:()=>x,z:()=>O});var r=n(12470),o=n(87462),i=n(52847);const a=function(e,t){var n;void 0===t&&(t=!0);var o=new Promise((function(r){n=setTimeout(r,e,t)}));return o[r.n1]=function(){clearTimeout(n)},o};var s=function(e){return function(){return e}}(!0),c=function(){};var u=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var l=function(e,t){(0,o.Z)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))},f=function(e,t){var n;return(n=[]).concat.apply(n,t.map(e))};function p(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function d(e){var t=!1;return function(){t||(t=!0,e())}}var h=function(e){throw e},m=function(e){return{value:e,done:!0}};function g(e,t,n){void 0===t&&(t=h),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:m,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function v(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var y=function(e){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+e+"\n")},b=function(e){return Array.apply(null,new Array(e))},w=function(e){return function(t){return e(Object.defineProperty(t,r.Nm,{value:!0}))}},O=function(e){return e===r.EO},x=function(e){return e===r.Wd},S=function(e){return O(e)||x(e)};function j(e,t){var n=Object.keys(e),r=n.length;var o,a=0,s=(0,i.IX)(e)?b(r):{},u={};return n.forEach((function(e){var n=function(n,i){o||(i||S(n)?(t.cancel(),t(n,i)):(s[e]=n,++a===r&&(o=!0,t(s))))};n.cancel=c,u[e]=n})),t.cancel=function(){o||(o=!0,n.forEach((function(e){return u[e].cancel()})))},u}function P(e){return{name:e.name||"anonymous",location:E(e)}}function E(e){return e[r.b_]}var k={isEmpty:s,put:c,take:c};function C(e,t){void 0===e&&(e=10);var n=new Array(e),r=0,o=0,i=0,a=function(t){n[o]=t,o=(o+1)%e,r++},s=function(){if(0!=r){var t=n[i];return n[i]=null,r--,i=(i+1)%e,t}},c=function(){for(var e=[];r;)e.push(s());return e};return{isEmpty:function(){return 0==r},put:function(s){var u;if(r<e)a(s);else switch(t){case 1:throw new Error("Channel's Buffer overflow!");case 3:n[o]=s,i=o=(o+1)%e;break;case 4:u=2*e,n=c(),r=n.length,o=n.length,i=0,n.length=u,e=u,a(s)}},take:s,flush:c}}var T=function(){return k},D=function(e){return C(e,4)},_="TAKE",A="PUT",M="ALL",R="RACE",I="CALL",Z="CPS",N="FORK",L="JOIN",F="CANCEL",H="SELECT",B="ACTION_CHANNEL",U="CANCELLED",W="FLUSH",z="GET_CONTEXT",V="SET_CONTEXT",G=function(e,t){var n;return(n={})[r.IO]=!0,n.combinator=!1,n.type=e,n.payload=t,n},q=function(e){return G(N,(0,o.Z)({},e.payload,{detached:!0}))};function $(e,t){return void 0===e&&(e="*"),(0,i.uj)(e)?G(_,{pattern:e}):(0,i.Om)(e)&&(0,i.d5)(t)&&(0,i.uj)(t)?G(_,{channel:e,pattern:t}):(0,i.CE)(e)?G(_,{channel:e}):void 0}function Y(e,t){return(0,i.sR)(t)&&(t=e,e=void 0),G(A,{channel:e,action:t})}function X(e){var t=G(M,e);return t.combinator=!0,t}function K(e,t){var n,r=null;return(0,i.Yl)(e)?n=e:((0,i.IX)(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&(0,i.Z_)(n)&&(0,i.Yl)(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function J(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return G(I,K(e,n))}function Q(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return G(N,K(e,n))}function ee(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return q(Q.apply(void 0,[e].concat(n)))}function te(e){return void 0===e&&(e=r.sC),G(F,e)}function ne(e){void 0===e&&(e=u);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return G(H,{selector:e,args:n})}var re=J.bind(null,a)},52847:(e,t,n)=>{"use strict";n.d(t,{CE:()=>p,IX:()=>c,MC:()=>u,NA:()=>h,Om:()=>m,Yl:()=>a,Z_:()=>s,d5:()=>i,eR:()=>d,hZ:()=>l,sR:()=>o,uj:()=>f});var r=n(12470),o=function(e){return null==e},i=function(e){return null!=e},a=function(e){return"function"==typeof e},s=function(e){return"string"==typeof e},c=Array.isArray,u=function(e){return e&&a(e.then)},l=function(e){return e&&a(e.next)&&a(e.throw)},f=function e(t){return t&&(s(t)||h(t)||a(t)||c(t)&&t.every(e))},p=function(e){return e&&a(e.take)&&a(e.close)},d=function(e){return a(e)&&e.hasOwnProperty("toString")},h=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},m=function(e){return p(e)&&e[r.AS]}},12470:(e,t,n)=>{"use strict";n.d(t,{AS:()=>c,Cs:()=>f,EO:()=>d,IO:()=>a,Nm:()=>u,Wd:()=>p,b_:()=>h,n1:()=>o,sC:()=>l,sZ:()=>i,uq:()=>s});var r=function(e){return"@@redux-saga/"+e},o=r("CANCEL_PROMISE"),i=r("CHANNEL_END"),a=r("IO"),s=r("MATCH"),c=r("MULTICAST"),u=r("SAGA_ACTION"),l=r("SELF_CANCELLATION"),f=r("TASK"),p=r("TASK_CANCEL"),d=r("TERMINATE"),h=r("LOCATION")},48479:(e,t,n)=>{"use strict";n.d(t,{AF:()=>p,Bw:()=>d,DN:()=>h,FX:()=>s,H6:()=>m,Hx:()=>u,KK:()=>S,LO:()=>O,Pm:()=>x,Pt:()=>a,Rg:()=>y,Tf:()=>o,VL:()=>g,VQ:()=>r,X7:()=>f,ZD:()=>l,_2:()=>c,b0:()=>i,b7:()=>P,m0:()=>j,pi:()=>w,rm:()=>b,xO:()=>v,zL:()=>E});var r="dbrefactoring/LOAD_MODULES",o="dbrefactoring/LOAD_FRAGMENTS",i="dbrefactoring/SET_VERSION",a="dbrefactoring/SET_FRAGMENTS",s="dbrefactoring/SET_MODULES",c="dbrefactoring/SET_SELECTED_MODULES",u="dbrefactoring/SET_FRAGMENT_SELECTED",l="dbrefactoring/SET_IGNORE_ERRORS",f="dbrefactoring/EXECUTE_DB_REFACTORING",p="dbrefactoring/SET_LANGUAGE",d="dbrefactoring/EXECUTE_LANGUAGE_UPGRADE",h="dbrefactoring/UNSET_RUNNING",m=function(){return{type:r}},g=function(){return{type:o}},v=function(e){return{type:i,payload:{version:e}}},y=function(e){return{type:a,payload:{fragments:e}}},b=function(e){return{type:s,payload:{modules:e}}},w=function(e){return{type:c,payload:{selectedModules:e}}},O=function(e,t){return{type:u,payload:{fragment:e,selected:t}}},x=function(e){return{type:l,payload:{ignoreErrors:e}}},S=function(){return{type:f}},j=function(e){return{type:p,payload:{language:e}}},P=function(){return{type:d}},E=function(e){return{type:h,payload:{path:e}}}},49478:(e,t,n)=>{"use strict";n.d(t,{$i:()=>x,EJ:()=>o,EL:()=>E,Ge:()=>d,HM:()=>s,LU:()=>i,MW:()=>r,Pq:()=>O,QM:()=>g,R6:()=>w,Rj:()=>j,VD:()=>f,YV:()=>m,_w:()=>P,ag:()=>v,c:()=>b,dQ:()=>p,es:()=>l,fq:()=>S,g6:()=>h,iK:()=>c,o1:()=>y,pe:()=>a,sF:()=>u});var r="modelvalidation/START_VALIDATION",o="modelvalidation/RECEIVE_MESSAGE",i="modelvalidation/SET_TOTAL",a="modelvalidation/SET_CURRENT",s="modelvalidation/ADD_CHECK_EVENT",c="modelvalidation/SET_RESULT",u="modelvalidation/SET_SELECTED",l="modelvalidation/GENERATE_SQL",f="modelvalidation/SET_SQL",p="modelvalidation/EXECUTE_SQL",d="modelvalidation/GENERATE_CHANGELOG",h="modelvalidation/SET_CHANGELOG",m=function(){return{type:r}},g=function(e){return{type:o,payload:{message:e}}},v=function(e){return{type:c,payload:{result:e}}},y=function(e){return{type:i,payload:{total:e}}},b=function(e,t,n){return{type:a,payload:{total:e,currentIndex:t,currentName:n}}},w=function(e,t,n){return{type:s,payload:{id:e,type:t,label:n}}},O=function(e,t){return{type:u,payload:{ids:e,selected:t}}},x=function(){return{type:l}},S=function(e){return{type:f,payload:{sql:e}}},j=function(e){return{type:p,payload:{close:e}}},P=function(){return{type:d}},E=function(e){return{type:h,payload:{changelog:e}}}},22541:(e,t,n)=>{"use strict";n.d(t,{HI:()=>o,Iv:()=>s,Z9:()=>r,Zm:()=>i,oS:()=>a,uI:()=>c});var r="sqllog/RECEIVE_ENTRY",o="sqllog/SET_ACTIVE",i="sqllog/SET_ELAPSED",a=function(e){return{type:r,payload:{data:e}}},s=function(e){return{type:o,payload:{active:e}}},c=function(e){return{type:i,payload:{elapsed:e}}}},50600:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(87757),o=n.n(r),i=n(34857),a="EMIT_ACTION",s="DISPATCH_EMITTED_ACTION",c=o().mark(f),u=o().mark(p),l=o().mark(d);function f(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.$6)([(0,i.ib)(a,p,e),(0,i.ib)(s,d)]);case 2:case"end":return t.stop()}}),c)}function p(e,t){var n,r,a;return o().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return n=t.payload,r=n.action,o.next=4,(0,i.Ys)(e);case 4:if(!(a=o.sent)){o.next=8;break}return o.next=8,(0,i.RE)(a,r);case 8:case"end":return o.stop()}}),u)}function d(e){var t,n;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,n=t.action,r.next=4,(0,i.gz)(n);case 4:case"end":return r.stop()}}),l)}const h={emitAction:function(e){return{type:a,payload:{action:e}}},dispatchEmittedAction:function(e){return{type:s,payload:{action:e}}},addToStore:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return null};e.sagaMiddleware.run(f,t)}}},31366:(e,t,n)=>{"use strict";n.d(t,{Z:()=>$i});var r=n(50558),o=n(30314),i=n.n(o),a=n(34206),s=n(47037),c=n.n(s),u=n(44012),l=n(58804),f=n(88162),p=n(85893);const d=(0,l.Zz)((function(e){return(0,p.jsx)(f.Z,{style:{fontSize:"".concat(e.theme.fontSize.base,"rem")},icon:e.value?"check":"times"})}));var h=n(19154),m=n(86896);const g=function(e){var t=(0,m.Z)();return(0,p.jsx)(a.ZP.Time,{dateTime:e.value,title:t.formatDate(e.value),children:(0,p.jsx)(h.FormattedDate,{value:e.value,year:"numeric",month:"2-digit",day:"2-digit",timeZone:"UTC"})})};var v,y=n(74806);const b=(0,y.ZP)((function(e){var t=e.value,n=e.intl,r=new Date(t);return!t||isNaN(r)?(console.error("DateTimeFormatter: Invalid date",t),v||(v=(0,p.jsx)(a.ZP.Span,{}))):(0,p.jsxs)(a.ZP.Time,{dateTime:r.toISOString(),title:"".concat(n.formatDate(r),", ").concat(n.formatTime(r)),children:[(0,p.jsx)(h.FormattedDate,{value:r,year:"numeric",month:"2-digit",day:"2-digit"}),", ",(0,p.jsx)(h.FormattedTime,{value:r})]})}));var w=n(46927),O=n(1024),x=n(76791),S=n(88601),j=n(7281),P=n(79686);function E(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 k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){(0,w.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const C=function(e){var t=(0,O.useContext)(l.Ni),n=e.options||{},r=(0,p.jsxs)(p.Fragment,{children:[n.title&&(0,p.jsx)(a.ZP.H5,{children:n.title}),(0,p.jsx)(P.Z,k({},e))]}),o={color:S.Z.color("text")({theme:t}),fontSize:"".concat(S.Z.fontSize("base")({theme:t})*S.Z.fontSize("factor")({theme:t}),"rem"),marginLeft:"-".concat(j.Z.space(-1.9)({theme:t}))};return"text"===n.mode?r:(0,p.jsx)(x.Z,{content:r,isPlainHtml:!0,children:(0,p.jsx)(f.Z,{style:o,icon:"question-circle"})})};var T=n(27361),D=n.n(T),_=n(28247),A=n(10535),M=n(41291);const R=function(e){var t=e.value,n=e.options||{},r=n.tooltips,o=n.loadTooltip,i=D()(r,t.resourceKey,null);return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(x.Z,{content:i?(0,p.jsx)("div",{dangerouslySetInnerHTML:{__html:A.Z.sanitizeHtml(i)}}):null,children:(0,p.jsx)("span",{onMouseOver:function(){return o&&!i&&o(t.resourceKey)},children:(0,p.jsx)(M.Z,{alt:t.alt||t.fileName,icon:"external-link",look:"raised",target:"_blank",href:t.binaryLink,onClick:function(e){e.stopPropagation()}})})}),(0,p.jsx)(M.Z,{alt:t.alt||t.fileName,icon:"arrow-to-bottom",look:"raised",target:"_blank",href:_.Z.getDownloadUrl(t.binaryLink),onClick:function(e){e.stopPropagation()}})]})};var I=n(73906);const Z=function(e){return(0,p.jsx)(I.Z,{alt:e.value.alt||e.value.fileName,caption:e.value.caption||e.value.fileName,downloadOnClick:!0,fileName:e.value.fileName,srcUrl:e.value.binaryLink,thumbnailUrl:e.value.thumbnailLink})};var N=n(86507);const L=function(e){var t=e.value,n=parseInt(t),r=N.Z.formatDuration(n);return(0,p.jsx)(a.ZP.Time,{dateTime:r,title:r,children:r})};const F=function(e){return(0,p.jsx)(M.Z,{href:"mailto:".concat(e.value.toString()),target:"_blank",onClick:function(e){return e.stopPropagation()},label:e.value.toString(),breakWords:e.breakWords})};const H=function(e){return(0,p.jsx)(a.ZP.Span,{breakWords:e.breakWords,children:e.value.toString()})};function B(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 U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){(0,w.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var W=function(){return", "};const z=function(e){var t=e.value,n=e.options,r=e.breakWords,o=n||{},i=o.navigationStrategy,s=o.linkProps,c=(null==t?void 0:t.length)>0?t.map((function(e){return null!=i&&i.DetailLink?(0,p.jsx)("span",{onClick:function(e){return e.stopPropagation()},children:(0,p.jsx)(i.DetailLink,U(U({},s),{},{entityKey:e.key,children:e.display}))}):e.display})).reduce((function(e,t,n){return[e,(0,p.jsx)(W,{},"sep".concat(n)),t]})):null;return(0,p.jsx)(a.ZP.Span,{breakWords:r,children:c})};const V=function(e){return(0,p.jsx)(a.ZP.Span,{breakWords:e.breakWords,children:(0,p.jsx)(h.FormattedNumber,{value:e.value,style:"decimal",minimumFractionDigits:e.options&&e.options.postPointDigits||2})})};const G=function(e){return(0,p.jsxs)(a.ZP.Span,{children:[(0,p.jsx)(V,{value:e.value}),"%"]})};function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){(0,w.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Y=(0,O.lazy)((function(){return Promise.all([n.e(817),n.e(85)]).then(n.bind(n,48078))}));const X=function(e){return(0,p.jsx)(O.Suspense,{fallback:"",children:(0,p.jsx)(Y,$({},e))})};var K=n(70696);function J(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 Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){(0,w.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const ee=function(e){var t=e.value,n=e.options,r=e.breakWords;t=K.Z.getOrFirst(t);var o=(0,p.jsx)(a.ZP.Span,{breakWords:r,children:t.display}),i=n||{},s=i.tooltips,c=i.loadTooltip,u=i.navigationStrategy,l=i.linkProps,f=D()(s,t.key,null);return(null!=u&&u.DetailLink?(0,p.jsx)("span",{onClick:function(e){return e.stopPropagation()},children:(0,p.jsx)(u.DetailLink,Q(Q({},l),{},{entityKey:t.key,children:(0,p.jsx)(x.Z,{content:f?(0,p.jsx)("div",{dangerouslySetInnerHTML:{__html:A.Z.sanitizeHtml(f)}}):null,children:(0,p.jsx)("span",{onMouseOver:function(){return c&&!f&&c(t.key)},children:o})})}))}):null)||o};const te=function(e){return(0,p.jsx)(a.ZP.Span,{breakWords:e.breakWords,children:e.value.toString()})};const ne=function(e){return e.breakWords?e.value.split("\n").map((function(e,t){return(0,p.jsx)(a.ZP.P,{children:e},t)})):(0,p.jsx)(a.ZP.Span,{breakWords:!1,children:e.value.replace("/\n/g"," ")})};var re=n(95395),oe=function(e,t){return parseInt(e.split(":")[t])||0};const ie=(0,y.ZP)((function(e){var t=e.value,n=e.intl,r=oe(t,0),o=oe(t,1),i=oe(t,2),s=oe(t,3),c=new Date(2e3,1,1,r,o,i,s),u=(0,re.default)(c,"HH:mm:ss.SSS");return(0,p.jsx)(a.ZP.Time,{dateTime:u,title:n.formatTime(c),children:(0,p.jsx)(h.FormattedTime,{value:c})})}));const ae=function(e){var t=e.value,n=e.breakWords;return(0,p.jsx)(M.Z,{onClick:function(e){e.stopPropagation()},href:t,target:"_blank",rel:"noopener noreferrer",label:t,breakWords:n,neutral:!1})};var se,ce={boolean:d,date:g,datetime:b,document:Z,"document-compact":R,duration:L,email:F,html:P.Z,integer:H,"multi-remote":z,"multi-select":z,number:V,percent:G,phone:X,remote:ee,"single-select":ee,string:te,text:ne,time:ie,url:ae,description:C};const ue=function(e){var t=e.componentType,n=e.value,r=e.options,o=e.breakWords,i=void 0===o||o;if(ce[t]){var a=ce[t];return(0,p.jsx)(a,{value:n,options:r,breakWords:i})}return console.log("No FormattedValue mapper defined for component type",t,n),se||(se=(0,p.jsx)("div",{}))};var le;const fe=function(e){var t=e.type,n=e.value,r=e.options,o=e.breakWords;return function(e){return null==e||""===e}(n)?le||(le=(0,p.jsx)("span",{})):(0,p.jsx)(ue,{componentType:t,value:n,options:r,breakWords:o})};const pe=function(e){var t=e.children;return c()(t)?function(e){return e&&/<\/?[a-zA-Z0-9]*\/?>/.test(e)}(t)?(0,p.jsx)(fe,{type:"html",value:t}):function(e){return e&&e.startsWith("client.")}(t)?(0,p.jsx)(u.Z,{id:t}):(0,p.jsx)("span",{children:t}):t};var de,he,me,ge=n(28655),ve=n.n(ge),ye=l.ZP.div.withConfig({displayName:"StyledPageOverlay"})(de||(de=ve()(["\n background-color: rgba(50, 50, 50, 0.7);\n height: 100%;\n width: 100%;\n position: fixed;\n top: 0;\n left: 0;\n z-index: 4; // higher than StyledHeader\n"]))),be=l.ZP.div.withConfig({displayName:"StyledBlockingDisplay"})(he||(he=ve()(["\n z-index: 1001;\n position: absolute;\n top: 10px;\n left: 50%;\n transform: translateX(-155px);\n width: 310px;\n padding: ",";\n background-color: ",";\n\n * {\n color: ",";\n }\n"])),j.Z.space(-.5),S.Z.color("signal.info.text"),S.Z.color("paper")),we=l.ZP.span.withConfig({displayName:"StyledTitleWrapper"})(me||(me=ve()(["\n color: ",";\n font-size: ",";\n font-weight: ",";\n"])),S.Z.color("paper"),j.Z.font(1.5),S.Z.fontWeight("regular"));const Oe=function(e){var t=e.blockers;if(!t||0===t.length)return null;var n=t[0];return(0,p.jsx)(p.Fragment,{children:i().createPortal((0,p.jsx)(ye,{children:(0,p.jsxs)(be,{children:[n.title&&(0,p.jsx)(a.ZP.H1,{children:(0,p.jsx)(we,{children:(0,p.jsx)(pe,{children:n.title})})}),n.body&&(0,p.jsx)(a.ZP.Span,{children:(0,p.jsx)(pe,{children:n.body})})]})}),document.body)})};const xe=(0,r.connect)((function(e){return{blockers:e.notification.blocking.blockers}}))(Oe);var Se,je,Pe,Ee,ke,Ce,Te,De,_e,Ae,Me,Re,Ie,Ze,Ne,Le="notification/MODAL",Fe="notification/REMOVE_MODAL",He=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:function(){};return{type:Le,payload:{id:e,title:t,message:n,component:r,cancelable:o,cancelCallback:i}}},Be=function(e){return{type:Fe,payload:{id:e}}},Ue="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,We=n(11347),ze=n(65035),Ve=n(24315),Ge=j.Z.space(.5),qe=l.ZP.div.withConfig({displayName:"StyledModalContent"})(Se||(Se=ve()(["\n position: relative;\n background-color: ",";\n padding: ",";\n ","\n ","\n display: grid;\n grid-template-rows: [header] auto [body] 1fr;\n"])),S.Z.color("paper"),Ge,!Ue&&(0,l.iv)(je||(je=ve()(["\n top: 10%;\n box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);\n max-height: 80vh;\n min-width: 350px;\n max-width: 700px;\n margin: auto;\n "]))),Ue&&(0,l.iv)(Pe||(Pe=ve()(["\n box-sizing: border-box;\n height: 100vh;\n width: 100vw;\n "])))),$e=l.ZP.button.withConfig({displayName:"StyledCloseButton"})(Ee||(Ee=ve()(["\n background-color: transparent;\n border: none;\n cursor: pointer;\n font-size: 22px;\n opacity: 0.8;\n outline: none;\n position: absolute;\n right: ",";\n top: ",";\n padding: 0;\n z-index: 1;\n\n &:hover {\n opacity: 1;\n }\n\n &:focus {\n outline: none;\n }\n"])),Ge,Ge),Ye=l.ZP.div.withConfig({displayName:"StyledModalHolder"})(ke||(ke=ve()(["\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n position: absolute;\n // higher than StyledHeader and very high value to prevent other elements blocking it when implemented as a widget\n // lower than ext-js legacy actions\n z-index: 9000;\n"]))),Xe=l.ZP.div.withConfig({displayName:"StyledModalWrapper"})(Ce||(Ce=ve()(["\n width: 100%;\n height: 100%;\n position: absolute;\n z-index: 1; // lower than ExtJS modals and mask (must be able to open legacy ExtJS modals on top of our modals)\n"]))),Ke=l.ZP.div.withConfig({displayName:"StyledModalHeader"})(Te||(Te=ve()(["\n grid-row-start: header;\n"]))),Je=l.ZP.div.withConfig({displayName:"StyledTitleWrapper"})(De||(De=ve()(["\n padding-bottom: ",";\n"])),j.Z.space(.5)),Qe=l.ZP.div.withConfig({displayName:"StyledModalBody"})(_e||(_e=ve()(["\n grid-row-start: body;\n overflow: hidden auto;\n padding-right: ",";\n ","\n"])),j.Z.space(0),We.C),et=l.ZP.div.withConfig({displayName:"StyledMessageWrapper"})(Ae||(Ae=ve()(["\n padding-bottom: ",";\n"])),j.Z.space(0)),tt=l.ZP.div.withConfig({displayName:"StyledPageOverlay"})(Me||(Me=ve()(["\n background-color: rgba(50, 50, 50, 0.7);\n height: 100%;\n width: 100%;\n position: fixed;\n top: 0;\n left: 0;\n"]))),nt=(0,l.ZP)(ze.Z).withConfig({displayName:"StyledModalButton"})(Re||(Re=ve()(["\n margin-top: ",";\n\n &:last-child {\n margin-right: 0;\n }\n"])),j.Z.space(0)),rt=l.ZP.div.withConfig({displayName:"StyledModalButtonWrapper"})(Ie||(Ie=ve()(["\n display: flex;\n justify-content: flex-end;\n"]))),ot=(0,l.vJ)(Ze||(Ze=ve()(["\n "," {\n && {\n z-index: 9999999; // higher than StyledModalHolder\n }\n }\n"])),Ve._M);const it=function(e){var t,n=e.cancelable,r=e.message,o=e.title,i=e.onClose,s=e.onCancel,c=e.id,u=e.component,l=(0,O.useRef)(null),f=(0,O.useCallback)((function(){i(c)}),[i,c]),d=(0,O.useCallback)((function(){s(c)}),[s,c]);(0,O.useEffect)((function(){var e=function(e){"Escape"===e.key&&n&&d()};return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}}),[d,n]),(0,O.useLayoutEffect)((function(){l.current&&setTimeout((function(){return window.scrollTo(0,0)}),10)}),[l]);var h=(0,O.useMemo)((function(){return t||(t=(0,p.jsx)(u,{close:f}))}),[u,f]);return(0,p.jsxs)(p.Fragment,{children:[Ne||(Ne=(0,p.jsx)(ot,{})),(0,p.jsx)(Xe,{children:(0,p.jsxs)(qe,{ref:l,children:[(0,p.jsxs)(Ke,{children:[o&&(0,p.jsx)(Je,{children:(0,p.jsx)(a.ZP.H1,{children:(0,p.jsx)(pe,{children:o})})}),n&&(0,p.jsx)($e,{onClick:d,type:"button",children:"✕"})]}),(0,p.jsxs)(Qe,{children:[r&&(0,p.jsx)(et,{children:(0,p.jsx)(a.ZP.Span,{children:(0,p.jsx)(pe,{children:r})})}),h]})]})})]})};var at;const st=function(e){var t=e.modals,n=e.close;return t.length>0&&i().createPortal((0,p.jsxs)(Ye,{children:[t.map((function(e,t){return(0,p.jsx)(it,{id:e.id,title:e.title,message:e.message,component:e.component,onClose:n,onCancel:function(t){n(t),e.cancelable&&e.cancelCallback&&e.cancelCallback()},cancelable:e.cancelable},t)})),at||(at=(0,p.jsx)(tt,{}))]}),document.body)};var ct={close:Be};const ut=(0,r.connect)((function(e,t){return{modals:e.notification.modal.modals}}),ct)(st);var lt,ft,pt,dt,ht,mt,gt,vt,yt="notification/SET_UNREAD_NOTIFICATION_KEYS",bt="notification/UPDATE_UNREAD_NOTIFICATION",wt="notification/LOAD_NOTIFICATIONS",Ot="notification/SET_NOTIFICATION",xt="notification/SET_MORE_NOTIFICATIONS_AVAILABLE",St="notification/UPDATE_NOTIFICATION",jt="notification/IS_LOADING_MORE_NOTIFICATIONS",Pt="notification/MARK_AS_READ",Et="notification/CANCEL_TASK",kt=function(e){return{type:Ot,payload:{notifications:e}}},Ct=function(e){return{type:St,payload:{notification:e}}},Tt=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:jt,payload:{isLoadingMoreNotifications:e}}},Dt=function(e){return{type:Pt,payload:{notificationKey:e}}},_t=function(e){return{type:Et,payload:{taskExecutionKey:e}}},At="notification/TOASTER",Mt="notification/REMOVE_TOASTER",Rt="notification/REMOVE_TOASTER_FROM_STORE",It=function(e){return{type:At,payload:{toaster:e}}},Zt=function(e,t){return{type:Mt,payload:{key:e,manually:t}}},Nt=function(e){return{type:Rt,payload:{key:e}}},Lt=n(2091),Ft=n(54608),Ht=n(30759),Bt=(0,l.F4)(lt||(lt=ve()(["\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n"]))),Ut={info:"info",success:"success",error:"danger",warning:"warning"},Wt=l.ZP.div.withConfig({displayName:"StyledToaster"})(ft||(ft=ve()(["\n background-color: ",";\n margin-bottom: ",";\n padding: ",";\n\n *,\n a:link // reset legacy styling\n {\n color: "," !important;\n }\n animation-name: ",";\n animation-duration: 0.8s;\n pointer-events: auto;\n"])),(function(e){return function(e,t){return Ut[e]?t.colors.signal[Ut[e]].text:"#ccc"}(e.type,e.theme)}),j.Z.space(-.5),j.Z.space(-.5),S.Z.color("paper"),Bt),zt=(0,l.ZP)(Lt.Z).withConfig({displayName:"StyledCloseButton"})(pt||(pt=ve()(["\n padding: 0;\n font-size: ",";\n color: ",";\n float: right;\n opacity: 0.9;\n\n &,\n &:hover {\n background-color: transparent;\n cursor: pointer;\n }\n\n &:hover {\n opacity: 1;\n color: ",";\n }\n"])),j.Z.font(3),S.Z.color("backgroundBody"),S.Z.color("paper")),Vt=l.ZP.div.withConfig({displayName:"StyledIconTitleWrapper"})(dt||(dt=ve()(["\n display: flex;\n align-items: center;\n padding-right: ",";\n\n "," {\n margin-top: 0;\n }\n"])),j.Z.space(0),Ft.XU),Gt=l.ZP.span.withConfig({displayName:"StyledTitleWrapper"})(ht||(ht=ve()(["\n font-size: ",";\n font-weight: ",";\n position: relative;\n bottom: 2px;\n"])),j.Z.font(1.5),S.Z.fontWeight("regular")),qt=l.ZP.div.withConfig({displayName:"StyledIconWrapper"})(mt||(mt=ve()(["\n font-size: ",";\n padding-right: ",";\n"])),j.Z.font(7),j.Z.space(-1.5)),$t=l.ZP.div.withConfig({displayName:"StyledContentWrapper"})(gt||(gt=ve()(["\n padding-top: ",";\n color: ",";\n"])),j.Z.space(-1),S.Z.color("paper")),Yt=l.ZP.div.withConfig({displayName:"StyledToasterBox"})(vt||(vt=ve()(["\n pointer-events: none;\n ",";\n position: fixed;\n height: 100%;\n width: 310px;\n top: 40px; // height of Header to prevent coverage\n right: 10px;\n // lower than StyledModalHolder and very high value to prevent other elements blocking it when implemented as a widget\n z-index: 99999;\n"])),(0,Ht.Z)()),Xt=n(63038),Kt=n.n(Xt),Jt=n(35997);const Qt=function(e){var t=e.toaster,n=e.closeToaster,r=e.cancelTask,o=e.navigationStrategy,i=(0,O.useCallback)((function(){n(t.key,!1)}),[t.key,n]),s=Jt.Z.useUserActive(i),c=Kt()(s,3),u=c[0],l=c[1],d=c[2];(0,O.useEffect)((function(){u(t.duration)}),[t.duration,u]);return(0,p.jsxs)(Wt,{onMouseOver:function(){l()},onMouseLeave:function(){d()},type:t.type,children:[(0,p.jsx)(zt,{icon:"times",onClick:function(){n(t.key,!0)}}),(0,p.jsxs)(Vt,{children:[t.icon&&(0,p.jsx)(qt,{children:(0,p.jsx)(f.Z,{icon:t.icon,hasFixedWidth:!1})}),t.title&&(0,p.jsx)(a.ZP.H1,{children:(0,p.jsx)(Gt,{children:(0,p.jsx)(pe,{children:t.title})})})]}),t.body&&(0,p.jsx)($t,{children:(0,p.jsx)(pe,{children:"function"==typeof t.body?(0,p.jsx)(t.body,{navigationStrategy:o,cancelTask:r}):t.body})})]},t.key)};const en=function(e){var t=e.toasters,n=e.removeToaster,r=e.cancelTask,o=e.navigationStrategy,a=Object.values(t).sort((function(e,t){return new Date(e.timestamp)-new Date(t.timestamp)})).map((function(e){return(0,p.jsx)(Qt,{toaster:e,closeToaster:n,cancelTask:r,navigationStrategy:o},"toaster-".concat(e.key))}));return(0,p.jsx)(p.Fragment,{children:t&&i().createPortal((0,p.jsx)(Yt,{children:a}),document.body)})};var tn={removeToaster:Zt,cancelTask:_t};const nn=(0,r.connect)((function(e){return{toasters:e.notification.toaster.toasters}}),tn)(en);var rn,on;const an=function(e){var t=e.navigationStrategy;return(0,p.jsxs)(p.Fragment,{children:[rn||(rn=(0,p.jsx)(xe,{})),(0,p.jsx)(nn,{navigationStrategy:t}),on||(on=(0,p.jsx)(ut,{}))]})};var sn="notification/BLOCKING_INFO",cn="notification/REMOVE_BLOCKING_INFO",un=n(93235),ln=n(59713),fn=n.n(ln),pn=n(87757),dn=n.n(pn),hn=n(34857),mn=n(63094),gn=dn().mark(Pn);function vn(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 yn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vn(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var bn={failed:"error",info:"info",warning:"warning",success:"success"},wn="running_infinite",On="running_absolute",xn="pending",Sn="OUTPUTJOB",jn="ENTITIES";function Pn(e){var t,n,r,o,i,a,s;return dn().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:if(!(t=yn(yn({},e),{},{type:bn[e.type]||"info",result:e.result?JSON.parse(e.result):null,taskProgress:e.taskProgress?yn(yn({},e.taskProgress),{},{isRunning:(u=e.taskProgress,u.status&&(u.status===xn||u.status===On||u.status===wn)),percentage:Math.round(100/e.taskProgress.total*e.taskProgress.done)}):null})).result||t.result.type!==Sn){c.next=15;break}return n=null,c.prev=3,r=t.result.content[0].key,c.next=7,(0,hn.RE)(mn.Z.fetchEntity,"Output_job",r,{paths:["document"]});case 7:o=c.sent,i=o.paths.document.value,a=i.fileName,s=i.binaryLink,n={name:a,link:s,description:t.result.content[0].display},c.next=14;break;case 12:c.prev=12,c.t0=c.catch(3);case 14:t.result=yn(yn({},t.result),{},{file:n});case 15:return c.abrupt("return",t);case 16:case"end":return c.stop()}var u}),gn,null,[[3,12]])}var En=function(){return En=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},En.apply(this,arguments)};var kn,Cn,Tn,Dn,_n,An,Mn,Rn,In,Zn,Nn,Ln,Fn,Hn,Bn,Un,Wn,zn,Vn,Gn,qn,$n,Yn,Xn={second:45,minute:45,hour:22,day:5},Kn=n(48272),Jn=n(7739),Qn=n.n(Jn),er=n(45697),tr=n.n(er),nr={neutral:"neutral",info:"info",warning:"warning",error:"error",success:"success"},rr=(kn={},fn()(kn,nr.neutral,null),fn()(kn,nr.error,"times-circle"),fn()(kn,nr.warning,"exclamation-circle"),fn()(kn,nr.success,"check-circle"),fn()(kn,nr.info,"info-circle"),kn),or=(tr().shape({key:tr().string.isRequired,message:tr().string,read:tr().bool,timestamp:tr().date,originId:tr().string,type:tr().string,taskProgress:tr().shape({taskExecutionKey:tr().string.isRequired,status:tr().string,message:tr().string,percentage:tr().number,done:tr().number,total:tr().number,supportsCancellation:tr().bool,isRunning:tr().bool})}),n(76538)),ir=l.ZP.div.withConfig({displayName:"StyledTaskProgressWrapper"})(Cn||(Cn=ve()(["\n margin-bottom: ",";\n\n a {\n padding-right: 1rem;\n }\n"])),j.Z.space(-1.5)),ar=l.ZP.span.withConfig({displayName:"StyledSpinnerWrapper"})(Tn||(Tn=ve()(["\n margin-right: ",";\n"])),j.Z.space(-1.5)),sr=l.ZP.div.withConfig({displayName:"StyledProgressOuter"})(Dn||(Dn=ve()(["\n background-color: ",";\n width: 100%;\n height: 5px;\n"])),(function(e){var t=e.theme;return(0,or._j)(.2,t.colors.backgroundBody)})),cr=l.ZP.div.withConfig({displayName:"StyledProgressInner"})(_n||(_n=ve()(["\n background-color: ",";\n width: ","%;\n height: 5px;\n"])),S.Z.color("paper"),(function(e){return e.percentage})),ur=l.ZP.span.withConfig({displayName:"StyledMessage"})(An||(An=ve()(["\n margin-right: ",";\n"])),j.Z.space(-2)),lr=l.ZP.div.withConfig({displayName:"StyledDetailLinkWrapper"})(Mn||(Mn=ve()(["\n margin-top: ",";\n margin-bottom: ",";\n\n * {\n font-size: ",";\n text-decoration: none;\n }\n"])),j.Z.space(-2),j.Z.space(-2),j.Z.font(-1)),fr=l.ZP.div.withConfig({displayName:"StyledOutputJobWrapper"})(Rn||(Rn=ve()(["\n a {\n color: ",";\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n }\n }\n"])),S.Z.color("text")),pr=l.ZP.div.withConfig({displayName:"StyledFileDescription"})(In||(In=ve()(["\n margin-bottom: ",";\n\n && {\n a {\n text-decoration: underline;\n }\n }\n"])),j.Z.space(0)),dr=l.ZP.span.withConfig({displayName:"StyledIconWrapper"})(Zn||(Zn=ve()(["\n padding-right: ",";\n"])),j.Z.space(-1.5)),hr=l.ZP.div.withConfig({displayName:"StyledCancelWrapper"})(Nn||(Nn=ve()(["\n color: ",";\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n cursor: pointer;\n }\n"])),S.Z.color("text")),mr=(0,y.ZP)((function(e){var t=e.notification.result,n=e.navigationStrategy,r=e.intl,o=t.type,i=t.file,a=t.content,s=function(e){return r.formatMessage({id:e})},c=s("client.common.notification.outputJobFileLink"),l=s("client.common.notification.outputJobFileDownload");return o===Sn?i?(0,p.jsxs)(fr,{children:[(0,p.jsx)(pr,{children:(0,p.jsx)("a",{href:i.link,target:"_blank",rel:"noreferrer",title:c,children:i.description})}),(0,p.jsx)("div",{children:(0,p.jsxs)("a",{href:i.link,target:"_blank",rel:"noreferrer",title:c,children:[Ln||(Ln=(0,p.jsx)(dr,{children:(0,p.jsx)(f.Z,{icon:"external-link"})})),Fn||(Fn=(0,p.jsx)(u.Z,{id:"client.common.notification.outputJobFileLink"}))]})}),_.Z.downloadSupportedByBrowser()&&(0,p.jsxs)("a",{href:_.Z.addParameterToURL(i.link,"download",!0),target:"_blank",rel:"noreferrer",title:l,children:[Hn||(Hn=(0,p.jsx)(dr,{children:(0,p.jsx)(f.Z,{icon:"arrow-to-bottom"})})),Bn||(Bn=(0,p.jsx)(u.Z,{id:"client.common.notification.outputJobFileDownload"}))]}),(0,p.jsx)(lr,{children:n&&n.DetailLink&&(0,p.jsxs)(n.DetailLink,{entityName:a[0].model,entityKey:a[0].key,children:[Un||(Un=(0,p.jsx)(f.Z,{icon:"arrow-right"}))," ",Wn||(Wn=(0,p.jsx)(u.Z,{id:"client.common.notification.outputJobOpen"}))]})})]}):null:o===jn?(0,p.jsx)(p.Fragment,{children:Object.entries(Qn()(a,(function(e){return e.model}))).map((function(e){var t=Kt()(e,2),r=t[0],o=t[1];return(0,p.jsx)(lr,{children:n&&n.ListOrDetailLink&&(0,p.jsxs)(n.ListOrDetailLink,{entityName:r,entityKeys:o.map((function(e){return e.key})),children:[zn||(zn=(0,p.jsx)(f.Z,{icon:"arrow-right"}))," ",(0,p.jsx)(u.Z,{id:"client.common.notification.entitiesOpen",values:{modelName:o.at(0).modelName}})]})},"entitylink-"+r)}))}):null})),gr=function(e){var t=e.notification,n=e.cancelTask,r=e.navigationStrategy,o=t.taskProgress;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(ir,{children:[(0,p.jsx)(ar,{children:o.isRunning&&(Vn||(Vn=(0,p.jsx)(un.Z,{})))}),(0,p.jsx)(vr,{notification:t})]}),"running_absolute"===o.status&&(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(sr,{children:(0,p.jsx)(cr,{percentage:o.percentage})})}),(0,p.jsx)(lr,{children:r&&r.DetailLink&&"completed"!==o.status&&(0,p.jsxs)(r.DetailLink,{entityName:"Task_execution",entityKey:o.taskExecutionKey,children:[Gn||(Gn=(0,p.jsx)(dr,{children:(0,p.jsx)(f.Z,{icon:"arrow-right"})})),qn||(qn=(0,p.jsx)(u.Z,{id:"client.common.notification.outputJobShowTask"}))]})}),t.type===nr.info&&o.isRunning&&o.supportsCancellation&&(0,p.jsxs)(hr,{onClick:function(){return n(o.taskExecutionKey)},children:[$n||($n=(0,p.jsx)(dr,{children:(0,p.jsx)(f.Z,{icon:"times"})})),Yn||(Yn=(0,p.jsx)(u.Z,{id:"client.common.notification.cancelTask"}))]})]})},vr=function(e){var t=e.notification.message;return t&&0!==t.trim().length?(0,p.jsx)(ur,{children:t}):null};const yr=function(e){var t=e.notification,n=e.cancelTask,r=e.navigationStrategy,o=t.result,i=t.taskProgress;return o?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(vr,{notification:t}),(0,p.jsx)(mr,{notification:t,navigationStrategy:r})]}):i?(0,p.jsx)(gr,{notification:t,navigationStrategy:r,cancelTask:n}):(0,p.jsx)(vr,{notification:t})},br=yr;var wr,Or,xr,Sr,jr,Pr,Er,kr,Cr={warning:S.Z.color("signal.warning.text"),error:S.Z.color("signal.danger.text"),success:S.Z.color("signal.success.text"),info:S.Z.color("signal.info.text")},Tr=l.ZP.article.withConfig({displayName:"StyledNotification"})(wr||(wr=ve()(["\n margin-bottom: ",";\n padding: ",";\n ","\n"])),j.Z.space(0),j.Z.space(-1),(function(e){return!e.read&&(0,l.iv)(Or||(Or=ve()(["\n background-color: ",";\n "])),S.Z.color("backgroundBody"))})),Dr=l.ZP.header.withConfig({displayName:"StyledNotificationHeader"})(xr||(xr=ve()(["\n display: flex;\n align-items: center;\n margin-bottom: ",";\n\n * {\n margin-top: 0 !important;\n color: "," !important;\n }\n"])),j.Z.space(-1),(function(e){var t=e.notificationType;return Cr[t]})),_r=l.ZP.span.withConfig({displayName:"StyledIconWrapper"})(Sr||(Sr=ve()(["\n display: inline-block;\n margin-right: ",";\n font-size: ",";\n"])),j.Z.space(-1.5),j.Z.font(5)),Ar=l.ZP.span.withConfig({displayName:"StyledTitleWrapper"})(jr||(jr=ve()(["\n * {\n font-weight: "," !important;\n }\n"])),S.Z.fontWeight("regular")),Mr=l.ZP.div.withConfig({displayName:"StyledNotificationTitleWrapper"})(Pr||(Pr=ve()(["\n ","\n margin-bottom: ",";\n"])),(0,Ht.Z)({fontSize:j.Z.font(2.9),fontWeight:S.Z.fontWeight("bold"),color:S.Z.color("secondary")}),j.Z.space(-.5)),Rr=l.ZP.div.withConfig({displayName:"StyledTimeStamp"})(Er||(Er=ve()(["\n font-size: ",";\n"])),j.Z.font(-2)),Ir=l.ZP.div.withConfig({displayName:"StyledNotificationCenter"})(kr||(kr=ve()(["\n max-height: calc(100vh - 100px);\n overflow-y: auto;\n width: inherit;\n padding: ",";\n background-color: ",";\n border: 1px solid ",";\n ","\n ","\n"])),j.Z.space(-.5),S.Z.color("paper"),S.Z.color("secondaryLight"),We.C,(0,Ht.Z)());var Zr={warning:"exclamation-circle",error:"times-circle",success:"check-circle",info:"info-circle"};const Nr=function(e){var t,n,r,o=e.notification,i=e.markAsRead,s=e.cancelTask,c=e.navigationStrategy,u=(0,O.useRef)(null),l=function(e,t,n){void 0===t&&(t=Date.now()),void 0===n&&(n={});var r=En(En({},Xn),n||{}),o=(+e-+t)/1e3;if(Math.abs(o)<r.second)return{value:Math.round(o),unit:"second"};var i=o/60;if(Math.abs(i)<r.minute)return{value:Math.round(i),unit:"minute"};var a=o/3600;if(Math.abs(a)<r.hour)return{value:Math.round(a),unit:"hour"};var s=o/86400;if(Math.abs(s)<r.day)return{value:Math.round(s),unit:"day"};var c=new Date(e),u=new Date(t),l=c.getFullYear()-u.getFullYear();if(Math.round(Math.abs(l))>0)return{value:Math.round(l),unit:"year"};var f=12*l+c.getMonth()-u.getMonth();if(Math.round(Math.abs(f))>0)return{value:Math.round(f),unit:"month"};var p=o/604800;return{value:Math.round(p),unit:"week"}}(new Date(o.timestamp)),d=l.value,h=l.unit,m=(0,O.useState)((function(){return o.read})),g=Kt()(m,1)[0];return t=u,n=function(){o.read||i(o.key)},r=new IntersectionObserver((function(e){Kt()(e,1)[0].isIntersecting&&(n(),r.disconnect())})),(0,O.useEffect)((function(){return r.observe(t.current),function(){r.disconnect()}}),[]),(0,p.jsxs)(Tr,{ref:u,read:g,children:[(0,p.jsxs)(Dr,{notificationType:o.type,children:[(0,p.jsx)(_r,{children:(0,p.jsx)(f.Z,{icon:Zr[o.type]})}),(0,p.jsx)(Ar,{children:(0,p.jsx)(a.ZP.H5,{children:o.title})})]}),(0,p.jsx)(br,{notification:o,navigationStrategy:c,cancelTask:s}),(0,p.jsx)(Rr,{children:(0,p.jsx)(Kn.Z,{value:d,unit:h})})]})};var Lr,Fr,Hr,Br;const Ur=function(e){var t=e.loadNotifications,n=e.notifications,r=e.moreNotificationsAvailable,o=e.isLoadingMoreNotifications,i=e.markAsRead,s=e.cancelTask,c=e.navigationStrategy,l=(0,O.useRef)(null);(0,O.useEffect)((function(){t()}),[t]);var f=Object.keys(n).map((function(e){return n[e]})).filter((function(e){return!e.result||e.result.type!==Sn||e.result.file})).filter((function(e){return!e.taskProgress||"cancelled"!==e.taskProgress.status})).sort((function(e,t){return new Date(t.timestamp)-new Date(e.timestamp)})).map((function(e){return(0,p.jsx)(Nr,{markAsRead:i,cancelTask:s,notification:e,navigationStrategy:c},"notification-".concat(e.key))}));return(0,p.jsxs)(Ir,{ref:l,onScroll:function(){var e=Object.keys(n).length;l.current.scrollTop+l.current.offsetHeight>=l.current.scrollHeight&&(!o&&r)&&t(e)},children:[Lr||(Lr=(0,p.jsx)(Mr,{children:(0,p.jsx)(u.Z,{id:"client.admin.notification.title"})})),f,o&&(Fr||(Fr=(0,p.jsx)(un.Z,{}))),f.length>0&&!r&&(Hr||(Hr=(0,p.jsx)(a.ZP.I,{children:(0,p.jsx)(u.Z,{id:"client.admin.notification.noMoreNotifications"})}))),0===f.length&&!o&&(Br||(Br=(0,p.jsx)(a.ZP.I,{children:(0,p.jsx)(u.Z,{id:"client.admin.notification.noNotification"})})))]})};var Wr={loadNotifications:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return{type:wt,payload:{offset:e}}},markAsRead:Dt,cancelTask:_t};const zr=(0,r.connect)((function(e){return{notifications:e.notification.center.notifications,moreNotificationsAvailable:e.notification.center.moreNotificationsAvailable,isLoadingMoreNotifications:e.notification.center.isLoadingMoreNotifications}}),Wr)(Ur);var Vr,Gr="notification/CONFIRM",qr="notification/YES_NO_QUESTION",$r="notification/CONNECT_SOCKET",Yr="notification/CLOSE_SOCKET",Xr="notification/SOCKET_MESSAGE_RECEIVED",Kr="notification/ADD_IGNORE_TOASTER",Jr=function(e){return{type:Xr,payload:{data:e}}},Qr=function(e){return{type:Kr,payload:{key:e}}},eo=n(15857),to=n(81770),no=n(319),ro=n.n(no);function oo(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 io(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oo(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ao=(Vr={},fn()(Vr,sn,(function(e,t){var n=t.payload,r=n.id,o=n.title,i=n.body;return io(io({},e),{},{blockers:[].concat(ro()(e.blockers),[{id:r,title:o,body:i}])})})),fn()(Vr,cn,(function(e,t){var n=t.payload.id;return io(io({},e),{},{blockers:e.blockers.filter((function(e){return e.id!==n}))})})),Vr),so={blockers:[]};function co(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:so,t=arguments.length>1?arguments[1]:void 0,n=ao[t.type];return n?n(e,t):e}var uo=n(50600),lo=dn().mark(po),fo=dn().mark(ho);function po(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=3;break}return t.next=3,(0,hn.$6)([(0,hn.ib)(sn,ho),(0,hn.ib)(cn,ho)]);case 3:case"end":return t.stop()}}),lo)}function ho(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,hn.gz)(uo.Z.emitAction(e));case 2:case"end":return t.stop()}}),fo)}var mo,go=n(93386),vo=n.n(go);function yo(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 bo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yo(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var wo=(mo={},fn()(mo,Ot,(function(e,t){var n=t.payload.notifications;return bo(bo({},e),{},{notifications:bo(bo({},e.notifications),n),isLoadingMoreNotifications:!1})})),fn()(mo,xt,to.Z.singleTransferReducer("moreNotificationsAvailable")),fn()(mo,St,(function(e,t){var n=t.payload.notification;return bo(bo({},e),{},{notifications:bo(bo({},e.notifications),{},fn()({},n.key,n))})})),fn()(mo,yt,to.Z.singleTransferReducer("unreadNotificationKeys")),fn()(mo,bt,(function(e,t){var n,r=t.payload,o=r.notificationKey;return n=r.read?e.unreadNotificationKeys.filter((function(e){return e!==o})):vo()(e.unreadNotificationKeys,[o]),bo(bo({},e),{},{unreadNotificationKeys:n})})),fn()(mo,jt,to.Z.singleTransferReducer("isLoadingMoreNotifications")),mo),Oo={notifications:{},isLoadingMoreNotifications:!1,unreadNotificationKeys:[],moreNotificationsAvailable:!0};function xo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Oo,t=arguments.length>1?arguments[1]:void 0,n=wo[t.type];return n?n(e,t):e}function So(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 jo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?So(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):So(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Po=dn().mark(Do),Eo=dn().mark(_o),ko=dn().mark(Ao),Co=dn().mark(Mo),To=dn().mark(Ro);function Do(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=3;break}return t.next=3,(0,hn.$6)([(0,hn.RE)(_o),(0,hn.ib)(wt,Ao),(0,hn.ib)(Pt,Mo),(0,hn.ib)(Et,Ro)]);case 3:case"end":return t.stop()}}),Po)}function _o(){var e,t,n,r,o;return dn().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:e=100,t=1,n=[];case 3:return r={where:"read == false and relPrincipal.username == :currentUsername",limit:e,page:t},i.next=6,(0,hn.RE)(mn.Z.fetchEntities,"Notification",r,{method:"GET"});case 6:o=i.sent,n.push.apply(n,ro()(o.map((function(e){return e.key})))),t++;case 9:if(n.length===(t-1)*e){i.next=3;break}case 10:return i.next=12,(0,hn.gz)({type:yt,payload:{unreadNotificationKeys:n}});case 12:case"end":return i.stop()}}),Eo)}function Ao(e){var t,n,r,o,i;return dn().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t=e.payload.offset,a.next=3,(0,hn.gz)(Tt());case 3:return n={_limit:10,_offset:t},a.next=6,(0,hn.RE)(mn.Z.requestSaga,"client/notifications",{method:"GET",queryParams:n});case 6:return r=a.sent,a.next=9,(0,hn.$6)(r.body.data.map((function(e){return(0,hn.RE)(Pn,e)})));case 9:if(o=a.sent,i=o.reduce((function(e,t){return jo(jo({},e),{},fn()({},t.key,t))}),{}),!(Object.keys(i).length<10)){a.next=14;break}return a.next=14,(0,hn.gz)({type:xt,payload:{moreNotificationsAvailable:!1}});case 14:return a.next=16,(0,hn.gz)(kt(i));case 16:case"end":return a.stop()}}),ko)}function Mo(e){var t,n;return dn().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload.notificationKey,n={method:"PATCH"},r.next=4,(0,hn.RE)(mn.Z.requestSaga,"client/notifications/".concat(t,"/read"),n);case 4:case"end":return r.stop()}}),Co)}function Ro(e){var t;return dn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.payload.taskExecutionKey,n.next=3,(0,hn.RE)(mn.Z.requestSaga,"client/tasks/".concat(t),{method:"DELETE"});case 3:case"end":return n.stop()}}),To)}var Io=n(44586),Zo=n(78958);function No(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 Lo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?No(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):No(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Fo=function(e){var t=e.buttons;return(0,p.jsx)(rt,{children:t.map((function(e,t){return(0,O.createElement)(nt,Lo(Lo({},e.primary?{ink:Zo.Z.ink.PRIMARY}:{}),{},{key:t,label:e.label,onClick:e.callback}))}))})};function Ho(e,t,n,r,o,i){var a=(0,Io.Z)();return He(a,e,t,(function(e){var t=e.close,a=function(e){"Enter"===e.key?(e.preventDefault(),o(),t()):"Escape"===e.key&&(i(),t())};(0,O.useEffect)((function(){return document.addEventListener("keydown",a),function(){document.removeEventListener("keydown",a)}}),[]);var s=[{label:n,primary:!0,callback:function(){o(),t()}},{label:r,callback:function(){i(),t()}}];return(0,p.jsx)(Fo,{buttons:s})}),!1)}function Bo(e,t,n,r,o,i,a,s){var c=(0,Io.Z)();return He(c,e,t,(function(e){var t=e.close,c=[{label:n,primary:!0,callback:function(){i(),t()}},{label:r,callback:function(){a(),t()}},{label:o,callback:function(){s(),t()}}];return(0,p.jsx)(Fo,{buttons:c})}),!1)}var Uo,Wo=dn().mark(qo),zo=dn().mark($o),Vo=dn().mark(Yo),Go=dn().mark(Xo);function qo(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=5;break}return t.next=3,(0,hn.$6)([(0,hn.ib)(Gr,$o),(0,hn.ib)(qr,Yo)]);case 3:t.next=7;break;case 5:return t.next=7,(0,hn.$6)([(0,hn.ib)(Gr,Xo),(0,hn.ib)(qr,Xo)]);case 7:case"end":return t.stop()}}),Wo)}function $o(e){var t,n,r,o,i,a,s,c;return dn().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return t=e.payload,n=t.title,r=t.message,o=t.okText,i=t.cancelText,a=t.onOk,s=t.onCancel,u.next=4,(0,hn.RE)(Ho,n,r,o,i,a,s);case 4:return c=u.sent,u.next=7,(0,hn.gz)(c);case 7:case"end":return u.stop()}}),zo)}function Yo(e){var t,n,r,o,i,a,s,c,u,l;return dn().wrap((function(f){for(;;)switch(f.prev=f.next){case 0:return t=e.payload,n=t.title,r=t.message,o=t.yesText,i=t.noText,a=t.cancelText,s=t.onYes,c=t.onNo,u=t.onCancel,f.next=4,(0,hn.RE)(Bo,n,r,o,i,a,s,c,u);case 4:return l=f.sent,f.next=7,(0,hn.gz)(l);case 7:case"end":return f.stop()}}),Vo)}function Xo(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,hn.gz)(uo.Z.emitAction(e));case 2:case"end":return t.stop()}}),Go)}function Ko(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 Jo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ko(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ko(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Qo=(Uo={},fn()(Uo,Le,(function(e,t){var n=t.payload,r=n.id,o=n.title,i=n.message,a=n.component,s=n.cancelable,c=n.cancelCallback;return Jo(Jo({},e),{},{modals:[].concat(ro()(e.modals),[{id:r,title:o,message:i,component:a,cancelable:s,cancelCallback:c}])})})),fn()(Uo,Fe,(function(e,t){var n=t.payload.id;return Jo(Jo({},e),{},{modals:e.modals.filter((function(e){return e.id!==n}))})})),Uo),ei={modals:[]};function ti(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ei,t=arguments.length>1?arguments[1]:void 0,n=Qo[t.type];return n?n(e,t):e}var ni=dn().mark(oi),ri=dn().mark(ii);function oi(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=3;break}return t.next=3,(0,hn.$6)([(0,hn.ib)(Le,ii),(0,hn.ib)(Fe,ii)]);case 3:case"end":return t.stop()}}),ni)}function ii(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,hn.gz)(uo.Z.emitAction(e));case 2:case"end":return t.stop()}}),ri)}function ai(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 si(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ai(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ai(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ci=fn()({},Kr,(function(e,t){var n=t.payload.key;return si(si({},e),{},{ignoredToasters:ro()(new Set([].concat(ro()(e.ignoredToasters),[n])))})})),ui={ignoredToasters:[]};function li(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ui,t=arguments.length>1?arguments[1]:void 0,n=ci[t.type];return n?n(e,t):e}var fi=n(58940),pi=n(47979);function di(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var hi="socket-msg-",mi=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?di(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):di(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({key:"".concat(hi).concat(e.key),type:e.type,time:new Date(e.timestamp),title:e.title,message:e.message,body:function(t){var n=t.navigationStrategy,r=t.cancelTask;return(0,p.jsx)(br,{notification:e,navigationStrategy:n,cancelTask:r})}},e.taskProgress&&e.taskProgress.isRunning?{duration:-1}:{})},gi=dn().mark(Si),vi=dn().mark(ji),yi=dn().mark(Pi),bi=dn().mark(Ei),wi=dn().mark(ki),Oi=function(e){return e.notification.socket},xi=function(e){return e.notification.toaster.toasters};function Si(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=3;break}return t.next=3,(0,hn.$6)([(0,hn.ib)(Xr,Ei),(0,hn.ib)(Mt,ki),(0,hn.ib)($r,ji),(0,hn.ib)(Yr,Pi)]);case 3:case"end":return t.stop()}}),gi)}function ji(){var e;return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,hn.RE)(fi.Z.getOriginId);case 2:return e=t.sent,t.next=5,(0,hn.RE)(pi.Z.connectSocket,{name:"notification",messageReceivedAction:Jr,originId:e});case 5:case"end":return t.stop()}}),vi)}function Pi(){return dn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,hn.RE)(pi.Z.closeSocket,"notification");case 2:case"end":return e.stop()}}),yi)}function Ei(e){var t,n,r,o,i,a;return dn().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return t=e.payload.data,s.next=3,(0,hn.RE)(Pn,t);case 3:return n=s.sent,s.next=6,(0,hn.Ys)(Oi);case 6:if(r=s.sent,o=r.ignoredToasters,i=!1,n.originId!==fi.Z.getOriginId()){s.next=17;break}return s.next=12,(0,hn.RE)(mi,n);case 12:if(a=s.sent,o.includes(a.key)||n.read){s.next=17;break}return s.next=16,(0,hn.gz)(It(a));case 16:i=!0;case 17:if(i&&!n.read){s.next=20;break}return s.next=20,(0,hn.gz)((c=n.key,u=n.read,{type:bt,payload:{notificationKey:c,read:u}}));case 20:return s.next=22,(0,hn.gz)(Ct(n));case 22:case"end":return s.stop()}var c,u}),bi)}function ki(e){var t,n,r,o;return dn().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(t=e.payload,n=t.key,r=t.manually,!n.startsWith(hi)){i.next=12;break}if(!r){i.next=5;break}return i.next=5,(0,hn.gz)(Qr(n));case 5:return i.next=7,(0,hn.Ys)(xi);case 7:if("success"!==i.sent[n].type&&!r){i.next=12;break}return o=n.replace(hi,""),i.next=12,(0,hn.gz)(Dt(o));case 12:case"end":return i.stop()}}),wi)}var Ci=n(50008),Ti=n.n(Ci),Di=n(6479),_i=n.n(Di);function Ai(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 Mi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ai(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ai(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ri,Ii=function(e,t){return Number.isInteger(e)?e:function(e){return e===nr.error||e===nr.warning}(t)?-1:5e3};tr().shape({type:tr().oneOf(Object.values(nr)).isRequired,title:tr().oneOfType([tr().string,tr().func]),message:tr().oneOfType([tr().string,tr().func]),body:tr().oneOfType([tr().string,tr().func]),onClose:tr().func,icons:tr().string,duration:tr().number,time:tr().instanceOf(Date)});function Zi(e){var t=function(e,t){if("object"!==Ti()(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Ti()(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Ti()(t)?t:String(t)}function Ni(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 Li(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ni(Object(n),!0).forEach((function(t){fn()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ni(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Fi=(Ri={},fn()(Ri,At,(function(e,t){var n=function(e){if(!e.title&&!e.body)return null;var t=e.type&&Object.keys(nr).includes(e.type)?e.type:nr.neutral;return Mi(Mi(Mi(Mi(Mi({type:t,key:e.key||(0,Io.Z)()},e.title&&{title:e.title}),e.message&&{message:e.message}),e.body&&{body:e.body}),{},{icon:e.icon||rr[t]},e.onClose&&"function"==typeof e.onClose&&{onClose:e.onClose}),{},{duration:Ii(e.duration,t),time:e.time instanceof Date?e.time:new Date})}(t.payload.toaster);return Li(Li({},e),{},{toasters:Li(Li({},e.toasters),{},fn()({},n.key,n))})})),fn()(Ri,Rt,(function(e,t){var n=t.payload.key,r=e.toasters,o=(r[n],_i()(r,[n].map(Zi)));return Li(Li({},e),{},{toasters:Li({},o)})})),Ri),Hi={toasters:{}};function Bi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Hi,t=arguments.length>1?arguments[1]:void 0,n=Fi[t.type];return n?n(e,t):e}var Ui=dn().mark(Vi),Wi=dn().mark(Gi),zi=dn().mark(qi);function Vi(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=5;break}return t.next=3,(0,hn.$6)([(0,hn.ib)(Mt,qi)]);case 3:t.next=7;break;case 5:return t.next=7,(0,hn.$6)([(0,hn.ib)(At,Gi),(0,hn.ib)(Mt,Gi)]);case 7:case"end":return t.stop()}}),Ui)}function Gi(e){return dn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,hn.gz)(uo.Z.emitAction(e));case 2:case"end":return t.stop()}}),Wi)}function qi(e){var t,n;return dn().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,n=t.key,t.manually,r.next=3,(0,hn.gz)(Nt(n));case 3:case"end":return r.stop()}}),zi)}const $i={addToStore:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.withNotificationCenter,o=void 0!==r&&r;t&&to.Z.injectReducers(e,{notification:(0,eo.UY)({modal:ti,socket:li,toaster:Bi,blocking:co,center:xo})}),e.sagaMiddleware.run(po,t),e.sagaMiddleware.run(qo,t),e.sagaMiddleware.run(oi,t),e.sagaMiddleware.run(Si,t),e.sagaMiddleware.run(Vi,t),t&&o&&e.sagaMiddleware.run(Do)},Notifications:an,NotificationCenter:zr,confirm:function(e,t,n,r,o,i){return{type:Gr,payload:{title:e,message:t,okText:n,cancelText:r,onOk:o,onCancel:i}}},yesNoQuestion:function(e,t,n,r,o,i,a,s){return{type:qr,payload:{title:e,message:t,yesText:n,noText:r,cancelText:o,onYes:i,onNo:a,onCancel:s}}},blockingInfo:function(e,t,n){return{type:sn,payload:{id:e,title:t,body:n}}},removeBlockingInfo:function(e){return{type:cn,payload:{id:e}}},modal:He,removeModal:Be,toaster:It,removeToaster:Zt,connectSocket:function(){return{type:$r}},closeSocket:function(){return{type:Yr}}}},63094:(e,t,n)=>{"use strict";n.d(t,{Z:()=>St});var r=n(93913),o=n.n(r),i=n(34575),a=n.n(i),s=n(2205),c=n.n(s),u=n(78585),l=n.n(u),f=n(29754),p=n.n(f);function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}const m=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";d(this,t);var n=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return Object.defineProperty(n,"message",{configurable:!0,enumerable:!1,value:e,writable:!0}),Object.defineProperty(n,"name",{configurable:!0,enumerable:!1,value:n.constructor.name,writable:!0}),Error.hasOwnProperty("captureStackTrace")?(Error.captureStackTrace(n,n.constructor),h(n)):(Object.defineProperty(n,"stack",{configurable:!0,enumerable:!1,value:new Error(e).stack,writable:!0}),n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(function(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e,t}(Error));function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p()(e);if(t){var o=p()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l()(this,n)}}const v=function(e){c()(n,e);var t=g(n);function n(){return a()(this,n),t.apply(this,arguments)}return o()(n)}(m);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p()(e);if(t){var o=p()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l()(this,n)}}const b=function(e){c()(n,e);var t=y(n);function n(){return a()(this,n),t.apply(this,arguments)}return o()(n)}(m);var w=n(63038),O=n.n(w),x=n(59713),S=n.n(x),j=n(87757),P=n.n(j),E=n(27361),k=n.n(E),C=n(13218),T=n.n(C),D=n(54061),_=n.n(D),A=n(34857),M=n(79311),R=n(85743),I=n(2100),Z=n(54159),N=n(31366),L=n(44422),F=n(24688);function H(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p()(e);if(t){var o=p()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l()(this,n)}}const B=function(e){c()(n,e);var t=H(n);function n(e){var r;return a()(this,n),(r=t.call(this)).message=e,r}return o()(n)}(m);function U(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 W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(Object(n),!0).forEach((function(t){S()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!(e.ok||n.includes(e.status)||e.body&&t.includes(e.body.errorCode))){if(409===e.status&&e.body.information)throw new B(e.body.information);var r="".concat(e.statusText," ").concat(e.body?e.body.message:"");throw new Error(r)}return e},V=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e.json()},n=e.ok,r=e.headers,o=e.status,i=e.statusText,a={ok:n,headers:r,status:o,statusText:i};return 204===o?W(W({},a),{},{body:null}):t(e).then((function(e){return W(W({},a),{},{body:e})})).catch((function(e){return W(W({},a),{},{body:null})}))};function G(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return r.push(412),fetch(e,W(W({},t),{},{signal:F.Z.abortController.signal})).then((function(e){return V(e)})).then((function(e){return z(e,n,r)}))}function q(e,t,n,r){return fetch(e,t).then((function(e){return function(e){return V(e,(function(e){return e.blob()}))}(e)})).then((function(e){return z(e,n,r)}))}var $=P().mark(Q),Y=P().mark(ee),X=P().mark(ne),K=P().mark(re),J={ConfirmQuestionHandler:ne,YesNoQuestionHandler:re};function Q(e,t,n){var r,o;return P().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if("GET"!==t.options.method&&"HEAD"!==t.options.method){i.next=2;break}return i.abrupt("return",e);case 2:r={};case 3:if(!e.body||!e.body.clientQuestion){i.next=16;break}return i.next=6,(0,A.RE)(ee,e.body.clientQuestion);case 6:if(null!=(o=i.sent).answer){i.next=9;break}throw new v("Client question cancelled by user");case 9:return r[e.body.clientQuestion.id]=o.answer,t.options.body=JSON.stringify({clientAnswers:r,payload:n.body}),i.next=13,(0,A.RE)(G,t.url,t.options,n.acceptedErrorCodes,n.acceptedStatusCodes);case 13:e=i.sent,i.next=3;break;case 16:return i.abrupt("return",e);case 17:case"end":return i.stop()}}),$)}function ee(e){var t;return P().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!(t=J[e.handler])){n.next=5;break}return n.next=4,(0,A.RE)(t,e);case 4:return n.abrupt("return",n.sent);case 5:throw new Error("No question handler found for client question",e);case 6:case"end":return n.stop()}}),Y)}var te=function(e){return{answer:e}};function ne(e){var t,n,r,o,i,a,s;return P().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,(0,A.RE)(L.CE);case 2:return t=c.sent,n=function(){return t.put(te(!0))},r=function(){return t.put(te(null))},o=e.header,i=e.message,a=e.okText,s=e.cancelText,c.next=8,(0,A.gz)(N.Z.confirm(o,i,a,s,n,r));case 8:return c.next=10,(0,A.qn)(t);case 10:return c.abrupt("return",c.sent);case 11:case"end":return c.stop()}}),X)}function re(e){var t,n,r,o,i,a,s,c,u;return P().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,(0,A.RE)(L.CE);case 2:return t=l.sent,n=function(){return t.put(te(!0))},r=function(){return t.put(te(!1))},o=function(){return t.put(te(null))},i=e.header,a=e.message,s=e.yesText,c=e.noText,u=e.cancelText,l.next=9,(0,A.gz)(N.Z.yesNoQuestion(i,a,s,c,u,n,r,o));case 9:return l.next=11,(0,A.qn)(t);case 11:return l.abrupt("return",l.sent);case 12:case"end":return l.stop()}}),K)}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 ie(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){S()(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 ae=P().mark(fe),se=P().mark(pe),ce=P().mark(de),ue=P().mark(he),le=function(e){var t=Object.keys(e||{}).filter((function(t){return!!e[t]})).sort().map((function(t){return Array.isArray(e[t])?e[t].map((function(e){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e))})).join("&"):"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))})).join("&");return t?"?".concat(t):""};function fe(e){return P().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e instanceof B)){t.next=5;break}return t.next=3,(0,A.gz)(N.Z.toaster({type:"info",title:"client.common.information",body:e.message}));case 3:t.next=6;break;case 5:throw e;case 6:case"end":return t.stop()}}),ae)}function pe(e){var t,n,r,o=arguments;return P().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return t=o.length>1&&void 0!==o[1]?o[1]:{},i.next=3,(0,A.RE)(he,t);case 3:return i.next=5,(0,A.RE)(ge,e,t);case 5:return n=i.sent,i.prev=6,i.next=9,(0,A.RE)(G,n.url,n.options,t.acceptedErrorCodes,t.acceptedStatusCodes);case 9:return r=i.sent,i.next=12,(0,A.RE)(Q,r,n,t);case 12:return r=i.sent,i.abrupt("return",r);case 16:return i.prev=16,i.t0=i.catch(6),i.next=20,fe(i.t0);case 20:return i.abrupt("return",{});case 21:case"end":return i.stop()}}),se,null,[[6,16]])}function de(e){var t,n,r=arguments;return P().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=r.length>1&&void 0!==r[1]?r[1]:{},o.next=3,(0,A.RE)(he,t);case 3:return o.next=5,(0,A.RE)(ge,e,t);case 5:return n=o.sent,o.prev=6,o.next=9,(0,A.RE)(q,n.url,n.options,t.acceptedErrorCodes,t.acceptedStatusCodes);case 9:return o.abrupt("return",o.sent);case 12:return o.prev=12,o.t0=o.catch(6),o.next=16,fe(o.t0);case 16:return o.abrupt("return",{});case 17:case"end":return o.stop()}}),ce,null,[[6,12]])}function he(e){var t,n;return P().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(null!==(t=e.queryParams)&&void 0!==t&&t.locale){r.next=5;break}return r.next=3,(0,A.Ys)(I.Z.localeSelector);case 3:n=r.sent,e.queryParams=ie(ie({},e.queryParams),{},{locale:n});case 5:return r.abrupt("return",e);case 6:case"end":return r.stop()}}),ue)}function me(e,t){return t.startsWith("/")&&(t=t.substring(1)),t.startsWith("http")||t.startsWith("nice2")?Z.Z.prepareUrl(e,t):"".concat(e,"/nice2/rest/").concat(t)}function ge(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.queryParams,r=void 0===n?{}:n,o=t.method,i=void 0===o?"GET":o,a=t.backendUrl,s=void 0===a?R.Z.getBackendUrl():a,c=Z.Z.prepareHeaders(t),u=t.body;!u||u instanceof FormData||"string"==typeof u||(u=JSON.stringify(u));var l=ie({method:i,headers:c,credentials:"include"},u?{body:u}:{}),f=le(r),p=me(s,e),d="".concat(p).concat(f);return{url:d,options:l}}var ve=P().mark(Ie),ye=P().mark(Ze),be=P().mark(Ne),we=P().mark(Le),Oe=P().mark(ze),xe=P().mark(Ge),Se=P().mark(qe),je=P().mark($e),Pe=P().mark(Xe),Ee=P().mark(Ke),ke=P().mark(Je),Ce=P().mark(at),Te=P().mark(st),De=P().mark(ct),_e=P().mark(ut),Ae=P().mark(lt);function Me(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 Re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(n),!0).forEach((function(t){S()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ie(e,t,n){var r,o,i,a,s,c,u,l=arguments;return P().wrap((function(f){for(;;)switch(f.prev=f.next){case 0:return r=l.length>3&&void 0!==l[3]?l[3]:{},o=l.length>4&&void 0!==l[4]?l[4]:function(e){return e},i=r.method,a=void 0===i?"POST":i,f.next=5,(0,A.RE)(nt,n);case 5:return s=f.sent,c=Re({method:a,queryParams:Re({_omitLinks:!0},"GET"===a&&Re(Re({},ot(s)),{},{_permissions:!0}))},"POST"===a&&{body:Re(Re({},s),{},{permissions:!0})}),f.next=9,(0,A.RE)(pe,"entities/2.0/".concat(e,"/").concat(t),c);case 9:return u=f.sent,f.next=12,(0,A.RE)(o,u.body);case 12:return f.abrupt("return",f.sent);case 13:case"end":return f.stop()}}),ve)}function Ze(e,t){var n;return P().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n={method:"GET",queryParams:{_omitLinks:!0}},r.prev=1,r.next=4,(0,A.RE)(pe,"entities/2.0/".concat(e,"/").concat(t),n);case 4:return r.abrupt("return",!0);case 7:return r.prev=7,r.t0=r.catch(1),r.abrupt("return",!1);case 10:case"end":return r.stop()}}),ye,null,[[1,7]])}function Ne(e,t,n){return P().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.t0=k(),r.next=3,ze(S()({},e,[t]),n);case 3:return r.t1=r.sent,r.t2="".concat(e,".").concat(t),r.abrupt("return",(0,r.t0)(r.t1,r.t2,null));case 6:case"end":return r.stop()}}),be)}function Le(e,t,n,r,o){var i,a;return P().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return i={method:"POST",queryParams:{_paths:r.join(",")},body:{entityName:o,type:"ID",ids:n}},s.next=3,(0,A.RE)(pe,"forms/".concat(e,"_").concat(t,"/display-expressions"),i);case 3:return a=s.sent,s.abrupt("return",a.body.displayExpressions.reduce((function(e,t){return Re(Re({},e),{},S()({},t.key,t.displayExpressions))}),{}));case 5:case"end":return s.stop()}}),we)}var Fe={},He=function(e){return void 0!==Fe[e]},Be=function(e){return Fe[e]},Ue=function(e){Fe[e]=void 0},We=function(e,t){Fe[e]=t};function ze(e,t){var n,r;return P().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return n=Object.entries(e).map((function(e){var n=O()(e,2),r=n[0],o=n[1];return{model:r,keys:o.filter((function(e){return!He("".concat(r,".").concat(e).concat(t?".".concat(t):""))})),displays:o.map((function(e){return{key:e,display:Be("".concat(r,".").concat(e).concat(t?".".concat(t):""))}})).filter((function(e){return void 0!==e.display}))}})),o.next=3,Ge(n,t);case 3:return r=o.sent,o.abrupt("return",n.reduce((function(e,t){var n=t.model,r=t.displays;return Re(Re({},e),{},S()({},n,Re(Re({},e[n]),r.reduce((function(e,t){var n=t.key,r=t.display;return Re(Re({},e),{},S()({},n,r))}),{}))))}),r));case 5:case"end":return o.stop()}}),Oe)}function Ve(e,t){Object.entries(e).forEach((function(e){var n=O()(e,2),r=n[0];n[1].forEach((function(e){return Ue("".concat(r,".").concat(e).concat(t?".".concat(t):""))}))}))}function Ge(e,t){var n,r,o,i;return P().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(!((n=e.filter((function(e){return e.keys.length>0})).map((function(e){return{model:e.model,keys:e.keys}}))).length>0)){a.next=11;break}return r={method:"POST",body:{data:n}},a.next=5,(0,A.RE)(pe,"entities/2.0/displays".concat(t?"/".concat(t):""),r);case 5:return o=a.sent,i=o.body.data.reduce((function(e,t){return Re(Re({},e),{},S()({},t.model,t.values.reduce((function(e,t){return Re(Re({},e),{},S()({},t.key,t.display))}),{})))}),{}),Object.entries(i).forEach((function(e){var n=O()(e,2),r=n[0],o=n[1];Object.entries(o).forEach((function(e){var n=O()(e,2),o=n[0],i=n[1];We("".concat(r,".").concat(o).concat(t?".".concat(t):""),i)}))})),a.abrupt("return",i);case 11:return a.abrupt("return",{});case 12:case"end":return a.stop()}}),xe)}function qe(e,t){var n,r,o,i,a,s,c,u,l=arguments;return P().wrap((function(f){for(;;)switch(f.prev=f.next){case 0:return n=l.length>2&&void 0!==l[2]?l[2]:{},r=n.method,o=void 0===r?"POST":r,i=n.endpoint,f.next=4,(0,A.RE)(nt,t);case 4:return a=f.sent,s=(i||"entities/2.0/".concat(e))+"/count",c=Re({method:o},"GET"===o?{queryParams:ot(a)}:{body:a}),f.next=9,(0,A.RE)(pe,s,c);case 9:return u=f.sent,f.abrupt("return",u.body.count);case 11:case"end":return f.stop()}}),Se)}function $e(e,t){var n,r,o,i,a,s,c,u,l,f,p=arguments;return P().wrap((function(d){for(;;)switch(d.prev=d.next){case 0:return n=p.length>2&&void 0!==p[2]?p[2]:{},r=p.length>3&&void 0!==p[3]?p[3]:tt,o=n.method,i=void 0===o?"POST":o,a=n.endpoint,s=n.allKeys,d.next=5,(0,A.RE)(nt,t);case 5:return c=d.sent,u=a||"entities/2.0/".concat(e).concat("POST"===i?"/search":""),l=Re({method:i,queryParams:Re({_omitLinks:!0,_allKeys:s},"GET"===i&&ot(c))},"POST"===i&&{body:c}),d.next=10,(0,A.RE)(pe,u,l);case 10:return f=d.sent,d.next=13,(0,A.RE)(r,f.body);case 13:return d.abrupt("return",d.sent);case 14:case"end":return d.stop()}}),je)}var Ye={};function Xe(e,t){var n,r,o,i,a,s,c=arguments;return P().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(n=c.length>2&&void 0!==c[2]&&c[2],r=c.length>3&&void 0!==c[3]&&c[3],o="".concat(e,"/").concat(t),void 0===Ye[o]||r){u.next=5;break}return u.abrupt("return",Ye[o]);case 5:return i=Re(Re({},["create","search"].includes(t)?{queryParams:{_display:!0}}:{}),n&&{acceptedStatusCodes:[404]}),u.next=8,(0,A.RE)(pe,"forms/".concat(o),i);case 8:if(a=u.sent,!n||404!==a.status){u.next=12;break}return Ye[o]=null,u.abrupt("return",null);case 12:return u.next=14,(0,A.RE)(et,a.body);case 14:return s=u.sent,Ye[o]=s,u.abrupt("return",s);case 17:case"end":return u.stop()}}),Pe)}function Ke(e){var t;return P().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,A.RE)(pe,"client/searchfilters/".concat(e));case 2:return t=n.sent,n.abrupt("return",t.body.filters);case 4:case"end":return n.stop()}}),Ee)}function Je(e){var t,n,r,o,i=arguments;return P().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(t=i.length>1&&void 0!==i[1]?i[1]:Qe,!(n=M.Z.getLongTerm("model",e))){a.next=4;break}return a.abrupt("return",n);case 4:return a.next=6,(0,A.RE)(pe,"entities/".concat(e,"/model"));case 6:return r=a.sent,a.next=9,(0,A.RE)(t,r.body);case 9:return o=a.sent,M.Z.addLongTerm("model",e,o),a.abrupt("return",o);case 12:case"end":return a.stop()}}),ke)}var Qe=function(e){var t={name:e.name,label:e.label,markable:e.markable,useNiceFields:e.useNiceFields,keyField:e.keyField,paths:{}};return e.fields.forEach((function(e){t.paths[e.fieldName]=Re({},e)})),e.relations.forEach((function(e){t.paths[e.relationName]=Re({type:"relation"},e)})),t},et=function(e){return e.form},tt=function(e){return e.data},nt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.conditions,n=e.fields,r=e.form,o=e.limit,i=e.search,a=e.sorting,s=e.page,c=e.paths,u=e.where,l=e.relations,f=e.filter,p=e.keys,d=e.constriction;return Re(Re(Re(Re(Re(Re(Re(Re(Re(Re(Re(Re(Re({},t?{conditions:t}:{}),Array.isArray(n)?{fields:0===n.length?"!":n}:{}),r?{form:r}:{}),o?{limit:o}:{}),i?{search:i}:{}),a?{sort:rt(a)}:{}),s&&o?{offset:(s-1)*o}:{}),c?{paths:c}:{}),u?{where:u}:{}),Array.isArray(l)?{relations:0===l.length?"!":l}:{}),f?{filter:f}:{}),p?{keys:p}:{}),d?{constriction:d}:{})},rt=function(e){return e.map((function(e){return"".concat(e.field," ").concat(e.order)})).join(", ")},ot=function(e){return _()(e,(function(e,t,n){var r={};return"conditions"===n?r=it(t):r["_"+n]=Array.isArray(t)?t.join(","):t,Re(Re({},e),r)}),{})},it=function(e){return _()(e,(function(e,t,n){return Re(Re({},e),{},S()({},n,T()(t)&&t.value?t.value:t))}),{})};function at(){var e,t,n,r,o,i;return P().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(void 0===(e=M.Z.getLongTerm("session","principal"))){a.next=3;break}return a.abrupt("return",e);case 3:return a.next=5,(0,A.RE)(pe,"principals");case 5:return t=a.sent,n=t.body,r=n.username,o=n.businessUnit,i={username:r,currentBusinessUnit:o},a.next=10,M.Z.addLongTerm("session","principal",i);case 10:return a.abrupt("return",i);case 11:case"end":return a.stop()}}),Ce)}function st(e){var t,n;return P().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t={method:"POST",body:{selection:e}},r.next=3,(0,A.RE)(pe,"client/markings",t);case 3:return n=r.sent,r.abrupt("return",n.body.markings);case 5:case"end":return r.stop()}}),Te)}function ct(e,t){var n,r;return P().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return n={method:"GET"},o.next=3,(0,A.RE)(pe,"client/markings/".concat(e,"/").concat(t),n);case 3:return r=o.sent,o.abrupt("return",r.body.marked);case 5:case"end":return o.stop()}}),De)}function ut(e,t,n){var r;return P().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return r={method:"PATCH",body:{marked:n}},o.next=3,(0,A.RE)(pe,"client/markings/".concat(e,"/").concat(t),r);case 3:case"end":return o.stop()}}),_e)}function lt(e,t){var n,r;return P().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return n={method:"POST",body:{selection:e,marked:t}},o.next=3,(0,A.RE)(pe,"client/markings",n);case 3:return r=o.sent,o.abrupt("return",r.body.markings);case 5:case"end":return o.stop()}}),Ae)}var ft=P().mark(ht),pt=P().mark(mt),dt=P().mark(gt);function ht(e){var t;return P().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,A.RE)(pe,"client/preferences".concat(e?"/"+e:""));case 2:return t=n.sent,n.abrupt("return",t.body.preferences);case 4:case"end":return n.stop()}}),ft)}function mt(e){return P().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,A.RE)(pe,"client/preferences/".concat(e),{method:"DELETE"});case 2:case"end":return t.stop()}}),pt)}function gt(e){var t,n=arguments;return P().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=n.length>1&&void 0!==n[1]?n[1]:"/nice2/ui/settings",r.next=3,(0,A.RE)(pe,"client/preferences",{method:"PATCH",body:{path:t,values:e}});case 3:case"end":return r.stop()}}),dt)}var vt=n(57557),yt=n.n(vt),bt=P().mark(Ot),wt=P().mark(xt);function Ot(){var e,t,n;return P().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(void 0===(e=M.Z.getLongTerm("server","settings"))){r.next=3;break}return r.abrupt("return",e);case 3:return r.next=5,(0,A.RE)(pe,"client/settings");case 5:return t=r.sent,n=yt()(t.body,["_links"]),r.next=9,M.Z.addLongTerm("server","settings",n);case 9:return r.abrupt("return",n);case 10:case"end":return r.stop()}}),bt)}function xt(){var e,t,n;return P().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e=M.Z.getLongTerm("server","settings"),r.next=3,(0,A.RE)(pe,"client/settings");case 3:return t=r.sent,n=yt()(t.body,["_links"]),r.next=7,M.Z.addLongTerm("server","settings",n);case 7:return r.abrupt("return",!e||!e.niceRevision||e.niceRevision!==n.niceRevision);case 8:case"end":return r.stop()}}),wt)}const St={requestSaga:pe,requestBytesSaga:de,simpleRequest:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=ge(e,t);return G(n.url,n.options,t.acceptedErrorCodes,t.acceptedStatusCodes)},ClientQuestionCancelledException:v,ForbiddenException:b,InformationError:B,fetchEntity:Ie,fetchEntities:$e,fetchDisplay:Ne,invalidateDisplay:function(e,t,n){Ve(S()({},e,[t]),n)},fetchDisplays:ze,invalidateDisplays:Ve,fetchDisplayExpressions:Le,fetchForm:Xe,fetchModel:Je,defaultModelTransformer:Qe,fetchEntityCount:qe,fetchSearchFilters:Ke,buildRequestQuery:nt,requestQueryToUrlParams:ot,fetchPrincipal:at,fetchUserPreferences:ht,deleteUserPreferences:mt,savePreferences:gt,fetchServerSettings:Ot,hasRevisionIdChanged:xt,createSortingString:rt,fetchMarkings:st,fetchMarked:ct,setMarked:ut,setSelectionMarked:lt,entityExists:Ze}},47979:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(59713),o=n.n(r),i=n(87757),a=n.n(i),s=n(44422),c=n(34857),u=n(44759),l=n(85743),f=a().mark(m);function p(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h={};function m(e){var t,n,r;return a().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,c.RE)(v,e.name,e.originId);case 2:return t=o.sent,o.next=5,(0,c.RE)(g,d(d({},e),{},{url:t}));case 5:n=o.sent;case 6:return o.next=9,(0,c.qn)(n);case 9:return r=o.sent,o.next=12,(0,c.gz)(r);case 12:o.next=6;break;case 14:case"end":return o.stop()}}),f)}var g=function(e){return(0,s.GG)((function(t){return function n(){var r=e.url,o=e.messageReceivedAction,i=e.name;h[i]=new WebSocket(r),h[i].onmessage=function(e){var n=JSON.parse(e.data);t(o(n))},h[i].onclose=function(e){1e3!==e.code&&n()},h[i].onerror=function(e){u.Z.log("socket error",e)}}(),function(){}}))},v=function(e,t){var n=(l.Z.getBackendUrl()||window.location.origin).replace("http://","ws://").replace("https://","wss://");return"".concat(n,"/nice2/websocket/").concat(e,"?X-Origin-Id=").concat(t)};const y={connectSocket:m,closeSocket:function(e){h[e].close(1e3)}}},5435:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={name:"default",colors:{paper:"#fff",primary:"#B22A31",secondary:"#263E5B",secondaryLight:"#347da9",text:"#000",backgroundBody:"#DEE6ED",backgroundBreadcrumbs:"#DEE6ED",backgroundPopover:"#424242",signal:{danger:{paper:"#EF9A9A",text:"#961b1b"},info:{paper:"#81D4FA",text:"#027cc1"},success:{paper:"#A5D6A7",text:"#337f37"},warning:{paper:"#FFF59D",text:"#d54300"}}},fontFamily:{monospace:"Ubuntu Mono, monospace",regular:"Ubuntu, sans-serif",url:"https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap"},fontSize:{base:1.3,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{regular:"4px",medium:"13px",large:"25px"},space:{base:1.3,factor:2}}},2091:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var r,o,i=n(46927),a=n(46444),s=n.n(a),c=n(1024),u=n.n(c),l=n(88162),f=n(78958),p=n(91411),d=n(58804),h=n(7281),m=n(88601),g=n(30759),v=n(97388);const y=d.ZP.button.withConfig({displayName:"StyledButton"})(o||(o=(0,p.Z)(["\n ","\n ","\n ","\n cursor: pointer;\n"])),(0,g.Z)(),v.Z,(function(){return(0,d.iv)(r||(r=(0,p.Z)(["\n border-radius: 50%;\n justify-content: center;\n align-items: center;\n padding: ",";\n // ensure that width has at least the size of height\n min-width: calc(\n 1rem * "," * "," + 2.4 * ","\n );\n box-sizing: border-box;\n"])),h.Z.space(-3),m.Z.fontSize("base"),m.Z.lineHeight("regular"),h.Z.space(-3))}));var b=n(85893);function w(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 O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x=u().forwardRef((function(e,t){return(0,b.jsx)(y,O(O({ref:t,type:"button"},e),{},{children:(0,b.jsx)(l.Z,{icon:e.icon})}))}));x.propTypes={disabled:s().bool,icon:s().string.isRequired,ink:f.Z.inkPropTypes,look:s().oneOf([f.Z.look.FLAT,f.Z.look.RAISED]),onClick:s().func,title:s().string,tabIndex:s().number,"data-cy":s().string};const S=x},65035:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(46927),o=n(1024),i=n.n(o),a=n(88162),s=n(93235),c=n(78958),u=n(52058),l=n(58129),f=n(85893);function p(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=i().forwardRef((function(e,t){var n=e.aria,r=e.ink,o=e.label,i=e.icon,p=e.pending,h=e.look,m=e.iconPosition,g=e.iconOnly,v=e.children,y=(0,u.yq)().labelVisibility;return(0,f.jsxs)(l.Z,d(d(d({ref:t},n),e),{},{ink:r||c.Z.ink.BASE,"data-cy":e["data-cy"],title:o,labelVisibility:y,children:[i&&!p&&(0,f.jsx)(a.Z,{icon:i}),p&&(0,f.jsx)(s.Z,{ink:r||c.Z.ink.BASE,look:h,position:m,size:"1em"}),!g&&o?(0,f.jsx)(l.s,{children:o}):v||"​"]}))}));h.defaultProps={iconPosition:c.Z.position.PREPEND,look:c.Z.look.FLAT,type:"button"};const m=h},52058:(e,t,n)=>{"use strict";n.d(t,{xr:()=>i,yq:()=>c});var r=n(1024),o=n.n(r),i=(n(85893),{visible:"visible",hidden:"hidden",responsive:"responsive"}),a={labelVisibility:i.responsive},s=o().createContext(a),c=function(){return(0,r.useContext)(s)}},58129:(e,t,n)=>{"use strict";n.d(t,{s:()=>y,Z:()=>b});var r,o,i,a,s,c,u=n(91411),l=n(58804),f=n(78958),p=n(88601),d=n(7281),h=n(30759),m=n(97388),g=n(52058),v=(0,l.iv)(a||(a=(0,u.Z)(["\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n text-align: center;\n vertical-align: middle;\n white-space: nowrap;\n border: none;\n border-radius: ",";\n margin-right: ",";\n padding: "," ",";\n cursor: pointer;\n ","\n ","\n ","\n ","\n ","\n\n & > span:first-child {\n margin-left: 0;\n }\n ","\n"])),p.Z.radii("medium"),d.Z.space(-1.38),d.Z.space(-2.1),d.Z.space(0),(0,h.Z)(),(function(e){return e.withoutBackground?(0,l.iv)(i||(i=(0,u.Z)(["\n background: transparent;\n"]))):(0,m.Z)(e)}),(function(e){return n=(t=e).dense,o=t.theme,n?(0,l.iv)(r||(r=(0,u.Z)(["\n line-height: ",";\n padding: "," ",";\n "])),p.Z.lineHeight("dense")({theme:o}),d.Z.space(-3.5)({theme:o}),d.Z.space(-1.5)({theme:o})):null;var t,n,o}),(function(e){return e.iconOnly?(0,l.iv)(o||(o=(0,u.Z)(["\n padding: 0;\n margin: 0;\n "]))):null}),(function(e){return function(e){var t=e.icon,n=e.pending,r=e.iconPosition;if(t||n)return r===f.Z.position.APPEND?"\n > span {\n order: -1;\n margin-right: .5rem;\n }\n ":"\n > span {\n margin-left: .5rem;\n }\n "}(e)}),(function(e){var t=e.icon,n=e.labelVisibility,r="\n ".concat(y," {\n display: none;\n }\n ");return t&&n===g.xr.hidden?r:t&&n===g.xr.responsive&&"\n @media screen and (max-width: 1024px) {\n ".concat(r,"\n }\n ")})),y=l.ZP.span.withConfig({displayName:"StyledLabelWrapper"})(s||(s=(0,u.Z)([""])));const b=l.ZP.button.withConfig({displayName:"StyledButton"})(c||(c=(0,u.Z)(["\n ","\n"])),v)},92135:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Vr});var r=n(46927),o=n(57557),i=n.n(o),a=n(41609),s=n.n(a),c=n(1024),u=n.n(c),l=n(14293),f=n.n(l),p=n(8270),d=n(85893);const h=function(e){var t=e.id,n=e.immutable,r=e.value,o=e.options,i=o.trueLabel,a=o.falseLabel,s=e.onChange;return(0,d.jsx)(p.Z,{id:t,immutable:n,isMulti:!1,onChange:function(e){return s(e?e.key:null)},value:f()(r)?r:{key:r,display:r?i:a},openMenuOnClick:!0,options:[{key:!0,display:i},{key:!1,display:a}]})};var m,g=n(91411),v=n(58804),y=v.ZP.div.withConfig({displayName:"StyledBoolEdit"})(m||(m=(0,g.Z)(["\n margin: 5px 0;\n"])));const b=function(e){return(0,d.jsx)(y,{children:(0,d.jsx)("input",{type:"checkbox",checked:e.value||!1,name:e.name,onChange:function(t){e.onChange&&e.onChange(t.target.checked)},id:e.id,disabled:e.immutable})})};var w=n(23279),O=n.n(w);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var j=(0,c.lazy)((function(){return Promise.all([n.e(594),n.e(85)]).then(n.bind(n,24295))}));const P=function(e){return(0,d.jsx)(c.Suspense,{fallback:(t=e.value,(0,d.jsx)("div",{children:(0,d.jsx)("p",{children:t})})),children:(0,d.jsx)(j,S({},e))});var t};var E,k=v.ZP.div.withConfig({displayName:"EditorWrapper"})(E||(E=(0,g.Z)(["\n margin-top: 5px;\n"])));const C=function(e){var t=e.value,n=e.onChange,r=e.immutable,o=e.options;return(0,d.jsx)(k,{children:(0,d.jsx)(P,{value:t,onChange:O()(n,1e3),mode:o.mode,theme:"textmate",showGutter:!0,editorOptions:{enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,minLines:5,maxLines:50,readOnly:r,wrap:!0,indentedSoftWrap:!1},implicitModel:o.implicitModel})})};var T,D=n(86896),_=n(86507),A=function(e){return-1*Math.abs(e)};function M(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 R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var I=(0,c.lazy)((function(){return Promise.all([n.e(85),n.e(568)]).then(n.bind(n,91860))}));const Z=function(e){return(0,d.jsx)(c.Suspense,{fallback:T||(T=(0,d.jsx)(u().Fragment,{})),children:(0,d.jsx)(I,R({},e))})};function N(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}const L=function(e){var t=e.onChange,n=e.options,o=e.id,i=e.value,a=e.immutable,s=e.events,c=e.placeholder,u=(0,D.Z)(),l=(null==n?void 0:n.datePickerOptions)||{},f=_.Z.getLocalizedDateFormatWithoutPunctuation(u.locale),p=["P",f,_.Z.useTwoDigitYear("P"),_.Z.useTwoDigitYear(f)];return(0,d.jsx)(Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:o,value:i,onChange:function(e){var n=e?function(e){if(null==e)return null;var t=new Date(e),n=t.getFullYear(),r=t.getMonth()+1,o=t.getDate();return[n,(r>9?"":"0")+r,(o>9?"":"0")+o].join("-")}(e):null;t(n)},dateFormat:p,hasTime:!1,immutable:a,events:s,placeholder:c},l))};var F=n(74806);function H(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}const B=(0,F.ZP)((function(e){var t=e.onChange,n=e.options,o=e.value,i=e.immutable,a=e.events,s=e.placeholder,c=(0,D.Z)(),u=(null==n?void 0:n.datePickerOptions)||{},l=_.Z.getLocalizedDateTimeFormatWithoutPunctuation(c.locale),f=["Pp",l,_.Z.useTwoDigitYear("Pp"),_.Z.useTwoDigitYear(l)];return(0,d.jsx)(Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({value:o,onChange:t,dateFormat:f,hasTime:!0,immutable:i,events:a,placeholder:s},u))}));var U=n(68957),W=n(18446),z=n.n(W),V=n(46444),G=n.n(V);function q(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))}function $(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}Object.create;function Y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function X(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;var K=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function J(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=K.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var Q=[".DS_Store","Thumbs.db"];function ee(e){return"object"==typeof e&&null!==e}function te(e){return ie(e.target.files).map((function(e){return J(e)}))}function ne(e){return q(this,void 0,void 0,(function(){return $(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return e.getFile()})))];case 1:return[2,t.sent().map((function(e){return J(e)}))]}}))}))}function re(e,t){return q(this,void 0,void 0,(function(){var n;return $(this,(function(r){switch(r.label){case 0:return e.items?(n=ie(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(ae))]):[3,2];case 1:return[2,oe(se(r.sent()))];case 2:return[2,oe(ie(e.files).map((function(e){return J(e)})))]}}))}))}function oe(e){return e.filter((function(e){return-1===Q.indexOf(e.name)}))}function ie(e){if(null===e)return[];for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function ae(e){if("function"!=typeof e.webkitGetAsEntry)return ce(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?le(t):ce(e)}function se(e){return e.reduce((function(e,t){return X(X([],Y(e),!1),Y(Array.isArray(t)?se(t):[t]),!1)}),[])}function ce(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var n=J(t);return Promise.resolve(n)}function ue(e){return q(this,void 0,void 0,(function(){return $(this,(function(t){return[2,e.isDirectory?le(e):fe(e)]}))}))}function le(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function o(){var i=this;t.readEntries((function(t){return q(i,void 0,void 0,(function(){var i,a,s;return $(this,(function(c){switch(c.label){case 0:if(t.length)return[3,5];c.label=1;case 1:return c.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return i=c.sent(),e(i),[3,4];case 3:return a=c.sent(),n(a),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(ue)),r.push(s),o(),c.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function fe(e){return q(this,void 0,void 0,(function(){return $(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=J(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}var pe=n(91073);function de(e){return function(e){if(Array.isArray(e))return be(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ye(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 he(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 me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){ge(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ve(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||ye(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ye(e,t){if(e){if("string"==typeof e)return be(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?be(e,t):void 0}}function be(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}var we="file-invalid-type",Oe="file-too-large",xe="file-too-small",Se="too-many-files",je=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:we,message:"File type must be ".concat(t)}},Pe=function(e){return{code:Oe,message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},Ee=function(e){return{code:xe,message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},ke={code:Se,message:"Too many files"};function Ce(e,t){var n="application/x-moz-file"===e.type||(0,pe.Z)(e,t);return[n,n?null:je(t)]}function Te(e,t,n){if(De(e.size))if(De(t)&&De(n)){if(e.size>n)return[!1,Pe(n)];if(e.size<t)return[!1,Ee(t)]}else{if(De(t)&&e.size<t)return[!1,Ee(t)];if(De(n)&&e.size>n)return[!1,Pe(n)]}return[!0,null]}function De(e){return null!=e}function _e(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,i=e.multiple,a=e.maxFiles,s=e.validator;return!(!i&&t.length>1||i&&a>=1&&t.length>a)&&t.every((function(e){var t=ve(Ce(e,n),1)[0],i=ve(Te(e,r,o),1)[0],a=s?s(e):null;return t&&i&&!a}))}function Ae(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function Me(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function Re(e){e.preventDefault()}function Ie(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function Ze(e){return-1!==e.indexOf("Edge/")}function Ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return Ie(e)||Ze(e)}function Le(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return!Ae(e)&&t&&t.apply(void 0,[e].concat(r)),Ae(e)}))}}function Fe(){return"showOpenFilePicker"in window}function He(e){return De(e)?[{accept:Object.entries(e).filter((function(e){var t=ve(e,2),n=t[0],r=t[1],o=!0;return ze(n)||(console.warn('Skipped "'.concat(n,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),o=!1),Array.isArray(r)&&r.every(Ve)||(console.warn('Skipped "'.concat(n,'" because an invalid file extension was provided.')),o=!1),o})).reduce((function(e,t){var n=ve(t,2),r=n[0],o=n[1];return me(me({},e),{},ge({},r,o))}),{})}]:e}function Be(e){if(De(e))return Object.entries(e).reduce((function(e,t){var n=ve(t,2),r=n[0],o=n[1];return[].concat(de(e),[r],de(o))}),[]).filter((function(e){return ze(e)||Ve(e)})).join(",")}function Ue(e){return e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)}function We(e){return e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)}function ze(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||/\w+\/[-+.\w]+/g.test(e)}function Ve(e){return/^.*\.[\w]+$/.test(e)}var Ge=["children"],qe=["open"],$e=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],Ye=["refKey","onChange","onClick"];function Xe(e){return function(e){if(Array.isArray(e))return Qe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Je(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 Ke(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||Je(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Je(e,t){if(e){if("string"==typeof e)return Qe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qe(e,t):void 0}}function Qe(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 et(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 tt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?et(Object(n),!0).forEach((function(t){nt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):et(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rt(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}var ot=(0,c.forwardRef)((function(e,t){var n=e.children,r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=tt(tt({},it),e),n=t.accept,r=t.disabled,o=t.getFilesFromEvent,i=t.maxSize,a=t.minSize,s=t.multiple,u=t.maxFiles,l=t.onDragEnter,f=t.onDragLeave,p=t.onDragOver,d=t.onDrop,h=t.onDropAccepted,m=t.onDropRejected,g=t.onFileDialogCancel,v=t.onFileDialogOpen,y=t.useFsAccessApi,b=t.autoFocus,w=t.preventDropOnDocument,O=t.noClick,x=t.noKeyboard,S=t.noDrag,j=t.noDragEventsBubbling,P=t.onError,E=t.validator,k=(0,c.useMemo)((function(){return Be(n)}),[n]),C=(0,c.useMemo)((function(){return He(n)}),[n]),T=(0,c.useMemo)((function(){return"function"==typeof v?v:ut}),[v]),D=(0,c.useMemo)((function(){return"function"==typeof g?g:ut}),[g]),_=(0,c.useRef)(null),A=(0,c.useRef)(null),M=Ke((0,c.useReducer)(ct,st),2),R=M[0],I=M[1],Z=R.isFocused,N=R.isFileDialogActive,L=(0,c.useRef)("undefined"!=typeof window&&window.isSecureContext&&y&&Fe()),F=function(){!L.current&&N&&setTimeout((function(){A.current&&(A.current.files.length||(I({type:"closeDialog"}),D()))}),300)};(0,c.useEffect)((function(){return window.addEventListener("focus",F,!1),function(){window.removeEventListener("focus",F,!1)}}),[A,N,D,L]);var H=(0,c.useRef)([]),B=function(e){_.current&&_.current.contains(e.target)||(e.preventDefault(),H.current=[])};(0,c.useEffect)((function(){return w&&(document.addEventListener("dragover",Re,!1),document.addEventListener("drop",B,!1)),function(){w&&(document.removeEventListener("dragover",Re),document.removeEventListener("drop",B))}}),[_,w]),(0,c.useEffect)((function(){return!r&&b&&_.current&&_.current.focus(),function(){}}),[_,b,r]);var U=(0,c.useCallback)((function(e){P?P(e):console.error(e)}),[P]),W=(0,c.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e),H.current=[].concat(Xe(H.current),[e.target]),Me(e)&&Promise.resolve(o(e)).then((function(t){if(!Ae(e)||j){var n=t.length,r=n>0&&_e({files:t,accept:k,minSize:a,maxSize:i,multiple:s,maxFiles:u,validator:E});I({isDragAccept:r,isDragReject:n>0&&!r,isDragActive:!0,type:"setDraggedFiles"}),l&&l(e)}})).catch((function(e){return U(e)}))}),[o,l,U,j,k,a,i,s,u,E]),z=(0,c.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e);var t=Me(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&p&&p(e),!1}),[p,j]),V=(0,c.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e);var t=H.current.filter((function(e){return _.current&&_.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),H.current=t,t.length>0||(I({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Me(e)&&f&&f(e))}),[_,f,j]),G=(0,c.useCallback)((function(e,t){var n=[],r=[];e.forEach((function(e){var t=Ke(Ce(e,k),2),o=t[0],s=t[1],c=Ke(Te(e,a,i),2),u=c[0],l=c[1],f=E?E(e):null;if(o&&u&&!f)n.push(e);else{var p=[s,l];f&&(p=p.concat(f)),r.push({file:e,errors:p.filter((function(e){return e}))})}})),(!s&&n.length>1||s&&u>=1&&n.length>u)&&(n.forEach((function(e){r.push({file:e,errors:[ke]})})),n.splice(0)),I({acceptedFiles:n,fileRejections:r,type:"setFiles"}),d&&d(n,r,t),r.length>0&&m&&m(r,t),n.length>0&&h&&h(n,t)}),[I,s,k,a,i,u,d,h,m,E]),q=(0,c.useCallback)((function(e){e.preventDefault(),e.persist(),ne(e),H.current=[],Me(e)&&Promise.resolve(o(e)).then((function(t){Ae(e)&&!j||G(t,e)})).catch((function(e){return U(e)})),I({type:"reset"})}),[o,G,U,j]),$=(0,c.useCallback)((function(){if(L.current){I({type:"openDialog"}),T();var e={multiple:s,types:C};window.showOpenFilePicker(e).then((function(e){return o(e)})).then((function(e){G(e,null),I({type:"closeDialog"})})).catch((function(e){Ue(e)?(D(e),I({type:"closeDialog"})):We(e)?(L.current=!1,A.current?(A.current.value=null,A.current.click()):U(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):U(e)}))}else A.current&&(I({type:"openDialog"}),T(),A.current.value=null,A.current.click())}),[I,T,D,y,G,U,C,s]),Y=(0,c.useCallback)((function(e){_.current&&_.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),$()))}),[_,$]),X=(0,c.useCallback)((function(){I({type:"focus"})}),[]),K=(0,c.useCallback)((function(){I({type:"blur"})}),[]),J=(0,c.useCallback)((function(){O||(Ne()?setTimeout($,0):$())}),[O,$]),Q=function(e){return r?null:e},ee=function(e){return x?null:Q(e)},te=function(e){return S?null:Q(e)},ne=function(e){j&&e.stopPropagation()},re=(0,c.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,o=e.role,i=e.onKeyDown,a=e.onFocus,s=e.onBlur,c=e.onClick,u=e.onDragEnter,l=e.onDragOver,f=e.onDragLeave,p=e.onDrop,d=rt(e,$e);return tt(tt(nt({onKeyDown:ee(Le(i,Y)),onFocus:ee(Le(a,X)),onBlur:ee(Le(s,K)),onClick:Q(Le(c,J)),onDragEnter:te(Le(u,W)),onDragOver:te(Le(l,z)),onDragLeave:te(Le(f,V)),onDrop:te(Le(p,q)),role:"string"==typeof o&&""!==o?o:"presentation"},n,_),r||x?{}:{tabIndex:0}),d)}}),[_,Y,X,K,J,W,z,V,q,x,S,r]),oe=(0,c.useCallback)((function(e){e.stopPropagation()}),[]),ie=(0,c.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onChange,o=e.onClick,i=rt(e,Ye);return tt(tt({},nt({accept:k,multiple:s,type:"file",style:{display:"none"},onChange:Q(Le(r,q)),onClick:Q(Le(o,oe)),tabIndex:-1},n,A)),i)}}),[A,n,s,q,r]);return tt(tt({},R),{},{isFocused:Z&&!r,getRootProps:re,getInputProps:ie,rootRef:_,inputRef:A,open:Q($)})}(rt(e,Ge)),o=r.open,i=rt(r,qe);return(0,c.useImperativeHandle)(t,(function(){return{open:o}}),[o]),u().createElement(c.Fragment,null,n(tt(tt({},i),{},{open:o})))}));ot.displayName="Dropzone";var it={disabled:!1,getFilesFromEvent:function(e){return q(this,void 0,void 0,(function(){return $(this,(function(t){return ee(e)&&ee(e.dataTransfer)?[2,re(e.dataTransfer,e.type)]:function(e){return ee(e)&&ee(e.target)}(e)?[2,te(e)]:Array.isArray(e)&&e.every((function(e){return"getFile"in e&&"function"==typeof e.getFile}))?[2,ne(e)]:[2,[]]}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};ot.defaultProps=it,ot.propTypes={children:G().func,accept:G().objectOf(G().arrayOf(G().string)),multiple:G().bool,preventDropOnDocument:G().bool,noClick:G().bool,noKeyboard:G().bool,noDrag:G().bool,noDragEventsBubbling:G().bool,minSize:G().number,maxSize:G().number,maxFiles:G().number,disabled:G().bool,getFilesFromEvent:G().func,onFileDialogCancel:G().func,onFileDialogOpen:G().func,useFsAccessApi:G().bool,autoFocus:G().bool,onDragEnter:G().func,onDragLeave:G().func,onDragOver:G().func,onDrop:G().func,onDropAccepted:G().func,onDropRejected:G().func,onError:G().func,validator:G().func};const at=ot;var st={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function ct(e,t){switch(t.type){case"focus":return tt(tt({},e),{},{isFocused:!0});case"blur":return tt(tt({},e),{},{isFocused:!1});case"openDialog":return tt(tt({},st),{},{isFileDialogActive:!0});case"closeDialog":return tt(tt({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return tt(tt({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return tt(tt({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return tt({},st);default:return e}}function ut(){}var lt,ft,pt,dt,ht,mt,gt,vt,yt,bt=n(65035),wt=n(76538),Ot=n(58129),xt=n(69829),St=n(7281),jt=n(30759),Pt=n(88601),Et=n(40953),kt=v.ZP.section.withConfig({displayName:"StyledSection"})(lt||(lt=(0,g.Z)(["\n flex: 1;\n display: flex;\n justify-content: flex-end;\n"]))),Ct=v.ZP.div.withConfig({displayName:"StyledButtonsWrapper"})(ft||(ft=(0,g.Z)(["\n display: flex;\n align-items: center;\n\n "," {\n margin: 0;\n border-radius: 50%;\n padding: ",";\n\n a:hover {\n color: unset;\n }\n }\n"])),Ot.Z,St.Z.space(-2)),Tt=v.ZP.div.withConfig({displayName:"StyledDropzone"})(pt||(pt=(0,g.Z)(["\n width: 100%;\n\n &:hover {\n "," {\n background-color: ",";\n }\n }\n"])),Ot.Z,(function(e){var t=e.theme;return(0,wt._j)(.1,t.colors.paper)})),Dt=v.ZP.div.withConfig({displayName:"StyledUploadInput"})(dt||(dt=(0,g.Z)(["\n ","\n cursor: ",";\n background-color: ",";\n color: ",";\n padding: "," 0 0 0;\n display: flex;\n\n "," {\n float: right;\n position: relative;\n top: -",";\n margin: 0;\n border-radius: 50%;\n padding: ",";\n }\n"])),(0,jt.Z)(),(function(e){return e.immutable?"not-allowed":"pointer"}),Pt.Z.color("paper"),(function(e){return e.immutable?Et.v.shade2(e):Et.v.shade0(e)}),St.Z.space(-2),Ot.Z,St.Z.space(-3.1),St.Z.space(-1.5)),_t=v.ZP.div.withConfig({displayName:"StyledUploadProgress"})(ht||(ht=(0,g.Z)(["\n && {\n padding-top: ",";\n text-align: center;\n display: inline-block;\n }\n"])),St.Z.space(-2)),At=(0,v.ZP)(xt.Fe).withConfig({displayName:"StyledUploadProgressText"})(mt||(mt=(0,g.Z)(["\n && {\n ","\n }\n"])),(0,jt.Z)({fontSize:St.Z.font(-1)})),Mt=v.ZP.div.withConfig({displayName:"StyledUploadProgressIconAndText"})(gt||(gt=(0,g.Z)(["\n && {\n display: flex;\n justify-content: center;\n align-items: center;\n\n span {\n margin-left: ",";\n }\n }\n"])),St.Z.space(-2)),Rt=v.ZP.div.withConfig({displayName:"StyledView"})(vt||(vt=(0,g.Z)(["\n display: flex;\n justify-content: space-between;\n padding-top: ",";\n"])),St.Z.space(-2));function It(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 Zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?It(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):It(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Nt=function(e){var t=e.onDrop,n=e.immutable,r=e.text,o=e.onChoose;return(0,d.jsxs)(Dt,{immutable:n,children:[(0,d.jsx)(at,{onDrop:function(e){var n=e.map((function(e){return Object.assign(e,{preview:URL.createObjectURL(e)})}));t(n[0])},multiple:!1,disabled:n,title:r||"drag and drop or click",children:function(e){var t=e.getRootProps,n=e.getInputProps;return(0,d.jsx)(kt,{children:(0,d.jsxs)(Tt,Zt(Zt({},t()),{},{children:[(0,d.jsx)("input",Zt({},n())),yt||(yt=(0,d.jsx)(bt.Z,{icon:"arrow-to-top"}))]}))})}}),o&&(0,d.jsx)(bt.Z,{onClick:function(e){o(),e.stopPropagation()},icon:"folder",label:"browse docs",iconOnly:!0})]})};var Lt=n(93235),Ft=n(73906),Ht=n(78958);const Bt=function(e){var t,n,r=e.file,o=e.text;return(0,d.jsxs)(_t,{children:[(0,d.jsx)(Ft.Z,{alt:r.name,caption:r.name,maxDimensionX:"96px",maxDimensionY:"96px",srcUrl:r.preview,thumbnailUrl:r.type.startsWith("image")?r.preview:null}),(0,d.jsxs)(Mt,{children:[(0,d.jsx)(Lt.Z,{position:Ht.Z.position.PREPEND}),(0,d.jsxs)(At,{children:[o||"uploading"," (",(t=r.size,n=Math.floor(Math.log(t)/Math.log(1024)),"".concat(1*(t/Math.pow(1024,n)).toFixed(2)," ").concat(["Bytes","KB","MB","GB","TB"][n])),")"]})]})]})};var Ut=n(28247),Wt=n(41291);function zt(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 Vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Gt=function(e){var t,n=e.value,r=e.downloadTitle,o=e.immutable,i=e.onUpload,a=e.deleteTitle,s=null===(t=n.binaryLink)||void 0===t?void 0:t.startsWith("blob:");return(0,d.jsxs)(Rt,{className:"StyledView",children:[(0,d.jsx)(Ft.Z,Vt(Vt({alt:n.fileName},s&&{caption:n.fileName}),{},{fileName:n.fileName,maxDimensionX:"96px",maxDimensionY:"96px",srcUrl:n.binaryLink,thumbnailUrl:n.thumbnailLink})),(0,d.jsxs)(Ct,{children:[!o&&(0,d.jsx)(bt.Z,{icon:"trash",onClick:function(){return i(null)},tabIndex:-1,title:a||"delete"}),(0,d.jsx)(bt.Z,{children:(0,d.jsx)(Wt.Z,{neutral:!0,icon:"arrow-to-bottom",target:"_blank",href:Ut.Z.getDownloadUrl(n.binaryLink),tabIndex:-1,title:r||"download"})})]})]})};function qt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $t(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Yt=function(e){var t=e.value,n=e.textResources,r=e.onUpload,o=e.onChoose,i=(0,c.useRef)(t),a=(0,c.useState)({isUploading:!1,previewFile:null}),s=(0,U.Z)(a,2),u=s[0],l=s[1];return(0,c.useEffect)((function(){z()(i.current,t)||l({isUploading:!1,previewFile:null}),i.current=t}),[t]),null!=t&&t.binaryLink?(0,d.jsx)(Gt,$t($t({},e),{},{deleteTitle:n.delete,downloadTitle:n.download})):u.isUploading?(0,d.jsx)(Bt,$t({file:u.previewFile,text:n.uploading},e)):(0,d.jsx)(Nt,$t($t({},e),{},{onDrop:function(e){!function(e){l({isUploading:!0,previewFile:e})}(e),r(e)},onChoose:o}))};Yt.defaultProps={textResources:{}};const Xt=Yt;var Kt=function(e){return(0,d.jsx)(Xt,{onUpload:function(t){null===t?e.onChange&&e.onChange(null):e.options.upload&&e.options.upload(t)},onChoose:e.options.choose,immutable:e.immutable,textResources:{upload:e.options.uploadText,uploading:e.options.uploadingText,delete:e.options.deleteText,download:e.options.downloadText},value:e.value?e.value:null})};Kt.defaultProps={options:{}};const Jt=Kt;var Qt,en,tn=n(34206),nn=n(51032),rn=n(27361),on=n.n(rn),an=n(58664),sn=v.ZP.input.withConfig({displayName:"StyledDurationEdit"})(Qt||(Qt=(0,g.Z)(["\n && {\n ","\n flex-grow: 0;\n width: ","px;\n min-width: 2.5ch;\n }\n"])),nn.k9,(function(e){return e.width})),cn=v.ZP.label.withConfig({displayName:"StyledDurationEditFocusable"})(en||(en=(0,g.Z)(["\n &&& {\n align-items: center;\n display: flex;\n flex-wrap: nowrap;\n margin-bottom: 0; /* reset bootstrap */\n margin-left: ",";\n\n &:first-child {\n margin-left: 0;\n }\n\n > span {\n color: ",";\n cursor: ",";\n }\n }\n"])),St.Z.space(1),(function(e){return e.immutable?(0,an.iy)(on()(e.theme,"colors.text")):Pt.Z.color("text")}),(function(e){return e.immutable?"not-allowed":"default"})),un=function(e){var t=e.value,n=e.immutable,r=e.onChange,o=e.options,i=_.Z.millisecondsToDuration(t),a=(0,c.useState)(!1),s=(0,U.Z)(a,2),u=s[0],l=s[1],f=function(e,t){var n,o,a=null!==t?t:i.minutes,s=null!==e?e:i.hours;""!==a||""!==s?(a>=60&&(s=0),r((o=a,(n=s)||o?((n<0||o<0)&&(n=A(n),o=A(o)),60*(n||0)*6e4+6e4*(o||0)):null))):r(null)},p=function(){l(!0)},h=function(e){e.charCode>=48&&e.charCode<=57||45===e.charCode&&!0===o.allowNegative||e.preventDefault()},m=function(){return!0===o.allowNegative?"-?d+":"d+"},g=function(){return u||"number"==typeof t},v=function(e){return 9*(e+"").length},y=n&&Boolean(i.seconds);return(0,d.jsxs)(nn.gg,{onBlur:function(){l(!1)},immutable:n,children:[(0,d.jsxs)(cn,{immutable:n,children:[(0,d.jsx)(sn,{disabled:n,immutable:n,min:!0===o.allowNegative?void 0:0,onChange:function(){},onFocus:p,onInput:function(e){var t=e.target.value.replace(/[^-\d]/g,"");f(t,null)},onKeyPress:h,pattern:m(),step:1,width:v(i.hours),type:"number",value:"number"!=typeof i.hours||0===i.hours&&!n?"":i.hours+""}),g()&&(0,d.jsx)(tn.ZP.Span,{children:o.hoursLabel})]}),(0,d.jsxs)(cn,{immutable:n,children:[(0,d.jsx)(sn,{disabled:n,immutable:n,min:!0!==o.allowNegative||null!==i.hours&&0!==i.hours?0:void 0,onChange:function(){},onFocus:p,onInput:function(e){var t=e.target.value.replace(/[^-\d]/g,"");f(null,t)},onKeyPress:h,pattern:m(),step:1,width:v(i.minutes),type:"number",value:i.minutes+""}),g()&&(0,d.jsx)(tn.ZP.Span,{children:o.minutesLabel})]}),y&&(0,d.jsxs)(cn,{immutable:n,children:[(0,d.jsx)(sn,{disabled:n,immutable:n,onChange:function(){},width:v(i.seconds),type:"number",value:i.seconds+""}),g()&&(0,d.jsx)(tn.ZP.Span,{children:o.secondsLabel})]})]})};un.defaultProps={options:{hoursLabel:"hrs",minutesLabel:"min",secondsLabel:"s"}};const ln=un;var fn,pn=n(35997);const dn=v.ZP.input.attrs((function(e){return{type:"text"}})).withConfig({displayName:"StyledStringEdit"})(fn||(fn=(0,g.Z)(["\n && {\n ","\n }\n"])),nn.k9);const hn=pn.Z.Debouncer((function(e){return(0,d.jsxs)(nn.gg,{immutable:e.immutable,children:[(0,d.jsx)(dn,{disabled:e.immutable,id:e.id,name:e.name,onChange:function(t){return e.onChange(t.target.value)},immutable:e.immutable,value:e.value||""}),e.value&&(0,d.jsx)(nn.Wg,{children:(0,d.jsx)(Wt.Z,{href:"mailto:".concat(e.value.toString()),icon:"envelope",look:"ball",tabIndex:-1,target:"_blank",neutral:!0})})]})}));var mn,gn=(0,c.lazy)((function(){return Promise.all([n.e(323),n.e(200),n.e(85)]).then(n.bind(n,23710))})),vn=function(e){var t=e.onChange,n=e.immutable,r=e.value,o=e.options;if(n)return(0,d.jsx)(tn.ZP.Span,{children:(0,d.jsx)("div",{dangerouslySetInnerHTML:{__html:r}})});var i=o||{},a=i.contentLang,s=i.ckEditorConfig;return(0,d.jsx)(c.Suspense,{fallback:mn||(mn=(0,d.jsx)("i",{})),children:(0,d.jsx)(gn,{onChange:function(e){t&&t(e)},value:r,contentLang:a,ckEditorConfig:s})})};vn.defaultProps={value:""};const yn=vn;var bn=n(56315);function wn(){}function On(e){return!!(e||"").match(/\d/)}function xn(e){return null==e}function Sn(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function jn(e,t){void 0===t&&(t=!0);var n="-"===e[0],r=n&&t,o=(e=e.replace("-","")).split(".");return{beforeDecimal:o[0],afterDecimal:o[1]||"",hasNagation:n,addNegation:r}}function Pn(e,t,n){for(var r="",o=n?"0":"",i=0;i<=t-1;i++)r+=e[i]||o;return r}function En(e,t){return Array(t+1).join(e)}function kn(e,t){if(e.value=e.value,null!==e){if(e.createTextRange){var n=e.createTextRange();return n.move("character",t),n.select(),!0}return e.selectionStart||0===e.selectionStart?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}function Cn(e,t,n){return Math.min(Math.max(e,t),n)}function Tn(e){return Math.max(e.selectionStart,e.selectionEnd)}var Dn={displayType:"input",decimalSeparator:".",thousandsGroupStyle:"thousand",fixedDecimalScale:!1,prefix:"",suffix:"",allowNegative:!0,allowEmptyFormatting:!1,allowLeadingZeros:!1,isNumericString:!1,type:"text",onValueChange:wn,onChange:wn,onKeyDown:wn,onMouseUp:wn,onFocus:wn,onBlur:wn,isAllowed:function(){return!0}},_n=function(e){function t(t){e.call(this,t);var n=t.defaultValue;this.validateProps();var r=this.formatValueProp(n);this.state={value:r,numAsString:this.removeFormatting(r),mounted:!1},this.selectionBeforeInput={selectionStart:0,selectionEnd:0},this.onChange=this.onChange.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.onMouseUp=this.onMouseUp.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentDidMount=function(){this.setState({mounted:!0})},t.prototype.componentDidUpdate=function(e){this.updateValueIfRequired(e)},t.prototype.componentWillUnmount=function(){clearTimeout(this.focusTimeout),clearTimeout(this.caretPositionTimeout)},t.prototype.updateValueIfRequired=function(e){var t=this,n=t.props,r=t.state,o=t.focusedElm,i=r.value,a=r.numAsString;if(void 0===a&&(a=""),e!==n){this.validateProps();var s=this.formatNumString(a),c=xn(n.value)?s:this.formatValueProp(),u=this.removeFormatting(c),l=parseFloat(u),f=parseFloat(a);(isNaN(l)&&isNaN(f)||l===f)&&s===i&&(null!==o||c===i)||this.updateValue({formattedValue:c,numAsString:u,input:o,source:"prop",event:null})}},t.prototype.getFloatString=function(e){void 0===e&&(e="");var t=this.props.decimalScale,n=this.getSeparators().decimalSeparator,r=this.getNumberRegex(!0),o="-"===e[0];o&&(e=e.replace("-","")),n&&0===t&&(e=e.split(n)[0]);var i=(e=(e.match(r)||[]).join("").replace(n,".")).indexOf(".");return-1!==i&&(e=e.substring(0,i)+"."+e.substring(i+1,e.length).replace(new RegExp(Sn(n),"g"),"")),o&&(e="-"+e),e},t.prototype.getNumberRegex=function(e,t){var n=this.props,r=n.format,o=n.decimalScale,i=n.customNumerals,a=this.getSeparators().decimalSeparator;return new RegExp("[0-9"+(i?i.join(""):"")+"]"+(!a||0===o||t||r?"":"|"+Sn(a)),e?"g":void 0)},t.prototype.getSeparators=function(){var e=this.props.decimalSeparator,t=this.props,n=t.thousandSeparator,r=t.allowedDecimalSeparators;return!0===n&&(n=","),r||(r=[e,"."]),{decimalSeparator:e,thousandSeparator:n,allowedDecimalSeparators:r}},t.prototype.getMaskAtIndex=function(e){var t=this.props.mask;return void 0===t&&(t=" "),"string"==typeof t?t:t[e]||" "},t.prototype.getValueObject=function(e,t){var n=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(n)?void 0:n}},t.prototype.validateProps=function(){var e=this.props.mask,t=this.getSeparators(),n=t.decimalSeparator,r=t.thousandSeparator;if(n===r)throw new Error("\n Decimal separator can't be same as thousand separator.\n thousandSeparator: "+r+' (thousandSeparator = {true} is same as thousandSeparator = ",")\n decimalSeparator: '+n+" (default value for decimalSeparator is .)\n ");if(e&&("string"===e?e:e.toString()).match(/\d/g))throw new Error("\n Mask "+e+" should not contain numeric character;\n ")},t.prototype.setPatchedCaretPosition=function(e,t,n){kn(e,t),this.caretPositionTimeout=setTimeout((function(){e.value===n&&kn(e,t)}),0)},t.prototype.correctCaretPosition=function(e,t,n){var r=this.props,o=r.prefix,i=r.suffix,a=r.format;if(""===e)return 0;if(t=Cn(t,0,e.length),!a){var s="-"===e[0];return Cn(t,o.length+(s?1:0),e.length-i.length)}if("function"==typeof a)return t;if("#"===a[t]&&On(e[t]))return t;if("#"===a[t-1]&&On(e[t-1]))return t;var c=a.indexOf("#");t=Cn(t,c,a.lastIndexOf("#")+1);for(var u=a.substring(t,a.length).indexOf("#"),l=t,f=t+(-1===u?0:u);l>c&&("#"!==a[l]||!On(e[l]));)l-=1;return!On(e[f])||"left"===n&&t!==c||t-l<f-t?On(e[l])?l+1:l:f},t.prototype.getCaretPosition=function(e,t,n){var r,o,i=this.props.format,a=this.state.value,s=this.getNumberRegex(!0),c=(e.match(s)||[]).join(""),u=(t.match(s)||[]).join("");for(r=0,o=0;o<n;o++){var l=e[o]||"",f=t[r]||"";if((l.match(s)||l===f)&&("0"!==l||!f.match(s)||"0"===f||c.length===u.length)){for(;l!==t[r]&&r<t.length;)r++;r++}}return"string"!=typeof i||a||(r=t.length),r=this.correctCaretPosition(t,r)},t.prototype.removePrefixAndSuffix=function(e){var t=this.props,n=t.format,r=t.prefix,o=t.suffix;if(!n&&e){var i="-"===e[0];i&&(e=e.substring(1,e.length));var a=(e=r&&0===e.indexOf(r)?e.substring(r.length,e.length):e).lastIndexOf(o);e=o&&-1!==a&&a===e.length-o.length?e.substring(0,a):e,i&&(e="-"+e)}return e},t.prototype.removePatternFormatting=function(e){for(var t=this.props.format.split("#").filter((function(e){return""!==e})),n=0,r="",o=0,i=t.length;o<=i;o++){var a=t[o]||"",s=o===i?e.length:e.indexOf(a,n);if(-1===s){r=e;break}r+=e.substring(n,s),n=s+a.length}return(r.match(this.getNumberRegex(!0))||[]).join("")},t.prototype.removeFormatting=function(e){var t=this.props,n=t.format,r=t.removeFormatting;return e?(n?e="string"==typeof n?this.removePatternFormatting(e):"function"==typeof r?r(e):(e.match(this.getNumberRegex(!0))||[]).join(""):(e=this.removePrefixAndSuffix(e),e=this.getFloatString(e)),e):e},t.prototype.formatWithPattern=function(e){for(var t=this.props.format,n=0,r=t.split(""),o=0,i=t.length;o<i;o++)"#"===t[o]&&(r[o]=e[n]||this.getMaskAtIndex(n),n+=1);return r.join("")},t.prototype.formatAsNumber=function(e){var t=this.props,n=t.decimalScale,r=t.fixedDecimalScale,o=t.prefix,i=t.suffix,a=t.allowNegative,s=t.thousandsGroupStyle,c=this.getSeparators(),u=c.thousandSeparator,l=c.decimalSeparator,f=-1!==e.indexOf(".")||n&&r,p=jn(e,a),d=p.beforeDecimal,h=p.afterDecimal,m=p.addNegation;return void 0!==n&&(h=Pn(h,n,r)),u&&(d=function(e,t,n){var r=function(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;default:return/(\d)(?=(\d{3})+(?!\d))/g}}(n),o=e.search(/[1-9]/);return o=-1===o?e.length:o,e.substring(0,o)+e.substring(o,e.length).replace(r,"$1"+t)}(d,u,s)),o&&(d=o+d),i&&(h+=i),m&&(d="-"+d),e=d+(f&&l||"")+h},t.prototype.formatNumString=function(e){void 0===e&&(e="");var t=this.props,n=t.format,r=t.allowEmptyFormatting,o=t.customNumerals,i=e;if(o&&10===o.length){var a=new RegExp("["+o.join("")+"]","g");i=e.replace(a,(function(e){return o.indexOf(e).toString()}))}return i=""!==e||r?"-"!==e||n?"string"==typeof n?this.formatWithPattern(i):"function"==typeof n?n(i):this.formatAsNumber(i):"-":""},t.prototype.formatValueProp=function(e){var t=this.props,n=t.format,r=t.decimalScale,o=t.fixedDecimalScale,i=t.allowEmptyFormatting,a=this.props,s=a.value,c=a.isNumericString,u=!(s=xn(s)?e:s)&&0!==s;return u&&i&&(s=""),u&&!i?"":("number"==typeof s&&(s=function(e){var t="-"===(e+="")[0]?"-":"";t&&(e=e.substring(1));var n=e.split(/[eE]/g),r=n[0],o=n[1];if(!(o=Number(o)))return t+r;var i=1+o,a=(r=r.replace(".","")).length;return i<0?r="0."+En("0",Math.abs(i))+r:i>=a?r+=En("0",i-a):r=(r.substring(0,i)||"0")+"."+r.substring(i),t+r}(s),c=!0),"Infinity"===s&&c&&(s=""),c&&!n&&"number"==typeof r&&(s=function(e,t,n){if(-1!==["","-"].indexOf(e))return e;var r=-1!==e.indexOf(".")&&t,o=jn(e),i=o.beforeDecimal,a=o.afterDecimal,s=o.hasNagation,c=parseFloat("0."+(a||"0")),u=(a.length<=t?"0."+a:c.toFixed(t)).split(".");return(s?"-":"")+i.split("").reverse().reduce((function(e,t,n){return e.length>n?(Number(e[0])+Number(t)).toString()+e.substring(1,e.length):t+e}),u[0])+(r?".":"")+Pn(u[1]||"",Math.min(t,a.length),n)}(s,r,o)),c?this.formatNumString(s):this.formatInput(s))},t.prototype.formatNegation=function(e){void 0===e&&(e="");var t=this.props.allowNegative,n=new RegExp("(-)"),r=new RegExp("(-)(.)*(-)"),o=n.test(e),i=r.test(e);return e=e.replace(/-/g,""),o&&!i&&t&&(e="-"+e),e},t.prototype.formatInput=function(e){return void 0===e&&(e=""),this.props.format||(e=this.removePrefixAndSuffix(e),e=this.formatNegation(e)),e=this.removeFormatting(e),this.formatNumString(e)},t.prototype.isCharacterAFormat=function(e,t){var n=this.props,r=n.format,o=n.prefix,i=n.suffix,a=n.decimalScale,s=n.fixedDecimalScale,c=this.getSeparators().decimalSeparator;return"string"==typeof r&&"#"!==r[e]||!(r||!(e<o.length||e>=t.length-i.length||a&&s&&t[e]===c))},t.prototype.correctInputValue=function(e,t,n){var r=this,o=this.props,i=o.format,a=o.allowNegative,s=o.prefix,c=o.suffix,u=o.decimalScale,l=this.getSeparators(),f=l.allowedDecimalSeparators,p=l.decimalSeparator,d=this.state.numAsString||"",h=this.selectionBeforeInput,m=h.selectionStart,g=h.selectionEnd,v=function(e,t){for(var n=0,r=0,o=e.length,i=t.length;e[n]===t[n]&&n<o;)n++;for(;e[o-1-r]===t[i-1-r]&&i-r>n&&o-r>n;)r++;return{start:n,end:o-r}}(t,n),y=v.start,b=v.end;if(!i&&y===b&&-1!==f.indexOf(n[m])){var w=0===u?"":p;return n.substr(0,m)+w+n.substr(m+1,n.length)}var O=i?0:s.length,x=t.length-(i?0:c.length);if(n.length>t.length||!n.length||y===b||0===m&&g===t.length||0===y&&b===t.length||m===O&&g===x)return n;var S=t.substr(y,b-y);if(!![].concat(S).find((function(e,n){return r.isCharacterAFormat(n+y,t)}))){var j=t.substr(y),P={},E=[];[].concat(j).forEach((function(e,n){r.isCharacterAFormat(n+y,t)?P[n]=e:n>S.length-1&&E.push(e)})),Object.keys(P).forEach((function(e){E.length>e?E.splice(e,0,P[e]):E.push(P[e])})),n=t.substr(0,y)+E.join("")}if(!i){var k=this.removeFormatting(n),C=jn(k,a),T=C.beforeDecimal,D=C.afterDecimal,_=C.addNegation,A=e<n.indexOf(p)+1;if(k.length<d.length&&A&&""===T&&!parseFloat(D))return _?"-":""}return n},t.prototype.updateValue=function(e){var t=e.formattedValue,n=e.input,r=e.setCaretPosition;void 0===r&&(r=!0);var o=e.source,i=e.event,a=e.numAsString,s=e.caretPos,c=this.props.onValueChange,u=this.state.value;if(n){if(void 0===s&&r){var l=e.inputValue||n.value,f=Tn(n);n.value=t,s=this.getCaretPosition(l,t,f)}n.value=t,r&&this.setPatchedCaretPosition(n,s,t)}void 0===a&&(a=this.removeFormatting(t)),t!==u&&(this.setState({value:t,numAsString:a}),c(this.getValueObject(t,a),{event:i,source:o}))},t.prototype.onChange=function(e){var t=e.target,n=t.value,r=this.state,o=this.props,i=o.isAllowed,a=r.value||"",s=Tn(t);n=this.correctInputValue(s,a,n);var c=this.formatInput(n)||"",u=this.removeFormatting(c),l=i(this.getValueObject(c,u));l||(c=a),this.updateValue({formattedValue:c,numAsString:u,inputValue:n,input:t,event:e,source:"event"}),l&&o.onChange(e)},t.prototype.onBlur=function(e){var t=this.props,n=this.state,r=t.format,o=t.onBlur,i=t.allowLeadingZeros,a=n.numAsString,s=n.value;if(this.focusedElm=null,clearTimeout(this.focusTimeout),clearTimeout(this.caretPositionTimeout),!r){isNaN(parseFloat(a))&&(a=""),i||(a=function(e){if(!e)return e;var t="-"===e[0];t&&(e=e.substring(1,e.length));var n=e.split("."),r=n[0].replace(/^0+/,"")||"0",o=n[1]||"";return(t?"-":"")+r+(o?"."+o:"")}(a));var c=this.formatNumString(a);if(c!==s)return this.updateValue({formattedValue:c,numAsString:a,input:e.target,setCaretPosition:!1,event:e,source:"event"}),void o(e)}o(e)},t.prototype.onKeyDown=function(e){var t,n=e.target,r=e.key,o=n.selectionStart,i=n.selectionEnd,a=n.value;void 0===a&&(a="");var s=this.props,c=s.decimalScale,u=s.fixedDecimalScale,l=s.prefix,f=s.suffix,p=s.format,d=s.onKeyDown,h=void 0!==c&&u,m=this.getNumberRegex(!1,h),g=new RegExp("-"),v="string"==typeof p;if(this.selectionBeforeInput={selectionStart:o,selectionEnd:i},"ArrowLeft"===r||"Backspace"===r?t=o-1:"ArrowRight"===r?t=o+1:"Delete"===r&&(t=o),void 0!==t&&o===i){var y=t,b=v?p.indexOf("#"):l.length,w=v?p.lastIndexOf("#")+1:a.length-f.length;if("ArrowLeft"===r||"ArrowRight"===r){var O="ArrowLeft"===r?"left":"right";y=this.correctCaretPosition(a,t,O)}else if("Delete"!==r||m.test(a[t])||g.test(a[t])){if("Backspace"===r&&!m.test(a[t]))if(o<=b+1&&"-"===a[0]&&void 0===p){var x=a.substring(1);this.updateValue({formattedValue:x,caretPos:y,input:n,event:e,source:"event"})}else if(!g.test(a[t])){for(;!m.test(a[y-1])&&y>b;)y--;y=this.correctCaretPosition(a,y,"left")}}else for(;!m.test(a[y])&&y<w;)y++;(y!==t||t<b||t>w)&&(e.preventDefault(),this.setPatchedCaretPosition(n,y,a)),e.isUnitTestRun&&this.setPatchedCaretPosition(n,y,a),d(e)}else d(e)},t.prototype.onMouseUp=function(e){var t=e.target,n=t.selectionStart,r=t.selectionEnd,o=t.value;if(void 0===o&&(o=""),n===r){var i=this.correctCaretPosition(o,n);i!==n&&this.setPatchedCaretPosition(t,i,o)}this.props.onMouseUp(e)},t.prototype.onFocus=function(e){var t=this;e.persist(),this.focusedElm=e.target,this.focusTimeout=setTimeout((function(){var n=e.target,r=n.selectionStart,o=n.selectionEnd,i=n.value;void 0===i&&(i="");var a=t.correctCaretPosition(i,r);a===r||0===r&&o===i.length||t.setPatchedCaretPosition(n,a,i),t.props.onFocus(e)}),0)},t.prototype.render=function(){var e=this.props,t=e.type,n=e.displayType,r=e.customInput,o=e.renderText,i=e.getInputRef,a=e.format,s=(e.thousandSeparator,e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle,e.decimalScale,e.fixedDecimalScale,e.prefix,e.suffix,e.removeFormatting,e.mask,e.defaultValue,e.isNumericString,e.allowNegative,e.allowEmptyFormatting,e.allowLeadingZeros,e.onValueChange,e.isAllowed,e.customNumerals,e.onChange,e.onKeyDown,e.onMouseUp,e.onFocus,e.onBlur,e.value,function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["type","displayType","customInput","renderText","getInputRef","format","thousandSeparator","decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","decimalScale","fixedDecimalScale","prefix","suffix","removeFormatting","mask","defaultValue","isNumericString","allowNegative","allowEmptyFormatting","allowLeadingZeros","onValueChange","isAllowed","customNumerals","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value"])),c=this.state,l=c.value,f=c.mounted&&function(e){return e||"undefined"!=typeof navigator&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}(a)?"numeric":void 0,p=Object.assign({inputMode:f},s,{type:t,value:l,onChange:this.onChange,onKeyDown:this.onKeyDown,onMouseUp:this.onMouseUp,onFocus:this.onFocus,onBlur:this.onBlur});if("text"===n)return o?o(l,s)||null:u().createElement("span",Object.assign({},s,{ref:i}),l);if(r){var d=r;return u().createElement(d,Object.assign({},p,{ref:i}))}return u().createElement("input",Object.assign({},p,{ref:i}))},t}(u().Component);_n.defaultProps=Dn;const An=_n;var Mn,Rn=["immutable"];function In(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}const Zn=(0,v.ZP)((function(e){e.immutable;var t=(0,bn.Z)(e,Rn);return(0,d.jsx)(An,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?In(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):In(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t))})).withConfig({displayName:"StyledNumberEdit"})(Mn||(Mn=(0,g.Z)(["\n && {\n ","\n }\n"])),nn.k9);function Nn(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 Ln(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nn(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Fn=function(e){return 0!==e?Math.ceil(Math.log10(Math.abs(e)+1)):1},Hn=function(e){return null!=e&&!isNaN(parseFloat(e))},Bn=function(e,t,n){return!Hn(n)||!(Hn(t)&&n>t)&&!(Hn(e)&&n<e)},Un=function(e,t){return function(n){var r=n.floatValue;return Fn(r)<Fn(e)||Bn(e,t,r)}};const Wn=(0,F.ZP)(pn.Z.Debouncer((function(e){var t,n=(t=e.intl.locale,{thousandSeparator:1111..toLocaleString(t).replace(/1/g,""),decimalSeparator:1.1.toLocaleString(t).replace(/1/g,"")}),r=n.thousandSeparator,o=n.decimalSeparator,i=e.options||{},a=i.prePointDigits,s=i.postPointDigits,c=i.minValue,u=i.maxValue,l=i.allowNegative,f=i.fixedDecimalScale,p=i.suffix,h=i.prefix,m=i.format,g=function(e,t,n){if(e){var r=Math.pow(10,e)-(t?1/Math.pow(10,t):1);return n&&n>r?n:r}return n}(a,s,u),v=Ln(Ln({isAllowed:Un(c,g),allowNegative:!!l},isNaN(s)?{}:{decimalScale:s}),{},{fixedDecimalScale:!!f});return(0,d.jsx)(nn.gg,{immutable:e.immutable,children:(0,d.jsx)(Zn,Ln(Ln({decimalSeparator:o,disabled:e.immutable,id:e.id,isNumericString:!0,name:e.name,onValueChange:function(t){e.onChange&&Bn(c,g,t.floatValue)&&e.onChange(void 0!==t.floatValue?t.floatValue:null)},immutable:e.immutable,thousandSeparator:r,value:e.value,suffix:p,prefix:h},v),{},{format:m,placeholder:e.placeholder,onBlur:function(t){var n,r=!(n=t.target.value)||isNaN(n)?null:parseFloat(n);e.onChange&&!Bn(c,g,r)&&(t.target.value=null)}}))})}),800));const zn=pn.Z.Debouncer((function(e){var t=e.value,n=e.onChange,r=e.options,o=e.immutable,i=e.name,a=e.id,s=e.placeholder,c=r||{},u=c.minValue,l=c.maxValue,f=c.format,p=c.allowLeadingZeros;return(0,d.jsx)(nn.gg,{immutable:o,children:(0,d.jsx)(Zn,{isAllowed:Un(u,l),allowNegative:!0,decimalScale:0,disabled:o,id:a,name:i,onValueChange:function(e){var t=e.value,r=e.floatValue,o=p?t:r;void 0===o&&(o=null),Bn(u,l,r)&&n(o)},value:t,allowLeadingZeros:p,format:f,placeholder:s})})}),800);var Vn,Gn,qn,$n=n(73891),Yn=n(52931),Xn=n.n(Yn),Kn=n(44066),Jn=v.ZP.div.withConfig({displayName:"StyledLocationEdit"})(Vn||(Vn=(0,g.Z)(["\n && {\n ","\n position: relative;\n\n div {\n :nth-of-type(1) {\n flex: 0 0 13ch;\n margin-right: ",";\n }\n\n :nth-of-type(2) {\n flex: 1 1 auto;\n }\n }\n\n > span {\n flex: 0 0 auto;\n margin-right: ",";\n color: ",";\n }\n\n .react-autosuggest__input {\n ","\n width: 100%;\n }\n\n .react-autosuggest__suggestions-container--open {\n width: calc(100% + 17.5px);\n background-color: ",";\n box-shadow: 0 0 6px ",";\n border: 1px solid ",";\n bottom: -9px;\n left: -10px;\n max-height: 300px;\n overflow-y: auto;\n position: absolute;\n transform: translateY(100%);\n z-index: 2; // higher than StyledIndicatorsContainerWrapper\n }\n\n .react-autosuggest__suggestions-list {\n margin: 0;\n padding: 0;\n list-style-type: none;\n }\n\n .react-autosuggest__suggestion {\n cursor: pointer;\n padding: 8px 12px;\n }\n\n .react-autosuggest__suggestion--highlighted {\n background-color: ",";\n }\n }\n"])),nn.yP,St.Z.space(-2),St.Z.space(-2),(function(e){var t=e.immutable,n=e.theme;return t?(0,an.iy)(on()(n,"colors.text")):on()(n,"colors.text")}),nn.k9,Pt.Z.color("paper"),Pt.Z.color("signal.info.text"),Pt.Z.color("secondaryLight"),(function(e){var t=e.theme;return(0,an.HO)(on()(t,"colors.paper"),1)}));function Qn(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 er(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qn(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const tr=function(e){var t=e.onChange,n=e.options,o=e.value,i=e.id,a=e.immutable,s=e.name,c=function(e){return function(t){return t[e]}},u=function(e){var t=e.state,n=e.country,r=e.postcode,o=e.city,i=t?"- ".concat(t):"",a=n?"/ ".concat(n.display):"";return(0,d.jsxs)(tn.ZP.Span,{children:[r," ",o," ",i," ",a]})},l=function(e){return function(n,i){var a=i.newValue;t(er(er({},o),{},(0,r.Z)({},e,a)))}},f=function(e,n){var r=n.suggestion;t(r)},p=function(e){return function(t){var o=t.value;n.fetchSuggestions((0,r.Z)({},e,o),n.locationValues.country)}},h={id:i,value:o.postcode||"",onChange:l("postcode"),disabled:a},m={value:o.city||"",onChange:l("city"),disabled:a};return(0,d.jsx)(Kn.Z,{children:function(e){var t,r,i,l=e.focused,g=e.getRef;return(0,d.jsxs)(Jn,{immutable:a,name:s,ref:g,children:[(0,d.jsx)(Xn(),{suggestions:n.suggestions||[],onSuggestionsFetchRequested:p("postcode"),getSuggestionValue:c("postcode"),renderSuggestion:u,onSuggestionsClearRequested:function(){},inputProps:h,onSuggestionSelected:f,focusInputOnSuggestionClick:!1,shouldRenderSuggestions:function(e){return e&&!a}}),(l||o.city||o.postcode)&&(Gn||(Gn=(0,d.jsx)(tn.ZP.Span,{children:"/"}))),(0,d.jsx)(Xn(),{suggestions:n.suggestions||[],onSuggestionsFetchRequested:p("city"),getSuggestionValue:c("city"),renderSuggestion:u,onSuggestionsClearRequested:function(){},inputProps:m,onSuggestionSelected:f,focusInputOnSuggestionClick:!1,shouldRenderSuggestions:function(e){return e&&!a}}),(0,d.jsxs)(nn.Wg,{children:[n.isLoading&&(qn||(qn=(0,d.jsx)(Lt.Z,{size:"1.8rem"}))),(i=n.locationValues,Boolean(i.city||i.postcode)&&(0,d.jsx)(Wt.Z,{href:(t=n.locationValues,r=t?Object.values(t).filter(Boolean).map((function(e){return"object"===(0,$n.Z)(e)&&e.display?e.display:e})).join("+"):"","".concat("https://www.google.com/maps/search/?api=1&query=").concat(r)),icon:"map-marked",tabIndex:-1,target:"_blank",dense:!1,title:n.mapButtonTitle||"Show on map",neutral:!0}))]})]})}})};function nr(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}const rr=function(e){return(0,d.jsx)(p.Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nr(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:e.id,isMulti:!0,immutable:e.immutable,onChange:e.onChange,value:e.value},e.options))};function or(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}const ir=function(e){return(0,d.jsx)(p.Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?or(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):or(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:e.id,isMulti:!0,immutable:e.immutable,onChange:e.onChange,value:e.value,openMenuOnClick:!0},e.options))};function ar(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}var sr,cr=n(92546),ur=n.n(cr);const lr=v.ZP.input.attrs((function(e){return{type:"tel"}})).withConfig({displayName:"StyledPhoneEdit"})(sr||(sr=(0,g.Z)(["\n && {\n ","\n }\n"])),nn.k9);const fr=function(e){var t=e.onChange,r=e.value,o=e.immutable,i=e.id,a=e.onLibLoaded,l=on()(e,"options.defaultCountry")||"CH",f=(0,c.useState)(null),p=(0,U.Z)(f,2),h=p[0],m=p[1],g=u().createRef();(0,c.useEffect)((function(){var e=function(){var e,t=(e=ur().mark((function e(){var t;return ur().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([n.e(817),n.e(877)]).then(n.bind(n,80446));case 2:t=e.sent,m(t),a&&a();case 5:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){ar(i,r,o,a,s,"next",e)}function s(e){ar(i,r,o,a,s,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}();e()}),[a]);var v=function(e,t){var n=e.substring(0,t-1).match(/\s/g);return(null==n?void 0:n.length)||0},y=r&&null!=h&&h.AsYouType?new h.AsYouType(l).input(r):r||"";return(0,d.jsxs)(nn.gg,{immutable:o,children:[(0,d.jsx)(lr,{disabled:o||!h,id:i,name,onChange:function(e){var n=e.target.value,o=h?h.parseNumber(n,l):n,i=s()(o)?new h.AsYouType(l).input(n).replace(/\s/g,""):h.formatNumber(o,"E.164");t(i);var a=e.target.selectionStart;!function(e,t,n){if(n&&e.length!==n){var r=new h.AsYouType(l).input(t),o=new h.AsYouType(l).input(e),i=v(r,n),a=v(o,n)-i;window.requestAnimationFrame(function(){var e=n+a;this.setSelectionRange(e,e)}.bind(g.current))}}(n,r,a)},immutable:o||!h,ref:g,value:y}),y&&(0,d.jsx)(nn.Wg,{children:(0,d.jsx)(Wt.Z,{href:"tel:".concat(r),icon:"phone",tabIndex:-1,neutral:!0})})]})};function pr(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}const dr=function(e){return(0,d.jsx)(p.Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pr(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:e.id,isMulti:!1,immutable:e.immutable,onChange:e.onChange,value:e.value},e.options))};function hr(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}const mr=function(e){return(0,d.jsx)(p.Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hr(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({immutable:e.immutable,onChange:e.onChange,value:e.value},e.options))};function gr(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}const vr=function(e){return(0,d.jsx)(p.Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gr(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:e.id,immutable:e.immutable,isMulti:!1,onChange:e.onChange,value:e.value,openMenuOnClick:!0},e.options))};const yr=pn.Z.Debouncer((function(e){return(0,d.jsx)(nn.gg,{immutable:e.immutable,children:(0,d.jsx)(dn,{disabled:e.immutable,id:e.id,name:e.name,onChange:function(t){return e.onChange(t.target.value)},immutable:e.immutable,value:e.value||""})})}));var br=n(23493),wr=n.n(br);const Or=function(){var e,t=(null===(e=navigator)||void 0===e?void 0:e.userAgent)||"";return/^((?!chrome|android).)*safari/i.test(t)};var xr,Sr,jr,Pr=(0,v.iv)(xr||(xr=(0,g.Z)(["\n ","\n width: 100%;\n grid-area: 1 / 1 / 2 / 2;\n max-height: 25rem;\n box-sizing: border-box;\n"])),nn.k9),Er=v.ZP.div.withConfig({displayName:"StyledSizeWrapper"})(Sr||(Sr=(0,g.Z)(["\n display: grid;\n width: 100%;\n\n &:after {\n content: attr(data-replicated-value) ' ';\n white-space: pre-wrap;\n word-break: break-all;\n visibility: hidden;\n ","\n\n /* prevent scrollbar on Firefox */\n padding-right: 15px;\n }\n"])),Pr),kr=v.ZP.textarea.withConfig({displayName:"StyledTextarea"})(jr||(jr=(0,g.Z)(["\n ","\n resize: none;\n margin: 0;\n min-height: 4em;\n"])),Pr);function Cr(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 Tr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cr(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Dr=function(e){var t=e.value,n=e.onChange,r=e.name,o=e.id,i=e.disabled,a=e.immutable,s=(0,c.useState)(t),u=(0,U.Z)(s,2),l=u[0],f=u[1],p=!Or(),h=(0,c.useCallback)(wr()(f,500,{trailing:!0}),[]);return(0,c.useEffect)((function(){p&&h(t)}),[t,p,h]),(0,d.jsx)(Er,Tr(Tr({},p?{"data-replicated-value":l}:{}),{},{children:(0,d.jsx)(kr,{value:t,name:r,id:o,onChange:n,disabled:i,immutable:a,rows:"1"})}))};const _r=pn.Z.Debouncer((function(e){return(0,d.jsx)(nn.gg,{immutable:e.immutable,children:(0,d.jsx)(Dr,{id:e.id,immutable:e.immutable,maxRows:20,name:e.name,onChange:function(t){return e.onChange(t.target.value)},disabled:e.immutable,rows:2,value:e.value})})}));var Ar,Mr=n(2091);const Rr=v.ZP.input.attrs((function(e){return{type:"time"}})).withConfig({displayName:"StyledTimeEdit"})(Ar||(Ar=(0,g.Z)(["\n && {\n ","\n }\n"])),nn.k9);const Ir=function(e){var t=!!window.sidebar,n=e.value&&!e.immutable&&!t,r=e.value||"";return(0,d.jsxs)(nn.gg,{immutable:e.immutable,children:[(0,d.jsx)(Rr,{disabled:e.immutable,id:e.id,immutable:e.immutable,name:e.name,onChange:function(t){e.onChange(t.target.value)},value:r}),n&&(0,d.jsx)(nn.Wg,{children:(0,d.jsx)(Mr.Z,{icon:"times",onClick:function(){e.onChange(null)},tabIndex:-1})})]})};var Zr;const Nr=v.ZP.input.attrs((function(e){return{type:"url"}})).withConfig({displayName:"StyledUrlEdit"})(Zr||(Zr=(0,g.Z)(["\n && {\n ","\n }\n"])),nn.k9);function Lr(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 Fr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lr(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Hr={boolean:b,"boolean-select":h,code:C,date:L,datetime:B,document:Jt,duration:ln,email:hn,html:yn,integer:zn,location:tr,"multi-remote":rr,"multi-select":ir,number:Wn,phone:fr,remote:dr,"search-filter":mr,"single-select":vr,string:yr,text:_r,url:pn.Z.Debouncer((function(e){return(0,d.jsxs)(nn.gg,{immutable:e.immutable,children:[(0,d.jsx)(Nr,{disabled:e.immutable,id:e.id,immutable:e.immutable,name:e.name,onChange:function(t){return e.onChange(((n=(n=t.target.value).toLowerCase()).indexOf(".")>0&&!/^[a-z0-9]+:\/\//.test(n)&&(n="https://".concat(n)),n));var n},value:e.value}),e.value&&(0,d.jsx)(nn.Wg,{children:(0,d.jsx)(Wt.Z,{href:e.value,icon:"external-link",look:"ball",tabIndex:-1,target:"_blank",neutral:!0})})]})})),time:Ir},Br=function(e){return["date","datetime"].includes(e)};const Ur=function(e){var t=e.componentType,n=e.value,r=e.options,o=e.id,a=e.events,u=e.placeholder,l=e.readOnly,f=void 0!==l&&l,p=(0,c.useRef)(void 0),h=(0,c.useCallback)((function(e){Br(t)&&(p.current=e),a.onChange(e)}),[t]);if(Hr[t]){var m=Hr[t];if(a&&a.onBlur){var g=a.onBlur;a.onBlur=function(){var e=Br(t)&&void 0!==p.current?p.current:n;g(e)}}return(0,d.jsx)("div",Fr(Fr({},i()(a,"onChange")),{},{"data-cy":"form-field",children:(0,d.jsx)(m,Fr(Fr({value:n,onChange:h},s()(r)?{}:{options:r}),{},{id:o,immutable:f,placeholder:u,events:a}))}))}return console.log("No type-editor defined for component type",t),null};function Wr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wr(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Vr=function(e){return(0,d.jsx)(nn.ZP,{children:(0,d.jsx)(Ur,zr({componentType:e.type},i()(e,"type")))})}},51032:(e,t,n)=>{"use strict";n.d(t,{Wg:()=>v,ZP:()=>y,gg:()=>h,k9:()=>m,yP:()=>d});var r,o,i,a,s,c,u=n(91411),l=n(58804),f=n(30759),p=n(88601),d=(0,l.iv)(r||(r=(0,u.Z)(["\n align-items: center;\n cursor: ",";\n display: flex;\n"])),(function(e){return e.immutable?"not-allowed":"default"})),h=l.ZP.label.withConfig({displayName:"StyledEditableWrapper"})(o||(o=(0,u.Z)(["\n &&& {\n margin: 0; /* reset Bootstrap and Ext JS */\n padding: 0; /* reset Ext JS */\n ","\n }\n"])),d),m=(0,l.iv)(i||(i=(0,u.Z)(["\n background-color: transparent;\n border: 0;\n cursor: ",";\n flex-grow: 1;\n min-height: 2.6rem;\n min-width: 0;\n outline: 0;\n padding: 0;\n ","\n &::-ms-clear {\n display: none;\n }\n\n &::-webkit-clear-button {\n display: none;\n }\n\n &::-webkit-inner-spin-button {\n display: none;\n }\n\n &[type='number'] {\n appearance: textfield;\n }\n\n &[type='search'] {\n appearance: none;\n }\n\n &:disabled {\n -webkit-text-fill-color: ","; // Safari fix\n opacity: 1; // iOS fix\n }\n\n /* remove indicators */\n &[type='date'],\n &[type='datetime-local'],\n &[type='month'],\n &[type='time'],\n &[type='week'] {\n appearance: none;\n display: flex;\n\n /* reset margin on smaller screens */\n ::-webkit-date-and-time-value {\n ","\n }\n }\n\n // allow pointer event only on touch devices\n @media (pointer: coarse) {\n pointer-events: ",";\n }\n"])),(function(e){return e.immutable?"not-allowed":"default"}),(function(){return(0,f.Z)({color:p.Z.color("text")})}),p.Z.color("text"),(function(e){return e.immutable&&"margin: unset;"}),(function(e){return e.immutable?"none":"auto"})),g=(0,l.iv)(a||(a=(0,u.Z)(["\n display: flex;\n align-items: center;\n"]))),v=l.ZP.div.withConfig({displayName:"StyledEditableControl"})(s||(s=(0,u.Z)(["\n &&& {\n ","\n }\n"])),g),y=l.ZP.span.withConfig({displayName:"StyledEditableValue"})(c||(c=(0,u.Z)(["\n width: 100%;\n\n && {\n //url\n [type='url'] + .input-group-addon > a {\n color: inherit; // reset bootstrap default\n }\n\n //url\n [type='tel'] + .input-group-addon > a {\n color: inherit; // reset bootstrap default\n }\n\n //date\n .date-edit {\n .input-group-addon {\n cursor: pointer;\n }\n\n input {\n z-index: 0;\n }\n\n &.disabled {\n input {\n cursor: not-allowed;\n }\n }\n\n .right-addon {\n position: relative;\n }\n\n .right-addon input {\n padding-right: 30px;\n }\n\n .reset {\n position: absolute;\n padding-right: 10px;\n padding-top: 5px;\n right: 0;\n color: #999;\n font-size: 18px;\n font-style: normal;\n cursor: pointer;\n }\n\n .reset:hover {\n color: ",";\n }\n }\n }\n"])),p.Z.color("signal.danger.text"))},79686:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d,j:()=>p});var r,o=n(91411),i=n(58804),a=n(10535),s=n(69829),c=n(56822),u=n(7281),l=n(88601),f=n(85893),p=(0,i.ZP)(s.Fe).withConfig({displayName:"StyledHtmlFormatter"})(r||(r=(0,o.Z)(["\n &&& {\n ","\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n\n .label {\n background: none !important; // nice2 reset\n font-size: 100% !important; // nice2 reset\n font-weight: "," !important; // nice2 reset\n padding-left: 0 !important; // nice2 reset\n white-space: normal !important; // nice2 reset\n }\n\n .label-danger {\n color: ",";\n }\n\n .label-info {\n color: ",";\n }\n\n .label-warning {\n color: ",";\n }\n\n .label-success {\n color: ",";\n }\n }\n"])),(function(e){return(0,c.L)(e,"html")}),u.Z.space(-1),l.Z.fontWeight("regular"),l.Z.color("signal.danger.text"),l.Z.color("signal.info.text"),l.Z.color("signal.warning.text"),l.Z.color("signal.success.text")),d=function(e){var t=e.value,n=e.breakWords;return(0,f.jsx)(p,{dangerouslySetInnerHTML:{__html:a.Z.sanitizeHtml(t)},breakWords:n})}},88162:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r,o=n(46927),i=n(1024),a=n.n(i),s=n(85893);function c(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 u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=(0,i.lazy)((function(){return Promise.all([n.e(198),n.e(611),n.e(701),n.e(85)]).then(n.bind(n,59178))}));const f=function(e){return(0,s.jsx)(i.Suspense,{fallback:r||(r=(0,s.jsx)(a().Fragment,{})),children:(0,s.jsx)(l,u({},e))})}},11347:(e,t,n)=>{"use strict";n.d(t,{C:()=>u});var r,o=n(91411),i=n(27361),a=n.n(i),s=n(58804),c=n(58664),u=(0,s.iv)(r||(r=(0,o.Z)(["\n ::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n }\n\n ::-webkit-scrollbar-thumb {\n background-color: ",";\n\n &:hover {\n background-color: ",";\n }\n }\n scrollbar-color: "," transparent; // Firefox workaround\n scrollbar-width: thin;\n"])),(function(e){var t=e.theme;return(0,c.HO)(a()(t,"colors.paper"),4)}),(function(e){var t=e.theme;return(0,c.HO)(a()(t,"colors.text"),5)}),(function(e){var t=e.theme;return(0,c.HO)(a()(t,"colors.paper"),4)}))},41291:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r,o=n(88162),i=n(78958),a=n(91411),s=n(58804),c=n(30759),u=n(19704),l=n(88601);const f=s.ZP.a.withConfig({displayName:"StyledLink"})(r||(r=(0,a.Z)(["\n ","\n ","\n\n && {\n color: ",";\n text-decoration: ",";\n\n &:hover,\n &:focus {\n text-decoration: ",";\n }\n\n &:active {\n text-decoration: ",";\n }\n }\n"])),(0,c.Z)(),(function(e){return e.breakWords?(0,u._)():(0,u.l)()}),l.Z.color("text"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}));var p=n(85893),d=function(e){var t=e.alt,n=e.breakWords,r=e.download,a=e.href,s=e.neutral,c=e.onClick,u=e.rel,l=e.tabIndex,d=e.target,h=e.title,m=e.label,g=e.icon,v=e.children;return(0,p.jsxs)(f,{alt:t,breakWords:n,download:r,href:a,neutral:s,onClick:c,rel:u,tabIndex:l,target:d,title:h||(n?void 0:m),children:[g&&(0,p.jsx)(o.Z,{icon:g,position:i.Z.position.PREPEND}),m||v]})};d.defaultProps={breakWords:!0,href:"#",target:"_self"};const h=d},93235:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r,o=n(46927),i=n(1024),a=n.n(i),s=n(85893);function c(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 u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=(0,i.lazy)((function(){return Promise.all([n.e(198),n.e(611),n.e(85)]).then(n.bind(n,81251))}));const f=function(e){return(0,s.jsx)(i.Suspense,{fallback:r||(r=(0,s.jsx)(a().Fragment,{})),children:(0,s.jsx)(l,u({},e))})}},76791:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E});var r,o,i,a=n(46927),s=n(68957),c=n(1024),u=n(30314),l=n.n(u),f=n(32654),p=n(91411),d=n(58804),h=n(79686),m=n(56822),g=n(88601),v=n(7281),y=16,b=d.ZP.div.withConfig({displayName:"StyledBoxWrapper"})(r||(r=(0,p.Z)(["\n && {\n pointer-events: none; // prevent flickering of tooltip\n background-color: ",";\n max-width: 400px;\n z-index: 100000010;\n padding: ",";\n }\n"])),g.Z.color("backgroundPopover"),(function(e){return e.rimless?"0":v.Z.space(0)})),w=d.ZP.div.withConfig({displayName:"StyledBox"})(o||(o=(0,p.Z)(["\n && {\n ",";\n\n &,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p,\n "," {\n color: ",";\n }\n }\n"])),(function(e){return e.isPlainHtml&&(0,m.L)(e,"html")}),h.j,g.Z.color("paper")),O=d.ZP.i.withConfig({displayName:"StyledArrow"})(i||(i=(0,p.Z)(["\n position: absolute;\n width: ","px;\n height: ","px;\n left: 0;\n\n &[data-popper-placement*='bottom'] {\n top: ","px;\n\n &:before {\n border-width: 0 ","px ","px ","px;\n border-color: transparent transparent "," transparent;\n }\n }\n\n &[data-popper-placement*='top'] {\n bottom: ","px;\n\n &:before {\n border-width: ","px ","px 0 ","px;\n border-color: "," transparent transparent transparent;\n }\n }\n\n &[data-popper-placement*='right'] {\n left: -","px;\n top: -6px !important;\n\n &:before {\n border-width: ","px;\n border-color: transparent "," transparent transparent;\n }\n }\n\n &:before {\n content: '';\n display: block;\n border-style: solid;\n width: 0;\n height: 0;\n }\n"])),y,8,-8,8,8,8,g.Z.color("backgroundPopover"),-6.4,8,8,8,g.Z.color("backgroundPopover"),y,8,g.Z.color("backgroundPopover")),x=n(85893);function S(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 j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var P=function(e){var t=e.children,n=e.content,r=e.isPlainHtml,o=e.rimless,i=(0,c.useState)(null),a=(0,s.Z)(i,2),u=a[0],p=a[1],d=(0,c.useState)(null),h=(0,s.Z)(d,2),m=h[0],g=h[1],v=(0,c.useState)(null),y=(0,s.Z)(v,2),S=y[0],P=y[1],E=(0,c.useState)(!1),k=(0,s.Z)(E,2),C=k[0],T=k[1],D=[{name:"offset",options:{offset:[0,8]}},{name:"preventOverflow",options:{padding:10}},{name:"arrow",options:{element:S}}],_=(0,f.D)(u,m,{modifiers:D}),A=_.styles,M=_.attributes;return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("span",{ref:p,onMouseOut:function(){T(!1)},onMouseOver:function(){T(!0)},children:t}),C&&n&&l().createPortal((0,x.jsxs)(b,j(j({ref:g,style:A.popper,rimless:o},M.popper),{},{children:[(0,x.jsx)(w,{isPlainHtml:r,children:n}),(0,x.jsx)(O,j({ref:P,style:A.arrow},M.popper))]})),document.body)]})};P.defaultProps={isPlainHtml:!0,rimless:!1};const E=P},73906:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r,o=n(88162),i=n(34206),a=n(91411),s=n(27361),c=n.n(s),u=n(58804),l=n(7281),f=n(58664);const p=u.ZP.figure.withConfig({displayName:"StyledPreview"})(r||(r=(0,a.Z)(["\n && {\n vertical-align: top;\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n margin: 0; //reset css overwrite\n\n img {\n margin-top: ",";\n border: 1px solid ",";\n max-width: ",";\n max-height: ",";\n min-width: 90px; // prevent collapse to 1px if there is no preview generated\n }\n\n figcaption {\n text-align: center;\n }\n }\n"])),l.Z.space(-2.2),(function(e){var t=e.theme;return(0,f.HO)(c()(t,"colors.paper"),2)}),(function(e){return e.maxDimensionX||"100%"}),(function(e){return e.maxDimensionY||"100%"}));var d,h=n(85893);const m=function(e){var t=e.thumbnailUrl,n=e.alt,r=e.srcUrl,a=(e.fileName,e.caption),s=e.maxDimensionX,c=e.maxDimensionY,u=t?(0,h.jsx)("img",{alt:n,title:n,src:t}):(0,h.jsx)("div",{title:n,children:d||(d=(0,h.jsx)(o.Z,{icon:"file-alt"}))});return(0,h.jsxs)(p,{maxDimensionX:s,maxDimensionY:c,children:[(0,h.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:r,children:u}),a&&(0,h.jsx)(i.ZP.Figcaption,{children:a})]})}},8270:(e,t,n)=>{"use strict";n.d(t,{Z:()=>gn});var r=n(46927),o=n(45915),i=n(68957),a=n(23493),s=n.n(a),c=n(1024),u=n(12864),l=n(56315),f=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];var p=n(3640),d=n(11259),h=n(44822),m=n(32208),g=n(82765);function v(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const y=function(e,t){var n;void 0===t&&(t=v);var r,o=[],i=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}};for(var b={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},w=function(e){return(0,g.tZ)("span",(0,p.Z)({css:b},e))},O={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.isDisabled,o=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(r?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,c=e.isSelected,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(u(a,n),".");if("menu"===t){var l=s?" disabled":"",f="".concat(c?"selected":"focused").concat(l);return"option ".concat(i," ").concat(f,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},x=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,i=e.isFocused,a=e.selectValue,s=e.selectProps,l=e.id,f=s.ariaLiveMessages,p=s.getOptionLabel,d=s.inputValue,h=s.isMulti,m=s.isOptionDisabled,v=s.isSearchable,y=s.menuIsOpen,b=s.options,x=s.screenReaderStatus,S=s.tabSelectsValue,j=s["aria-label"],P=s["aria-live"],E=(0,c.useMemo)((function(){return(0,u.a)((0,u.a)({},O),f||{})}),[f]),k=(0,c.useMemo)((function(){var e,n="";if(t&&E.onChange){var r=t.option,o=t.options,i=t.removedValue,s=t.removedValues,c=t.value,l=i||r||(e=c,Array.isArray(e)?null:e),f=l?p(l):"",d=o||s||void 0,h=d?d.map(p):[],g=(0,u.a)({isDisabled:l&&m(l,a),label:f,labels:h},t);n=E.onChange(g)}return n}),[t,E,m,a,p]),C=(0,c.useMemo)((function(){var e="",t=n||r,o=!!(n&&a&&a.includes(n));if(t&&E.onFocus){var i={focused:t,label:p(t),isDisabled:m(t,a),isSelected:o,options:b,context:t===n?"menu":"value",selectValue:a};e=E.onFocus(i)}return e}),[n,r,p,m,E,b,a]),T=(0,c.useMemo)((function(){var e="";if(y&&b.length&&E.onFilter){var t=x({count:o.length});e=E.onFilter({inputValue:d,resultsMessage:t})}return e}),[o,d,y,E,b,x]),D=(0,c.useMemo)((function(){var e="";if(E.guidance){var t=r?"value":y?"menu":"input";e=E.guidance({"aria-label":j,context:t,isDisabled:n&&m(n,a),isMulti:h,isSearchable:v,tabSelectsValue:S})}return e}),[j,n,r,h,m,v,y,E,a,S]),_="".concat(C," ").concat(T," ").concat(D),A=(0,g.tZ)(c.Fragment,null,(0,g.tZ)("span",{id:"aria-selection"},k),(0,g.tZ)("span",{id:"aria-context"},_)),M="initial-input-focus"===(null==t?void 0:t.action);return(0,g.tZ)(c.Fragment,null,(0,g.tZ)(w,{id:l},M&&A),(0,g.tZ)(w,{"aria-live":P,"aria-atomic":"false","aria-relevant":"additions text"},i&&!M&&A))},S=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],j=new RegExp("["+S.map((function(e){return e.letters})).join("")+"]","g"),P={},E=0;E<S.length;E++)for(var k=S[E],C=0;C<k.letters.length;C++)P[k.letters[C]]=k.base;var T=function(e){return e.replace(j,(function(e){return P[e]}))},D=y(T),_=function(e){return e.replace(/^\s+|\s+$/g,"")},A=function(e){return"".concat(e.label," ").concat(e.value)},M=["innerRef"];function R(e){var t=e.innerRef,n=(0,l.Z)(e,M),r=(0,u.r)(n,"onExited","in","enter","exit","appear");return(0,g.tZ)("input",(0,p.Z)({ref:t},r,{css:(0,g.iv)({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var I=["boxSizing","height","overflow","paddingRight","position"],Z={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function N(e){e.preventDefault()}function L(e){e.stopPropagation()}function F(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function H(){return"ontouchstart"in window||navigator.maxTouchPoints}var B=!("undefined"==typeof window||!window.document||!window.document.createElement),U=0,W={capture:!1,passive:!1};var z=function(){return document.activeElement&&document.activeElement.blur()},V={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function G(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,i=e.onTopLeave,a=(0,c.useRef)(!1),s=(0,c.useRef)(!1),l=(0,c.useRef)(0),f=(0,c.useRef)(null),p=(0,c.useCallback)((function(e,t){if(null!==f.current){var c=f.current,u=c.scrollTop,l=c.scrollHeight,p=c.clientHeight,d=f.current,h=t>0,m=l-p-u,g=!1;m>t&&a.current&&(r&&r(e),a.current=!1),h&&s.current&&(i&&i(e),s.current=!1),h&&t>m?(n&&!a.current&&n(e),d.scrollTop=l,g=!0,a.current=!0):!h&&-t>u&&(o&&!s.current&&o(e),d.scrollTop=0,g=!0,s.current=!0),g&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,i]),d=(0,c.useCallback)((function(e){p(e,e.deltaY)}),[p]),h=(0,c.useCallback)((function(e){l.current=e.changedTouches[0].clientY}),[]),m=(0,c.useCallback)((function(e){var t=l.current-e.changedTouches[0].clientY;p(e,t)}),[p]),g=(0,c.useCallback)((function(e){if(e){var t=!!u.s&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",m,t)}}),[m,h,d]),v=(0,c.useCallback)((function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",m,!1))}),[m,h,d]);return(0,c.useEffect)((function(){if(t){var e=f.current;return g(e),function(){v(e)}}}),[t,g,v]),function(e){f.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,c.useRef)({}),i=(0,c.useRef)(null),a=(0,c.useCallback)((function(e){if(B){var t=document.body,n=t&&t.style;if(r&&I.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&U<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(Z).forEach((function(e){var t=Z[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&H()&&(t.addEventListener("touchmove",N,W),e&&(e.addEventListener("touchstart",F,W),e.addEventListener("touchmove",L,W))),U+=1}}),[r]),s=(0,c.useCallback)((function(e){if(B){var t=document.body,n=t&&t.style;U=Math.max(U-1,0),r&&U<1&&I.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&H()&&(t.removeEventListener("touchmove",N,W),e&&(e.removeEventListener("touchstart",F,W),e.removeEventListener("touchmove",L,W)))}}),[r]);return(0,c.useEffect)((function(){if(t){var e=i.current;return a(e),function(){s(e)}}}),[t,a,s]),function(e){i.current=e}}({isEnabled:n});return(0,g.tZ)(c.Fragment,null,n&&(0,g.tZ)("div",{onClick:z,css:V}),t((function(e){o(e),i(e)})))}var q={clearIndicator:u.b,container:u.d,control:u.e,dropdownIndicator:u.f,group:u.g,groupHeading:u.h,indicatorsContainer:u.i,indicatorSeparator:u.j,input:u.k,loadingIndicator:u.l,loadingMessage:u.m,menu:u.n,menuList:u.o,menuPortal:u.p,multiValue:u.q,multiValueLabel:u.t,multiValueRemove:u.u,noOptionsMessage:u.v,option:u.w,placeholder:u.x,singleValue:u.y,valueContainer:u.z};var $,Y={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},X={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,u.A)(),captureMenuScroll:!(0,u.A)(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=(0,u.a)({ignoreCase:!0,ignoreAccents:!0,stringify:A,trim:!0,matchFrom:"any"},$),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,c=a?_(t):t,l=a?_(i(e)):i(e);return r&&(c=c.toLowerCase(),l=l.toLowerCase()),o&&(c=D(c),l=T(l)),"start"===s?l.substr(0,c.length)===c:l.indexOf(c)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!(0,u.B)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0};function K(e,t,n,r){return{type:"option",data:t,isDisabled:re(e,t,n),isSelected:oe(e,t,n),label:te(e,t),value:ne(e,t),index:r}}function J(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return K(e,n,t,r)})).filter((function(t){return ee(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=K(e,n,t,r);return ee(e,i)?i:void 0})).filter(u.H)}function Q(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,(0,o.Z)(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function ee(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!ae(e)||!i)&&ie(e,{label:a,value:s,data:o},r)}var te=function(e,t){return e.getOptionLabel(t)},ne=function(e,t){return e.getOptionValue(t)};function re(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function oe(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=ne(e,t);return n.some((function(t){return ne(e,t)===r}))}function ie(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ae=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},se=1,ce=function(e){(0,m.Z)(n,e);var t=(0,u._)(n);function n(e){var r;return(0,d.Z)(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,i=n.name;t.name=i,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e,t,n){var o=r.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,a=t.name,s=r.state.selectValue,c=i&&r.isOptionSelected(e,s),l=r.isOptionDisabled(e,s);if(c){var f=r.getOptionValue(e);r.setValue((0,u.C)(s.filter((function(e){return r.getOptionValue(e)!==f}))),"deselect-option",e)}else{if(l)return void r.ariaOnChange((0,u.D)(e),{action:"select-option",option:e,name:a});i?r.setValue((0,u.C)([].concat((0,o.Z)(s),[e])),"select-option",e):r.setValue((0,u.D)(e),"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),i=n.filter((function(e){return r.getOptionValue(e)!==o})),a=(0,u.E)(t,i,i[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange((0,u.E)(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),i=(0,u.E)(e,o,o[0]||null);r.onChange(i,{action:"pop-value",removedValue:n})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return u.F.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return te(r.props,e)},r.getOptionValue=function(e){return ne(r.props,e)},r.getStyles=function(e,t){var n=q[e](t);n.boxSizing="border-box";var o=r.props.styles[e];return o?o(n,t):n},r.getElementId=function(e){return"".concat(r.instancePrefix,"-").concat(e)},r.getComponents=function(){return(0,u.G)(r.props)},r.buildCategorizedOptions=function(){return J(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Q(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:(0,u.a)({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,o=t.menuIsOpen;r.focusInput(),o?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout((function(){return r.focusInput()})))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,u.I)(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),i=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||i>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){r.blockOptionHover||r.state.focusedOption===e||r.setState({focusedOption:e})},r.shouldHideSelectedOptions=function(){return ae(r.props)},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,c=t.isDisabled,u=t.menuIsOpen,l=t.onKeyDown,f=t.tabSelectsValue,p=t.openMenuOnFocus,d=r.state,h=d.focusedOption,m=d.focusedValue,g=d.selectValue;if(!(c||"function"==typeof l&&(l(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)r.removeValue(m);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!u||!f||!h||p&&r.isOptionSelected(h,g))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(u){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":u?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&i&&r.clearValue();break;case" ":if(a)return;if(!u){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":u?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":u?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!u)return;r.focusOption("pageup");break;case"PageDown":if(!u)return;r.focusOption("pagedown");break;case"Home":if(!u)return;r.focusOption("first");break;case"End":if(!u)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.instancePrefix="react-select-"+(r.props.instanceId||++se),r.state.selectValue=(0,u.J)(e.value),r}return(0,h.Z)(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,u.K)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Y):(0,u.a)((0,u.a)({},Y),this.props.theme):Y}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,o=this.selectOption,i=this.setValue,a=this.props,s=a.isMulti,c=a.isRtl,u=a.options;return{clearValue:e,cx:t,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:c,options:u,selectOption:o,selectProps:a,setValue:i,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return re(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return oe(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ie(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,i=e.tabIndex,a=e.form,s=e.menuIsOpen,l=this.getComponents().Input,f=this.state,d=f.inputIsHidden,h=f.ariaSelection,m=this.commonProps,g=r||this.getElementId("input"),v=(0,u.a)((0,u.a)((0,u.a)({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],role:"combobox"},s&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?c.createElement(l,(0,p.Z)({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:t,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:o},v)):c.createElement(R,(0,p.Z)({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:u.L,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:a,value:""},v))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,i=t.MultiValueRemove,a=t.SingleValue,s=t.Placeholder,u=this.commonProps,l=this.props,f=l.controlShouldRenderValue,d=l.isDisabled,h=l.isMulti,m=l.inputValue,g=l.placeholder,v=this.state,y=v.selectValue,b=v.focusedValue,w=v.isFocused;if(!this.hasValue()||!f)return m?null:c.createElement(s,(0,p.Z)({},u,{key:"placeholder",isDisabled:d,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),g);if(h)return y.map((function(t,a){var s=t===b,l="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return c.createElement(n,(0,p.Z)({},u,{components:{Container:r,Label:o,Remove:i},isFocused:s,isDisabled:d,key:l,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(m)return null;var O=y[0];return c.createElement(a,(0,p.Z)({},u,{data:O,isDisabled:d}),this.formatOptionLabel(O,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return c.createElement(e,(0,p.Z)({},t,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!e||!o)return null;return c.createElement(e,(0,p.Z)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused;return c.createElement(n,(0,p.Z)({},r,{isDisabled:o,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return c.createElement(e,(0,p.Z)({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,i=t.MenuList,a=t.MenuPortal,s=t.LoadingMessage,l=t.NoOptionsMessage,f=t.Option,d=this.commonProps,h=this.state.focusedOption,m=this.props,g=m.captureMenuScroll,v=m.inputValue,y=m.isLoading,b=m.loadingMessage,w=m.minMenuHeight,O=m.maxMenuHeight,x=m.menuIsOpen,S=m.menuPlacement,j=m.menuPosition,P=m.menuPortalTarget,E=m.menuShouldBlockScroll,k=m.menuShouldScrollIntoView,C=m.noOptionsMessage,T=m.onMenuScrollToTop,D=m.onMenuScrollToBottom;if(!x)return null;var _,A=function(t,n){var r=t.type,o=t.data,i=t.isDisabled,a=t.isSelected,s=t.label,u=t.value,l=h===o,m=i?void 0:function(){return e.onOptionHover(o)},g=i?void 0:function(){return e.selectOption(o)},v="".concat(e.getElementId("option"),"-").concat(n),y={id:v,onClick:g,onMouseMove:m,onMouseOver:m,tabIndex:-1};return c.createElement(f,(0,p.Z)({},d,{innerProps:y,data:o,isDisabled:i,isSelected:a,key:v,label:s,type:r,value:u,isFocused:l,innerRef:l?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())_=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,i=t.options,a=t.index,s="".concat(e.getElementId("group"),"-").concat(a),u="".concat(s,"-heading");return c.createElement(n,(0,p.Z)({},d,{key:s,data:o,options:i,Heading:r,headingProps:{id:u,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return A(e,"".concat(a,"-").concat(e.index))})))}if("option"===t.type)return A(t,"".concat(t.index))}));else if(y){var M=b({inputValue:v});if(null===M)return null;_=c.createElement(s,d,M)}else{var R=C({inputValue:v});if(null===R)return null;_=c.createElement(l,d,R)}var I={minMenuHeight:w,maxMenuHeight:O,menuPlacement:S,menuPosition:j,menuShouldScrollIntoView:k},Z=c.createElement(u.M,(0,p.Z)({},d,I),(function(t){var n=t.ref,r=t.placerProps,a=r.placement,s=r.maxHeight;return c.createElement(o,(0,p.Z)({},d,I,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove,id:e.getElementId("listbox")},isLoading:y,placement:a}),c.createElement(G,{captureEnabled:g,onTopArrive:T,onBottomArrive:D,lockEnabled:E},(function(t){return c.createElement(i,(0,p.Z)({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:y,maxHeight:s,focusedOption:h}),_)})))}));return P||"fixed"===j?c.createElement(a,(0,p.Z)({},d,{appendTo:P,controlElement:this.controlRef,menuPlacement:S,menuPosition:j}),Z):Z}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,a=this.state.selectValue;if(i&&!r){if(o){if(n){var s=a.map((function(t){return e.getOptionValue(t)})).join(n);return c.createElement("input",{name:i,type:"hidden",value:s})}var u=a.length>0?a.map((function(t,n){return c.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):c.createElement("input",{name:i,type:"hidden"});return c.createElement("div",null,u)}var l=a[0]?this.getOptionValue(a[0]):"";return c.createElement("input",{name:i,type:"hidden",value:l})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.isFocused,a=t.selectValue,s=this.getFocusableOptions();return c.createElement(x,(0,p.Z)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:a,focusableOptions:s}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,i=this.props,a=i.className,s=i.id,u=i.isDisabled,l=i.menuIsOpen,f=this.state.isFocused,d=this.commonProps=this.getCommonProps();return c.createElement(r,(0,p.Z)({},d,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:f}),this.renderLiveRegion(),c.createElement(t,(0,p.Z)({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:f,menuIsOpen:l}),c.createElement(o,(0,p.Z)({},d,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),c.createElement(n,(0,p.Z)({},d,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,c=e.options,l=e.value,f=e.menuIsOpen,p=e.inputValue,d=e.isMulti,h=(0,u.J)(l),m={};if(n&&(l!==n.value||c!==n.options||f!==n.menuIsOpen||p!==n.inputValue)){var g=f?function(e,t){return Q(J(e,t))}(e,h):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:h,focusedOption:y,focusedValue:v,clearFocusValueOnUpdate:!1}}var b=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},w=i,O=a&&s;return a&&!O&&(w={value:(0,u.E)(d,h,h[0]||null),options:h,action:"initial-input-focus"},O=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(w=null),(0,u.a)((0,u.a)((0,u.a)({},m),b),{},{prevProps:e,ariaSelection:w,prevWasFocused:O})}}]),n}(c.Component);ce.defaultProps=X;var ue=n(4692);var le=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),fe=Math.abs,pe=String.fromCharCode;function de(e){return e.trim()}function he(e,t,n){return e.replace(t,n)}function me(e,t){return e.indexOf(t)}function ge(e,t){return 0|e.charCodeAt(t)}function ve(e,t,n){return e.slice(t,n)}function ye(e){return e.length}function be(e){return e.length}function we(e,t){return t.push(e),e}var Oe=1,xe=1,Se=0,je=0,Pe=0,Ee="";function ke(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Oe,column:xe,length:a,return:""}}function Ce(e,t,n){return ke(e,t.root,t.parent,n,t.props,t.children,0)}function Te(){return Pe=je>0?ge(Ee,--je):0,xe--,10===Pe&&(xe=1,Oe--),Pe}function De(){return Pe=je<Se?ge(Ee,je++):0,xe++,10===Pe&&(xe=1,Oe++),Pe}function _e(){return ge(Ee,je)}function Ae(){return je}function Me(e,t){return ve(Ee,e,t)}function Re(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ie(e){return Oe=xe=1,Se=ye(Ee=e),je=0,[]}function Ze(e){return Ee="",e}function Ne(e){return de(Me(je-1,He(91===e?e+2:40===e?e+1:e)))}function Le(e){for(;(Pe=_e())&&Pe<33;)De();return Re(e)>2||Re(Pe)>3?"":" "}function Fe(e,t){for(;--t&&De()&&!(Pe<48||Pe>102||Pe>57&&Pe<65||Pe>70&&Pe<97););return Me(e,Ae()+(t<6&&32==_e()&&32==De()))}function He(e){for(;De();)switch(Pe){case e:return je;case 34:case 39:return He(34===e||39===e?e:Pe);case 40:41===e&&He(e);break;case 92:De()}return je}function Be(e,t){for(;De()&&e+Pe!==57&&(e+Pe!==84||47!==_e()););return"/*"+Me(t,je-1)+"*"+pe(47===e?e:De())}function Ue(e){for(;!Re(_e());)De();return Me(e,je)}var We="-ms-",ze="-moz-",Ve="-webkit-",Ge="comm",qe="rule",$e="decl";function Ye(e,t){for(var n="",r=be(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Xe(e,t,n,r){switch(e.type){case"@import":case $e:return e.return=e.return||e.value;case Ge:return"";case qe:e.value=e.props.join(",")}return ye(n=Ye(e.children,r))?e.return=e.value+"{"+n+"}":""}function Ke(e,t){switch(function(e,t){return(((t<<2^ge(e,0))<<2^ge(e,1))<<2^ge(e,2))<<2^ge(e,3)}(e,t)){case 5103:return Ve+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ve+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ve+e+ze+e+We+e+e;case 6828:case 4268:return Ve+e+We+e+e;case 6165:return Ve+e+We+"flex-"+e+e;case 5187:return Ve+e+he(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return Ve+e+We+"flex-item-"+he(e,/flex-|-self/,"")+e;case 4675:return Ve+e+We+"flex-line-pack"+he(e,/align-content|flex-|-self/,"")+e;case 5548:return Ve+e+We+he(e,"shrink","negative")+e;case 5292:return Ve+e+We+he(e,"basis","preferred-size")+e;case 6060:return Ve+"box-"+he(e,"-grow","")+Ve+e+We+he(e,"grow","positive")+e;case 4554:return Ve+he(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return he(he(he(e,/(zoom-|grab)/,Ve+"$1"),/(image-set)/,Ve+"$1"),e,"")+e;case 5495:case 3959:return he(e,/(image-set\([^]*)/,Ve+"$1$`$1");case 4968:return he(he(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ve+e+e;case 4095:case 3583:case 4068:case 2532:return he(e,/(.+)-inline(.+)/,Ve+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ye(e)-1-t>6)switch(ge(e,t+1)){case 109:if(45!==ge(e,t+4))break;case 102:return he(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+ze+(108==ge(e,t+3)?"$3":"$2-$3"))+e;case 115:return~me(e,"stretch")?Ke(he(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ge(e,t+1))break;case 6444:switch(ge(e,ye(e)-3-(~me(e,"!important")&&10))){case 107:return he(e,":",":"+Ve)+e;case 101:return he(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ve+(45===ge(e,14)?"inline-":"")+"box$3$1"+Ve+"$2$3$1"+We+"$2box$3")+e}break;case 5936:switch(ge(e,t+11)){case 114:return Ve+e+We+he(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ve+e+We+he(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ve+e+We+he(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ve+e+We+e+e}return e}function Je(e){return Ze(Qe("",null,null,null,[""],e=Ie(e),0,[0],e))}function Qe(e,t,n,r,o,i,a,s,c){for(var u=0,l=0,f=a,p=0,d=0,h=0,m=1,g=1,v=1,y=0,b="",w=o,O=i,x=r,S=b;g;)switch(h=y,y=De()){case 34:case 39:case 91:case 40:S+=Ne(y);break;case 9:case 10:case 13:case 32:S+=Le(h);break;case 92:S+=Fe(Ae()-1,7);continue;case 47:switch(_e()){case 42:case 47:we(tt(Be(De(),Ae()),t,n),c);break;default:S+="/"}break;case 123*m:s[u++]=ye(S)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+l:d>0&&ye(S)-f&&we(d>32?nt(S+";",r,n,f-1):nt(he(S," ","")+";",r,n,f-2),c);break;case 59:S+=";";default:if(we(x=et(S,t,n,u,l,o,s,b,w=[],O=[],f),i),123===y)if(0===l)Qe(S,t,x,x,w,i,f,s,O);else switch(p){case 100:case 109:case 115:Qe(e,x,x,r&&we(et(e,x,x,0,0,o,s,b,o,w=[],f),O),o,O,f,s,r?w:O);break;default:Qe(S,x,x,x,[""],O,f,s,O)}}u=l=d=0,m=v=1,b=S="",f=a;break;case 58:f=1+ye(S),d=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==Te())continue;switch(S+=pe(y),y*m){case 38:v=l>0?1:(S+="\f",-1);break;case 44:s[u++]=(ye(S)-1)*v,v=1;break;case 64:45===_e()&&(S+=Ne(De())),p=_e(),l=ye(b=S+=Ue(Ae())),y++;break;case 45:45===h&&2==ye(S)&&(m=0)}}return i}function et(e,t,n,r,o,i,a,s,c,u,l){for(var f=o-1,p=0===o?i:[""],d=be(p),h=0,m=0,g=0;h<r;++h)for(var v=0,y=ve(e,f+1,f=fe(m=a[h])),b=e;v<d;++v)(b=de(m>0?p[v]+" "+y:he(y,/&\f/g,p[v])))&&(c[g++]=b);return ke(e,t,n,0===o?qe:s,c,u,l)}function tt(e,t,n){return ke(e,t,n,Ge,pe(Pe),ve(e,2,-2),0)}function nt(e,t,n,r){return ke(e,t,n,$e,ve(e,0,r),ve(e,r+1,-1),r)}var rt=function(e,t){return Ze(function(e,t){var n=-1,r=44;do{switch(Re(r)){case 0:38===r&&12===_e()&&(t[n]=1),e[n]+=Ue(je-1);break;case 2:e[n]+=Ne(r);break;case 4:if(44===r){e[++n]=58===_e()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=pe(r)}}while(r=De());return e}(Ie(e),t))},ot=new WeakMap,it=function(e){if("rule"===e.type&&e.parent&&e.length){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ot.get(n))&&!r){ot.set(e,!0);for(var o=[],i=rt(t,o),a=n.props,s=0,c=0;s<i.length;s++)for(var u=0;u<a.length;u++,c++)e.props[c]=o[s]?i[s].replace(/&\f/g,a[u]):a[u]+" "+i[s]}}},at=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},st=[function(e,t,n,r){if(!e.return)switch(e.type){case $e:e.return=Ke(e.value,e.length);break;case"@keyframes":return Ye([Ce(he(e.value,"@","@"+Ve),e,"")],r);case qe:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ye([Ce(he(t,/:(read-\w+)/,":-moz-$1"),e,"")],r);case"::placeholder":return Ye([Ce(he(t,/:(plac\w+)/,":-webkit-input-$1"),e,""),Ce(he(t,/:(plac\w+)/,":-moz-$1"),e,""),Ce(he(t,/:(plac\w+)/,We+"input-$1"),e,"")],r)}return""}))}}];const ct=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||st;var o,i,a={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var c,u,l,f,p=[Xe,(f=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&f(e)})],d=(u=[it,at].concat(r,p),l=be(u),function(e,t,n,r){for(var o="",i=0;i<l;i++)o+=u[i](e,t,n,r)||"";return o});i=function(e,t,n,r){c=n,Ye(Je(e?e+"{"+t.styles+"}":t.styles),d),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new le({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:a,registered:{},insert:i};return h.sheet.hydrate(s),h};n(30314);var ut=(0,c.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,a=e.defaultValue,s=void 0===a?null:a,p=e.inputValue,d=e.menuIsOpen,h=e.onChange,m=e.onInputChange,g=e.onMenuClose,v=e.onMenuOpen,y=e.value,b=(0,l.Z)(e,f),w=(0,c.useState)(void 0!==p?p:n),O=(0,i.Z)(w,2),x=O[0],S=O[1],j=(0,c.useState)(void 0!==d?d:o),P=(0,i.Z)(j,2),E=P[0],k=P[1],C=(0,c.useState)(void 0!==y?y:s),T=(0,i.Z)(C,2),D=T[0],_=T[1],A=(0,c.useCallback)((function(e,t){"function"==typeof h&&h(e,t),_(e)}),[h]),M=(0,c.useCallback)((function(e,t){var n;"function"==typeof m&&(n=m(e,t)),S(void 0!==n?n:e)}),[m]),R=(0,c.useCallback)((function(){"function"==typeof v&&v(),k(!0)}),[v]),I=(0,c.useCallback)((function(){"function"==typeof g&&g(),k(!1)}),[g]),Z=void 0!==p?p:x,N=void 0!==d?d:E,L=void 0!==y?y:D;return(0,u.a)((0,u.a)({},b),{},{inputValue:Z,menuIsOpen:N,onChange:A,onInputChange:M,onMenuClose:I,onMenuOpen:R,value:L})}(e);return c.createElement(ce,(0,p.Z)({ref:t},n))}));c.Component;const lt=ut;var ft=n(58804),pt=n(74806),dt=n(2091),ht=n(85893);function mt(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 gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const vt=(0,pt.ZP)((function(e){var t;return(0,ht.jsx)("span",gt(gt({},e.innerProps),{},{children:(0,ht.jsx)(dt.Z,{icon:"times",tabIndex:-1,"aria-label":(t="client.component.select.clearFieldLabel",e.intl.formatMessage({id:t}))})}))}));var yt=n(24315);function bt(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 wt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Ot=function(e){var t=e.selectProps,n=t.isDisabled,r=t.menuIsOpen;return n?null:(0,ht.jsx)(u.c.DropdownIndicator,wt(wt({},e),{},{children:(0,ht.jsxs)(yt.M6,{children:[(0,ht.jsx)(yt.A,{icon:"chevron-down",visible:!r,tabIndex:-1}),(0,ht.jsx)(yt.A,{icon:"chevron-up",visible:r,tabIndex:-1})]})}))};var xt,St;function jt(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 Pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Et=function(e,t,n){return function(r){r.stopPropagation(),e(t,n)}},kt=function(e,t){return function(n){n.stopPropagation(),e(t)}},Ct=function(e){e.stopPropagation()};const Tt=function(e){var t=e.selectProps,n=t.openAdvancedSearch,r=t.openRemoteCreate,o=t.isDisabled,i=t.hasAdvancedSearch,a=t.createPermission,s=t.value,c=t.isMulti,l=t.inputValue,f=c&&i;return(0,ht.jsx)(yt.HO,{isTopAligned:f,children:(0,ht.jsxs)(u.c.IndicatorsContainer,Pt(Pt({},e),{},{children:[e.children,n&&!o&&(0,ht.jsx)("span",{onTouchEnd:Ct,onMouseDown:Et(n,l,s),children:xt||(xt=(0,ht.jsx)(dt.Z,{icon:"search",tabIndex:-1}))}),a&&!o&&(0,ht.jsx)("span",{onTouchEnd:Ct,onMouseDown:kt(r,s),children:St||(St=(0,ht.jsx)(dt.Z,{icon:"plus",tabIndex:-1}))})]}))})};var Dt,_t=n(93235);const At=function(){return Dt||(Dt=(0,ht.jsx)("span",{children:(0,ht.jsx)(_t.Z,{size:"1.8rem"})}))};var Mt=n(57557),Rt=n.n(Mt);function It(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 Zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?It(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):It(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Nt=function(e){var t=e.selectProps,n=e.children;return(0,ht.jsx)(yt._M,{attachment:"top left",targetAttachment:"bottom left",constraints:[{to:"window",attachment:"together"}],renderTarget:function(e){return(0,ht.jsx)("div",{ref:e})},renderElement:function(r){return(0,ht.jsx)("div",{ref:r,children:(0,ht.jsx)(yt.l2,Zt(Zt({},Rt()(e,["innerRef"])),{},{wrapperWidth:t.wrapperWidth,wrapperHeight:t.wrapperHeight,children:n}))})}})};function Lt(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 Ft(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Ht=function(e){var t=e.selectProps,n=e.children,r=e.theme,o=t.moreOptionsAvailable,i=t.moreOptionsAvailableText;return(0,ht.jsxs)(u.c.MenuList,Ft(Ft({},e),{},{className:"MenuList",children:[n,o&&(0,ht.jsx)(yt.OA,{reactSelectTheme:r,children:i})]}))};var Bt,Ut=n(27361),Wt=n.n(Ut),zt=n(10535),Vt=n(76791),Gt=n(91411);const qt=ft.ZP.span(Bt||(Bt=(0,Gt.Z)(["\n pointer-events: auto;\n cursor: pointer;\n"])));function $t(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 Yt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$t(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$t(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Xt=function(e){var t=e.data,n=e.innerProps,r=e.children,o=e.selectProps,i=o.tooltips,a=o.loadTooltip,s=o.DetailLink,c=Wt()(i,t.key,null),u=(0,ht.jsx)("span",Yt(Yt({},n),{},{children:r})),l=s?(0,ht.jsx)(qt,{onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},children:(0,ht.jsx)(s,{entityKey:t.key,children:(0,ht.jsx)(Vt.Z,{content:c?(0,ht.jsx)("div",{dangerouslySetInnerHTML:{__html:zt.Z.sanitizeHtml(c)}}):null,children:(0,ht.jsx)("span",{onMouseOver:function(){return a&&!c&&a(t.key)},children:u})})})}):u;return(0,ht.jsx)(yt.B1,{children:l})};var Kt=n(47037),Jt=n.n(Kt),Qt=n(14176),en=n.n(Qt),tn=n(46444),nn=n.n(tn),rn=n(70696);function on(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 an(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?on(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):on(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var sn=["linkComp"],cn=function(e,t){var n=rn.Z.difference(e,t),r=en()(Rt()(n,sn),(function(e){return 0===Object.keys(e).length}));return 0===Object.entries(r).length},un=(0,c.memo)((function(e){var t=e.linkComp,n=e.entityKey,r=e.children;return t&&Jt()(n)?(0,ht.jsx)(qt,{onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},children:(0,ht.jsx)(t,{entityKey:n,children:r})}):r}),cn);un.propTypes={children:nn().node,entityKey:nn().any,linkComp:nn().func};const ln=function(e){var t=e.data,n=e.selectProps,r=e.isDisabled,o=e.children,i=n.tooltips,a=n.loadTooltip,s=n.DetailLink,c=Wt()(i,t.key,null);return(0,ht.jsx)(u.c.SingleValue,an(an({},e),{},{children:(0,ht.jsx)(yt.xq,{onMouseOver:function(){return a&&!c&&a(t.key)},isDisabled:r,children:(0,ht.jsx)(Vt.Z,{content:c?(0,ht.jsx)("div",{dangerouslySetInnerHTML:{__html:zt.Z.sanitizeHtml(c)}}):null,children:(0,ht.jsx)(un,{linkComp:s,entityKey:t.key,children:o})})})}))};function fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var pn=function(e){var t;return"Input"===(null==e||null===(t=e.type)||void 0===t?void 0:t.name)};const dn=function(e){var t=e.selectProps,n=e.hasValue,o=e.children,i=t.isMulti,a=t.hasAdvancedSearch,s=t.isDisabled;if(!(i&&a))return(0,ht.jsx)(u.c.ValueContainer,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fn(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e));var l=c.Children.map(o,(function(e){return pn(e)?e:null})),f=c.Children.map(o,(function(e){return pn(e)?null:e})),p=s&&n;return(0,ht.jsxs)(ht.Fragment,{children:[!p&&(0,ht.jsx)(ht.Fragment,{children:l}),(0,ht.jsx)(yt.eQ,{children:f})]})};function hn(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 mn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hn(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const gn=(0,ft.Zz)((function(e){var t=e.fetchOptions,n=e.id,r=e.immutable,a=e.isLoading,u=e.isMulti,l=e.loadTooltip,f=e.moreOptionsAvailable,p=e.moreOptionsAvailableText,d=e.noResultsText,h=e.onChange,m=e.openAdvancedSearch,g=e.options,v=e.searchOptions,y=e.theme,b=e.tooltips,w=e.value,O=e.DetailLink,x=e.createPermission,S=e.openRemoteCreate,j=(0,c.useRef)(null),P=(0,c.useRef)(null),E=function(){var e;return(null===(e=P.current)||void 0===e?void 0:e.clientWidth)||300},k=function(){var e;return(null===(e=P.current)||void 0===e?void 0:e.clientHeight)||35},C=(0,c.useState)(E()),T=(0,i.Z)(C,2),D=T[0],_=T[1],A=(0,c.useState)(k()),M=(0,i.Z)(A,2),R=M[0],I=M[1],Z=function(e){t&&t(e)},N=(0,c.useCallback)(v||function(){},[]),L=(0,c.useCallback)(s()(N,800,{trailing:!0}),[]),F=Boolean(m),H=Boolean(x);return(0,ht.jsx)(yt.sP,{tabIndex:"-1",id:n,onFocus:function(){j.current.focus(),setTimeout((function(){_(E()),I(k())}),0)},children:(0,ht.jsx)(yt.RU,{ref:P,children:(0,ht.jsx)(lt,mn(mn({getOptionLabel:function(e){return e.display},getOptionValue:function(e){return e.key},wrapperWidth:D,wrapperHeight:R,components:{ClearIndicator:vt,LoadingIndicator:At,DropdownIndicator:Ot,IndicatorsContainer:Tt,IndicatorSeparator:null,Menu:Nt,MenuList:Ht,MultiValueLabel:Xt,SingleValue:ln,ValueContainer:dn},noOptionsMessage:function(){return d||" - "},isMulti:u,closeMenuOnSelect:!u,isSearchable:!0},v?{filterOption:function(){return!0}}:{}),{},{isClearable:!0,loadingMessage:function(){return null},placeholder:"",menuShouldScrollIntoView:!1,autoFocus:!1,value:w||null,onChange:function(e){h(e),Z(e)},onInputChange:function(e,t){var n=t.action;v&&e&&L(e,w),""===e&&"input-change"===n&&Z(w)},options:(0,o.Z)(g||[]),isLoading:a,isDisabled:r,ref:j,onMenuOpen:function(){Z(w)},styles:(0,yt.i4)(y),theme:function(e){return(0,yt.$p)(e,y)},loadTooltip:l,tooltips:b,DetailLink:O,hasAdvancedSearch:F,openAdvancedSearch:m,moreOptionsAvailable:f,moreOptionsAvailableText:p,blurInputOnSelect:!1,hasCreatePermission:H,createPermission:x,openRemoteCreate:S,closeMenuOnScroll:function(e){return!e.target.classList.contains("MenuList")}}))})})}))},24315:(e,t,n)=>{"use strict";n.d(t,{$p:()=>B,A:()=>L,B1:()=>H,HO:()=>A,M6:()=>N,OA:()=>I,RU:()=>_,_M:()=>M,eQ:()=>F,i4:()=>U,l2:()=>R,sP:()=>D,xq:()=>Z});var r,o,i,a,s,c,u,l,f,p,d,h,m,g=n(46927),v=n(91411),y=n(76538),b=n(12864),w=n(50855),O=n(58804),x=n(2091),S=n(11347),j=n(88601),P=n(7281),E=n(30759),k=n(58664);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){(0,g.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=O.ZP.div.withConfig({displayName:"StyledReactSelectOuterWrapper"})(r||(r=(0,v.Z)(["\n outline-style: none;\n cursor: ",";\n"])),(function(e){return e.immutable?"not-allowed":"default"})),_=O.ZP.div.withConfig({displayName:"StyledReactSelectInnerWrapper"})(o||(o=(0,v.Z)(["\n outline-style: none;\n"]))),A=O.ZP.div.withConfig({displayName:"StyledIndicatorsContainerWrapper"})(i||(i=(0,v.Z)(["\n position: relative;\n z-index: 1;\n background-color: ",";\n ",";\n"])),j.Z.color("paper"),(function(e){return e.isTopAligned&&(0,O.iv)(a||(a=(0,v.Z)(["\n position: absolute;\n right: 0;\n top: 0;\n "])))})),M=(0,O.ZP)(w.Z).withConfig({displayName:"StyledTether"})(s||(s=(0,v.Z)(["\n && {\n z-index: 1;\n }\n"]))),R=(O.ZP.div.withConfig({displayName:"StyledNonTether"})(c||(c=(0,v.Z)(["\n position: absolute;\n padding-bottom: ",";\n z-index: 2; // higher than StyledTether and StyledIndicatorsContainerWrapper\n"])),P.Z.space(1.5)),(0,O.ZP)(b.c.Menu).withConfig({displayName:"StyledMenu"})(u||(u=(0,v.Z)(["\n && {\n margin: 8px 0 8px -10px;\n width: calc(","px + 20px);\n position: relative;\n\n .tether-target-attached-top & {\n transform: translateY(-","px);\n }\n }\n"])),(function(e){return e.wrapperWidth}),(function(e){return e.wrapperHeight+6}))),I=O.ZP.div.withConfig({displayName:"StyledMoreOptionsAvailable"})(l||(l=(0,v.Z)(["\n && {\n ","\n cursor: default;\n padding: ",";\n }\n"])),(0,E.Z)({color:j.Z.color("signal.warning.text"),lineHeight:"normal"}),(function(e){var t=e.reactSelectTheme;return"".concat(2*t.spacing.baseUnit,"px ").concat(3*t.spacing.baseUnit,"px")})),Z=O.ZP.div.withConfig({displayName:"StyledSingleValueWrapper"})(f||(f=(0,v.Z)(["\n overflow-x: hidden;\n position: relative;\n color: ",";\n"])),(function(e){return e.isDisabled?j.Z.color("text"):"inherit"})),N=O.ZP.div.withConfig({displayName:"StyledDropdownIndicatorWrapper"})(p||(p=(0,v.Z)(["\n && {\n position: relative;\n width: 26px;\n height: 23px;\n }\n"]))),L=(0,O.ZP)(x.Z).withConfig({displayName:"StyledDropdownIndicatorBall"})(d||(d=(0,v.Z)(["\n && {\n position: absolute;\n top: 0;\n left: 0;\n transform: ",";\n }\n"])),(function(e){return e.visible?"scale(1)":"scale(0)"})),F=O.ZP.div.withConfig({displayName:"StyledMultiValueWrapper"})(h||(h=(0,v.Z)(["\n overflow: hidden;\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n"]))),H=O.ZP.span.withConfig({displayName:"StyledMultiValueLabelWrapper"})(m||(m=(0,v.Z)(["\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n"]))),B=function(e,t){return T(T({},e),{},{borderRadius:0,colors:T(T({},e.colors),{},{primary:t.colors.signal.info.text,primary75:t.colors.signal.info.text,primary50:t.colors.signal.info.paper,primary25:t.colors.signal.info.paper,danger:t.colors.signal.danger.text,dangerLight:t.colors.signal.danger.paper})})},U=function(e){var t=(0,k.xn)(e.colors.paper),n=(0,k.xn)(e.colors.text,{action:(0,y.H3)(e.colors.paper)>.5?"darken":"lighten"}),r=(0,k.iy)(e.colors.text),o=P.Z.space(-1)({theme:e}),i=P.Z.space(-2)({theme:e}),a={color:n[0],fontFamily:e.fontFamily.regular,fontSize:"".concat(e.fontSize.base,"rem"),fontWeight:e.fontWeights.regular,lineHeight:e.lineHeights.regular},s=function(e){return e.isMulti&&e.selectProps.hasAdvancedSearch},c=function(t){return T(T({},t),{},{color:e.colors.signal.warning.text,cursor:"default",textAlign:"left"})};return{container:function(e,t){return T(T(T({},e),a),{},{outline:0})},control:function(e,n){return T(T({},e),{},{backgroundColor:t[0],borderWidth:0,boxShadow:null,minHeight:0,flexWrap:"nowrap",position:"relative",display:s(n)?"block":e.display})},noOptionsMessage:c,loadingMessage:c,option:function(n,r){var o=t[0];return r.isSelected?o=t[2]:r.isFocused&&(o=t[1]),T(T({},n),{},{color:e.colors.text,backgroundColor:o,cursor:"pointer",":active":{backgroundColor:r.isSelected?t[2]:t[1]}})},indicatorsContainer:function(e,t){return T(T({},e),{},{alignSelf:"flex-end","> *":{padding:"0 !important;",marginRight:i},"> :last-child":{marginRight:"-".concat(i)}})},input:function(e,t){var n=50;return t.selectProps.hasAdvancedSearch&&(n+=25),t.selectProps.hasCreatePermission&&(n+=25),T(T(T({},e),{},{minHeight:"2.6rem"},s(t)?{width:"calc(100% - ".concat(n,"px)")}:{}),{},{overflow:"hidden"})},menu:function(t,n){return{backgroundColor:e.colors.paper,boxShadow:"0 0 6px ".concat(e.colors.signal.info.text)}},menuList:function(t,n){return T(T(T({},t),a),{},{border:"1px solid ".concat(e.colors.signal.info.text),padding:"0"},S.C)},multiValue:function(e,t){return T(T({},e),{},{borderRadius:0,margin:"".concat(o," ").concat(i," 0 0"),justifyContent:"space-between"},s(t)&&!t.isDisabled?{width:"100%",maxWidth:"300px"}:{})},multiValueLabel:function(e,t){return T(T({},e),{},{borderRadius:0,color:t.isDisabled?r:n[0],fontSize:"inherit",lineHeight:1.8})},multiValueRemove:function(e,r){return T(T({},e),{},{borderRadius:0,color:n[0],display:r.isDisabled?"none":"flex",":hover":T(T({},e[":hover"]),{},{color:n[1],backgroundColor:t[2],cursor:"pointer"})})},singleValue:function(e,t){return T(T({},e),{},{color:t.isDisabled?r:n[0],margin:0})},valueContainer:function(e,t){return T(T({},e),{},{padding:0,margin:0})}}}},54608:(e,t,n)=>{"use strict";n.d(t,{Qt:()=>O,XU:()=>y,eX:()=>w,hi:()=>S,qQ:()=>x,xD:()=>b});var r,o,i,a,s,c,u,l=n(91411),f=n(58804),p=n(7281),d=n(30759),h=n(88601),m=n(19704),g=function(e){var t;switch(e.styledLike){case"H1":t=p.Z.font(5)(e);break;case"H2":t=p.Z.font(4)(e);break;case"H3":t=p.Z.font(3)(e);break;case"H4":t=p.Z.font(2)(e);break;case"H5":t=p.Z.font(1)(e);break;default:t=p.Z.font(0)(e)}return(0,d.Z)({fontWeight:h.Z.fontWeight("bold"),fontSize:t})},v=function(e){return(0,f.iv)(r||(r=(0,l.Z)(["\n margin-top: ",";\n margin-bottom: ",";\n\n h1 + &,\n h2 + &,\n h3 + &,\n h4 + &,\n h5 + &,\n h6 + & {\n margin-top: 0;\n }\n\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n"])),p.Z.space(0),p.Z.space(-1))},y=f.ZP.h1.withConfig({displayName:"StyledH1"})(o||(o=(0,l.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return g(e)}),(function(e){return v()}),(function(e){return e.breakWords?(0,m._)():(0,m.l)()})),b=f.ZP.h2.withConfig({displayName:"StyledH2"})(i||(i=(0,l.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return g(e)}),(function(e){return v()}),(function(e){return e.breakWords?(0,m._)():(0,m.l)()})),w=f.ZP.h3.withConfig({displayName:"StyledH3"})(a||(a=(0,l.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return g(e)}),(function(e){return v()}),(function(e){return e.breakWords?(0,m._)():(0,m.l)()})),O=f.ZP.h4.withConfig({displayName:"StyledH4"})(s||(s=(0,l.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return g(e)}),(function(e){return v()}),(function(e){return e.breakWords?(0,m._)():(0,m.l)()})),x=f.ZP.h5.withConfig({displayName:"StyledH5"})(c||(c=(0,l.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return g(e)}),(function(e){return v()}),(function(e){return e.breakWords?(0,m._)():(0,m.l)()})),S=f.ZP.h6.withConfig({displayName:"StyledH6"})(u||(u=(0,l.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return g(e)}),(function(e){return v()}),(function(e){return e.breakWords?(0,m._)():(0,m.l)()}))},37188:(e,t,n)=>{"use strict";n.d(t,{DM:()=>g,EF:()=>b,XT:()=>y,_2:()=>v,hc:()=>x,mJ:()=>O});var r,o,i,a,s,c,u,l=n(91411),f=n(58804),p=n(30759),d=n(19704),h=n(7281),m=n(88601),g=f.ZP.dd.withConfig({displayName:"StyledDd"})(r||(r=(0,l.Z)(["\n && {\n ","\n ","\n margin: 0;\n }\n"])),(0,p.Z)(),(function(e){return e.breakWords?(0,d._)():(0,d.l)()})),v=f.ZP.dl.withConfig({displayName:"StyledDl"})(o||(o=(0,l.Z)(["\n && {\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),h.Z.space(-1)),y=f.ZP.dt.withConfig({displayName:"StyledDt"})(i||(i=(0,l.Z)(["\n && {\n ","\n ","\n margin: 0;\n }\n"])),(0,p.Z)({fontWeight:m.Z.fontWeight("bold")}),(function(e){return e.breakWords?(0,d._)():(0,d.l)()})),b=f.ZP.li.withConfig({displayName:"StyledLi"})(a||(a=(0,l.Z)(["\n && {\n ","\n ","\n }\n"])),(0,p.Z)(),(0,d._)()),w=f.ZP.ol.withConfig({displayName:"StyledList"})(s||(s=(0,l.Z)(["\n && {\n display: block;\n list-style-position: outside;\n margin: 0 0 "," 1.6rem;\n padding: 0;\n\n &&,\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),h.Z.space(-1)),O=(0,f.ZP)(w).withConfig({displayName:"StyledOl"})(c||(c=(0,l.Z)(["\n list-style-type: decimal;\n"]))),x=(0,f.ZP)(w).withConfig({displayName:"StyledUl"})(u||(u=(0,l.Z)(["\n && {\n list-style-type: disc;\n }\n"])))},69829:(e,t,n)=>{"use strict";n.d(t,{Bs:()=>L,Fe:()=>$,GI:()=>ee,HK:()=>K,HV:()=>te,IV:()=>G,Kf:()=>N,Te:()=>H,Ts:()=>Z,UB:()=>X,Vg:()=>I,Xv:()=>Q,_B:()=>z,ar:()=>U,gr:()=>B,kO:()=>Y,kQ:()=>W,nb:()=>q,nr:()=>V,q_:()=>R,xr:()=>F,z2:()=>J});var r,o,i,a,s,c,u,l,f,p,d,h,m,g,v,y,b,w,O,x,S,j,P=n(91411),E=n(27361),k=n.n(E),C=n(58804),T=n(30759),D=n(88601),_=n(19704),A=n(7281),M=n(58664),R=C.ZP.b.withConfig({displayName:"StyledB"})(r||(r=(0,P.Z)(["\n && {\n ","\n }\n ","\n"])),(0,T.Z)({fontWeight:D.Z.fontWeight("bold")}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),I=C.ZP.code.withConfig({displayName:"StyledCode"})(o||(o=(0,P.Z)(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n padding: "," ",";\n }\n"])),(0,T.Z)({fontFamily:D.Z.fontFamily("monospace"),fontSize:A.Z.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()}),(function(e){return(0,M.HO)(k()(e.theme,"colors.paper"),1)}),D.Z.radii("regular"),A.Z.space(-4),A.Z.space(-2)),Z=C.ZP.del.withConfig({displayName:"StyledDel"})(i||(i=(0,P.Z)(["\n && {\n ","\n ","\n text-decoration: line-through;\n }\n"])),(0,T.Z)(),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),N=C.ZP.em.withConfig({displayName:"StyledEm"})(a||(a=(0,P.Z)(["\n && {\n ","\n ","\n }\n"])),(0,T.Z)({fontStyle:"italic"}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),L=C.ZP.figcaption.withConfig({displayName:"StyledFigcaption"})(s||(s=(0,P.Z)(["\n && {\n ","\n ","\n margin: "," 0 "," 0;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,T.Z)({fontSize:A.Z.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()}),A.Z.space(-2),A.Z.space(-1)),F=C.ZP.i.withConfig({displayName:"StyledI"})(c||(c=(0,P.Z)(["\n && {\n ","\n ","\n }\n"])),(0,T.Z)({fontStyle:"italic"}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),H=C.ZP.ins.withConfig({displayName:"StyledIns"})(u||(u=(0,P.Z)(["\n && {\n ","\n ","\n text-decoration: underline;\n }\n"])),(0,T.Z)(),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),B=C.ZP.kbd.withConfig({displayName:"StyledKbd"})(l||(l=(0,P.Z)(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n padding: "," ",";\n vertical-align: text-top;\n }\n"])),(0,T.Z)({fontFamily:D.Z.fontFamily("monospace"),fontSize:A.Z.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()}),(function(e){return(0,M.HO)(k()(e.theme,"colors.paper"),2)}),D.Z.radii("regular"),A.Z.space(-4),A.Z.space(-2)),U=C.ZP.label.withConfig({displayName:"StyledLabel"})(f||(f=(0,P.Z)(["\n && {\n ","\n ","\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,T.Z)(),(function(e){return e.breakWords?(0,_._)():(0,_.l)()}),A.Z.space(-1)),W=C.ZP.mark.withConfig({displayName:"StyledMark"})(p||(p=(0,P.Z)(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n padding: "," ",";\n }\n"])),(0,T.Z)({fontFamily:D.Z.fontFamily("monospace")}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()}),D.Z.color("signal.info.paper"),D.Z.radii("regular"),A.Z.space(-4),A.Z.space(-2)),z=C.ZP.p.withConfig({displayName:"StyledP"})(d||(d=(0,P.Z)(["\n && {\n ","\n ","\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,T.Z)(),(function(e){return e.breakWords?(0,_._)():(0,_.l)()}),A.Z.space(-1)),V=C.ZP.pre.withConfig({displayName:"StyledPre"})(h||(h=(0,P.Z)(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n border: 1px solid ",";\n display: block;\n margin: 0 0 ",";\n padding: "," ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,T.Z)({fontFamily:D.Z.fontFamily("monospace"),fontSize:A.Z.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()}),(function(e){return(0,M.HO)(k()(e.theme,"colors.paper"),1)}),D.Z.radii("regular"),(function(e){return(0,M.HO)(k()(e.theme,"colors.paper"),2)}),A.Z.space(-1),A.Z.space(-3),A.Z.space(-2)),G=C.ZP.s.withConfig({displayName:"StyledS"})(m||(m=(0,P.Z)(["\n && {\n ","\n ","\n text-decoration: line-through;\n }\n"])),(0,T.Z)(),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),q=C.ZP.small.withConfig({displayName:"StyledSmall"})(g||(g=(0,P.Z)(["\n && {\n ","\n font-size: calc(1em / ",");\n ","\n }\n"])),(0,T.Z)(),D.Z.fontSize("factor"),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),$=C.ZP.span.withConfig({displayName:"StyledSpan"})(v||(v=(0,P.Z)(["\n && {\n ","\n ","\n }\n"])),(0,T.Z)(),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),Y=C.ZP.sub.withConfig({displayName:"StyledSub"})(y||(y=(0,P.Z)(["\n && {\n ","\n ","\n line-height: 0;\n position: relative;\n bottom: -0.25em;\n vertical-align: baseline;\n }\n"])),(0,T.Z)({fontSize:A.Z.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),X=C.ZP.sup.withConfig({displayName:"StyledSup"})(b||(b=(0,P.Z)(["\n && {\n ","\n ","\n line-height: 0;\n position: relative;\n top: -0.5em;\n vertical-align: baseline;\n }\n"])),(0,T.Z)({fontSize:A.Z.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),K=C.ZP.strong.withConfig({displayName:"StyledStrong"})(w||(w=(0,P.Z)(["\n && {\n ","\n ","\n }\n"])),(0,T.Z)({fontWeight:D.Z.fontWeight("bold")}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),J=C.ZP.time.withConfig({displayName:"StyledTime"})(O||(O=(0,P.Z)(["\n && {\n ","\n ","\n }\n"])),(0,T.Z)(),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),Q=C.ZP.u.withConfig({displayName:"StyledU"})(x||(x=(0,P.Z)(["\n && {\n ","\n ","\n text-decoration: underline;\n }\n"])),(0,T.Z)(),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),ee=C.ZP.var.withConfig({displayName:"StyledVar"})(S||(S=(0,P.Z)(["\n && {\n ","\n ","\n\n &:after {\n content: ']';\n }\n\n &:before {\n content: '[';\n }\n }\n"])),(0,T.Z)({fontFamily:D.Z.fontFamily("monospace"),fontSize:A.Z.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.l)()})),te=C.ZP.q.withConfig({displayName:"StyledQ"})(j||(j=(0,P.Z)(["\n && {\n ","\n ","\n\n &:after {\n content: close-quote;\n }\n\n &:before {\n content: open-quote;\n }\n }\n"])),(0,T.Z)(),(function(e){return e.breakWords?(0,_._)():(0,_.l)()}))},34206:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>H});var r=n(73891),o=n(1024),i=n.n(o);const a=function e(t){var n="";return i().Children.map(t,(function(t,o){"string"==typeof t?n="".concat(n).concat(t):"object"===(0,r.Z)(t)&&(n="".concat(n).concat(e(t.props.children)))})),n};var s=n(54608),c=n(85893),u=function(e){return(0,c.jsx)(s.XU,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:a(e.children),children:e.children})};u.defaultProps={breakWords:!0,styledLike:"H1"};var l=function(e){return(0,c.jsx)(s.xD,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:a(e.children),children:e.children})};l.defaultProps={breakWords:!0,styledLike:"H2"};var f=function(e){return(0,c.jsx)(s.eX,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:a(e.children),children:e.children})};f.defaultProps={breakWords:!0,styledLike:"H3"};var p=function(e){return(0,c.jsx)(s.Qt,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:a(e.children),children:e.children})};p.defaultProps={breakWords:!0,styledLike:"H4"};var d=function(e){return(0,c.jsx)(s.qQ,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:a(e.children),children:e.children})};d.defaultProps={breakWords:!0,styledLike:"H5"};var h=function(e){return(0,c.jsx)(s.hi,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:a(e.children),children:e.children})};h.defaultProps={breakWords:!0,styledLike:"H6"};var m=n(37188),g=function(e){return(0,c.jsx)(m.DM,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},v=function(e){return(0,c.jsx)(m.XT,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})};g.defaultProps=v.defaultProps={breakWords:!0};var y=n(69829),b=function(e){return(0,c.jsx)(y.q_,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},w=function(e){return(0,c.jsx)(y.Vg,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},O=function(e){return(0,c.jsx)(y.Ts,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},x=function(e){return(0,c.jsx)(y.Kf,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},S=function(e){return(0,c.jsx)(y.Bs,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},j=function(e){return(0,c.jsx)(y.xr,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},P=function(e){return(0,c.jsx)(y.Te,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},E=function(e){return(0,c.jsx)(y.gr,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},k=function(e){return(0,c.jsx)(y.kQ,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},C=function(e){return(0,c.jsx)(y._B,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},T=function(e){return(0,c.jsx)(y.nr,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},D=function(e){return(0,c.jsx)(y.IV,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},_=function(e){return(0,c.jsx)(y.nb,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},A=function(e){return(0,c.jsx)(y.Fe,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},M=function(e){return(0,c.jsx)(y.kO,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},R=function(e){return(0,c.jsx)(y.UB,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},I=function(e){return(0,c.jsx)(y.HK,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},Z=function(e){return(0,c.jsx)(y.z2,{breakWords:e.breakWords,title:e.title,dateTime:e.dateTime,children:e.children})},N=function(e){return(0,c.jsx)(y.Xv,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},L=function(e){return(0,c.jsx)(y.GI,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})},F=function(e){return(0,c.jsx)(y.HV,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),children:e.children})};b.defaultProps=w.defaultProps=O.defaultProps=x.defaultProps=S.defaultProps=j.defaultProps=P.defaultProps=E.defaultProps=k.defaultProps=C.defaultProps=T.defaultProps=F.defaultProps=D.defaultProps=_.defaultProps=A.defaultProps=I.defaultProps=M.defaultProps=R.defaultProps=N.defaultProps=L.defaultProps={breakWords:!0},Z.defaultProps={breakWords:!1};const H={H1:u,H2:l,H3:f,H4:p,H5:d,H6:h,Dd:g,Dt:v,Dl:function(e){return(0,c.jsx)(m._2,{children:e.children})},Li:function(e){return(0,c.jsx)(m.EF,{children:e.children})},Ol:function(e){return(0,c.jsx)(m.mJ,{children:e.children})},Ul:function(e){return(0,c.jsx)(m.hc,{as:"ul",children:e.children})},B:b,Code:w,Del:O,Em:x,Figcaption:S,I:j,Ins:P,Kbd:E,Label:function(e){return(0,c.jsx)(y.ar,{breakWords:e.breakWords,title:e.breakWords?void 0:a(e.children),htmlFor:e.for,children:e.children})},Mark:k,P:C,Pre:T,Q:F,S:D,Small:_,Span:A,Strong:I,Sub:M,Sup:R,Time:Z,U:N,Var:L}},56822:(e,t,n)=>{"use strict";n.d(t,{L:()=>c});var r=n(27361),o=n.n(r),i=n(88601),a=n(7281),s=n(58664),c=function(e,t){var n="\n color: ".concat(i.Z.color("text")(e),";\n font-family: ").concat(i.Z.fontFamily("regular")(e),";\n font-size: ").concat(a.Z.font(0)(e),";\n font-style: ","normal",";\n font-weight: ").concat(i.Z.fontWeight("regular")(e),";\n line-height: ").concat(i.Z.lineHeight("regular")(e),";\n\n a {\n color: ").concat(i.Z.color("secondary")(e),";\n\n &:hover,\n &:focus {\n color: ").concat((0,s.HO)(o()(e.theme,"colors.secondary"),1),";\n text-decoration: underline;\n }\n\n &:active {\n color: ").concat((0,s.HO)(o()(e.theme,"colors.secondary"),2),";\n }\n }\n\n b,\n strong {\n font-weight: ").concat(i.Z.fontWeight("bold")(e),"\n }\n\n em,\n i {\n font-style: italic;\n }\n\n u {\n text-decoration: underline;\n }\n\n h1 {font-size: ").concat(a.Z.font(5)(e),";}\n h2 {font-size: ").concat(a.Z.font(4)(e),";}\n h3 {font-size: ").concat(a.Z.font(3)(e),";}\n h4 {font-size: ").concat(a.Z.font(2)(e),";}\n h5 {font-size: ").concat(a.Z.font(1)(e),";}\n h6 {font-size: ").concat(a.Z.font(0)(e),";}\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: ").concat(i.Z.fontWeight("bold")(e),";\n margin-top: ").concat(a.Z.space(0)(e),";\n margin-bottom: ").concat(a.Z.space(-1)(e),";\n\n + h1,\n + h2,\n + h3,\n + h4,\n + h5,\n + h6,\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n p {\n margin-bottom: ").concat(a.Z.space(-1)(e),";\n &:last-child {\n margin-bottom: 0;\n }\n }\n ");return"ckeditor"!==t&&(n="\n ".concat(n,"\n a {\n text-decoration: none; \n }\n\n ol,\n ul {\n display: block;\n list-style-position: outside;\n margin: 0 0 ").concat(a.Z.space(-1)(e)," 1.6rem;\n padding: 0;\n\n ol,\n ul,\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n ol li {\n list-style-type: decimal;\n }\n\n ul li {\n list-style-type: disc;\n }\n ")),n}},40953:(e,t,n)=>{"use strict";n.d(t,{m:()=>s,v:()=>a});var r=n(27361),o=n.n(r),i=n(58664),a={shade0:function(e){var t=e.theme;return o()(t,"colors.text")},shade1:function(e){var t=e.theme;return(0,i.HO)(o()(t,"colors.text"),3.5)},shade2:function(e){var t=e.theme;return(0,i.HO)(o()(t,"colors.text"),5.5)},signal:function(e){var t=e.theme,n=e.signal;return o()(t,"colors.signal.".concat(n,".text"))},hasValue:function(e){var t=e.theme;return o()(t,"colors.signal.info.text")}},s={shade0:function(e){var t=e.theme;return o()(t,"colors.paper")},shade1:function(e){var t=e.theme;return(0,i.HO)(o()(t,"colors.paper"),2)},shade2:function(e){var t=e.theme;return(0,i.HO)(o()(t,"colors.paper"),4)},signal:function(e){var t=e.theme,n=e.signal;return o()(t,"colors.signal.".concat(n,".text"))},isDirty:function(e){var t=e.theme;return o()(t,"colors.secondaryLight")},transparent:function(){return"transparent"}}},30759:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r,o=n(91411),i=n(58804),a=n(88601),s=n(7281);const c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.iv)(r||(r=(0,o.Z)(["\n color: ",";\n font-family: ",";\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n"])),e.color||a.Z.color("text"),e.fontFamily||a.Z.fontFamily("regular"),e.fontSize||s.Z.font(0),e.fontStyle||"normal",e.fontWeight||a.Z.fontWeight("regular"),e.lineHeight||a.Z.lineHeight("regular"))}},58664:(e,t,n)=>{"use strict";n.d(t,{HO:()=>p,iy:()=>d,kk:()=>l,xn:()=>f});var r,o=n(91411),i=n(27361),a=n.n(i),s=n(76538),c=n(58804),u=n(78958),l=function(e){var t=a()(e.theme,"colors.signal.info.text",u.Z.fallbackColors.INFO);return(0,c.iv)(r||(r=(0,o.Z)(["\n transition: border-color ease-in-out 100ms;\n will-change: border-color;\n\n &:focus,\n &:focus-within {\n border-color: ",";\n box-shadow: 0 0 6px ",";\n outline: 0;\n\n /**\n * Disable box-shadow for Safari\n * in order to be able to tab through the form fluently\n */\n @media not all and (min-resolution: 0.001dpcm) {\n @supports (-webkit-appearance: none) {\n box-shadow: none;\n }\n }\n }\n "])),t,(0,s.DZ)(.4,t))},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.Z.fallbackColors.SHADE,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return[t.shadeOffset>=0?p(e,0,t):e,p(e,1,t),p(e,2,t)]},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.Z.fallbackColors.SHADE,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object.assign({},{shadeFactor:.1,shadeOffset:0},n),o=r.action,i=r.shadeFactor,a=r.shadeOffset,c=i*t+a;return"lighten"===o?(0,s.$n)(c,e):"darken"===o||(0,s.H3)(e)>.5?(0,s._j)(c,e):(0,s.$n)(c,e)},d=function(e){return p(e,3,{action:"lighten"})}},19704:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,l:()=>r});var r=function(){return"\n display: inline-block;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"},o=function(){return"\n hyphens: auto;\n overflow-wrap: break-word;\n white-space: normal;\n word-wrap: break-word;\n"}},78958:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r=n(46444),o=n.n(r),i=function(e,t){var n=[];return e.forEach((function(e){t.includes(e)||n.push(e)})),n};const a=function(e,t){var n,r=Object.values(e).sort(),o=Object.keys(t).sort();return r.length>o.length?(n=i(r,o),console.warn("".concat(n.length>1?"Keys":"Key"," ").concat(n.join(" and ")," has to be added to incomplete map.")),!1):r.length<o.length?(n=i(o,r),console.warn("".concat(n.length>1?"Keys":"Key"," ").concat(n.join(" and ")," has to be removed from over-defined map.")),!1):!!r.every((function(e,t){return e===o[t]}))||(n=i(o,r),console.warn("".concat(n.length>1?"Keys":"Key"," ").concat(n.join(" and ")," has to be spelled correctly in map.")),!1)};var s={NONE:"none",SPIN:"spin"},c={BASE:"base",DANGER:"danger",PRIMARY:"primary",SUCCESS:"success",WARNING:"warning",INFO:"info"},u={BASE:"base",PRIMARY:"primary",SECONDARY:"secondary"},l={BOX:"layoutBox",CONTAINER:"layoutContainer",NONE:"none"},f={BALL:"ball",FLAT:"flat",PLAIN:"plain",RAISED:"raised"},p={APPEND:"append",BETWEEN:"between",PREPEND:"prepend",SOLE:"sole"},d=function(e,t){return a(e,t)&&o().oneOf(Object.values(e))},h=o().oneOf(Object.values(s)),m=o().oneOf(Object.values(u)),g=o().oneOf(Object.values(f)),v=o().oneOf(Object.values(p)),y=o().oneOf(Object.values(l));const b={animation:s,animationPropTypes:h,condition:c,conditionPropTypes:function(e){return d(c,e)},ink:u,inkPropTypes:m,layout:l,layoutPropTypes:y,look:f,lookPropTypes:g,fallbackColors:{SHADE:"#000000",INFO:"#0000ff",TEXT:"#010101",PAPER:"#fefefe"},format:{HTML:"html",SVG:"svg"},oneOfPropTypeAndCompletelyMapped:d,position:p,positionPropTypes:v}},97388:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r,o=n(91411),i=n(76538),a=n(58804),s=n(88601),c=function(e,t){return(0,i.XV)(e,s.Z.color("text")({theme:t}),s.Z.color("paper")({theme:t}))};const u=function(e){var t=e.ink,n=e.look,u=e.theme,l=function(e,t,n){return"primary"===e&&"raised"===t?s.Z.color("primary")({theme:n}):"secondary"===e&&"raised"===t?s.Z.color("secondary")({theme:n}):s.Z.color("paper")({theme:n})}(t,n,u),f=function(e,t,n,r){return"primary"===e&&"raised"!==t?s.Z.color("primary")({theme:n}):c(r,n)}(t,n,u,l),p=function(e,t,n){return"primary"!==e&&"raised"===t?"0px 0px 0px 1px ".concat(s.Z.color("secondaryLight")({theme:n})," inset;"):"none"}(t,n,u),d=function(e,t,n){return"raised"===t?"primary"===e?(0,i.$n)(.1,s.Z.color("primary")({theme:n})):s.Z.color("secondaryLight")({theme:n}):(0,i._j)(.1,s.Z.color("paper")({theme:n}))}(t,n,u),h=function(e,t,n,r){return"raised"===t?s.Z.color("paper")({theme:n}):c(r,n)}(0,n,u,l);return(0,a.iv)(r||(r=(0,o.Z)(["\n background: ",";\n color: ",";\n box-shadow: ",";\n outline: none;\n border: none;\n\n &:focus,\n &:hover {\n background: ",";\n color: ",";\n }\n\n &:active,\n &[aria-pressed='true'] {\n background: ",";\n }\n\n &:disabled,\n &[disabled] {\n background: ",";\n color: ",";\n cursor: not-allowed;\n }\n "])),l,f,p,d,h,(0,i.$n)(.1,d),(0,i.nV)(.41,l),(0,i.nV)(.75,f))}},7281:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(59854),o=n.n(r),i=n(88601),a=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"rem";return"".concat(o()(s(t,e,n),3)).concat(r)},s=function(e,t,n){return Math.pow(n,t)*e};const c={declareScale:a,exponentiate:s,font:function(e,t){return function(n){return a(e,i.Z.fontSize("base")(n),i.Z.fontSize("factor")(n),t)}},space:function(e,t){return function(n){return a(e,i.Z.space("base")(n),i.Z.space("factor")(n),t)}}}},88601:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(27361),o=n.n(r),i=n(5435),a=function(e){return 0===Object.keys(e).length?i.Z:e};const s={color:function(e){return function(t){var n=t.theme;return o()(a(n),"colors.".concat(e))}},fontFamily:function(e){return function(t){var n=t.theme;return o()(a(n),"fontFamily.".concat(e))}},fontSize:function(e){return function(t){var n=t.theme;return o()(a(n),"fontSize.".concat(e))}},fontWeight:function(e){return function(t){var n=t.theme;return o()(a(n),"fontWeights.".concat(e))}},lineHeight:function(e){return function(t){var n=t.theme;return o()(a(n),"lineHeights.".concat(e))}},path:function(e){return function(t){var n=t.theme;return o()(a(n),e)}},radii:function(e){return function(t){var n=t.theme;return o()(a(n),"radii.".concat(e))}},space:function(e){return function(t){var n=t.theme;return o()(a(n),"space.".concat(e))}}}},79311:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(23560),o=n.n(r);const i=function(){return window.app&&o()(window.app.getRunEnv)?window.app.getRunEnv():"PRODUCTION"};var a="tocco.cache",s=function(e,t){return"".concat(a,".").concat(e,".").concat(t)},c=function(e,t,n,r){return"PRODUCTION"!==i()?null:r.setItem(s(e,t),JSON.stringify(n))},u=function(e,t,n){var r=n.getItem(s(e,t));if(r)return JSON.parse(r)},l=function(e,t,n){return n.removeItem(s(e,t))},f=function(){return d(sessionStorage)},p=function(){return d(localStorage)},d=function(e){Object.keys(e).filter((function(e){return e.startsWith(a)})).forEach((function(t){return e.removeItem(t)}))};const h={addShortTerm:function(e,t,n){return c(e,t,n,sessionStorage)},addLongTerm:function(e,t,n){return c(e,t,n,localStorage)},getShortTerm:function(e,t){return u(e,t,sessionStorage)},getLongTerm:function(e,t){return u(e,t,localStorage)},removeShortTerm:function(e,t){return l(e,t,sessionStorage)},removeLongTerm:function(e,t){return l(e,t,localStorage)},clearShortTerm:f,clearAll:function(){f(),p()}}},44759:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={log:function(){var e;window.console&&(e=console).log.apply(e,arguments)},logError:function(){if(window.console){var e=console.error||console.log;e.apply(void 0,arguments)}},logWarning:function(){if(window.console){var e=console.warn||console.log;e.apply(void 0,arguments)}}}},86507:(e,t,n)=>{"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function o(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function i(e){o(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}n.d(t,{Z:()=>q});var a={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"halbe Minute",withPreposition:"halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}};const s=function(e,t,n){var r,o=null!=n&&n.addSuffix?a[e].withPreposition:a[e].standalone;return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",String(t)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:"vor "+r:r};function c(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var u={date:c({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:c({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:c({formats:{full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};var l={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"};function f(e){return function(t,n){var r,o=n||{};if("formatting"===(o.context?String(o.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=o.width?String(o.width):i;r=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,c=o.width?String(o.width):e.defaultWidth;r=e.values[c]||e.values[s]}return r[e.argumentCallback?e.argumentCallback(t):t]}}var p={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},d={narrow:p.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:p.wide};function h(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var a,s=i[0],c=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(c)?g(c,(function(e){return e.test(s)})):m(c,(function(e){return e.test(s)}));a=e.valueCallback?e.valueCallback(u):u,a=n.valueCallback?n.valueCallback(a):a;var l=t.slice(s.length);return{value:a,rest:l}}}function m(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function g(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function v(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var o=r[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(o.length);return{value:a,rest:s}}}const y={code:"de",formatDistance:s,formatLong:u,formatRelative:function(e,t,n,r){return l[e]},localize:{ordinalNumber:function(e){return Number(e)+"."},era:f({values:{narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},defaultWidth:"wide"}),quarter:f({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:f({values:p,formattingValues:d,defaultWidth:"wide"}),day:f({values:{narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},defaultWidth:"wide"}),dayPeriod:f({values:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},defaultWidth:"wide",formattingValues:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:v({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e)}}),era:h({matchPatterns:{narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/i,/^n/i]},defaultParseWidth:"any"}),quarter:h({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:h({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:h({matchPatterns:{narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:h({matchPatterns:{narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var b={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};const w=function(e,t,n){var r,o=b[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};var O={date:c({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:c({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:c({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var x={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};const S={code:"en-US",formatDistance:w,formatLong:O,formatRelative:function(e,t,n,r){return x[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:f({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:f({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:f({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:f({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:f({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:v({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:h({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:h({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:h({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:h({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:h({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var j={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}};const P=function(e,t,n){var r,o=j[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",String(t)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"dans "+r:"il y a "+r:r};const E={ordinalNumber:function(e,t){var n=Number(e),r=null==t?void 0:t.unit;if(0===n)return"0";return n+(1===n?r&&["year","week","hour","minute","second"].includes(r)?"ère":"er":"ème")},era:f({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},defaultWidth:"wide"}),quarter:f({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:f({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},defaultWidth:"wide"}),day:f({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:f({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})};const k={ordinalNumber:v({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e)}}),era:h({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:h({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:h({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:h({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:h({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})};var C={date:c({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:c({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:c({formats:{full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var T={lastWeek:"eeee 'la semaine dernière à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'la semaine prochaine à' p",other:"P"};const D={code:"fr-CH",formatDistance:P,formatLong:C,formatRelative:function(e,t,n,r){return T[e]},localize:E,match:k,options:{weekStartsOn:1,firstWeekContainsDate:4}};var _={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}};const A=function(e,t,n){var r,o=_[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"tra "+r:r+" fa":r};var M={date:c({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:c({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:c({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};function R(e,t){o(1,arguments);var n=t||{},a=n.locale,s=a&&a.options&&a.options.weekStartsOn,c=null==s?0:r(s),u=null==n.weekStartsOn?c:r(n.weekStartsOn);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=i(e),f=l.getUTCDay(),p=(f<u?7:0)+f-u;return l.setUTCDate(l.getUTCDate()-p),l.setUTCHours(0,0,0,0),l}function I(e,t,n){o(2,arguments);var r=R(e,n),i=R(t,n);return r.getTime()===i.getTime()}var Z=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function N(e){return"'"+Z[e]+" alle' p"}var L={lastWeek:function(e,t,n){var r=e.getUTCDay();return I(e,t,n)?N(r):function(e){return 0===e?"'domenica scorsa alle' p":"'"+Z[e]+" scorso alle' p"}(r)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:function(e,t,n){var r=e.getUTCDay();return I(e,t,n)?N(r):function(e){return 0===e?"'domenica prossima alle' p":"'"+Z[e]+" prossimo alle' p"}(r)},other:"P"};const F=function(e,t,n,r){var o=L[e];return"function"==typeof o?o(t,n,r):o};const H={code:"it",formatDistance:A,formatLong:M,formatRelative:F,localize:{ordinalNumber:function(e,t){return Number(e)+"º"},era:f({values:{narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},defaultWidth:"wide"}),quarter:f({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:f({values:{narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},defaultWidth:"wide"}),day:f({values:{narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},defaultWidth:"wide"}),dayPeriod:f({values:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},defaultWidth:"wide",formattingValues:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:v({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:h({matchPatterns:{narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^a/i,/^(d|e)/i]},defaultParseWidth:"any"}),quarter:h({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:h({matchPatterns:{narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:h({matchPatterns:{narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},defaultParseWidth:"any"}),dayPeriod:h({matchPatterns:{narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};var B=n(44752),U=function(e){if(!e&&0!==e)return{hours:"",minutes:"",seconds:""};var t=(0,B.DJ)(e/1e3%60,3);e-=1e3*t;var n=parseInt(e/6e4%60);e-=1e3*n*60;var r=parseInt(e/36e5);return(n<0||r<0)&&(t=Math.abs(t)),r<0&&(n=Math.abs(n)),{hours:r,minutes:n,seconds:t}},W=function(e){switch(e){case"fr":return D;case"en":return S;case"it":return H;default:return y}},z=function(e){return W(e).formatLong.date({width:"short"})},V=function(e){return W(e).formatLong.time({width:"short"})},G=function(e){return z(e).replace(/[/.]/g,"")};const q={millisecondsToDuration:U,formatDuration:function(e){var t=U(e),n=t.hours,r=t.minutes,o=t.seconds,i="".concat(n.toString().padStart(2,"0"),":").concat(r.toString().padStart(2,"0")),a="".concat(i,":").concat(o.toFixed(3).padStart(6,"0"));return o?a:i},getDateFnsLocale:W,getLocalizedDateFormat:z,getLocalizedDateFormatWithoutPunctuation:G,getLocalizedDateTimeFormatWithoutPunctuation:function(e){return"".concat(G(e)," ").concat(function(e){return V(e).replace(/[:]/g,"")}(e))},getLocalizedTimeFormat:V,useTwoDigitYear:function(e){return e.replace(/y+/,"yy")},setCurrentTime:function(e){var t=new Date,n=new Date(e);return n=function(e,t){o(2,arguments);var n=i(e),a=r(t);return n.setHours(a),n}(n,function(e){return o(1,arguments),i(e).getHours()}(t)),n=function(e,t){o(2,arguments);var n=i(e),a=r(t);return n.setMinutes(a),n}(n,function(e){return o(1,arguments),i(e).getMinutes()}(t)),n=function(e,t){o(2,arguments);var n=i(e),a=r(t);return n.setSeconds(a),n}(n,0),n=function(e,t){o(2,arguments);var n=i(e),a=r(t);return n.setMilliseconds(a),n}(n,0),n}}},28247:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=function(e,t,n){return"".concat(e).concat(e&&e.indexOf("?")>=0?"&":"?").concat(t,"=").concat(n)};const o={downloadUrl:function(e,t){var n=document.createElement("a");n.href=e,n.download=t||e.split("/").pop(),n.target="_blank",document.body.appendChild(n),n.click(),window.URL.revokeObjectURL&&window.URL.revokeObjectURL(e),n.remove&&n.remove()},downloadReadableStream:function(e,t){var n=document.createElement("a"),r=URL.createObjectURL(e);n.href=r,n.download=t,n.target="_blank",document.body.appendChild(n),n.click(),window.URL.revokeObjectURL&&window.URL.revokeObjectURL(r),n.remove&&n.remove()},openUrl:function(e){var t=document.createElement("a");t.href=e,t.target="_blank",document.body.appendChild(t),t.click(),window.URL.revokeObjectURL&&window.URL.revokeObjectURL(e),t.remove&&t.remove()},downloadSupportedByBrowser:function(){var e=document.createElement("a"),t=void 0!==e.download;return e.remove&&e.remove(),t},getDownloadUrl:function(e){return r(e,"download",!0)},addParameterToURL:r}},85743:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(44759),o=["admin","widget","legacy-widget"],i={backendUrl:void 0,businessUnit:void 0,embedType:"admin",widgetConfigKey:void 0},a=function(e){i.backendUrl=e},s=function(e){i.businessUnit=e},c=function(e){o.includes(e)?i.embedType=e:r.Z.logError("'".concat(e,"' as embedType is not allowed. Allowed embedTypes are: ").concat(o.join(", ")))},u=function(e){i.widgetConfigKey=e};const l={getBackendUrl:function(){return i.backendUrl||""},setBackendUrl:a,getBusinessUnit:function(){return i.businessUnit},setBusinessUnit:s,getEmbedType:function(){return i.embedType},setEmbedType:c,getWidgetConfigKey:function(){return i.widgetConfigKey},setWidgetConfigKey:u,NULL_BUSINESS_UNIT:"__n-u-l-l__",ALLOWED_EMBED_TYPES:o,setInputEnvs:function(e){var t,n,r,o;(e.backendUrl&&a(e.backendUrl),e.businessUnit&&s(e.businessUnit),null!==(t=e.appContext)&&void 0!==t&&t.embedType)&&c(null===(r=e.appContext)||void 0===r?void 0:r.embedType);null!==(n=e.appContext)&&void 0!==n&&n.widgetConfigKey&&u(null===(o=e.appContext)||void 0===o?void 0:o.widgetConfigKey)}}},10535:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(13615),o=n.n(r),i=["border","border-spacing","padding","margin","text-align","width"];o().addHook("afterSanitizeAttributes",(function(e){if(e&&"function"==typeof e.hasAttribute&&e.hasAttribute("style")){var t=(n=e.style,i.map((function(e){var t=n[e];return t&&"string"==typeof t&&!function(e){return/\w\(/.test(e)}(t)?"".concat(e,":").concat(t,";"):null})).filter(Boolean).join(""));t?e.setAttribute("style",t):e.removeAttribute("style")}var n;return e}));const a=function(e){return e?o().sanitize(e,{FORBID_TAGS:["style"]}):e},s={sanitizeHtml:a}},2100:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var r=n(59713),o=n.n(r),i=n(48926),a=n.n(i),s=n(87757),c=n.n(s),u=n(21101),l=n(79311),f=n(54159);function p(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=["de","fr","en","it"],m=function(){var e=a()(c().mark((function e(t,n,r){var o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=r){e.next=5;break}return e.next=4,y();case 4:o=e.sent;case 5:return e.abrupt("return",v(t,n,o));case 6:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),g=function(){var e=a()(c().mark((function e(t,n,r){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l.Z.clearAll(),v(t,n,r);case 2:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),v=function(){var e=a()(c().mark((function e(t,n,r){var o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O(r,n);case 2:o=e.sent,t.dispatch((0,u.zH)({locale:r.replace("_","-"),messages:o}));case 4:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),y=function(){var e=a()(c().mark((function e(){var t,n,r;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=l.Z.getLongTerm("session","locale"))){e.next=3;break}return e.abrupt("return",t);case 3:return e.next=5,w();case 5:return n=e.sent,r=n.locale,l.Z.addLongTerm("session","locale",r),e.abrupt("return",r);case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),b=function(){var e=a()(c().mark((function e(){var t,n,r;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=l.Z.getLongTerm("session","locale"),e.next=3,w();case 3:return n=e.sent,r=n.locale,l.Z.addLongTerm("session","locale",r),e.abrupt("return",!t||t!==r);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),w=function(){var e=a()(c().mark((function e(){var t,n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.Z.executeRequest("username").then(f.Z.extractBody);case 2:return t=e.sent,n=t.locale,"anonymous"===t.username&&(r=void 0,o=void 0,r=window.navigator.userLanguage||window.navigator.language,o=r.indexOf("-")>0?r.split("-")[0]:r,n=h.includes(o)?o:"en"),e.abrupt("return",d(d({},t),{},{locale:n}));case 6:case"end":return e.stop()}var r,o}),e)})));return function(){return e.apply(this,arguments)}}(),O=function(){var e=a()(c().mark((function e(t,n){var r,i,a;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r={},i=[],n.forEach((function(e){var n=l.Z.getLongTerm("textResource","".concat(t,".").concat(e));n?r=d(d({},r),n):i.push(e)})),!(i.length>0)){e.next=8;break}return e.next=6,x(t,i);case 6:a=e.sent,i.forEach((function(e){var n=Object.keys(a).filter((function(t){return t.match(new RegExp("^client\\."+e+".*","g"))})).reduce((function(e,t){return d(d({},e),{},o()({},t,a[t]))}),{});l.Z.addLongTerm("textResource","".concat(t,".").concat(e),n),r=d(d({},r),n)}));case 8:return e.abrupt("return",r);case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),x=function(e,t){var n="".concat(t.join(",")),r=n?"&module=".concat(n):"",o="textresource?locale=".concat(e).concat(r);return f.Z.executeRequest(o).then(f.Z.extractBody)};const S={initIntl:m,setLocale:v,changeLocale:g,hasUserLocaleChanged:b,localeSelector:function(e){return e.intl.locale},loadUserWithLocale:w}},44752:(e,t,n)=>{"use strict";n.d(t,{DJ:()=>o,MR:()=>r,vQ:()=>i});var r=function(e){return e&&Array.isArray(e)?e.length>0?e[0]:[]:e},o=function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n},i=function(e){return navigator.clipboard?navigator.clipboard.writeText(e):Promise.reject(new Error("navigator.clipboard API not available"))}},70696:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(44752),o=n(50008),i=n.n(o),a=n(18446),s=n.n(a),c=n(68718),u=n.n(c),l=function(e){return"object"===i()(e)&&null!==e};const f={difference:function(e,t){return function e(t,n){return u()(t,(function(t,r,o){s()(r,n[o])||(t[o]=l(r)&&l(n[o])?e(r,n[o]):r)}))}(e,t)},getOrFirst:r.MR,adjustedHTMLString:function(e){return e?e.replace(/&shy;/g,""):e},roundDecimalPlaces:r.DJ,copyToClipboard:r.vQ}},58940:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(44586),o="_tocco_originId";const i={getOriginId:function(){if(sessionStorage.getItem(o))return sessionStorage.getItem(o);var e="".concat("client_","_").concat((0,r.Z)());return sessionStorage.setItem(o,e),e}}},35997:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(59713),o=n.n(r),i=n(63038),a=n.n(i),s=n(1024),c=n.n(s);function u(e,t){var n=(0,s.useState)(e),r=a()(n,2),o=r[0],i=r[1];return(0,s.useEffect)((function(){var n=setTimeout((function(){i(e)}),t);return function(){clearTimeout(n)}}),[e,t]),[o,i]}var l=n(85893);function f(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"onChange",r=c().forwardRef((function(r,i){var c=r.value,f=(0,s.useState)(c),d=a()(f,2),h=d[0],m=d[1],g=u(h,t),v=a()(g,2),y=v[0],b=v[1],w=(0,s.useRef)(c),O=r[n];return(0,s.useEffect)((function(){h!==c&&h===y&&(m(c),w.current=c,b(c))}),[c]),(0,s.useEffect)((function(){w.current!==y&&(O(y),w.current=y)}),[y,O]),(0,l.jsx)(e,p(p(p({},r),{},{value:h},o()({},n,m)),{},{ref:i}))}));return r};const h={useAutofocus:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return(0,s.useEffect)((function(){if(e.current){if(t.selectFulltextFields){var n=e.current.querySelector('input[id$="txtFulltext"]:not([disabled])');if(n)return void n.focus()}var r=e.current.querySelector([':not(.react-datepicker-wrapper) input[type = "text"]:not([disabled])',":not(.react-datepicker-wrapper) textarea:not([disabled])"].join(","));r&&r.focus()}}),n)},useDebounce:u,Debouncer:d,useUserActive:function(e){var t=(0,s.useRef)(null),n=(0,s.useState)(null),r=a()(n,2),o=r[0],i=r[1],c=(0,s.useCallback)((function(){o>0&&(t.current=setTimeout((function(){e()}),o))}),[o,e]),u=(0,s.useCallback)((function(){t.current&&clearTimeout(t.current)}),[]);return(0,s.useEffect)((function(){return u(),window.addEventListener("mousemove",c,{once:!0}),window.addEventListener("touchstart",c,{once:!0}),function(){u()}}),[u,c]),[i,u,c]},usePrevious:function(e){var t=(0,s.useRef)();return(0,s.useEffect)((function(){t.current=e}),[e]),t.current},useDidUpdate:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,s.useRef)(!1);(0,s.useEffect)((function(){n.current?e():n.current=!0}),t)}}},81770:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var r=n(59713),o=n.n(r);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s=n(91966),c=n.n(s),u=n(78718),l=n.n(u),f=n(15857);function p(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(e,t){var n=d(d({},e.allReducers),t),r=(0,f.UY)(n);e.replaceReducer(r),e.dispatch({type:"replaceReducer"}),e.allReducers=n},m=n(36968),g=n.n(m);function v(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 y(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 b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const w={singleTransferReducer:function(e,t){return function(n,r){var i=r.payload[e],a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n);return g()(a,t?t+"."+e:e,i),a}},mappingTransferReducer:function(e,t){return function(n,r){var i=r.payload[e];return a(a({},n),{},o()({},t,i))}},injectReducers:function(e,t){var n=c()(Object.keys(t),Object.keys(e.allReducers));if(n.length>0){var r=d(d({},e.allReducers),l()(t,n));h(e,r)}},hotReloadReducers:h,toggleReducer:function(e){return function(t){return b(b({},t),{},o()({},e,!t[e]))}}}},54159:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(59713),o=n.n(r),i=n(50008),a=n.n(i),s=n(85743),c=n(58940);function u(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={method:"GET",credentials:"include"},p=function(e){var t=function(e){if(e){if(e instanceof Headers)return e;if("object"===a()(e))return new Headers(e)}return new Headers}(e.headers),n=e.body;return t.has("Content-Type")||("string"==typeof n?t.set("Content-Type","text/plain"):n instanceof FormData||t.set("Content-Type","application/json")),t.has("X-Origin-Id")||t.set("X-Origin-Id",c.Z.getOriginId()),!t.has("X-Business-Unit")&&s.Z.getBusinessUnit()&&t.set("X-Business-Unit",s.Z.getBusinessUnit()),t.has("X-Client")||t.set("X-Client","admin"===s.Z.getEmbedType()?"client":"widget"),t},d=function(e,t){return t.startsWith("/")&&(t=t.substring(1)),t.startsWith("http")?t:t.startsWith("nice2")?"".concat(e,"/").concat(t):"".concat(e,"/nice2/").concat(t)},h=function(e){return l(l(l({},f),e),{},{headers:p(e)})};const m={prepareHeaders:p,prepareUrl:d,executeRequest:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=h(t),r=s.Z.getBackendUrl(),o=d(r,e);return fetch(o,n)},extractBody:function(e){return e.json()}}},24688:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=new AbortController;window.addEventListener("beforeunload",(function(){return r.abort()}));var o=n(87757),i=n.n(o),a=n(34857),s=n(44759),c=function(e,t,n){return i().mark((function o(){var c,u,l,f=arguments;return i().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:for(c=f.length,u=new Array(c),l=0;l<c;l++)u[l]=f[l];case 1:return o.prev=2,o.next=5,a.RE.apply(void 0,[e,t].concat(u));case 5:o.next=16;break;case 7:if(o.prev=7,o.t0=o.catch(2),!1!==r.signal.aborted){o.next=16;break}if(!n){o.next=15;break}return o.next=13,(0,a.gz)(n("client.common.unexpectedError","client.common.unexpectedError",o.t0));case 13:o.next=16;break;case 15:s.Z.logError("error",o.t0);case 16:o.next=1;break;case 18:case"end":return o.stop()}}),o,null,[[2,7]])}))};const u={autoRestartSaga:c,createGenerator:function(e){return i().mark((function t(){return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,a.$6)(e);case 2:case"end":return t.stop()}}),t)}))},injectSaga:function(e,t,n){e.sagas.includes(t)||(e.sagas.push(t),e.sagaMiddleware.run(c(t,null,n)))},abortController:r}},36420:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,"@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap);"]),a.push([e.id,"\n","",{version:3,sources:[],names:[],mappings:"",sourceRoot:""}]);const s=a},23645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);r&&a[l[0]]||(void 0!==i&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},87537:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(o," */"),a=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[t].concat(a).concat([i]).join("\n")}return[t].join("\n")}},8679:(e,t,n)=>{"use strict";var r=n(59864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=c(t),m=c(n),g=0;g<a.length;++g){var v=a[g];if(!(i[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=p(n,v);try{u(t,v,y)}catch(e){}}}}return t}},16284:(e,t,n)=>{"use strict";n.d(t,{C:()=>u});var r=n(15145),o=n(35258),i=n(95957),a=n(61092);function s(e,t){return t?Object.keys(e).reduce((function(n,o){var i,a;return n[o]=(i=e[o],(a=t[o])?(0,r.pi)((0,r.pi)((0,r.pi)({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=(0,r.pi)((0,r.pi)({},i[t]),a[t]||{}),e}),{})):i),n}),(0,r.pi)({},e)):e}function c(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}var u=function(){function e(t,n,o,u){var l,f=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=f.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===a.du.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return(0,a.FK)(f.ast,f.locales,f.formatters,f.formats,e,void 0,f.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=f.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(f.locales)[0]}},this.getAst=function(){return f.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==u?void 0:u.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=s(e.formats,o),this.formatters=u&&u.formatters||(void 0===(l=this.formatterCache)&&(l={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,i.Z)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,(0,r.ev)([void 0],t,!1)))}),{cache:c(l.number),strategy:i.A.variadic}),getDateTimeFormat:(0,i.Z)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,r.ev)([void 0],t,!1)))}),{cache:c(l.dateTime),strategy:i.A.variadic}),getPluralRules:(0,i.Z)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,(0,r.ev)([void 0],t,!1)))}),{cache:c(l.pluralRules),strategy:i.A.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=o.Qc,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}()},11050:(e,t,n)=>{"use strict";n.d(t,{C8:()=>a,HR:()=>c,YR:()=>s,jK:()=>r,u_:()=>i});var r,o=n(15145);!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(r||(r={}));var i=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return(0,o.ZT)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),a=function(e){function t(t,n,o,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(o).join('", "'),'"'),r.INVALID_VALUE,i)||this}return(0,o.ZT)(t,e),t}(i),s=function(e){function t(t,n,o){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),r.INVALID_VALUE,o)||this}return(0,o.ZT)(t,e),t}(i),c=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),r.MISSING_VALUE,n)||this}return(0,o.ZT)(t,e),t}(i)},61092:(e,t,n)=>{"use strict";n.d(t,{FK:()=>s,Gt:()=>a,du:()=>r});var r,o=n(35258),i=n(11050);function a(e){return"function"==typeof e}function s(e,t,n,c,u,l,f){if(1===e.length&&(0,o.O4)(e[0]))return[{type:r.literal,value:e[0].value}];for(var p=[],d=0,h=e;d<h.length;d++){var m=h[d];if((0,o.O4)(m))p.push({type:r.literal,value:m.value});else if((0,o.yx)(m))"number"==typeof l&&p.push({type:r.literal,value:n.getNumberFormat(t).format(l)});else{var g=m.value;if(!u||!(g in u))throw new i.HR(g,f);var v=u[g];if((0,o.VG)(m))v&&"string"!=typeof v&&"number"!=typeof v||(v="string"==typeof v||"number"==typeof v?String(v):""),p.push({type:"string"==typeof v?r.literal:r.object,value:v});else if((0,o.rp)(m)){var y="string"==typeof m.style?c.date[m.style]:(0,o.Ii)(m.style)?m.style.parsedOptions:void 0;p.push({type:r.literal,value:n.getDateTimeFormat(t,y).format(v)})}else if((0,o.pe)(m)){y="string"==typeof m.style?c.time[m.style]:(0,o.Ii)(m.style)?m.style.parsedOptions:c.time.medium;p.push({type:r.literal,value:n.getDateTimeFormat(t,y).format(v)})}else if((0,o.uf)(m)){(y="string"==typeof m.style?c.number[m.style]:(0,o.Wh)(m.style)?m.style.parsedOptions:void 0)&&y.scale&&(v*=y.scale||1),p.push({type:r.literal,value:n.getNumberFormat(t,y).format(v)})}else{if((0,o.HI)(m)){var b=m.children,w=m.value,O=u[w];if(!a(O))throw new i.YR(w,"function",f);var x=O(s(b,t,n,c,u,l).map((function(e){return e.value})));Array.isArray(x)||(x=[x]),p.push.apply(p,x.map((function(e){return{type:"string"==typeof e?r.literal:r.object,value:e}})))}if((0,o.Wi)(m)){if(!(S=m.options[v]||m.options.other))throw new i.C8(m.value,v,Object.keys(m.options),f);p.push.apply(p,s(S.value,t,n,c,u))}else if((0,o.Jo)(m)){var S;if(!(S=m.options["=".concat(v)])){if(!Intl.PluralRules)throw new i.u_('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',i.jK.MISSING_INTL_API,f);var j=n.getPluralRules(t,{type:m.pluralType}).select(v-(m.offset||0));S=m.options[j]||m.options.other}if(!S)throw new i.C8(m.value,v,Object.keys(m.options),f);p.push.apply(p,s(S.value,t,n,c,u,v-(m.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===r.literal&&t.type===r.literal?n.value+=t.value:e.push(t),e}),[])}(p)}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(r||(r={}))},15145:(e,t,n)=>{"use strict";n.d(t,{ZT:()=>o,ev:()=>a,pi:()=>i});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.create;function a(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create},41143:e=>{"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,a,s],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},18552:(e,t,n)=>{var r=n(10852)(n(55639),"DataView");e.exports=r},1989:(e,t,n)=>{var r=n(51789),o=n(80401),i=n(57667),a=n(21327),s=n(81866);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},38407:(e,t,n)=>{var r=n(27040),o=n(14125),i=n(82117),a=n(67518),s=n(54705);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},57071:(e,t,n)=>{var r=n(10852)(n(55639),"Map");e.exports=r},83369:(e,t,n)=>{var r=n(24785),o=n(11285),i=n(96e3),a=n(49916),s=n(95265);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},53818:(e,t,n)=>{var r=n(10852)(n(55639),"Promise");e.exports=r},58525:(e,t,n)=>{var r=n(10852)(n(55639),"Set");e.exports=r},88668:(e,t,n)=>{var r=n(83369),o=n(90619),i=n(72385);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},46384:(e,t,n)=>{var r=n(38407),o=n(37465),i=n(63779),a=n(67599),s=n(44758),c=n(34309);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,e.exports=u},62705:(e,t,n)=>{var r=n(55639).Symbol;e.exports=r},11149:(e,t,n)=>{var r=n(55639).Uint8Array;e.exports=r},70577:(e,t,n)=>{var r=n(10852)(n(55639),"WeakMap");e.exports=r},96874:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},44174:e=>{e.exports=function(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}},77412:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},34963:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},47443:(e,t,n)=>{var r=n(42118);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},1196:e=>{e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},14636:(e,t,n)=>{var r=n(22545),o=n(35694),i=n(1469),a=n(44144),s=n(65776),c=n(36719),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&o(e),f=!n&&!l&&a(e),p=!n&&!l&&!f&&c(e),d=n||l||f||p,h=d?r(e.length,String):[],m=h.length;for(var g in e)!t&&!u.call(e,g)||d&&("length"==g||f&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},29932:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},62488:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},62663:e=>{e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},82908:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},86556:(e,t,n)=>{var r=n(89465),o=n(77813);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},34865:(e,t,n)=>{var r=n(89465),o=n(77813),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},18470:(e,t,n)=>{var r=n(77813);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},81119:(e,t,n)=>{var r=n(89881);e.exports=function(e,t,n,o){return r(e,(function(e,r,i){t(o,e,n(e),i)})),o}},44037:(e,t,n)=>{var r=n(98363),o=n(3674);e.exports=function(e,t){return e&&r(t,o(t),e)}},63886:(e,t,n)=>{var r=n(98363),o=n(81704);e.exports=function(e,t){return e&&r(t,o(t),e)}},89465:(e,t,n)=>{var r=n(38777);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},85990:(e,t,n)=>{var r=n(46384),o=n(77412),i=n(34865),a=n(44037),s=n(63886),c=n(64626),u=n(278),l=n(18805),f=n(1911),p=n(58234),d=n(46904),h=n(64160),m=n(43824),g=n(29148),v=n(38517),y=n(1469),b=n(44144),w=n(56688),O=n(13218),x=n(72928),S=n(3674),j=n(81704),P="[object Arguments]",E="[object Function]",k="[object Object]",C={};C[P]=C["[object Array]"]=C["[object ArrayBuffer]"]=C["[object DataView]"]=C["[object Boolean]"]=C["[object Date]"]=C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Map]"]=C["[object Number]"]=C[k]=C["[object RegExp]"]=C["[object Set]"]=C["[object String]"]=C["[object Symbol]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C["[object Error]"]=C[E]=C["[object WeakMap]"]=!1,e.exports=function e(t,n,T,D,_,A){var M,R=1&n,I=2&n,Z=4&n;if(T&&(M=_?T(t,D,_,A):T(t)),void 0!==M)return M;if(!O(t))return t;var N=y(t);if(N){if(M=m(t),!R)return u(t,M)}else{var L=h(t),F=L==E||"[object GeneratorFunction]"==L;if(b(t))return c(t,R);if(L==k||L==P||F&&!_){if(M=I||F?{}:v(t),!R)return I?f(t,s(M,t)):l(t,a(M,t))}else{if(!C[L])return _?t:{};M=g(t,L,R)}}A||(A=new r);var H=A.get(t);if(H)return H;A.set(t,M),x(t)?t.forEach((function(r){M.add(e(r,n,T,r,t,A))})):w(t)&&t.forEach((function(r,o){M.set(o,e(r,n,T,o,t,A))}));var B=N?void 0:(Z?I?d:p:I?j:S)(t);return o(B||t,(function(r,o){B&&(r=t[o=r]),i(M,o,e(r,n,T,o,t,A))})),M}},3118:(e,t,n)=>{var r=n(13218),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},20731:(e,t,n)=>{var r=n(88668),o=n(47443),i=n(1196),a=n(29932),s=n(7518),c=n(74757);e.exports=function(e,t,n,u){var l=-1,f=o,p=!0,d=e.length,h=[],m=t.length;if(!d)return h;n&&(t=a(t,s(n))),u?(f=i,p=!1):t.length>=200&&(f=c,p=!1,t=new r(t));e:for(;++l<d;){var g=e[l],v=null==n?g:n(g);if(g=u||0!==g?g:0,p&&v==v){for(var y=m;y--;)if(t[y]===v)continue e;h.push(g)}else f(t,v,u)||h.push(g)}return h}},89881:(e,t,n)=>{var r=n(47816),o=n(99291)(r);e.exports=o},41848:e=>{e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},21078:(e,t,n)=>{var r=n(62488),o=n(37285);e.exports=function e(t,n,i,a,s){var c=-1,u=t.length;for(i||(i=o),s||(s=[]);++c<u;){var l=t[c];n>0&&i(l)?n>1?e(l,n-1,i,a,s):r(s,l):a||(s[s.length]=l)}return s}},28483:(e,t,n)=>{var r=n(25063)();e.exports=r},47816:(e,t,n)=>{var r=n(28483),o=n(3674);e.exports=function(e,t){return e&&r(e,t,o)}},97786:(e,t,n)=>{var r=n(71811),o=n(40327);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},68866:(e,t,n)=>{var r=n(62488),o=n(1469);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},44239:(e,t,n)=>{var r=n(62705),o=n(89607),i=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},13:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},42118:(e,t,n)=>{var r=n(41848),o=n(62722),i=n(42351);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},9454:(e,t,n)=>{var r=n(44239),o=n(37005);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},90939:(e,t,n)=>{var r=n(2492),o=n(37005);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,s))}},2492:(e,t,n)=>{var r=n(46384),o=n(67114),i=n(18351),a=n(16096),s=n(64160),c=n(1469),u=n(44144),l=n(36719),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=c(e),b=c(t),w=y?p:s(e),O=b?p:s(t),x=(w=w==f?d:w)==d,S=(O=O==f?d:O)==d,j=w==O;if(j&&u(e)){if(!u(t))return!1;y=!0,x=!1}if(j&&!x)return v||(v=new r),y||l(e)?o(e,t,n,m,g,v):i(e,t,w,n,m,g,v);if(!(1&n)){var P=x&&h.call(e,"__wrapped__"),E=S&&h.call(t,"__wrapped__");if(P||E){var k=P?e.value():e,C=E?t.value():t;return v||(v=new r),g(k,C,n,m,v)}}return!!j&&(v||(v=new r),a(e,t,n,m,g,v))}},25588:(e,t,n)=>{var r=n(64160),o=n(37005);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},2958:(e,t,n)=>{var r=n(46384),o=n(90939);e.exports=function(e,t,n,i){var a=n.length,s=a,c=!i;if(null==e)return!s;for(e=Object(e);a--;){var u=n[a];if(c&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a<s;){var l=(u=n[a])[0],f=e[l],p=u[1];if(c&&u[2]){if(void 0===f&&!(l in e))return!1}else{var d=new r;if(i)var h=i(f,p,l,e,t,d);if(!(void 0===h?o(p,f,3,i,d):h))return!1}}return!0}},62722:e=>{e.exports=function(e){return e!=e}},28458:(e,t,n)=>{var r=n(23560),o=n(15346),i=n(13218),a=n(80346),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:s).test(a(e))}},29221:(e,t,n)=>{var r=n(64160),o=n(37005);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},38749:(e,t,n)=>{var r=n(44239),o=n(41780),i=n(37005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},67206:(e,t,n)=>{var r=n(91573),o=n(16432),i=n(6557),a=n(1469),s=n(39601);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},280:(e,t,n)=>{var r=n(25726),o=n(86916),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},10313:(e,t,n)=>{var r=n(13218),o=n(25726),i=n(33498),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},91573:(e,t,n)=>{var r=n(2958),o=n(1499),i=n(42634);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},16432:(e,t,n)=>{var r=n(90939),o=n(27361),i=n(79095),a=n(15403),s=n(89162),c=n(42634),u=n(40327);e.exports=function(e,t){return a(e)&&s(t)?c(u(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},42980:(e,t,n)=>{var r=n(46384),o=n(86556),i=n(28483),a=n(59783),s=n(13218),c=n(81704),u=n(36390);e.exports=function e(t,n,l,f,p){t!==n&&i(n,(function(i,c){if(p||(p=new r),s(i))a(t,n,c,l,e,f,p);else{var d=f?f(u(t,c),i,c+"",t,n,p):void 0;void 0===d&&(d=i),o(t,c,d)}}),c)}},59783:(e,t,n)=>{var r=n(86556),o=n(64626),i=n(77133),a=n(278),s=n(38517),c=n(35694),u=n(1469),l=n(29246),f=n(44144),p=n(23560),d=n(13218),h=n(68630),m=n(36719),g=n(36390),v=n(59881);e.exports=function(e,t,n,y,b,w,O){var x=g(e,n),S=g(t,n),j=O.get(S);if(j)r(e,n,j);else{var P=w?w(x,S,n+"",e,t,O):void 0,E=void 0===P;if(E){var k=u(S),C=!k&&f(S),T=!k&&!C&&m(S);P=S,k||C||T?u(x)?P=x:l(x)?P=a(x):C?(E=!1,P=o(S,!0)):T?(E=!1,P=i(S,!0)):P=[]:h(S)||c(S)?(P=x,c(x)?P=v(x):d(x)&&!p(x)||(P=s(S))):E=!1}E&&(O.set(S,P),b(P,S,y,w,O),O.delete(S)),r(e,n,P)}}},25970:(e,t,n)=>{var r=n(63012),o=n(79095);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},63012:(e,t,n)=>{var r=n(97786),o=n(10611),i=n(71811);e.exports=function(e,t,n){for(var a=-1,s=t.length,c={};++a<s;){var u=t[a],l=r(e,u);n(l,u)&&o(c,i(u,e),l)}return c}},40371:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},79152:(e,t,n)=>{var r=n(97786);e.exports=function(e){return function(t){return r(t,e)}}},10107:e=>{e.exports=function(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}},5976:(e,t,n)=>{var r=n(6557),o=n(45357),i=n(30061);e.exports=function(e,t){return i(o(e,t,r),e+"")}},10611:(e,t,n)=>{var r=n(34865),o=n(71811),i=n(65776),a=n(13218),s=n(40327);e.exports=function(e,t,n,c){if(!a(e))return e;for(var u=-1,l=(t=o(t,e)).length,f=l-1,p=e;null!=p&&++u<l;){var d=s(t[u]),h=n;if("__proto__"===d||"constructor"===d||"prototype"===d)return e;if(u!=f){var m=p[d];void 0===(h=c?c(m,d,p):void 0)&&(h=a(m)?m:i(t[u+1])?[]:{})}r(p,d,h),p=p[d]}return e}},14259:e=>{e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},22545:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},7518:e=>{e.exports=function(e){return function(t){return e(t)}}},45652:(e,t,n)=>{var r=n(88668),o=n(47443),i=n(1196),a=n(74757),s=n(23593),c=n(21814);e.exports=function(e,t,n){var u=-1,l=o,f=e.length,p=!0,d=[],h=d;if(n)p=!1,l=i;else if(f>=200){var m=t?null:s(e);if(m)return c(m);p=!1,l=a,h=new r}else h=t?[]:d;e:for(;++u<f;){var g=e[u],v=t?t(g):g;if(g=n||0!==g?g:0,p&&v==v){for(var y=h.length;y--;)if(h[y]===v)continue e;t&&h.push(v),d.push(g)}else l(h,v,n)||(h!==d&&h.push(v),d.push(g))}return d}},57406:(e,t,n)=>{var r=n(71811),o=n(10928),i=n(40292),a=n(40327);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},74757:e=>{e.exports=function(e,t){return e.has(t)}},71811:(e,t,n)=>{var r=n(1469),o=n(15403),i=n(55514),a=n(79833);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},74318:(e,t,n)=>{var r=n(11149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},64626:(e,t,n)=>{e=n.nmd(e);var r=n(55639),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},57157:(e,t,n)=>{var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},93147:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},40419:(e,t,n)=>{var r=n(62705),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},77133:(e,t,n)=>{var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},278:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},98363:(e,t,n)=>{var r=n(34865),o=n(89465);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,c=t.length;++s<c;){var u=t[s],l=i?i(n[u],e[u],u,n,e):void 0;void 0===l&&(l=e[u]),a?o(n,u,l):r(n,u,l)}return n}},18805:(e,t,n)=>{var r=n(98363),o=n(99551);e.exports=function(e,t){return r(e,o(e),t)}},1911:(e,t,n)=>{var r=n(98363),o=n(51442);e.exports=function(e,t){return r(e,o(e),t)}},14429:(e,t,n)=>{var r=n(55639)["__core-js_shared__"];e.exports=r},55189:(e,t,n)=>{var r=n(44174),o=n(81119),i=n(67206),a=n(1469);e.exports=function(e,t){return function(n,s){var c=a(n)?r:o,u=t?t():{};return c(n,e,i(s,2),u)}}},21463:(e,t,n)=>{var r=n(5976),o=n(16612);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var c=n[r];c&&e(t,c,r,a)}return t}))}},99291:(e,t,n)=>{var r=n(98612);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==o(s[a],a,s););return n}}},25063:e=>{e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++o];if(!1===n(i[c],c,i))break}return t}}},89179:(e,t,n)=>{var r=n(55639),o=n(40554),i=n(14841),a=n(79833),s=r.isFinite,c=Math.min;e.exports=function(e){var t=Math[e];return function(e,n){if(e=i(e),(n=null==n?0:c(o(n),292))&&s(e)){var r=(a(e)+"e").split("e"),u=t(r[0]+"e"+(+r[1]+n));return+((r=(a(u)+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}},23593:(e,t,n)=>{var r=n(58525),o=n(50308),i=n(21814),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},60696:(e,t,n)=>{var r=n(68630);e.exports=function(e){return r(e)?void 0:e}},38777:(e,t,n)=>{var r=n(10852),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},67114:(e,t,n)=>{var r=n(88668),o=n(82908),i=n(74757);e.exports=function(e,t,n,a,s,c){var u=1&n,l=e.length,f=t.length;if(l!=f&&!(u&&f>l))return!1;var p=c.get(e),d=c.get(t);if(p&&d)return p==t&&d==e;var h=-1,m=!0,g=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++h<l;){var v=e[h],y=t[h];if(a)var b=u?a(y,v,h,t,e,c):a(v,y,h,e,t,c);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(v===e||s(v,e,n,a,c)))return g.push(t)}))){m=!1;break}}else if(v!==y&&!s(v,y,n,a,c)){m=!1;break}}return c.delete(e),c.delete(t),m}},18351:(e,t,n)=>{var r=n(62705),o=n(11149),i=n(77813),a=n(67114),s=n(68776),c=n(21814),u=r?r.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=s;case"[object Set]":var h=1&r;if(d||(d=c),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var g=a(d(e),d(t),r,u,f,p);return p.delete(e),g;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},16096:(e,t,n)=>{var r=n(58234),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var c=1&n,u=r(e),l=u.length;if(l!=r(t).length&&!c)return!1;for(var f=l;f--;){var p=u[f];if(!(c?p in t:o.call(t,p)))return!1}var d=s.get(e),h=s.get(t);if(d&&h)return d==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=c;++f<l;){var v=e[p=u[f]],y=t[p];if(i)var b=c?i(y,v,p,t,e,s):i(v,y,p,e,t,s);if(!(void 0===b?v===y||a(v,y,n,i,s):b)){m=!1;break}g||(g="constructor"==p)}if(m&&!g){var w=e.constructor,O=t.constructor;w==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof O&&O instanceof O||(m=!1)}return s.delete(e),s.delete(t),m}},99021:(e,t,n)=>{var r=n(85564),o=n(45357),i=n(30061);e.exports=function(e){return i(o(e,void 0,r),e+"")}},31957:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},58234:(e,t,n)=>{var r=n(68866),o=n(99551),i=n(3674);e.exports=function(e){return r(e,i,o)}},46904:(e,t,n)=>{var r=n(68866),o=n(51442),i=n(81704);e.exports=function(e){return r(e,i,o)}},45050:(e,t,n)=>{var r=n(37019);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},1499:(e,t,n)=>{var r=n(89162),o=n(3674);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},10852:(e,t,n)=>{var r=n(28458),o=n(47801);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},85924:(e,t,n)=>{var r=n(5569)(Object.getPrototypeOf,Object);e.exports=r},89607:(e,t,n)=>{var r=n(62705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},99551:(e,t,n)=>{var r=n(34963),o=n(70479),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},51442:(e,t,n)=>{var r=n(62488),o=n(85924),i=n(99551),a=n(70479),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},64160:(e,t,n)=>{var r=n(18552),o=n(57071),i=n(53818),a=n(58525),s=n(70577),c=n(44239),u=n(80346),l="[object Map]",f="[object Promise]",p="[object Set]",d="[object WeakMap]",h="[object DataView]",m=u(r),g=u(o),v=u(i),y=u(a),b=u(s),w=c;(r&&w(new r(new ArrayBuffer(1)))!=h||o&&w(new o)!=l||i&&w(i.resolve())!=f||a&&w(new a)!=p||s&&w(new s)!=d)&&(w=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case m:return h;case g:return l;case v:return f;case y:return p;case b:return d}return t}),e.exports=w},47801:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},222:(e,t,n)=>{var r=n(71811),o=n(35694),i=n(1469),a=n(65776),s=n(41780),c=n(40327);e.exports=function(e,t,n){for(var u=-1,l=(t=r(t,e)).length,f=!1;++u<l;){var p=c(t[u]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++u!=l?f:!!(l=null==e?0:e.length)&&s(l)&&a(p,l)&&(i(e)||o(e))}},51789:(e,t,n)=>{var r=n(94536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},80401:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},57667:(e,t,n)=>{var r=n(94536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},21327:(e,t,n)=>{var r=n(94536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},81866:(e,t,n)=>{var r=n(94536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},43824:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},29148:(e,t,n)=>{var r=n(74318),o=n(57157),i=n(93147),a=n(40419),s=n(77133);e.exports=function(e,t,n){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},38517:(e,t,n)=>{var r=n(3118),o=n(85924),i=n(25726);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},37285:(e,t,n)=>{var r=n(62705),o=n(35694),i=n(1469),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},65776:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},16612:(e,t,n)=>{var r=n(77813),o=n(98612),i=n(65776),a=n(13218);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},15403:(e,t,n)=>{var r=n(1469),o=n(33448),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},37019:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},15346:(e,t,n)=>{var r,o=n(14429),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},25726:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},89162:(e,t,n)=>{var r=n(13218);e.exports=function(e){return e==e&&!r(e)}},27040:e=>{e.exports=function(){this.__data__=[],this.size=0}},14125:(e,t,n)=>{var r=n(18470),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},82117:(e,t,n)=>{var r=n(18470);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},67518:(e,t,n)=>{var r=n(18470);e.exports=function(e){return r(this.__data__,e)>-1}},54705:(e,t,n)=>{var r=n(18470);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},24785:(e,t,n)=>{var r=n(1989),o=n(38407),i=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},11285:(e,t,n)=>{var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},96e3:(e,t,n)=>{var r=n(45050);e.exports=function(e){return r(this,e).get(e)}},49916:(e,t,n)=>{var r=n(45050);e.exports=function(e){return r(this,e).has(e)}},95265:(e,t,n)=>{var r=n(45050);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},68776:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},42634:e=>{e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},24523:(e,t,n)=>{var r=n(88306);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},94536:(e,t,n)=>{var r=n(10852)(Object,"create");e.exports=r},86916:(e,t,n)=>{var r=n(5569)(Object.keys,Object);e.exports=r},33498:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},31167:(e,t,n)=>{e=n.nmd(e);var r=n(31957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},45357:(e,t,n)=>{var r=n(96874),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),c=Array(s);++a<s;)c[a]=i[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=i[a];return u[t]=n(c),r(e,this,u)}}},40292:(e,t,n)=>{var r=n(97786),o=n(14259);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},55639:(e,t,n)=>{var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},36390:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},90619:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:e=>{e.exports=function(e){return this.__data__.has(e)}},21814:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},30061:e=>{e.exports=function(e){return e}},37465:(e,t,n)=>{var r=n(38407);e.exports=function(){this.__data__=new r,this.size=0}},63779:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},67599:e=>{e.exports=function(e){return this.__data__.get(e)}},44758:e=>{e.exports=function(e){return this.__data__.has(e)}},34309:(e,t,n)=>{var r=n(38407),o=n(57071),i=n(83369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},42351:e=>{e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},55514:(e,t,n)=>{var r=n(24523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},40327:e=>{e.exports=function(e){return e}},80346:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},23279:(e,t,n)=>{var r=n(13218),o=n(7771),i=n(14841),a=Math.max,s=Math.min;e.exports=function(e,t,n){var c,u,l,f,p,d,h=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=c,r=u;return c=u=void 0,h=t,f=e.apply(r,n)}function b(e){return h=e,p=setTimeout(O,t),m?y(e):f}function w(e){var n=e-d;return void 0===d||n>=t||n<0||g&&e-h>=l}function O(){var e=o();if(w(e))return x(e);p=setTimeout(O,function(e){var n=t-(e-d);return g?s(n,l-(e-h)):n}(e))}function x(e){return p=void 0,v&&c?y(e):(c=u=void 0,f)}function S(){var e=o(),n=w(e);if(c=arguments,u=this,d=e,n){if(void 0===p)return b(d);if(g)return clearTimeout(p),p=setTimeout(O,t),y(d)}return void 0===p&&(p=setTimeout(O,t)),f}return t=i(t)||0,r(n)&&(m=!!n.leading,l=(g="maxWait"in n)?a(i(n.maxWait)||0,t):l,v="trailing"in n?!!n.trailing:v),S.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=d=u=p=void 0},S.flush=function(){return void 0===p?f:x(o())},S}},91966:(e,t,n)=>{var r=n(20731),o=n(21078),i=n(5976),a=n(29246),s=i((function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]}));e.exports=s},77813:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},85564:(e,t,n)=>{var r=n(21078);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},27361:(e,t,n)=>{var r=n(97786);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},7739:(e,t,n)=>{var r=n(89465),o=n(55189),i=Object.prototype.hasOwnProperty,a=o((function(e,t,n){i.call(e,n)?e[n].push(t):r(e,n,[t])}));e.exports=a},79095:(e,t,n)=>{var r=n(13),o=n(222);e.exports=function(e,t){return null!=e&&o(e,t,r)}},6557:e=>{e.exports=function(e){return e}},35694:(e,t,n)=>{var r=n(9454),o=n(37005),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},1469:e=>{var t=Array.isArray;e.exports=t},98612:(e,t,n)=>{var r=n(23560),o=n(41780);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},29246:(e,t,n)=>{var r=n(98612),o=n(37005);e.exports=function(e){return o(e)&&r(e)}},44144:(e,t,n)=>{e=n.nmd(e);var r=n(55639),o=n(95062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;e.exports=c},41609:(e,t,n)=>{var r=n(280),o=n(64160),i=n(35694),a=n(1469),s=n(98612),c=n(44144),u=n(25726),l=n(36719),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||l(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(u(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},18446:(e,t,n)=>{var r=n(90939);e.exports=function(e,t){return r(e,t)}},23560:(e,t,n)=>{var r=n(44239),o=n(13218);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},56688:(e,t,n)=>{var r=n(25588),o=n(7518),i=n(31167),a=i&&i.isMap,s=a?o(a):r;e.exports=s},14293:e=>{e.exports=function(e){return null==e}},13218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},68630:(e,t,n)=>{var r=n(44239),o=n(85924),i=n(37005),a=Function.prototype,s=Object.prototype,c=a.toString,u=s.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},72928:(e,t,n)=>{var r=n(29221),o=n(7518),i=n(31167),a=i&&i.isSet,s=a?o(a):r;e.exports=s},47037:(e,t,n)=>{var r=n(44239),o=n(1469),i=n(37005);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},33448:(e,t,n)=>{var r=n(44239),o=n(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},36719:(e,t,n)=>{var r=n(38749),o=n(7518),i=n(31167),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},3674:(e,t,n)=>{var r=n(14636),o=n(280),i=n(98612);e.exports=function(e){return i(e)?r(e):o(e)}},81704:(e,t,n)=>{var r=n(14636),o=n(10313),i=n(98612);e.exports=function(e){return i(e)?r(e,!0):o(e)}},10928:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},88306:(e,t,n)=>{var r=n(83369);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},82492:(e,t,n)=>{var r=n(42980),o=n(21463)((function(e,t,n){r(e,t,n)}));e.exports=o},94885:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},50308:e=>{e.exports=function(){}},7771:(e,t,n)=>{var r=n(55639);e.exports=function(){return r.Date.now()}},57557:(e,t,n)=>{var r=n(29932),o=n(85990),i=n(57406),a=n(71811),s=n(98363),c=n(60696),u=n(99021),l=n(46904),f=u((function(e,t){var n={};if(null==e)return n;var u=!1;t=r(t,(function(t){return t=a(t,e),u||(u=t.length>1),t})),s(e,l(e),n),u&&(n=o(n,7,c));for(var f=t.length;f--;)i(n,t[f]);return n}));e.exports=f},14176:(e,t,n)=>{var r=n(67206),o=n(94885),i=n(35937);e.exports=function(e,t){return i(e,o(r(t)))}},78718:(e,t,n)=>{var r=n(25970),o=n(99021)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},35937:(e,t,n)=>{var r=n(29932),o=n(67206),i=n(63012),a=n(46904);e.exports=function(e,t){if(null==e)return{};var n=r(a(e),(function(e){return[e]}));return t=o(t),i(e,n,(function(e,n){return t(e,n[0])}))}},39601:(e,t,n)=>{var r=n(40371),o=n(79152),i=n(15403),a=n(40327);e.exports=function(e){return i(e)?r(a(e)):o(e)}},54061:(e,t,n)=>{var r=n(62663),o=n(89881),i=n(67206),a=n(10107),s=n(1469);e.exports=function(e,t,n){var c=s(e)?r:a,u=arguments.length<3;return c(e,i(t,4),n,u,o)}},59854:(e,t,n)=>{var r=n(89179)("round");e.exports=r},36968:(e,t,n)=>{var r=n(10611);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},70479:e=>{e.exports=function(){return[]}},95062:e=>{e.exports=function(){return!1}},23493:(e,t,n)=>{var r=n(23279),o=n(13218);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},40554:e=>{e.exports=function(e){return e}},14841:e=>{e.exports=function(e){return e}},59881:(e,t,n)=>{var r=n(98363),o=n(81704);e.exports=function(e){return r(e,o(e))}},79833:e=>{e.exports=function(e){return e}},68718:(e,t,n)=>{var r=n(77412),o=n(3118),i=n(47816),a=n(67206),s=n(85924),c=n(1469),u=n(44144),l=n(23560),f=n(13218),p=n(36719);e.exports=function(e,t,n){var d=c(e),h=d||u(e)||p(e);if(t=a(t,4),null==n){var m=e&&e.constructor;n=h?d?new m:[]:f(e)&&l(m)?o(s(e)):{}}return(h?r:i)(e,(function(e,r,o){return t(n,e,r,o)})),n}},93386:(e,t,n)=>{var r=n(21078),o=n(5976),i=n(45652),a=n(29246),s=o((function(e){return i(r(e,1,a,!0))}));e.exports=s},27418:e=>{"use strict";
2
2
  /*
3
3
  object-assign
4
4
  (c) Sindre Sorhus