tocco-devcon 1.0.69 → 1.0.70
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/changelog.md
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunktocco_devcon=self.webpackChunktocco_devcon||[]).push([[85],{24295:(e,t,r)=>{r.r(t),r.d(t,{default:()=>ye});var n=r(68957),a=r(91411),o=r(86249),l=r.n(o),i=(r(58900),r(78634)),c=r(84100),s=r(60131),u=r(48230),f=r(64952),d=r(469),h=r(81896),b=r(46940),p=r(27361),g=r.n(p),m=r(14293),w=r.n(m),v=r(13218),y=r.n(v),k=r(47037),x=r.n(k),T=r(1024),Z=r(58804),C=(r(39335),r(28212),r(6488),r(32510),r(79657),r(20844),r(41030),r(98827),r(37363),r(53299),r(54159)),O=function(e){return C.Z.executeRequest("rest/".concat(e))},D=function(e){return 200===e.status?e.json():null},_=r(44822),j=r(11259),P=r(32208),q=r(99357),M=r(19241),U=(r(70646),r(1469)),R=r.n(U),S=r(30236),H=r.n(S),L=["==","!=","<=",">=","<",">","~="],E=["true","false","null"],N=["string","long","serial","bool","boolean","double","float","time","timestamp","char","varchar","date","datetime"],I=["now_date","yesterday_date","tomorrow_date","today_date","now_start","yesterday_start","tomorrow_start","today_start","now","yesterday","tomorrow","today","currentUsername","currentUser","currentBu"],Y=["in","dateadd","datetimeadd","duedate","birthdayin","fulltext","likeall","distance","inboundingbox"];function B(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 r,n=(0,M.Z)(e);if(t){var a=(0,M.Z)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return(0,q.Z)(this,r)}}const F=function(e){return function(t){(0,P.Z)(n,t);var r=B(n);function n(){var t;(0,j.Z)(this,n),t=r.call(this);var a=[{token:"keyword.operator.conjunction",regex:/(\s*)(and|or|not)($|\s+)/,caseInsensitive:!0},{token:"support.class.relation",regex:/rel/,push:"model"},{token:"keyword.exists",regex:/exists\s*/,push:"exists",caseInsensitive:!0},{token:"keyword.count",regex:/count\s*/,push:"count",caseInsensitive:!0},{token:["keyword.function.nice_function","paren.lparen.function_arguments","text.function_arguments","paren.rparen","text.whitespace"],regex:"((?:".concat(Y.join("|"),")\\s*)(\\()(.*?)(\\))($|\\s+)"),caseInsensitive:!0},{token:"keyword.other.chaining",regex:/\./},{token:"support.function.field",regex:/([a-z_]+)($|\s+)/,push:"comparison"}],o={start:e?[{token:"keyword.where",regex:/\s*/,next:"rootwhere",caseInsensitive:!0}]:[{token:"keyword.find",regex:/find($|\s+)/,push:"model",caseInsensitive:!0},{token:"keyword.where",regex:/where($|\s+)/,next:"rootwhere",caseInsensitive:!0}],model:[{token:"support.class.model",regex:/[A-Z][a-z_0-9]*\s*/,next:"pop"}],rootwhere:[{token:"keyword.order_by",regex:/order by($|\s+)/,next:"order",caseInsensitive:!0}].concat(a),comparison:[{token:"keyword.operator.comparison",regex:"(".concat(L.join("|"),")\\s*"),next:"value"}],value:[{token:"string",regex:/".*?"\s*/,next:"pop"},{token:"constant.numeric",regex:/\d+(.\d+)?\s*/,next:"pop"},{token:"constant.language.tocco_placeholder",regex:"\\:(".concat(I.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"constant.language",regex:"(".concat(E.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"support.type",regex:"(".concat(N.join("|"),"):\\s*"),caseInsensitive:!0}],exists:[{token:"paren.lparen",regex:/\(\s*/},{token:"support.class.relation",regex:/rel/,push:"model"},{token:"keyword.other.chaining",regex:/\./},{token:"keyword.where",regex:/where($|\s+)/,next:"existswhere",caseInsensitive:!0},{token:"paren.rparen",regex:/\)\s*/,next:"pop"}],existswhere:[].concat(a,[{token:"paren.rparen",regex:/\)\s*/,next:"pop"}]),count:[{token:"paren.lparen",regex:/\(\s*/},{token:"support.class.relation",regex:/rel/,push:"model"},{token:"keyword.other.chaining",regex:/\./},{token:"keyword.where",regex:/where($|\s+)/,next:"countwhere",caseInsensitive:!0},{token:"paren.rparen",regex:/\)\s*/,next:"comparison"}],countwhere:[].concat(a,[{token:"paren.rparen",regex:/\)\s*/,next:"comparison"}]),order:[{token:"support.class.relation",regex:/rel/,push:"model"},{token:"keyword.other.chaining",regex:/\./},{token:["support.function.field","keyword.direction","separator"],regex:/([a-z_]+\s*)(asc|desc)?($|,|\s+)/}]};return t.$rules=H()(t.$rules,o,(function(e,t){return R()(e)?e.concat(t):void 0})),t.normalizeRules(),t}return(0,_.Z)(n)}(l().require("ace/mode/text_highlight_rules").TextHighlightRules)};function z(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 r,n=(0,M.Z)(e);if(t){var a=(0,M.Z)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return(0,q.Z)(this,r)}}var G=function(e){(0,P.Z)(r,e);var t=z(r);function r(){var e;(0,j.Z)(this,r);return(e=t.call(this)).$rules={start:[{token:"constant.character.entity",regex:/&[^;]+;/},{token:"support.function",regex:"\\?(\\?|substring|cap_first|uncap_first|capitalize|chop_linebreak|date|time|datetime|ends_with|html|groups|index_of|j_string|js_string|json_string|last_index_of|length|lower_case|left_pad|right_pad|contains|matches|number|replace|rtf|url|split|starts_with|string|trim|upper_case|word_list|xhtml|xmlc|round|floor|ceilingiso_[a-z_]+first|last|seq_contains|seq_index_of|seq_last_index_of|reverse|size|sort|sort_by|chunkkeys|valueschildren|parent|root|ancestors|node_name|node_type|node_namespacebyte|double|float|int|long|short|number_to_date|number_to_time|number_to_datetime|eval|has_content|interpret|is_[a-z_]+|namespacenew)"},{token:"support.function.deprecated",regex:"\\?(default|exists|if_exists|web_safe)"},{token:"language.variable",regex:"\\.(?:data_model|error|globals|lang|locale|locals|main|namespace|node|current_node|now|output_encoding|template_name|url_escaping_charset|vars|version)"},{token:"constant.language",regex:"\\b(true|false)\\b"},{token:"keyword.operator",regex:"\\b(?:gt|gte|lt|lte|as|in|using)\\b"},{token:"entity.other.attribute-name",regex:"encoding|parse|locale|number_format|date_format|time_format|datetime_format|time_zone|url_escaping_charset|classic_compatible|strip_whitespace|strip_text|strict_syntax|ns_prefixes|attributes"},{token:"string",regex:/['"]/,next:"qstring"},{token:function(e){return e.match("^[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?$")?"constant.numeric":"variable"},regex:/[\w.+-]+/},{token:"keyword.operator",regex:"!|\\.|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^="},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],qstring:[{token:"constant.character.escape",regex:'\\\\[nrtvef\\\\"$]'},{token:"string",regex:/['"]/,next:"start"},{defaultToken:"string"}]},e}return(0,_.Z)(r)}(l().require("ace/mode/text_highlight_rules").TextHighlightRules),Q=function(e){(0,P.Z)(r,e);var t=z(r);function r(){var e;(0,j.Z)(this,r),e=t.call(this);var n=["query","queryCount"],a=[{token:"keyword.function",regex:"\\[@(".concat(n.join("|"),").*?]"),push:"tql-start"},{token:"comment",regex:"\\[#--",next:"ftl-dcomment"},{token:"string.interpolated",regex:"\\${",push:"ftl-start"},{token:"keyword.function",regex:"\\[/?#(assign|attempt|break|case|compress|default|elseif|else|escape|fallback|function|flush|ftl|global|if|import|include|list|local|lt|macro|nested|noescape|noparse|nt|recover|recurse|return|rt|setting|stop|switch|t|visit)",push:"ftl-start"},{token:"keyword.other",regex:"\\[/?@[a-zA-Z\\.]+",push:"ftl-start"}];for(var o in e.$rules)e.$rules[o].unshift.apply(e.$rules[o],a);e.embedRules(G,"ftl-",[{token:"keyword",regex:"/?\\]",next:"pop"},{token:"string.interpolated",regex:"}",next:"pop"}],["start"]),e.addRules({"ftl-dcomment":[{token:"comment",regex:"--\\]",next:"pop"},{defaultToken:"comment"}]});var l=[{token:"keyword.function",regex:"\\[/@(".concat(n.join("|"),")]"),next:"pop"}];e.embedRules(F(),"tql-",l,["start"]);var i={"tql-rootwhere":[{token:"keyword.function",regex:"\\[/@(".concat(n.join("|"),")]"),next:"pop"}],"tql-order":[{token:"keyword.function",regex:"\\[/@(".concat(n.join("|"),")]"),next:"pop"}]};return e.$rules=H()(e.$rules,i,(function(e,t){return R()(e)?e.concat(t):void 0})),e.normalizeRules(),e}return(0,_.Z)(r)}(l().require("ace/mode/html_highlight_rules").HtmlHighlightRules),$=r(52902),A=r(45915),W=l().require("ace/token_iterator").TokenIterator,V=function(e){return e?e.type.substring(e.type.lastIndexOf(".")+1):null},K=function(e,t){return V(e.getCurrentToken())===t},X=function(e){if(K(e,"model")&&e.stepBackward(),(K(e,"field")||K(e,"relation"))&&e.stepBackward(),!K(e,"chaining"))return null;if(e.stepBackward(),K(e,"model")){var t=e.getCurrentToken();return e.stepBackward(),e.stepBackward(),t?t.value.trim():null}return null},J=function(e,t){for(;!K(e,t);)if(!e.stepBackward())return!1;return!0},ee=function(e,t){return K(e,"rparen")?1:t>0&&K(e,"lparen")?(e.stepBackward(),-1):0},te=function(e){for(var t=0;e.getCurrentToken();){if(0===t&&K(e,"where")){var r=e.stepBackward();return r?[r.value.trim()].concat((0,A.Z)(ne(e))):[]}if(K(e,"order_by")){if(J(e,"find")){var n=e.stepForward();return n?n.value.trim():[]}return[]}if(t+=ee(e,t),!e.stepBackward())return null}return null},re=function(e,t){for(var r=[],n=t(e);n;)Array.isArray(n)?n.forEach((function(e){return r.unshift(e)})):r.unshift(n),n=t(e);return r},ne=function(e){return re(e,X)},ae=function(e){return re(e,te)},oe=1e3,le=function(e,t,r){var n=function(e,t){if(t){var r=ae(e());return{baseModel:t,modelScope:(0,$.Z)(r).slice(0)}}var n=ae(e()),a=(0,$.Z)(n);return{baseModel:a[0],modelScope:a.slice(1)}}(e,r),a=n.baseModel,o=n.modelScope;if(a){var l=ne(e()),i=[].concat((0,A.Z)(o),(0,A.Z)(l)).map((function(e){return"rel".concat(e)}));(function(e){var t=(0,$.Z)(e),r=t[0],n=t.slice(1);return O(function(e,t){var r=t.length>0?"/resolve?path="+t.join("."):"";return"entities/".concat(e,"/model").concat(r)}(r,n)).then(D).then((function(e){if(!e)return[];var t=e.fields||[],r=e.relations||[];return[].concat((0,A.Z)(t.map((function(e){return{label:(t=e,t.label?"".concat(t.fieldName," (").concat(t.label,")"):t.fieldName),value:e.fieldName,meta:e.type};var t}))),(0,A.Z)(r.map((function(e){return{label:(t=e,t.label?"".concat(t.relationName," (").concat(t.label,")"):t.relationName),value:e.relationName,meta:e.targetEntity};var t}))))}))})([a].concat((0,A.Z)(i))).then((function(e){var r=e.map((function(e){return{caption:e.label,value:e.value,meta:e.meta,score:oe}}));t(null,r)})).catch((function(e){return t(e)}))}},ie=function(e,t){return t?"".concat(e," (").concat(t,")"):e},ce=function(e){return O("entities").then(D).then((function(e){return e?e.entities:{}})).then((function(e){return e?Object.values(e):[]})).then((function(e){return e.map((function(e){return e.metaData}))})).then((function(t){var r=t.map((function(e){var t=e.modelName,r=e.label;return{caption:ie(t,r),value:t,score:oe}}));e(null,r)})).catch((function(t){return e(t)}))},se=function(){return Y.map((function(e){return e.toUpperCase()})).map((function(e){return{caption:e,value:"".concat(e,"()"),meta:"function",score:970}}))};const ue=function(e){return{getCompletions:function(t,r,n,a,o){var l=function(){return new W(r,n.row,n.column)},i=l(),c=i.getCurrentToken(),s=i.stepBackward()?i.getCurrentToken():null;switch(V(c)){case"chaining":case"relation":case"separator":case"order_by":case"count":case"exists":case"field":case"function_arguments":le(l,o,e);break;case"where":case"conjunction":le(l,o,e),o(null,se());break;case"nice_function":o(null,se());break;case"find":ce(o);break;case"type":case"tocco_placeholder":case"comparison":o(null,N.map((function(e){return{caption:e,value:"".concat(e,":"),meta:"type",score:980}}))),o(null,I.map((function(e){return{caption:e,value:":".concat(e),meta:"placeholder",score:990}})));break;case"model":le(l,o,e),s&&"relation"!==V(s)&&ce(o);break;case null:e&&le(l,o,e),o(null,se())}}}};function fe(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 r,n=(0,M.Z)(e);if(t){var a=(0,M.Z)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return(0,q.Z)(this,r)}}var de=function(e){(0,P.Z)(r,e);var t=fe(r);function r(){var e;return(0,j.Z)(this,r),(e=t.call(this)).HighlightRules=Q,e.completer=ue(),e}return(0,_.Z)(r)}(l().require("ace/mode/ftl").Mode);function he(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 r,n=(0,M.Z)(e);if(t){var a=(0,M.Z)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return(0,q.Z)(this,r)}}var be,pe=function(e){(0,P.Z)(r,e);var t=he(r);function r(e){var n,a=e.implicitModelName;return(0,j.Z)(this,r),(n=t.call(this)).HighlightRules=F(a),n.completer=ue(a),n.snippedIdField=null,n}return(0,_.Z)(r)}(l().require("ace/mode/text").Mode),ge=r(85893),me=Z.ZP.div.withConfig({displayName:"StyledEditor"})(be||(be=(0,a.Z)(["\n width: 100%;\n z-index: 0; /* gutter lays over menu otherwise */\n"]))),we={groovy:function(){return new c.Mode},html:function(){return new s.Mode},xml:function(){return new b.Mode},properties:function(){return new d.Mode},json:function(){return new u.Mode},htmlmixed:function(){return new de},freemarkermixed:function(){return new de},ftl:function(){return new de},tql:function(e){return new pe(e)},less:function(){return new f.Mode},drools:function(){return new i.Mode},text:function(){return new h.Mode}},ve=function(e,t){var r=t.mode,a=t.theme,o=t.showGutter,l=t.editorOptions,i=void 0===l?{}:l;(function(e){return x()(e)?Promise.resolve(e):y()(e)?O("entities/2.0/".concat(e.entityModel,"/").concat(e.key,"?_paths=").concat(e.field)).then(D).then((function(e){return g()(e,["paths","entity_name","value"],null)})):Promise.resolve(null)})(t.implicitModel).then((function(e){return function(e,t){return g()(we,e,e)(t)}(r,{implicitModelName:e})})).then((function(t){return e.getSession().setMode(t)})),e.setTheme("ace/theme/".concat(a)),Object.entries(i).forEach((function(t){var r=(0,n.Z)(t,2),a=r[0],o=r[1];e.setOption(a,o)})),e.renderer.setShowGutter(o),e.resize()};const ye=function(e){var t=e.mode,r=e.theme,n=void 0===r?"textmate":r,a=e.value,o=e.onChange,i=e.showGutter,c=void 0===i||i,s=e.editorOptions,u=void 0===s?{}:s,f=e.implicitModel,d=(0,T.useRef)(null),h=(0,T.useRef)(null),b=(0,T.useMemo)((function(){return{mode:t,theme:n,showGutter:c,editorOptions:u,implicitModel:f}}),[t,n,c,u,f]);return(0,T.useEffect)((function(){var e=l().edit(d.current);return e.getSession().setValue(a||""),e.on("change",(function(){return o(e.getValue())})),ve(e,b),h.current=e,function(){return e.destroy()}}),[]),(0,T.useEffect)((function(){h.current&&ve(h.current,b)}),[b]),(0,T.useEffect)((function(){h.current&&!w()(a)&&a!==h.current.getValue()&&h.current.getSession().setValue(a)}),[a]),(0,ge.jsx)(me,{ref:d})}},91860:(e,t,r)=>{r.r(t),r.d(t,{default:()=>P});var n,a,o,l=r(68957),i=(r(44661),r(75502)),c=r(65809),s=r(94712),u=r(1024),f=r(12520),d=r.n(f),h=r(74806),b=r(58804),p=r(86507),g=r(2091),m=r(65035),w=r(5429),v=function(e){var t=(0,w.default)(e);return isNaN(t)?null:t},y=r(91411),k=r(30759),x=r(51032),T=b.ZP.div.withConfig({displayName:"StyledDatePickerOuterWrapper"})(n||(n=(0,y.Z)(["\n outline: ",";\n"])),(function(e){return e.immutable?0:"initial"})),Z=b.ZP.div.withConfig({displayName:"StyledDatePickerWrapper"})(a||(a=(0,y.Z)(["\n && {\n ","\n\n & .react-datepicker__input-container {\n & input {\n ","\n width: calc(100% - 5px);\n }\n }\n\n & .react-datepicker {\n & .react-datepicker__today-button {\n ","\n }\n }\n }\n"])),x.yP,x.k9,(function(e){return e.hasTime&&"border-bottom: 1px solid #aeaeae;"})),C=b.ZP.input.withConfig({displayName:"StyledTimeInput"})(o||(o=(0,y.Z)(["\n ","\n border: none;\n outline: none;\n min-height: 2.6rem;\n"])),(0,k.Z)()),O=r(85893);(0,f.registerLocale)("en",p.Z.getDateFnsLocale("en")),(0,f.registerLocale)("en-US",p.Z.getDateFnsLocale("en")),(0,f.registerLocale)("de-CH",p.Z.getDateFnsLocale("de-CH")),(0,f.registerLocale)("de",p.Z.getDateFnsLocale("de")),(0,f.registerLocale)("fr",p.Z.getDateFnsLocale("fr")),(0,f.registerLocale)("fr-CH",p.Z.getDateFnsLocale("fr")),(0,f.registerLocale)("it",p.Z.getDateFnsLocale("it")),(0,f.registerLocale)("it-CH",p.Z.getDateFnsLocale("it")),(0,f.setDefaultLocale)("de");var D="react-datepicker-time__input",_=function(e){var t=e.onChange,r=e.label;return(0,O.jsx)(m.Z,{onMouseDown:function(e){e.preventDefault(),t(null)},children:r})},j=function(e){var t=e.value,r=e.onChange,n=e.onKeyDown;return(0,O.jsx)(C,{type:"time",className:D,required:!0,value:t,onKeyDown:n,onChange:function(e){r&&r(e.target.value)},onClick:function(e){e.target.focus()}})};const P=(0,b.Zz)((0,h.ZP)((function(e){var t=e.immutable,r=e.id,n=e.value,a=e.minDate,o=e.maxDate,f=e.onChange,h=e.intl,b=e.placeholder,m=e.hasTime,w=e.dateFormat,y=h.locale,k=function(e){return h.formatMessage({id:e})},x=(0,u.useRef)(null),C=(0,u.useRef)(null),P=(0,u.useState)(!1),q=(0,l.Z)(P,2),M=q[0],U=q[1],R=Boolean(n),S=v(n),H=a?v(a):void 0,L=o?v(o):void 0,E=function(e){var t,r;(U(e),null!==(t=C.current)&&void 0!==t&&t.setPreSelection)&&(null===(r=C.current)||void 0===r||r.setPreSelection(S))},N=function(e){"Tab"!==e.key||e.shiftKey||(e.target.classList.contains("react-datepicker__day")?m?function(e){var t=e.querySelector("input.".concat(D));t&&t.focus()}(x.current):E(!1):function(e){return e.classList.contains(D)}(e.target)&&E(!1)),function(e){return e.classList.contains("react-datepicker-ignore-onclickoutside")}(e.target)&&"Tab"===e.key&&e.shiftKey&&E(!1),"Enter"===e.key&&(E(!1),e.preventDefault(),e.stopPropagation())},I=!t&&R;return(0,O.jsx)(T,{immutable:t,id:r,tabIndex:"-1",children:(0,O.jsxs)(Z,{immutable:t,ref:x,hasTime:m,children:[(0,O.jsx)(d(),{ref:C,selected:S,onChange:function(e){if(e){var t=!n&&e,r=(0,i.default)(e),a=(0,c.default)(e)!==(0,c.default)(r)||(0,s.default)(e)!==(0,s.default)(r);t&&m&&!a&&(e=p.Z.setCurrentTime(e)),f(e.toISOString())}},disabled:t,showTimeInput:m,dateFormat:w,placeholderText:b,showMonthDropdown:!0,showYearDropdown:!0,scrollableYearDropdown:!1,fixedHeight:!0,showPopperArrow:!1,closeOnScroll:function(){return E(!1),!0},open:M,onFocus:function(){E(!0)},onClickOutside:function(){E(!1)},locale:y,onKeyDown:N,customTimeInput:(0,O.jsx)(j,{onKeyDown:N}),enableTabLoop:!1,timeInputLabel:"",minDate:H,maxDate:L,popperProps:{strategy:"fixed"},todayButton:(0,O.jsx)(_,{onChange:f,label:k("client.component.datePicker.todayLabel")})}),I&&(0,O.jsx)(g.Z,{icon:"times",tabIndex:-1,"aria-label":k("client.component.datePicker.clearDateLabel"),onMouseDown:function(e){e.preventDefault(),f(null)}}),!t&&(0,O.jsx)(g.Z,{icon:"calendar",tabIndex:-1,onMouseDown:function(e){e.preventDefault(),e.stopPropagation(),E(!M)}})]})})})))},48078:(e,t,r)=>{r.r(t),r.d(t,{default:()=>c});var n=r(52817),a=r(41609),o=r.n(a),l=r(41291),i=r(85893);const c=function(e){var t=e.value,r=e.breakWords,a=(0,n._)(t),c=o()(a)?t:a.formatInternational();return(0,i.jsx)(l.Z,{href:"tel:".concat(t),target:"_blank",onClick:function(e){return e.stopPropagation()},label:c,breakWords:r})}},23710:(e,t,r)=>{r.r(t),r.d(t,{default:()=>V});var n=r(46927),a=r(72757),o=r(1024),l=r(86896),i=r(44822),c=r(11259),s=r(32208),u=r(99357),f=r(19241),d=r(11820),h=r(39269),b=r(48772),p=r(75528),g=r(52079),m=r(84184),w=r(40569),v=r(75460),y=r(65761),k=r(53626),x=r(73043),T=r(16797),Z=r(71297),C=r(55444),O=r(6672),D=r(18195),_=r(23132),j=r(37060),P=r(4175),q=r(14351),M=r(20211),U=r(51778),R=r(87388),S=r(89906),H=r(41831);function L(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 r,n=(0,f.Z)(e);if(t){var a=(0,f.Z)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return(0,u.Z)(this,r)}}var E=function(e){(0,s.Z)(r,e);var t=L(r);function r(){return(0,c.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r)}(d.Z);E.builtinPlugins=[h.Z,b.Z,w.Z,v.Z,y.Z,k.Z,x.Z,Z.Z,T.Z,C.Z,O.Z,D.Z,p.Z,_.Z,j.Z,P.Z,q.Z,M.Z,U.Z,g.Z,R.Z,S.Z,H.Z,m.Z],E.defaultConfig={toolbar:{items:["bold","italic","underline","strikethrough","removeFormat","|","heading","fontFamily","fontSize","fontColor","|","numberedList","bulletedList","|","link","|","insertTable","|","undo","redo","|","sourceEditing"]},language:{ui:"de",content:"de"},link:{addTargetToExternalLinks:!0},htmlSupport:{allow:[{name:/.*/,attributes:!0,classes:!0,styles:!0}]},table:{contentToolbar:["tableColumn","tableRow","mergeTableCells"]},heading:{options:[{model:"paragraph",title:"Paragraph",class:"ck-heading_paragraph"},{model:"heading1",view:"h1",title:"Heading 1",class:"ck-heading_heading1"},{model:"heading2",view:"h2",title:"Heading 2",class:"ck-heading_heading2"},{model:"heading3",view:"h3",title:"Heading 3",class:"ck-heading_heading3"},{model:"heading4",view:"h4",title:"Heading 4",class:"ck-heading_heading4"},{model:"heading5",view:"h5",title:"Heading 5",class:"ck-heading_heading5"},{model:"heading6",view:"h6",title:"Heading 6",class:"ck-heading_heading6"},{model:"normal",view:"div",title:"Normal (DIV)",class:"ck-heading_normal"}]},fontFamily:{options:["default","Arial,Helvetica,sans-serif","Comic Sans MS,cursive","Courier New,Courier,monospace","Georgia,serif","Lucida Sans Unicode,Lucida Grande,sans-serif","Tahoma,Geneva,sans-serif","Times New Roman,Times,serif","Trebuchet MS,Helvetica,sans-serif","Verdana,Geneva,sans-serif"],supportAllValues:!0},fontSize:{options:[8,10,11,12,"default",15,16,17,19,22,24,26,29,32,36,37,48,64],supportAllValues:!0},fontColor:{columns:10,colors:[{color:"hsl(6, 54%, 95%)",label:" "},{color:"hsl(6, 54%, 89%)",label:" "},{color:"hsl(6, 54%, 78%)",label:" "},{color:"hsl(6, 54%, 68%)",label:" "},{color:"hsl(6, 54%, 57%)",label:" "},{color:"hsl(6, 63%, 46%)",label:" "},{color:"hsl(6, 63%, 41%)",label:" "},{color:"hsl(6, 63%, 35%)",label:" "},{color:"hsl(6, 63%, 29%)",label:" "},{color:"hsl(6, 63%, 24%)",label:" "},{color:"hsl(6, 78%, 96%)",label:" "},{color:"hsl(6, 78%, 91%)",label:" "},{color:"hsl(6, 78%, 83%)",label:" "},{color:"hsl(6, 78%, 74%)",label:" "},{color:"hsl(6, 78%, 66%)",label:" "},{color:"hsl(6, 78%, 57%)",label:" "},{color:"hsl(6, 59%, 50%)",label:" "},{color:"hsl(6, 59%, 43%)",label:" "},{color:"hsl(6, 59%, 37%)",label:" "},{color:"hsl(6, 59%, 30%)",label:" "},{color:"hsl(283, 39%, 95%)",label:" "},{color:"hsl(283, 39%, 91%)",label:" "},{color:"hsl(283, 39%, 81%)",label:" "},{color:"hsl(283, 39%, 72%)",label:" "},{color:"hsl(283, 39%, 63%)",label:" "},{color:"hsl(283, 39%, 53%)",label:" "},{color:"hsl(283, 34%, 47%)",label:" "},{color:"hsl(283, 34%, 40%)",label:" "},{color:"hsl(283, 34%, 34%)",label:" "},{color:"hsl(283, 34%, 28%)",label:" "},{color:"hsl(282, 39%, 95%)",label:" "},{color:"hsl(282, 39%, 89%)",label:" "},{color:"hsl(282, 39%, 79%)",label:" "},{color:"hsl(282, 39%, 68%)",label:" "},{color:"hsl(282, 39%, 58%)",label:" "},{color:"hsl(282, 44%, 47%)",label:" "},{color:"hsl(282, 44%, 42%)",label:" "},{color:"hsl(282, 44%, 36%)",label:" "},{color:"hsl(282, 44%, 30%)",label:" "},{color:"hsl(282, 44%, 25%)",label:" "},{color:"hsl(204, 51%, 94%)",label:" "},{color:"hsl(204, 51%, 89%)",label:" "},{color:"hsl(204, 51%, 78%)",label:" "},{color:"hsl(204, 51%, 67%)",label:" "},{color:"hsl(204, 51%, 55%)",label:" "},{color:"hsl(204, 64%, 44%)",label:" "},{color:"hsl(204, 64%, 39%)",label:" "},{color:"hsl(204, 64%, 34%)",label:" "},{color:"hsl(204, 64%, 28%)",label:" "},{color:"hsl(204, 64%, 23%)",label:" "},{color:"hsl(204, 70%, 95%)",label:" "},{color:"hsl(204, 70%, 91%)",label:" "},{color:"hsl(204, 70%, 81%)",label:" "},{color:"hsl(204, 70%, 72%)",label:" "},{color:"hsl(204, 70%, 63%)",label:" "},{color:"hsl(204, 70%, 53%)",label:" "},{color:"hsl(204, 62%, 47%)",label:" "},{color:"hsl(204, 62%, 40%)",label:" "},{color:"hsl(204, 62%, 34%)",label:" "},{color:"hsl(204, 62%, 28%)",label:" "},{color:"hsl(168, 55%, 94%)",label:" "},{color:"hsl(168, 55%, 88%)",label:" "},{color:"hsl(168, 55%, 77%)",label:" "},{color:"hsl(168, 55%, 65%)",label:" "},{color:"hsl(168, 55%, 54%)",label:" "},{color:"hsl(168, 76%, 42%)",label:" "},{color:"hsl(168, 76%, 37%)",label:" "},{color:"hsl(168, 76%, 32%)",label:" "},{color:"hsl(168, 76%, 27%)",label:" "},{color:"hsl(168, 76%, 22%)",label:" "},{color:"hsl(168, 42%, 94%)",label:" "},{color:"hsl(168, 42%, 87%)",label:" "},{color:"hsl(168, 42%, 74%)",label:" "},{color:"hsl(168, 42%, 61%)",label:" "},{color:"hsl(168, 45%, 49%)",label:" "},{color:"hsl(168, 76%, 36%)",label:" "},{color:"hsl(168, 76%, 31%)",label:" "},{color:"hsl(168, 76%, 27%)",label:" "},{color:"hsl(168, 76%, 23%)",label:" "},{color:"hsl(168, 76%, 19%)",label:" "},{color:"hsl(145, 45%, 94%)",label:" "},{color:"hsl(145, 45%, 88%)",label:" "},{color:"hsl(145, 45%, 77%)",label:" "},{color:"hsl(145, 45%, 65%)",label:" "},{color:"hsl(145, 45%, 53%)",label:" "},{color:"hsl(145, 63%, 42%)",label:" "},{color:"hsl(145, 63%, 37%)",label:" "},{color:"hsl(145, 63%, 32%)",label:" "},{color:"hsl(145, 63%, 27%)",label:" "},{color:"hsl(145, 63%, 22%)",label:" "},{color:"hsl(145, 61%, 95%)",label:" "},{color:"hsl(145, 61%, 90%)",label:" "},{color:"hsl(145, 61%, 80%)",label:" "},{color:"hsl(145, 61%, 69%)",label:" "},{color:"hsl(145, 61%, 59%)",label:" "},{color:"hsl(145, 63%, 49%)",label:" "},{color:"hsl(145, 63%, 43%)",label:" "},{color:"hsl(145, 63%, 37%)",label:" "},{color:"hsl(145, 63%, 31%)",label:" "},{color:"hsl(145, 63%, 25%)",label:" "},{color:"hsl(48, 89%, 95%)",label:" "},{color:"hsl(48, 89%, 90%)",label:" "},{color:"hsl(48, 89%, 80%)",label:" "},{color:"hsl(48, 89%, 70%)",label:" "},{color:"hsl(48, 89%, 60%)",label:" "},{color:"hsl(48, 89%, 50%)",label:" "},{color:"hsl(48, 88%, 44%)",label:" "},{color:"hsl(48, 88%, 38%)",label:" "},{color:"hsl(48, 88%, 32%)",label:" "},{color:"hsl(48, 88%, 26%)",label:" "},{color:"hsl(37, 90%, 95%)",label:" "},{color:"hsl(37, 90%, 90%)",label:" "},{color:"hsl(37, 90%, 80%)",label:" "},{color:"hsl(37, 90%, 71%)",label:" "},{color:"hsl(37, 90%, 61%)",label:" "},{color:"hsl(37, 90%, 51%)",label:" "},{color:"hsl(37, 86%, 45%)",label:" "},{color:"hsl(37, 86%, 39%)",label:" "},{color:"hsl(37, 86%, 33%)",label:" "},{color:"hsl(37, 86%, 27%)",label:" "},{color:"hsl(28, 80%, 95%)",label:" "},{color:"hsl(28, 80%, 90%)",label:" "},{color:"hsl(28, 80%, 81%)",label:" "},{color:"hsl(28, 80%, 71%)",label:" "},{color:"hsl(28, 80%, 61%)",label:" "},{color:"hsl(28, 80%, 52%)",label:" "},{color:"hsl(28, 74%, 46%)",label:" "},{color:"hsl(28, 74%, 39%)",label:" "},{color:"hsl(28, 74%, 33%)",label:" "},{color:"hsl(28, 74%, 27%)",label:" "},{color:"hsl(24, 71%, 94%)",label:" "},{color:"hsl(24, 71%, 88%)",label:" "},{color:"hsl(24, 71%, 77%)",label:" "},{color:"hsl(24, 71%, 65%)",label:" "},{color:"hsl(24, 71%, 53%)",label:" "},{color:"hsl(24, 100%, 41%)",label:" "},{color:"hsl(24, 100%, 36%)",label:" "},{color:"hsl(24, 100%, 31%)",label:" "},{color:"hsl(24, 100%, 26%)",label:" "},{color:"hsl(24, 100%, 22%)",label:" "},{color:"hsl(192, 15%, 99%)",label:" "},{color:"hsl(192, 15%, 99%)",label:" "},{color:"hsl(192, 15%, 97%)",label:" "},{color:"hsl(192, 15%, 96%)",label:" "},{color:"hsl(192, 15%, 95%)",label:" "},{color:"hsl(192, 15%, 94%)",label:" "},{color:"hsl(192, 5%, 82%)",label:" "},{color:"hsl(192, 3%, 71%)",label:" "},{color:"hsl(192, 2%, 60%)",label:" "},{color:"hsl(192, 1%, 49%)",label:" "},{color:"hsl(204, 8%, 98%)",label:" "},{color:"hsl(204, 8%, 95%)",label:" "},{color:"hsl(204, 8%, 90%)",label:" "},{color:"hsl(204, 8%, 86%)",label:" "},{color:"hsl(204, 8%, 81%)",label:" "},{color:"hsl(204, 8%, 76%)",label:" "},{color:"hsl(204, 5%, 67%)",label:" "},{color:"hsl(204, 4%, 58%)",label:" "},{color:"hsl(204, 3%, 49%)",label:" "},{color:"hsl(204, 3%, 40%)",label:" "},{color:"hsl(184, 9%, 96%)",label:" "},{color:"hsl(184, 9%, 92%)",label:" "},{color:"hsl(184, 9%, 85%)",label:" "},{color:"hsl(184, 9%, 77%)",label:" "},{color:"hsl(184, 9%, 69%)",label:" "},{color:"hsl(184, 9%, 62%)",label:" "},{color:"hsl(184, 6%, 54%)",label:" "},{color:"hsl(184, 5%, 47%)",label:" "},{color:"hsl(184, 5%, 40%)",label:" "},{color:"hsl(184, 5%, 32%)",label:" "},{color:"hsl(184, 6%, 95%)",label:" "},{color:"hsl(184, 6%, 91%)",label:" "},{color:"hsl(184, 6%, 81%)",label:" "},{color:"hsl(184, 6%, 72%)",label:" "},{color:"hsl(184, 6%, 62%)",label:" "},{color:"hsl(184, 6%, 53%)",label:" "},{color:"hsl(184, 5%, 46%)",label:" "},{color:"hsl(184, 5%, 40%)",label:" "},{color:"hsl(184, 5%, 34%)",label:" "},{color:"hsl(184, 5%, 27%)",label:" "},{color:"hsl(210, 12%, 93%)",label:" "},{color:"hsl(210, 12%, 86%)",label:" "},{color:"hsl(210, 12%, 71%)",label:" "},{color:"hsl(210, 12%, 57%)",label:" "},{color:"hsl(210, 15%, 43%)",label:" "},{color:"hsl(210, 29%, 29%)",label:" "},{color:"hsl(210, 29%, 25%)",label:" "},{color:"hsl(210, 29%, 22%)",label:" "},{color:"hsl(210, 29%, 18%)",label:" "},{color:"hsl(210, 29%, 15%)",label:" "},{color:"hsl(210, 9%, 92%)",label:" "},{color:"hsl(210, 9%, 85%)",label:" "},{color:"hsl(210, 9%, 70%)",label:" "},{color:"hsl(210, 9%, 55%)",label:" "},{color:"hsl(210, 14%, 39%)",label:" "},{color:"hsl(210, 29%, 24%)",label:" "},{color:"hsl(210, 29%, 21%)",label:" "},{color:"hsl(210, 29%, 18%)",label:" "},{color:"hsl(210, 29%, 16%)",label:" "},{color:"hsl(210, 29%, 13%)",label:" "}]}};const N=E;var I,Y=r(91411),B=r(58804),F=r(56822),z=B.ZP.div.withConfig({displayName:"StyledHtmlEditor"})(I||(I=(0,Y.Z)(["\n && {\n .ck-editor {\n --ck-border-radius: 0.27rem;\n ","\n\n .ck.ck-list__item .ck-button.ck-fontsize-option .ck-button__label {\n line-height: 1;\n }\n\n .ck-editor__editable {\n min-height: 100px;\n }\n }\n }\n"])),(function(e){return(0,F.L)(e,"ckeditor")})),G=r(85893);function Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var A=function(e){switch(e){case"fr-CH":return"fr";case"it-CH":return"it";case"en-US":return"en";case"fr":case"en":case"it":case"de":return e;default:return"de"}},W=function(e){var t=e.value,r=e.onChange,n=e.contentLang,i=e.ckEditorConfig,c=(0,l.Z)().locale,s=(0,o.useRef)(!1);return(0,G.jsx)(z,{children:(0,G.jsx)(a.CKEditor,{editor:N,config:$({language:{ui:A(c),content:n}},i),data:t,onChange:function(e,t){if(t.plugins.get("SourceEditing").isSourceEditingMode){if(!0===s.current)return;s.current=!0}var n=t.getData();r(n)}})})};W.defaultProps={value:"",contentLang:"de"};const V=W},59178:(e,t,r)=>{r.r(t),r.d(t,{Icon:()=>M,default:()=>U});var n,a=r(46927),o=r(46444),l=r.n(o),i=r(78947),c=r(99245),s=r(68019),u=r(70457),f=r(30963),d=r(27361),h=r.n(d),b=r(91411),p=r(58804).ZP.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(n||(n=(0,b.Z)([""]))),g=r(85893);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}i.library.add(s.C65,s.kJo,s._tD,s.A35,s.mTx,s.ptq,s.g4A,s.r8p,s.Pk,s.g9M,s.Tab,u.Tab,s.NBC,s.eFW,s.acZ,s.u2A,s.gMD,s.cwv,s.w49,s.fUD,s.icc,s.ca9,s.Vmj,s.gSj,s.WFE,s.hQn,s.LEp,s.WV2,s.FU$,s.diR,s.f8k,c.xYR,c.neY,c.AYu,c.kBj,c.hVS,c.dc_,c.Av$,s.xiG,s.gJF,s.j1w,s.WKO,s.wn1,s.b7W,s.YHc,s.ZC5,s.UO1,u.Fyj,s.Qj4,s.FL8,s.foy,s.u9C,s.Fuz,s.iV1,s.Kl4,s.nYk,s.sqG,s.RLE,s.$aW,s.Zrf,s.jMV,s.pL1,s.g6h,s.SJY,s.qmU,s.nek,s.Qy6,s.lH_,u.pL1,s.hVM,s.yOf,s.Xgz,s.Mzg,s.r6l,s.IwR,u.Alc,s.dLO,s.ntl,s.Hw7,s.FYs,s.$36,s.fT7,s.ioP,s.Cw9,s.Ry6,s.C3l,s.a1i,s.jGC,s.IeV,s.A8,s.hG5,s.FVb,s.AxY,s.mAj,s.hGM,s.UkD,s.BDt,s.QzV,s.py1,s.cf$,s.byT,s.dT$,s.G_j,s.A4,s.ar8,s.nNP,s.yGT);var v=function(e){var t=e.icon,r=e.style,n=e.hasFixedWidth,a=t.includes(",")?t.replace(/\s+/,"").split(","):t,o=w({},h()(r,"color")&&{color:r.color});return(0,g.jsx)(p,{children:(0,g.jsx)(f.G,w(w({icon:a,style:r},o),{},{fixedWidth:n}))})};v.defaultProps={hasFixedWidth:!0};const y=v,k=JSON.parse('{"abacus":{"id":"fal, abacus","lib":"fa"},"address-card":{"id":"fal, address-card","lib":"fa"},"apple":{"id":"fab, apple","lib":"fa","tags":["sso"]},"arrow-left":{"id":"fal, arrow-left","lib":"fa","tags":["navigate"]},"arrow-right":{"id":"fal, arrow-right","lib":"fa","tags":["navigate"]},"arrow-to-bottom":{"id":"fal, arrow-to-bottom","lib":"fa","tags":["download"]},"arrow-to-top":{"id":"fal, arrow-to-top","lib":"fa","tags":["upload"]},"arrow-up-long":{"id":"fal, arrow-up-long","lib":"fa","tags":["arrow-up-long"]},"ballot-check":{"id":"fal, ballot-check","lib":"fa"},"barcode-alt":{"id":"fal, barcode-alt","lib":"fa"},"bars":{"id":"fal, bars","lib":"fa","tags":["burger"]},"bell":{"id":"fal, bell","lib":"fa","tags":["notification"]},"bolt":{"id":"fal, bolt-lightning","lib":"fa"},"bolt-lightning":{"id":"fal, bolt-lightning","lib":"fa"},"book":{"id":"fal, book","lib":"fa"},"box":{"id":"fal, box","lib":"fa"},"box-open":{"id":"fal, box-open","lib":"fa"},"calendar":{"id":"fal, calendar","lib":"fa"},"calendar-arrow-down":{"id":"fal, calendar-arrow-down","lib":"fa"},"calendar-circle-user":{"id":"fal, calendar-circle-user","lib":"fa"},"calendar-check":{"id":"fal, calendar-check","lib":"fa"},"calendar-minus":{"id":"fal, calendar-minus","lib":"fa"},"calendar-plus":{"id":"fal, calendar-plus","lib":"fa"},"chalkboard-teacher":{"id":"fal, chalkboard-teacher","lib":"fa"},"chart-network":{"id":"fal, chart-network","lib":"fa"},"check":{"id":"fal, check","lib":"fa","tags":["ok"]},"check-circle":{"id":"fal, check-circle","lib":"fa","tags":["check"]},"chevron-double-down":{"id":"fal, chevron-double-down","lib":"fa"},"chevron-double-left":{"id":"fal, chevron-double-left","lib":"fa"},"chevron-double-right":{"id":"fal, chevron-double-right","lib":"fa"},"chevron-double-up":{"id":"fal, chevron-double-up","lib":"fa"},"chevron-down":{"id":"fal, chevron-down","lib":"fa"},"chevron-left":{"id":"fal, chevron-left","lib":"fa"},"chevron-right":{"id":"fal, chevron-right","lib":"fa"},"chevron-up":{"id":"fal, chevron-up","lib":"fa"},"circle":{"id":"fal, circle","lib":"fa","tags":["selection"]},"code":{"id":"fal, code","lib":"fa"},"cog":{"id":"fal, cog","lib":"fa"},"compress":{"id":"fal, compress","lib":"fa"},"comment":{"id":"fal, comment","lib":"fa"},"cube":{"id":"fal, cube","lib":"fa"},"dropbox":{"id":"fab, dropbox","lib":"fa","tags":["sso"]},"ellipsis-v":{"id":"fal, ellipsis-v","lib":"fa","tags":["dots","pünktli"]},"envelope":{"id":"fal, envelope","lib":"fa"},"exclamation":{"id":"fal, exclamation","lib":"fa","tags":["warning"]},"exclamation-circle":{"id":"fal, exclamation-circle","lib":"fa","tags":["warning"]},"external-link":{"id":"fal, external-link","lib":"fa","tags":["external-link"]},"facebook":{"id":"fab, facebook","lib":"fa","tags":["sso"]},"facebook-f":{"id":"fab, facebook-f","lib":"fa","tags":["sso"]},"file":{"id":"fal, file","lib":"fa"},"file-alt":{"id":"fal, file-alt","lib":"fa"},"file-code":{"id":"fal, file-code","lib":"fa"},"file-csv":{"id":"fal, file-csv","lib":"fa"},"file-excel":{"id":"fal, file-excel","lib":"fa"},"file-export":{"id":"fal, file-export","lib":"fa"},"file-import":{"id":"fal, file-import","lib":"fa"},"file-pdf":{"id":"fal, file-pdf","lib":"fa"},"file-spreadsheet":{"id":"fal, file-spreadsheet","lib":"fa"},"filter":{"id":"fal, filter","lib":"fa"},"folder":{"id":"fal, folder","lib":"fa"},"folders":{"id":"fal, folders","lib":"fa","tags":["copy"]},"globe":{"id":"fal, globe","lib":"fa"},"google":{"id":"fab, google","lib":"fa","tags":["sso"]},"horizontal-rule":{"id":"fal, horizontal-rule","lib":"fa"},"id-badge":{"id":"fal, id-badge","lib":"fa"},"info":{"id":"fal, info","lib":"fa"},"laptop-code":{"id":"fal, laptop-code","lib":"fa"},"link":{"id":"fal, link","lib":"fa"},"list":{"id":"fal, list","lib":"fa"},"list-check":{"id":"fal, list-check","lib":"fa"},"lock":{"id":"fal, lock","lib":"fa"},"info-circle":{"id":"fal, info-circle","lib":"fa","tags":["info"]},"mail-bulk":{"id":"fal, mail-bulk","lib":"fa"},"map-marked":{"id":"fal, map-marked","lib":"fa"},"merge":{"id":"fal, merge","lib":"fa"},"microsoft":{"id":"fab, microsoft","lib":"fa","tags":["sso"]},"minus":{"id":"fal, minus","lib":"fa"},"newspaper":{"id":"fal, newspaper","lib":"fa"},"office":{"id":"office","lib":"toc"},"paper-clip":{"id":"fa, paper-clip","lib":"fa"},"pen":{"id":"fal, pen","lib":"fa"},"percent":{"id":"fal, percent","lib":"fa"},"phone":{"id":"fal, phone","lib":"fa"},"phone-laptop":{"id":"fal, phone-laptop","lib":"fa"},"plus":{"id":"fal, plus","lib":"fa","tags":["new"]},"question-circle":{"id":"fal, question-circle","lib":"fa","tags":["help"]},"save":{"id":"fal, save","lib":"fa"},"search":{"id":"fal, search","lib":"fa"},"sitemap":{"id":"fal, sitemap","lib":"fa"},"sort-down":{"id":"fal, sort-down","lib":"fa"},"sort-up":{"id":"fal, sort-up","lib":"fa"},"square":{"id":"fal, square","lib":"fa"},"square-full":{"id":"fas, square-full","lib":"fa"},"square-minus":{"id":"fal, square-minus","lib":"fa"},"square-plus":{"id":"fal, square-plus","lib":"fa"},"star":{"id":"fal, star","lib":"fa","tags":["favorite"]},"star-full":{"id":"fas, star","lib":"fa","tags":["favorite"]},"sync":{"id":"fal, sync","lib":"fa","tags":["refresh"]},"tasks":{"id":"fal, tasks","lib":"fa"},"times":{"id":"fal, times","lib":"fa","tags":["delete","close"]},"times-circle":{"id":"fal, times-circle","lib":"fa","tags":["error"]},"tocco":{"id":"logo","lib":"toc"},"trash":{"id":"fal, trash","lib":"fa","tags":["trash"]},"upload":{"id":"fal, upload","lib":"fa"},"users":{"id":"fal, users","lib":"fa"},"lightbulb-exclamation":{"id":"fal, lightbulb-exclamation","lib":"fa"},"house-blank":{"id":"fal, house-blank","lib":"fa"}}');var x,T;function Z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var O={logo:function(e){return(0,g.jsx)("svg",C(C({height:h()(e,"fontSize",20)},e),{},{"aria-hidden":"true",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:x||(x=(0,g.jsx)("path",{fill:"currentColor",d:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 \n 8zm80 248c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80z"}))}))},office:function(e){return(0,g.jsx)("svg",C(C({height:h()(e,"fontSize",20)},e),{},{"aria-hidden":"true",role:"img",enableBackground:"new 0 0 2075 2499.8",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2075 2499.8",children:T||(T=(0,g.jsx)("path",{fill:"currentColor",d:"m0 2016.6v-1519.8l1344.4-496.8 730.6 233.7v2045.9l-730.6 220.3-1344.4-483.3 1344.4 \n 161.8v-1769.2l-876.8 204.6v1198.3z"}))}))}},D=function(e){var t=e.icon,r=e.style;return O[t](r)};D.propTypes={icon:l().string.isRequired,style:l().object};const _=D;function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var q={fa:function(e,t){return(0,g.jsx)(y,P(P({},t),{},{icon:e.id}))},toc:function(e,t){return(0,g.jsx)(_,P(P({},t),{},{icon:e.id}))}},M=function(e){var t=k[e.icon];if(!t)return null;var r=q[t.lib];return r?r(t,e):null};M.propTypes={icon:l().string.isRequired,style:l().objectOf(l().string)};const U=M},81251:(e,t,r)=>{r.r(t),r.d(t,{default:()=>s});var n=r(46927),a=r(70457),o=r(30963),l=r(85893);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const s=function(e){var t=e.size,r=e.style;return(0,l.jsx)(o.G,c(c({},r),{},{style:{fontSize:t},spin:!0,icon:a.IJ7}))}},87486:(e,t,r)=>{r.r(t),r.d(t,{default:()=>l});var n=r(96982),a=r(67435),o=r(50946);function l(e,t){(0,o.Z)(2,arguments);var r=(0,a.default)(e),l=(0,n.Z)(t);return isNaN(l)?new Date(NaN):l?(r.setDate(r.getDate()+l),r):r}},81084:(e,t,r)=>{r.r(t),r.d(t,{default:()=>oe});var n=r(75295),a=r(88280),o=r(67435);function l(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in t=t||{})Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}var i=r(48510),c=r(80381),s=r(63831),u=r(96982),f=r(61858),d=r(50946);function h(e,t,r){(0,d.Z)(2,arguments);var n=r||{},a=n.locale,l=a&&a.options&&a.options.weekStartsOn,i=null==l?0:(0,u.Z)(l),c=null==n.weekStartsOn?i:(0,u.Z)(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=(0,o.default)(e),f=(0,u.Z)(t),h=s.getUTCDay(),b=f%7,p=(b+7)%7,g=(p<c?7:0)+f-h;return s.setUTCDate(s.getUTCDate()+g),s}var b=r(83979);var p=r(18242);var g=r(51991),m=r(44706),w=/^(1[0-2]|0?\d)/,v=/^(3[0-1]|[0-2]?\d)/,y=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,k=/^(5[0-3]|[0-4]?\d)/,x=/^(2[0-3]|[0-1]?\d)/,T=/^(2[0-4]|[0-1]?\d)/,Z=/^(1[0-1]|0?\d)/,C=/^(1[0-2]|0?\d)/,O=/^[0-5]?\d/,D=/^[0-5]?\d/,_=/^\d/,j=/^\d{1,2}/,P=/^\d{1,3}/,q=/^\d{1,4}/,M=/^-?\d+/,U=/^-?\d/,R=/^-?\d{1,2}/,S=/^-?\d{1,3}/,H=/^-?\d{1,4}/,L=/^([+-])(\d{2})(\d{2})?|Z/,E=/^([+-])(\d{2})(\d{2})|Z/,N=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,I=/^([+-])(\d{2}):(\d{2})|Z/,Y=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function B(e,t,r){var n=t.match(e);if(!n)return null;var a=parseInt(n[0],10);return{value:r?r(a):a,rest:t.slice(n[0].length)}}function F(e,t){var r=t.match(e);return r?"Z"===r[0]?{value:0,rest:t.slice(1)}:{value:("+"===r[1]?1:-1)*(36e5*(r[2]?parseInt(r[2],10):0)+6e4*(r[3]?parseInt(r[3],10):0)+1e3*(r[5]?parseInt(r[5],10):0)),rest:t.slice(r[0].length)}:null}function z(e,t){return B(M,e,t)}function G(e,t,r){switch(e){case 1:return B(_,t,r);case 2:return B(j,t,r);case 3:return B(P,t,r);case 4:return B(q,t,r);default:return B(new RegExp("^\\d{1,"+e+"}"),t,r)}}function Q(e,t,r){switch(e){case 1:return B(U,t,r);case 2:return B(R,t,r);case 3:return B(S,t,r);case 4:return B(H,t,r);default:return B(new RegExp("^-?\\d{1,"+e+"}"),t,r)}}function $(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function A(e,t){var r,n=t>0,a=n?t:1-t;if(a<=50)r=e||100;else{var o=a+50;r=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return n?r:1-r}var W=[31,28,31,30,31,30,31,31,30,31,30,31],V=[31,29,31,30,31,30,31,31,30,31,30,31];function K(e){return e%400==0||e%4==0&&e%100!=0}const X={G:{priority:140,parse:function(e,t,r,n){switch(t){case"G":case"GG":case"GGG":return r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"});case"GGGGG":return r.era(e,{width:"narrow"});default:return r.era(e,{width:"wide"})||r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"})}},set:function(e,t,r,n){return t.era=r,e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,r,n){var a=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return G(4,e,a);case"yo":return r.ordinalNumber(e,{unit:"year",valueCallback:a});default:return G(t.length,e,a)}},validate:function(e,t,r){return t.isTwoDigitYear||t.year>0},set:function(e,t,r,n){var a=e.getUTCFullYear();if(r.isTwoDigitYear){var o=A(r.year,a);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var l="era"in t&&1!==t.era?1-r.year:r.year;return e.setUTCFullYear(l,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,r,n){var a=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return G(4,e,a);case"Yo":return r.ordinalNumber(e,{unit:"year",valueCallback:a});default:return G(t.length,e,a)}},validate:function(e,t,r){return t.isTwoDigitYear||t.year>0},set:function(e,t,r,n){var a=(0,f.Z)(e,n);if(r.isTwoDigitYear){var o=A(r.year,a);return e.setUTCFullYear(o,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,m.Z)(e,n)}var l="era"in t&&1!==t.era?1-r.year:r.year;return e.setUTCFullYear(l,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,m.Z)(e,n)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,r,n){return Q("R"===t?4:t.length,e)},set:function(e,t,r,n){var a=new Date(0);return a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0),(0,g.Z)(a)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,r,n){return Q("u"===t?4:t.length,e)},set:function(e,t,r,n){return e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,r,n){switch(t){case"Q":case"QQ":return G(t.length,e);case"Qo":return r.ordinalNumber(e,{unit:"quarter"});case"QQQ":return r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(e,{width:"narrow",context:"formatting"});default:return r.quarter(e,{width:"wide",context:"formatting"})||r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,r){return t>=1&&t<=4},set:function(e,t,r,n){return e.setUTCMonth(3*(r-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,r,n){switch(t){case"q":case"qq":return G(t.length,e);case"qo":return r.ordinalNumber(e,{unit:"quarter"});case"qqq":return r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(e,{width:"narrow",context:"standalone"});default:return r.quarter(e,{width:"wide",context:"standalone"})||r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,r){return t>=1&&t<=4},set:function(e,t,r,n){return e.setUTCMonth(3*(r-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,r,n){var a=function(e){return e-1};switch(t){case"M":return B(w,e,a);case"MM":return G(2,e,a);case"Mo":return r.ordinalNumber(e,{unit:"month",valueCallback:a});case"MMM":return r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(e,{width:"narrow",context:"formatting"});default:return r.month(e,{width:"wide",context:"formatting"})||r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,r,n){var a=function(e){return e-1};switch(t){case"L":return B(w,e,a);case"LL":return G(2,e,a);case"Lo":return r.ordinalNumber(e,{unit:"month",valueCallback:a});case"LLL":return r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(e,{width:"narrow",context:"standalone"});default:return r.month(e,{width:"wide",context:"standalone"})||r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,r,n){switch(t){case"w":return B(k,e);case"wo":return r.ordinalNumber(e,{unit:"week"});default:return G(t.length,e)}},validate:function(e,t,r){return t>=1&&t<=53},set:function(e,t,r,n){return(0,m.Z)(function(e,t,r){(0,d.Z)(2,arguments);var n=(0,o.default)(e),a=(0,u.Z)(t),l=(0,p.Z)(n,r)-a;return n.setUTCDate(n.getUTCDate()-7*l),n}(e,r,n),n)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,r,n){switch(t){case"I":return B(k,e);case"Io":return r.ordinalNumber(e,{unit:"week"});default:return G(t.length,e)}},validate:function(e,t,r){return t>=1&&t<=53},set:function(e,t,r,n){return(0,g.Z)(function(e,t){(0,d.Z)(2,arguments);var r=(0,o.default)(e),n=(0,u.Z)(t),a=(0,b.Z)(r)-n;return r.setUTCDate(r.getUTCDate()-7*a),r}(e,r,n),n)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(e,t,r,n){switch(t){case"d":return B(v,e);case"do":return r.ordinalNumber(e,{unit:"date"});default:return G(t.length,e)}},validate:function(e,t,r){var n=K(e.getUTCFullYear()),a=e.getUTCMonth();return n?t>=1&&t<=V[a]:t>=1&&t<=W[a]},set:function(e,t,r,n){return e.setUTCDate(r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(e,t,r,n){switch(t){case"D":case"DD":return B(y,e);case"Do":return r.ordinalNumber(e,{unit:"date"});default:return G(t.length,e)}},validate:function(e,t,r){return K(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,r,n){return e.setUTCMonth(0,r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,r,n){switch(t){case"E":case"EE":case"EEE":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return(e=h(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,r,n){var a=function(e){var t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return G(t.length,e,a);case"eo":return r.ordinalNumber(e,{unit:"day",valueCallback:a});case"eee":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeeee":return r.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return(e=h(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,r,n){var a=function(e){var t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return G(t.length,e,a);case"co":return r.ordinalNumber(e,{unit:"day",valueCallback:a});case"ccc":return r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"ccccc":return r.day(e,{width:"narrow",context:"standalone"});case"cccccc":return r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});default:return r.day(e,{width:"wide",context:"standalone"})||r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return(e=h(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,r,n){var a=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return G(t.length,e);case"io":return r.ordinalNumber(e,{unit:"day"});case"iii":return r.day(e,{width:"abbreviated",context:"formatting",valueCallback:a})||r.day(e,{width:"short",context:"formatting",valueCallback:a})||r.day(e,{width:"narrow",context:"formatting",valueCallback:a});case"iiiii":return r.day(e,{width:"narrow",context:"formatting",valueCallback:a});case"iiiiii":return r.day(e,{width:"short",context:"formatting",valueCallback:a})||r.day(e,{width:"narrow",context:"formatting",valueCallback:a});default:return r.day(e,{width:"wide",context:"formatting",valueCallback:a})||r.day(e,{width:"abbreviated",context:"formatting",valueCallback:a})||r.day(e,{width:"short",context:"formatting",valueCallback:a})||r.day(e,{width:"narrow",context:"formatting",valueCallback:a})}},validate:function(e,t,r){return t>=1&&t<=7},set:function(e,t,r,n){return e=function(e,t){(0,d.Z)(2,arguments);var r=(0,u.Z)(t);r%7==0&&(r-=7);var n=1,a=(0,o.default)(e),l=a.getUTCDay(),i=((r%7+7)%7<n?7:0)+r-l;return a.setUTCDate(a.getUTCDate()+i),a}(e,r,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(e,t,r,n){switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,r,n){return e.setUTCHours($(r),0,0,0),e},incompatibleTokens:["b","B","H","k","t","T"]},b:{priority:80,parse:function(e,t,r,n){switch(t){case"b":case"bb":case"bbb":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,r,n){return e.setUTCHours($(r),0,0,0),e},incompatibleTokens:["a","B","H","k","t","T"]},B:{priority:80,parse:function(e,t,r,n){switch(t){case"B":case"BB":case"BBB":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,r,n){return e.setUTCHours($(r),0,0,0),e},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(e,t,r,n){switch(t){case"h":return B(C,e);case"ho":return r.ordinalNumber(e,{unit:"hour"});default:return G(t.length,e)}},validate:function(e,t,r){return t>=1&&t<=12},set:function(e,t,r,n){var a=e.getUTCHours()>=12;return a&&r<12?e.setUTCHours(r+12,0,0,0):a||12!==r?e.setUTCHours(r,0,0,0):e.setUTCHours(0,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,r,n){switch(t){case"H":return B(x,e);case"Ho":return r.ordinalNumber(e,{unit:"hour"});default:return G(t.length,e)}},validate:function(e,t,r){return t>=0&&t<=23},set:function(e,t,r,n){return e.setUTCHours(r,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,r,n){switch(t){case"K":return B(Z,e);case"Ko":return r.ordinalNumber(e,{unit:"hour"});default:return G(t.length,e)}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.getUTCHours()>=12&&r<12?e.setUTCHours(r+12,0,0,0):e.setUTCHours(r,0,0,0),e},incompatibleTokens:["h","H","k","t","T"]},k:{priority:70,parse:function(e,t,r,n){switch(t){case"k":return B(T,e);case"ko":return r.ordinalNumber(e,{unit:"hour"});default:return G(t.length,e)}},validate:function(e,t,r){return t>=1&&t<=24},set:function(e,t,r,n){var a=r<=24?r%24:r;return e.setUTCHours(a,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,r,n){switch(t){case"m":return B(O,e);case"mo":return r.ordinalNumber(e,{unit:"minute"});default:return G(t.length,e)}},validate:function(e,t,r){return t>=0&&t<=59},set:function(e,t,r,n){return e.setUTCMinutes(r,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,r,n){switch(t){case"s":return B(D,e);case"so":return r.ordinalNumber(e,{unit:"second"});default:return G(t.length,e)}},validate:function(e,t,r){return t>=0&&t<=59},set:function(e,t,r,n){return e.setUTCSeconds(r,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,r,n){return G(t.length,e,(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))},set:function(e,t,r,n){return e.setUTCMilliseconds(r),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,r,n){switch(t){case"X":return F(L,e);case"XX":return F(E,e);case"XXXX":return F(N,e);case"XXXXX":return F(Y,e);default:return F(I,e)}},set:function(e,t,r,n){return t.timestampIsSet?e:new Date(e.getTime()-r)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,r,n){switch(t){case"x":return F(L,e);case"xx":return F(E,e);case"xxxx":return F(N,e);case"xxxxx":return F(Y,e);default:return F(I,e)}},set:function(e,t,r,n){return t.timestampIsSet?e:new Date(e.getTime()-r)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,r,n){return z(e)},set:function(e,t,r,n){return[new Date(1e3*r),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,r,n){return z(e)},set:function(e,t,r,n){return[new Date(r),{timestampIsSet:!0}]},incompatibleTokens:"*"}};var J=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ee=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,te=/^'([^]*?)'?$/,re=/''/g,ne=/\S/,ae=/[a-zA-Z]/;function oe(e,t,r,f){(0,d.Z)(3,arguments);var h=String(e),b=String(t),p=f||{},g=p.locale||n.Z;if(!g.match)throw new RangeError("locale must contain match property");var m=g.options&&g.options.firstWeekContainsDate,w=null==m?1:(0,u.Z)(m),v=null==p.firstWeekContainsDate?w:(0,u.Z)(p.firstWeekContainsDate);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=g.options&&g.options.weekStartsOn,k=null==y?0:(0,u.Z)(y),x=null==p.weekStartsOn?k:(0,u.Z)(p.weekStartsOn);if(!(x>=0&&x<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===b)return""===h?(0,o.default)(r):new Date(NaN);var T,Z={firstWeekContainsDate:v,weekStartsOn:x,locale:g},C=[{priority:10,subPriority:-1,set:le,index:0}],O=b.match(ee).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,i.Z[t])(e,g.formatLong,Z):e})).join("").match(J),D=[];for(T=0;T<O.length;T++){var _=O[T];!p.useAdditionalWeekYearTokens&&(0,s.Do)(_)&&(0,s.qp)(_,b,e),!p.useAdditionalDayOfYearTokens&&(0,s.Iu)(_)&&(0,s.qp)(_,b,e);var j=_[0],P=X[j];if(P){var q=P.incompatibleTokens;if(Array.isArray(q)){for(var M=void 0,U=0;U<D.length;U++){var R=D[U].token;if(-1!==q.indexOf(R)||R===j){M=D[U];break}}if(M)throw new RangeError("The format string mustn't contain `".concat(M.fullToken,"` and `").concat(_,"` at the same time"))}else if("*"===P.incompatibleTokens&&D.length)throw new RangeError("The format string mustn't contain `".concat(_,"` and any other token at the same time"));D.push({token:j,fullToken:_});var S=P.parse(h,_,g.match,Z);if(!S)return new Date(NaN);C.push({priority:P.priority,subPriority:P.subPriority||0,set:P.set,validate:P.validate,value:S.value,index:C.length}),h=S.rest}else{if(j.match(ae))throw new RangeError("Format string contains an unescaped latin alphabet character `"+j+"`");if("''"===_?_="'":"'"===j&&(_=ie(_)),0!==h.indexOf(_))return new Date(NaN);h=h.slice(_.length)}}if(h.length>0&&ne.test(h))return new Date(NaN);var H=C.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,r){return r.indexOf(e)===t})).map((function(e){return C.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),L=(0,o.default)(r);if(isNaN(L))return new Date(NaN);var E=(0,a.Z)(L,(0,c.Z)(L)),N={};for(T=0;T<H.length;T++){var I=H[T];if(I.validate&&!I.validate(E,I.value,Z))return new Date(NaN);var Y=I.set(E,N,I.value,Z);Y[0]?(E=Y[0],l(N,Y[1])):E=Y}return E}function le(e,t){if(t.timestampIsSet)return e;var r=new Date(0);return r.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),r.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),r}function ie(e){return e.match(te)[1].replace(re,"'")}},75502:(e,t,r)=>{r.r(t),r.d(t,{default:()=>o});var n=r(67435),a=r(50946);function o(e){(0,a.Z)(1,arguments);var t=(0,n.default)(e);return t.setHours(0,0,0,0),t}}}]);
|
package/dist/index.js
CHANGED
|
@@ -56,4 +56,4 @@ object-assign
|
|
|
56
56
|
* LICENSE file in the root directory of this source tree.
|
|
57
57
|
*/var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case f:case i:case s:case a:case d:return e;default:switch(e=e&&e.$$typeof){case u:case p:case g:case m:case c:return e;default:return t}}case o:return t}}}function x(e){return O(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=c,t.Element=r,t.ForwardRef=p,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=d,t.isAsyncMode=function(e){return x(e)||O(e)===l},t.isConcurrentMode=x,t.isContextConsumer=function(e){return O(e)===u},t.isContextProvider=function(e){return O(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return O(e)===p},t.isFragment=function(e){return O(e)===i},t.isLazy=function(e){return O(e)===g},t.isMemo=function(e){return O(e)===m},t.isPortal=function(e){return O(e)===o},t.isProfiler=function(e){return O(e)===s},t.isStrictMode=function(e){return O(e)===a},t.isSuspense=function(e){return O(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===s||e===a||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===u||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=O},51976:(e,t,n)=>{"use strict";e.exports=n(9734)},32654:(e,t,n)=>{"use strict";n.d(t,{D:()=>be});var r=n(1024),o=n(30314);function i(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function a(e){return e instanceof i(e).Element||e instanceof Element}function s(e){return e instanceof i(e).HTMLElement||e instanceof HTMLElement}function c(e){return"undefined"!=typeof ShadowRoot&&(e instanceof i(e).ShadowRoot||e instanceof ShadowRoot)}var u=Math.max,l=Math.min,f=Math.round;function p(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(s(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=f(n.width)/a||1),i>0&&(o=f(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function d(e){var t=i(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function h(e){return e?(e.nodeName||"").toLowerCase():null}function m(e){return((a(e)?e.ownerDocument:e.document)||window.document).documentElement}function g(e){return p(m(e)).left+d(e).scrollLeft}function v(e){return i(e).getComputedStyle(e)}function y(e){var t=v(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function b(e,t,n){void 0===n&&(n=!1);var r,o,a=s(t),c=s(t)&&function(e){var t=e.getBoundingClientRect(),n=f(t.width)/e.offsetWidth||1,r=f(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),u=m(t),l=p(e,c),v={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(a||!a&&!n)&&(("body"!==h(t)||y(u))&&(v=(r=t)!==i(r)&&s(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:d(r)),s(t)?((b=p(t,!0)).x+=t.clientLeft,b.y+=t.clientTop):u&&(b.x=g(u))),{x:l.left+v.scrollLeft-b.x,y:l.top+v.scrollTop-b.y,width:l.width,height:l.height}}function w(e){var t=p(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function O(e){return"html"===h(e)?e:e.assignedSlot||e.parentNode||(c(e)?e.host:null)||m(e)}function x(e){return["html","body","#document"].indexOf(h(e))>=0?e.ownerDocument.body:s(e)&&y(e)?e:x(O(e))}function S(e,t){var n;void 0===t&&(t=[]);var r=x(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=i(r),s=o?[a].concat(a.visualViewport||[],y(r)?r:[]):r,c=t.concat(s);return o?c:c.concat(S(O(s)))}function j(e){return["table","td","th"].indexOf(h(e))>=0}function P(e){return s(e)&&"fixed"!==v(e).position?e.offsetParent:null}function E(e){for(var t=i(e),n=P(e);n&&j(n)&&"static"===v(n).position;)n=P(n);return n&&("html"===h(n)||"body"===h(n)&&"static"===v(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&s(e)&&"fixed"===v(e).position)return null;var n=O(e);for(c(n)&&(n=n.host);s(n)&&["html","body"].indexOf(h(n))<0;){var r=v(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var k="top",C="bottom",T="right",D="left",_="auto",A=[k,C,T,D],M="start",R="end",I="viewport",Z="popper",N=A.reduce((function(e,t){return e.concat([t+"-"+M,t+"-"+R])}),[]),L=[].concat(A,[_]).reduce((function(e,t){return e.concat([t,t+"-"+M,t+"-"+R])}),[]),F=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function H(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var B={placement:"bottom",modifiers:[],strategy:"absolute"};function U(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function W(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?B:o;return function(e,t,n){void 0===n&&(n=i);var o,s,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},B,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],l=!1,f={state:c,setOptions:function(n){var o="function"==typeof n?n(c.options):n;p(),c.options=Object.assign({},i,c.options,o),c.scrollParents={reference:a(e)?S(e):e.contextElement?S(e.contextElement):[],popper:S(t)};var s=function(e){var t=H(e);return F.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,c.options.modifiers)));return c.orderedModifiers=s.filter((function(e){return e.enabled})),c.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:c,name:t,instance:f,options:r}),a=function(){};u.push(i||a)}})),f.update()},forceUpdate:function(){if(!l){var e=c.elements,t=e.reference,n=e.popper;if(U(t,n)){c.rects={reference:b(t,E(n),"fixed"===c.options.strategy),popper:w(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(e){return c.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<c.orderedModifiers.length;r++)if(!0!==c.reset){var o=c.orderedModifiers[r],i=o.fn,a=o.options,s=void 0===a?{}:a,u=o.name;"function"==typeof i&&(c=i({state:c,options:s,name:u,instance:f})||c)}else c.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){f.forceUpdate(),e(c)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(o())}))}))),s}),destroy:function(){p(),l=!0}};if(!U(e,t))return f;function p(){u.forEach((function(e){return e()})),u=[]}return f.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),f}}var z={passive:!0};function V(e){return e.split("-")[0]}function G(e){return e.split("-")[1]}function q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?V(o):null,a=o?G(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case k:t={x:s,y:n.y-r.height};break;case C:t={x:s,y:n.y+n.height};break;case T:t={x:n.x+n.width,y:c};break;case D:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=i?q(i):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case M:t[u]=t[u]-(n[l]/2-r[l]/2);break;case R:t[u]=t[u]+(n[l]/2-r[l]/2)}}return t}var Y={top:"auto",right:"auto",bottom:"auto",left:"auto"};function X(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,s=e.offsets,c=e.position,u=e.gpuAcceleration,l=e.adaptive,p=e.roundOffsets,d=e.isFixed,h=s.x,g=void 0===h?0:h,y=s.y,b=void 0===y?0:y,w="function"==typeof p?p({x:g,y:b}):{x:g,y:b};g=w.x,b=w.y;var O=s.hasOwnProperty("x"),x=s.hasOwnProperty("y"),S=D,j=k,P=window;if(l){var _=E(n),A="clientHeight",M="clientWidth";if(_===i(n)&&"static"!==v(_=m(n)).position&&"absolute"===c&&(A="scrollHeight",M="scrollWidth"),_=_,o===k||(o===D||o===T)&&a===R)j=C,b-=(d&&_===P&&P.visualViewport?P.visualViewport.height:_[A])-r.height,b*=u?1:-1;if(o===D||(o===k||o===C)&&a===R)S=T,g-=(d&&_===P&&P.visualViewport?P.visualViewport.width:_[M])-r.width,g*=u?1:-1}var I,Z=Object.assign({position:c},l&&Y),N=!0===p?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:f(t*r)/r||0,y:f(n*r)/r||0}}({x:g,y:b}):{x:g,y:b};return g=N.x,b=N.y,u?Object.assign({},Z,((I={})[j]=x?"0":"",I[S]=O?"0":"",I.transform=(P.devicePixelRatio||1)<=1?"translate("+g+"px, "+b+"px)":"translate3d("+g+"px, "+b+"px, 0)",I)):Object.assign({},Z,((t={})[j]=x?b+"px":"",t[S]=O?g+"px":"",t.transform="",t))}const K={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=L.reduce((function(e,n){return e[n]=function(e,t,n){var r=V(e),o=[D,k].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[D,T].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var J={left:"right",right:"left",bottom:"top",top:"bottom"};function Q(e){return e.replace(/left|right|bottom|top/g,(function(e){return J[e]}))}var ee={start:"end",end:"start"};function te(e){return e.replace(/start|end/g,(function(e){return ee[e]}))}function ne(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&c(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function re(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function oe(e,t){return t===I?re(function(e){var t=i(e),n=m(e),r=t.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,c=0;return r&&(o=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,c=r.offsetTop)),{width:o,height:a,x:s+g(e),y:c}}(e)):a(t)?function(e){var t=p(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):re(function(e){var t,n=m(e),r=d(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=u(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=u(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+g(e),c=-r.scrollTop;return"rtl"===v(o||n).direction&&(s+=u(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(m(e)))}function ie(e,t,n){var r="clippingParents"===t?function(e){var t=S(O(e)),n=["absolute","fixed"].indexOf(v(e).position)>=0&&s(e)?E(e):e;return a(n)?t.filter((function(e){return a(e)&&ne(e,n)&&"body"!==h(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],c=o.reduce((function(t,n){var r=oe(e,n);return t.top=u(r.top,t.top),t.right=l(r.right,t.right),t.bottom=l(r.bottom,t.bottom),t.left=u(r.left,t.left),t}),oe(e,i));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function ae(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function se(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ce(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,s=void 0===i?"clippingParents":i,c=n.rootBoundary,u=void 0===c?I:c,l=n.elementContext,f=void 0===l?Z:l,d=n.altBoundary,h=void 0!==d&&d,g=n.padding,v=void 0===g?0:g,y=ae("number"!=typeof v?v:se(v,A)),b=f===Z?"reference":Z,w=e.rects.popper,O=e.elements[h?b:f],x=ie(a(O)?O:O.contextElement||m(e.elements.popper),s,u),S=p(e.elements.reference),j=$({reference:S,element:w,strategy:"absolute",placement:o}),P=re(Object.assign({},w,j)),E=f===Z?P:S,D={top:x.top-E.top+y.top,bottom:E.bottom-x.bottom+y.bottom,left:x.left-E.left+y.left,right:E.right-x.right+y.right},_=e.modifiersData.offset;if(f===Z&&_){var M=_[o];Object.keys(D).forEach((function(e){var t=[T,C].indexOf(e)>=0?1:-1,n=[k,C].indexOf(e)>=0?"y":"x";D[e]+=M[n]*t}))}return D}function ue(e,t,n){return u(e,l(t,n))}const le={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.padding,h=n.tether,m=void 0===h||h,g=n.tetherOffset,v=void 0===g?0:g,y=ce(t,{boundary:c,rootBoundary:f,padding:d,altBoundary:p}),b=V(t.placement),O=G(t.placement),x=!O,S=q(b),j="x"===S?"y":"x",P=t.modifiersData.popperOffsets,_=t.rects.reference,A=t.rects.popper,R="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,I="number"==typeof R?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),Z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(P){if(i){var L,F="y"===S?k:D,H="y"===S?C:T,B="y"===S?"height":"width",U=P[S],W=U+y[F],z=U-y[H],$=m?-A[B]/2:0,Y=O===M?_[B]:A[B],X=O===M?-A[B]:-_[B],K=t.elements.arrow,J=m&&K?w(K):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Q[F],te=Q[H],ne=ue(0,_[B],J[B]),re=x?_[B]/2-$-ne-ee-I.mainAxis:Y-ne-ee-I.mainAxis,oe=x?-_[B]/2+$+ne+te+I.mainAxis:X+ne+te+I.mainAxis,ie=t.elements.arrow&&E(t.elements.arrow),ae=ie?"y"===S?ie.clientTop||0:ie.clientLeft||0:0,se=null!=(L=null==Z?void 0:Z[S])?L:0,le=U+oe-se,fe=ue(m?l(W,U+re-se-ae):W,U,m?u(z,le):z);P[S]=fe,N[S]=fe-U}if(s){var pe,de="x"===S?k:D,he="x"===S?C:T,me=P[j],ge="y"===j?"height":"width",ve=me+y[de],ye=me-y[he],be=-1!==[k,D].indexOf(b),we=null!=(pe=null==Z?void 0:Z[j])?pe:0,Oe=be?ve:me-_[ge]-A[ge]-we+I.altAxis,xe=be?me+_[ge]+A[ge]-we-I.altAxis:ye,Se=m&&be?function(e,t,n){var r=ue(e,t,n);return r>n?n:r}(Oe,me,xe):ue(m?Oe:ve,me,m?xe:ye);P[j]=Se,N[j]=Se-me}t.modifiersData[r]=N}},requiresIfExists:["offset"]};const fe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=V(n.placement),c=q(s),u=[D,T].indexOf(s)>=0?"height":"width";if(i&&a){var l=function(e,t){return ae("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:se(e,A))}(o.padding,n),f=w(i),p="y"===c?k:D,d="y"===c?C:T,h=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],m=a[c]-n.rects.reference[c],g=E(i),v=g?"y"===c?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=l[p],O=v-f[u]-l[d],x=v/2-f[u]/2+y,S=ue(b,x,O),j=c;n.modifiersData[r]=((t={})[j]=S,t.centerOffset=S-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ne(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pe(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function de(e){return[k,T,C,D].some((function(t){return e[t]>=0}))}var he=W({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,s=r.resize,c=void 0===s||s,u=i(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach((function(e){e.addEventListener("scroll",n.update,z)})),c&&u.addEventListener("resize",n.update,z),function(){a&&l.forEach((function(e){e.removeEventListener("scroll",n.update,z)})),c&&u.removeEventListener("resize",n.update,z)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=$({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,c=void 0===s||s,u={placement:V(t.placement),variation:G(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,X(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,X(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];s(o)&&h(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});s(r)&&h(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},K,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,l=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,g=t.options.placement,v=V(g),y=c||(v===g||!h?[Q(g)]:function(e){if(V(e)===_)return[];var t=Q(e);return[te(e),t,te(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(V(n)===_?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?L:c,l=G(r),f=l?s?N:N.filter((function(e){return G(e)===l})):A,p=f.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=f);var d=p.reduce((function(t,n){return t[n]=ce(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[V(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,O=t.rects.popper,x=new Map,S=!0,j=b[0],P=0;P<b.length;P++){var E=b[P],R=V(E),I=G(E)===M,Z=[k,C].indexOf(R)>=0,F=Z?"width":"height",H=ce(t,{placement:E,boundary:l,rootBoundary:f,altBoundary:p,padding:u}),B=Z?I?T:D:I?C:k;w[F]>O[F]&&(B=Q(B));var U=Q(B),W=[];if(i&&W.push(H[R]<=0),s&&W.push(H[B]<=0,H[U]<=0),W.every((function(e){return e}))){j=E,S=!1;break}x.set(E,W)}if(S)for(var z=function(e){var t=b.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return j=t,"break"},q=h?3:1;q>0;q--){if("break"===z(q))break}t.placement!==j&&(t.modifiersData[r]._skip=!0,t.placement=j,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},le,fe,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ce(t,{elementContext:"reference"}),s=ce(t,{altBoundary:!0}),c=pe(a,r),u=pe(s,o,i),l=de(c),f=de(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),me=n(98836),ge=n.n(me),ve=n(87568),ye=[],be=function(e,t,n){void 0===n&&(n={});var i=r.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||ye},s=r.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),c=s[0],u=s[1],l=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);o.flushSync((function(){u({styles:(0,ve.sq)(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:(0,ve.sq)(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),f=r.useMemo((function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[l,{name:"applyStyles",enabled:!1}])};return ge()(i.current,e)?i.current||e:(i.current=e,e)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,l]),p=r.useRef();return(0,ve.LI)((function(){p.current&&p.current.setOptions(f)}),[f]),(0,ve.LI)((function(){if(null!=e&&null!=t){var r=(n.createPopper||he)(e,t,f);return p.current=r,function(){r.destroy(),p.current=null}}}),[e,t,n.createPopper]),{state:p.current?p.current.state:null,styles:c.styles,attributes:c.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}}},87568:(e,t,n)=>{"use strict";n.d(t,{$p:()=>o,DL:()=>i,LI:()=>c,k$:()=>a,sq:()=>s});var r=n(1024),o=function(e){return Array.isArray(e)?e[0]:e},i=function(e){if("function"==typeof 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 e.apply(void 0,n)}},a=function(e,t){if("function"==typeof e)return i(e,t);null!=e&&(e.current=t)},s=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},c="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect},12864:(e,t,n)=>{"use strict";n.d(t,{A:()=>M,B:()=>R,C:()=>U,D:()=>B,E:()=>H,F:()=>j,G:()=>Ne,H:()=>F,I:()=>k,J:()=>P,K:()=>A,L:()=>x,M:()=>$,_:()=>w,a:()=>v,b:()=>he,c:()=>Ze,d:()=>oe,e:()=>we,f:()=>de,g:()=>xe,h:()=>Se,i:()=>ae,j:()=>me,k:()=>Pe,l:()=>ve,m:()=>J,n:()=>G,o:()=>Y,p:()=>ne,q:()=>Te,r:()=>W,s:()=>L,t:()=>De,u:()=>_e,v:()=>K,w:()=>Me,x:()=>Re,y:()=>Ie,z:()=>ie});var r=n(3640),o=n(82765),i=n(91411),a=n(56315),s=n(68957),c=n(73891),u=n(11259),l=n(44822),f=n(32208),p=n(46927),d=n(1024),h=n(30314);function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function b(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function w(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=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}var O=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],x=function(){};function S(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function j(e,t,n){var r=[n];if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&r.push("".concat(S(e,o)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var P=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===(0,c.Z)(e)&&null!==e?[e]:[];var t},E=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,v({},(0,a.Z)(e,O))};function k(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function C(e){return k(e)?window.pageYOffset:e.scrollTop}function T(e,t){k(e)?window.scrollTo(0,t):e.scrollTop=t}function D(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:x,o=C(e),i=t-o,a=10,s=0;function c(){var t=D(s+=a,o,i,n);T(e,t),s<n?window.requestAnimationFrame(c):r(e)}c()}function A(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?T(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&T(e,Math.max(t.offsetTop-o,0))}function M(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function R(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}var I=!1,Z={get passive(){return I=!0}},N="undefined"!=typeof window?window:{};N.addEventListener&&N.removeEventListener&&(N.addEventListener("p",x,Z),N.removeEventListener("p",x,!1));var L=I;function F(e){return null!=e}function H(e,t,n){return e?t:n}function B(e){return e}function U(e){return e}var W=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter((function(e){var t=(0,s.Z)(e,1)[0];return!n.includes(t)}));return o.reduce((function(e,t){var n=(0,s.Z)(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})};function z(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.theme.spacing,c=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var l,f=c.getBoundingClientRect().height,p=n.getBoundingClientRect(),d=p.bottom,h=p.height,m=p.top,g=n.offsetParent.getBoundingClientRect().top,v=a?window.innerHeight:k(l=c)?window.innerHeight:l.clientHeight,y=C(c),b=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),O=g-w,x=v-m,S=O+y,j=f-y-m,P=d-v+y+b,E=y+m-w,D=160;switch(o){case"auto":case"bottom":if(x>=h)return{placement:"bottom",maxHeight:t};if(j>=h&&!a)return i&&_(c,P,D),{placement:"bottom",maxHeight:t};if(!a&&j>=r||a&&x>=r)return i&&_(c,P,D),{placement:"bottom",maxHeight:a?x-b:j-b};if("auto"===o||a){var A=t,M=a?O:S;return M>=r&&(A=Math.min(M-b-s.controlHeight,t)),{placement:"top",maxHeight:A}}if("bottom"===o)return i&&T(c,P),{placement:"bottom",maxHeight:t};break;case"top":if(O>=h)return{placement:"top",maxHeight:t};if(S>=h&&!a)return i&&_(c,E,D),{placement:"top",maxHeight:t};if(!a&&S>=r||a&&O>=r){var R=t;return(!a&&S>=r||a&&O>=r)&&(R=a?O-w:S-w),i&&_(c,E,D),{placement:"top",maxHeight:R}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}var V=function(e){return"auto"===e?"bottom":e},G=function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,i=r.spacing,a=r.colors;return t={label:"menu"},(0,p.Z)(t,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),(0,p.Z)(t,"backgroundColor",a.neutral0),(0,p.Z)(t,"borderRadius",o),(0,p.Z)(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),(0,p.Z)(t,"marginBottom",i.menuGutter),(0,p.Z)(t,"marginTop",i.menuGutter),(0,p.Z)(t,"position","absolute"),(0,p.Z)(t,"width","100%"),(0,p.Z)(t,"zIndex",1),t},q=(0,d.createContext)({getPortalPlacement:null}),$=function(e){(0,f.Z)(n,e);var t=w(n);function n(){var e;(0,u.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).state={maxHeight:e.props.maxMenuHeight,placement:null},e.context=void 0,e.getPlacement=function(t){var n=e.props,r=n.minMenuHeight,o=n.maxMenuHeight,i=n.menuPlacement,a=n.menuPosition,s=n.menuShouldScrollIntoView,c=n.theme;if(t){var u="fixed"===a,l=z({maxHeight:o,menuEl:t,minHeight:r,placement:i,shouldScroll:s&&!u,isFixedPosition:u,theme:c}),f=e.context.getPortalPlacement;f&&f(l),e.setState(l)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,n=e.state.placement||V(t);return v(v({},e.props),{},{placement:n,maxHeight:e.state.maxHeight})},e}return(0,l.Z)(n,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(d.Component);$.contextType=q;var Y=function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},X=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},K=X,J=X,Q=function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,s=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:a("noOptionsMessage",e),className:i({"menu-notice":!0,"menu-notice--no-options":!0},n)},s),t)};Q.defaultProps={children:"No options"};var ee=function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,s=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:a("loadingMessage",e),className:i({"menu-notice":!0,"menu-notice--loading":!0},n)},s),t)};ee.defaultProps={children:"Loading..."};var te,ne=function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},re=function(e){(0,f.Z)(n,e);var t=w(n);function n(){var e;(0,u.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).state={placement:null},e.getPortalPlacement=function(t){var n=t.placement;n!==V(e.props.menuPlacement)&&e.setState({placement:n})},e}return(0,l.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,i=e.className,a=e.controlElement,s=e.cx,c=e.innerProps,u=e.menuPlacement,l=e.menuPosition,f=e.getStyles,p="fixed"===l;if(!t&&!p||!a)return null;var d=this.state.placement||V(u),m=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(a),g=p?0:window.pageYOffset,v={offset:m[d]+g,position:l,rect:m},y=(0,o.tZ)("div",(0,r.Z)({css:f("menuPortal",v),className:s({"menu-portal":!0},i)},c),n);return(0,o.tZ)(q.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},t?(0,h.createPortal)(y,t):y)}}]),n}(d.Component),oe=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},ie=function(e){var t=e.theme.spacing,n=e.isMulti,r=e.hasValue,o=e.selectProps.controlShouldRenderValue;return{alignItems:"center",display:n&&r&&o?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},ae=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},se=["size"];var ce={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},ue=function(e){var t=e.size,n=(0,a.Z)(e,se);return(0,o.tZ)("svg",(0,r.Z)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:ce},n))},le=function(e){return(0,o.tZ)(ue,(0,r.Z)({size:20},e),(0,o.tZ)("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},fe=function(e){return(0,o.tZ)(ue,(0,r.Z)({size:20},e),(0,o.tZ)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},pe=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorContainer",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?o.neutral80:o.neutral40}}},de=pe,he=pe,me=function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},ge=(0,o.F4)(te||(te=(0,i.Z)(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]))),ve=function(e){var t=e.isFocused,n=e.size,r=e.theme,o=r.colors,i=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},ye=function(e){var t=e.delay,n=e.offset;return(0,o.tZ)("span",{css:(0,o.iv)({animation:"".concat(ge," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},be=function(e){var t=e.className,n=e.cx,i=e.getStyles,a=e.innerProps,s=e.isRtl;return(0,o.tZ)("div",(0,r.Z)({css:i("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)},a),(0,o.tZ)(ye,{delay:0,offset:s}),(0,o.tZ)(ye,{delay:160,offset:!0}),(0,o.tZ)(ye,{delay:320,offset:!s}))};be.defaultProps={size:4};var we=function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,i=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:n?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},Oe=["data"],xe=function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},Se=function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},je=["innerRef","isDisabled","isHidden","inputClassName"],Pe=function(e){var t=e.isDisabled,n=e.value,r=e.theme,o=r.spacing,i=r.colors;return v({margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,visibility:t?"hidden":"visible",color:i.neutral80,transform:n?"translateZ(0)":""},ke)},Ee={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},ke={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":v({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ee)},Ce=function(e){return v({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ee)},Te=function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},De=function(e){var t=e.theme,n=t.borderRadius,r=t.colors,o=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"}},_e=function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,o=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused?o.dangerLight:void 0,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},Ae=function(e){var t=e.children,n=e.innerProps;return(0,o.tZ)("div",n,t)};var Me=function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,i=o.spacing,a=o.colors;return{label:"option",backgroundColor:r?a.primary:n?a.primary25:"transparent",color:t?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:t?void 0:r?a.primary:a.primary50}}},Re=function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2}},Ie=function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},Ze={ClearIndicator:function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,s=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:a("clearIndicator",e),className:i({indicator:!0,"clear-indicator":!0},n)},s),t||(0,o.tZ)(le,null))},Control:function(e){var t=e.children,n=e.cx,i=e.getStyles,a=e.className,s=e.isDisabled,c=e.isFocused,u=e.innerRef,l=e.innerProps,f=e.menuIsOpen;return(0,o.tZ)("div",(0,r.Z)({ref:u,css:i("control",e),className:n({control:!0,"control--is-disabled":s,"control--is-focused":c,"control--menu-is-open":f},a)},l),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,s=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:a("dropdownIndicator",e),className:i({indicator:!0,"dropdown-indicator":!0},n)},s),t||(0,o.tZ)(fe,null))},DownChevron:fe,CrossIcon:le,Group:function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,s=e.Heading,c=e.headingProps,u=e.innerProps,l=e.label,f=e.theme,p=e.selectProps;return(0,o.tZ)("div",(0,r.Z)({css:a("group",e),className:i({group:!0},n)},u),(0,o.tZ)(s,(0,r.Z)({},c,{selectProps:p,theme:f,getStyles:a,cx:i}),l),(0,o.tZ)("div",null,t))},GroupHeading:function(e){var t=e.getStyles,n=e.cx,i=e.className,s=E(e);s.data;var c=(0,a.Z)(s,Oe);return(0,o.tZ)("div",(0,r.Z)({css:t("groupHeading",e),className:n({"group-heading":!0},i)},c))},IndicatorsContainer:function(e){var t=e.children,n=e.className,i=e.cx,a=e.innerProps,s=e.getStyles;return(0,o.tZ)("div",(0,r.Z)({css:s("indicatorsContainer",e),className:i({indicators:!0},n)},a),t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,i=e.getStyles,a=e.innerProps;return(0,o.tZ)("span",(0,r.Z)({},a,{css:i("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,i=e.getStyles,s=e.value,c=E(e),u=c.innerRef,l=c.isDisabled,f=c.isHidden,p=c.inputClassName,d=(0,a.Z)(c,je);return(0,o.tZ)("div",{className:n({"input-container":!0},t),css:i("input",e),"data-value":s||""},(0,o.tZ)("input",(0,r.Z)({className:n({input:!0},p),ref:u,style:Ce(f),disabled:l},d)))},LoadingIndicator:be,Menu:function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,s=e.innerRef,c=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:a("menu",e),className:i({menu:!0},n),ref:s},c),t)},MenuList:function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,s=e.innerProps,c=e.innerRef,u=e.isMulti;return(0,o.tZ)("div",(0,r.Z)({css:a("menuList",e),className:i({"menu-list":!0,"menu-list--is-multi":u},n),ref:c},s),t)},MenuPortal:re,LoadingMessage:ee,NoOptionsMessage:Q,MultiValue:function(e){var t=e.children,n=e.className,r=e.components,i=e.cx,a=e.data,s=e.getStyles,c=e.innerProps,u=e.isDisabled,l=e.removeProps,f=e.selectProps,p=r.Container,d=r.Label,h=r.Remove;return(0,o.tZ)(o.ms,null,(function(r){var m=r.css,g=r.cx;return(0,o.tZ)(p,{data:a,innerProps:v({className:g(m(s("multiValue",e)),i({"multi-value":!0,"multi-value--is-disabled":u},n))},c),selectProps:f},(0,o.tZ)(d,{data:a,innerProps:{className:g(m(s("multiValueLabel",e)),i({"multi-value__label":!0},n))},selectProps:f},t),(0,o.tZ)(h,{data:a,innerProps:v({className:g(m(s("multiValueRemove",e)),i({"multi-value__remove":!0},n)),"aria-label":"Remove ".concat(t||"option")},l),selectProps:f}))}))},MultiValueContainer:Ae,MultiValueLabel:Ae,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({role:"button"},n),t||(0,o.tZ)(le,{size:14}))},Option:function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,s=e.isDisabled,c=e.isFocused,u=e.isSelected,l=e.innerRef,f=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:a("option",e),className:i({option:!0,"option--is-disabled":s,"option--is-focused":c,"option--is-selected":u},n),ref:l,"aria-disabled":s},f),t)},Placeholder:function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,s=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:a("placeholder",e),className:i({placeholder:!0},n)},s),t)},SelectContainer:function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,s=e.innerProps,c=e.isDisabled,u=e.isRtl;return(0,o.tZ)("div",(0,r.Z)({css:a("container",e),className:i({"--is-disabled":c,"--is-rtl":u},n)},s),t)},SingleValue:function(e){var t=e.children,n=e.className,i=e.cx,a=e.getStyles,s=e.isDisabled,c=e.innerProps;return(0,o.tZ)("div",(0,r.Z)({css:a("singleValue",e),className:i({"single-value":!0,"single-value--is-disabled":s},n)},c),t)},ValueContainer:function(e){var t=e.children,n=e.className,i=e.cx,a=e.innerProps,s=e.isMulti,c=e.getStyles,u=e.hasValue;return(0,o.tZ)("div",(0,r.Z)({css:c("valueContainer",e),className:i({"value-container":!0,"value-container--is-multi":s,"value-container--has-value":u},n)},a),t)}},Ne=function(e){return v(v({},Ze),e.components)}},44066:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(1024),o=n.n(r),i=n(46444),a=n.n(i),s=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(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},l={outline:"none"},f=function(e){function t(){var n,r;s(this,t);for(var i=arguments.length,a=Array(i),c=0;c<i;c++)a[c]=arguments[c];return n=r=u(this,e.call.apply(e,[this].concat(a))),r.state={focused:!1},r._isMounted=!1,r._lastBlurEvent=null,r.ref=o().createRef(),r._onFocusIn=function(){r._isMounted&&r._lastBlurEvent&&r.isInsideNode(r.ref.current,r._lastBlurEvent.target)&&!r.isInsideNode(r.ref.current,document.activeElement)&&r.setState({focused:!1},(function(){document.removeEventListener("focusin",r._onFocusIn),r.props.onBlur(r._lastBlurEvent)}))},r.onFocus=function(e){var t=r.props.onFocus;r.state.focused||r.setState({focused:!0},(function(){document.addEventListener("focusin",r._onFocusIn),t(e)}))},r.onBlur=function(e){e.persist(),r._lastBlurEvent=e},r.isInsideNode=function(e,t){return null!=e&&e.contains(t)},u(r,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.prototype.componentDidMount=function(){null!=document&&document.querySelector("body").setAttribute("tabindex","-1"),this._isMounted=!0},t.prototype.componentWillUnmount=function(){this._isMounted=!1,document.removeEventListener("focusin",this._onFocusIn)},t.prototype.focus=function(){var e=this.ref.current;null!=e&&"function"==typeof e.focus&&e.focus()},t.prototype.render=function(){var e=this.props.children,t=this.state.focused,n={onFocus:this.onFocus,onBlur:this.onBlur};return"function"==typeof e?o().cloneElement(e({focused:t,getRef:this.ref}),n):o().createElement("div",c({ref:this.ref,style:l},n),e)},t}(o().Component);f.propTypes={children:a().oneOfType([a().node,a().func]).isRequired,onBlur:a().func,onFocus:a().func},f.defaultProps={onBlur:function(){},onFocus:function(){}};const p=f},99430:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(1024)),o=s(n(46444)),i=s(n(30314)),a=s(n(83109));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?g(e):t}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}a.default||console.error("It looks like Tether has not been included. Please load this dependency first https://github.com/HubSpot/tether");var y=[o.default.string,o.default.shape({appendChild:o.default.func.isRequired})],b=["auto auto","top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],w=function(e){function t(){var e,n;f(this,t);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return v(g(g(n=d(this,(e=h(t)).call.apply(e,[this].concat(i))))),"_targetNode",r.default.createRef()),v(g(g(n)),"_elementNode",r.default.createRef()),v(g(g(n)),"_elementParentNode",null),v(g(g(n)),"_tetherInstance",null),n}var n,o,s;return 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&&m(e,t)}(t,e),n=t,o=[{key:"componentDidMount",value:function(){this._createContainer(),this.forceUpdate()}},{key:"componentDidUpdate",value:function(e){if(e.renderElementTag===this.props.renderElementTag&&e.renderElementTo===this.props.renderElementTo||this._createContainer(),this._elementParentNode&&e.className!==this.props.className){var t,n,r=(e.className||"").split(" ").filter((function(e){return e.length>0})),o=(this.props.className||"").split(" ").filter((function(e){return e.length>0}));(t=this._elementParentNode.classList).remove.apply(t,l(r)),(n=this._elementParentNode.classList).add.apply(n,l(o))}this._update()}},{key:"componentWillUnmount",value:function(){this._destroy()}},{key:"getTetherInstance",value:function(){return this._tetherInstance}},{key:"disable",value:function(){this._tetherInstance.disable()}},{key:"enable",value:function(){this._tetherInstance.enable()}},{key:"on",value:function(e,t,n){this._tetherInstance.on(e,t,n)}},{key:"once",value:function(e,t,n){this._tetherInstance.once(e,t,n)}},{key:"off",value:function(e,t){this._tetherInstance.off(e,t)}},{key:"position",value:function(){this._tetherInstance.position()}},{key:"_runRenders",value:function(){var e="function"==typeof this.props.renderTarget?this.props.renderTarget(this._targetNode):null,t="function"==typeof this.props.renderElement?this.props.renderElement(this._elementNode):null;return(0,r.isValidElement)(e)||(e=null),(0,r.isValidElement)(t)||(t=null),{targetComponent:e,elementComponent:t}}},{key:"_createTetherInstance",value:function(e){this._tetherInstance&&this._destroy(),this._tetherInstance=new a.default(e),this._registerEventListeners()}},{key:"_destroyTetherInstance",value:function(){this._tetherInstance&&(this._tetherInstance.destroy(),this._tetherInstance=null)}},{key:"_registerEventListeners",value:function(){var e=this;this.on("update",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.props.onUpdate&&e.props.onUpdate.apply(e,n)})),this.on("repositioned",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.props.onRepositioned&&e.props.onRepositioned.apply(e,n)}))}},{key:"_destroy",value:function(){this._destroyTetherInstance(),this._removeContainer()}},{key:"_createContainer",value:function(){this._removeContainer();var e=this.props,t=e.renderElementTag,n=e.className;this._elementParentNode=document.createElement(t),this._elementParentNode.className=n||""}},{key:"_addContainerToDOM",value:function(){this._elementParentNode.parentNode!==this._renderNode&&this._renderNode.appendChild(this._elementParentNode)}},{key:"_removeContainer",value:function(){this._elementParentNode&&this._elementParentNode.parentNode&&this._elementParentNode.parentNode.removeChild(this._elementParentNode)}},{key:"_update",value:function(){this._elementNode.current&&this._targetNode.current?this._updateTether():this._destroy()}},{key:"_updateTether",value:function(){var e=this.props,t=(e.children,e.renderElementTag,e.renderElementTo,e.id),n=(e.className,e.style),r=(e.renderTarget,e.renderElement,u(e,["children","renderElementTag","renderElementTo","id","className","style","renderTarget","renderElement"])),o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){v(e,t,n[t])}))}return e}({target:this._targetNode.current,element:this._elementParentNode},r),i=t||"";if(this._elementParentNode.id!==i&&(this._elementParentNode.id=i),n){var a=this._elementParentNode.style;Object.keys(n).forEach((function(e){a[e]!==n[e]&&(a[e]=n[e])}))}this._addContainerToDOM(),this._tetherInstance?this._tetherInstance.setOptions(o):this._createTetherInstance(o),this._tetherInstance.position()}},{key:"render",value:function(){var e=this._runRenders(),t=e.targetComponent,n=e.elementComponent;return t?r.default.createElement(r.default.Fragment,null,t,n&&this._elementParentNode&&i.default.createPortal(n,this._elementParentNode)):null}},{key:"_renderNode",get:function(){var e=this.props.renderElementTo;return"string"==typeof e?document.querySelector(e):e||document.body}}],o&&p(n.prototype,o),s&&p(n,s),t}(r.Component);v(w,"propTypes",{renderElementTag:o.default.string,renderElementTo:o.default.oneOfType(y),attachment:o.default.oneOf(b).isRequired,targetAttachment:o.default.oneOf(b),offset:o.default.string,targetOffset:o.default.string,targetModifier:o.default.string,enabled:o.default.bool,classes:o.default.object,classPrefix:o.default.string,optimizations:o.default.object,constraints:o.default.array,id:o.default.string,className:o.default.string,style:o.default.object,onUpdate:o.default.func,onRepositioned:o.default.func,renderTarget:o.default.func,renderElement:o.default.func,children:function(e,t,n){var o=e.children;if(r.Children.count(o)>0)return new Error("".concat(n," no longer uses children to render components. Please use renderTarget and renderElement instead."))}}),v(w,"defaultProps",{renderElementTag:"div",renderElementTo:null});var O=w;t.default=O},50855:(e,t,n)=>{"use strict";Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return o.default}});var r,o=(r=n(99430))&&r.__esModule?r:{default:r}},77208:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){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&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var i,a=n(6663),s=(i=a)&&i.__esModule?i:{default:i},c=function(e){return e};t.default=function(e){var t=Array.isArray(e)&&2===e.length?e:[e,null],n=r(t,2),i=n[0],a=n[1];return function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var u=n.map((function(e){return i[e]})).filter(c);return"string"==typeof u[0]||"function"==typeof a?{key:e,className:a?a.apply(void 0,o(u)):u.join(" ")}:{key:e,style:s.default.apply(void 0,[{}].concat(o(u)))}}},e.exports=t.default},6663:e=>{"use strict";var t=Object.prototype.propertyIsEnumerable;function n(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(e){var n=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(e))),n.filter((function(n){return t.call(e,n)}))}e.exports=Object.assign||function(e,t){for(var o,i,a=n(e),s=1;s<arguments.length;s++){o=arguments[s],i=r(Object(o));for(var c=0;c<i.length;c++)a[i[c]]=o[i[c]]}return a}},59211:e=>{var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=function(e,t,n){var r=f;return function(o,i){if(r===d)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return D()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=P(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var c=l(e,t,n);if("normal"===c.type){if(r=n.done?h:p,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f="suspendedStart",p="suspendedYield",d="executing",h="completed",m={};function g(){}function v(){}function y(){}var b={};b[i]=function(){return this};var w=Object.getPrototypeOf,O=w&&w(w(T([])));O&&O!==n&&r.call(O,i)&&(b=O);var x=y.prototype=g.prototype=Object.create(b);function S(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function n(o,i,a,s){var c=l(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function P(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,P(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=l(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function T(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:D}}function D(){return{value:t,done:!0}}return v.prototype=x.constructor=y,y.constructor=v,v.displayName=c(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},S(j.prototype),j.prototype[a]=function(){return this},e.AsyncIterator=j,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new j(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},S(x),c(x,s,"Generator"),x[i]=function(){return this},x.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}},53090:e=>{"use strict";var t=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){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&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.exports=function(e){var n=e.data,r=e.multiSection;function o(e){var o=t(e,2),i=o[0],a=o[1];return r?null===a||a===n[i]-1?null===(i=function(e){for(null===e?e=0:e++;e<n.length&&0===n[e];)e++;return e===n.length?null:e}(i))?[null,null]:[i,0]:[i,a+1]:0===n||a===n-1?[null,null]:null===a?[null,0]:[null,a+1]}return{next:o,prev:function(e){var o=t(e,2),i=o[0],a=o[1];return r?null===a||0===a?null===(i=function(e){for(null===e?e=n.length-1:e--;e>=0&&0===n[e];)e--;return-1===e?null:e}(i))?[null,null]:[i,n[i]-1]:[i,a-1]:0===n||0===a?[null,null]:null===a?[null,n-1]:[null,a-1]},isLast:function(e){return null===o(e)[1]}}}},78858:e=>{"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=e.length;if(t.length!==n)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}},83109:function(e,t){var n,r,o;/*! tether 1.4.7 */r=[],n=function(){"use strict";var e=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var n=void 0;void 0===n&&(n={modules:[]});var r=null;function o(e){var t=e.getBoundingClientRect(),n={};for(var r in t)n[r]=t[r];try{if(e.ownerDocument!==document){var i=e.ownerDocument.defaultView.frameElement;if(i){var a=o(i);n.top+=a.top,n.bottom+=a.top,n.left+=a.left,n.right+=a.left}}}catch(e){}return n}function i(e){var t=(getComputedStyle(e)||{}).position,n=[];if("fixed"===t)return[e];for(var r=e;(r=r.parentNode)&&r&&1===r.nodeType;){var o=void 0;try{o=getComputedStyle(r)}catch(e){}if(null==o)return n.push(r),n;var i=o,a=i.overflow,s=i.overflowX,c=i.overflowY;/(auto|scroll|overlay)/.test(a+c+s)&&("absolute"!==t||["relative","absolute","fixed"].indexOf(o.position)>=0)&&n.push(r)}return n.push(e.ownerDocument.body),e.ownerDocument!==document&&n.push(e.ownerDocument.defaultView),n}var a,s=(a=0,function(){return++a}),c={},u=function(){var e=r;e&&document.body.contains(e)||((e=document.createElement("div")).setAttribute("data-tether-id",s()),m(e.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(e),r=e);var t=e.getAttribute("data-tether-id");return void 0===c[t]&&(c[t]=o(e),S((function(){delete c[t]}))),c[t]};function l(){r&&document.body.removeChild(r),r=null}function f(e){var t=void 0;e===document?(t=document,e=document.documentElement):t=e.ownerDocument;var n=t.documentElement,r=o(e),i=u();return r.top-=i.top,r.left-=i.left,void 0===r.width&&(r.width=document.body.scrollWidth-r.left-r.right),void 0===r.height&&(r.height=document.body.scrollHeight-r.top-r.bottom),r.top=r.top-n.clientTop,r.left=r.left-n.clientLeft,r.right=t.body.clientWidth-r.width-r.left,r.bottom=t.body.clientHeight-r.height-r.top,r}function p(e){return e.offsetParent||document.documentElement}var d=null;function h(){if(d)return d;var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");m(t.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);var n=e.offsetWidth;t.style.overflow="scroll";var r=e.offsetWidth;n===r&&(r=t.clientWidth),document.body.removeChild(t);var o=n-r;return d={width:o,height:o}}function m(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=[];return Array.prototype.push.apply(t,arguments),t.slice(1).forEach((function(t){if(t)for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])})),e}function g(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.remove(t)}));else{var n=new RegExp("(^| )"+t.split(" ").join("|")+"( |$)","gi"),r=b(e).replace(n," ");w(e,r)}}function v(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.add(t)}));else{g(e,t);var n=b(e)+" "+t;w(e,n)}}function y(e,t){if(void 0!==e.classList)return e.classList.contains(t);var n=b(e);return new RegExp("(^| )"+t+"( |$)","gi").test(n)}function b(e){return e.className instanceof e.ownerDocument.defaultView.SVGAnimatedString?e.className.baseVal:e.className}function w(e,t){e.setAttribute("class",t)}function O(e,t,n){n.forEach((function(n){-1===t.indexOf(n)&&y(e,n)&&g(e,n)})),t.forEach((function(t){y(e,t)||v(e,t)}))}var x=[],S=function(e){x.push(e)},j=function(){for(var e=void 0;e=x.pop();)e()},P=function(){function n(){t(this,n)}return e(n,[{key:"on",value:function(e,t,n){var r=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[e]&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:n,once:r})}},{key:"once",value:function(e,t,n){this.on(e,t,n,!0)}},{key:"off",value:function(e,t){if(void 0!==this.bindings&&void 0!==this.bindings[e])if(void 0===t)delete this.bindings[e];else for(var n=0;n<this.bindings[e].length;)this.bindings[e][n].handler===t?this.bindings[e].splice(n,1):++n}},{key:"trigger",value:function(e){if(void 0!==this.bindings&&this.bindings[e]){for(var t=0,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(;t<this.bindings[e].length;){var i=this.bindings[e][t],a=i.handler,s=i.ctx,c=i.once,u=s;void 0===u&&(u=this),a.apply(u,r),c?this.bindings[e].splice(t,1):++t}}}}]),n}();n.Utils={getActualBoundingClientRect:o,getScrollParents:i,getBounds:f,getOffsetParent:p,extend:m,addClass:v,removeClass:g,hasClass:y,updateClasses:O,defer:S,flush:j,uniqueId:s,Evented:P,getScrollBarSize:h,removeUtilElements:l};var E=function(){function e(e,t){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&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),k=(e=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),function(e,t,n){for(var r=!0;r;){var o=e,i=t,a=n;r=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,i);if(void 0!==s){if("value"in s)return s.value;var c=s.get;if(void 0===c)return;return c.call(a)}var u=Object.getPrototypeOf(o);if(null===u)return;e=u,t=i,n=a,r=!0,s=u=void 0}});function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(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)}if(void 0===n)throw new Error("You must include the utils.js file before tether.js");var i=(K=n.Utils).getScrollParents,p=(f=K.getBounds,K.getOffsetParent),v=(m=K.extend,K.addClass),g=K.removeClass,h=(O=K.updateClasses,S=K.defer,j=K.flush,K.getScrollBarSize),l=K.removeUtilElements;function T(e,t){var n=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return e+n>=t&&t>=e-n}var D,_,A,M,R=function(){if("undefined"==typeof document)return"";for(var e=document.createElement("div"),t=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],n=0;n<t.length;++n){var r=t[n];if(void 0!==e.style[r])return r}}(),I=[],Z=function(){I.forEach((function(e){e.position(!1)})),j()};function N(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}D=null,_=null,A=null,M=function e(){if(void 0!==_&&_>16)return _=Math.min(_-16,250),void(A=setTimeout(e,250));void 0!==D&&N()-D<10||(null!=A&&(clearTimeout(A),A=null),D=N(),Z(),_=N()-D)},"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach((function(e){window.addEventListener(e,M)}));var L={center:"center",left:"right",right:"left"},F={middle:"middle",top:"bottom",bottom:"top"},H={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},B=function(e,t){var n=e.left,r=e.top;return"auto"===n&&(n=L[t.left]),"auto"===r&&(r=F[t.top]),{left:n,top:r}},U=function(e){var t=e.left,n=e.top;return void 0!==H[e.left]&&(t=H[e.left]),void 0!==H[e.top]&&(n=H[e.top]),{left:t,top:n}};function W(){for(var e={top:0,left:0},t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){var n=t.top,r=t.left;"string"==typeof n&&(n=parseFloat(n,10)),"string"==typeof r&&(r=parseFloat(r,10)),e.top+=n,e.left+=r})),e}function z(e,t){return"string"==typeof e.left&&-1!==e.left.indexOf("%")&&(e.left=parseFloat(e.left,10)/100*t.width),"string"==typeof e.top&&-1!==e.top.indexOf("%")&&(e.top=parseFloat(e.top,10)/100*t.height),e}var V=function(e){var t=e.split(" "),n=E(t,2);return{top:n[0],left:n[1]}},G=V,q=function(r){function o(e){var r=this;t(this,o),k(Object.getPrototypeOf(o.prototype),"constructor",this).call(this),this.position=this.position.bind(this),I.push(this),this.history=[],this.setOptions(e,!1),n.modules.forEach((function(e){void 0!==e.initialize&&e.initialize.call(r)})),this.position()}return C(o,r),e(o,[{key:"getClass",value:function(){var e=arguments.length<=0||void 0===arguments[0]?"":arguments[0],t=this.options.classes;return void 0!==t&&t[e]?this.options.classes[e]:this.options.classPrefix?this.options.classPrefix+"-"+e:e}},{key:"setOptions",value:function(e){var t=this,n=arguments.length<=1||void 0===arguments[1]||arguments[1],r={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=m(r,e);var o=this.options,a=o.element,s=o.target,c=o.targetModifier;if(this.element=a,this.target=s,this.targetModifier=c,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach((function(e){if(void 0===t[e])throw new Error("Tether Error: Both element and target must be defined");void 0!==t[e].jquery?t[e]=t[e][0]:"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),v(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&v(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=G(this.options.targetAttachment),this.attachment=G(this.options.attachment),this.offset=V(this.options.offset),this.targetOffset=V(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=i(this.target),!1!==this.options.enabled&&this.enable(n)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return f(this.target);if("visible"===this.targetModifier)return this.target===document.body?{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}:((i={height:(e=f(this.target)).height,width:e.width,top:e.top,left:e.left}).height=Math.min(i.height,e.height-(pageYOffset-e.top)),i.height=Math.min(i.height,e.height-(e.top+e.height-(pageYOffset+innerHeight))),i.height=Math.min(innerHeight,i.height),i.height-=2,i.width=Math.min(i.width,e.width-(pageXOffset-e.left)),i.width=Math.min(i.width,e.width-(e.left+e.width-(pageXOffset+innerWidth))),i.width=Math.min(innerWidth,i.width),i.width-=2,i.top<pageYOffset&&(i.top=pageYOffset),i.left<pageXOffset&&(i.left=pageXOffset),i);if("scroll-handle"===this.targetModifier){var e=void 0,t=this.target;t===document.body?(t=document.documentElement,e={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):e=f(t);var n=getComputedStyle(t),r=0;(t.scrollWidth>t.clientWidth||[n.overflow,n.overflowX].indexOf("scroll")>=0||this.target!==document.body)&&(r=15);var o=e.height-parseFloat(n.borderTopWidth)-parseFloat(n.borderBottomWidth)-r,i={width:15,height:.975*o*(o/t.scrollHeight),left:e.left+e.width-parseFloat(n.borderLeftWidth)-15},a=0;o<408&&this.target===document.body&&(a=-11e-5*Math.pow(o,2)-.00727*o+22.58),this.target!==document.body&&(i.height=Math.max(i.height,24));var s=this.target.scrollTop/(t.scrollHeight-o);return i.top=s*(o-i.height-a)+e.top+parseFloat(n.borderTopWidth),this.target===document.body&&(i.height=Math.max(i.height,24)),i}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(e,t){return void 0===this._cache&&(this._cache={}),void 0===this._cache[e]&&(this._cache[e]=t.call(this)),this._cache[e]}},{key:"enable",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&v(this.target,this.getClass("enabled")),v(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach((function(t){t!==e.target.ownerDocument&&t.addEventListener("scroll",e.position)})),t&&this.position()}},{key:"disable",value:function(){var e=this;g(this.target,this.getClass("enabled")),g(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.position)}))}},{key:"destroy",value:function(){var e=this;this.disable(),I.forEach((function(t,n){t===e&&I.splice(n,1)})),0===I.length&&l()}},{key:"updateAttachClasses",value:function(e,t){var n=this;e=e||this.attachment,t=t||this.targetAttachment;var r=["left","top","bottom","right","middle","center"];void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var o=this._addAttachClasses;e.top&&o.push(this.getClass("element-attached")+"-"+e.top),e.left&&o.push(this.getClass("element-attached")+"-"+e.left),t.top&&o.push(this.getClass("target-attached")+"-"+t.top),t.left&&o.push(this.getClass("target-attached")+"-"+t.left);var i=[];r.forEach((function(e){i.push(n.getClass("element-attached")+"-"+e),i.push(n.getClass("target-attached")+"-"+e)})),S((function(){void 0!==n._addAttachClasses&&(O(n.element,n._addAttachClasses,i),!1!==n.options.addTargetClasses&&O(n.target,n._addAttachClasses,i),delete n._addAttachClasses)}))}},{key:"position",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var r=B(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,r);var o=this.cache("element-bounds",(function(){return f(e.element)})),i=o.width,a=o.height;if(0===i&&0===a&&void 0!==this.lastSize){var s=this.lastSize;i=s.width,a=s.height}else this.lastSize={width:i,height:a};var c=this.cache("target-bounds",(function(){return e.getTargetBounds()})),u=c,l=z(U(this.attachment),{width:i,height:a}),d=z(U(r),u),m=z(this.offset,{width:i,height:a}),g=z(this.targetOffset,u);l=W(l,m),d=W(d,g);for(var v=c.left+d.left-l.left,y=c.top+d.top-l.top,b=0;b<n.modules.length;++b){var w=n.modules[b].position.call(this,{left:v,top:y,targetAttachment:r,targetPos:c,elementPos:o,offset:l,targetOffset:d,manualOffset:m,manualTargetOffset:g,scrollbarSize:P,attachment:this.attachment});if(!1===w)return!1;void 0!==w&&"object"==typeof w&&(y=w.top,v=w.left)}var O={page:{top:y,left:v},viewport:{top:y-pageYOffset,bottom:pageYOffset-y-a+innerHeight,left:v-pageXOffset,right:pageXOffset-v-i+innerWidth}},x=this.target.ownerDocument,S=x.defaultView,P=void 0;return S.innerHeight>x.documentElement.clientHeight&&(P=this.cache("scrollbar-size",h),O.viewport.bottom-=P.height),S.innerWidth>x.documentElement.clientWidth&&(P=this.cache("scrollbar-size",h),O.viewport.right-=P.width),-1!==["","static"].indexOf(x.body.style.position)&&-1!==["","static"].indexOf(x.body.parentElement.style.position)||(O.page.bottom=x.body.scrollHeight-y-a,O.page.right=x.body.scrollWidth-v-i),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var t=e.cache("target-offsetparent",(function(){return p(e.target)})),n=e.cache("target-offsetparent-bounds",(function(){return f(t)})),r=getComputedStyle(t),o=n,i={};if(["Top","Left","Bottom","Right"].forEach((function(e){i[e.toLowerCase()]=parseFloat(r["border"+e+"Width"])})),n.right=x.body.scrollWidth-n.left-o.width+i.right,n.bottom=x.body.scrollHeight-n.top-o.height+i.bottom,O.page.top>=n.top+i.top&&O.page.bottom>=n.bottom&&O.page.left>=n.left+i.left&&O.page.right>=n.right){var a=t.scrollTop,s=t.scrollLeft;O.offset={top:O.page.top-n.top+a-i.top,left:O.page.left-n.left+s-i.left}}}(),this.move(O),this.history.unshift(O),this.history.length>3&&this.history.pop(),t&&j(),!0}}},{key:"move",value:function(e){var t=this;if(void 0!==this.element.parentNode){var n={};for(var r in e)for(var o in n[r]={},e[r]){for(var i=!1,a=0;a<this.history.length;++a){var s=this.history[a];if(void 0!==s[r]&&!T(s[r][o],e[r][o])){i=!0;break}}i||(n[r][o]=!0)}var c={top:"",left:"",right:"",bottom:""},u=function(e,n){if(!1!==(void 0!==t.options.optimizations?t.options.optimizations.gpu:null)){var r=void 0,o=void 0;e.top?(c.top=0,r=n.top):(c.bottom=0,r=-n.bottom),e.left?(c.left=0,o=n.left):(c.right=0,o=-n.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1==0&&(o=Math.round(o*devicePixelRatio)/devicePixelRatio,r=Math.round(r*devicePixelRatio)/devicePixelRatio),c[R]="translateX("+o+"px) translateY("+r+"px)","msTransform"!==R&&(c[R]+=" translateZ(0)")}else e.top?c.top=n.top+"px":c.bottom=n.bottom+"px",e.left?c.left=n.left+"px":c.right=n.right+"px"},l=!1;if((n.page.top||n.page.bottom)&&(n.page.left||n.page.right)?(c.position="absolute",u(n.page,e.page)):(n.viewport.top||n.viewport.bottom)&&(n.viewport.left||n.viewport.right)?(c.position="fixed",u(n.viewport,e.viewport)):void 0!==n.offset&&n.offset.top&&n.offset.left?function(){c.position="absolute";var r=t.cache("target-offsetparent",(function(){return p(t.target)}));p(t.element)!==r&&S((function(){t.element.parentNode.removeChild(t.element),r.appendChild(t.element)})),u(n.offset,e.offset),l=!0}():(c.position="absolute",u({top:!0,left:!0},e.page)),!l)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var f=function(e){var t=e.ownerDocument;return(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)===e},d=!0,h=this.element.parentNode;h&&1===h.nodeType&&"BODY"!==h.tagName&&!f(h);){if("static"!==getComputedStyle(h).position){d=!1;break}h=h.parentNode}d||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var g={},v=!1;for(var o in c){var y=c[o];this.element.style[o]!==y&&(v=!0,g[o]=y)}v&&S((function(){m(t.element.style,g),t.trigger("repositioned")}))}}}]),o}(P);q.modules=[],n.position=Z;var $=m(q,n);E=function(){function e(e,t){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&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=(K=n.Utils).getBounds;var m=K.extend,Y=(O=K.updateClasses,S=K.defer,["left","top","right","bottom"]);function X(e,t){return"scrollParent"===t?t=e.scrollParents[0]:"window"===t&&(t=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),t===document&&(t=t.documentElement),void 0!==t.nodeType&&function(){var e=t,n=f(t),r=n,o=getComputedStyle(t);if(t=[r.left,r.top,n.width+r.left,n.height+r.top],e.ownerDocument!==document){var i=e.ownerDocument.defaultView;t[0]+=i.pageXOffset,t[1]+=i.pageYOffset,t[2]+=i.pageXOffset,t[3]+=i.pageYOffset}Y.forEach((function(e,n){"Top"===(e=e[0].toUpperCase()+e.substr(1))||"Left"===e?t[n]+=parseFloat(o["border"+e+"Width"]):t[n]-=parseFloat(o["border"+e+"Width"])}))}(),t}n.modules.push({position:function(e){var t=this,n=e.top,r=e.left,o=e.targetAttachment;if(!this.options.constraints)return!0;var i=this.cache("element-bounds",(function(){return f(t.element)})),a=i.height,s=i.width;if(0===s&&0===a&&void 0!==this.lastSize){var c=this.lastSize;s=c.width,a=c.height}var u=this.cache("target-bounds",(function(){return t.getTargetBounds()})),l=u.height,p=u.width,d=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach((function(e){var t=e.outOfBoundsClass,n=e.pinnedClass;t&&d.push(t),n&&d.push(n)})),d.forEach((function(e){["left","top","right","bottom"].forEach((function(t){d.push(e+"-"+t)}))}));var h=[],g=m({},o),v=m({},this.attachment);return this.options.constraints.forEach((function(e){var i=e.to,c=e.attachment,u=e.pin;void 0===c&&(c="");var f=void 0,d=void 0;if(c.indexOf(" ")>=0){var m=c.split(" "),y=E(m,2);d=y[0],f=y[1]}else f=d=c;var b=X(t,i);"target"!==d&&"both"!==d||(n<b[1]&&"top"===g.top&&(n+=l,g.top="bottom"),n+a>b[3]&&"bottom"===g.top&&(n-=l,g.top="top")),"together"===d&&("top"===g.top&&("bottom"===v.top&&n<b[1]?(n+=l,g.top="bottom",n+=a,v.top="top"):"top"===v.top&&n+a>b[3]&&n-(a-l)>=b[1]&&(n-=a-l,g.top="bottom",v.top="bottom")),"bottom"===g.top&&("top"===v.top&&n+a>b[3]?(n-=l,g.top="top",n-=a,v.top="bottom"):"bottom"===v.top&&n<b[1]&&n+(2*a-l)<=b[3]&&(n+=a-l,g.top="top",v.top="top")),"middle"===g.top&&(n+a>b[3]&&"top"===v.top?(n-=a,v.top="bottom"):n<b[1]&&"bottom"===v.top&&(n+=a,v.top="top"))),"target"!==f&&"both"!==f||(r<b[0]&&"left"===g.left&&(r+=p,g.left="right"),r+s>b[2]&&"right"===g.left&&(r-=p,g.left="left")),"together"===f&&(r<b[0]&&"left"===g.left?"right"===v.left?(r+=p,g.left="right",r+=s,v.left="left"):"left"===v.left&&(r+=p,g.left="right",r-=s,v.left="right"):r+s>b[2]&&"right"===g.left?"left"===v.left?(r-=p,g.left="left",r-=s,v.left="right"):"right"===v.left&&(r-=p,g.left="left",r+=s,v.left="left"):"center"===g.left&&(r+s>b[2]&&"left"===v.left?(r-=s,v.left="right"):r<b[0]&&"right"===v.left&&(r+=s,v.left="left"))),"element"!==d&&"both"!==d||(n<b[1]&&"bottom"===v.top&&(n+=a,v.top="top"),n+a>b[3]&&"top"===v.top&&(n-=a,v.top="bottom")),"element"!==f&&"both"!==f||(r<b[0]&&("right"===v.left?(r+=s,v.left="left"):"center"===v.left&&(r+=s/2,v.left="left")),r+s>b[2]&&("left"===v.left?(r-=s,v.left="right"):"center"===v.left&&(r-=s/2,v.left="right"))),"string"==typeof u?u=u.split(",").map((function(e){return e.trim()})):!0===u&&(u=["top","left","right","bottom"]),u=u||[];var w,O,x=[],S=[];n<b[1]&&(u.indexOf("top")>=0?(n=b[1],x.push("top")):S.push("top")),n+a>b[3]&&(u.indexOf("bottom")>=0?(n=b[3]-a,x.push("bottom")):S.push("bottom")),r<b[0]&&(u.indexOf("left")>=0?(r=b[0],x.push("left")):S.push("left")),r+s>b[2]&&(u.indexOf("right")>=0?(r=b[2]-s,x.push("right")):S.push("right")),x.length&&(w=void 0,w=void 0!==t.options.pinnedClass?t.options.pinnedClass:t.getClass("pinned"),h.push(w),x.forEach((function(e){h.push(w+"-"+e)}))),S.length&&(O=void 0,O=void 0!==t.options.outOfBoundsClass?t.options.outOfBoundsClass:t.getClass("out-of-bounds"),h.push(O),S.forEach((function(e){h.push(O+"-"+e)}))),(x.indexOf("left")>=0||x.indexOf("right")>=0)&&(v.left=g.left=!1),(x.indexOf("top")>=0||x.indexOf("bottom")>=0)&&(v.top=g.top=!1),g.top===o.top&&g.left===o.left&&v.top===t.attachment.top&&v.left===t.attachment.left||(t.updateAttachClasses(v,g),t.trigger("update",{attachment:v,targetAttachment:g}))})),S((function(){!1!==t.options.addTargetClasses&&O(t.target,h,d),O(t.element,h,d)})),{top:n,left:r}}});var K,f=(K=n.Utils).getBounds,O=K.updateClasses;return S=K.defer,n.modules.push({position:function(e){var t=this,n=e.top,r=e.left,o=this.cache("element-bounds",(function(){return f(t.element)})),i=o.height,a=o.width,s=this.getTargetBounds(),c=n+i,u=r+a,l=[];n<=s.bottom&&c>=s.top&&["left","right"].forEach((function(e){var t=s[e];t!==r&&t!==u||l.push(e)})),r<=s.right&&u>=s.left&&["top","bottom"].forEach((function(e){var t=s[e];t!==n&&t!==c||l.push(e)}));var p=[],d=[],h=["left","top","right","bottom"];return p.push(this.getClass("abutted")),h.forEach((function(e){p.push(t.getClass("abutted")+"-"+e)})),l.length&&d.push(this.getClass("abutted")),l.forEach((function(e){d.push(t.getClass("abutted")+"-"+e)})),S((function(){!1!==t.options.addTargetClasses&&O(t.target,d,p),O(t.element,d,p)})),!0}}),E=function(){function e(e,t){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&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),n.modules.push({position:function(e){var t=e.top,n=e.left;if(this.options.shift){var r=this.options.shift;"function"==typeof this.options.shift&&(r=this.options.shift.call(this,{top:t,left:n}));var o=void 0,i=void 0;if("string"==typeof r){(r=r.split(" "))[1]=r[1]||r[0];var a=E(r,2);o=a[0],i=a[1],o=parseFloat(o,10),i=parseFloat(i,10)}else o=r.top,i=r.left;return{top:t+=o,left:n+=i}}}}),$},void 0===(o="function"==typeof n?n.apply(t,r):n)||(e.exports=o)},13615:function(e){
|
|
58
58
|
/*! @license DOMPurify 2.3.10 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.10/LICENSE */
|
|
59
|
-
e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(){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}}function r(e,o,i){return r=n()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var i=new(Function.bind.apply(e,o));return r&&t(i,r.prototype),i},r.apply(null,arguments)}function o(e){return i(e)||a(e)||s(e)||u()}function i(e){if(Array.isArray(e))return c(e)}function a(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function s(e,t){if(e){if("string"==typeof e)return c(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)?c(e,t):void 0}}function c(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 u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l=Object.hasOwnProperty,f=Object.setPrototypeOf,p=Object.isFrozen,d=Object.getPrototypeOf,h=Object.getOwnPropertyDescriptor,m=Object.freeze,g=Object.seal,v=Object.create,y="undefined"!=typeof Reflect&&Reflect,b=y.apply,w=y.construct;b||(b=function(e,t,n){return e.apply(t,n)}),m||(m=function(e){return e}),g||(g=function(e){return e}),w||(w=function(e,t){return r(e,o(t))});var O=_(Array.prototype.forEach),x=_(Array.prototype.pop),S=_(Array.prototype.push),j=_(String.prototype.toLowerCase),P=_(String.prototype.match),E=_(String.prototype.replace),k=_(String.prototype.indexOf),C=_(String.prototype.trim),T=_(RegExp.prototype.test),D=A(TypeError);function _(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return b(e,t,r)}}function A(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return w(e,n)}}function M(e,t,n){n=n||j,f&&f(e,null);for(var r=t.length;r--;){var o=t[r];if("string"==typeof o){var i=n(o);i!==o&&(p(t)||(t[r]=i),o=i)}e[o]=!0}return e}function R(e){var t,n=v(null);for(t in e)b(l,e,[t])&&(n[t]=e[t]);return n}function I(e,t){for(;null!==e;){var n=h(e,t);if(n){if(n.get)return _(n.get);if("function"==typeof n.value)return _(n.value)}e=d(e)}function r(e){return console.warn("fallback value for",e),null}return r}var Z=m(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),N=m(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),L=m(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),F=m(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),H=m(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),B=m(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),U=m(["#text"]),W=m(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),z=m(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),V=m(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),G=m(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),q=g(/\{\{[\w\W]*|[\w\W]*\}\}/gm),$=g(/<%[\w\W]*|[\w\W]*%>/gm),Y=g(/^data-[\-\w.\u00B7-\uFFFF]/),X=g(/^aria-[\-\w]+$/),K=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),J=g(/^(?:\w+script|data):/i),Q=g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ee=g(/^html$/i),te=function(){return"undefined"==typeof window?null:window},ne=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function re(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te(),n=function(e){return re(e)};if(n.version="2.3.10",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,i=t.document,a=t.DocumentFragment,s=t.HTMLTemplateElement,c=t.Node,u=t.Element,l=t.NodeFilter,f=t.NamedNodeMap,p=void 0===f?t.NamedNodeMap||t.MozNamedAttrMap:f,d=t.HTMLFormElement,h=t.DOMParser,g=t.trustedTypes,v=u.prototype,y=I(v,"cloneNode"),b=I(v,"nextSibling"),w=I(v,"childNodes"),_=I(v,"parentNode");if("function"==typeof s){var A=i.createElement("template");A.content&&A.content.ownerDocument&&(i=A.content.ownerDocument)}var oe=ne(g,r),ie=oe?oe.createHTML(""):"",ae=i,se=ae.implementation,ce=ae.createNodeIterator,ue=ae.createDocumentFragment,le=ae.getElementsByTagName,fe=r.importNode,pe={};try{pe=R(i).documentMode?i.documentMode:{}}catch(e){}var de={};n.isSupported="function"==typeof _&&se&&void 0!==se.createHTMLDocument&&9!==pe;var he,me,ge=q,ve=$,ye=Y,be=X,we=J,Oe=Q,xe=K,Se=null,je=M({},[].concat(o(Z),o(N),o(L),o(H),o(U))),Pe=null,Ee=M({},[].concat(o(W),o(z),o(V),o(G))),ke=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ce=null,Te=null,De=!0,_e=!0,Ae=!1,Me=!1,Re=!1,Ie=!1,Ze=!1,Ne=!1,Le=!1,Fe=!1,He=!0,Be=!0,Ue=!1,We={},ze=null,Ve=M({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ge=null,qe=M({},["audio","video","img","source","image","track"]),$e=null,Ye=M({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Xe="http://www.w3.org/1998/Math/MathML",Ke="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml",Qe=Je,et=!1,tt=["application/xhtml+xml","text/html"],nt="text/html",rt=null,ot=i.createElement("form"),it=function(e){return e instanceof RegExp||e instanceof Function},at=function(t){rt&&rt===t||(t&&"object"===e(t)||(t={}),t=R(t),he=he=-1===tt.indexOf(t.PARSER_MEDIA_TYPE)?nt:t.PARSER_MEDIA_TYPE,me="application/xhtml+xml"===he?function(e){return e}:j,Se="ALLOWED_TAGS"in t?M({},t.ALLOWED_TAGS,me):je,Pe="ALLOWED_ATTR"in t?M({},t.ALLOWED_ATTR,me):Ee,$e="ADD_URI_SAFE_ATTR"in t?M(R(Ye),t.ADD_URI_SAFE_ATTR,me):Ye,Ge="ADD_DATA_URI_TAGS"in t?M(R(qe),t.ADD_DATA_URI_TAGS,me):qe,ze="FORBID_CONTENTS"in t?M({},t.FORBID_CONTENTS,me):Ve,Ce="FORBID_TAGS"in t?M({},t.FORBID_TAGS,me):{},Te="FORBID_ATTR"in t?M({},t.FORBID_ATTR,me):{},We="USE_PROFILES"in t&&t.USE_PROFILES,De=!1!==t.ALLOW_ARIA_ATTR,_e=!1!==t.ALLOW_DATA_ATTR,Ae=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Me=t.SAFE_FOR_TEMPLATES||!1,Re=t.WHOLE_DOCUMENT||!1,Ne=t.RETURN_DOM||!1,Le=t.RETURN_DOM_FRAGMENT||!1,Fe=t.RETURN_TRUSTED_TYPE||!1,Ze=t.FORCE_BODY||!1,He=!1!==t.SANITIZE_DOM,Be=!1!==t.KEEP_CONTENT,Ue=t.IN_PLACE||!1,xe=t.ALLOWED_URI_REGEXP||xe,Qe=t.NAMESPACE||Je,t.CUSTOM_ELEMENT_HANDLING&&it(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ke.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&it(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ke.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ke.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Me&&(_e=!1),Le&&(Ne=!0),We&&(Se=M({},o(U)),Pe=[],!0===We.html&&(M(Se,Z),M(Pe,W)),!0===We.svg&&(M(Se,N),M(Pe,z),M(Pe,G)),!0===We.svgFilters&&(M(Se,L),M(Pe,z),M(Pe,G)),!0===We.mathMl&&(M(Se,H),M(Pe,V),M(Pe,G))),t.ADD_TAGS&&(Se===je&&(Se=R(Se)),M(Se,t.ADD_TAGS,me)),t.ADD_ATTR&&(Pe===Ee&&(Pe=R(Pe)),M(Pe,t.ADD_ATTR,me)),t.ADD_URI_SAFE_ATTR&&M($e,t.ADD_URI_SAFE_ATTR,me),t.FORBID_CONTENTS&&(ze===Ve&&(ze=R(ze)),M(ze,t.FORBID_CONTENTS,me)),Be&&(Se["#text"]=!0),Re&&M(Se,["html","head","body"]),Se.table&&(M(Se,["tbody"]),delete Ce.tbody),m&&m(t),rt=t)},st=M({},["mi","mo","mn","ms","mtext"]),ct=M({},["foreignobject","desc","title","annotation-xml"]),ut=M({},["title","style","font","a","script"]),lt=M({},N);M(lt,L),M(lt,F);var ft=M({},H);M(ft,B);var pt=function(e){var t=_(e);t&&t.tagName||(t={namespaceURI:Je,tagName:"template"});var n=j(e.tagName),r=j(t.tagName);return e.namespaceURI===Ke?t.namespaceURI===Je?"svg"===n:t.namespaceURI===Xe?"svg"===n&&("annotation-xml"===r||st[r]):Boolean(lt[n]):e.namespaceURI===Xe?t.namespaceURI===Je?"math"===n:t.namespaceURI===Ke?"math"===n&&ct[r]:Boolean(ft[n]):e.namespaceURI===Je&&!(t.namespaceURI===Ke&&!ct[r])&&!(t.namespaceURI===Xe&&!st[r])&&!ft[n]&&(ut[n]||!lt[n])},dt=function(e){S(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ie}catch(t){e.remove()}}},ht=function(e,t){try{S(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){S(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Pe[e])if(Ne||Le)try{dt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},mt=function(e){var t,n;if(Ze)e="<remove></remove>"+e;else{var r=P(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===he&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=oe?oe.createHTML(e):e;if(Qe===Je)try{t=(new h).parseFromString(o,he)}catch(e){}if(!t||!t.documentElement){t=se.createDocument(Qe,"template",null);try{t.documentElement.innerHTML=et?"":o}catch(e){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(i.createTextNode(n),a.childNodes[0]||null),Qe===Je?le.call(t,Re?"html":"body")[0]:Re?t.documentElement:a},gt=function(e){return ce.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},vt=function(e){return e instanceof d&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof p)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},yt=function(t){return"object"===e(c)?t instanceof c:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},bt=function(e,t,r){de[e]&&O(de[e],(function(e){e.call(n,t,r,rt)}))},wt=function(e){var t;if(bt("beforeSanitizeElements",e,null),vt(e))return dt(e),!0;if(T(/[\u0080-\uFFFF]/,e.nodeName))return dt(e),!0;var r=me(e.nodeName);if(bt("uponSanitizeElement",e,{tagName:r,allowedTags:Se}),e.hasChildNodes()&&!yt(e.firstElementChild)&&(!yt(e.content)||!yt(e.content.firstElementChild))&&T(/<[/\w]/g,e.innerHTML)&&T(/<[/\w]/g,e.textContent))return dt(e),!0;if("select"===r&&T(/<template/i,e.innerHTML))return dt(e),!0;if(!Se[r]||Ce[r]){if(!Ce[r]&&xt(r)){if(ke.tagNameCheck instanceof RegExp&&T(ke.tagNameCheck,r))return!1;if(ke.tagNameCheck instanceof Function&&ke.tagNameCheck(r))return!1}if(Be&&!ze[r]){var o=_(e)||e.parentNode,i=w(e)||e.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(y(i[a],!0),b(e))}return dt(e),!0}return e instanceof u&&!pt(e)?(dt(e),!0):"noscript"!==r&&"noembed"!==r||!T(/<\/no(script|embed)/i,e.innerHTML)?(Me&&3===e.nodeType&&(t=e.textContent,t=E(t,ge," "),t=E(t,ve," "),e.textContent!==t&&(S(n.removed,{element:e.cloneNode()}),e.textContent=t)),bt("afterSanitizeElements",e,null),!1):(dt(e),!0)},Ot=function(e,t,n){if(He&&("id"===t||"name"===t)&&(n in i||n in ot))return!1;if(_e&&!Te[t]&&T(ye,t));else if(De&&T(be,t));else if(!Pe[t]||Te[t]){if(!(xt(e)&&(ke.tagNameCheck instanceof RegExp&&T(ke.tagNameCheck,e)||ke.tagNameCheck instanceof Function&&ke.tagNameCheck(e))&&(ke.attributeNameCheck instanceof RegExp&&T(ke.attributeNameCheck,t)||ke.attributeNameCheck instanceof Function&&ke.attributeNameCheck(t))||"is"===t&&ke.allowCustomizedBuiltInElements&&(ke.tagNameCheck instanceof RegExp&&T(ke.tagNameCheck,n)||ke.tagNameCheck instanceof Function&&ke.tagNameCheck(n))))return!1}else if($e[t]);else if(T(xe,E(n,Oe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==k(n,"data:")||!Ge[e])if(Ae&&!T(we,E(n,Oe,"")));else if(n)return!1;return!0},xt=function(e){return e.indexOf("-")>0},St=function(t){var r,o,i,a;bt("beforeSanitizeAttributes",t,null);var s=t.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Pe};for(a=s.length;a--;){var u=r=s[a],l=u.name,f=u.namespaceURI;if(o="value"===l?r.value:C(r.value),i=me(l),c.attrName=i,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,bt("uponSanitizeAttribute",t,c),o=c.attrValue,!c.forceKeepAttr&&(ht(l,t),c.keepAttr))if(T(/\/>/i,o))ht(l,t);else{Me&&(o=E(o,ge," "),o=E(o,ve," "));var p=me(t.nodeName);if(Ot(p,i,o)){if(oe&&"object"===e(g)&&"function"==typeof g.getAttributeType)if(f);else switch(g.getAttributeType(p,i)){case"TrustedHTML":o=oe.createHTML(o);break;case"TrustedScriptURL":o=oe.createScriptURL(o)}try{f?t.setAttributeNS(f,l,o):t.setAttribute(l,o),x(n.removed)}catch(e){}}}}bt("afterSanitizeAttributes",t,null)}},jt=function e(t){var n,r=gt(t);for(bt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)bt("uponSanitizeShadowNode",n,null),wt(n)||(n.content instanceof a&&e(n.content),St(n));bt("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(o,i){var s,u,l,f,p;if((et=!o)&&(o="\x3c!--\x3e"),"string"!=typeof o&&!yt(o)){if("function"!=typeof o.toString)throw D("toString is not a function");if("string"!=typeof(o=o.toString()))throw D("dirty is not a string, aborting")}if(!n.isSupported){if("object"===e(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof o)return t.toStaticHTML(o);if(yt(o))return t.toStaticHTML(o.outerHTML)}return o}if(Ie||at(i),n.removed=[],"string"==typeof o&&(Ue=!1),Ue){if(o.nodeName){var d=me(o.nodeName);if(!Se[d]||Ce[d])throw D("root node is forbidden and cannot be sanitized in-place")}}else if(o instanceof c)1===(u=(s=mt("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===u.nodeName||"HTML"===u.nodeName?s=u:s.appendChild(u);else{if(!Ne&&!Me&&!Re&&-1===o.indexOf("<"))return oe&&Fe?oe.createHTML(o):o;if(!(s=mt(o)))return Ne?null:Fe?ie:""}s&&Ze&&dt(s.firstChild);for(var h=gt(Ue?o:s);l=h.nextNode();)3===l.nodeType&&l===f||wt(l)||(l.content instanceof a&&jt(l.content),St(l),f=l);if(f=null,Ue)return o;if(Ne){if(Le)for(p=ue.call(s.ownerDocument);s.firstChild;)p.appendChild(s.firstChild);else p=s;return Pe.shadowroot&&(p=fe.call(r,p,!0)),p}var m=Re?s.outerHTML:s.innerHTML;return Re&&Se["!doctype"]&&s.ownerDocument&&s.ownerDocument.doctype&&s.ownerDocument.doctype.name&&T(ee,s.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+s.ownerDocument.doctype.name+">\n"+m),Me&&(m=E(m,ge," "),m=E(m,ve," ")),oe&&Fe?oe.createHTML(m):m},n.setConfig=function(e){at(e),Ie=!0},n.clearConfig=function(){rt=null,Ie=!1},n.isValidAttribute=function(e,t,n){rt||at({});var r=me(e),o=me(t);return Ot(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(de[e]=de[e]||[],S(de[e],t))},n.removeHook=function(e){if(de[e])return x(de[e])},n.removeHooks=function(e){de[e]&&(de[e]=[])},n.removeAllHooks=function(){de={}},n}return re()}()},1024:t=>{"use strict";t.exports=e},30314:e=>{"use strict";e.exports=t},71298:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},38088:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},87462:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},88911:(e,t,n)=>{"use strict";function r(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}n.d(t,{Z:()=>r})},83029:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>r})},11259:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>r})},44822:(e,t,n)=>{"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:()=>o})},46927:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:()=>r})},3640:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},32208:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}function o(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)}n.d(t,{Z:()=>o})},72753:(e,t,n)=>{"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:()=>r})},56265:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:()=>r})},56315:(e,t,n)=>{"use strict";function r(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}n.d(t,{Z:()=>r})},68957:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(83029);var o=n(61917),i=n(56265);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){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)||(0,o.Z)(e,t)||(0,i.Z)()}},91411:(e,t,n)=>{"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{Z:()=>r})},45915:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(88911);var o=n(72753),i=n(61917);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,i.Z)(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.")}()}},73891:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},61917:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(88911);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(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)?(0,r.Z)(e,t):void 0}}}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=o,a.amdD=function(){throw new Error("define cannot be used indirect")},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,n)=>(a.f[n](e,t),t)),[])),a.u=e=>323===e?"chunk-ckeditor.2df093f8b569e942583e.js":"chunk-"+({85:"code-editor",198:"vendor-fontawesome",877:"vendor-libphonenumber-js"}[e]||e)+"."+{85:"f87ebbfa2b23a4efd570",198:"7c2af778b99282c30521",200:"dd1295069aa45852ae92",568:"ad1c3d44c6e1cb2d836b",594:"993ea433d608fe9a10a4",611:"1f345eacfd26bdb5ac6b",701:"5f49c9424f1d40683d0f",817:"e7577ad831ed74a7f633",819:"ccfdd3cdaf3206108992",877:"3c5f70337374f5294be7"}[e]+".js",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="tocco-devcon:",a.l=(e,t,o,i)=>{if(n[e])n[e].push(t);else{var s,c;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var f=u[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==r+o){s=f;break}}s||(c=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",r+o),s.src=e),n[e]=[t];var p=(t,r)=>{s.onerror=s.onload=null,clearTimeout(d);var o=n[e];if(delete n[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(r))),t)return t(r)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),c&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/",(()=>{var e={179:0};a.f.j=(t,n)=>{var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var i=a.p+a.u(t),s=new Error;a.l(i,(n=>{if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,r[1](s)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,s,c]=n,u=0;if(i.some((t=>0!==e[t]))){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);if(c)c(a)}for(t&&t(n);u<i.length;u++)o=i[u],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunktocco_devcon=self.webpackChunktocco_devcon||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),a.nc=void 0;var s={};return(()=>{"use strict";a.r(s);var e=a(59713),t=a.n(e),n=a(30670),r=a.n(n),o=a(41143),i=a.n(o);function c(e){return"/"===e.charAt(0)}function u(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}const l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],o=e&&c(e),i=t&&c(t),a=o||i;if(e&&c(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var l=r[r.length-1];s="."===l||".."===l||""===l}else s=!1;for(var f=0,p=r.length;p>=0;p--){var d=r[p];"."===d?u(r,p):".."===d?(u(r,p),f++):f&&(u(r,p),f--)}if(!a)for(;f--;f)r.unshift("..");!a||""===r[0]||r[0]&&c(r[0])||r.unshift("");var h=r.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h};"function"==typeof Symbol&&Symbol.iterator;var f=function(e){return"/"===e.charAt(0)?e:"/"+e},p=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},d=function(e,t){return p(e,t)?e.substr(t.length):e},h=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},m=function(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o},g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v=function(e,t,n,r){var o=void 0;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=g({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=l(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o};const y=function(){var e=null,t=[];return{setPrompt:function(t){return r()(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,o,i){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof o?o(a,i):(r()(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),i(!0)):i(!1!==a)}else i(!0)},appendListener:function(e){var n=!0,r=function(){n&&e.apply(void 0,arguments)};return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}};var b=!("undefined"==typeof window||!window.document||!window.document.createElement),w=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},O=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},x=function(e,t){return t(window.confirm(e))},S=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)},j=function(){return-1===window.navigator.userAgent.indexOf("Trident")},P=function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")},E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C="popstate",T="hashchange",D=function(){try{return window.history.state||{}}catch(e){return{}}};const _=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i()(b,"Browser history needs a DOM");var t=window.history,n=S(),o=!j(),a=e.forceRefresh,s=void 0!==a&&a,c=e.getUserConfirmation,u=void 0===c?x:c,l=e.keyLength,g=void 0===l?6:l,_=e.basename?h(f(e.basename)):"",A=function(e){var t=e||{},n=t.key,o=t.state,i=window.location,a=i.pathname+i.search+i.hash;return r()(!_||p(a,_),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+_+'".'),_&&(a=d(a,_)),v(a,o,n)},M=function(){return Math.random().toString(36).substr(2,g)},R=y(),I=function(e){k(ee,e),ee.length=t.length,R.notifyListeners(ee.location,ee.action)},Z=function(e){P(e)||F(A(e.state))},N=function(){F(A(D()))},L=!1,F=function(e){if(L)L=!1,I();else{R.confirmTransitionTo(e,"POP",u,(function(t){t?I({action:"POP",location:e}):H(e)}))}},H=function(e){var t=ee.location,n=U.indexOf(t.key);-1===n&&(n=0);var r=U.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(L=!0,G(o))},B=A(D()),U=[B.key],W=function(e){return _+m(e)},z=function(e,o){r()(!("object"===(void 0===e?"undefined":E(e))&&void 0!==e.state&&void 0!==o),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i="PUSH",a=v(e,o,M(),ee.location);R.confirmTransitionTo(a,i,u,(function(e){if(e){var o=W(a),c=a.key,u=a.state;if(n)if(t.pushState({key:c,state:u},null,o),s)window.location.href=o;else{var l=U.indexOf(ee.location.key),f=U.slice(0,-1===l?0:l+1);f.push(a.key),U=f,I({action:i,location:a})}else r()(void 0===u,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=o}}))},V=function(e,o){r()(!("object"===(void 0===e?"undefined":E(e))&&void 0!==e.state&&void 0!==o),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i="REPLACE",a=v(e,o,M(),ee.location);R.confirmTransitionTo(a,i,u,(function(e){if(e){var o=W(a),c=a.key,u=a.state;if(n)if(t.replaceState({key:c,state:u},null,o),s)window.location.replace(o);else{var l=U.indexOf(ee.location.key);-1!==l&&(U[l]=a.key),I({action:i,location:a})}else r()(void 0===u,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(o)}}))},G=function(e){t.go(e)},q=function(){return G(-1)},$=function(){return G(1)},Y=0,X=function(e){1===(Y+=e)?(w(window,C,Z),o&&w(window,T,N)):0===Y&&(O(window,C,Z),o&&O(window,T,N))},K=!1,J=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=R.setPrompt(e);return K||(X(1),K=!0),function(){return K&&(K=!1,X(-1)),t()}},Q=function(e){var t=R.appendListener(e);return X(1),function(){X(-1),t()}},ee={length:t.length,action:"POP",location:B,createHref:W,push:z,replace:V,go:G,goBack:q,goForward:$,block:J,listen:Q};return ee};Object.assign;"function"==typeof Symbol&&Symbol.iterator,Object.assign;var A,M,R=a(1024),I=a.n(R),Z=a(80467),N="tocco-util/LOG_ERROR",L=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Date.now();return{type:N,payload:{title:e,description:t,error:n,dateTime:r}}},F=a(74806),H=a(50558),B=a(34575),U=a.n(B),W=a(93913),z=a.n(W),V=a(2205),G=a.n(V),q=a(78585),$=a.n(q),Y=a(29754),X=a.n(Y),K=a(44012),J=a(91411),Q=a(58804),ee=a(30759),te=a(88601),ne=a(7281),re=Q.ZP.div.withConfig({displayName:"StyledWrapper"})(A||(A=(0,J.Z)(["\n ",";\n background-color: ",";\n color: ",";\n padding: ",";\n"])),(0,ee.Z)(),(function(e){return e.theme.colors.signal.danger.text}),te.Z.color("paper"),ne.Z.space(-.5)),oe=a(85893);const ie=function(){return M||(M=(0,oe.jsx)(re,{children:(0,oe.jsx)(K.Z,{id:"client.component.errorBoundary.text"})}))};var ae;function se(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=X()(e);if(t){var o=X()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return $()(this,n)}}var ce=function(e){G()(n,e);var t=se(n);function n(e){var r;return U()(this,n),(r=t.call(this,e)).state={hasError:!1,error:null},r}return z()(n,[{key:"componentDidCatch",value:function(e){var t=this.props,n=t.logError,r=t.intl;n(r.formatMessage({id:"client.component.errorBoundary.notificationTitle"}),r.formatMessage({id:"client.component.errorBoundary.notificationDescription"}),e)}},{key:"render",value:function(){return this.state.hasError?ae||(ae=(0,oe.jsx)(ie,{})):this.props.children||null}}],[{key:"getDerivedStateFromError",value:function(e){return{hasError:!0,error:e}}}]),n}(R.Component);const ue=ce;var le={logError:L};(0,H.connect)(null,le)((0,F.ZP)(ue));var fe=a(81770),pe=a(319),de=a.n(pe);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 n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?he(Object(r),!0).forEach((function(n){t()(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):he(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ge=t()({},N,(function(e,t){var n=t.payload,r=n.title,o=n.description,i=n.error,a=n.dateTime;return me(me({},e),{},{messages:[{title:r,description:o,error:i,dateTime:a}].concat(de()(e.messages)).slice(0,100)})})),ve={messages:[]};function ye(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ve,t=arguments.length>1?arguments[1]:void 0,n=ge[t.type];return n?n(e,t):e}var be=a(87757),we=a.n(be),Oe=a(34857),xe=a(50600),Se=a(44759),je=we().mark(Pe);function Pe(e,t,n){return we().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,Oe.RE)(Se.Z.logError,"".concat(e,": \n").concat(t,"\n"),n);case 2:case"end":return r.stop()}}),je)}var Ee=a(93752),ke=we().mark(Ce);function Ce(e,t,n){var r;return we().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,Oe.RE)(Ee.Z.toaster,{type:"error",title:e,body:t});case 2:return r=n.sent,n.next=5,(0,Oe.gz)(r);case 5:case"end":return n.stop()}}),ke)}var Te=a(48926),De=a.n(Te),_e=a(54159),Ae="error",Me=function(){var e=De()(we().mark((function e(t){var n;return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="ERROR MESSAGE: ".concat(t.message," \nSTACK: ").concat(t.stack?t.stack.substring(0,1e3):"-"),Se.Z.logError(n),e.next=4,Ie(Ae,n);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Re=function(){var e=De()(we().mark((function e(t){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Se.Z.logError(t),e.next=3,Ie(Ae,t);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ie=function(){var e=De()(we().mark((function e(t,n){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,_e.Z.executeRequest("log?level=".concat(t,"&message=").concat(encodeURI(n)),{method:"POST"});case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(t,n){return e.apply(this,arguments)}}();const Ze={logError:Re,logException:Me};var Ne=we().mark(Le);function Le(e,t,n){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.RE)(Ze.logException,n);case 2:case"end":return e.stop()}}),Ne)}const Fe={console:Pe,notification:Ce,remote:Le};var He=we().mark(We),Be=we().mark(ze),Ue=we().mark(Ve);function We(e,t){return we().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e){n.next=5;break}return n.next=3,(0,Oe.ib)(N,ze,t);case 3:n.next=7;break;case 5:return n.next=7,(0,Oe.ib)(N,Ve);case 7:case"end":return n.stop()}}),He)}function ze(e,t){var n,r,o,i;return we().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=t.payload,r=n.title,o=n.description,i=n.error,a.next=4,(0,Oe.$6)(e.map((function(e){return(0,Oe.RE)(Fe[e],r,o,i)})));case 4:case"end":return a.stop()}}),Be)}function Ve(e){return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,Oe.gz)(xe.Z.emitAction(e));case 2:case"end":return t.stop()}}),Ue)}const Ge=L,qe=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];t&&fe.Z.injectReducers(e,{errorLogging:ye}),e.sagaMiddleware.run(We,t,n)};var $e=a(93386),Ye=a.n($e),Xe=(a(30314),a(2100)),Ke="cache/INITIALISE",Je="cache/SET_INITIALISED",Qe=function(e){return{type:Je,payload:{initialised:e}}},et=t()({},Je,fe.Z.singleTransferReducer("initialised")),tt={initialised:!1};function nt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tt,t=arguments.length>1?arguments[1]:void 0,n=et[t.type];return n?n(e,t):e}var rt=a(79311),ot=a(63094),it=we().mark(at);function at(){var e,t,n,r,o,i,a,s,c;return we().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,Oe.RE)(ot.Z.hasRevisionIdChanged);case 2:return e=u.sent,t=rt.Z.getLongTerm("session","locale"),n=rt.Z.getLongTerm("session","principal"),u.next=7,(0,Oe.RE)(Xe.Z.loadUserWithLocale);case 7:return r=u.sent,o=r.locale,i=r.username,a=r.businessUnitId,s=!t||t!==o,c=n&&(n.currentBusinessUnit.id!==a||n.username!==i),u.abrupt("return",s||c||e);case 12:case"end":return u.stop()}}),it)}var st=we().mark(ut),ct=we().mark(ft);function ut(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.$6)([(0,Oe.Fm)(Ke,ft)]);case 2:case"end":return e.stop()}}),st)}var lt=!1;function ft(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!lt){e.next=4;break}return e.next=3,(0,Oe.gz)(Qe(!0));case 3:return e.abrupt("return");case 4:return e.next=6,(0,Oe.RE)(at);case 6:if(!e.sent){e.next=10;break}return e.next=10,(0,Oe.RE)(rt.Z.clearAll);case 10:return lt=!0,e.next=13,(0,Oe.gz)(Qe(!0));case 13:case"end":return e.stop()}}),ct)}var pt,dt,ht,mt,gt=a(68957),vt=a(93235),yt=a(34206),bt=a(69829),wt=(0,Q.F4)(pt||(pt=(0,J.Z)(["\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n"]))),Ot=(0,Q.iv)(dt||(dt=(0,J.Z)(["\n animation: "," 400ms ease-in-out both;\n"])),wt),xt=Q.ZP.div.withConfig({displayName:"StyledLoadingIconAndTest"})(ht||(ht=(0,J.Z)(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: ",";\n ",";\n\n > "," {\n margin-top: ",";\n z-index: 1;\n }\n"])),ne.Z.space(-1),Ot,bt.Fe,ne.Z.space(-1));const St=Q.ZP.div.withConfig({displayName:"StyledLoadMask"})(mt||(mt=(0,J.Z)(["\n display: flex;\n flex-direction: column;\n flex: 1;\n height: 100%;\n z-index: 0; // prevent interference with StyledPageOverlay when implemented as widget\n"])));var jt;const Pt=function(e){var t=e.promises,n=e.required,r=e.children,o=e.loadingText,i=e.className,a=(0,R.useState)(!1),s=(0,gt.Z)(a,2),c=s[0],u=s[1],l=(0,R.useState)(!0),f=(0,gt.Z)(l,2),p=f[0],d=f[1];(0,R.useEffect)((function(){return t&&Promise.all(t).then((function(){!function(e){p&&u(e)}(!0)})),function(){d(!1)}}),[]);var h=n&&Array.isArray(n)?!n.some((function(e){return!e})):!!t&&c;return(0,oe.jsx)(St,{className:i,children:h?r:(0,oe.jsxs)(xt,{children:[jt||(jt=(0,oe.jsx)(vt.Z,{size:"30px"},"loading-spinner")),o&&(0,oe.jsx)(yt.ZP.Span,{children:o},"loadingText")]})})};const Et=function(e){var t=e.children,n=e.initialised;return(0,oe.jsx)(Pt,{required:[n],children:t})};const kt={addToStore:function(e){fe.Z.injectReducers(e,{cache:nt}),e.sagaMiddleware.run(ut)},initialise:function(){return{type:Ke}},CacheInitLoadMask:(0,H.connect)((function(e){return{initialised:!e.cache||e.cache.initialised}}))((0,F.ZP)(Et)),hasInvalidCache:at};var Ct=a(21101),Tt=a(5435);const Dt={name:"widget",colors:{paper:"#FFFFFF",primary:"#000000",secondary:"#333",secondaryLight:"#7c7c7c",text:"#000",backgroundBody:"#EDF1F5",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:"inherit",regular:"inherit"},fontSize:{base:1,factor:1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{regular:"0px",medium:"2px",large:"4px"},space:{base:1,factor:2}};var _t=a(85743),At="keyDown/SET_CONFIG",Mt="keyDown/KEY_DOWN",Rt=function(e){return{type:At,payload:{config:e}}},It=function(e){return{type:Mt,payload:{config:e}}},Zt=t()({},At,fe.Z.singleTransferReducer("config")),Nt={config:[]};function Lt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nt,t=arguments.length>1?arguments[1]:void 0,n=Zt[t.type];return n?n(e,t):e}var Ft=we().mark(Ut),Ht=we().mark(Wt),Bt=we().mark(zt);function Ut(e){return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,Oe.$6)([(0,Oe.RE)(Wt,e),(0,Oe.ib)(Mt,zt)]);case 2:case"end":return t.stop()}}),Ft)}function Wt(e){return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,Oe.gz)(Rt(e));case 2:case"end":return t.stop()}}),Ht)}function zt(e){var t,n;return we().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t=e.payload,!(n=t.config)){r.next=5;break}return r.next=5,(0,Oe.$6)(n.actions.map((function(e){return(0,Oe.gz)(e)})));case 5:case"end":return r.stop()}}),Bt)}var Vt,Gt=a(28655),qt=a.n(Gt),$t=Q.ZP.div.withConfig({displayName:"StyledDiv"})(Vt||(Vt=qt()(["\n display: contents;\n\n :focus {\n outline: none;\n }\n"])));const Yt=function(e){var t=e.config,n=e.children,r=e.keyDownHandler,o=(0,R.useCallback)((function(e,n){var o=function(e,t,n){return e.find((function(e){return(e.code===t.code||e.key===t.key)&&(e.ctrl?e.ctrl===t.ctrlKey||e.ctrl===t.metaKey:e.ctrl===t.ctrlKey&&e.ctrl===t.metaKey)&&e.alt===t.altKey&&n===e.global}))}(t,e,n);o&&(e.preventDefault(),e.stopPropagation()),r(o)}),[t,r]),i=(0,R.useCallback)((function(e){return o(e,!0)}),[o]);return(0,R.useEffect)((function(){return document.addEventListener("keydown",i),function(){document.removeEventListener("keydown",i)}}),[i]),(0,oe.jsx)($t,{tabIndex:"0",onKeyDown:function(e){return o(e)},children:n})};var Xt={keyDownHandler:It};const Kt={keyDown:It,addToStore:function(e,t){fe.Z.injectReducers(e,{keyDown:Lt}),e.sagaMiddleware.run(Ut,t)},KeyDownWatcher:(0,H.connect)((function(e){var t;return{config:(null===(t=e.keyDown)||void 0===t?void 0:t.config)||[]}}),Xt)(Yt)};var Jt,Qt,en,tn=Q.ZP.div.withConfig({displayName:"StyledApp"})(Jt||(Jt=qt()(["\n display: flex;\n flex-direction: column;\n height: 100%;\n"]))),nn=a(82492),rn=a.n(nn),on=a(76538),an=(0,Q.vJ)(Qt||(Qt=qt()(["\n // Legacy (display expression) icons styling\n .text-success {\n color: ",";\n }\n\n .text-info {\n color: ",";\n }\n\n .text-warning {\n color: ",";\n }\n\n .text-danger {\n color: ",";\n }\n\n .text-muted {\n color: ",";\n }\n"])),te.Z.color("signal.success.text"),te.Z.color("signal.info.text"),te.Z.color("signal.warning.text"),te.Z.color("signal.danger.text"),(function(e){var t=e.theme;return(0,on._j)(.4,t.colors.paper)})),sn=function(e){var t=e.defaultTheme,n=e.customTheme,r=e.children,o=e.theme,i=(0,R.useMemo)((function(){return rn()({},t,n)}),[t,n]);return(0,oe.jsxs)(Q.f6,{theme:o||i,children:[en||(en=(0,oe.jsx)(an,{})),r]})};sn.defaultProps={defaultTheme:Tt.Z};const cn=(0,Q.Zz)(sn);var un=a(93379),ln=a.n(un),fn=a(7795),pn=a.n(fn),dn=a(90569),hn=a.n(dn),mn=a(3565),gn=a.n(mn),vn=a(19216),yn=a.n(vn),bn=a(44589),wn=a.n(bn),On=a(36420),xn={};xn.styleTagTransform=wn(),xn.setAttributes=gn(),xn.insert=hn().bind(null,"head"),xn.domAPI=pn(),xn.insertStyleElement=yn();ln()(On.Z,xn);On.Z&&On.Z.locals&&On.Z.locals;var Sn=function(e){return"widget"===e?Dt:Tt.Z};const jn=function(e){var t=e.store,n=e.initIntlPromise,r=e.content,o=e.theme,i=(0,R.useCallback)((function(e){e&&a.e(198).then(a.bind(a,78947)).then((function(t){t.dom.watch({autoReplaceSvgRoot:e,observeMutationsRoot:e})}))}),[]),s=_t.Z.getEmbedType();return(0,oe.jsx)(cn,{customTheme:o,defaultTheme:Sn(s),children:(0,oe.jsx)(H.Provider,{store:t,children:(0,oe.jsx)(Kt.KeyDownWatcher,{children:(0,oe.jsx)(Pt,{promises:[n],children:(0,oe.jsx)(Ct.Pj,{children:(0,oe.jsx)(kt.CacheInitLoadMask,{children:(0,oe.jsx)(tn,{ref:i,children:r})})})})})})})};var Pn="input/SET_INPUT",En="input/INPUT_INITIALIZED",kn=function(e,t){e.forEach((function(e){t.dispatch(e)}))},Cn=function(e){a.p=e},Tn=function(e,t,n,r){var o=Ye()([n],r),i=e?e.locale:null;return Xe.Z.initIntl(t,o,i)},Dn=a(15857),_n=(a(28500),a(44422));function An(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}var Mn=An();Mn.withExtraArgument=An;const Rn=Mn;var In=a(24688);function Zn(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 Nn(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?Zn(Object(r),!0).forEach((function(n){t()(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ln=t()({},Pn,(function(e,t){var n=t.payload;return Nn(Nn({},e),n)})),Fn={};const Hn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Fn,t=arguments.length>1?arguments[1]:void 0,n=Ln[t.type];return n?n(e,t):e};function Bn(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 Un(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?Bn(Object(r),!0).forEach((function(n){t()(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Wn=function(e){var t=window.__INITIAL_STATE__||{};return e&&(t.input=e,t.intl={locale:e.locale}),t};a(63038),a(41609),a(18446),a(35937),a(35997);const zn=function(e,t,n,r){var o=r.input,i=void 0===o?{}:o,a=r.actions,s=void 0===a?void 0:a,c=r.publicPath,u=void 0===c?void 0:c,l=r.textResourceModules,f=void 0===l?[]:l;try{var p=i.customTheme;u&&Cn(u),s&&kn(s,n),n.dispatch({type:En}),n.dispatch(kt.initialise());var d=Tn(i,n,e,f);return{component:(0,oe.jsx)(jn,{store:n,initIntlPromise:d,content:t,theme:p}),store:n,methods:{setLocale:function(e){return Xe.Z.changeLocale(n,f,e)}}}}catch(e){try{n.dispatch(Ge("Error","Error creating react application: ",e))}catch(t){Se.Z.logError("Error creating react application: ",e),Se.Z.logError("Unable to log error: ",t)}}},Vn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Wn(n),o=(0,_n.ZP)(),i=(0,Dn.md)(Rn,o),a=Un(Un({},e),{},{input:Hn,intl:Ct._8});e=(0,Dn.UY)(a);var s=(0,Dn.MT)(e,r,i);if(s.allReducers=a,s.sagas=t,s.sagaMiddleware=o,s.hotReloadReducers=fe.Z.hotReloadReducers,t&&t.length>0){var c=In.Z.createGenerator(t.map((function(e){return(0,Oe.rM)(e)})));o.run(In.Z.autoRestartSaga(c,null,Ge))}return s},Gn=function(e,t){window.reactRegistry&&window.reactRegistry.register(e,t)};var qn,$n=a(48479);function Yn(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 Xn(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?Yn(Object(r),!0).forEach((function(n){t()(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Kn=function(e,n){return function(r,o){return Xn(Xn({},r),{},t()({},n||o.payload.path,Xn(Xn({},r[n||o.payload.path]),{},{running:e})))}},Jn=(qn={},t()(qn,$n.b0,fe.Z.singleTransferReducer("version","dbRefactoring")),t()(qn,$n.FX,fe.Z.singleTransferReducer("modules","dbRefactoring")),t()(qn,$n._2,fe.Z.singleTransferReducer("selectedModules","dbRefactoring")),t()(qn,$n.ZD,fe.Z.singleTransferReducer("ignoreErrors","dbRefactoring")),t()(qn,$n.Pt,(function(e,t){return Xn(Xn({},e),{},{dbRefactoring:Xn(Xn({},e.dbRefactoring),{},{fragments:t.payload.fragments,selectedFragments:t.payload.fragments.filter((function(e){return!0===e.selected})).map((function(e){return e.id}))})})})),t()(qn,$n.Hx,(function(e,t){return Xn(Xn({},e),{},{dbRefactoring:Xn(Xn({},e.dbRefactoring),{},{selectedFragments:!0===t.payload.selected?[].concat(de()(e.dbRefactoring.selectedFragments),[t.payload.fragment]):e.dbRefactoring.selectedFragments.filter((function(n,r){return r!==e.dbRefactoring.selectedFragments.indexOf(t.payload.fragment)}))})})})),t()(qn,$n.X7,Kn(!0,"dbRefactoring")),t()(qn,$n.DN,Kn(!1)),t()(qn,$n.AF,fe.Z.singleTransferReducer("language","languageUpgrade")),t()(qn,$n.Bw,Kn(!0,"languageUpgrade")),qn),Qn={dbRefactoring:{version:"",modules:[],selectedModules:[],fragments:[],selectedFragments:[],ignoreErrors:!1,running:!1},languageUpgrade:{language:"",running:!1}};var er=we().mark(ur),tr=we().mark(lr),nr=we().mark(fr),rr=we().mark(pr),or=we().mark(dr),ir=we().mark(hr),ar=we().mark(mr),sr=function(e){return e.dbRefactoring.dbRefactoring},cr=function(e){return e.dbRefactoring.languageUpgrade};function ur(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.$6)([(0,Oe.Fm)($n.VQ,lr),(0,Oe.Fm)($n.Tf,fr),(0,Oe.Fm)($n.X7,pr),(0,Oe.Fm)($n.Bw,dr)]);case 2:case"end":return e.stop()}}),er)}function lr(){var e;return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,Oe.RE)(ot.Z.requestSaga,"devcon/dbrefactoring/modules");case 2:return e=t.sent,t.next=5,(0,Oe.gz)($n.rm(e.body.map((function(e){return{key:e,display:e}}))));case 5:case"end":return t.stop()}}),tr)}function fr(){var e;return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,Oe.RE)(ot.Z.requestSaga,"devcon/dbrefactoring/fragments");case 2:return e=t.sent,t.next=5,(0,Oe.gz)($n.Rg(e.body));case 5:case"end":return t.stop()}}),nr)}function pr(){var e,t,n,r,o,i;return we().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,Oe.Ys)(sr);case 2:return e=a.sent,t=e.selectedModules,n=e.selectedFragments,r=e.version,o=e.ignoreErrors,i={modules:t.map((function(e){return e.key})),fragments:n,version:r,ignoreErrors:o},a.next=10,(0,Oe.RE)(hr,i,"dbRefactoring");case 10:case"end":return a.stop()}}),rr)}function dr(){var e,t,n;return we().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,Oe.Ys)(cr);case 2:return e=r.sent,t=e.language,n={language:t},r.next=7,(0,Oe.RE)(hr,n,"languageUpgrade");case 7:case"end":return r.stop()}}),or)}function hr(e,t){var n,r;return we().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return n={method:"POST",body:e},o.prev=1,o.next=4,(0,Oe.RE)(ot.Z.requestSaga,"devcon/dbrefactoring/executions",n);case 4:return r=o.sent,o.next=7,(0,Oe.Cs)(mr,r.headers.get("Location"),t);case 7:o.next=14;break;case 9:return o.prev=9,o.t0=o.catch(1),Se.Z.logError("DB refactoring execution failed",o.t0),o.next=14,(0,Oe.gz)(Ee.Z.toaster({type:"error",title:"DB refactoring execution failed"}));case 14:case"end":return o.stop()}}),ir,null,[[1,9]])}function mr(e,t){var n,r;return we().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,Oe.gw)(3e3);case 2:return o.next=4,(0,Oe.RE)(ot.Z.requestSaga,e);case 4:if(n=o.sent,"completed"!==(r=n.body.state.toLowerCase())){o.next=13;break}return o.next=9,(0,Oe.gz)($n.zL(t));case 9:return o.next=11,(0,Oe.gz)(Ee.Z.toaster({type:"success",title:"DB refactoring execution completed"}));case 11:case 18:o.next=22;break;case 13:if("failed"!==r){o.next=20;break}return o.next=16,(0,Oe.gz)($n.zL(t));case 16:return o.next=18,(0,Oe.gz)(Ee.Z.toaster({type:"error",title:"DB refactoring execution failed"}));case 20:return o.next=22,(0,Oe.RE)(mr,e);case 22:case"end":return o.stop()}}),ar)}var gr=we().mark(vr);function vr(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.$6)([(0,Oe.rM)(ur)]);case 2:case"end":return e.stop()}}),gr)}const yr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qn,t=arguments.length>1?arguments[1]:void 0,n=Jn[t.type];return n?n(e,t):e};var br=a(44586),wr="log/RECEIVE_ENTRY",Or=function(e){return{type:wr,payload:{data:e}}};function xr(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 Sr(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?xr(Object(r),!0).forEach((function(n){t()(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var jr=t()({},wr,(function(e,t){var n=t.payload;return Sr(Sr({},e),{},{entries:[Sr(Sr({},n.data),{},{key:(0,br.Z)()})].concat(de()(e.entries))})})),Pr={entries:[]};var Er=a(47979),kr=we().mark(Tr),Cr=we().mark(Dr);function Tr(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.$6)([(0,Oe.RE)(Dr)]);case 2:case"end":return e.stop()}}),kr)}function Dr(){var e;return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={name:"logging",messageReceivedAction:Or},t.next=3,(0,Oe.RE)(Er.Z.connectSocket,e);case 3:case"end":return t.stop()}}),Cr)}var _r=we().mark(Ar);function Ar(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.$6)([(0,Oe.rM)(Tr)]);case 2:case"end":return e.stop()}}),_r)}const Mr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pr,t=arguments.length>1?arguments[1]:void 0,n=jr[t.type];return n?n(e,t):e};var Rr,Ir=a(49478);function Zr(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 Nr(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?Zr(Object(r),!0).forEach((function(n){t()(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Lr=(Rr={},t()(Rr,Ir.MW,(function(){return Nr(Nr({},Fr),{},{state:Nr(Nr({},Fr.state),{},{running:!0})})})),t()(Rr,Ir.LU,(function(e,t){var n=t.payload;return Nr(Nr({},e),{},{state:Nr(Nr({},e.state),{},{total:n.total})})})),t()(Rr,Ir.pe,(function(e,t){var n=t.payload;return Nr(Nr({},e),{},{state:Nr(Nr({},e.state),{},{running:!0,total:n.total,currentIndex:n.currentIndex,currentName:n.currentName})})})),t()(Rr,Ir.HM,(function(e,n){var r=n.payload,o=r.id,i=r.type,a=r.label,s=e.checkEvents[i]||[],c=[].concat(de()(s),[{id:o,type:i,label:a}]),u=Nr(Nr({},e.checkEvents),{},t()({},i,c));return Nr(Nr({},e),{},{checkEvents:u})})),t()(Rr,Ir.iK,(function(e,t){var n=t.payload;return Nr(Nr({},e),{},{state:Nr(Nr({},e.state),{},{running:!1,result:n.result})})})),t()(Rr,Ir.sF,(function(e,t){var n,r=t.payload,o=r.ids;return r.selected?(n=new Set(e.selection),o.forEach(n.add,n)):(n=new Set,e.selection.forEach((function(e){o.includes(e)||n.add(e)}))),Nr(Nr({},e),{},{selection:n})})),t()(Rr,Ir.VD,fe.Z.singleTransferReducer("sql")),t()(Rr,Ir.g6,fe.Z.singleTransferReducer("changelog")),Rr),Fr={checkEvents:{},state:{running:!1,currentIndex:null,currentName:null,total:null,result:null},selection:new Set,sql:null,changelog:null};var Hr=a(92135),Br=a(65035);const Ur=function(e){var t=e.changelog,n=e.setChangelog,r=e.executeChangelog,o=e.close;return(0,oe.jsxs)("div",{children:[(0,oe.jsx)(Hr.Z,{type:"text",value:t,events:{onChange:n},readOnly:!r}),r&&(0,oe.jsx)(Br.Z,{look:"raised",onClick:function(){r&&r(o)},label:"Execute Changelog"})]})};const Wr=(0,H.connect)((function(e){return{changelog:e.modelValidation.changelog}}),{})(Ur);const zr=function(e){var t=e.sql,n=e.setSql,r=e.executeSql,o=e.close;return(0,oe.jsxs)("div",{children:[(0,oe.jsx)(Hr.Z,{type:"text",value:t,events:{onChange:n}}),(0,oe.jsx)(Br.Z,{look:"raised",onClick:function(){r(o)},label:"Run Statements"})]})};var Vr={setSql:Ir.fq,executeSql:Ir.Rj};const Gr=(0,H.connect)((function(e){return{sql:e.modelValidation.sql}}),Vr)(zr);var qr=we().mark(no),$r=we().mark(ro),Yr=we().mark(oo),Xr=we().mark(io),Kr=we().mark(ao),Jr=we().mark(so),Qr=we().mark(co),eo=function(e){return e.modelValidation.selection},to=function(e){return e.modelValidation.sql};function no(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.$6)([(0,Oe.RE)(ro),(0,Oe.ib)(Ir.MW,oo),(0,Oe.ib)(Ir.EJ,io),(0,Oe.ib)(Ir.es,ao),(0,Oe.ib)(Ir.dQ,so),(0,Oe.ib)(Ir.Ge,co)]);case 2:case"end":return e.stop()}}),qr)}function ro(){var e;return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={name:"modelvalidation",messageReceivedAction:Ir.QM},t.next=3,(0,Oe.RE)(Er.Z.connectSocket,e);case 3:case"end":return t.stop()}}),$r)}function oo(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,Oe.RE)(ot.Z.requestSaga,"devcon/modelvalidation/validation",{method:"POST"});case 3:e.next=10;break;case 5:return e.prev=5,e.t0=e.catch(0),Se.Z.logError("Failed to start model validation",e.t0),e.next=10,(0,Oe.gz)(Ee.Z.toaster({type:"error",title:"Failed to start model validation"}));case 10:case"end":return e.stop()}}),Yr,null,[[0,5]])}function io(e){var t;return we().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t=e.payload,n.t0=t.message.type,n.next="validation_ended"===n.t0?4:"entering_checks"===n.t0?7:"entering_check"===n.t0?10:"check_event"===n.t0?13:16;break;case 4:return n.next=6,(0,Oe.gz)(Ir.ag(t.message.params.result));case 6:case 9:case 12:case 15:return n.abrupt("break",16);case 7:return n.next=9,(0,Oe.gz)(Ir.o1(t.message.params.total));case 10:return n.next=12,(0,Oe.gz)(Ir.c(t.message.params.total,t.message.params.num,t.message.params.model));case 13:return n.next=15,(0,Oe.gz)(Ir.R6(t.message.params.id,t.message.params.type,t.message.params.label));case 16:case"end":return n.stop()}}),Xr)}function ao(){var e,t,n;return we().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,Oe.Ys)(eo);case 2:return e=r.sent,t={method:"POST",body:{uuids:Array.from(e)}},r.prev=4,r.next=7,(0,Oe.RE)(ot.Z.requestSaga,"devcon/modelvalidation/sql",t);case 7:return n=r.sent,r.next=10,(0,Oe.gz)(Ir.fq(n.body.statements.map((function(e){return e+";"})).join("\n")));case 10:return r.next=12,(0,Oe.gz)(Ee.Z.modal("sql","SQL",null,Gr,!0));case 12:r.next=19;break;case 14:return r.prev=14,r.t0=r.catch(4),Se.Z.logError("Failed to generate SQL",r.t0),r.next=19,(0,Oe.gz)(Ee.Z.toaster({type:"error",title:"Failed to generate SQL"}));case 19:case"end":return r.stop()}}),Kr,null,[[4,14]])}function so(e){var t,n,r;return we().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload,o.next=3,(0,Oe.Ys)(to);case 3:return n=o.sent,r={method:"POST",body:{statements:n.split(";")}},o.prev=5,o.next=8,(0,Oe.RE)(ot.Z.requestSaga,"devcon/modelvalidation/execute/sql",r);case 8:if(200!==o.sent.status){o.next=12;break}return o.next=12,(0,Oe.RE)(t.close);case 12:o.next=19;break;case 14:return o.prev=14,o.t0=o.catch(5),Se.Z.logError("Failed to execute SQL",o.t0),o.next=19,(0,Oe.gz)(Ee.Z.toaster({type:"error",title:"Failed to execute SQL"}));case 19:case"end":return o.stop()}}),Jr,null,[[5,14]])}function co(){var e,t,n;return we().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,Oe.Ys)(eo);case 2:return e=r.sent,t={method:"POST",body:{uuids:Array.from(e)}},r.prev=4,r.next=7,(0,Oe.RE)(ot.Z.requestSaga,"devcon/modelvalidation/changelog",t);case 7:return n=r.sent,r.next=10,(0,Oe.gz)(Ir.EL(n.body.statements[0]));case 10:return r.next=12,(0,Oe.gz)(Ee.Z.modal("changelog","Changelog",null,Wr,!0));case 12:r.next=19;break;case 14:return r.prev=14,r.t0=r.catch(4),Se.Z.logError("Failed to generate Changelog",r.t0),r.next=19,(0,Oe.gz)(Ee.Z.toaster({type:"error",title:"Failed to generate changelog"}));case 19:case"end":return r.stop()}}),Qr,null,[[4,14]])}var uo=we().mark(lo);function lo(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.$6)([(0,Oe.rM)(no)]);case 2:case"end":return e.stop()}}),uo)}const fo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Fr,t=arguments.length>1?arguments[1]:void 0,n=Lr[t.type];return n?n(e,t):e};var po,ho=a(22541);function mo(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 go(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?mo(Object(r),!0).forEach((function(n){t()(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var vo=(po={},t()(po,ho.Z9,(function(e,t){var n=t.payload;return e.active?go(go({},e),{},{entries:[go(go({},n.data),{},{key:(0,br.Z)()})].concat(de()(e.entries))}):e})),t()(po,ho.HI,fe.Z.singleTransferReducer("active")),t()(po,ho.Zm,fe.Z.singleTransferReducer("elapsed")),po),yo={entries:[],active:!1,elapsed:null};var bo=we().mark(Oo),wo=we().mark(xo);function Oo(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.$6)([(0,Oe.RE)(xo)]);case 2:case"end":return e.stop()}}),bo)}function xo(){var e;return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={name:"sqllogging",messageReceivedAction:ho.oS},t.next=3,(0,Oe.RE)(Er.Z.connectSocket,e);case 3:case"end":return t.stop()}}),wo)}var So=we().mark(jo);function jo(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.$6)([(0,Oe.rM)(Oo)]);case 2:case"end":return e.stop()}}),So)}const Po={log:Mr,dbRefactoring:yr,modelValidation:fo,sqlLog:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yo,t=arguments.length>1?arguments[1]:void 0,n=vo[t.type];return n?n(e,t):e}};var Eo,ko,Co=[vr,Ar,lo,jo];function To(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 Do="devcon",_o=I().lazy((function(){return Promise.all([a.e(85),a.e(819)]).then(a.bind(a,34819))})),Ao=function(){return Eo||(Eo=(0,oe.jsx)("div",{children:(0,oe.jsx)(R.Suspense,{fallback:"",children:(0,oe.jsx)(_o,{})})}))},Mo=function(e,n,r,o){var i=Vn(Po,Co,n,Do);qe(i,!0,["console","remote","notification"]),Ee.Z.addToStore(i,!0);var a=_(function(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?To(Object(r),!0).forEach((function(n){t()(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):To(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},n.baseRoute&&{basename:n.baseRoute})),s=(0,oe.jsx)(Z.F0,{history:a,children:ko||(ko=(0,oe.jsx)(Ao,{}))});return zn(Do,s,i,{input:n,events:r,actions:[],publicPath:o,textResourceModules:["component","common",Do]})};Gn(Do,Mo)})(),s})()));
|
|
59
|
+
e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(){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}}function r(e,o,i){return r=n()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var i=new(Function.bind.apply(e,o));return r&&t(i,r.prototype),i},r.apply(null,arguments)}function o(e){return i(e)||a(e)||s(e)||u()}function i(e){if(Array.isArray(e))return c(e)}function a(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function s(e,t){if(e){if("string"==typeof e)return c(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)?c(e,t):void 0}}function c(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 u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l=Object.hasOwnProperty,f=Object.setPrototypeOf,p=Object.isFrozen,d=Object.getPrototypeOf,h=Object.getOwnPropertyDescriptor,m=Object.freeze,g=Object.seal,v=Object.create,y="undefined"!=typeof Reflect&&Reflect,b=y.apply,w=y.construct;b||(b=function(e,t,n){return e.apply(t,n)}),m||(m=function(e){return e}),g||(g=function(e){return e}),w||(w=function(e,t){return r(e,o(t))});var O=_(Array.prototype.forEach),x=_(Array.prototype.pop),S=_(Array.prototype.push),j=_(String.prototype.toLowerCase),P=_(String.prototype.match),E=_(String.prototype.replace),k=_(String.prototype.indexOf),C=_(String.prototype.trim),T=_(RegExp.prototype.test),D=A(TypeError);function _(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return b(e,t,r)}}function A(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return w(e,n)}}function M(e,t,n){n=n||j,f&&f(e,null);for(var r=t.length;r--;){var o=t[r];if("string"==typeof o){var i=n(o);i!==o&&(p(t)||(t[r]=i),o=i)}e[o]=!0}return e}function R(e){var t,n=v(null);for(t in e)b(l,e,[t])&&(n[t]=e[t]);return n}function I(e,t){for(;null!==e;){var n=h(e,t);if(n){if(n.get)return _(n.get);if("function"==typeof n.value)return _(n.value)}e=d(e)}function r(e){return console.warn("fallback value for",e),null}return r}var Z=m(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),N=m(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),L=m(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),F=m(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),H=m(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),B=m(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),U=m(["#text"]),W=m(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),z=m(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),V=m(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),G=m(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),q=g(/\{\{[\w\W]*|[\w\W]*\}\}/gm),$=g(/<%[\w\W]*|[\w\W]*%>/gm),Y=g(/^data-[\-\w.\u00B7-\uFFFF]/),X=g(/^aria-[\-\w]+$/),K=g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),J=g(/^(?:\w+script|data):/i),Q=g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ee=g(/^html$/i),te=function(){return"undefined"==typeof window?null:window},ne=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function re(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te(),n=function(e){return re(e)};if(n.version="2.3.10",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,i=t.document,a=t.DocumentFragment,s=t.HTMLTemplateElement,c=t.Node,u=t.Element,l=t.NodeFilter,f=t.NamedNodeMap,p=void 0===f?t.NamedNodeMap||t.MozNamedAttrMap:f,d=t.HTMLFormElement,h=t.DOMParser,g=t.trustedTypes,v=u.prototype,y=I(v,"cloneNode"),b=I(v,"nextSibling"),w=I(v,"childNodes"),_=I(v,"parentNode");if("function"==typeof s){var A=i.createElement("template");A.content&&A.content.ownerDocument&&(i=A.content.ownerDocument)}var oe=ne(g,r),ie=oe?oe.createHTML(""):"",ae=i,se=ae.implementation,ce=ae.createNodeIterator,ue=ae.createDocumentFragment,le=ae.getElementsByTagName,fe=r.importNode,pe={};try{pe=R(i).documentMode?i.documentMode:{}}catch(e){}var de={};n.isSupported="function"==typeof _&&se&&void 0!==se.createHTMLDocument&&9!==pe;var he,me,ge=q,ve=$,ye=Y,be=X,we=J,Oe=Q,xe=K,Se=null,je=M({},[].concat(o(Z),o(N),o(L),o(H),o(U))),Pe=null,Ee=M({},[].concat(o(W),o(z),o(V),o(G))),ke=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ce=null,Te=null,De=!0,_e=!0,Ae=!1,Me=!1,Re=!1,Ie=!1,Ze=!1,Ne=!1,Le=!1,Fe=!1,He=!0,Be=!0,Ue=!1,We={},ze=null,Ve=M({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ge=null,qe=M({},["audio","video","img","source","image","track"]),$e=null,Ye=M({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Xe="http://www.w3.org/1998/Math/MathML",Ke="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml",Qe=Je,et=!1,tt=["application/xhtml+xml","text/html"],nt="text/html",rt=null,ot=i.createElement("form"),it=function(e){return e instanceof RegExp||e instanceof Function},at=function(t){rt&&rt===t||(t&&"object"===e(t)||(t={}),t=R(t),he=he=-1===tt.indexOf(t.PARSER_MEDIA_TYPE)?nt:t.PARSER_MEDIA_TYPE,me="application/xhtml+xml"===he?function(e){return e}:j,Se="ALLOWED_TAGS"in t?M({},t.ALLOWED_TAGS,me):je,Pe="ALLOWED_ATTR"in t?M({},t.ALLOWED_ATTR,me):Ee,$e="ADD_URI_SAFE_ATTR"in t?M(R(Ye),t.ADD_URI_SAFE_ATTR,me):Ye,Ge="ADD_DATA_URI_TAGS"in t?M(R(qe),t.ADD_DATA_URI_TAGS,me):qe,ze="FORBID_CONTENTS"in t?M({},t.FORBID_CONTENTS,me):Ve,Ce="FORBID_TAGS"in t?M({},t.FORBID_TAGS,me):{},Te="FORBID_ATTR"in t?M({},t.FORBID_ATTR,me):{},We="USE_PROFILES"in t&&t.USE_PROFILES,De=!1!==t.ALLOW_ARIA_ATTR,_e=!1!==t.ALLOW_DATA_ATTR,Ae=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Me=t.SAFE_FOR_TEMPLATES||!1,Re=t.WHOLE_DOCUMENT||!1,Ne=t.RETURN_DOM||!1,Le=t.RETURN_DOM_FRAGMENT||!1,Fe=t.RETURN_TRUSTED_TYPE||!1,Ze=t.FORCE_BODY||!1,He=!1!==t.SANITIZE_DOM,Be=!1!==t.KEEP_CONTENT,Ue=t.IN_PLACE||!1,xe=t.ALLOWED_URI_REGEXP||xe,Qe=t.NAMESPACE||Je,t.CUSTOM_ELEMENT_HANDLING&&it(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ke.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&it(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ke.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ke.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Me&&(_e=!1),Le&&(Ne=!0),We&&(Se=M({},o(U)),Pe=[],!0===We.html&&(M(Se,Z),M(Pe,W)),!0===We.svg&&(M(Se,N),M(Pe,z),M(Pe,G)),!0===We.svgFilters&&(M(Se,L),M(Pe,z),M(Pe,G)),!0===We.mathMl&&(M(Se,H),M(Pe,V),M(Pe,G))),t.ADD_TAGS&&(Se===je&&(Se=R(Se)),M(Se,t.ADD_TAGS,me)),t.ADD_ATTR&&(Pe===Ee&&(Pe=R(Pe)),M(Pe,t.ADD_ATTR,me)),t.ADD_URI_SAFE_ATTR&&M($e,t.ADD_URI_SAFE_ATTR,me),t.FORBID_CONTENTS&&(ze===Ve&&(ze=R(ze)),M(ze,t.FORBID_CONTENTS,me)),Be&&(Se["#text"]=!0),Re&&M(Se,["html","head","body"]),Se.table&&(M(Se,["tbody"]),delete Ce.tbody),m&&m(t),rt=t)},st=M({},["mi","mo","mn","ms","mtext"]),ct=M({},["foreignobject","desc","title","annotation-xml"]),ut=M({},["title","style","font","a","script"]),lt=M({},N);M(lt,L),M(lt,F);var ft=M({},H);M(ft,B);var pt=function(e){var t=_(e);t&&t.tagName||(t={namespaceURI:Je,tagName:"template"});var n=j(e.tagName),r=j(t.tagName);return e.namespaceURI===Ke?t.namespaceURI===Je?"svg"===n:t.namespaceURI===Xe?"svg"===n&&("annotation-xml"===r||st[r]):Boolean(lt[n]):e.namespaceURI===Xe?t.namespaceURI===Je?"math"===n:t.namespaceURI===Ke?"math"===n&&ct[r]:Boolean(ft[n]):e.namespaceURI===Je&&!(t.namespaceURI===Ke&&!ct[r])&&!(t.namespaceURI===Xe&&!st[r])&&!ft[n]&&(ut[n]||!lt[n])},dt=function(e){S(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ie}catch(t){e.remove()}}},ht=function(e,t){try{S(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){S(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Pe[e])if(Ne||Le)try{dt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},mt=function(e){var t,n;if(Ze)e="<remove></remove>"+e;else{var r=P(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===he&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=oe?oe.createHTML(e):e;if(Qe===Je)try{t=(new h).parseFromString(o,he)}catch(e){}if(!t||!t.documentElement){t=se.createDocument(Qe,"template",null);try{t.documentElement.innerHTML=et?"":o}catch(e){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(i.createTextNode(n),a.childNodes[0]||null),Qe===Je?le.call(t,Re?"html":"body")[0]:Re?t.documentElement:a},gt=function(e){return ce.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},vt=function(e){return e instanceof d&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof p)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},yt=function(t){return"object"===e(c)?t instanceof c:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},bt=function(e,t,r){de[e]&&O(de[e],(function(e){e.call(n,t,r,rt)}))},wt=function(e){var t;if(bt("beforeSanitizeElements",e,null),vt(e))return dt(e),!0;if(T(/[\u0080-\uFFFF]/,e.nodeName))return dt(e),!0;var r=me(e.nodeName);if(bt("uponSanitizeElement",e,{tagName:r,allowedTags:Se}),e.hasChildNodes()&&!yt(e.firstElementChild)&&(!yt(e.content)||!yt(e.content.firstElementChild))&&T(/<[/\w]/g,e.innerHTML)&&T(/<[/\w]/g,e.textContent))return dt(e),!0;if("select"===r&&T(/<template/i,e.innerHTML))return dt(e),!0;if(!Se[r]||Ce[r]){if(!Ce[r]&&xt(r)){if(ke.tagNameCheck instanceof RegExp&&T(ke.tagNameCheck,r))return!1;if(ke.tagNameCheck instanceof Function&&ke.tagNameCheck(r))return!1}if(Be&&!ze[r]){var o=_(e)||e.parentNode,i=w(e)||e.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(y(i[a],!0),b(e))}return dt(e),!0}return e instanceof u&&!pt(e)?(dt(e),!0):"noscript"!==r&&"noembed"!==r||!T(/<\/no(script|embed)/i,e.innerHTML)?(Me&&3===e.nodeType&&(t=e.textContent,t=E(t,ge," "),t=E(t,ve," "),e.textContent!==t&&(S(n.removed,{element:e.cloneNode()}),e.textContent=t)),bt("afterSanitizeElements",e,null),!1):(dt(e),!0)},Ot=function(e,t,n){if(He&&("id"===t||"name"===t)&&(n in i||n in ot))return!1;if(_e&&!Te[t]&&T(ye,t));else if(De&&T(be,t));else if(!Pe[t]||Te[t]){if(!(xt(e)&&(ke.tagNameCheck instanceof RegExp&&T(ke.tagNameCheck,e)||ke.tagNameCheck instanceof Function&&ke.tagNameCheck(e))&&(ke.attributeNameCheck instanceof RegExp&&T(ke.attributeNameCheck,t)||ke.attributeNameCheck instanceof Function&&ke.attributeNameCheck(t))||"is"===t&&ke.allowCustomizedBuiltInElements&&(ke.tagNameCheck instanceof RegExp&&T(ke.tagNameCheck,n)||ke.tagNameCheck instanceof Function&&ke.tagNameCheck(n))))return!1}else if($e[t]);else if(T(xe,E(n,Oe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==k(n,"data:")||!Ge[e])if(Ae&&!T(we,E(n,Oe,"")));else if(n)return!1;return!0},xt=function(e){return e.indexOf("-")>0},St=function(t){var r,o,i,a;bt("beforeSanitizeAttributes",t,null);var s=t.attributes;if(s){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Pe};for(a=s.length;a--;){var u=r=s[a],l=u.name,f=u.namespaceURI;if(o="value"===l?r.value:C(r.value),i=me(l),c.attrName=i,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,bt("uponSanitizeAttribute",t,c),o=c.attrValue,!c.forceKeepAttr&&(ht(l,t),c.keepAttr))if(T(/\/>/i,o))ht(l,t);else{Me&&(o=E(o,ge," "),o=E(o,ve," "));var p=me(t.nodeName);if(Ot(p,i,o)){if(oe&&"object"===e(g)&&"function"==typeof g.getAttributeType)if(f);else switch(g.getAttributeType(p,i)){case"TrustedHTML":o=oe.createHTML(o);break;case"TrustedScriptURL":o=oe.createScriptURL(o)}try{f?t.setAttributeNS(f,l,o):t.setAttribute(l,o),x(n.removed)}catch(e){}}}}bt("afterSanitizeAttributes",t,null)}},jt=function e(t){var n,r=gt(t);for(bt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)bt("uponSanitizeShadowNode",n,null),wt(n)||(n.content instanceof a&&e(n.content),St(n));bt("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(o,i){var s,u,l,f,p;if((et=!o)&&(o="\x3c!--\x3e"),"string"!=typeof o&&!yt(o)){if("function"!=typeof o.toString)throw D("toString is not a function");if("string"!=typeof(o=o.toString()))throw D("dirty is not a string, aborting")}if(!n.isSupported){if("object"===e(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof o)return t.toStaticHTML(o);if(yt(o))return t.toStaticHTML(o.outerHTML)}return o}if(Ie||at(i),n.removed=[],"string"==typeof o&&(Ue=!1),Ue){if(o.nodeName){var d=me(o.nodeName);if(!Se[d]||Ce[d])throw D("root node is forbidden and cannot be sanitized in-place")}}else if(o instanceof c)1===(u=(s=mt("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===u.nodeName||"HTML"===u.nodeName?s=u:s.appendChild(u);else{if(!Ne&&!Me&&!Re&&-1===o.indexOf("<"))return oe&&Fe?oe.createHTML(o):o;if(!(s=mt(o)))return Ne?null:Fe?ie:""}s&&Ze&&dt(s.firstChild);for(var h=gt(Ue?o:s);l=h.nextNode();)3===l.nodeType&&l===f||wt(l)||(l.content instanceof a&&jt(l.content),St(l),f=l);if(f=null,Ue)return o;if(Ne){if(Le)for(p=ue.call(s.ownerDocument);s.firstChild;)p.appendChild(s.firstChild);else p=s;return Pe.shadowroot&&(p=fe.call(r,p,!0)),p}var m=Re?s.outerHTML:s.innerHTML;return Re&&Se["!doctype"]&&s.ownerDocument&&s.ownerDocument.doctype&&s.ownerDocument.doctype.name&&T(ee,s.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+s.ownerDocument.doctype.name+">\n"+m),Me&&(m=E(m,ge," "),m=E(m,ve," ")),oe&&Fe?oe.createHTML(m):m},n.setConfig=function(e){at(e),Ie=!0},n.clearConfig=function(){rt=null,Ie=!1},n.isValidAttribute=function(e,t,n){rt||at({});var r=me(e),o=me(t);return Ot(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(de[e]=de[e]||[],S(de[e],t))},n.removeHook=function(e){if(de[e])return x(de[e])},n.removeHooks=function(e){de[e]&&(de[e]=[])},n.removeAllHooks=function(){de={}},n}return re()}()},1024:t=>{"use strict";t.exports=e},30314:e=>{"use strict";e.exports=t},71298:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},38088:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},87462:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},88911:(e,t,n)=>{"use strict";function r(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}n.d(t,{Z:()=>r})},83029:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>r})},11259:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>r})},44822:(e,t,n)=>{"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:()=>o})},46927:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:()=>r})},3640:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},32208:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}function o(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)}n.d(t,{Z:()=>o})},72753:(e,t,n)=>{"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:()=>r})},56265:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:()=>r})},56315:(e,t,n)=>{"use strict";function r(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}n.d(t,{Z:()=>r})},68957:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(83029);var o=n(61917),i=n(56265);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){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)||(0,o.Z)(e,t)||(0,i.Z)()}},91411:(e,t,n)=>{"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{Z:()=>r})},45915:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(88911);var o=n(72753),i=n(61917);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,i.Z)(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.")}()}},73891:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},61917:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(88911);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(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)?(0,r.Z)(e,t):void 0}}}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=o,a.amdD=function(){throw new Error("define cannot be used indirect")},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,n)=>(a.f[n](e,t),t)),[])),a.u=e=>323===e?"chunk-ckeditor.2df093f8b569e942583e.js":"chunk-"+({85:"code-editor",198:"vendor-fontawesome",877:"vendor-libphonenumber-js"}[e]||e)+"."+{85:"365ff7fbdbe690cef3ec",198:"7c2af778b99282c30521",200:"dd1295069aa45852ae92",568:"ad1c3d44c6e1cb2d836b",594:"993ea433d608fe9a10a4",611:"1f345eacfd26bdb5ac6b",701:"5f49c9424f1d40683d0f",817:"e7577ad831ed74a7f633",819:"ccfdd3cdaf3206108992",877:"3c5f70337374f5294be7"}[e]+".js",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="tocco-devcon:",a.l=(e,t,o,i)=>{if(n[e])n[e].push(t);else{var s,c;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var f=u[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==r+o){s=f;break}}s||(c=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",r+o),s.src=e),n[e]=[t];var p=(t,r)=>{s.onerror=s.onload=null,clearTimeout(d);var o=n[e];if(delete n[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(r))),t)return t(r)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),c&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/",(()=>{var e={179:0};a.f.j=(t,n)=>{var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var i=a.p+a.u(t),s=new Error;a.l(i,(n=>{if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,r[1](s)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,s,c]=n,u=0;if(i.some((t=>0!==e[t]))){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);if(c)c(a)}for(t&&t(n);u<i.length;u++)o=i[u],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunktocco_devcon=self.webpackChunktocco_devcon||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),a.nc=void 0;var s={};return(()=>{"use strict";a.r(s);var e=a(59713),t=a.n(e),n=a(30670),r=a.n(n),o=a(41143),i=a.n(o);function c(e){return"/"===e.charAt(0)}function u(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}const l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],o=e&&c(e),i=t&&c(t),a=o||i;if(e&&c(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var l=r[r.length-1];s="."===l||".."===l||""===l}else s=!1;for(var f=0,p=r.length;p>=0;p--){var d=r[p];"."===d?u(r,p):".."===d?(u(r,p),f++):f&&(u(r,p),f--)}if(!a)for(;f--;f)r.unshift("..");!a||""===r[0]||r[0]&&c(r[0])||r.unshift("");var h=r.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h};"function"==typeof Symbol&&Symbol.iterator;var f=function(e){return"/"===e.charAt(0)?e:"/"+e},p=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},d=function(e,t){return p(e,t)?e.substr(t.length):e},h=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},m=function(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o},g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v=function(e,t,n,r){var o=void 0;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=g({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=l(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o};const y=function(){var e=null,t=[];return{setPrompt:function(t){return r()(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,o,i){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof o?o(a,i):(r()(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),i(!0)):i(!1!==a)}else i(!0)},appendListener:function(e){var n=!0,r=function(){n&&e.apply(void 0,arguments)};return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}};var b=!("undefined"==typeof window||!window.document||!window.document.createElement),w=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},O=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},x=function(e,t){return t(window.confirm(e))},S=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)},j=function(){return-1===window.navigator.userAgent.indexOf("Trident")},P=function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")},E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C="popstate",T="hashchange",D=function(){try{return window.history.state||{}}catch(e){return{}}};const _=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i()(b,"Browser history needs a DOM");var t=window.history,n=S(),o=!j(),a=e.forceRefresh,s=void 0!==a&&a,c=e.getUserConfirmation,u=void 0===c?x:c,l=e.keyLength,g=void 0===l?6:l,_=e.basename?h(f(e.basename)):"",A=function(e){var t=e||{},n=t.key,o=t.state,i=window.location,a=i.pathname+i.search+i.hash;return r()(!_||p(a,_),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+_+'".'),_&&(a=d(a,_)),v(a,o,n)},M=function(){return Math.random().toString(36).substr(2,g)},R=y(),I=function(e){k(ee,e),ee.length=t.length,R.notifyListeners(ee.location,ee.action)},Z=function(e){P(e)||F(A(e.state))},N=function(){F(A(D()))},L=!1,F=function(e){if(L)L=!1,I();else{R.confirmTransitionTo(e,"POP",u,(function(t){t?I({action:"POP",location:e}):H(e)}))}},H=function(e){var t=ee.location,n=U.indexOf(t.key);-1===n&&(n=0);var r=U.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(L=!0,G(o))},B=A(D()),U=[B.key],W=function(e){return _+m(e)},z=function(e,o){r()(!("object"===(void 0===e?"undefined":E(e))&&void 0!==e.state&&void 0!==o),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i="PUSH",a=v(e,o,M(),ee.location);R.confirmTransitionTo(a,i,u,(function(e){if(e){var o=W(a),c=a.key,u=a.state;if(n)if(t.pushState({key:c,state:u},null,o),s)window.location.href=o;else{var l=U.indexOf(ee.location.key),f=U.slice(0,-1===l?0:l+1);f.push(a.key),U=f,I({action:i,location:a})}else r()(void 0===u,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=o}}))},V=function(e,o){r()(!("object"===(void 0===e?"undefined":E(e))&&void 0!==e.state&&void 0!==o),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i="REPLACE",a=v(e,o,M(),ee.location);R.confirmTransitionTo(a,i,u,(function(e){if(e){var o=W(a),c=a.key,u=a.state;if(n)if(t.replaceState({key:c,state:u},null,o),s)window.location.replace(o);else{var l=U.indexOf(ee.location.key);-1!==l&&(U[l]=a.key),I({action:i,location:a})}else r()(void 0===u,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(o)}}))},G=function(e){t.go(e)},q=function(){return G(-1)},$=function(){return G(1)},Y=0,X=function(e){1===(Y+=e)?(w(window,C,Z),o&&w(window,T,N)):0===Y&&(O(window,C,Z),o&&O(window,T,N))},K=!1,J=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=R.setPrompt(e);return K||(X(1),K=!0),function(){return K&&(K=!1,X(-1)),t()}},Q=function(e){var t=R.appendListener(e);return X(1),function(){X(-1),t()}},ee={length:t.length,action:"POP",location:B,createHref:W,push:z,replace:V,go:G,goBack:q,goForward:$,block:J,listen:Q};return ee};Object.assign;"function"==typeof Symbol&&Symbol.iterator,Object.assign;var A,M,R=a(1024),I=a.n(R),Z=a(80467),N="tocco-util/LOG_ERROR",L=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Date.now();return{type:N,payload:{title:e,description:t,error:n,dateTime:r}}},F=a(74806),H=a(50558),B=a(34575),U=a.n(B),W=a(93913),z=a.n(W),V=a(2205),G=a.n(V),q=a(78585),$=a.n(q),Y=a(29754),X=a.n(Y),K=a(44012),J=a(91411),Q=a(58804),ee=a(30759),te=a(88601),ne=a(7281),re=Q.ZP.div.withConfig({displayName:"StyledWrapper"})(A||(A=(0,J.Z)(["\n ",";\n background-color: ",";\n color: ",";\n padding: ",";\n"])),(0,ee.Z)(),(function(e){return e.theme.colors.signal.danger.text}),te.Z.color("paper"),ne.Z.space(-.5)),oe=a(85893);const ie=function(){return M||(M=(0,oe.jsx)(re,{children:(0,oe.jsx)(K.Z,{id:"client.component.errorBoundary.text"})}))};var ae;function se(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=X()(e);if(t){var o=X()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return $()(this,n)}}var ce=function(e){G()(n,e);var t=se(n);function n(e){var r;return U()(this,n),(r=t.call(this,e)).state={hasError:!1,error:null},r}return z()(n,[{key:"componentDidCatch",value:function(e){var t=this.props,n=t.logError,r=t.intl;n(r.formatMessage({id:"client.component.errorBoundary.notificationTitle"}),r.formatMessage({id:"client.component.errorBoundary.notificationDescription"}),e)}},{key:"render",value:function(){return this.state.hasError?ae||(ae=(0,oe.jsx)(ie,{})):this.props.children||null}}],[{key:"getDerivedStateFromError",value:function(e){return{hasError:!0,error:e}}}]),n}(R.Component);const ue=ce;var le={logError:L};(0,H.connect)(null,le)((0,F.ZP)(ue));var fe=a(81770),pe=a(319),de=a.n(pe);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 n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?he(Object(r),!0).forEach((function(n){t()(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):he(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ge=t()({},N,(function(e,t){var n=t.payload,r=n.title,o=n.description,i=n.error,a=n.dateTime;return me(me({},e),{},{messages:[{title:r,description:o,error:i,dateTime:a}].concat(de()(e.messages)).slice(0,100)})})),ve={messages:[]};function ye(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ve,t=arguments.length>1?arguments[1]:void 0,n=ge[t.type];return n?n(e,t):e}var be=a(87757),we=a.n(be),Oe=a(34857),xe=a(50600),Se=a(44759),je=we().mark(Pe);function Pe(e,t,n){return we().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,Oe.RE)(Se.Z.logError,"".concat(e,": \n").concat(t,"\n"),n);case 2:case"end":return r.stop()}}),je)}var Ee=a(93752),ke=we().mark(Ce);function Ce(e,t,n){var r;return we().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,Oe.RE)(Ee.Z.toaster,{type:"error",title:e,body:t});case 2:return r=n.sent,n.next=5,(0,Oe.gz)(r);case 5:case"end":return n.stop()}}),ke)}var Te=a(48926),De=a.n(Te),_e=a(54159),Ae="error",Me=function(){var e=De()(we().mark((function e(t){var n;return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="ERROR MESSAGE: ".concat(t.message," \nSTACK: ").concat(t.stack?t.stack.substring(0,1e3):"-"),Se.Z.logError(n),e.next=4,Ie(Ae,n);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Re=function(){var e=De()(we().mark((function e(t){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Se.Z.logError(t),e.next=3,Ie(Ae,t);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ie=function(){var e=De()(we().mark((function e(t,n){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,_e.Z.executeRequest("log?level=".concat(t,"&message=").concat(encodeURI(n)),{method:"POST"});case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(t,n){return e.apply(this,arguments)}}();const Ze={logError:Re,logException:Me};var Ne=we().mark(Le);function Le(e,t,n){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.RE)(Ze.logException,n);case 2:case"end":return e.stop()}}),Ne)}const Fe={console:Pe,notification:Ce,remote:Le};var He=we().mark(We),Be=we().mark(ze),Ue=we().mark(Ve);function We(e,t){return we().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e){n.next=5;break}return n.next=3,(0,Oe.ib)(N,ze,t);case 3:n.next=7;break;case 5:return n.next=7,(0,Oe.ib)(N,Ve);case 7:case"end":return n.stop()}}),He)}function ze(e,t){var n,r,o,i;return we().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=t.payload,r=n.title,o=n.description,i=n.error,a.next=4,(0,Oe.$6)(e.map((function(e){return(0,Oe.RE)(Fe[e],r,o,i)})));case 4:case"end":return a.stop()}}),Be)}function Ve(e){return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,Oe.gz)(xe.Z.emitAction(e));case 2:case"end":return t.stop()}}),Ue)}const Ge=L,qe=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];t&&fe.Z.injectReducers(e,{errorLogging:ye}),e.sagaMiddleware.run(We,t,n)};var $e=a(93386),Ye=a.n($e),Xe=(a(30314),a(2100)),Ke="cache/INITIALISE",Je="cache/SET_INITIALISED",Qe=function(e){return{type:Je,payload:{initialised:e}}},et=t()({},Je,fe.Z.singleTransferReducer("initialised")),tt={initialised:!1};function nt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tt,t=arguments.length>1?arguments[1]:void 0,n=et[t.type];return n?n(e,t):e}var rt=a(79311),ot=a(63094),it=we().mark(at);function at(){var e,t,n,r,o,i,a,s,c;return we().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,Oe.RE)(ot.Z.hasRevisionIdChanged);case 2:return e=u.sent,t=rt.Z.getLongTerm("session","locale"),n=rt.Z.getLongTerm("session","principal"),u.next=7,(0,Oe.RE)(Xe.Z.loadUserWithLocale);case 7:return r=u.sent,o=r.locale,i=r.username,a=r.businessUnitId,s=!t||t!==o,c=n&&(n.currentBusinessUnit.id!==a||n.username!==i),u.abrupt("return",s||c||e);case 12:case"end":return u.stop()}}),it)}var st=we().mark(ut),ct=we().mark(ft);function ut(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.$6)([(0,Oe.Fm)(Ke,ft)]);case 2:case"end":return e.stop()}}),st)}var lt=!1;function ft(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!lt){e.next=4;break}return e.next=3,(0,Oe.gz)(Qe(!0));case 3:return e.abrupt("return");case 4:return e.next=6,(0,Oe.RE)(at);case 6:if(!e.sent){e.next=10;break}return e.next=10,(0,Oe.RE)(rt.Z.clearAll);case 10:return lt=!0,e.next=13,(0,Oe.gz)(Qe(!0));case 13:case"end":return e.stop()}}),ct)}var pt,dt,ht,mt,gt=a(68957),vt=a(93235),yt=a(34206),bt=a(69829),wt=(0,Q.F4)(pt||(pt=(0,J.Z)(["\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n"]))),Ot=(0,Q.iv)(dt||(dt=(0,J.Z)(["\n animation: "," 400ms ease-in-out both;\n"])),wt),xt=Q.ZP.div.withConfig({displayName:"StyledLoadingIconAndTest"})(ht||(ht=(0,J.Z)(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: ",";\n ",";\n\n > "," {\n margin-top: ",";\n z-index: 1;\n }\n"])),ne.Z.space(-1),Ot,bt.Fe,ne.Z.space(-1));const St=Q.ZP.div.withConfig({displayName:"StyledLoadMask"})(mt||(mt=(0,J.Z)(["\n display: flex;\n flex-direction: column;\n flex: 1;\n height: 100%;\n z-index: 0; // prevent interference with StyledPageOverlay when implemented as widget\n"])));var jt;const Pt=function(e){var t=e.promises,n=e.required,r=e.children,o=e.loadingText,i=e.className,a=(0,R.useState)(!1),s=(0,gt.Z)(a,2),c=s[0],u=s[1],l=(0,R.useState)(!0),f=(0,gt.Z)(l,2),p=f[0],d=f[1];(0,R.useEffect)((function(){return t&&Promise.all(t).then((function(){!function(e){p&&u(e)}(!0)})),function(){d(!1)}}),[]);var h=n&&Array.isArray(n)?!n.some((function(e){return!e})):!!t&&c;return(0,oe.jsx)(St,{className:i,children:h?r:(0,oe.jsxs)(xt,{children:[jt||(jt=(0,oe.jsx)(vt.Z,{size:"30px"},"loading-spinner")),o&&(0,oe.jsx)(yt.ZP.Span,{children:o},"loadingText")]})})};const Et=function(e){var t=e.children,n=e.initialised;return(0,oe.jsx)(Pt,{required:[n],children:t})};const kt={addToStore:function(e){fe.Z.injectReducers(e,{cache:nt}),e.sagaMiddleware.run(ut)},initialise:function(){return{type:Ke}},CacheInitLoadMask:(0,H.connect)((function(e){return{initialised:!e.cache||e.cache.initialised}}))((0,F.ZP)(Et)),hasInvalidCache:at};var Ct=a(21101),Tt=a(5435);const Dt={name:"widget",colors:{paper:"#FFFFFF",primary:"#000000",secondary:"#333",secondaryLight:"#7c7c7c",text:"#000",backgroundBody:"#EDF1F5",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:"inherit",regular:"inherit"},fontSize:{base:1,factor:1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{regular:"0px",medium:"2px",large:"4px"},space:{base:1,factor:2}};var _t=a(85743),At="keyDown/SET_CONFIG",Mt="keyDown/KEY_DOWN",Rt=function(e){return{type:At,payload:{config:e}}},It=function(e){return{type:Mt,payload:{config:e}}},Zt=t()({},At,fe.Z.singleTransferReducer("config")),Nt={config:[]};function Lt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nt,t=arguments.length>1?arguments[1]:void 0,n=Zt[t.type];return n?n(e,t):e}var Ft=we().mark(Ut),Ht=we().mark(Wt),Bt=we().mark(zt);function Ut(e){return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,Oe.$6)([(0,Oe.RE)(Wt,e),(0,Oe.ib)(Mt,zt)]);case 2:case"end":return t.stop()}}),Ft)}function Wt(e){return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,Oe.gz)(Rt(e));case 2:case"end":return t.stop()}}),Ht)}function zt(e){var t,n;return we().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t=e.payload,!(n=t.config)){r.next=5;break}return r.next=5,(0,Oe.$6)(n.actions.map((function(e){return(0,Oe.gz)(e)})));case 5:case"end":return r.stop()}}),Bt)}var Vt,Gt=a(28655),qt=a.n(Gt),$t=Q.ZP.div.withConfig({displayName:"StyledDiv"})(Vt||(Vt=qt()(["\n display: contents;\n\n :focus {\n outline: none;\n }\n"])));const Yt=function(e){var t=e.config,n=e.children,r=e.keyDownHandler,o=(0,R.useCallback)((function(e,n){var o=function(e,t,n){return e.find((function(e){return(e.code===t.code||e.key===t.key)&&(e.ctrl?e.ctrl===t.ctrlKey||e.ctrl===t.metaKey:e.ctrl===t.ctrlKey&&e.ctrl===t.metaKey)&&e.alt===t.altKey&&n===e.global}))}(t,e,n);o&&(e.preventDefault(),e.stopPropagation()),r(o)}),[t,r]),i=(0,R.useCallback)((function(e){return o(e,!0)}),[o]);return(0,R.useEffect)((function(){return document.addEventListener("keydown",i),function(){document.removeEventListener("keydown",i)}}),[i]),(0,oe.jsx)($t,{tabIndex:"0",onKeyDown:function(e){return o(e)},children:n})};var Xt={keyDownHandler:It};const Kt={keyDown:It,addToStore:function(e,t){fe.Z.injectReducers(e,{keyDown:Lt}),e.sagaMiddleware.run(Ut,t)},KeyDownWatcher:(0,H.connect)((function(e){var t;return{config:(null===(t=e.keyDown)||void 0===t?void 0:t.config)||[]}}),Xt)(Yt)};var Jt,Qt,en,tn=Q.ZP.div.withConfig({displayName:"StyledApp"})(Jt||(Jt=qt()(["\n display: flex;\n flex-direction: column;\n height: 100%;\n"]))),nn=a(82492),rn=a.n(nn),on=a(76538),an=(0,Q.vJ)(Qt||(Qt=qt()(["\n // Legacy (display expression) icons styling\n .text-success {\n color: ",";\n }\n\n .text-info {\n color: ",";\n }\n\n .text-warning {\n color: ",";\n }\n\n .text-danger {\n color: ",";\n }\n\n .text-muted {\n color: ",";\n }\n"])),te.Z.color("signal.success.text"),te.Z.color("signal.info.text"),te.Z.color("signal.warning.text"),te.Z.color("signal.danger.text"),(function(e){var t=e.theme;return(0,on._j)(.4,t.colors.paper)})),sn=function(e){var t=e.defaultTheme,n=e.customTheme,r=e.children,o=e.theme,i=(0,R.useMemo)((function(){return rn()({},t,n)}),[t,n]);return(0,oe.jsxs)(Q.f6,{theme:o||i,children:[en||(en=(0,oe.jsx)(an,{})),r]})};sn.defaultProps={defaultTheme:Tt.Z};const cn=(0,Q.Zz)(sn);var un=a(93379),ln=a.n(un),fn=a(7795),pn=a.n(fn),dn=a(90569),hn=a.n(dn),mn=a(3565),gn=a.n(mn),vn=a(19216),yn=a.n(vn),bn=a(44589),wn=a.n(bn),On=a(36420),xn={};xn.styleTagTransform=wn(),xn.setAttributes=gn(),xn.insert=hn().bind(null,"head"),xn.domAPI=pn(),xn.insertStyleElement=yn();ln()(On.Z,xn);On.Z&&On.Z.locals&&On.Z.locals;var Sn=function(e){return"widget"===e?Dt:Tt.Z};const jn=function(e){var t=e.store,n=e.initIntlPromise,r=e.content,o=e.theme,i=(0,R.useCallback)((function(e){e&&a.e(198).then(a.bind(a,78947)).then((function(t){t.dom.watch({autoReplaceSvgRoot:e,observeMutationsRoot:e})}))}),[]),s=_t.Z.getEmbedType();return(0,oe.jsx)(cn,{customTheme:o,defaultTheme:Sn(s),children:(0,oe.jsx)(H.Provider,{store:t,children:(0,oe.jsx)(Kt.KeyDownWatcher,{children:(0,oe.jsx)(Pt,{promises:[n],children:(0,oe.jsx)(Ct.Pj,{children:(0,oe.jsx)(kt.CacheInitLoadMask,{children:(0,oe.jsx)(tn,{ref:i,children:r})})})})})})})};var Pn="input/SET_INPUT",En="input/INPUT_INITIALIZED",kn=function(e,t){e.forEach((function(e){t.dispatch(e)}))},Cn=function(e){a.p=e},Tn=function(e,t,n,r){var o=Ye()([n],r),i=e?e.locale:null;return Xe.Z.initIntl(t,o,i)},Dn=a(15857),_n=(a(28500),a(44422));function An(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}var Mn=An();Mn.withExtraArgument=An;const Rn=Mn;var In=a(24688);function Zn(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 Nn(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?Zn(Object(r),!0).forEach((function(n){t()(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ln=t()({},Pn,(function(e,t){var n=t.payload;return Nn(Nn({},e),n)})),Fn={};const Hn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Fn,t=arguments.length>1?arguments[1]:void 0,n=Ln[t.type];return n?n(e,t):e};function Bn(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 Un(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?Bn(Object(r),!0).forEach((function(n){t()(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Wn=function(e){var t=window.__INITIAL_STATE__||{};return e&&(t.input=e,t.intl={locale:e.locale}),t};a(63038),a(41609),a(18446),a(35937),a(35997);const zn=function(e,t,n,r){var o=r.input,i=void 0===o?{}:o,a=r.actions,s=void 0===a?void 0:a,c=r.publicPath,u=void 0===c?void 0:c,l=r.textResourceModules,f=void 0===l?[]:l;try{var p=i.customTheme;u&&Cn(u),s&&kn(s,n),n.dispatch({type:En}),n.dispatch(kt.initialise());var d=Tn(i,n,e,f);return{component:(0,oe.jsx)(jn,{store:n,initIntlPromise:d,content:t,theme:p}),store:n,methods:{setLocale:function(e){return Xe.Z.changeLocale(n,f,e)}}}}catch(e){try{n.dispatch(Ge("Error","Error creating react application: ",e))}catch(t){Se.Z.logError("Error creating react application: ",e),Se.Z.logError("Unable to log error: ",t)}}},Vn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Wn(n),o=(0,_n.ZP)(),i=(0,Dn.md)(Rn,o),a=Un(Un({},e),{},{input:Hn,intl:Ct._8});e=(0,Dn.UY)(a);var s=(0,Dn.MT)(e,r,i);if(s.allReducers=a,s.sagas=t,s.sagaMiddleware=o,s.hotReloadReducers=fe.Z.hotReloadReducers,t&&t.length>0){var c=In.Z.createGenerator(t.map((function(e){return(0,Oe.rM)(e)})));o.run(In.Z.autoRestartSaga(c,null,Ge))}return s},Gn=function(e,t){window.reactRegistry&&window.reactRegistry.register(e,t)};var qn,$n=a(48479);function Yn(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 Xn(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?Yn(Object(r),!0).forEach((function(n){t()(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Kn=function(e,n){return function(r,o){return Xn(Xn({},r),{},t()({},n||o.payload.path,Xn(Xn({},r[n||o.payload.path]),{},{running:e})))}},Jn=(qn={},t()(qn,$n.b0,fe.Z.singleTransferReducer("version","dbRefactoring")),t()(qn,$n.FX,fe.Z.singleTransferReducer("modules","dbRefactoring")),t()(qn,$n._2,fe.Z.singleTransferReducer("selectedModules","dbRefactoring")),t()(qn,$n.ZD,fe.Z.singleTransferReducer("ignoreErrors","dbRefactoring")),t()(qn,$n.Pt,(function(e,t){return Xn(Xn({},e),{},{dbRefactoring:Xn(Xn({},e.dbRefactoring),{},{fragments:t.payload.fragments,selectedFragments:t.payload.fragments.filter((function(e){return!0===e.selected})).map((function(e){return e.id}))})})})),t()(qn,$n.Hx,(function(e,t){return Xn(Xn({},e),{},{dbRefactoring:Xn(Xn({},e.dbRefactoring),{},{selectedFragments:!0===t.payload.selected?[].concat(de()(e.dbRefactoring.selectedFragments),[t.payload.fragment]):e.dbRefactoring.selectedFragments.filter((function(n,r){return r!==e.dbRefactoring.selectedFragments.indexOf(t.payload.fragment)}))})})})),t()(qn,$n.X7,Kn(!0,"dbRefactoring")),t()(qn,$n.DN,Kn(!1)),t()(qn,$n.AF,fe.Z.singleTransferReducer("language","languageUpgrade")),t()(qn,$n.Bw,Kn(!0,"languageUpgrade")),qn),Qn={dbRefactoring:{version:"",modules:[],selectedModules:[],fragments:[],selectedFragments:[],ignoreErrors:!1,running:!1},languageUpgrade:{language:"",running:!1}};var er=we().mark(ur),tr=we().mark(lr),nr=we().mark(fr),rr=we().mark(pr),or=we().mark(dr),ir=we().mark(hr),ar=we().mark(mr),sr=function(e){return e.dbRefactoring.dbRefactoring},cr=function(e){return e.dbRefactoring.languageUpgrade};function ur(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.$6)([(0,Oe.Fm)($n.VQ,lr),(0,Oe.Fm)($n.Tf,fr),(0,Oe.Fm)($n.X7,pr),(0,Oe.Fm)($n.Bw,dr)]);case 2:case"end":return e.stop()}}),er)}function lr(){var e;return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,Oe.RE)(ot.Z.requestSaga,"devcon/dbrefactoring/modules");case 2:return e=t.sent,t.next=5,(0,Oe.gz)($n.rm(e.body.map((function(e){return{key:e,display:e}}))));case 5:case"end":return t.stop()}}),tr)}function fr(){var e;return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,Oe.RE)(ot.Z.requestSaga,"devcon/dbrefactoring/fragments");case 2:return e=t.sent,t.next=5,(0,Oe.gz)($n.Rg(e.body));case 5:case"end":return t.stop()}}),nr)}function pr(){var e,t,n,r,o,i;return we().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,Oe.Ys)(sr);case 2:return e=a.sent,t=e.selectedModules,n=e.selectedFragments,r=e.version,o=e.ignoreErrors,i={modules:t.map((function(e){return e.key})),fragments:n,version:r,ignoreErrors:o},a.next=10,(0,Oe.RE)(hr,i,"dbRefactoring");case 10:case"end":return a.stop()}}),rr)}function dr(){var e,t,n;return we().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,Oe.Ys)(cr);case 2:return e=r.sent,t=e.language,n={language:t},r.next=7,(0,Oe.RE)(hr,n,"languageUpgrade");case 7:case"end":return r.stop()}}),or)}function hr(e,t){var n,r;return we().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return n={method:"POST",body:e},o.prev=1,o.next=4,(0,Oe.RE)(ot.Z.requestSaga,"devcon/dbrefactoring/executions",n);case 4:return r=o.sent,o.next=7,(0,Oe.Cs)(mr,r.headers.get("Location"),t);case 7:o.next=14;break;case 9:return o.prev=9,o.t0=o.catch(1),Se.Z.logError("DB refactoring execution failed",o.t0),o.next=14,(0,Oe.gz)(Ee.Z.toaster({type:"error",title:"DB refactoring execution failed"}));case 14:case"end":return o.stop()}}),ir,null,[[1,9]])}function mr(e,t){var n,r;return we().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,Oe.gw)(3e3);case 2:return o.next=4,(0,Oe.RE)(ot.Z.requestSaga,e);case 4:if(n=o.sent,"completed"!==(r=n.body.state.toLowerCase())){o.next=13;break}return o.next=9,(0,Oe.gz)($n.zL(t));case 9:return o.next=11,(0,Oe.gz)(Ee.Z.toaster({type:"success",title:"DB refactoring execution completed"}));case 11:case 18:o.next=22;break;case 13:if("failed"!==r){o.next=20;break}return o.next=16,(0,Oe.gz)($n.zL(t));case 16:return o.next=18,(0,Oe.gz)(Ee.Z.toaster({type:"error",title:"DB refactoring execution failed"}));case 20:return o.next=22,(0,Oe.RE)(mr,e);case 22:case"end":return o.stop()}}),ar)}var gr=we().mark(vr);function vr(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.$6)([(0,Oe.rM)(ur)]);case 2:case"end":return e.stop()}}),gr)}const yr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qn,t=arguments.length>1?arguments[1]:void 0,n=Jn[t.type];return n?n(e,t):e};var br=a(44586),wr="log/RECEIVE_ENTRY",Or=function(e){return{type:wr,payload:{data:e}}};function xr(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 Sr(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?xr(Object(r),!0).forEach((function(n){t()(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var jr=t()({},wr,(function(e,t){var n=t.payload;return Sr(Sr({},e),{},{entries:[Sr(Sr({},n.data),{},{key:(0,br.Z)()})].concat(de()(e.entries))})})),Pr={entries:[]};var Er=a(47979),kr=we().mark(Tr),Cr=we().mark(Dr);function Tr(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.$6)([(0,Oe.RE)(Dr)]);case 2:case"end":return e.stop()}}),kr)}function Dr(){var e;return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={name:"logging",messageReceivedAction:Or},t.next=3,(0,Oe.RE)(Er.Z.connectSocket,e);case 3:case"end":return t.stop()}}),Cr)}var _r=we().mark(Ar);function Ar(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.$6)([(0,Oe.rM)(Tr)]);case 2:case"end":return e.stop()}}),_r)}const Mr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pr,t=arguments.length>1?arguments[1]:void 0,n=jr[t.type];return n?n(e,t):e};var Rr,Ir=a(49478);function Zr(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 Nr(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?Zr(Object(r),!0).forEach((function(n){t()(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Lr=(Rr={},t()(Rr,Ir.MW,(function(){return Nr(Nr({},Fr),{},{state:Nr(Nr({},Fr.state),{},{running:!0})})})),t()(Rr,Ir.LU,(function(e,t){var n=t.payload;return Nr(Nr({},e),{},{state:Nr(Nr({},e.state),{},{total:n.total})})})),t()(Rr,Ir.pe,(function(e,t){var n=t.payload;return Nr(Nr({},e),{},{state:Nr(Nr({},e.state),{},{running:!0,total:n.total,currentIndex:n.currentIndex,currentName:n.currentName})})})),t()(Rr,Ir.HM,(function(e,n){var r=n.payload,o=r.id,i=r.type,a=r.label,s=e.checkEvents[i]||[],c=[].concat(de()(s),[{id:o,type:i,label:a}]),u=Nr(Nr({},e.checkEvents),{},t()({},i,c));return Nr(Nr({},e),{},{checkEvents:u})})),t()(Rr,Ir.iK,(function(e,t){var n=t.payload;return Nr(Nr({},e),{},{state:Nr(Nr({},e.state),{},{running:!1,result:n.result})})})),t()(Rr,Ir.sF,(function(e,t){var n,r=t.payload,o=r.ids;return r.selected?(n=new Set(e.selection),o.forEach(n.add,n)):(n=new Set,e.selection.forEach((function(e){o.includes(e)||n.add(e)}))),Nr(Nr({},e),{},{selection:n})})),t()(Rr,Ir.VD,fe.Z.singleTransferReducer("sql")),t()(Rr,Ir.g6,fe.Z.singleTransferReducer("changelog")),Rr),Fr={checkEvents:{},state:{running:!1,currentIndex:null,currentName:null,total:null,result:null},selection:new Set,sql:null,changelog:null};var Hr=a(92135),Br=a(65035);const Ur=function(e){var t=e.changelog,n=e.setChangelog,r=e.executeChangelog,o=e.close;return(0,oe.jsxs)("div",{children:[(0,oe.jsx)(Hr.Z,{type:"text",value:t,events:{onChange:n},readOnly:!r}),r&&(0,oe.jsx)(Br.Z,{look:"raised",onClick:function(){r&&r(o)},label:"Execute Changelog"})]})};const Wr=(0,H.connect)((function(e){return{changelog:e.modelValidation.changelog}}),{})(Ur);const zr=function(e){var t=e.sql,n=e.setSql,r=e.executeSql,o=e.close;return(0,oe.jsxs)("div",{children:[(0,oe.jsx)(Hr.Z,{type:"text",value:t,events:{onChange:n}}),(0,oe.jsx)(Br.Z,{look:"raised",onClick:function(){r(o)},label:"Run Statements"})]})};var Vr={setSql:Ir.fq,executeSql:Ir.Rj};const Gr=(0,H.connect)((function(e){return{sql:e.modelValidation.sql}}),Vr)(zr);var qr=we().mark(no),$r=we().mark(ro),Yr=we().mark(oo),Xr=we().mark(io),Kr=we().mark(ao),Jr=we().mark(so),Qr=we().mark(co),eo=function(e){return e.modelValidation.selection},to=function(e){return e.modelValidation.sql};function no(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.$6)([(0,Oe.RE)(ro),(0,Oe.ib)(Ir.MW,oo),(0,Oe.ib)(Ir.EJ,io),(0,Oe.ib)(Ir.es,ao),(0,Oe.ib)(Ir.dQ,so),(0,Oe.ib)(Ir.Ge,co)]);case 2:case"end":return e.stop()}}),qr)}function ro(){var e;return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={name:"modelvalidation",messageReceivedAction:Ir.QM},t.next=3,(0,Oe.RE)(Er.Z.connectSocket,e);case 3:case"end":return t.stop()}}),$r)}function oo(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,Oe.RE)(ot.Z.requestSaga,"devcon/modelvalidation/validation",{method:"POST"});case 3:e.next=10;break;case 5:return e.prev=5,e.t0=e.catch(0),Se.Z.logError("Failed to start model validation",e.t0),e.next=10,(0,Oe.gz)(Ee.Z.toaster({type:"error",title:"Failed to start model validation"}));case 10:case"end":return e.stop()}}),Yr,null,[[0,5]])}function io(e){var t;return we().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t=e.payload,n.t0=t.message.type,n.next="validation_ended"===n.t0?4:"entering_checks"===n.t0?7:"entering_check"===n.t0?10:"check_event"===n.t0?13:16;break;case 4:return n.next=6,(0,Oe.gz)(Ir.ag(t.message.params.result));case 6:case 9:case 12:case 15:return n.abrupt("break",16);case 7:return n.next=9,(0,Oe.gz)(Ir.o1(t.message.params.total));case 10:return n.next=12,(0,Oe.gz)(Ir.c(t.message.params.total,t.message.params.num,t.message.params.model));case 13:return n.next=15,(0,Oe.gz)(Ir.R6(t.message.params.id,t.message.params.type,t.message.params.label));case 16:case"end":return n.stop()}}),Xr)}function ao(){var e,t,n;return we().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,Oe.Ys)(eo);case 2:return e=r.sent,t={method:"POST",body:{uuids:Array.from(e)}},r.prev=4,r.next=7,(0,Oe.RE)(ot.Z.requestSaga,"devcon/modelvalidation/sql",t);case 7:return n=r.sent,r.next=10,(0,Oe.gz)(Ir.fq(n.body.statements.map((function(e){return e+";"})).join("\n")));case 10:return r.next=12,(0,Oe.gz)(Ee.Z.modal("sql","SQL",null,Gr,!0));case 12:r.next=19;break;case 14:return r.prev=14,r.t0=r.catch(4),Se.Z.logError("Failed to generate SQL",r.t0),r.next=19,(0,Oe.gz)(Ee.Z.toaster({type:"error",title:"Failed to generate SQL"}));case 19:case"end":return r.stop()}}),Kr,null,[[4,14]])}function so(e){var t,n,r;return we().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload,o.next=3,(0,Oe.Ys)(to);case 3:return n=o.sent,r={method:"POST",body:{statements:n.split(";")}},o.prev=5,o.next=8,(0,Oe.RE)(ot.Z.requestSaga,"devcon/modelvalidation/execute/sql",r);case 8:if(200!==o.sent.status){o.next=12;break}return o.next=12,(0,Oe.RE)(t.close);case 12:o.next=19;break;case 14:return o.prev=14,o.t0=o.catch(5),Se.Z.logError("Failed to execute SQL",o.t0),o.next=19,(0,Oe.gz)(Ee.Z.toaster({type:"error",title:"Failed to execute SQL"}));case 19:case"end":return o.stop()}}),Jr,null,[[5,14]])}function co(){var e,t,n;return we().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,Oe.Ys)(eo);case 2:return e=r.sent,t={method:"POST",body:{uuids:Array.from(e)}},r.prev=4,r.next=7,(0,Oe.RE)(ot.Z.requestSaga,"devcon/modelvalidation/changelog",t);case 7:return n=r.sent,r.next=10,(0,Oe.gz)(Ir.EL(n.body.statements[0]));case 10:return r.next=12,(0,Oe.gz)(Ee.Z.modal("changelog","Changelog",null,Wr,!0));case 12:r.next=19;break;case 14:return r.prev=14,r.t0=r.catch(4),Se.Z.logError("Failed to generate Changelog",r.t0),r.next=19,(0,Oe.gz)(Ee.Z.toaster({type:"error",title:"Failed to generate changelog"}));case 19:case"end":return r.stop()}}),Qr,null,[[4,14]])}var uo=we().mark(lo);function lo(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.$6)([(0,Oe.rM)(no)]);case 2:case"end":return e.stop()}}),uo)}const fo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Fr,t=arguments.length>1?arguments[1]:void 0,n=Lr[t.type];return n?n(e,t):e};var po,ho=a(22541);function mo(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 go(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?mo(Object(r),!0).forEach((function(n){t()(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var vo=(po={},t()(po,ho.Z9,(function(e,t){var n=t.payload;return e.active?go(go({},e),{},{entries:[go(go({},n.data),{},{key:(0,br.Z)()})].concat(de()(e.entries))}):e})),t()(po,ho.HI,fe.Z.singleTransferReducer("active")),t()(po,ho.Zm,fe.Z.singleTransferReducer("elapsed")),po),yo={entries:[],active:!1,elapsed:null};var bo=we().mark(Oo),wo=we().mark(xo);function Oo(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.$6)([(0,Oe.RE)(xo)]);case 2:case"end":return e.stop()}}),bo)}function xo(){var e;return we().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={name:"sqllogging",messageReceivedAction:ho.oS},t.next=3,(0,Oe.RE)(Er.Z.connectSocket,e);case 3:case"end":return t.stop()}}),wo)}var So=we().mark(jo);function jo(){return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Oe.$6)([(0,Oe.rM)(Oo)]);case 2:case"end":return e.stop()}}),So)}const Po={log:Mr,dbRefactoring:yr,modelValidation:fo,sqlLog:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yo,t=arguments.length>1?arguments[1]:void 0,n=vo[t.type];return n?n(e,t):e}};var Eo,ko,Co=[vr,Ar,lo,jo];function To(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 Do="devcon",_o=I().lazy((function(){return Promise.all([a.e(85),a.e(819)]).then(a.bind(a,34819))})),Ao=function(){return Eo||(Eo=(0,oe.jsx)("div",{children:(0,oe.jsx)(R.Suspense,{fallback:"",children:(0,oe.jsx)(_o,{})})}))},Mo=function(e,n,r,o){var i=Vn(Po,Co,n,Do);qe(i,!0,["console","remote","notification"]),Ee.Z.addToStore(i,!0);var a=_(function(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?To(Object(r),!0).forEach((function(n){t()(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):To(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},n.baseRoute&&{basename:n.baseRoute})),s=(0,oe.jsx)(Z.F0,{history:a,children:ko||(ko=(0,oe.jsx)(Ao,{}))});return zn(Do,s,i,{input:n,events:r,actions:[],publicPath:o,textResourceModules:["component","common",Do]})};Gn(Do,Mo)})(),s})()));
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunktocco_devcon=self.webpackChunktocco_devcon||[]).push([[85],{24295:(e,t,r)=>{r.r(t),r.d(t,{default:()=>ye});var n=r(68957),a=r(91411),o=r(86249),l=r.n(o),i=(r(58900),r(78634)),c=r(84100),s=r(60131),u=r(48230),f=r(64952),d=r(469),h=r(81896),b=r(46940),p=r(27361),g=r.n(p),m=r(14293),w=r.n(m),v=r(13218),y=r.n(v),k=r(47037),x=r.n(k),T=r(1024),Z=r(58804),C=(r(39335),r(28212),r(6488),r(32510),r(79657),r(20844),r(41030),r(98827),r(37363),r(53299),r(54159)),O=function(e){return C.Z.executeRequest("rest/".concat(e))},D=function(e){return 200===e.status?e.json():null},_=r(44822),j=r(11259),P=r(32208),q=r(99357),M=r(19241),U=(r(70646),r(1469)),R=r.n(U),S=r(30236),H=r.n(S),L=["==","!=","<=",">=","<",">","~="],E=["true","false","null"],N=["string","long","serial","bool","boolean","double","float","time","timestamp","char","varchar","date","datetime"],I=["now_date","yesterday_date","tomorrow_date","today_date","now_start","yesterday_start","tomorrow_start","today_start","now","yesterday","tomorrow","today","currentUsername","currentUser","currentBu"],Y=["in","dateadd","datetimeadd","duedate","birthdayin","fulltext","likeall","distance","inboundingbox"];function B(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 r,n=(0,M.Z)(e);if(t){var a=(0,M.Z)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return(0,q.Z)(this,r)}}const F=function(e){return function(t){(0,P.Z)(n,t);var r=B(n);function n(){var t;(0,j.Z)(this,n),t=r.call(this);var a=[{token:"keyword.operator.conjunction",regex:/(\s*)(and|or|not)($|\s+)/,caseInsensitive:!0},{token:"support.class.relation",regex:/rel/,push:"model"},{token:"keyword.exists",regex:/exists\s*/,push:"exists",caseInsensitive:!0},{token:"keyword.count",regex:/count\s*/,push:"count",caseInsensitive:!0},{token:["keyword.function.nice_function","paren.lparen.function_arguments","text.function_arguments","paren.rparen","text.whitespace"],regex:"((?:".concat(Y.join("|"),")\\s*)(\\()(.*?)(\\))($|\\s+)"),caseInsensitive:!0},{token:"keyword.other.chaining",regex:/\./},{token:"support.function.field",regex:/([a-z_]+)($|\s+)/,push:"comparison"}],o={start:e?[{token:"keyword.where",regex:/\s*/,next:"rootwhere",caseInsensitive:!0}]:[{token:"keyword.find",regex:/find($|\s+)/,push:"model",caseInsensitive:!0},{token:"keyword.where",regex:/where($|\s+)/,next:"rootwhere",caseInsensitive:!0}],model:[{token:"support.class.model",regex:/[A-Z][a-z_0-9]*\s*/,next:"pop"}],rootwhere:[{token:"keyword.order_by",regex:/order by($|\s+)/,next:"order",caseInsensitive:!0}].concat(a),comparison:[{token:"keyword.operator.comparison",regex:"(".concat(L.join("|"),")\\s*"),next:"value"}],value:[{token:"string",regex:/".*?"\s*/,next:"pop"},{token:"constant.numeric",regex:/\d+(.\d+)?\s*/,next:"pop"},{token:"constant.language.tocco_placeholder",regex:"\\:(".concat(I.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"constant.language",regex:"(".concat(E.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"support.type",regex:"(".concat(N.join("|"),"):\\s*"),caseInsensitive:!0}],exists:[{token:"paren.lparen",regex:/\(\s*/},{token:"support.class.relation",regex:/rel/,push:"model"},{token:"keyword.other.chaining",regex:/\./},{token:"keyword.where",regex:/where($|\s+)/,next:"existswhere",caseInsensitive:!0},{token:"paren.rparen",regex:/\)\s*/,next:"pop"}],existswhere:[].concat(a,[{token:"paren.rparen",regex:/\)\s*/,next:"pop"}]),count:[{token:"paren.lparen",regex:/\(\s*/},{token:"support.class.relation",regex:/rel/,push:"model"},{token:"keyword.other.chaining",regex:/\./},{token:"keyword.where",regex:/where($|\s+)/,next:"countwhere",caseInsensitive:!0},{token:"paren.rparen",regex:/\)\s*/,next:"comparison"}],countwhere:[].concat(a,[{token:"paren.rparen",regex:/\)\s*/,next:"comparison"}]),order:[{token:"support.class.relation",regex:/rel/,push:"model"},{token:"keyword.other.chaining",regex:/\./},{token:["support.function.field","keyword.direction","separator"],regex:/([a-z_]+\s*)(asc|desc)?($|,|\s+)/}]};return t.$rules=H()(t.$rules,o,(function(e,t){return R()(e)?e.concat(t):void 0})),t.normalizeRules(),t}return(0,_.Z)(n)}(l().require("ace/mode/text_highlight_rules").TextHighlightRules)};function z(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 r,n=(0,M.Z)(e);if(t){var a=(0,M.Z)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return(0,q.Z)(this,r)}}var G=function(e){(0,P.Z)(r,e);var t=z(r);function r(){var e;(0,j.Z)(this,r);return(e=t.call(this)).$rules={start:[{token:"constant.character.entity",regex:/&[^;]+;/},{token:"support.function",regex:"\\?(\\?|substring|cap_first|uncap_first|capitalize|chop_linebreak|date|time|datetime|ends_with|html|groups|index_of|j_string|js_string|json_string|last_index_of|length|lower_case|left_pad|right_pad|contains|matches|number|replace|rtf|url|split|starts_with|string|trim|upper_case|word_list|xhtml|xmlc|round|floor|ceilingiso_[a-z_]+first|last|seq_contains|seq_index_of|seq_last_index_of|reverse|size|sort|sort_by|chunkkeys|valueschildren|parent|root|ancestors|node_name|node_type|node_namespacebyte|double|float|int|long|short|number_to_date|number_to_time|number_to_datetime|eval|has_content|interpret|is_[a-z_]+|namespacenew)"},{token:"support.function.deprecated",regex:"\\?(default|exists|if_exists|web_safe)"},{token:"language.variable",regex:"\\.(?:data_model|error|globals|lang|locale|locals|main|namespace|node|current_node|now|output_encoding|template_name|url_escaping_charset|vars|version)"},{token:"constant.language",regex:"\\b(true|false)\\b"},{token:"keyword.operator",regex:"\\b(?:gt|gte|lt|lte|as|in|using)\\b"},{token:"entity.other.attribute-name",regex:"encoding|parse|locale|number_format|date_format|time_format|datetime_format|time_zone|url_escaping_charset|classic_compatible|strip_whitespace|strip_text|strict_syntax|ns_prefixes|attributes"},{token:"string",regex:/['"]/,next:"qstring"},{token:function(e){return e.match("^[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?$")?"constant.numeric":"variable"},regex:/[\w.+-]+/},{token:"keyword.operator",regex:"!|\\.|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^="},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],qstring:[{token:"constant.character.escape",regex:'\\\\[nrtvef\\\\"$]'},{token:"string",regex:/['"]/,next:"start"},{defaultToken:"string"}]},e}return(0,_.Z)(r)}(l().require("ace/mode/text_highlight_rules").TextHighlightRules),Q=function(e){(0,P.Z)(r,e);var t=z(r);function r(){var e;(0,j.Z)(this,r),e=t.call(this);var n=["query","queryCount"],a=[{token:"keyword.function",regex:"\\[@(".concat(n.join("|"),").*?]"),push:"tql-start"},{token:"comment",regex:"\\[#--",next:"ftl-dcomment"},{token:"string.interpolated",regex:"\\${",push:"ftl-start"},{token:"keyword.function",regex:"\\[/?#(assign|attempt|break|case|compress|default|elseif|else|escape|fallback|function|flush|ftl|global|if|import|include|list|local|lt|macro|nested|noescape|noparse|nt|recover|recurse|return|rt|setting|stop|switch|t|visit)",push:"ftl-start"},{token:"keyword.other",regex:"\\[/?@[a-zA-Z\\.]+",push:"ftl-start"}];for(var o in e.$rules)e.$rules[o].unshift.apply(e.$rules[o],a);e.embedRules(G,"ftl-",[{token:"keyword",regex:"/?\\]",next:"pop"},{token:"string.interpolated",regex:"}",next:"pop"}],["start"]),e.addRules({"ftl-dcomment":[{token:"comment",regex:"--\\]",next:"pop"},{defaultToken:"comment"}]});var l=[{token:"keyword.function",regex:"\\[/@(".concat(n.join("|"),")]"),next:"pop"}];e.embedRules(F(),"tql-",l,["start"]);var i={"tql-rootwhere":[{token:"keyword.function",regex:"\\[/@(".concat(n.join("|"),")]"),next:"pop"}],"tql-order":[{token:"keyword.function",regex:"\\[/@(".concat(n.join("|"),")]"),next:"pop"}]};return e.$rules=H()(e.$rules,i,(function(e,t){return R()(e)?e.concat(t):void 0})),e.normalizeRules(),e}return(0,_.Z)(r)}(l().require("ace/mode/html_highlight_rules").HtmlHighlightRules),$=r(52902),A=r(45915),W=l().require("ace/token_iterator").TokenIterator,V=function(e){return e?e.type.substring(e.type.lastIndexOf(".")+1):null},K=function(e,t){return V(e.getCurrentToken())===t},X=function(e){if(K(e,"model")&&e.stepBackward(),(K(e,"field")||K(e,"relation"))&&e.stepBackward(),!K(e,"chaining"))return null;if(e.stepBackward(),K(e,"model")){var t=e.getCurrentToken();return e.stepBackward(),e.stepBackward(),t?t.value.trim():null}return null},J=function(e,t){for(;!K(e,t);)if(!e.stepBackward())return!1;return!0},ee=function(e,t){return K(e,"rparen")?1:t>0&&K(e,"lparen")?(e.stepBackward(),-1):0},te=function(e){for(var t=0;e.getCurrentToken();){if(0===t&&K(e,"where")){var r=e.stepBackward();return r?[r.value.trim()].concat((0,A.Z)(ne(e))):[]}if(K(e,"order_by")){if(J(e,"find")){var n=e.stepForward();return n?n.value.trim():[]}return[]}if(t+=ee(e,t),!e.stepBackward())return null}return null},re=function(e,t){for(var r=[],n=t(e);n;)Array.isArray(n)?n.forEach((function(e){return r.unshift(e)})):r.unshift(n),n=t(e);return r},ne=function(e){return re(e,X)},ae=function(e){return re(e,te)},oe=1e3,le=function(e,t,r){var n=function(e,t){if(t){var r=ae(e());return{baseModel:t,modelScope:(0,$.Z)(r).slice(0)}}var n=ae(e()),a=(0,$.Z)(n);return{baseModel:a[0],modelScope:a.slice(1)}}(e,r),a=n.baseModel,o=n.modelScope;if(a){var l=ne(e()),i=[].concat((0,A.Z)(o),(0,A.Z)(l)).map((function(e){return"rel".concat(e)}));(function(e){var t=(0,$.Z)(e),r=t[0],n=t.slice(1);return O(function(e,t){var r=t.length>0?"/resolve?path="+t.join("."):"";return"entities/".concat(e,"/model").concat(r)}(r,n)).then(D).then((function(e){if(!e)return[];var t=e.fields||[],r=e.relations||[];return[].concat((0,A.Z)(t.map((function(e){return{label:(t=e,t.label?"".concat(t.fieldName," (").concat(t.label,")"):t.fieldName),value:e.fieldName,meta:e.type};var t}))),(0,A.Z)(r.map((function(e){return{label:(t=e,t.label?"".concat(t.relationName," (").concat(t.label,")"):t.relationName),value:e.relationName,meta:e.targetEntity};var t}))))}))})([a].concat((0,A.Z)(i))).then((function(e){var r=e.map((function(e){return{caption:e.label,value:e.value,meta:e.meta,score:oe}}));t(null,r)})).catch((function(e){return t(e)}))}},ie=function(e,t){return t?"".concat(e," (").concat(t,")"):e},ce=function(e){return O("entities").then(D).then((function(e){return e?e.entities:{}})).then((function(e){return e?Object.values(e):[]})).then((function(e){return e.map((function(e){return e.metaData}))})).then((function(t){var r=t.map((function(e){var t=e.modelName,r=e.label;return{caption:ie(t,r),value:t,score:oe}}));e(null,r)})).catch((function(t){return e(t)}))},se=function(){return Y.map((function(e){return e.toUpperCase()})).map((function(e){return{caption:e,value:"".concat(e,"()"),meta:"function",score:970}}))};const ue=function(e){return{getCompletions:function(t,r,n,a,o){var l=function(){return new W(r,n.row,n.column)},i=l(),c=i.getCurrentToken(),s=i.stepBackward()?i.getCurrentToken():null;switch(V(c)){case"chaining":case"relation":case"separator":case"order_by":case"count":case"exists":case"field":case"function_arguments":le(l,o,e);break;case"where":case"conjunction":le(l,o,e),o(null,se());break;case"nice_function":o(null,se());break;case"find":ce(o);break;case"type":case"tocco_placeholder":case"comparison":o(null,N.map((function(e){return{caption:e,value:"".concat(e,":"),meta:"type",score:980}}))),o(null,I.map((function(e){return{caption:e,value:":".concat(e),meta:"placeholder",score:990}})));break;case"model":le(l,o,e),s&&"relation"!==V(s)&&ce(o);break;case null:e&&le(l,o,e),o(null,se())}}}};function fe(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 r,n=(0,M.Z)(e);if(t){var a=(0,M.Z)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return(0,q.Z)(this,r)}}var de=function(e){(0,P.Z)(r,e);var t=fe(r);function r(){var e;return(0,j.Z)(this,r),(e=t.call(this)).HighlightRules=Q,e.completer=ue(),e}return(0,_.Z)(r)}(l().require("ace/mode/ftl").Mode);function he(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 r,n=(0,M.Z)(e);if(t){var a=(0,M.Z)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return(0,q.Z)(this,r)}}var be,pe=function(e){(0,P.Z)(r,e);var t=he(r);function r(e){var n,a=e.implicitModelName;return(0,j.Z)(this,r),(n=t.call(this)).HighlightRules=F(a),n.completer=ue(a),n.snippedIdField=null,n}return(0,_.Z)(r)}(l().require("ace/mode/text").Mode),ge=r(85893),me=Z.ZP.div.withConfig({displayName:"StyledEditor"})(be||(be=(0,a.Z)(["\n width: 100%;\n z-index: 0; /* gutter lays over menu otherwise */\n"]))),we={groovy:function(){return new c.Mode},html:function(){return new s.Mode},xml:function(){return new b.Mode},properties:function(){return new d.Mode},json:function(){return new u.Mode},htmlmixed:function(){return new de},freemarkermixed:function(){return new de},ftl:function(){return new de},tql:function(e){return new pe(e)},less:function(){return new f.Mode},drools:function(){return new i.Mode},text:function(){return new h.Mode}},ve=function(e,t){var r=t.mode,a=t.theme,o=t.showGutter,l=t.editorOptions,i=void 0===l?{}:l;(function(e){return x()(e)?Promise.resolve(e):y()(e)?O("entities/2.0/".concat(e.entityModel,"/").concat(e.key,"?_paths=").concat(e.field)).then(D).then((function(e){return g()(e,["paths","entity_name","value"],null)})):Promise.resolve(null)})(t.implicitModel).then((function(e){return function(e,t){return g()(we,e,e)(t)}(r,{implicitModelName:e})})).then((function(t){return e.getSession().setMode(t)})),e.setTheme("ace/theme/".concat(a)),Object.entries(i).forEach((function(t){var r=(0,n.Z)(t,2),a=r[0],o=r[1];e.setOption(a,o)})),e.renderer.setShowGutter(o),e.resize()};const ye=function(e){var t=e.mode,r=e.theme,n=void 0===r?"textmate":r,a=e.value,o=e.onChange,i=e.showGutter,c=void 0===i||i,s=e.editorOptions,u=void 0===s?{}:s,f=e.implicitModel,d=(0,T.useRef)(null),h=(0,T.useRef)(null),b=(0,T.useMemo)((function(){return{mode:t,theme:n,showGutter:c,editorOptions:u,implicitModel:f}}),[t,n,c,u,f]);return(0,T.useEffect)((function(){var e=l().edit(d.current);return e.getSession().setValue(a||""),e.on("change",(function(){return o(e.getValue())})),ve(e,b),h.current=e,function(){return e.destroy()}}),[]),(0,T.useEffect)((function(){h.current&&ve(h.current,b)}),[b]),(0,T.useEffect)((function(){h.current&&!w()(a)&&a!==h.current.getValue()&&h.current.getSession().setValue(a)}),[a]),(0,ge.jsx)(me,{ref:d})}},91860:(e,t,r)=>{r.r(t),r.d(t,{default:()=>P});var n,a,o,l=r(68957),i=(r(44661),r(75502)),c=r(65809),s=r(94712),u=r(1024),f=r(12520),d=r.n(f),h=r(74806),b=r(58804),p=r(86507),g=r(2091),m=r(65035),w=r(5429),v=function(e){var t=(0,w.default)(e);return isNaN(t)?null:t},y=r(91411),k=r(30759),x=r(51032),T=b.ZP.div.withConfig({displayName:"StyledDatePickerOuterWrapper"})(n||(n=(0,y.Z)(["\n outline: ",";\n"])),(function(e){return e.immutable?0:"initial"})),Z=b.ZP.div.withConfig({displayName:"StyledDatePickerWrapper"})(a||(a=(0,y.Z)(["\n && {\n ","\n\n & .react-datepicker__input-container {\n & input {\n ","\n width: calc(100% - 5px);\n }\n }\n\n & .react-datepicker {\n & .react-datepicker__today-button {\n ","\n }\n }\n }\n"])),x.yP,x.k9,(function(e){return e.hasTime&&"border-bottom: 1px solid #aeaeae;"})),C=b.ZP.input.withConfig({displayName:"StyledTimeInput"})(o||(o=(0,y.Z)(["\n ","\n border: none;\n outline: none;\n min-height: 2.6rem;\n"])),(0,k.Z)()),O=r(85893);(0,f.registerLocale)("en",p.Z.getDateFnsLocale("en")),(0,f.registerLocale)("en-US",p.Z.getDateFnsLocale("en")),(0,f.registerLocale)("de-CH",p.Z.getDateFnsLocale("de-CH")),(0,f.registerLocale)("de",p.Z.getDateFnsLocale("de")),(0,f.registerLocale)("fr",p.Z.getDateFnsLocale("fr")),(0,f.registerLocale)("fr-CH",p.Z.getDateFnsLocale("fr")),(0,f.registerLocale)("it",p.Z.getDateFnsLocale("it")),(0,f.registerLocale)("it-CH",p.Z.getDateFnsLocale("it")),(0,f.setDefaultLocale)("de");var D="react-datepicker-time__input",_=function(e){var t=e.onChange,r=e.label;return(0,O.jsx)(m.Z,{onMouseDown:function(e){e.preventDefault(),t(null)},children:r})},j=function(e){var t=e.value,r=e.onChange,n=e.onKeyDown;return(0,O.jsx)(C,{type:"time",className:D,required:!0,value:t,onKeyDown:n,onChange:function(e){r&&r(e.target.value)},onClick:function(e){e.target.focus()}})};const P=(0,b.Zz)((0,h.ZP)((function(e){var t=e.immutable,r=e.id,n=e.value,a=e.minDate,o=e.maxDate,f=e.onChange,h=e.intl,b=e.placeholder,m=e.hasTime,w=e.dateFormat,y=h.locale,k=function(e){return h.formatMessage({id:e})},x=(0,u.useRef)(null),C=(0,u.useRef)(null),P=(0,u.useState)(!1),q=(0,l.Z)(P,2),M=q[0],U=q[1],R=Boolean(n),S=v(n),H=a?v(a):void 0,L=o?v(o):void 0,E=function(e){var t,r;(U(e),null!==(t=C.current)&&void 0!==t&&t.setPreSelection)&&(null===(r=C.current)||void 0===r||r.setPreSelection(S))},N=function(e){"Tab"!==e.key||e.shiftKey||(e.target.classList.contains("react-datepicker__day")?m?function(e){var t=e.querySelector("input.".concat(D));t&&t.focus()}(x.current):E(!1):function(e){return e.classList.contains(D)}(e.target)&&E(!1)),function(e){return e.classList.contains("react-datepicker-ignore-onclickoutside")}(e.target)&&"Tab"===e.key&&e.shiftKey&&E(!1),"Enter"===e.key&&(E(!1),e.preventDefault(),e.stopPropagation())},I=!t&&R;return(0,O.jsx)(T,{immutable:t,id:r,tabIndex:"-1",children:(0,O.jsxs)(Z,{immutable:t,ref:x,hasTime:m,children:[(0,O.jsx)(d(),{ref:C,selected:S,onChange:function(e){if(e){var t=!n&&e,r=(0,i.default)(e),a=(0,c.default)(e)!==(0,c.default)(r)||(0,s.default)(e)!==(0,s.default)(r);t&&m&&!a&&(e=p.Z.setCurrentTime(e)),f(e.toISOString())}},disabled:t,showTimeInput:m,dateFormat:w,placeholderText:b,showMonthDropdown:!0,showYearDropdown:!0,scrollableYearDropdown:!1,fixedHeight:!0,showPopperArrow:!1,closeOnScroll:function(){return E(!1),!0},open:M,onFocus:function(){E(!0)},onClickOutside:function(){E(!1)},locale:y,onKeyDown:N,customTimeInput:(0,O.jsx)(j,{onKeyDown:N}),enableTabLoop:!1,timeInputLabel:"",minDate:H,maxDate:L,popperProps:{strategy:"fixed"},todayButton:(0,O.jsx)(_,{onChange:f,label:k("client.component.datePicker.todayLabel")})}),I&&(0,O.jsx)(g.Z,{icon:"times",tabIndex:-1,"aria-label":k("client.component.datePicker.clearDateLabel"),onMouseDown:function(e){e.preventDefault(),f(null)}}),!t&&(0,O.jsx)(g.Z,{icon:"calendar",tabIndex:-1,onMouseDown:function(e){e.preventDefault(),e.stopPropagation(),E(!open)}})]})})})))},48078:(e,t,r)=>{r.r(t),r.d(t,{default:()=>c});var n=r(52817),a=r(41609),o=r.n(a),l=r(41291),i=r(85893);const c=function(e){var t=e.value,r=e.breakWords,a=(0,n._)(t),c=o()(a)?t:a.formatInternational();return(0,i.jsx)(l.Z,{href:"tel:".concat(t),target:"_blank",onClick:function(e){return e.stopPropagation()},label:c,breakWords:r})}},23710:(e,t,r)=>{r.r(t),r.d(t,{default:()=>V});var n=r(46927),a=r(72757),o=r(1024),l=r(86896),i=r(44822),c=r(11259),s=r(32208),u=r(99357),f=r(19241),d=r(11820),h=r(39269),b=r(48772),p=r(75528),g=r(52079),m=r(84184),w=r(40569),v=r(75460),y=r(65761),k=r(53626),x=r(73043),T=r(16797),Z=r(71297),C=r(55444),O=r(6672),D=r(18195),_=r(23132),j=r(37060),P=r(4175),q=r(14351),M=r(20211),U=r(51778),R=r(87388),S=r(89906),H=r(41831);function L(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 r,n=(0,f.Z)(e);if(t){var a=(0,f.Z)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return(0,u.Z)(this,r)}}var E=function(e){(0,s.Z)(r,e);var t=L(r);function r(){return(0,c.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r)}(d.Z);E.builtinPlugins=[h.Z,b.Z,w.Z,v.Z,y.Z,k.Z,x.Z,Z.Z,T.Z,C.Z,O.Z,D.Z,p.Z,_.Z,j.Z,P.Z,q.Z,M.Z,U.Z,g.Z,R.Z,S.Z,H.Z,m.Z],E.defaultConfig={toolbar:{items:["bold","italic","underline","strikethrough","removeFormat","|","heading","fontFamily","fontSize","fontColor","|","numberedList","bulletedList","|","link","|","insertTable","|","undo","redo","|","sourceEditing"]},language:{ui:"de",content:"de"},link:{addTargetToExternalLinks:!0},htmlSupport:{allow:[{name:/.*/,attributes:!0,classes:!0,styles:!0}]},table:{contentToolbar:["tableColumn","tableRow","mergeTableCells"]},heading:{options:[{model:"paragraph",title:"Paragraph",class:"ck-heading_paragraph"},{model:"heading1",view:"h1",title:"Heading 1",class:"ck-heading_heading1"},{model:"heading2",view:"h2",title:"Heading 2",class:"ck-heading_heading2"},{model:"heading3",view:"h3",title:"Heading 3",class:"ck-heading_heading3"},{model:"heading4",view:"h4",title:"Heading 4",class:"ck-heading_heading4"},{model:"heading5",view:"h5",title:"Heading 5",class:"ck-heading_heading5"},{model:"heading6",view:"h6",title:"Heading 6",class:"ck-heading_heading6"},{model:"normal",view:"div",title:"Normal (DIV)",class:"ck-heading_normal"}]},fontFamily:{options:["default","Arial,Helvetica,sans-serif","Comic Sans MS,cursive","Courier New,Courier,monospace","Georgia,serif","Lucida Sans Unicode,Lucida Grande,sans-serif","Tahoma,Geneva,sans-serif","Times New Roman,Times,serif","Trebuchet MS,Helvetica,sans-serif","Verdana,Geneva,sans-serif"],supportAllValues:!0},fontSize:{options:[8,10,11,12,"default",15,16,17,19,22,24,26,29,32,36,37,48,64],supportAllValues:!0},fontColor:{columns:10,colors:[{color:"hsl(6, 54%, 95%)",label:" "},{color:"hsl(6, 54%, 89%)",label:" "},{color:"hsl(6, 54%, 78%)",label:" "},{color:"hsl(6, 54%, 68%)",label:" "},{color:"hsl(6, 54%, 57%)",label:" "},{color:"hsl(6, 63%, 46%)",label:" "},{color:"hsl(6, 63%, 41%)",label:" "},{color:"hsl(6, 63%, 35%)",label:" "},{color:"hsl(6, 63%, 29%)",label:" "},{color:"hsl(6, 63%, 24%)",label:" "},{color:"hsl(6, 78%, 96%)",label:" "},{color:"hsl(6, 78%, 91%)",label:" "},{color:"hsl(6, 78%, 83%)",label:" "},{color:"hsl(6, 78%, 74%)",label:" "},{color:"hsl(6, 78%, 66%)",label:" "},{color:"hsl(6, 78%, 57%)",label:" "},{color:"hsl(6, 59%, 50%)",label:" "},{color:"hsl(6, 59%, 43%)",label:" "},{color:"hsl(6, 59%, 37%)",label:" "},{color:"hsl(6, 59%, 30%)",label:" "},{color:"hsl(283, 39%, 95%)",label:" "},{color:"hsl(283, 39%, 91%)",label:" "},{color:"hsl(283, 39%, 81%)",label:" "},{color:"hsl(283, 39%, 72%)",label:" "},{color:"hsl(283, 39%, 63%)",label:" "},{color:"hsl(283, 39%, 53%)",label:" "},{color:"hsl(283, 34%, 47%)",label:" "},{color:"hsl(283, 34%, 40%)",label:" "},{color:"hsl(283, 34%, 34%)",label:" "},{color:"hsl(283, 34%, 28%)",label:" "},{color:"hsl(282, 39%, 95%)",label:" "},{color:"hsl(282, 39%, 89%)",label:" "},{color:"hsl(282, 39%, 79%)",label:" "},{color:"hsl(282, 39%, 68%)",label:" "},{color:"hsl(282, 39%, 58%)",label:" "},{color:"hsl(282, 44%, 47%)",label:" "},{color:"hsl(282, 44%, 42%)",label:" "},{color:"hsl(282, 44%, 36%)",label:" "},{color:"hsl(282, 44%, 30%)",label:" "},{color:"hsl(282, 44%, 25%)",label:" "},{color:"hsl(204, 51%, 94%)",label:" "},{color:"hsl(204, 51%, 89%)",label:" "},{color:"hsl(204, 51%, 78%)",label:" "},{color:"hsl(204, 51%, 67%)",label:" "},{color:"hsl(204, 51%, 55%)",label:" "},{color:"hsl(204, 64%, 44%)",label:" "},{color:"hsl(204, 64%, 39%)",label:" "},{color:"hsl(204, 64%, 34%)",label:" "},{color:"hsl(204, 64%, 28%)",label:" "},{color:"hsl(204, 64%, 23%)",label:" "},{color:"hsl(204, 70%, 95%)",label:" "},{color:"hsl(204, 70%, 91%)",label:" "},{color:"hsl(204, 70%, 81%)",label:" "},{color:"hsl(204, 70%, 72%)",label:" "},{color:"hsl(204, 70%, 63%)",label:" "},{color:"hsl(204, 70%, 53%)",label:" "},{color:"hsl(204, 62%, 47%)",label:" "},{color:"hsl(204, 62%, 40%)",label:" "},{color:"hsl(204, 62%, 34%)",label:" "},{color:"hsl(204, 62%, 28%)",label:" "},{color:"hsl(168, 55%, 94%)",label:" "},{color:"hsl(168, 55%, 88%)",label:" "},{color:"hsl(168, 55%, 77%)",label:" "},{color:"hsl(168, 55%, 65%)",label:" "},{color:"hsl(168, 55%, 54%)",label:" "},{color:"hsl(168, 76%, 42%)",label:" "},{color:"hsl(168, 76%, 37%)",label:" "},{color:"hsl(168, 76%, 32%)",label:" "},{color:"hsl(168, 76%, 27%)",label:" "},{color:"hsl(168, 76%, 22%)",label:" "},{color:"hsl(168, 42%, 94%)",label:" "},{color:"hsl(168, 42%, 87%)",label:" "},{color:"hsl(168, 42%, 74%)",label:" "},{color:"hsl(168, 42%, 61%)",label:" "},{color:"hsl(168, 45%, 49%)",label:" "},{color:"hsl(168, 76%, 36%)",label:" "},{color:"hsl(168, 76%, 31%)",label:" "},{color:"hsl(168, 76%, 27%)",label:" "},{color:"hsl(168, 76%, 23%)",label:" "},{color:"hsl(168, 76%, 19%)",label:" "},{color:"hsl(145, 45%, 94%)",label:" "},{color:"hsl(145, 45%, 88%)",label:" "},{color:"hsl(145, 45%, 77%)",label:" "},{color:"hsl(145, 45%, 65%)",label:" "},{color:"hsl(145, 45%, 53%)",label:" "},{color:"hsl(145, 63%, 42%)",label:" "},{color:"hsl(145, 63%, 37%)",label:" "},{color:"hsl(145, 63%, 32%)",label:" "},{color:"hsl(145, 63%, 27%)",label:" "},{color:"hsl(145, 63%, 22%)",label:" "},{color:"hsl(145, 61%, 95%)",label:" "},{color:"hsl(145, 61%, 90%)",label:" "},{color:"hsl(145, 61%, 80%)",label:" "},{color:"hsl(145, 61%, 69%)",label:" "},{color:"hsl(145, 61%, 59%)",label:" "},{color:"hsl(145, 63%, 49%)",label:" "},{color:"hsl(145, 63%, 43%)",label:" "},{color:"hsl(145, 63%, 37%)",label:" "},{color:"hsl(145, 63%, 31%)",label:" "},{color:"hsl(145, 63%, 25%)",label:" "},{color:"hsl(48, 89%, 95%)",label:" "},{color:"hsl(48, 89%, 90%)",label:" "},{color:"hsl(48, 89%, 80%)",label:" "},{color:"hsl(48, 89%, 70%)",label:" "},{color:"hsl(48, 89%, 60%)",label:" "},{color:"hsl(48, 89%, 50%)",label:" "},{color:"hsl(48, 88%, 44%)",label:" "},{color:"hsl(48, 88%, 38%)",label:" "},{color:"hsl(48, 88%, 32%)",label:" "},{color:"hsl(48, 88%, 26%)",label:" "},{color:"hsl(37, 90%, 95%)",label:" "},{color:"hsl(37, 90%, 90%)",label:" "},{color:"hsl(37, 90%, 80%)",label:" "},{color:"hsl(37, 90%, 71%)",label:" "},{color:"hsl(37, 90%, 61%)",label:" "},{color:"hsl(37, 90%, 51%)",label:" "},{color:"hsl(37, 86%, 45%)",label:" "},{color:"hsl(37, 86%, 39%)",label:" "},{color:"hsl(37, 86%, 33%)",label:" "},{color:"hsl(37, 86%, 27%)",label:" "},{color:"hsl(28, 80%, 95%)",label:" "},{color:"hsl(28, 80%, 90%)",label:" "},{color:"hsl(28, 80%, 81%)",label:" "},{color:"hsl(28, 80%, 71%)",label:" "},{color:"hsl(28, 80%, 61%)",label:" "},{color:"hsl(28, 80%, 52%)",label:" "},{color:"hsl(28, 74%, 46%)",label:" "},{color:"hsl(28, 74%, 39%)",label:" "},{color:"hsl(28, 74%, 33%)",label:" "},{color:"hsl(28, 74%, 27%)",label:" "},{color:"hsl(24, 71%, 94%)",label:" "},{color:"hsl(24, 71%, 88%)",label:" "},{color:"hsl(24, 71%, 77%)",label:" "},{color:"hsl(24, 71%, 65%)",label:" "},{color:"hsl(24, 71%, 53%)",label:" "},{color:"hsl(24, 100%, 41%)",label:" "},{color:"hsl(24, 100%, 36%)",label:" "},{color:"hsl(24, 100%, 31%)",label:" "},{color:"hsl(24, 100%, 26%)",label:" "},{color:"hsl(24, 100%, 22%)",label:" "},{color:"hsl(192, 15%, 99%)",label:" "},{color:"hsl(192, 15%, 99%)",label:" "},{color:"hsl(192, 15%, 97%)",label:" "},{color:"hsl(192, 15%, 96%)",label:" "},{color:"hsl(192, 15%, 95%)",label:" "},{color:"hsl(192, 15%, 94%)",label:" "},{color:"hsl(192, 5%, 82%)",label:" "},{color:"hsl(192, 3%, 71%)",label:" "},{color:"hsl(192, 2%, 60%)",label:" "},{color:"hsl(192, 1%, 49%)",label:" "},{color:"hsl(204, 8%, 98%)",label:" "},{color:"hsl(204, 8%, 95%)",label:" "},{color:"hsl(204, 8%, 90%)",label:" "},{color:"hsl(204, 8%, 86%)",label:" "},{color:"hsl(204, 8%, 81%)",label:" "},{color:"hsl(204, 8%, 76%)",label:" "},{color:"hsl(204, 5%, 67%)",label:" "},{color:"hsl(204, 4%, 58%)",label:" "},{color:"hsl(204, 3%, 49%)",label:" "},{color:"hsl(204, 3%, 40%)",label:" "},{color:"hsl(184, 9%, 96%)",label:" "},{color:"hsl(184, 9%, 92%)",label:" "},{color:"hsl(184, 9%, 85%)",label:" "},{color:"hsl(184, 9%, 77%)",label:" "},{color:"hsl(184, 9%, 69%)",label:" "},{color:"hsl(184, 9%, 62%)",label:" "},{color:"hsl(184, 6%, 54%)",label:" "},{color:"hsl(184, 5%, 47%)",label:" "},{color:"hsl(184, 5%, 40%)",label:" "},{color:"hsl(184, 5%, 32%)",label:" "},{color:"hsl(184, 6%, 95%)",label:" "},{color:"hsl(184, 6%, 91%)",label:" "},{color:"hsl(184, 6%, 81%)",label:" "},{color:"hsl(184, 6%, 72%)",label:" "},{color:"hsl(184, 6%, 62%)",label:" "},{color:"hsl(184, 6%, 53%)",label:" "},{color:"hsl(184, 5%, 46%)",label:" "},{color:"hsl(184, 5%, 40%)",label:" "},{color:"hsl(184, 5%, 34%)",label:" "},{color:"hsl(184, 5%, 27%)",label:" "},{color:"hsl(210, 12%, 93%)",label:" "},{color:"hsl(210, 12%, 86%)",label:" "},{color:"hsl(210, 12%, 71%)",label:" "},{color:"hsl(210, 12%, 57%)",label:" "},{color:"hsl(210, 15%, 43%)",label:" "},{color:"hsl(210, 29%, 29%)",label:" "},{color:"hsl(210, 29%, 25%)",label:" "},{color:"hsl(210, 29%, 22%)",label:" "},{color:"hsl(210, 29%, 18%)",label:" "},{color:"hsl(210, 29%, 15%)",label:" "},{color:"hsl(210, 9%, 92%)",label:" "},{color:"hsl(210, 9%, 85%)",label:" "},{color:"hsl(210, 9%, 70%)",label:" "},{color:"hsl(210, 9%, 55%)",label:" "},{color:"hsl(210, 14%, 39%)",label:" "},{color:"hsl(210, 29%, 24%)",label:" "},{color:"hsl(210, 29%, 21%)",label:" "},{color:"hsl(210, 29%, 18%)",label:" "},{color:"hsl(210, 29%, 16%)",label:" "},{color:"hsl(210, 29%, 13%)",label:" "}]}};const N=E;var I,Y=r(91411),B=r(58804),F=r(56822),z=B.ZP.div.withConfig({displayName:"StyledHtmlEditor"})(I||(I=(0,Y.Z)(["\n && {\n .ck-editor {\n --ck-border-radius: 0.27rem;\n ","\n\n .ck.ck-list__item .ck-button.ck-fontsize-option .ck-button__label {\n line-height: 1;\n }\n\n .ck-editor__editable {\n min-height: 100px;\n }\n }\n }\n"])),(function(e){return(0,F.L)(e,"ckeditor")})),G=r(85893);function Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var A=function(e){switch(e){case"fr-CH":return"fr";case"it-CH":return"it";case"en-US":return"en";case"fr":case"en":case"it":case"de":return e;default:return"de"}},W=function(e){var t=e.value,r=e.onChange,n=e.contentLang,i=e.ckEditorConfig,c=(0,l.Z)().locale,s=(0,o.useRef)(!1);return(0,G.jsx)(z,{children:(0,G.jsx)(a.CKEditor,{editor:N,config:$({language:{ui:A(c),content:n}},i),data:t,onChange:function(e,t){if(t.plugins.get("SourceEditing").isSourceEditingMode){if(!0===s.current)return;s.current=!0}var n=t.getData();r(n)}})})};W.defaultProps={value:"",contentLang:"de"};const V=W},59178:(e,t,r)=>{r.r(t),r.d(t,{Icon:()=>M,default:()=>U});var n,a=r(46927),o=r(46444),l=r.n(o),i=r(78947),c=r(99245),s=r(68019),u=r(70457),f=r(30963),d=r(27361),h=r.n(d),b=r(91411),p=r(58804).ZP.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(n||(n=(0,b.Z)([""]))),g=r(85893);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}i.library.add(s.C65,s.kJo,s._tD,s.A35,s.mTx,s.ptq,s.g4A,s.r8p,s.Pk,s.g9M,s.Tab,u.Tab,s.NBC,s.eFW,s.acZ,s.u2A,s.gMD,s.cwv,s.w49,s.fUD,s.icc,s.ca9,s.Vmj,s.gSj,s.WFE,s.hQn,s.LEp,s.WV2,s.FU$,s.diR,s.f8k,c.xYR,c.neY,c.AYu,c.kBj,c.hVS,c.dc_,c.Av$,s.xiG,s.gJF,s.j1w,s.WKO,s.wn1,s.b7W,s.YHc,s.ZC5,s.UO1,u.Fyj,s.Qj4,s.FL8,s.foy,s.u9C,s.Fuz,s.iV1,s.Kl4,s.nYk,s.sqG,s.RLE,s.$aW,s.Zrf,s.jMV,s.pL1,s.g6h,s.SJY,s.qmU,s.nek,s.Qy6,s.lH_,u.pL1,s.hVM,s.yOf,s.Xgz,s.Mzg,s.r6l,s.IwR,u.Alc,s.dLO,s.ntl,s.Hw7,s.FYs,s.$36,s.fT7,s.ioP,s.Cw9,s.Ry6,s.C3l,s.a1i,s.jGC,s.IeV,s.A8,s.hG5,s.FVb,s.AxY,s.mAj,s.hGM,s.UkD,s.BDt,s.QzV,s.py1,s.cf$,s.byT,s.dT$,s.G_j,s.A4,s.ar8,s.nNP,s.yGT);var v=function(e){var t=e.icon,r=e.style,n=e.hasFixedWidth,a=t.includes(",")?t.replace(/\s+/,"").split(","):t,o=w({},h()(r,"color")&&{color:r.color});return(0,g.jsx)(p,{children:(0,g.jsx)(f.G,w(w({icon:a,style:r},o),{},{fixedWidth:n}))})};v.defaultProps={hasFixedWidth:!0};const y=v,k=JSON.parse('{"abacus":{"id":"fal, abacus","lib":"fa"},"address-card":{"id":"fal, address-card","lib":"fa"},"apple":{"id":"fab, apple","lib":"fa","tags":["sso"]},"arrow-left":{"id":"fal, arrow-left","lib":"fa","tags":["navigate"]},"arrow-right":{"id":"fal, arrow-right","lib":"fa","tags":["navigate"]},"arrow-to-bottom":{"id":"fal, arrow-to-bottom","lib":"fa","tags":["download"]},"arrow-to-top":{"id":"fal, arrow-to-top","lib":"fa","tags":["upload"]},"arrow-up-long":{"id":"fal, arrow-up-long","lib":"fa","tags":["arrow-up-long"]},"ballot-check":{"id":"fal, ballot-check","lib":"fa"},"barcode-alt":{"id":"fal, barcode-alt","lib":"fa"},"bars":{"id":"fal, bars","lib":"fa","tags":["burger"]},"bell":{"id":"fal, bell","lib":"fa","tags":["notification"]},"bolt":{"id":"fal, bolt-lightning","lib":"fa"},"bolt-lightning":{"id":"fal, bolt-lightning","lib":"fa"},"book":{"id":"fal, book","lib":"fa"},"box":{"id":"fal, box","lib":"fa"},"box-open":{"id":"fal, box-open","lib":"fa"},"calendar":{"id":"fal, calendar","lib":"fa"},"calendar-arrow-down":{"id":"fal, calendar-arrow-down","lib":"fa"},"calendar-circle-user":{"id":"fal, calendar-circle-user","lib":"fa"},"calendar-check":{"id":"fal, calendar-check","lib":"fa"},"calendar-minus":{"id":"fal, calendar-minus","lib":"fa"},"calendar-plus":{"id":"fal, calendar-plus","lib":"fa"},"chalkboard-teacher":{"id":"fal, chalkboard-teacher","lib":"fa"},"chart-network":{"id":"fal, chart-network","lib":"fa"},"check":{"id":"fal, check","lib":"fa","tags":["ok"]},"check-circle":{"id":"fal, check-circle","lib":"fa","tags":["check"]},"chevron-double-down":{"id":"fal, chevron-double-down","lib":"fa"},"chevron-double-left":{"id":"fal, chevron-double-left","lib":"fa"},"chevron-double-right":{"id":"fal, chevron-double-right","lib":"fa"},"chevron-double-up":{"id":"fal, chevron-double-up","lib":"fa"},"chevron-down":{"id":"fal, chevron-down","lib":"fa"},"chevron-left":{"id":"fal, chevron-left","lib":"fa"},"chevron-right":{"id":"fal, chevron-right","lib":"fa"},"chevron-up":{"id":"fal, chevron-up","lib":"fa"},"circle":{"id":"fal, circle","lib":"fa","tags":["selection"]},"code":{"id":"fal, code","lib":"fa"},"cog":{"id":"fal, cog","lib":"fa"},"compress":{"id":"fal, compress","lib":"fa"},"comment":{"id":"fal, comment","lib":"fa"},"cube":{"id":"fal, cube","lib":"fa"},"dropbox":{"id":"fab, dropbox","lib":"fa","tags":["sso"]},"ellipsis-v":{"id":"fal, ellipsis-v","lib":"fa","tags":["dots","pünktli"]},"envelope":{"id":"fal, envelope","lib":"fa"},"exclamation":{"id":"fal, exclamation","lib":"fa","tags":["warning"]},"exclamation-circle":{"id":"fal, exclamation-circle","lib":"fa","tags":["warning"]},"external-link":{"id":"fal, external-link","lib":"fa","tags":["external-link"]},"facebook":{"id":"fab, facebook","lib":"fa","tags":["sso"]},"facebook-f":{"id":"fab, facebook-f","lib":"fa","tags":["sso"]},"file":{"id":"fal, file","lib":"fa"},"file-alt":{"id":"fal, file-alt","lib":"fa"},"file-code":{"id":"fal, file-code","lib":"fa"},"file-csv":{"id":"fal, file-csv","lib":"fa"},"file-excel":{"id":"fal, file-excel","lib":"fa"},"file-export":{"id":"fal, file-export","lib":"fa"},"file-import":{"id":"fal, file-import","lib":"fa"},"file-pdf":{"id":"fal, file-pdf","lib":"fa"},"file-spreadsheet":{"id":"fal, file-spreadsheet","lib":"fa"},"filter":{"id":"fal, filter","lib":"fa"},"folder":{"id":"fal, folder","lib":"fa"},"folders":{"id":"fal, folders","lib":"fa","tags":["copy"]},"globe":{"id":"fal, globe","lib":"fa"},"google":{"id":"fab, google","lib":"fa","tags":["sso"]},"horizontal-rule":{"id":"fal, horizontal-rule","lib":"fa"},"id-badge":{"id":"fal, id-badge","lib":"fa"},"info":{"id":"fal, info","lib":"fa"},"laptop-code":{"id":"fal, laptop-code","lib":"fa"},"link":{"id":"fal, link","lib":"fa"},"list":{"id":"fal, list","lib":"fa"},"list-check":{"id":"fal, list-check","lib":"fa"},"lock":{"id":"fal, lock","lib":"fa"},"info-circle":{"id":"fal, info-circle","lib":"fa","tags":["info"]},"mail-bulk":{"id":"fal, mail-bulk","lib":"fa"},"map-marked":{"id":"fal, map-marked","lib":"fa"},"merge":{"id":"fal, merge","lib":"fa"},"microsoft":{"id":"fab, microsoft","lib":"fa","tags":["sso"]},"minus":{"id":"fal, minus","lib":"fa"},"newspaper":{"id":"fal, newspaper","lib":"fa"},"office":{"id":"office","lib":"toc"},"paper-clip":{"id":"fa, paper-clip","lib":"fa"},"pen":{"id":"fal, pen","lib":"fa"},"percent":{"id":"fal, percent","lib":"fa"},"phone":{"id":"fal, phone","lib":"fa"},"phone-laptop":{"id":"fal, phone-laptop","lib":"fa"},"plus":{"id":"fal, plus","lib":"fa","tags":["new"]},"question-circle":{"id":"fal, question-circle","lib":"fa","tags":["help"]},"save":{"id":"fal, save","lib":"fa"},"search":{"id":"fal, search","lib":"fa"},"sitemap":{"id":"fal, sitemap","lib":"fa"},"sort-down":{"id":"fal, sort-down","lib":"fa"},"sort-up":{"id":"fal, sort-up","lib":"fa"},"square":{"id":"fal, square","lib":"fa"},"square-full":{"id":"fas, square-full","lib":"fa"},"square-minus":{"id":"fal, square-minus","lib":"fa"},"square-plus":{"id":"fal, square-plus","lib":"fa"},"star":{"id":"fal, star","lib":"fa","tags":["favorite"]},"star-full":{"id":"fas, star","lib":"fa","tags":["favorite"]},"sync":{"id":"fal, sync","lib":"fa","tags":["refresh"]},"tasks":{"id":"fal, tasks","lib":"fa"},"times":{"id":"fal, times","lib":"fa","tags":["delete","close"]},"times-circle":{"id":"fal, times-circle","lib":"fa","tags":["error"]},"tocco":{"id":"logo","lib":"toc"},"trash":{"id":"fal, trash","lib":"fa","tags":["trash"]},"upload":{"id":"fal, upload","lib":"fa"},"users":{"id":"fal, users","lib":"fa"},"lightbulb-exclamation":{"id":"fal, lightbulb-exclamation","lib":"fa"},"house-blank":{"id":"fal, house-blank","lib":"fa"}}');var x,T;function Z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var O={logo:function(e){return(0,g.jsx)("svg",C(C({height:h()(e,"fontSize",20)},e),{},{"aria-hidden":"true",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:x||(x=(0,g.jsx)("path",{fill:"currentColor",d:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 \n 8zm80 248c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80z"}))}))},office:function(e){return(0,g.jsx)("svg",C(C({height:h()(e,"fontSize",20)},e),{},{"aria-hidden":"true",role:"img",enableBackground:"new 0 0 2075 2499.8",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2075 2499.8",children:T||(T=(0,g.jsx)("path",{fill:"currentColor",d:"m0 2016.6v-1519.8l1344.4-496.8 730.6 233.7v2045.9l-730.6 220.3-1344.4-483.3 1344.4 \n 161.8v-1769.2l-876.8 204.6v1198.3z"}))}))}},D=function(e){var t=e.icon,r=e.style;return O[t](r)};D.propTypes={icon:l().string.isRequired,style:l().object};const _=D;function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var q={fa:function(e,t){return(0,g.jsx)(y,P(P({},t),{},{icon:e.id}))},toc:function(e,t){return(0,g.jsx)(_,P(P({},t),{},{icon:e.id}))}},M=function(e){var t=k[e.icon];if(!t)return null;var r=q[t.lib];return r?r(t,e):null};M.propTypes={icon:l().string.isRequired,style:l().objectOf(l().string)};const U=M},81251:(e,t,r)=>{r.r(t),r.d(t,{default:()=>s});var n=r(46927),a=r(70457),o=r(30963),l=r(85893);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const s=function(e){var t=e.size,r=e.style;return(0,l.jsx)(o.G,c(c({},r),{},{style:{fontSize:t},spin:!0,icon:a.IJ7}))}},87486:(e,t,r)=>{r.r(t),r.d(t,{default:()=>l});var n=r(96982),a=r(67435),o=r(50946);function l(e,t){(0,o.Z)(2,arguments);var r=(0,a.default)(e),l=(0,n.Z)(t);return isNaN(l)?new Date(NaN):l?(r.setDate(r.getDate()+l),r):r}},81084:(e,t,r)=>{r.r(t),r.d(t,{default:()=>oe});var n=r(75295),a=r(88280),o=r(67435);function l(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in t=t||{})Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}var i=r(48510),c=r(80381),s=r(63831),u=r(96982),f=r(61858),d=r(50946);function h(e,t,r){(0,d.Z)(2,arguments);var n=r||{},a=n.locale,l=a&&a.options&&a.options.weekStartsOn,i=null==l?0:(0,u.Z)(l),c=null==n.weekStartsOn?i:(0,u.Z)(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=(0,o.default)(e),f=(0,u.Z)(t),h=s.getUTCDay(),b=f%7,p=(b+7)%7,g=(p<c?7:0)+f-h;return s.setUTCDate(s.getUTCDate()+g),s}var b=r(83979);var p=r(18242);var g=r(51991),m=r(44706),w=/^(1[0-2]|0?\d)/,v=/^(3[0-1]|[0-2]?\d)/,y=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,k=/^(5[0-3]|[0-4]?\d)/,x=/^(2[0-3]|[0-1]?\d)/,T=/^(2[0-4]|[0-1]?\d)/,Z=/^(1[0-1]|0?\d)/,C=/^(1[0-2]|0?\d)/,O=/^[0-5]?\d/,D=/^[0-5]?\d/,_=/^\d/,j=/^\d{1,2}/,P=/^\d{1,3}/,q=/^\d{1,4}/,M=/^-?\d+/,U=/^-?\d/,R=/^-?\d{1,2}/,S=/^-?\d{1,3}/,H=/^-?\d{1,4}/,L=/^([+-])(\d{2})(\d{2})?|Z/,E=/^([+-])(\d{2})(\d{2})|Z/,N=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,I=/^([+-])(\d{2}):(\d{2})|Z/,Y=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function B(e,t,r){var n=t.match(e);if(!n)return null;var a=parseInt(n[0],10);return{value:r?r(a):a,rest:t.slice(n[0].length)}}function F(e,t){var r=t.match(e);return r?"Z"===r[0]?{value:0,rest:t.slice(1)}:{value:("+"===r[1]?1:-1)*(36e5*(r[2]?parseInt(r[2],10):0)+6e4*(r[3]?parseInt(r[3],10):0)+1e3*(r[5]?parseInt(r[5],10):0)),rest:t.slice(r[0].length)}:null}function z(e,t){return B(M,e,t)}function G(e,t,r){switch(e){case 1:return B(_,t,r);case 2:return B(j,t,r);case 3:return B(P,t,r);case 4:return B(q,t,r);default:return B(new RegExp("^\\d{1,"+e+"}"),t,r)}}function Q(e,t,r){switch(e){case 1:return B(U,t,r);case 2:return B(R,t,r);case 3:return B(S,t,r);case 4:return B(H,t,r);default:return B(new RegExp("^-?\\d{1,"+e+"}"),t,r)}}function $(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function A(e,t){var r,n=t>0,a=n?t:1-t;if(a<=50)r=e||100;else{var o=a+50;r=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return n?r:1-r}var W=[31,28,31,30,31,30,31,31,30,31,30,31],V=[31,29,31,30,31,30,31,31,30,31,30,31];function K(e){return e%400==0||e%4==0&&e%100!=0}const X={G:{priority:140,parse:function(e,t,r,n){switch(t){case"G":case"GG":case"GGG":return r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"});case"GGGGG":return r.era(e,{width:"narrow"});default:return r.era(e,{width:"wide"})||r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"})}},set:function(e,t,r,n){return t.era=r,e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,r,n){var a=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return G(4,e,a);case"yo":return r.ordinalNumber(e,{unit:"year",valueCallback:a});default:return G(t.length,e,a)}},validate:function(e,t,r){return t.isTwoDigitYear||t.year>0},set:function(e,t,r,n){var a=e.getUTCFullYear();if(r.isTwoDigitYear){var o=A(r.year,a);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var l="era"in t&&1!==t.era?1-r.year:r.year;return e.setUTCFullYear(l,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,r,n){var a=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return G(4,e,a);case"Yo":return r.ordinalNumber(e,{unit:"year",valueCallback:a});default:return G(t.length,e,a)}},validate:function(e,t,r){return t.isTwoDigitYear||t.year>0},set:function(e,t,r,n){var a=(0,f.Z)(e,n);if(r.isTwoDigitYear){var o=A(r.year,a);return e.setUTCFullYear(o,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,m.Z)(e,n)}var l="era"in t&&1!==t.era?1-r.year:r.year;return e.setUTCFullYear(l,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,m.Z)(e,n)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,r,n){return Q("R"===t?4:t.length,e)},set:function(e,t,r,n){var a=new Date(0);return a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0),(0,g.Z)(a)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,r,n){return Q("u"===t?4:t.length,e)},set:function(e,t,r,n){return e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,r,n){switch(t){case"Q":case"QQ":return G(t.length,e);case"Qo":return r.ordinalNumber(e,{unit:"quarter"});case"QQQ":return r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(e,{width:"narrow",context:"formatting"});default:return r.quarter(e,{width:"wide",context:"formatting"})||r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,r){return t>=1&&t<=4},set:function(e,t,r,n){return e.setUTCMonth(3*(r-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,r,n){switch(t){case"q":case"qq":return G(t.length,e);case"qo":return r.ordinalNumber(e,{unit:"quarter"});case"qqq":return r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(e,{width:"narrow",context:"standalone"});default:return r.quarter(e,{width:"wide",context:"standalone"})||r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,r){return t>=1&&t<=4},set:function(e,t,r,n){return e.setUTCMonth(3*(r-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,r,n){var a=function(e){return e-1};switch(t){case"M":return B(w,e,a);case"MM":return G(2,e,a);case"Mo":return r.ordinalNumber(e,{unit:"month",valueCallback:a});case"MMM":return r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(e,{width:"narrow",context:"formatting"});default:return r.month(e,{width:"wide",context:"formatting"})||r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,r,n){var a=function(e){return e-1};switch(t){case"L":return B(w,e,a);case"LL":return G(2,e,a);case"Lo":return r.ordinalNumber(e,{unit:"month",valueCallback:a});case"LLL":return r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(e,{width:"narrow",context:"standalone"});default:return r.month(e,{width:"wide",context:"standalone"})||r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,r,n){switch(t){case"w":return B(k,e);case"wo":return r.ordinalNumber(e,{unit:"week"});default:return G(t.length,e)}},validate:function(e,t,r){return t>=1&&t<=53},set:function(e,t,r,n){return(0,m.Z)(function(e,t,r){(0,d.Z)(2,arguments);var n=(0,o.default)(e),a=(0,u.Z)(t),l=(0,p.Z)(n,r)-a;return n.setUTCDate(n.getUTCDate()-7*l),n}(e,r,n),n)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,r,n){switch(t){case"I":return B(k,e);case"Io":return r.ordinalNumber(e,{unit:"week"});default:return G(t.length,e)}},validate:function(e,t,r){return t>=1&&t<=53},set:function(e,t,r,n){return(0,g.Z)(function(e,t){(0,d.Z)(2,arguments);var r=(0,o.default)(e),n=(0,u.Z)(t),a=(0,b.Z)(r)-n;return r.setUTCDate(r.getUTCDate()-7*a),r}(e,r,n),n)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(e,t,r,n){switch(t){case"d":return B(v,e);case"do":return r.ordinalNumber(e,{unit:"date"});default:return G(t.length,e)}},validate:function(e,t,r){var n=K(e.getUTCFullYear()),a=e.getUTCMonth();return n?t>=1&&t<=V[a]:t>=1&&t<=W[a]},set:function(e,t,r,n){return e.setUTCDate(r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(e,t,r,n){switch(t){case"D":case"DD":return B(y,e);case"Do":return r.ordinalNumber(e,{unit:"date"});default:return G(t.length,e)}},validate:function(e,t,r){return K(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,r,n){return e.setUTCMonth(0,r),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,r,n){switch(t){case"E":case"EE":case"EEE":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return(e=h(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,r,n){var a=function(e){var t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return G(t.length,e,a);case"eo":return r.ordinalNumber(e,{unit:"day",valueCallback:a});case"eee":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeeee":return r.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return(e=h(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,r,n){var a=function(e){var t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return G(t.length,e,a);case"co":return r.ordinalNumber(e,{unit:"day",valueCallback:a});case"ccc":return r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"ccccc":return r.day(e,{width:"narrow",context:"standalone"});case"cccccc":return r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});default:return r.day(e,{width:"wide",context:"standalone"})||r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,r){return t>=0&&t<=6},set:function(e,t,r,n){return(e=h(e,r,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,r,n){var a=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return G(t.length,e);case"io":return r.ordinalNumber(e,{unit:"day"});case"iii":return r.day(e,{width:"abbreviated",context:"formatting",valueCallback:a})||r.day(e,{width:"short",context:"formatting",valueCallback:a})||r.day(e,{width:"narrow",context:"formatting",valueCallback:a});case"iiiii":return r.day(e,{width:"narrow",context:"formatting",valueCallback:a});case"iiiiii":return r.day(e,{width:"short",context:"formatting",valueCallback:a})||r.day(e,{width:"narrow",context:"formatting",valueCallback:a});default:return r.day(e,{width:"wide",context:"formatting",valueCallback:a})||r.day(e,{width:"abbreviated",context:"formatting",valueCallback:a})||r.day(e,{width:"short",context:"formatting",valueCallback:a})||r.day(e,{width:"narrow",context:"formatting",valueCallback:a})}},validate:function(e,t,r){return t>=1&&t<=7},set:function(e,t,r,n){return e=function(e,t){(0,d.Z)(2,arguments);var r=(0,u.Z)(t);r%7==0&&(r-=7);var n=1,a=(0,o.default)(e),l=a.getUTCDay(),i=((r%7+7)%7<n?7:0)+r-l;return a.setUTCDate(a.getUTCDate()+i),a}(e,r,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(e,t,r,n){switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,r,n){return e.setUTCHours($(r),0,0,0),e},incompatibleTokens:["b","B","H","k","t","T"]},b:{priority:80,parse:function(e,t,r,n){switch(t){case"b":case"bb":case"bbb":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,r,n){return e.setUTCHours($(r),0,0,0),e},incompatibleTokens:["a","B","H","k","t","T"]},B:{priority:80,parse:function(e,t,r,n){switch(t){case"B":case"BB":case"BBB":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,r,n){return e.setUTCHours($(r),0,0,0),e},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(e,t,r,n){switch(t){case"h":return B(C,e);case"ho":return r.ordinalNumber(e,{unit:"hour"});default:return G(t.length,e)}},validate:function(e,t,r){return t>=1&&t<=12},set:function(e,t,r,n){var a=e.getUTCHours()>=12;return a&&r<12?e.setUTCHours(r+12,0,0,0):a||12!==r?e.setUTCHours(r,0,0,0):e.setUTCHours(0,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,r,n){switch(t){case"H":return B(x,e);case"Ho":return r.ordinalNumber(e,{unit:"hour"});default:return G(t.length,e)}},validate:function(e,t,r){return t>=0&&t<=23},set:function(e,t,r,n){return e.setUTCHours(r,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,r,n){switch(t){case"K":return B(Z,e);case"Ko":return r.ordinalNumber(e,{unit:"hour"});default:return G(t.length,e)}},validate:function(e,t,r){return t>=0&&t<=11},set:function(e,t,r,n){return e.getUTCHours()>=12&&r<12?e.setUTCHours(r+12,0,0,0):e.setUTCHours(r,0,0,0),e},incompatibleTokens:["h","H","k","t","T"]},k:{priority:70,parse:function(e,t,r,n){switch(t){case"k":return B(T,e);case"ko":return r.ordinalNumber(e,{unit:"hour"});default:return G(t.length,e)}},validate:function(e,t,r){return t>=1&&t<=24},set:function(e,t,r,n){var a=r<=24?r%24:r;return e.setUTCHours(a,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,r,n){switch(t){case"m":return B(O,e);case"mo":return r.ordinalNumber(e,{unit:"minute"});default:return G(t.length,e)}},validate:function(e,t,r){return t>=0&&t<=59},set:function(e,t,r,n){return e.setUTCMinutes(r,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,r,n){switch(t){case"s":return B(D,e);case"so":return r.ordinalNumber(e,{unit:"second"});default:return G(t.length,e)}},validate:function(e,t,r){return t>=0&&t<=59},set:function(e,t,r,n){return e.setUTCSeconds(r,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,r,n){return G(t.length,e,(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))},set:function(e,t,r,n){return e.setUTCMilliseconds(r),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,r,n){switch(t){case"X":return F(L,e);case"XX":return F(E,e);case"XXXX":return F(N,e);case"XXXXX":return F(Y,e);default:return F(I,e)}},set:function(e,t,r,n){return t.timestampIsSet?e:new Date(e.getTime()-r)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,r,n){switch(t){case"x":return F(L,e);case"xx":return F(E,e);case"xxxx":return F(N,e);case"xxxxx":return F(Y,e);default:return F(I,e)}},set:function(e,t,r,n){return t.timestampIsSet?e:new Date(e.getTime()-r)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,r,n){return z(e)},set:function(e,t,r,n){return[new Date(1e3*r),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,r,n){return z(e)},set:function(e,t,r,n){return[new Date(r),{timestampIsSet:!0}]},incompatibleTokens:"*"}};var J=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ee=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,te=/^'([^]*?)'?$/,re=/''/g,ne=/\S/,ae=/[a-zA-Z]/;function oe(e,t,r,f){(0,d.Z)(3,arguments);var h=String(e),b=String(t),p=f||{},g=p.locale||n.Z;if(!g.match)throw new RangeError("locale must contain match property");var m=g.options&&g.options.firstWeekContainsDate,w=null==m?1:(0,u.Z)(m),v=null==p.firstWeekContainsDate?w:(0,u.Z)(p.firstWeekContainsDate);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=g.options&&g.options.weekStartsOn,k=null==y?0:(0,u.Z)(y),x=null==p.weekStartsOn?k:(0,u.Z)(p.weekStartsOn);if(!(x>=0&&x<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===b)return""===h?(0,o.default)(r):new Date(NaN);var T,Z={firstWeekContainsDate:v,weekStartsOn:x,locale:g},C=[{priority:10,subPriority:-1,set:le,index:0}],O=b.match(ee).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,i.Z[t])(e,g.formatLong,Z):e})).join("").match(J),D=[];for(T=0;T<O.length;T++){var _=O[T];!p.useAdditionalWeekYearTokens&&(0,s.Do)(_)&&(0,s.qp)(_,b,e),!p.useAdditionalDayOfYearTokens&&(0,s.Iu)(_)&&(0,s.qp)(_,b,e);var j=_[0],P=X[j];if(P){var q=P.incompatibleTokens;if(Array.isArray(q)){for(var M=void 0,U=0;U<D.length;U++){var R=D[U].token;if(-1!==q.indexOf(R)||R===j){M=D[U];break}}if(M)throw new RangeError("The format string mustn't contain `".concat(M.fullToken,"` and `").concat(_,"` at the same time"))}else if("*"===P.incompatibleTokens&&D.length)throw new RangeError("The format string mustn't contain `".concat(_,"` and any other token at the same time"));D.push({token:j,fullToken:_});var S=P.parse(h,_,g.match,Z);if(!S)return new Date(NaN);C.push({priority:P.priority,subPriority:P.subPriority||0,set:P.set,validate:P.validate,value:S.value,index:C.length}),h=S.rest}else{if(j.match(ae))throw new RangeError("Format string contains an unescaped latin alphabet character `"+j+"`");if("''"===_?_="'":"'"===j&&(_=ie(_)),0!==h.indexOf(_))return new Date(NaN);h=h.slice(_.length)}}if(h.length>0&&ne.test(h))return new Date(NaN);var H=C.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,r){return r.indexOf(e)===t})).map((function(e){return C.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),L=(0,o.default)(r);if(isNaN(L))return new Date(NaN);var E=(0,a.Z)(L,(0,c.Z)(L)),N={};for(T=0;T<H.length;T++){var I=H[T];if(I.validate&&!I.validate(E,I.value,Z))return new Date(NaN);var Y=I.set(E,N,I.value,Z);Y[0]?(E=Y[0],l(N,Y[1])):E=Y}return E}function le(e,t){if(t.timestampIsSet)return e;var r=new Date(0);return r.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),r.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),r}function ie(e){return e.match(te)[1].replace(re,"'")}},75502:(e,t,r)=>{r.r(t),r.d(t,{default:()=>o});var n=r(67435),a=r(50946);function o(e){(0,a.Z)(1,arguments);var t=(0,n.default)(e);return t.setHours(0,0,0,0),t}}}]);
|