tocco-devcon 1.0.154 → 1.0.156

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
@@ -1,3 +1,15 @@
1
+ 1.0.156
2
+ - fix missaligned dropdown indicators within select
3
+ - add fetchAllEntities which handles paging by itself
4
+ - replace fetchEntities in selection
5
+ - replace custom paging in notifications
6
+ - replace fetchEntities in formData
7
+
8
+ 1.0.155
9
+ - improve readability of disabled multi value label text
10
+ - be able to tab through mulit-remote-selects
11
+ - navigate to next field with tab on select
12
+
1
13
  1.0.154
2
14
  - add global classname for all wrapping elements
3
15
 
@@ -1 +1 @@
1
- (self.webpackChunktocco_devcon=self.webpackChunktocco_devcon||[]).push([[85],{9404:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>sr});var r,o,l,a,i=t(56746),c=t(35202),s=t(34206),u=t(50558),f=t(48479),d=t(1024),h=t.n(d),p=t(59713),b=t.n(p),g=t(78295),m=t(70696),v=t(10535),y=t(85743),x=t(78958),w=t(319),k=t.n(w),j=t(28655),O=t.n(j),P=t(38205),S=t(37188),Z=t(24875),C=(r={},b()(r,x.Z.condition.BASE,"inherit"),b()(r,x.Z.condition.DANGER,Z.FS.color("signal.danger")),b()(r,x.Z.condition.SUCCESS,Z.FS.color("signal.success")),b()(r,x.Z.condition.WARNING,Z.FS.color("signal.warning")),b()(r,x.Z.condition.INFO,Z.FS.color("signal.info")),r),_=(0,P.ZP)(S.hc).withConfig({displayName:"StyledSignalList"})(o||(o=O()(["\n && {\n list-style-type: none;\n }\n"]))),R=P.ZP.span.withConfig({displayName:"StyledSignalListIcon"})(l||(l=O()(["\n position: absolute;\n left: -1.6rem;\n text-align: left;\n"]))),E=(0,P.ZP)(S.EF).withConfig({displayName:"StyledSignalListItem"})(a||(a=O()(["\n && {\n color: ",";\n position: relative;\n padding: 0;\n }\n"])),(function(e){return function(e){return C[e.condition]||"inherit"}(e)})),T=t(85893);const L=function(e){return(0,T.jsx)(_,{as:"ul",children:h().Children.map(e.children,(function(e){return h().cloneElement(e)}))})};var A,N,D=t(88162),M=(A={},b()(A,x.Z.condition.BASE,!1),b()(A,x.Z.condition.DANGER,"times"),b()(A,x.Z.condition.SUCCESS,"check"),b()(A,x.Z.condition.WARNING,"exclamation-triangle"),b()(A,x.Z.condition.INFO,"info"),A),F=function(e){var n=M[e.condition];return n?(0,T.jsx)(D.Z,{icon:n,position:x.Z.position.SOLE}):N||(N=(0,T.jsx)("i",{children:"•"}))},I=function(e){return(0,T.jsxs)(E,{condition:e.condition,children:[(0,T.jsx)(R,{children:F(e)}),e.label,h().Children.map(e.children,(function(e){return h().cloneElement(e)}))]})};I.defaultProps={condition:x.Z.condition.BASE};const q={List:L,Item:I};const H=function(e){if(!e.error)return null;var n=[];return Object.keys(e.error).forEach((function(t){n.push.apply(n,k()(e.error[t]))})),(0,T.jsx)(q.List,{children:n.map((function(e,n){return(0,T.jsx)(q.Item,{condition:"danger",label:e},n)}))})};var V=t(25039);function z(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function B(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?z(Object(t),!0).forEach((function(n){b()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):z(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const $=function(e){var n,t,r,o,l=e.children,a=e.description,i=e.dirty,c=e.isDisplay,s=e.error,u=e.hasValue,f=e.id,d=e.label,h=e.mandatory,p=e.mandatoryTitle,b=e.immutable,w=e.touched,k=e.signal,j=!b&&w&&s&&Object.keys(s).length>0,O="".concat(m.Z.adjustedHTMLString(d)).concat(h&&p?", ".concat(p):""),P=k||function(e,n,t,r){return n?x.Z.condition.DANGER:e?x.Z.condition.INFO:t&&!r?x.Z.condition.WARNING:void 0}(i,j,h,u),S={__html:"".concat(v.Z.sanitizeHtml(d)).concat(h?" *":"")},Z=!c&&!b&&{htmlFor:f},C=y.Z.getEmbedType(),_=["admin","legacy-admin"].includes(C);return(0,T.jsx)(g.Z,{children:function(e){var f=e.getRef;return(0,T.jsx)(V.T3,{children:(0,T.jsxs)(V.QZ,{ref:f,label:d,isAdmin:_,children:[d&&(0,T.jsx)(V.yr,B(B({},Z),{},{hasValue:u,dirty:i,title:O,immutable:b,isDisplay:c,signal:P,isAdmin:_,children:n||(n=(0,T.jsx)("span",{dangerouslySetInnerHTML:S}))})),(0,T.jsxs)(V.m9,{isAdmin:_,children:[t||(t=(0,T.jsx)(V.if,{hasValue:u,immutable:b,isDisplay:c,signal:P,children:l})),j&&(r||(r=(0,T.jsx)(V.gi,{children:(0,T.jsx)(H,{error:s})}))),a&&(o||(o=(0,T.jsx)(V.Mp,{children:a})))]})]})})}})};var U,G,W=t(54843),Y=t(65035),K=t(51032),J=P.ZP.input.withConfig({displayName:"StyledInput"})(U||(U=O()(["\n && {\n ","\n }\n"])),K.k9),Q=P.ZP.div.withConfig({displayName:"StyledInputWrapper"})(G||(G=O()(["\n && {\n ","\n }\n"])),K.yP);const X=function(e){var n=e.fragments,t=e.selectedFragments,r=e.disabled,o=e.setFragmentSelected;return(0,T.jsx)(T.Fragment,{children:n.map((function(e){return(0,T.jsxs)("div",{children:[(0,T.jsx)("input",{type:"checkbox",id:e.id,checked:t.includes(e.id),onChange:(n=e.id,function(e){o(n,e.target.checked)}),disabled:r}),(0,T.jsx)(s.ZP.Label,{for:e.id,children:e.label})]},e.id);var n}))})};const ee=function(e){var n=e.version,t=e.modules,r=e.selectedModules,o=e.fragments,l=e.selectedFragments,a=e.ignoreErrors,i=e.running,c=e.disabled,s=e.executeDbRefactoring,u=e.loadModules,f=e.loadFragments,h=e.setSelectedModules,p=e.setFragmentSelected,b=e.setVersion,g=e.setIgnoreErrors;(0,d.useEffect)((function(){0===t.length&&u(),0===o.length&&f()}),[]);return(0,T.jsxs)("form",{onSubmit:function(e){e.preventDefault(),s()},children:[(0,T.jsx)($,{label:"Modules (none selected => all)",hasValue:r.length>0,children:(0,T.jsx)(W.Z,{options:t,value:r,onChange:h,isMulti:!0,immutable:c})}),(0,T.jsx)($,{label:"Fragments",fixLabel:!0,children:(0,T.jsx)(X,{fragments:o,selectedFragments:l,disabled:c,setFragmentSelected:p})}),(0,T.jsx)($,{label:"Version",hasValue:n.length>0,children:(0,T.jsx)(Q,{children:(0,T.jsx)(J,{value:n,onChange:function(e){var n=e.target.value.replaceAll(/[^\d\\.]/g,"");b(n)},disabled:c})})}),(0,T.jsx)($,{label:"Ignore errors",fixLabel:!0,children:(0,T.jsx)("input",{type:"checkbox",checked:a,onChange:function(e){g(e.target.checked)},disabled:c})}),(0,T.jsx)(Y.Z,{type:"submit",label:"Execute",look:"raised",pending:i,disabled:c})]})};var ne={loadModules:f.H6,loadFragments:f.VL,setSelectedModules:f.pi,setFragmentSelected:f.LO,setVersion:f.xO,setIgnoreErrors:f.Pm,executeDbRefactoring:f.KK};const te=(0,u.connect)((function(e){var n=e.dbRefactoring,t=n.dbRefactoring,r=n.languageUpgrade;return{version:t.version,modules:t.modules,selectedModules:t.selectedModules,fragments:t.fragments,selectedFragments:t.selectedFragments,ignoreErrors:t.ignoreErrors,running:t.running,disabled:t.running||r.running}}),ne)(ee);const re=function(e){var n=e.language,t=e.running,r=e.disabled,o=e.executeLanguageUpgrade,l=e.setLanguage;return(0,T.jsxs)("form",{onSubmit:function(e){e.preventDefault(),o()},children:[(0,T.jsx)($,{label:"Language",hasValue:n.length>0,children:(0,T.jsx)(Q,{children:(0,T.jsx)(J,{value:n,onChange:function(e){l(e.target.value)},disabled:r})})}),(0,T.jsx)(Y.Z,{type:"submit",label:"Execute language upgrade",look:"raised",pending:t,disabled:r})]})};var oe={setLanguage:f.m0,executeLanguageUpgrade:f.b7};const le=(0,u.connect)((function(e){var n=e.dbRefactoring,t=n.dbRefactoring,r=n.languageUpgrade;return{language:r.language,running:r.running,disabled:r.running||t.running}}),oe)(re);var ae,ie,ce,se;const ue=function(){return(0,T.jsxs)(T.Fragment,{children:[ae||(ae=(0,T.jsx)(s.ZP.H1,{children:"Database Refactoring"})),ie||(ie=(0,T.jsx)(te,{})),ce||(ce=(0,T.jsx)(s.ZP.H1,{children:"Language Upgrade"})),se||(se=(0,T.jsx)(le,{}))]})};var fe,de,he,pe,be,ge,me,ve=t(63038),ye=t.n(ve),xe=t(30759),we={ERROR:"#a00"},ke=P.ZP.div.withConfig({displayName:"StyledLogTable"})(fe||(fe=O()(["\n display: grid;\n gap: 1px;\n"]))),je=P.ZP.div.withConfig({displayName:"StyledLogEntry"})(de||(de=O()(["\n display: grid;\n height: fit-content;\n grid-template-columns: repeat(3, 1fr);\n padding: 1em;\n ","\n"])),(function(e){return"border: 1px solid ".concat(we[e.level]||"#ddd",";")})),Oe=P.ZP.span.withConfig({displayName:"StyledMessage"})(he||(he=O()(["\n grid-column: 1 / 3;\n ","\n\n && {\n ","\n }\n"])),(function(e){return e.expandable&&"cursor: pointer;"}),(0,xe.Z)()),Pe=P.ZP.span.withConfig({displayName:"StyledTime"})(pe||(pe=O()(["\n grid-column-start: 3;\n text-align: right;\n\n && {\n ","\n }\n"])),(0,xe.Z)()),Se=P.ZP.div.withConfig({displayName:"StyledExceptionDetails"})(be||(be=O()(["\n margin-top: 1em;\n"]))),Ze=P.ZP.div.withConfig({displayName:"StyledDetailMessage"})(ge||(ge=O()(["\n margin-bottom: 1em;\n\n && {\n ","\n }\n"])),(0,xe.Z)()),Ce=P.ZP.div.withConfig({displayName:"StyledStackTrace"})(me||(me=O()(["\n && {\n ","\n }\n"])),(0,xe.Z)()),_e=function(e){return"".concat(e.declaringClass,".").concat(e.methodName,":").concat(e.lineNumber)};const Re=function(e){var n=e.exception;return(0,T.jsxs)(Se,{children:[(0,T.jsx)(Ze,{children:n.detailMessage}),(0,T.jsx)(Ce,{children:n.stackTrace.map((function(e,n){return(0,T.jsx)("div",{children:_e(e)},n)}))})]})};const Ee=function(e){var n=e.entry,t=(0,d.useState)(!1),r=ye()(t,2),o=r[0],l=r[1];return(0,T.jsxs)(je,{level:n.level,children:[(0,T.jsx)(Oe,{onClick:function(){n.exception&&l(!o)},expandable:!!n.exception,children:n.message}),(0,T.jsx)(Pe,{children:new Date(n.timestamp).toLocaleString()}),o&&(0,T.jsx)(Re,{exception:n.exception})]})};var Te;const Le=function(e){var n=e.entries;return(0,T.jsx)(ke,{children:n.length>0?n.map((function(e){return(0,T.jsx)(Ee,{entry:e},e.key)})):Te||(Te=(0,T.jsx)(s.ZP.Span,{children:"No entries so far."}))})};const Ae=(0,u.connect)((function(e){return{entries:e.log.entries}}),{})(Le);var Ne,De;const Me=function(){return(0,T.jsxs)(T.Fragment,{children:[Ne||(Ne=(0,T.jsx)(s.ZP.H1,{children:"Log"})),De||(De=(0,T.jsx)(Ae,{}))]})};var Fe,Ie,qe=t(49478),He=P.ZP.div.withConfig({displayName:"StyledCheckEventGroup"})(Fe||(Fe=O()(["\n margin: 1em 0;\n border: 1px solid #ddd;\n border-radius: 5px;\n padding: 1em;\n"]))),Ve=P.ZP.div.withConfig({displayName:"StyledGroupHeading"})(Ie||(Ie=O()(["\n margin-bottom: 1em;\n"])));function ze(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return Be(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Be(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,a=!0,i=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){i=!0,l=e},f:function(){try{a||null==t.return||t.return()}finally{if(i)throw l}}}}function Be(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}const $e=function(e){var n=e.type,t=e.events,r=e.selection,o=e.setSelected,l=function(e,n){var t,r=ze(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(!n.has(o.id))return!1}}catch(e){r.e(e)}finally{r.f()}return!0}(t,r);return(0,T.jsxs)(He,{children:[(0,T.jsxs)(Ve,{children:[(0,T.jsx)("input",{type:"checkbox",id:"checkbox-"+n,checked:l,onChange:function(e){o(t.map((function(e){return e.id})),e.target.checked)}}),(0,T.jsx)(s.ZP.Label,{for:"checkbox-"+n,children:(0,T.jsxs)(s.ZP.B,{children:[n," (",t.length,")"]})})]}),t.map((function(e){return(0,T.jsxs)("div",{children:[(0,T.jsx)("input",{type:"checkbox",id:"checkbox-"+e.id,checked:r.has(e.id),onChange:(n=e.id,function(e){o([n],e.target.checked)})}),(0,T.jsx)(s.ZP.Label,{for:"checkbox-"+e.id,children:e.label})]},e.id);var n}))]})};const Ue=function(e){var n=e.checkEvents,t=e.selection,r=e.setSelected,o=e.generateSql,l=e.generateChangelog;return(0,T.jsxs)("div",{children:[Object.keys(n).length>0&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(Y.Z,{look:"raised",onClick:o,disabled:0===t.size,children:["Generate SQL ",t.size>0&&"(".concat(t.size,")")]}),(0,T.jsxs)(Y.Z,{look:"raised",onClick:l,disabled:0===t.size,children:["Generate Changelog ",t.size>0&&"(".concat(t.size,")")]})]}),(0,T.jsx)("div",{children:Object.keys(n).sort().map((function(e){return(0,T.jsx)($e,{type:e,events:n[e],selection:t,setSelected:r},e)}))})]})};var Ge={setSelected:qe.Pq,generateSql:qe.$i,generateChangelog:qe._w};const We=(0,u.connect)((function(e){return{checkEvents:e.modelValidation.checkEvents,selection:e.modelValidation.selection}}),Ge)(Ue);var Ye,Ke,Je,Qe=P.ZP.div.withConfig({displayName:"StyledProgressBar"})(Ye||(Ye=O()(["\n width: 100%;\n border: 1px solid #ddd;\n height: 20px;\n position: relative;\n margin: 1em 0;\n"]))),Xe=P.ZP.div.withConfig({displayName:"StyledInnerProgress"})(Ke||(Ke=O()(["\n position: absolute;\n background-color: #ddd;\n height: 100%;\n width: ","%;\n"])),(function(e){return e.percentage})),en=P.ZP.div.withConfig({displayName:"StyledProgressText"})(Je||(Je=O()(["\n position: absolute;\n top: 0;\n width: 100%;\n text-align: center;\n\n && {\n ","\n }\n"])),(0,xe.Z)()),nn=function(e){return e.result?e.result:e.running?e.total?"".concat(tn(e),"%"):"Preparing...":"Not started"},tn=function(e){return e.running&&e.total?Math.round(e.currentIndex/e.total*100):0};const rn=function(e){var n=e.state;return(0,T.jsxs)(Qe,{children:[(0,T.jsx)(Xe,{percentage:tn(n)}),(0,T.jsx)(en,{children:nn(n)})]})};const on=function(e){var n=e.state,t=e.startValidation;return(0,T.jsxs)("div",{children:[(0,T.jsx)(Y.Z,{look:"raised",pending:n.running,disabled:n.running,onClick:t,children:"Execute"}),(0,T.jsx)(rn,{state:n})]})};var ln={startValidation:qe.YV};const an=(0,u.connect)((function(e){return{state:e.modelValidation.state}}),ln)(on);var cn,sn,un;const fn=function(){return(0,T.jsxs)(T.Fragment,{children:[cn||(cn=(0,T.jsx)(s.ZP.H1,{children:"Model Validation"})),sn||(sn=(0,T.jsx)(an,{})),un||(un=(0,T.jsx)(We,{}))]})};var dn=t(22541),hn=t(57557),pn=t.n(hn),bn=t(16049),gn=t(38431),mn=t(14372),vn=t(69119),yn=t(77349),xn=t(49546);function wn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function kn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?wn(Object(t),!0).forEach((function(n){b()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):wn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var jn="yyyy-MM-dd",On=function(e){return(0,gn.Z)(e,jn)?(0,mn.default)(e,jn,new Date):(0,gn.Z)(e,"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")||(0,gn.Z)(e,"yyyy-MM-dd'T'HH:mm:ss.SSSxxx")?(0,vn.default)(new Date(e)):null};const Pn={datetime:{type:"date",toRange:function(e){return{from:e?On(e).toISOString():null,to:e?(0,yn.default)(On(e),1).toISOString():null,isRangeValue:!0}},fromRange:function(e){return null!=e&&e.from?(0,xn.default)(new Date(e.from),jn):null!=e&&e.to?(0,xn.default)(new Date(e.to),jn):null},getToOptions:function(e,n){return kn(kn({},e),{},{datePickerOptions:kn({minDate:n},null==e?void 0:e.datePickerOptions)})},getFromOptions:function(e,n){return kn(kn({},e),{},{datePickerOptions:kn({maxDate:n},null==e?void 0:e.datePickerOptions)})}},date:{getToOptions:function(e,n){return kn(kn({},e),{},{datePickerOptions:kn({minDate:n},null==e?void 0:e.datePickerOptions)})},getFromOptions:function(e,n){return kn(kn({},e),{},{datePickerOptions:kn({maxDate:n},null==e?void 0:e.datePickerOptions)})}}};var Sn,Zn,Cn,_n,Rn,En=t(2091),Tn=t(7281),Ln=P.ZP.div.withConfig({displayName:"StyledIconWrapper"})(Sn||(Sn=O()(["\n font-size: ",";\n"])),Tn.Z.font(-2.7)),An=P.ZP.div.withConfig({displayName:"StyledRange"})(Zn||(Zn=O()(["\n display: flex;\n align-items: baseline;\n"]))),Nn=P.ZP.div.withConfig({displayName:"StyledInput"})(Cn||(Cn=O()(["\n flex: 1;\n display: flex;\n flex-direction: column;\n"]))),Dn=(0,P.ZP)(En.Z).withConfig({displayName:"StyledBall"})(_n||(_n=O()(["\n position: relative;\n top: 0.5px; // offset false vertical alignment\n"])));function Mn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Fn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Mn(Object(t),!0).forEach((function(n){b()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Mn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const In=function(e){var n=e.value,t=e.events,r=e.readOnly,o=e.type,l=e.options,a=e.fromText,i=e.toText,c=Pn[o],s=(null==n?void 0:n.isRangeValue)||!1,u=(0,d.useRef)(n);u.current=n;var f,h,p=(0,d.useMemo)((function(){return Fn(Fn({},t),{},{onChange:t.onChange})}),[t]),b={onChange:function(e){t.onChange(Fn(Fn({},u.current),{},{to:e}))}},g={onChange:function(e){t.onChange(Fn(Fn({},u.current),{},{from:e}))}},m=(null==c?void 0:c.type)||o,v=(0,T.jsx)(bn.Z,Fn(Fn({type:m},pn()(e,["type"])),{},{events:p})),y=(0,T.jsxs)(Nn,{children:[(0,T.jsx)(bn.Z,Fn(Fn({},e),{},{options:(f=l,h=null==n?void 0:n.to,null!=c&&c.getFromOptions?c.getFromOptions(f,h):f),value:(null==n?void 0:n.from)||null,events:g,placeholder:a})),Rn||(Rn=(0,T.jsx)(Ln,{children:(0,T.jsx)(D.Z,{icon:"horizontal-rule"})})),(0,T.jsx)(bn.Z,Fn(Fn({},e),{},{options:function(e,n){return null!=c&&c.getToOptions?c.getToOptions(e,n):e}(l,null==n?void 0:n.from),value:(null==n?void 0:n.to)||null,events:b,placeholder:i}))]});return(0,T.jsxs)(An,{children:[s?y:v,(0,T.jsx)(Dn,{disabled:r,icon:s?"square-minus":"square-plus",onClick:function(){var e=s?function(e){return null!=c&&c.fromRange?c.fromRange(e):(null==e?void 0:e.from)||(null==e?void 0:e.to)||null}(n):function(e){return null!=c&&c.toRange?c.toRange(e):{from:e,to:e,isRangeValue:!0}}(n);t.onChange(e)}})]})};const qn=function(e){var n=e.active,t=e.elapsed,r=e.setActive,o=e.setElapsed;return(0,T.jsxs)("div",{children:[(0,T.jsx)($,{label:"Active",fixLabel:!0,children:(0,T.jsx)("input",{type:"checkbox",checked:n,onChange:function(e){r(e.target.checked)}})}),(0,T.jsx)($,{label:"Elapsed",hasValue:!!t,children:(0,T.jsx)(In,{fromText:"from",toText:"to",type:"number",value:t,options:{postPointDigits:0,fixedDecimalScale:!0},events:{onChange:function(e){o(e)}}})})]})};var Hn={setActive:dn.Iv,setElapsed:dn.uI};const Vn=(0,u.connect)((function(e){return{active:e.sqlLog.active,elapsed:e.sqlLog.elapsed}}),Hn)(qn);var zn,Bn,$n,Un,Gn,Wn,Yn,Kn={ERROR:"#a00"},Jn=P.ZP.div.withConfig({displayName:"StyledLogTable"})(zn||(zn=O()(["\n display: grid;\n gap: 1px;\n"]))),Qn=P.ZP.div.withConfig({displayName:"StyledLogEntry"})(Bn||(Bn=O()(["\n display: grid;\n height: fit-content;\n grid-template-columns: repeat(3, 1fr);\n padding: 1em;\n ","\n"])),(function(e){return"border: 1px solid ".concat(Kn[e.level]||"#ddd",";")})),Xn=P.ZP.span.withConfig({displayName:"StyledStatementHeader"})($n||($n=O()(["\n grid-column: 1 / 3;\n ","\n\n && {\n ","\n }\n"])),(function(e){return e.expandable&&"cursor: pointer;"}),(0,xe.Z)()),et=P.ZP.span.withConfig({displayName:"StyledStatement"})(Un||(Un=O()(["\n grid-column: 1 / 3;\n margin-top: 1em;\n\n && {\n ","\n }\n"])),(0,xe.Z)()),nt=P.ZP.span.withConfig({displayName:"StyledTime"})(Gn||(Gn=O()(["\n grid-row-start: 1;\n grid-column-start: 3;\n text-align: right;\n\n && {\n ","\n }\n"])),(0,xe.Z)()),tt=P.ZP.span.withConfig({displayName:"StyledElapsedContainer"})(Wn||(Wn=O()(["\n grid-column-start: 3;\n text-align: right;\n margin-top: 1em;\n\n && {\n ","\n }\n"])),(0,xe.Z)()),rt=P.ZP.span.withConfig({displayName:"StyledElapsed"})(Yn||(Yn=O()(["\n background-color: ",";\n border-radius: 5px;\n padding: 0.5em;\n"])),(function(e){return(n=e.elapsed)>=1e3?"#f00":n>=500?"#ff8c00":n>=100?"#ff0":"#dedede";var n}));const ot=function(e){var n=e.entry,t=(0,d.useState)(!1),r=ye()(t,2),o=r[0],l=r[1],a=n.sql.length>100,i=a?n.sql.substr(0,100)+"...":n.sql;return(0,T.jsxs)(Qn,{children:[(0,T.jsx)(Xn,{expandable:a,onClick:function(){a&&l(!o)},children:i}),o&&(0,T.jsx)(et,{children:n.sql}),(0,T.jsx)(nt,{children:new Date(n.timestamp.iMillis).toLocaleString()}),(0,T.jsx)(tt,{children:(0,T.jsxs)(rt,{elapsed:n.elapsed,children:[n.elapsed," ms"]})})]})};var lt;const at=function(e){var n=function(e,n){return n?e.filter((function(e){return!0===n.isRangeValue?e.elapsed>=n.from&&e.elapsed<=n.to:e.elapsed>=n})):e}(e.entries,e.elapsed);return(0,T.jsx)(Jn,{children:n.length>0?n.map((function(e){return(0,T.jsx)(ot,{entry:e},e.key)})):lt||(lt=(0,T.jsx)(s.ZP.Span,{children:"No entries so far."}))})};const it=(0,u.connect)((function(e){return{entries:e.sqlLog.entries,elapsed:e.sqlLog.elapsed}}),{})(at);var ct,st,ut;const ft=function(){return(0,T.jsxs)(T.Fragment,{children:[ct||(ct=(0,T.jsx)(s.ZP.H1,{children:"SQL Log"})),st||(st=(0,T.jsx)(Vn,{})),ut||(ut=(0,T.jsx)(it,{}))]})};var dt=t(88601);function ht(e,n){return ht=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},ht(e,n)}function pt(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,ht(e,n)}function bt(){return bt=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},bt.apply(this,arguments)}function gt(e){return"/"===e.charAt(0)}function mt(e,n){for(var t=n,r=t+1,o=e.length;r<o;t+=1,r+=1)e[t]=e[r];e.pop()}const vt=function(e,n){void 0===n&&(n="");var t,r=e&&e.split("/")||[],o=n&&n.split("/")||[],l=e&&gt(e),a=n&&gt(n),i=l||a;if(e&&gt(e)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var c=o[o.length-1];t="."===c||".."===c||""===c}else t=!1;for(var s=0,u=o.length;u>=0;u--){var f=o[u];"."===f?mt(o,u):".."===f?(mt(o,u),s++):s&&(mt(o,u),s--)}if(!i)for(;s--;s)o.unshift("..");!i||""===o[0]||o[0]&&gt(o[0])||o.unshift("");var d=o.join("/");return t&&"/"!==d.substr(-1)&&(d+="/"),d};var yt=t(2177);function xt(e){return"/"===e.charAt(0)?e:"/"+e}function wt(e){return"/"===e.charAt(0)?e.substr(1):e}function kt(e,n){return function(e,n){return 0===e.toLowerCase().indexOf(n.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(n.length))}(e,n)?e.substr(n.length):e}function jt(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function Ot(e){var n=e.pathname,t=e.search,r=e.hash,o=n||"/";return t&&"?"!==t&&(o+="?"===t.charAt(0)?t:"?"+t),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function Pt(e,n,t,r){var o;"string"==typeof e?(o=function(e){var n=e||"/",t="",r="",o=n.indexOf("#");-1!==o&&(r=n.substr(o),n=n.substr(0,o));var l=n.indexOf("?");return-1!==l&&(t=n.substr(l),n=n.substr(0,l)),{pathname:n,search:"?"===t?"":t,hash:"#"===r?"":r}}(e),o.state=n):(void 0===(o=bt({},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!==n&&void 0===o.state&&(o.state=n));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 t&&(o.key=t),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=vt(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function St(){var e=null;var n=[];return{setPrompt:function(n){return e=n,function(){e===n&&(e=null)}},confirmTransitionTo:function(n,t,r,o){if(null!=e){var l="function"==typeof e?e(n,t):e;"string"==typeof l?"function"==typeof r?r(l,o):o(!0):o(!1!==l)}else o(!0)},appendListener:function(e){var t=!0;function r(){t&&e.apply(void 0,arguments)}return n.push(r),function(){t=!1,n=n.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];n.forEach((function(e){return e.apply(void 0,t)}))}}}var Zt=!("undefined"==typeof window||!window.document||!window.document.createElement);function Ct(e,n){n(window.confirm(e))}var _t="popstate",Rt="hashchange";function Et(){try{return window.history.state||{}}catch(e){return{}}}function Tt(e){void 0===e&&(e={}),Zt||(0,yt.Z)(!1);var n,t=window.history,r=(-1===(n=window.navigator.userAgent).indexOf("Android 2.")&&-1===n.indexOf("Android 4.0")||-1===n.indexOf("Mobile Safari")||-1!==n.indexOf("Chrome")||-1!==n.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),l=e,a=l.forceRefresh,i=void 0!==a&&a,c=l.getUserConfirmation,s=void 0===c?Ct:c,u=l.keyLength,f=void 0===u?6:u,d=e.basename?jt(xt(e.basename)):"";function h(e){var n=e||{},t=n.key,r=n.state,o=window.location,l=o.pathname+o.search+o.hash;return d&&(l=kt(l,d)),Pt(l,r,t)}function p(){return Math.random().toString(36).substr(2,f)}var b=St();function g(e){bt(C,e),C.length=t.length,b.notifyListeners(C.location,C.action)}function m(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||x(h(e.state))}function v(){x(h(Et()))}var y=!1;function x(e){if(y)y=!1,g();else{b.confirmTransitionTo(e,"POP",s,(function(n){n?g({action:"POP",location:e}):function(e){var n=C.location,t=k.indexOf(n.key);-1===t&&(t=0);var r=k.indexOf(e.key);-1===r&&(r=0);var o=t-r;o&&(y=!0,O(o))}(e)}))}}var w=h(Et()),k=[w.key];function j(e){return d+Ot(e)}function O(e){t.go(e)}var P=0;function S(e){1===(P+=e)&&1===e?(window.addEventListener(_t,m),o&&window.addEventListener(Rt,v)):0===P&&(window.removeEventListener(_t,m),o&&window.removeEventListener(Rt,v))}var Z=!1;var C={length:t.length,action:"POP",location:w,createHref:j,push:function(e,n){var o="PUSH",l=Pt(e,n,p(),C.location);b.confirmTransitionTo(l,o,s,(function(e){if(e){var n=j(l),a=l.key,c=l.state;if(r)if(t.pushState({key:a,state:c},null,n),i)window.location.href=n;else{var s=k.indexOf(C.location.key),u=k.slice(0,s+1);u.push(l.key),k=u,g({action:o,location:l})}else window.location.href=n}}))},replace:function(e,n){var o="REPLACE",l=Pt(e,n,p(),C.location);b.confirmTransitionTo(l,o,s,(function(e){if(e){var n=j(l),a=l.key,c=l.state;if(r)if(t.replaceState({key:a,state:c},null,n),i)window.location.replace(n);else{var s=k.indexOf(C.location.key);-1!==s&&(k[s]=l.key),g({action:o,location:l})}else window.location.replace(n)}}))},go:O,goBack:function(){O(-1)},goForward:function(){O(1)},block:function(e){void 0===e&&(e=!1);var n=b.setPrompt(e);return Z||(S(1),Z=!0),function(){return Z&&(Z=!1,S(-1)),n()}},listen:function(e){var n=b.appendListener(e);return S(1),function(){S(-1),n()}}};return C}var Lt="hashchange",At={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+wt(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:wt,decodePath:xt},slash:{encodePath:xt,decodePath:xt}};function Nt(e){var n=e.indexOf("#");return-1===n?e:e.slice(0,n)}function Dt(){var e=window.location.href,n=e.indexOf("#");return-1===n?"":e.substring(n+1)}function Mt(e){window.location.replace(Nt(window.location.href)+"#"+e)}function Ft(e){void 0===e&&(e={}),Zt||(0,yt.Z)(!1);var n=window.history,t=(window.navigator.userAgent.indexOf("Firefox"),e),r=t.getUserConfirmation,o=void 0===r?Ct:r,l=t.hashType,a=void 0===l?"slash":l,i=e.basename?jt(xt(e.basename)):"",c=At[a],s=c.encodePath,u=c.decodePath;function f(){var e=u(Dt());return i&&(e=kt(e,i)),Pt(e)}var d=St();function h(e){bt(P,e),P.length=n.length,d.notifyListeners(P.location,P.action)}var p=!1,b=null;function g(){var e,n,t=Dt(),r=s(t);if(t!==r)Mt(r);else{var l=f(),a=P.location;if(!p&&(n=l,(e=a).pathname===n.pathname&&e.search===n.search&&e.hash===n.hash))return;if(b===Ot(l))return;b=null,function(e){if(p)p=!1,h();else{var n="POP";d.confirmTransitionTo(e,n,o,(function(t){t?h({action:n,location:e}):function(e){var n=P.location,t=x.lastIndexOf(Ot(n));-1===t&&(t=0);var r=x.lastIndexOf(Ot(e));-1===r&&(r=0);var o=t-r;o&&(p=!0,w(o))}(e)}))}}(l)}}var m=Dt(),v=s(m);m!==v&&Mt(v);var y=f(),x=[Ot(y)];function w(e){n.go(e)}var k=0;function j(e){1===(k+=e)&&1===e?window.addEventListener(Lt,g):0===k&&window.removeEventListener(Lt,g)}var O=!1;var P={length:n.length,action:"POP",location:y,createHref:function(e){var n=document.querySelector("base"),t="";return n&&n.getAttribute("href")&&(t=Nt(window.location.href)),t+"#"+s(i+Ot(e))},push:function(e,n){var t="PUSH",r=Pt(e,void 0,void 0,P.location);d.confirmTransitionTo(r,t,o,(function(e){if(e){var n=Ot(r),o=s(i+n);if(Dt()!==o){b=n,function(e){window.location.hash=e}(o);var l=x.lastIndexOf(Ot(P.location)),a=x.slice(0,l+1);a.push(n),x=a,h({action:t,location:r})}else h()}}))},replace:function(e,n){var t="REPLACE",r=Pt(e,void 0,void 0,P.location);d.confirmTransitionTo(r,t,o,(function(e){if(e){var n=Ot(r),o=s(i+n);Dt()!==o&&(b=n,Mt(o));var l=x.indexOf(Ot(P.location));-1!==l&&(x[l]=n),h({action:t,location:r})}}))},go:w,goBack:function(){w(-1)},goForward:function(){w(1)},block:function(e){void 0===e&&(e=!1);var n=d.setPrompt(e);return O||(j(1),O=!0),function(){return O&&(O=!1,j(-1)),n()}},listen:function(e){var n=d.appendListener(e);return j(1),function(){j(-1),n()}}};return P}t(94662);function It(e,n){if(null==e)return{};var t,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)t=l[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}h().Component;h().Component;var qt=function(e,n){return"function"==typeof e?e(n):e},Ht=function(e,n){return"string"==typeof e?Pt(e,null,null,n):e},Vt=function(e){return e},zt=h().forwardRef;void 0===zt&&(zt=Vt);var Bt=zt((function(e,n){var t=e.innerRef,r=e.navigate,o=e.onClick,l=It(e,["innerRef","navigate","onClick"]),a=l.target,i=bt({},l,{onClick:function(e){try{o&&o(e)}catch(n){throw e.preventDefault(),n}e.defaultPrevented||0!==e.button||a&&"_self"!==a||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return i.ref=Vt!==zt&&n||t,h().createElement("a",i)}));var $t=zt((function(e,n){var t=e.component,r=void 0===t?Bt:t,o=e.replace,l=e.to,a=e.innerRef,c=It(e,["component","replace","to","innerRef"]);return h().createElement(i.s6.Consumer,null,(function(e){e||(0,yt.Z)(!1);var t=e.history,i=Ht(qt(l,e.location),e.location),s=i?t.createHref(i):"",u=bt({},c,{href:s,navigate:function(){var n=qt(l,e.location),r=Ot(e.location)===Ot(Ht(n));(o||r?t.replace:t.push)(n)}});return Vt!==zt?u.ref=n||a:u.innerRef=a,h().createElement(r,u)}))})),Ut=function(e){return e},Gt=h().forwardRef;void 0===Gt&&(Gt=Ut);var Wt;Gt((function(e,n){var t=e["aria-current"],r=void 0===t?"page":t,o=e.activeClassName,l=void 0===o?"active":o,a=e.activeStyle,c=e.className,s=e.exact,u=e.isActive,f=e.location,d=e.sensitive,p=e.strict,b=e.style,g=e.to,m=e.innerRef,v=It(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return h().createElement(i.s6.Consumer,null,(function(e){e||(0,yt.Z)(!1);var t=f||e.location,o=Ht(qt(g,t),t),y=o.pathname,x=y&&y.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),w=x?(0,i.LX)(t.pathname,{path:x,exact:s,sensitive:d,strict:p}):null,k=!!(u?u(w,t):w),j="function"==typeof c?c(k):c,O="function"==typeof b?b(k):b;k&&(j=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter((function(e){return e})).join(" ")}(j,l),O=bt({},O,a));var P=bt({"aria-current":k&&r||null,className:j,style:O,to:o},v);return Ut!==Gt?P.ref=n||m:P.innerRef=m,h().createElement($t,P)}))}));const Yt=(0,P.ZP)($t)(Wt||(Wt=O()(["\n ","\n text-decoration: none;\n color: ",";\n\n * {\n color: ",";\n text-decoration: none;\n }\n\n &:hover,\n &:hover *,\n &:focus,\n &:focus * {\n color: ",";\n text-decoration: ",";\n }\n\n &:active,\n &:active * {\n color: ",";\n text-decoration: ",";\n }\n"])),(0,xe.Z)(),Z.FS.color("secondary"),Z.FS.color("text"),Z.FS.color("secondaryLight"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?Z.FS.color("text"):Z.FS.color("secondaryLight")}),(function(e){return e.neutral?"none":"underline"}));var Kt,Jt,Qt,Xt,er,nr,tr,rr,or,lr,ar=P.ZP.div.withConfig({displayName:"StyledDevCon"})(Kt||(Kt=O()(["\n && {\n background-color: ",";\n padding: ",";\n display: flex;\n flex-direction: column;\n flex: 1;\n overflow: auto;\n }\n"])),dt.Z.color("paper"),Tn.Z.space(0)),ir=P.ZP.div.withConfig({displayName:"StyledNavigation"})(Jt||(Jt=O()(["\n display: flex;\n"]))),cr=(0,P.ZP)(Yt).withConfig({displayName:"StyledRouterLink"})(Qt||(Qt=O()(["\n padding: 1em;\n background-color: #ddd;\n border-radius: 5px;\n margin: 5px;\n"])));const sr=function(){return(0,T.jsxs)(ar,{children:[Xt||(Xt=(0,T.jsx)(c.Z.Notifications,{})),er||(er=(0,T.jsx)(s.ZP.Span,{children:"Tocco Developer Console"})),nr||(nr=(0,T.jsxs)(ir,{children:[(0,T.jsx)(cr,{to:"/log",children:"Log"}),(0,T.jsx)(cr,{to:"/modelvalidation",children:"Model Validation"}),(0,T.jsx)(cr,{to:"/dbrefactoring",children:"DB Refactoring"}),(0,T.jsx)(cr,{to:"/sqllog",children:"SQL Log"})]})),(0,T.jsxs)(i.rs,{children:[(0,T.jsx)(i.AW,{path:"/",exact:!0,render:function(){return(0,T.jsx)(i.l_,{to:{pathname:"/log"}})}}),(0,T.jsx)(i.AW,{path:"/log",exact:!0,render:function(){return tr||(tr=(0,T.jsx)(Me,{}))}}),(0,T.jsx)(i.AW,{path:"/dbrefactoring",exact:!0,render:function(){return rr||(rr=(0,T.jsx)(ue,{}))}}),(0,T.jsx)(i.AW,{path:"/modelvalidation",exact:!0,render:function(){return or||(or=(0,T.jsx)(fn,{}))}}),(0,T.jsx)(i.AW,{path:"/sqllog",exact:!0,render:function(){return lr||(lr=(0,T.jsx)(ft,{}))}})]})]})}},24295:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>_e});var r=t(63038),o=t.n(r),l=t(28655),a=t.n(l),i=t(22085),c=t.n(i),s=(t(66245),t(56544)),u=t(7197),f=t(81272),d=t(82341),h=t(97595),p=t(66679),b=t(38794),g=t(12964),m=t(27361),v=t.n(m),y=t(14293),x=t.n(y),w=t(13218),k=t.n(w),j=t(47037),O=t.n(j),P=t(1024),S=t(38205),Z=(t(36976),t(92194),t(2565),t(8821),t(71083),t(42061),t(74576),t(82454),t(55872),t(58119),t(54159)),C=function(e){return Z.Z.executeRequest("rest/".concat(e))},_=function(e){return 200===e.status?e.json():null},R=t(93913),E=t.n(R),T=t(34575),L=t.n(T),A=t(2205),N=t.n(A),D=t(78585),M=t.n(D),F=t(29754),I=t.n(F),q=(t(51500),t(1469)),H=t.n(q),V=t(30236),z=t.n(V),B=["==","!=","<=",">=","<",">","~="],$=["true","false","null"],U=["string","long","serial","bool","boolean","double","float","time","timestamp","char","varchar","date","datetime"],G=["now_date","yesterday_date","tomorrow_date","today_date","now_start","yesterday_start","tomorrow_start","today_start","now","yesterday","tomorrow","today","currentUsername","currentUser","currentBu"],W=["in","dateadd","datetimeadd","duedate","birthdayin","fulltext","likeall","distance","inboundingbox"];function Y(e){var n=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 t,r=I()(e);if(n){var o=I()(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return M()(this,t)}}const K=function(e){return function(n){N()(r,n);var t=Y(r);function r(){var n;L()(this,r),n=t.call(this);var o=[{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(W.join("|"),")\\s*)(\\()(.*?)(\\))($|\\s+)"),caseInsensitive:!0},{token:"keyword.other.chaining",regex:/\./},{token:"support.function.field",regex:/([a-z_]+)($|\s+)/,push:"comparison"}],l={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(o),comparison:[{token:"keyword.operator.comparison",regex:"(".concat(B.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(G.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"constant.language",regex:"(".concat($.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"support.type",regex:"(".concat(U.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(o,[{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(o,[{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 n.$rules=z()(n.$rules,l,(function(e,n){return H()(e)?e.concat(n):void 0})),n.normalizeRules(),n}return E()(r)}(c().require("ace/mode/text_highlight_rules").TextHighlightRules)};function J(e){var n=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 t,r=I()(e);if(n){var o=I()(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return M()(this,t)}}var Q=function(e){N()(t,e);var n=J(t);function t(){var e;L()(this,t);return(e=n.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 E()(t)}(c().require("ace/mode/text_highlight_rules").TextHighlightRules),X=function(e){N()(t,e);var n=J(t);function t(){var e;L()(this,t),e=n.call(this);var r=["query","queryCount"],o=[{token:"keyword.function",regex:"\\[@(".concat(r.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 l in e.$rules)e.$rules[l].unshift.apply(e.$rules[l],o);e.embedRules(Q,"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 a=[{token:"keyword.function",regex:"\\[/@(".concat(r.join("|"),")]"),next:"pop"}];e.embedRules(K(),"tql-",a,["start"]);var i={"tql-rootwhere":[{token:"keyword.function",regex:"\\[/@(".concat(r.join("|"),")]"),next:"pop"}],"tql-order":[{token:"keyword.function",regex:"\\[/@(".concat(r.join("|"),")]"),next:"pop"}]};return e.$rules=z()(e.$rules,i,(function(e,n){return H()(e)?e.concat(n):void 0})),e.normalizeRules(),e}return E()(t)}(c().require("ace/mode/html_highlight_rules").HtmlHighlightRules),ee=t(68551),ne=t.n(ee),te=t(319),re=t.n(te),oe=c().require("ace/token_iterator").TokenIterator,le=function(e){return e?e.type.substring(e.type.lastIndexOf(".")+1):null},ae=function(e,n){return le(e.getCurrentToken())===n},ie=function(e){if(ae(e,"model")&&e.stepBackward(),(ae(e,"field")||ae(e,"relation"))&&e.stepBackward(),!ae(e,"chaining"))return null;if(e.stepBackward(),ae(e,"model")){var n=e.getCurrentToken();return e.stepBackward(),e.stepBackward(),n?n.value.trim():null}return null},ce=function(e,n){for(;!ae(e,n);)if(!e.stepBackward())return!1;return!0},se=function(e,n){return ae(e,"rparen")?1:n>0&&ae(e,"lparen")?(e.stepBackward(),-1):0},ue=function(e){for(var n=0;e.getCurrentToken();){if(0===n&&ae(e,"where")){var t=e.stepBackward();return t?[t.value.trim()].concat(re()(de(e))):[]}if(ae(e,"order_by")){if(ce(e,"find")){var r=e.stepForward();return r?r.value.trim():[]}return[]}if(n+=se(e,n),!e.stepBackward())return null}return null},fe=function(e,n){for(var t=[],r=n(e);r;)Array.isArray(r)?r.forEach((function(e){return t.unshift(e)})):t.unshift(r),r=n(e);return t},de=function(e){return fe(e,ie)},he=function(e){return fe(e,ue)},pe=1e3,be=function(e,n,t){var r=function(e,n){if(n){var t=he(e());return{baseModel:n,modelScope:ne()(t).slice(0)}}var r=he(e()),o=ne()(r);return{baseModel:o[0],modelScope:o.slice(1)}}(e,t),o=r.baseModel,l=r.modelScope;if(o){var a=de(e()),i=[].concat(re()(l),re()(a)).map((function(e){return"rel".concat(e)}));(function(e){var n=ne()(e),t=n[0],r=n.slice(1);return C(function(e,n){var t=n.length>0?"/resolve?path="+n.join("."):"";return"entities/".concat(e,"/model").concat(t)}(t,r)).then(_).then((function(e){if(!e)return[];var n=e.fields||[],t=e.relations||[];return[].concat(re()(n.map((function(e){return{label:(n=e,n.label?"".concat(n.fieldName," (").concat(n.label,")"):n.fieldName),value:e.fieldName,meta:e.type};var n}))),re()(t.map((function(e){return{label:(n=e,n.label?"".concat(n.relationName," (").concat(n.label,")"):n.relationName),value:e.relationName,meta:e.targetEntity};var n}))))}))})([o].concat(re()(i))).then((function(e){var t=e.map((function(e){return{caption:e.label,value:e.value,meta:e.meta,score:pe}}));n(null,t)})).catch((function(e){return n(e)}))}},ge=function(e,n){return n?"".concat(e," (").concat(n,")"):e},me=function(e){return C("entities").then(_).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(n){var t=n.map((function(e){var n=e.modelName,t=e.label;return{caption:ge(n,t),value:n,score:pe}}));e(null,t)})).catch((function(n){return e(n)}))},ve=function(){return W.map((function(e){return e.toUpperCase()})).map((function(e){return{caption:e,value:"".concat(e,"()"),meta:"function",score:970}}))};const ye=function(e){return{getCompletions:function(n,t,r,o,l){var a=function(){return new oe(t,r.row,r.column)},i=a(),c=i.getCurrentToken(),s=i.stepBackward()?i.getCurrentToken():null;switch(le(c)){case"chaining":case"relation":case"separator":case"order_by":case"count":case"exists":case"field":case"function_arguments":be(a,l,e);break;case"where":case"conjunction":be(a,l,e),l(null,ve());break;case"nice_function":l(null,ve());break;case"find":me(l);break;case"type":case"tocco_placeholder":case"comparison":l(null,U.map((function(e){return{caption:e,value:"".concat(e,":"),meta:"type",score:980}}))),l(null,G.map((function(e){return{caption:e,value:":".concat(e),meta:"placeholder",score:990}})));break;case"model":be(a,l,e),s&&"relation"!==le(s)&&me(l);break;case null:e&&be(a,l,e),l(null,ve())}}}};function xe(e){var n=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 t,r=I()(e);if(n){var o=I()(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return M()(this,t)}}var we=function(e){N()(t,e);var n=xe(t);function t(){var e;return L()(this,t),(e=n.call(this)).HighlightRules=X,e.completer=ye(),e}return E()(t)}(c().require("ace/mode/ftl").Mode);function ke(e){var n=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 t,r=I()(e);if(n){var o=I()(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return M()(this,t)}}var je,Oe=function(e){N()(t,e);var n=ke(t);function t(e){var r,o=e.implicitModelName;return L()(this,t),(r=n.call(this)).HighlightRules=K(o),r.completer=ye(o),r.snippedIdField=null,r}return E()(t)}(c().require("ace/mode/text").Mode),Pe=t(85893),Se=S.ZP.div.withConfig({displayName:"StyledEditor"})(je||(je=a()(["\n width: 100%;\n z-index: 0; /* gutter lays over menu otherwise */\n"]))),Ze={groovy:function(){return new u.Mode},html:function(){return new f.Mode},xml:function(){return new g.Mode},properties:function(){return new p.Mode},json:function(){return new d.Mode},htmlmixed:function(){return new we},freemarkermixed:function(){return new we},ftl:function(){return new we},tql:function(e){return new Oe(e)},less:function(){return new h.Mode},drools:function(){return new s.Mode},text:function(){return new b.Mode}},Ce=function(e,n){var t=n.mode,r=n.theme,l=n.showGutter,a=n.editorOptions,i=void 0===a?{}:a;(function(e){return O()(e)?Promise.resolve(e):k()(e)?C("entities/2.0/".concat(e.entityModel,"/").concat(e.key,"?_paths=").concat(e.field)).then(_).then((function(e){return v()(e,["paths","entity_name","value"],null)})):Promise.resolve(null)})(n.implicitModel).then((function(e){return function(e,n){return v()(Ze,e,e)(n)}(t,{implicitModelName:e})})).then((function(n){return e.getSession().setMode(n)})),e.setTheme("ace/theme/".concat(r)),Object.entries(i).forEach((function(n){var t=o()(n,2),r=t[0],l=t[1];e.setOption(r,l)})),e.renderer.setShowGutter(l),e.resize()};const _e=function(e){var n=e.mode,t=e.theme,r=void 0===t?"textmate":t,o=e.value,l=e.onChange,a=e.showGutter,i=void 0===a||a,s=e.editorOptions,u=void 0===s?{}:s,f=e.implicitModel,d=e.autoFocusOnMount,h=void 0!==d&&d,p=(0,P.useRef)(null),b=(0,P.useRef)(null),g=(0,P.useMemo)((function(){return{mode:n,theme:r,showGutter:i,editorOptions:u,implicitModel:f,autoFocusOnMount:h}}),[n,r,i,u,f,h]);return(0,P.useEffect)((function(){var e=c().edit(p.current);return e.getSession().setValue(o||""),e.on("change",(function(){return l(e.getValue())})),Ce(e,g),b.current=e,g.autoFocusOnMount&&b.current.focus(),function(){return e.destroy()}}),[]),(0,P.useEffect)((function(){b.current&&Ce(b.current,g)}),[g]),(0,P.useEffect)((function(){b.current&&!x()(o)&&o!==b.current.getValue()&&b.current.getSession().setValue(o)}),[o]),(0,Pe.jsx)(Se,{ref:p})}},48078:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>c});var r=t(52817),o=t(41609),l=t.n(o),a=t(41291),i=t(85893);const c=function(e){var n=e.value,t=e.breakWords,o=(0,r._)(n),c=l()(o)?n:o.formatInternational();return(0,i.jsx)(a.Z,{href:"tel:".concat(n),target:"_blank",onClick:function(e){return e.stopPropagation()},label:c,breakWords:t})}},23710:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>re});var r=t(59713),o=t.n(r),l=t(72757),a=t(1024),i=t(86896),c=t(93913),s=t.n(c),u=t(34575),f=t.n(u),d=t(2205),h=t.n(d),p=t(78585),b=t.n(p),g=t(29754),m=t.n(g),v=t(11820),y=t(39269),x=t(96840),w=t(75528),k=t(52079),j=t(84184),O=t(40569),P=t(75460),S=t(65761),Z=t(53626),C=t(73043),_=t(16797),R=t(71297),E=t(55444),T=t(6672),L=t(18195),A=t(23132),N=t(67296),D=t(4175),M=t(21094),F=t(20211),I=t(51778),q=t(87388),H=t(89906),V=t(41831);function z(e){var n=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 t,r=m()(e);if(n){var o=m()(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return b()(this,t)}}var B=function(e){h()(t,e);var n=z(t);function t(){return f()(this,t),n.apply(this,arguments)}return s()(t)}(v.Z);B.builtinPlugins=[y.Z,x.Z,O.Z,P.Z,S.Z,Z.Z,C.Z,R.Z,_.Z,E.Z,T.Z,L.Z,w.Z,A.Z,N.Z,D.Z,M.Z,F.Z,I.Z,k.Z,q.Z,H.Z,V.Z,j.Z],B.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 $=B;var U,G=t(28655),W=t.n(G),Y=t(38205),K=t(56822),J=Y.ZP.div.withConfig({displayName:"StyledHtmlEditor"})(U||(U=W()(["\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,K.L)(e,"ckeditor")})),Q=t(85893);function X(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ee(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?X(Object(t),!0).forEach((function(n){o()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):X(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ne=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"}},te=function(e){var n=e.value,t=e.onChange,r=e.contentLang,o=e.ckEditorConfig,c=(0,i.Z)().locale,s=(0,a.useRef)(!1);return(0,Q.jsx)(J,{children:(0,Q.jsx)(l.CKEditor,{editor:$,config:ee({language:{ui:ne(c),content:r}},o),data:n,onChange:function(e,n){if(n.plugins.get("SourceEditing").isSourceEditingMode){if(!0===s.current)return;s.current=!0}var r=n.getData();t(r)}})})};te.defaultProps={value:"",contentLang:"de"};const re=te},59178:(e,n,t)=>{"use strict";t.r(n),t.d(n,{Icon:()=>q,default:()=>H});var r,o=t(59713),l=t.n(o),a=t(45697),i=t.n(a),c=t(6479),s=t.n(c),u=t(23636),f=t(93024),d=t(65735),h=t(73582),p=t(67814),b=t(27361),g=t.n(b),m=t(28655),v=t.n(m),y=t(38205).ZP.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(r||(r=v()([""]))),x=t(85893),w=["icon","style","hasFixedWidth"];function k(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function j(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?k(Object(t),!0).forEach((function(n){l()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):k(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}u.library.add(h.IJ7,d.IJ7,d.C65,d.kJo,d._tD,d.A35,d.mTx,d.ptq,d.g4A,d.r8p,d.Pk,d.g9M,d.Tab,h.Tab,d.NBC,d.eFW,d.acZ,d.u2A,d.gMD,d.cwv,d.w49,d.fUD,d.icc,d.ca9,d.Vmj,d.gSj,d.WFE,d.hQn,d.LEp,d.WV2,d.FU$,d.diR,h.diR,d.f8k,h.f8k,f.xYR,f.neY,f.AYu,f.kBj,f.hVS,f.dc_,f.Av$,d.xiG,d.gJF,d.j1w,d.WKO,d.wn1,d.b7W,d.YHc,d.ZC5,d.UO1,h.Fyj,d.Qj4,d.FL8,d.foy,d.u9C,d.Fuz,d.iV1,d.Kl4,d.nYk,d.sqG,d.RLE,d.XAH,d.Zrf,d.jMV,d.pL1,d.g6h,d.SJY,d.qmU,d.nek,d.Qy6,d.lH_,h.pL1,d.hVM,d.yOf,d.Xgz,d.Mzg,d.r6l,d.IwR,d.aJJ,h.Alc,d.dLO,d.ntl,d.Hw7,d.FYs,d.$36,d.fT7,d.ioP,d.Cw9,d.Ry6,d.C3l,d.a1i,d.jGC,d.IeV,d.A8,d.hG5,d.FVb,d.AxY,d.mAj,d.hGM,d.UkD,d.BDt,d.QzV,d.py1,d.cf$,d.byT,d.dT$,d.G_j,d.A4,d.ar8,d.nNP,d.yGT,d.ILF,d.rux,d.qbi);var O=function(e){var n=e.icon,t=e.style,r=e.hasFixedWidth,o=s()(e,w),l=n.includes(",")?n.replace(/\s+/,"").split(","):n,a=j({},g()(t,"color")&&{color:t.color}),i=Array.isArray(l)?l[1]:l;return(0,x.jsx)(y,{children:(0,x.jsx)(p.G,j(j(j({icon:l,style:t},a),{},{fixedWidth:r},o),{},{"data-testid":"icon-".concat(i)}))})};O.defaultProps={hasFixedWidth:!0};const P=O,S=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"]},"check-circle-full":{"id":"fas, check-circle","lib":"fa"},"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"]},"circle-full":{"id":"fas, circle","lib":"fa"},"circle-notch":{"id":"fa, circle-notch","lib":"fa"},"circle-notch-light":{"id":"fal, circle-notch","lib":"fa"},"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"},"pen-field":{"id":"fal, pen-field","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"},"floppy-disk-circle-xmark":{"id":"fal, floppy-disk-circle-xmark","lib":"fa"},"user":{"id":"fal, user","lib":"fa"},"suitcase":{"id":"fal, suitcase","lib":"fa"}}');var Z,C,_=["style"],R=["style"],E=["icon"];function T(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function L(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?T(Object(t),!0).forEach((function(n){l()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):T(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var A={logo:function(e){var n=e.style,t=s()(e,_);return(0,x.jsx)("svg",L(L(L({height:g()(n,"fontSize",20)},n),t),{},{"aria-hidden":"true",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:Z||(Z=(0,x.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){var n=e.style,t=s()(e,R);return(0,x.jsx)("svg",L(L(L({height:g()(n,"fontSize",20)},n),t),{},{"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:C||(C=(0,x.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"}))}))}},N=function(e){var n=e.icon,t=s()(e,E);return A[n](t)};N.propTypes={icon:i().string.isRequired};const D=N;function M(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function F(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?M(Object(t),!0).forEach((function(n){l()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):M(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var I={fa:function(e,n){return(0,x.jsx)(P,F(F({},n),{},{icon:e.id}))},toc:function(e,n){return(0,x.jsx)(D,F(F({},n),{},{icon:e.id,"data-testid":"icon-".concat(e.id)}))}},q=function(e){var n=S[e.icon];if(!n)return null;var t=I[n.lib];return t?t(n,e):null};q.propTypes={icon:i().string.isRequired,style:i().objectOf(i().string)};const H=q},81251:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});var r=t(59713),o=t.n(r),l=t(88162),a=t(85893);function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function c(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?i(Object(t),!0).forEach((function(n){o()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const s=function(e){var n=e.size,t=e.style,r=e.icon;return(0,a.jsx)(l.Z,c(c({},t),{},{style:{fontSize:n},spin:!0,icon:r||"circle-notch"}))}},126:(e,n,t)=>{"use strict";var r=t(51235);function o(){}function l(){}l.resetWarningCache=o,e.exports=function(){function e(e,n,t,o,l,a){if(a!==r){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function n(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:l,resetWarningCache:o};return t.PropTypes=t,t}},94662:(e,n,t)=>{e.exports=t(126)()},51235:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]);
1
+ (self.webpackChunktocco_devcon=self.webpackChunktocco_devcon||[]).push([[85],{9404:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>sr});var r,o,l,a,i=t(56746),c=t(35202),s=t(34206),u=t(50558),f=t(48479),d=t(1024),h=t.n(d),p=t(59713),b=t.n(p),g=t(78295),m=t(70696),v=t(10535),y=t(85743),x=t(78958),w=t(319),k=t.n(w),j=t(28655),O=t.n(j),P=t(38205),S=t(37188),Z=t(24875),C=(r={},b()(r,x.Z.condition.BASE,"inherit"),b()(r,x.Z.condition.DANGER,Z.FS.color("signal.danger")),b()(r,x.Z.condition.SUCCESS,Z.FS.color("signal.success")),b()(r,x.Z.condition.WARNING,Z.FS.color("signal.warning")),b()(r,x.Z.condition.INFO,Z.FS.color("signal.info")),r),_=(0,P.ZP)(S.hc).withConfig({displayName:"StyledSignalList"})(o||(o=O()(["\n && {\n list-style-type: none;\n }\n"]))),R=P.ZP.span.withConfig({displayName:"StyledSignalListIcon"})(l||(l=O()(["\n position: absolute;\n left: -1.6rem;\n text-align: left;\n"]))),E=(0,P.ZP)(S.EF).withConfig({displayName:"StyledSignalListItem"})(a||(a=O()(["\n && {\n color: ",";\n position: relative;\n padding: 0;\n }\n"])),(function(e){return function(e){return C[e.condition]||"inherit"}(e)})),T=t(85893);const L=function(e){return(0,T.jsx)(_,{as:"ul",children:h().Children.map(e.children,(function(e){return h().cloneElement(e)}))})};var A,N,D=t(88162),M=(A={},b()(A,x.Z.condition.BASE,!1),b()(A,x.Z.condition.DANGER,"times"),b()(A,x.Z.condition.SUCCESS,"check"),b()(A,x.Z.condition.WARNING,"exclamation-triangle"),b()(A,x.Z.condition.INFO,"info"),A),F=function(e){var n=M[e.condition];return n?(0,T.jsx)(D.Z,{icon:n,position:x.Z.position.SOLE}):N||(N=(0,T.jsx)("i",{children:"•"}))},I=function(e){return(0,T.jsxs)(E,{condition:e.condition,children:[(0,T.jsx)(R,{children:F(e)}),e.label,h().Children.map(e.children,(function(e){return h().cloneElement(e)}))]})};I.defaultProps={condition:x.Z.condition.BASE};const q={List:L,Item:I};const H=function(e){if(!e.error)return null;var n=[];return Object.keys(e.error).forEach((function(t){n.push.apply(n,k()(e.error[t]))})),(0,T.jsx)(q.List,{children:n.map((function(e,n){return(0,T.jsx)(q.Item,{condition:"danger",label:e},n)}))})};var V=t(25039);function z(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function B(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?z(Object(t),!0).forEach((function(n){b()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):z(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const $=function(e){var n,t,r,o,l=e.children,a=e.description,i=e.dirty,c=e.isDisplay,s=e.error,u=e.hasValue,f=e.id,d=e.label,h=e.mandatory,p=e.mandatoryTitle,b=e.immutable,w=e.touched,k=e.signal,j=!b&&w&&s&&Object.keys(s).length>0,O="".concat(m.Z.adjustedHTMLString(d)).concat(h&&p?", ".concat(p):""),P=k||function(e,n,t,r){return n?x.Z.condition.DANGER:e?x.Z.condition.INFO:t&&!r?x.Z.condition.WARNING:void 0}(i,j,h,u),S={__html:"".concat(v.Z.sanitizeHtml(d)).concat(h?" *":"")},Z=!c&&!b&&{htmlFor:f},C=y.Z.getEmbedType(),_=["admin","legacy-admin"].includes(C);return(0,T.jsx)(g.Z,{children:function(e){var f=e.getRef;return(0,T.jsx)(V.T3,{children:(0,T.jsxs)(V.QZ,{ref:f,label:d,isAdmin:_,children:[d&&(0,T.jsx)(V.yr,B(B({},Z),{},{hasValue:u,dirty:i,title:O,immutable:b,isDisplay:c,signal:P,isAdmin:_,children:n||(n=(0,T.jsx)("span",{dangerouslySetInnerHTML:S}))})),(0,T.jsxs)(V.m9,{isAdmin:_,children:[t||(t=(0,T.jsx)(V.if,{hasValue:u,immutable:b,isDisplay:c,signal:P,children:l})),j&&(r||(r=(0,T.jsx)(V.gi,{children:(0,T.jsx)(H,{error:s})}))),a&&(o||(o=(0,T.jsx)(V.Mp,{children:a})))]})]})})}})};var U,G,W=t(53023),Y=t(65035),K=t(51032),J=P.ZP.input.withConfig({displayName:"StyledInput"})(U||(U=O()(["\n && {\n ","\n }\n"])),K.k9),Q=P.ZP.div.withConfig({displayName:"StyledInputWrapper"})(G||(G=O()(["\n && {\n ","\n }\n"])),K.yP);const X=function(e){var n=e.fragments,t=e.selectedFragments,r=e.disabled,o=e.setFragmentSelected;return(0,T.jsx)(T.Fragment,{children:n.map((function(e){return(0,T.jsxs)("div",{children:[(0,T.jsx)("input",{type:"checkbox",id:e.id,checked:t.includes(e.id),onChange:(n=e.id,function(e){o(n,e.target.checked)}),disabled:r}),(0,T.jsx)(s.ZP.Label,{for:e.id,children:e.label})]},e.id);var n}))})};const ee=function(e){var n=e.version,t=e.modules,r=e.selectedModules,o=e.fragments,l=e.selectedFragments,a=e.ignoreErrors,i=e.running,c=e.disabled,s=e.executeDbRefactoring,u=e.loadModules,f=e.loadFragments,h=e.setSelectedModules,p=e.setFragmentSelected,b=e.setVersion,g=e.setIgnoreErrors;(0,d.useEffect)((function(){0===t.length&&u(),0===o.length&&f()}),[]);return(0,T.jsxs)("form",{onSubmit:function(e){e.preventDefault(),s()},children:[(0,T.jsx)($,{label:"Modules (none selected => all)",hasValue:r.length>0,children:(0,T.jsx)(W.Z,{options:t,value:r,onChange:h,isMulti:!0,immutable:c})}),(0,T.jsx)($,{label:"Fragments",fixLabel:!0,children:(0,T.jsx)(X,{fragments:o,selectedFragments:l,disabled:c,setFragmentSelected:p})}),(0,T.jsx)($,{label:"Version",hasValue:n.length>0,children:(0,T.jsx)(Q,{children:(0,T.jsx)(J,{value:n,onChange:function(e){var n=e.target.value.replaceAll(/[^\d\\.]/g,"");b(n)},disabled:c})})}),(0,T.jsx)($,{label:"Ignore errors",fixLabel:!0,children:(0,T.jsx)("input",{type:"checkbox",checked:a,onChange:function(e){g(e.target.checked)},disabled:c})}),(0,T.jsx)(Y.Z,{type:"submit",label:"Execute",look:"raised",pending:i,disabled:c})]})};var ne={loadModules:f.H6,loadFragments:f.VL,setSelectedModules:f.pi,setFragmentSelected:f.LO,setVersion:f.xO,setIgnoreErrors:f.Pm,executeDbRefactoring:f.KK};const te=(0,u.connect)((function(e){var n=e.dbRefactoring,t=n.dbRefactoring,r=n.languageUpgrade;return{version:t.version,modules:t.modules,selectedModules:t.selectedModules,fragments:t.fragments,selectedFragments:t.selectedFragments,ignoreErrors:t.ignoreErrors,running:t.running,disabled:t.running||r.running}}),ne)(ee);const re=function(e){var n=e.language,t=e.running,r=e.disabled,o=e.executeLanguageUpgrade,l=e.setLanguage;return(0,T.jsxs)("form",{onSubmit:function(e){e.preventDefault(),o()},children:[(0,T.jsx)($,{label:"Language",hasValue:n.length>0,children:(0,T.jsx)(Q,{children:(0,T.jsx)(J,{value:n,onChange:function(e){l(e.target.value)},disabled:r})})}),(0,T.jsx)(Y.Z,{type:"submit",label:"Execute language upgrade",look:"raised",pending:t,disabled:r})]})};var oe={setLanguage:f.m0,executeLanguageUpgrade:f.b7};const le=(0,u.connect)((function(e){var n=e.dbRefactoring,t=n.dbRefactoring,r=n.languageUpgrade;return{language:r.language,running:r.running,disabled:r.running||t.running}}),oe)(re);var ae,ie,ce,se;const ue=function(){return(0,T.jsxs)(T.Fragment,{children:[ae||(ae=(0,T.jsx)(s.ZP.H1,{children:"Database Refactoring"})),ie||(ie=(0,T.jsx)(te,{})),ce||(ce=(0,T.jsx)(s.ZP.H1,{children:"Language Upgrade"})),se||(se=(0,T.jsx)(le,{}))]})};var fe,de,he,pe,be,ge,me,ve=t(63038),ye=t.n(ve),xe=t(30759),we={ERROR:"#a00"},ke=P.ZP.div.withConfig({displayName:"StyledLogTable"})(fe||(fe=O()(["\n display: grid;\n gap: 1px;\n"]))),je=P.ZP.div.withConfig({displayName:"StyledLogEntry"})(de||(de=O()(["\n display: grid;\n height: fit-content;\n grid-template-columns: repeat(3, 1fr);\n padding: 1em;\n ","\n"])),(function(e){return"border: 1px solid ".concat(we[e.level]||"#ddd",";")})),Oe=P.ZP.span.withConfig({displayName:"StyledMessage"})(he||(he=O()(["\n grid-column: 1 / 3;\n ","\n\n && {\n ","\n }\n"])),(function(e){return e.expandable&&"cursor: pointer;"}),(0,xe.Z)()),Pe=P.ZP.span.withConfig({displayName:"StyledTime"})(pe||(pe=O()(["\n grid-column-start: 3;\n text-align: right;\n\n && {\n ","\n }\n"])),(0,xe.Z)()),Se=P.ZP.div.withConfig({displayName:"StyledExceptionDetails"})(be||(be=O()(["\n margin-top: 1em;\n"]))),Ze=P.ZP.div.withConfig({displayName:"StyledDetailMessage"})(ge||(ge=O()(["\n margin-bottom: 1em;\n\n && {\n ","\n }\n"])),(0,xe.Z)()),Ce=P.ZP.div.withConfig({displayName:"StyledStackTrace"})(me||(me=O()(["\n && {\n ","\n }\n"])),(0,xe.Z)()),_e=function(e){return"".concat(e.declaringClass,".").concat(e.methodName,":").concat(e.lineNumber)};const Re=function(e){var n=e.exception;return(0,T.jsxs)(Se,{children:[(0,T.jsx)(Ze,{children:n.detailMessage}),(0,T.jsx)(Ce,{children:n.stackTrace.map((function(e,n){return(0,T.jsx)("div",{children:_e(e)},n)}))})]})};const Ee=function(e){var n=e.entry,t=(0,d.useState)(!1),r=ye()(t,2),o=r[0],l=r[1];return(0,T.jsxs)(je,{level:n.level,children:[(0,T.jsx)(Oe,{onClick:function(){n.exception&&l(!o)},expandable:!!n.exception,children:n.message}),(0,T.jsx)(Pe,{children:new Date(n.timestamp).toLocaleString()}),o&&(0,T.jsx)(Re,{exception:n.exception})]})};var Te;const Le=function(e){var n=e.entries;return(0,T.jsx)(ke,{children:n.length>0?n.map((function(e){return(0,T.jsx)(Ee,{entry:e},e.key)})):Te||(Te=(0,T.jsx)(s.ZP.Span,{children:"No entries so far."}))})};const Ae=(0,u.connect)((function(e){return{entries:e.log.entries}}),{})(Le);var Ne,De;const Me=function(){return(0,T.jsxs)(T.Fragment,{children:[Ne||(Ne=(0,T.jsx)(s.ZP.H1,{children:"Log"})),De||(De=(0,T.jsx)(Ae,{}))]})};var Fe,Ie,qe=t(49478),He=P.ZP.div.withConfig({displayName:"StyledCheckEventGroup"})(Fe||(Fe=O()(["\n margin: 1em 0;\n border: 1px solid #ddd;\n border-radius: 5px;\n padding: 1em;\n"]))),Ve=P.ZP.div.withConfig({displayName:"StyledGroupHeading"})(Ie||(Ie=O()(["\n margin-bottom: 1em;\n"])));function ze(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return Be(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Be(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,a=!0,i=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){i=!0,l=e},f:function(){try{a||null==t.return||t.return()}finally{if(i)throw l}}}}function Be(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}const $e=function(e){var n=e.type,t=e.events,r=e.selection,o=e.setSelected,l=function(e,n){var t,r=ze(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(!n.has(o.id))return!1}}catch(e){r.e(e)}finally{r.f()}return!0}(t,r);return(0,T.jsxs)(He,{children:[(0,T.jsxs)(Ve,{children:[(0,T.jsx)("input",{type:"checkbox",id:"checkbox-"+n,checked:l,onChange:function(e){o(t.map((function(e){return e.id})),e.target.checked)}}),(0,T.jsx)(s.ZP.Label,{for:"checkbox-"+n,children:(0,T.jsxs)(s.ZP.B,{children:[n," (",t.length,")"]})})]}),t.map((function(e){return(0,T.jsxs)("div",{children:[(0,T.jsx)("input",{type:"checkbox",id:"checkbox-"+e.id,checked:r.has(e.id),onChange:(n=e.id,function(e){o([n],e.target.checked)})}),(0,T.jsx)(s.ZP.Label,{for:"checkbox-"+e.id,children:e.label})]},e.id);var n}))]})};const Ue=function(e){var n=e.checkEvents,t=e.selection,r=e.setSelected,o=e.generateSql,l=e.generateChangelog;return(0,T.jsxs)("div",{children:[Object.keys(n).length>0&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(Y.Z,{look:"raised",onClick:o,disabled:0===t.size,children:["Generate SQL ",t.size>0&&"(".concat(t.size,")")]}),(0,T.jsxs)(Y.Z,{look:"raised",onClick:l,disabled:0===t.size,children:["Generate Changelog ",t.size>0&&"(".concat(t.size,")")]})]}),(0,T.jsx)("div",{children:Object.keys(n).sort().map((function(e){return(0,T.jsx)($e,{type:e,events:n[e],selection:t,setSelected:r},e)}))})]})};var Ge={setSelected:qe.Pq,generateSql:qe.$i,generateChangelog:qe._w};const We=(0,u.connect)((function(e){return{checkEvents:e.modelValidation.checkEvents,selection:e.modelValidation.selection}}),Ge)(Ue);var Ye,Ke,Je,Qe=P.ZP.div.withConfig({displayName:"StyledProgressBar"})(Ye||(Ye=O()(["\n width: 100%;\n border: 1px solid #ddd;\n height: 20px;\n position: relative;\n margin: 1em 0;\n"]))),Xe=P.ZP.div.withConfig({displayName:"StyledInnerProgress"})(Ke||(Ke=O()(["\n position: absolute;\n background-color: #ddd;\n height: 100%;\n width: ","%;\n"])),(function(e){return e.percentage})),en=P.ZP.div.withConfig({displayName:"StyledProgressText"})(Je||(Je=O()(["\n position: absolute;\n top: 0;\n width: 100%;\n text-align: center;\n\n && {\n ","\n }\n"])),(0,xe.Z)()),nn=function(e){return e.result?e.result:e.running?e.total?"".concat(tn(e),"%"):"Preparing...":"Not started"},tn=function(e){return e.running&&e.total?Math.round(e.currentIndex/e.total*100):0};const rn=function(e){var n=e.state;return(0,T.jsxs)(Qe,{children:[(0,T.jsx)(Xe,{percentage:tn(n)}),(0,T.jsx)(en,{children:nn(n)})]})};const on=function(e){var n=e.state,t=e.startValidation;return(0,T.jsxs)("div",{children:[(0,T.jsx)(Y.Z,{look:"raised",pending:n.running,disabled:n.running,onClick:t,children:"Execute"}),(0,T.jsx)(rn,{state:n})]})};var ln={startValidation:qe.YV};const an=(0,u.connect)((function(e){return{state:e.modelValidation.state}}),ln)(on);var cn,sn,un;const fn=function(){return(0,T.jsxs)(T.Fragment,{children:[cn||(cn=(0,T.jsx)(s.ZP.H1,{children:"Model Validation"})),sn||(sn=(0,T.jsx)(an,{})),un||(un=(0,T.jsx)(We,{}))]})};var dn=t(22541),hn=t(57557),pn=t.n(hn),bn=t(16049),gn=t(38431),mn=t(14372),vn=t(69119),yn=t(77349),xn=t(49546);function wn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function kn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?wn(Object(t),!0).forEach((function(n){b()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):wn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var jn="yyyy-MM-dd",On=function(e){return(0,gn.Z)(e,jn)?(0,mn.default)(e,jn,new Date):(0,gn.Z)(e,"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")||(0,gn.Z)(e,"yyyy-MM-dd'T'HH:mm:ss.SSSxxx")?(0,vn.default)(new Date(e)):null};const Pn={datetime:{type:"date",toRange:function(e){return{from:e?On(e).toISOString():null,to:e?(0,yn.default)(On(e),1).toISOString():null,isRangeValue:!0}},fromRange:function(e){return null!=e&&e.from?(0,xn.default)(new Date(e.from),jn):null!=e&&e.to?(0,xn.default)(new Date(e.to),jn):null},getToOptions:function(e,n){return kn(kn({},e),{},{datePickerOptions:kn({minDate:n},null==e?void 0:e.datePickerOptions)})},getFromOptions:function(e,n){return kn(kn({},e),{},{datePickerOptions:kn({maxDate:n},null==e?void 0:e.datePickerOptions)})}},date:{getToOptions:function(e,n){return kn(kn({},e),{},{datePickerOptions:kn({minDate:n},null==e?void 0:e.datePickerOptions)})},getFromOptions:function(e,n){return kn(kn({},e),{},{datePickerOptions:kn({maxDate:n},null==e?void 0:e.datePickerOptions)})}}};var Sn,Zn,Cn,_n,Rn,En=t(2091),Tn=t(7281),Ln=P.ZP.div.withConfig({displayName:"StyledIconWrapper"})(Sn||(Sn=O()(["\n font-size: ",";\n"])),Tn.Z.font(-2.7)),An=P.ZP.div.withConfig({displayName:"StyledRange"})(Zn||(Zn=O()(["\n display: flex;\n align-items: baseline;\n"]))),Nn=P.ZP.div.withConfig({displayName:"StyledInput"})(Cn||(Cn=O()(["\n flex: 1;\n display: flex;\n flex-direction: column;\n"]))),Dn=(0,P.ZP)(En.Z).withConfig({displayName:"StyledBall"})(_n||(_n=O()(["\n position: relative;\n top: 0.5px; // offset false vertical alignment\n"])));function Mn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Fn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Mn(Object(t),!0).forEach((function(n){b()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Mn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const In=function(e){var n=e.value,t=e.events,r=e.readOnly,o=e.type,l=e.options,a=e.fromText,i=e.toText,c=Pn[o],s=(null==n?void 0:n.isRangeValue)||!1,u=(0,d.useRef)(n);u.current=n;var f,h,p=(0,d.useMemo)((function(){return Fn(Fn({},t),{},{onChange:t.onChange})}),[t]),b={onChange:function(e){t.onChange(Fn(Fn({},u.current),{},{to:e}))}},g={onChange:function(e){t.onChange(Fn(Fn({},u.current),{},{from:e}))}},m=(null==c?void 0:c.type)||o,v=(0,T.jsx)(bn.Z,Fn(Fn({type:m},pn()(e,["type"])),{},{events:p})),y=(0,T.jsxs)(Nn,{children:[(0,T.jsx)(bn.Z,Fn(Fn({},e),{},{options:(f=l,h=null==n?void 0:n.to,null!=c&&c.getFromOptions?c.getFromOptions(f,h):f),value:(null==n?void 0:n.from)||null,events:g,placeholder:a})),Rn||(Rn=(0,T.jsx)(Ln,{children:(0,T.jsx)(D.Z,{icon:"horizontal-rule"})})),(0,T.jsx)(bn.Z,Fn(Fn({},e),{},{options:function(e,n){return null!=c&&c.getToOptions?c.getToOptions(e,n):e}(l,null==n?void 0:n.from),value:(null==n?void 0:n.to)||null,events:b,placeholder:i}))]});return(0,T.jsxs)(An,{children:[s?y:v,(0,T.jsx)(Dn,{disabled:r,icon:s?"square-minus":"square-plus",onClick:function(){var e=s?function(e){return null!=c&&c.fromRange?c.fromRange(e):(null==e?void 0:e.from)||(null==e?void 0:e.to)||null}(n):function(e){return null!=c&&c.toRange?c.toRange(e):{from:e,to:e,isRangeValue:!0}}(n);t.onChange(e)}})]})};const qn=function(e){var n=e.active,t=e.elapsed,r=e.setActive,o=e.setElapsed;return(0,T.jsxs)("div",{children:[(0,T.jsx)($,{label:"Active",fixLabel:!0,children:(0,T.jsx)("input",{type:"checkbox",checked:n,onChange:function(e){r(e.target.checked)}})}),(0,T.jsx)($,{label:"Elapsed",hasValue:!!t,children:(0,T.jsx)(In,{fromText:"from",toText:"to",type:"number",value:t,options:{postPointDigits:0,fixedDecimalScale:!0},events:{onChange:function(e){o(e)}}})})]})};var Hn={setActive:dn.Iv,setElapsed:dn.uI};const Vn=(0,u.connect)((function(e){return{active:e.sqlLog.active,elapsed:e.sqlLog.elapsed}}),Hn)(qn);var zn,Bn,$n,Un,Gn,Wn,Yn,Kn={ERROR:"#a00"},Jn=P.ZP.div.withConfig({displayName:"StyledLogTable"})(zn||(zn=O()(["\n display: grid;\n gap: 1px;\n"]))),Qn=P.ZP.div.withConfig({displayName:"StyledLogEntry"})(Bn||(Bn=O()(["\n display: grid;\n height: fit-content;\n grid-template-columns: repeat(3, 1fr);\n padding: 1em;\n ","\n"])),(function(e){return"border: 1px solid ".concat(Kn[e.level]||"#ddd",";")})),Xn=P.ZP.span.withConfig({displayName:"StyledStatementHeader"})($n||($n=O()(["\n grid-column: 1 / 3;\n ","\n\n && {\n ","\n }\n"])),(function(e){return e.expandable&&"cursor: pointer;"}),(0,xe.Z)()),et=P.ZP.span.withConfig({displayName:"StyledStatement"})(Un||(Un=O()(["\n grid-column: 1 / 3;\n margin-top: 1em;\n\n && {\n ","\n }\n"])),(0,xe.Z)()),nt=P.ZP.span.withConfig({displayName:"StyledTime"})(Gn||(Gn=O()(["\n grid-row-start: 1;\n grid-column-start: 3;\n text-align: right;\n\n && {\n ","\n }\n"])),(0,xe.Z)()),tt=P.ZP.span.withConfig({displayName:"StyledElapsedContainer"})(Wn||(Wn=O()(["\n grid-column-start: 3;\n text-align: right;\n margin-top: 1em;\n\n && {\n ","\n }\n"])),(0,xe.Z)()),rt=P.ZP.span.withConfig({displayName:"StyledElapsed"})(Yn||(Yn=O()(["\n background-color: ",";\n border-radius: 5px;\n padding: 0.5em;\n"])),(function(e){return(n=e.elapsed)>=1e3?"#f00":n>=500?"#ff8c00":n>=100?"#ff0":"#dedede";var n}));const ot=function(e){var n=e.entry,t=(0,d.useState)(!1),r=ye()(t,2),o=r[0],l=r[1],a=n.sql.length>100,i=a?n.sql.substr(0,100)+"...":n.sql;return(0,T.jsxs)(Qn,{children:[(0,T.jsx)(Xn,{expandable:a,onClick:function(){a&&l(!o)},children:i}),o&&(0,T.jsx)(et,{children:n.sql}),(0,T.jsx)(nt,{children:new Date(n.timestamp.iMillis).toLocaleString()}),(0,T.jsx)(tt,{children:(0,T.jsxs)(rt,{elapsed:n.elapsed,children:[n.elapsed," ms"]})})]})};var lt;const at=function(e){var n=function(e,n){return n?e.filter((function(e){return!0===n.isRangeValue?e.elapsed>=n.from&&e.elapsed<=n.to:e.elapsed>=n})):e}(e.entries,e.elapsed);return(0,T.jsx)(Jn,{children:n.length>0?n.map((function(e){return(0,T.jsx)(ot,{entry:e},e.key)})):lt||(lt=(0,T.jsx)(s.ZP.Span,{children:"No entries so far."}))})};const it=(0,u.connect)((function(e){return{entries:e.sqlLog.entries,elapsed:e.sqlLog.elapsed}}),{})(at);var ct,st,ut;const ft=function(){return(0,T.jsxs)(T.Fragment,{children:[ct||(ct=(0,T.jsx)(s.ZP.H1,{children:"SQL Log"})),st||(st=(0,T.jsx)(Vn,{})),ut||(ut=(0,T.jsx)(it,{}))]})};var dt=t(88601);function ht(e,n){return ht=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},ht(e,n)}function pt(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,ht(e,n)}function bt(){return bt=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},bt.apply(this,arguments)}function gt(e){return"/"===e.charAt(0)}function mt(e,n){for(var t=n,r=t+1,o=e.length;r<o;t+=1,r+=1)e[t]=e[r];e.pop()}const vt=function(e,n){void 0===n&&(n="");var t,r=e&&e.split("/")||[],o=n&&n.split("/")||[],l=e&&gt(e),a=n&&gt(n),i=l||a;if(e&&gt(e)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var c=o[o.length-1];t="."===c||".."===c||""===c}else t=!1;for(var s=0,u=o.length;u>=0;u--){var f=o[u];"."===f?mt(o,u):".."===f?(mt(o,u),s++):s&&(mt(o,u),s--)}if(!i)for(;s--;s)o.unshift("..");!i||""===o[0]||o[0]&&gt(o[0])||o.unshift("");var d=o.join("/");return t&&"/"!==d.substr(-1)&&(d+="/"),d};var yt=t(2177);function xt(e){return"/"===e.charAt(0)?e:"/"+e}function wt(e){return"/"===e.charAt(0)?e.substr(1):e}function kt(e,n){return function(e,n){return 0===e.toLowerCase().indexOf(n.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(n.length))}(e,n)?e.substr(n.length):e}function jt(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function Ot(e){var n=e.pathname,t=e.search,r=e.hash,o=n||"/";return t&&"?"!==t&&(o+="?"===t.charAt(0)?t:"?"+t),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function Pt(e,n,t,r){var o;"string"==typeof e?(o=function(e){var n=e||"/",t="",r="",o=n.indexOf("#");-1!==o&&(r=n.substr(o),n=n.substr(0,o));var l=n.indexOf("?");return-1!==l&&(t=n.substr(l),n=n.substr(0,l)),{pathname:n,search:"?"===t?"":t,hash:"#"===r?"":r}}(e),o.state=n):(void 0===(o=bt({},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!==n&&void 0===o.state&&(o.state=n));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 t&&(o.key=t),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=vt(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function St(){var e=null;var n=[];return{setPrompt:function(n){return e=n,function(){e===n&&(e=null)}},confirmTransitionTo:function(n,t,r,o){if(null!=e){var l="function"==typeof e?e(n,t):e;"string"==typeof l?"function"==typeof r?r(l,o):o(!0):o(!1!==l)}else o(!0)},appendListener:function(e){var t=!0;function r(){t&&e.apply(void 0,arguments)}return n.push(r),function(){t=!1,n=n.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];n.forEach((function(e){return e.apply(void 0,t)}))}}}var Zt=!("undefined"==typeof window||!window.document||!window.document.createElement);function Ct(e,n){n(window.confirm(e))}var _t="popstate",Rt="hashchange";function Et(){try{return window.history.state||{}}catch(e){return{}}}function Tt(e){void 0===e&&(e={}),Zt||(0,yt.Z)(!1);var n,t=window.history,r=(-1===(n=window.navigator.userAgent).indexOf("Android 2.")&&-1===n.indexOf("Android 4.0")||-1===n.indexOf("Mobile Safari")||-1!==n.indexOf("Chrome")||-1!==n.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),l=e,a=l.forceRefresh,i=void 0!==a&&a,c=l.getUserConfirmation,s=void 0===c?Ct:c,u=l.keyLength,f=void 0===u?6:u,d=e.basename?jt(xt(e.basename)):"";function h(e){var n=e||{},t=n.key,r=n.state,o=window.location,l=o.pathname+o.search+o.hash;return d&&(l=kt(l,d)),Pt(l,r,t)}function p(){return Math.random().toString(36).substr(2,f)}var b=St();function g(e){bt(C,e),C.length=t.length,b.notifyListeners(C.location,C.action)}function m(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||x(h(e.state))}function v(){x(h(Et()))}var y=!1;function x(e){if(y)y=!1,g();else{b.confirmTransitionTo(e,"POP",s,(function(n){n?g({action:"POP",location:e}):function(e){var n=C.location,t=k.indexOf(n.key);-1===t&&(t=0);var r=k.indexOf(e.key);-1===r&&(r=0);var o=t-r;o&&(y=!0,O(o))}(e)}))}}var w=h(Et()),k=[w.key];function j(e){return d+Ot(e)}function O(e){t.go(e)}var P=0;function S(e){1===(P+=e)&&1===e?(window.addEventListener(_t,m),o&&window.addEventListener(Rt,v)):0===P&&(window.removeEventListener(_t,m),o&&window.removeEventListener(Rt,v))}var Z=!1;var C={length:t.length,action:"POP",location:w,createHref:j,push:function(e,n){var o="PUSH",l=Pt(e,n,p(),C.location);b.confirmTransitionTo(l,o,s,(function(e){if(e){var n=j(l),a=l.key,c=l.state;if(r)if(t.pushState({key:a,state:c},null,n),i)window.location.href=n;else{var s=k.indexOf(C.location.key),u=k.slice(0,s+1);u.push(l.key),k=u,g({action:o,location:l})}else window.location.href=n}}))},replace:function(e,n){var o="REPLACE",l=Pt(e,n,p(),C.location);b.confirmTransitionTo(l,o,s,(function(e){if(e){var n=j(l),a=l.key,c=l.state;if(r)if(t.replaceState({key:a,state:c},null,n),i)window.location.replace(n);else{var s=k.indexOf(C.location.key);-1!==s&&(k[s]=l.key),g({action:o,location:l})}else window.location.replace(n)}}))},go:O,goBack:function(){O(-1)},goForward:function(){O(1)},block:function(e){void 0===e&&(e=!1);var n=b.setPrompt(e);return Z||(S(1),Z=!0),function(){return Z&&(Z=!1,S(-1)),n()}},listen:function(e){var n=b.appendListener(e);return S(1),function(){S(-1),n()}}};return C}var Lt="hashchange",At={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+wt(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:wt,decodePath:xt},slash:{encodePath:xt,decodePath:xt}};function Nt(e){var n=e.indexOf("#");return-1===n?e:e.slice(0,n)}function Dt(){var e=window.location.href,n=e.indexOf("#");return-1===n?"":e.substring(n+1)}function Mt(e){window.location.replace(Nt(window.location.href)+"#"+e)}function Ft(e){void 0===e&&(e={}),Zt||(0,yt.Z)(!1);var n=window.history,t=(window.navigator.userAgent.indexOf("Firefox"),e),r=t.getUserConfirmation,o=void 0===r?Ct:r,l=t.hashType,a=void 0===l?"slash":l,i=e.basename?jt(xt(e.basename)):"",c=At[a],s=c.encodePath,u=c.decodePath;function f(){var e=u(Dt());return i&&(e=kt(e,i)),Pt(e)}var d=St();function h(e){bt(P,e),P.length=n.length,d.notifyListeners(P.location,P.action)}var p=!1,b=null;function g(){var e,n,t=Dt(),r=s(t);if(t!==r)Mt(r);else{var l=f(),a=P.location;if(!p&&(n=l,(e=a).pathname===n.pathname&&e.search===n.search&&e.hash===n.hash))return;if(b===Ot(l))return;b=null,function(e){if(p)p=!1,h();else{var n="POP";d.confirmTransitionTo(e,n,o,(function(t){t?h({action:n,location:e}):function(e){var n=P.location,t=x.lastIndexOf(Ot(n));-1===t&&(t=0);var r=x.lastIndexOf(Ot(e));-1===r&&(r=0);var o=t-r;o&&(p=!0,w(o))}(e)}))}}(l)}}var m=Dt(),v=s(m);m!==v&&Mt(v);var y=f(),x=[Ot(y)];function w(e){n.go(e)}var k=0;function j(e){1===(k+=e)&&1===e?window.addEventListener(Lt,g):0===k&&window.removeEventListener(Lt,g)}var O=!1;var P={length:n.length,action:"POP",location:y,createHref:function(e){var n=document.querySelector("base"),t="";return n&&n.getAttribute("href")&&(t=Nt(window.location.href)),t+"#"+s(i+Ot(e))},push:function(e,n){var t="PUSH",r=Pt(e,void 0,void 0,P.location);d.confirmTransitionTo(r,t,o,(function(e){if(e){var n=Ot(r),o=s(i+n);if(Dt()!==o){b=n,function(e){window.location.hash=e}(o);var l=x.lastIndexOf(Ot(P.location)),a=x.slice(0,l+1);a.push(n),x=a,h({action:t,location:r})}else h()}}))},replace:function(e,n){var t="REPLACE",r=Pt(e,void 0,void 0,P.location);d.confirmTransitionTo(r,t,o,(function(e){if(e){var n=Ot(r),o=s(i+n);Dt()!==o&&(b=n,Mt(o));var l=x.indexOf(Ot(P.location));-1!==l&&(x[l]=n),h({action:t,location:r})}}))},go:w,goBack:function(){w(-1)},goForward:function(){w(1)},block:function(e){void 0===e&&(e=!1);var n=d.setPrompt(e);return O||(j(1),O=!0),function(){return O&&(O=!1,j(-1)),n()}},listen:function(e){var n=d.appendListener(e);return j(1),function(){j(-1),n()}}};return P}t(94662);function It(e,n){if(null==e)return{};var t,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)t=l[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}h().Component;h().Component;var qt=function(e,n){return"function"==typeof e?e(n):e},Ht=function(e,n){return"string"==typeof e?Pt(e,null,null,n):e},Vt=function(e){return e},zt=h().forwardRef;void 0===zt&&(zt=Vt);var Bt=zt((function(e,n){var t=e.innerRef,r=e.navigate,o=e.onClick,l=It(e,["innerRef","navigate","onClick"]),a=l.target,i=bt({},l,{onClick:function(e){try{o&&o(e)}catch(n){throw e.preventDefault(),n}e.defaultPrevented||0!==e.button||a&&"_self"!==a||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return i.ref=Vt!==zt&&n||t,h().createElement("a",i)}));var $t=zt((function(e,n){var t=e.component,r=void 0===t?Bt:t,o=e.replace,l=e.to,a=e.innerRef,c=It(e,["component","replace","to","innerRef"]);return h().createElement(i.s6.Consumer,null,(function(e){e||(0,yt.Z)(!1);var t=e.history,i=Ht(qt(l,e.location),e.location),s=i?t.createHref(i):"",u=bt({},c,{href:s,navigate:function(){var n=qt(l,e.location),r=Ot(e.location)===Ot(Ht(n));(o||r?t.replace:t.push)(n)}});return Vt!==zt?u.ref=n||a:u.innerRef=a,h().createElement(r,u)}))})),Ut=function(e){return e},Gt=h().forwardRef;void 0===Gt&&(Gt=Ut);var Wt;Gt((function(e,n){var t=e["aria-current"],r=void 0===t?"page":t,o=e.activeClassName,l=void 0===o?"active":o,a=e.activeStyle,c=e.className,s=e.exact,u=e.isActive,f=e.location,d=e.sensitive,p=e.strict,b=e.style,g=e.to,m=e.innerRef,v=It(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return h().createElement(i.s6.Consumer,null,(function(e){e||(0,yt.Z)(!1);var t=f||e.location,o=Ht(qt(g,t),t),y=o.pathname,x=y&&y.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),w=x?(0,i.LX)(t.pathname,{path:x,exact:s,sensitive:d,strict:p}):null,k=!!(u?u(w,t):w),j="function"==typeof c?c(k):c,O="function"==typeof b?b(k):b;k&&(j=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter((function(e){return e})).join(" ")}(j,l),O=bt({},O,a));var P=bt({"aria-current":k&&r||null,className:j,style:O,to:o},v);return Ut!==Gt?P.ref=n||m:P.innerRef=m,h().createElement($t,P)}))}));const Yt=(0,P.ZP)($t)(Wt||(Wt=O()(["\n ","\n text-decoration: none;\n color: ",";\n\n * {\n color: ",";\n text-decoration: none;\n }\n\n &:hover,\n &:hover *,\n &:focus,\n &:focus * {\n color: ",";\n text-decoration: ",";\n }\n\n &:active,\n &:active * {\n color: ",";\n text-decoration: ",";\n }\n"])),(0,xe.Z)(),Z.FS.color("secondary"),Z.FS.color("text"),Z.FS.color("secondaryLight"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?Z.FS.color("text"):Z.FS.color("secondaryLight")}),(function(e){return e.neutral?"none":"underline"}));var Kt,Jt,Qt,Xt,er,nr,tr,rr,or,lr,ar=P.ZP.div.withConfig({displayName:"StyledDevCon"})(Kt||(Kt=O()(["\n && {\n background-color: ",";\n padding: ",";\n display: flex;\n flex-direction: column;\n flex: 1;\n overflow: auto;\n }\n"])),dt.Z.color("paper"),Tn.Z.space(0)),ir=P.ZP.div.withConfig({displayName:"StyledNavigation"})(Jt||(Jt=O()(["\n display: flex;\n"]))),cr=(0,P.ZP)(Yt).withConfig({displayName:"StyledRouterLink"})(Qt||(Qt=O()(["\n padding: 1em;\n background-color: #ddd;\n border-radius: 5px;\n margin: 5px;\n"])));const sr=function(){return(0,T.jsxs)(ar,{children:[Xt||(Xt=(0,T.jsx)(c.Z.Notifications,{})),er||(er=(0,T.jsx)(s.ZP.Span,{children:"Tocco Developer Console"})),nr||(nr=(0,T.jsxs)(ir,{children:[(0,T.jsx)(cr,{to:"/log",children:"Log"}),(0,T.jsx)(cr,{to:"/modelvalidation",children:"Model Validation"}),(0,T.jsx)(cr,{to:"/dbrefactoring",children:"DB Refactoring"}),(0,T.jsx)(cr,{to:"/sqllog",children:"SQL Log"})]})),(0,T.jsxs)(i.rs,{children:[(0,T.jsx)(i.AW,{path:"/",exact:!0,render:function(){return(0,T.jsx)(i.l_,{to:{pathname:"/log"}})}}),(0,T.jsx)(i.AW,{path:"/log",exact:!0,render:function(){return tr||(tr=(0,T.jsx)(Me,{}))}}),(0,T.jsx)(i.AW,{path:"/dbrefactoring",exact:!0,render:function(){return rr||(rr=(0,T.jsx)(ue,{}))}}),(0,T.jsx)(i.AW,{path:"/modelvalidation",exact:!0,render:function(){return or||(or=(0,T.jsx)(fn,{}))}}),(0,T.jsx)(i.AW,{path:"/sqllog",exact:!0,render:function(){return lr||(lr=(0,T.jsx)(ft,{}))}})]})]})}},24295:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>_e});var r=t(63038),o=t.n(r),l=t(28655),a=t.n(l),i=t(22085),c=t.n(i),s=(t(66245),t(56544)),u=t(7197),f=t(81272),d=t(82341),h=t(97595),p=t(66679),b=t(38794),g=t(12964),m=t(27361),v=t.n(m),y=t(14293),x=t.n(y),w=t(13218),k=t.n(w),j=t(47037),O=t.n(j),P=t(1024),S=t(38205),Z=(t(36976),t(92194),t(2565),t(8821),t(71083),t(42061),t(74576),t(82454),t(55872),t(58119),t(54159)),C=function(e){return Z.Z.executeRequest("rest/".concat(e))},_=function(e){return 200===e.status?e.json():null},R=t(93913),E=t.n(R),T=t(34575),L=t.n(T),A=t(2205),N=t.n(A),D=t(78585),M=t.n(D),F=t(29754),I=t.n(F),q=(t(51500),t(1469)),H=t.n(q),V=t(30236),z=t.n(V),B=["==","!=","<=",">=","<",">","~="],$=["true","false","null"],U=["string","long","serial","bool","boolean","double","float","time","timestamp","char","varchar","date","datetime"],G=["now_date","yesterday_date","tomorrow_date","today_date","now_start","yesterday_start","tomorrow_start","today_start","now","yesterday","tomorrow","today","currentUsername","currentUser","currentBu"],W=["in","dateadd","datetimeadd","duedate","birthdayin","fulltext","likeall","distance","inboundingbox"];function Y(e){var n=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 t,r=I()(e);if(n){var o=I()(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return M()(this,t)}}const K=function(e){return function(n){N()(r,n);var t=Y(r);function r(){var n;L()(this,r),n=t.call(this);var o=[{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(W.join("|"),")\\s*)(\\()(.*?)(\\))($|\\s+)"),caseInsensitive:!0},{token:"keyword.other.chaining",regex:/\./},{token:"support.function.field",regex:/([a-z_]+)($|\s+)/,push:"comparison"}],l={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(o),comparison:[{token:"keyword.operator.comparison",regex:"(".concat(B.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(G.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"constant.language",regex:"(".concat($.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"support.type",regex:"(".concat(U.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(o,[{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(o,[{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 n.$rules=z()(n.$rules,l,(function(e,n){return H()(e)?e.concat(n):void 0})),n.normalizeRules(),n}return E()(r)}(c().require("ace/mode/text_highlight_rules").TextHighlightRules)};function J(e){var n=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 t,r=I()(e);if(n){var o=I()(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return M()(this,t)}}var Q=function(e){N()(t,e);var n=J(t);function t(){var e;L()(this,t);return(e=n.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 E()(t)}(c().require("ace/mode/text_highlight_rules").TextHighlightRules),X=function(e){N()(t,e);var n=J(t);function t(){var e;L()(this,t),e=n.call(this);var r=["query","queryCount"],o=[{token:"keyword.function",regex:"\\[@(".concat(r.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 l in e.$rules)e.$rules[l].unshift.apply(e.$rules[l],o);e.embedRules(Q,"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 a=[{token:"keyword.function",regex:"\\[/@(".concat(r.join("|"),")]"),next:"pop"}];e.embedRules(K(),"tql-",a,["start"]);var i={"tql-rootwhere":[{token:"keyword.function",regex:"\\[/@(".concat(r.join("|"),")]"),next:"pop"}],"tql-order":[{token:"keyword.function",regex:"\\[/@(".concat(r.join("|"),")]"),next:"pop"}]};return e.$rules=z()(e.$rules,i,(function(e,n){return H()(e)?e.concat(n):void 0})),e.normalizeRules(),e}return E()(t)}(c().require("ace/mode/html_highlight_rules").HtmlHighlightRules),ee=t(68551),ne=t.n(ee),te=t(319),re=t.n(te),oe=c().require("ace/token_iterator").TokenIterator,le=function(e){return e?e.type.substring(e.type.lastIndexOf(".")+1):null},ae=function(e,n){return le(e.getCurrentToken())===n},ie=function(e){if(ae(e,"model")&&e.stepBackward(),(ae(e,"field")||ae(e,"relation"))&&e.stepBackward(),!ae(e,"chaining"))return null;if(e.stepBackward(),ae(e,"model")){var n=e.getCurrentToken();return e.stepBackward(),e.stepBackward(),n?n.value.trim():null}return null},ce=function(e,n){for(;!ae(e,n);)if(!e.stepBackward())return!1;return!0},se=function(e,n){return ae(e,"rparen")?1:n>0&&ae(e,"lparen")?(e.stepBackward(),-1):0},ue=function(e){for(var n=0;e.getCurrentToken();){if(0===n&&ae(e,"where")){var t=e.stepBackward();return t?[t.value.trim()].concat(re()(de(e))):[]}if(ae(e,"order_by")){if(ce(e,"find")){var r=e.stepForward();return r?r.value.trim():[]}return[]}if(n+=se(e,n),!e.stepBackward())return null}return null},fe=function(e,n){for(var t=[],r=n(e);r;)Array.isArray(r)?r.forEach((function(e){return t.unshift(e)})):t.unshift(r),r=n(e);return t},de=function(e){return fe(e,ie)},he=function(e){return fe(e,ue)},pe=1e3,be=function(e,n,t){var r=function(e,n){if(n){var t=he(e());return{baseModel:n,modelScope:ne()(t).slice(0)}}var r=he(e()),o=ne()(r);return{baseModel:o[0],modelScope:o.slice(1)}}(e,t),o=r.baseModel,l=r.modelScope;if(o){var a=de(e()),i=[].concat(re()(l),re()(a)).map((function(e){return"rel".concat(e)}));(function(e){var n=ne()(e),t=n[0],r=n.slice(1);return C(function(e,n){var t=n.length>0?"/resolve?path="+n.join("."):"";return"entities/".concat(e,"/model").concat(t)}(t,r)).then(_).then((function(e){if(!e)return[];var n=e.fields||[],t=e.relations||[];return[].concat(re()(n.map((function(e){return{label:(n=e,n.label?"".concat(n.fieldName," (").concat(n.label,")"):n.fieldName),value:e.fieldName,meta:e.type};var n}))),re()(t.map((function(e){return{label:(n=e,n.label?"".concat(n.relationName," (").concat(n.label,")"):n.relationName),value:e.relationName,meta:e.targetEntity};var n}))))}))})([o].concat(re()(i))).then((function(e){var t=e.map((function(e){return{caption:e.label,value:e.value,meta:e.meta,score:pe}}));n(null,t)})).catch((function(e){return n(e)}))}},ge=function(e,n){return n?"".concat(e," (").concat(n,")"):e},me=function(e){return C("entities").then(_).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(n){var t=n.map((function(e){var n=e.modelName,t=e.label;return{caption:ge(n,t),value:n,score:pe}}));e(null,t)})).catch((function(n){return e(n)}))},ve=function(){return W.map((function(e){return e.toUpperCase()})).map((function(e){return{caption:e,value:"".concat(e,"()"),meta:"function",score:970}}))};const ye=function(e){return{getCompletions:function(n,t,r,o,l){var a=function(){return new oe(t,r.row,r.column)},i=a(),c=i.getCurrentToken(),s=i.stepBackward()?i.getCurrentToken():null;switch(le(c)){case"chaining":case"relation":case"separator":case"order_by":case"count":case"exists":case"field":case"function_arguments":be(a,l,e);break;case"where":case"conjunction":be(a,l,e),l(null,ve());break;case"nice_function":l(null,ve());break;case"find":me(l);break;case"type":case"tocco_placeholder":case"comparison":l(null,U.map((function(e){return{caption:e,value:"".concat(e,":"),meta:"type",score:980}}))),l(null,G.map((function(e){return{caption:e,value:":".concat(e),meta:"placeholder",score:990}})));break;case"model":be(a,l,e),s&&"relation"!==le(s)&&me(l);break;case null:e&&be(a,l,e),l(null,ve())}}}};function xe(e){var n=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 t,r=I()(e);if(n){var o=I()(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return M()(this,t)}}var we=function(e){N()(t,e);var n=xe(t);function t(){var e;return L()(this,t),(e=n.call(this)).HighlightRules=X,e.completer=ye(),e}return E()(t)}(c().require("ace/mode/ftl").Mode);function ke(e){var n=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 t,r=I()(e);if(n){var o=I()(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return M()(this,t)}}var je,Oe=function(e){N()(t,e);var n=ke(t);function t(e){var r,o=e.implicitModelName;return L()(this,t),(r=n.call(this)).HighlightRules=K(o),r.completer=ye(o),r.snippedIdField=null,r}return E()(t)}(c().require("ace/mode/text").Mode),Pe=t(85893),Se=S.ZP.div.withConfig({displayName:"StyledEditor"})(je||(je=a()(["\n width: 100%;\n z-index: 0; /* gutter lays over menu otherwise */\n"]))),Ze={groovy:function(){return new u.Mode},html:function(){return new f.Mode},xml:function(){return new g.Mode},properties:function(){return new p.Mode},json:function(){return new d.Mode},htmlmixed:function(){return new we},freemarkermixed:function(){return new we},ftl:function(){return new we},tql:function(e){return new Oe(e)},less:function(){return new h.Mode},drools:function(){return new s.Mode},text:function(){return new b.Mode}},Ce=function(e,n){var t=n.mode,r=n.theme,l=n.showGutter,a=n.editorOptions,i=void 0===a?{}:a;(function(e){return O()(e)?Promise.resolve(e):k()(e)?C("entities/2.0/".concat(e.entityModel,"/").concat(e.key,"?_paths=").concat(e.field)).then(_).then((function(e){return v()(e,["paths","entity_name","value"],null)})):Promise.resolve(null)})(n.implicitModel).then((function(e){return function(e,n){return v()(Ze,e,e)(n)}(t,{implicitModelName:e})})).then((function(n){return e.getSession().setMode(n)})),e.setTheme("ace/theme/".concat(r)),Object.entries(i).forEach((function(n){var t=o()(n,2),r=t[0],l=t[1];e.setOption(r,l)})),e.renderer.setShowGutter(l),e.resize()};const _e=function(e){var n=e.mode,t=e.theme,r=void 0===t?"textmate":t,o=e.value,l=e.onChange,a=e.showGutter,i=void 0===a||a,s=e.editorOptions,u=void 0===s?{}:s,f=e.implicitModel,d=e.autoFocusOnMount,h=void 0!==d&&d,p=(0,P.useRef)(null),b=(0,P.useRef)(null),g=(0,P.useMemo)((function(){return{mode:n,theme:r,showGutter:i,editorOptions:u,implicitModel:f,autoFocusOnMount:h}}),[n,r,i,u,f,h]);return(0,P.useEffect)((function(){var e=c().edit(p.current);return e.getSession().setValue(o||""),e.on("change",(function(){return l(e.getValue())})),Ce(e,g),b.current=e,g.autoFocusOnMount&&b.current.focus(),function(){return e.destroy()}}),[]),(0,P.useEffect)((function(){b.current&&Ce(b.current,g)}),[g]),(0,P.useEffect)((function(){b.current&&!x()(o)&&o!==b.current.getValue()&&b.current.getSession().setValue(o)}),[o]),(0,Pe.jsx)(Se,{ref:p})}},48078:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>c});var r=t(52817),o=t(41609),l=t.n(o),a=t(41291),i=t(85893);const c=function(e){var n=e.value,t=e.breakWords,o=(0,r._)(n),c=l()(o)?n:o.formatInternational();return(0,i.jsx)(a.Z,{href:"tel:".concat(n),target:"_blank",onClick:function(e){return e.stopPropagation()},label:c,breakWords:t})}},23710:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>re});var r=t(59713),o=t.n(r),l=t(72757),a=t(1024),i=t(86896),c=t(93913),s=t.n(c),u=t(34575),f=t.n(u),d=t(2205),h=t.n(d),p=t(78585),b=t.n(p),g=t(29754),m=t.n(g),v=t(11820),y=t(39269),x=t(96840),w=t(75528),k=t(52079),j=t(84184),O=t(40569),P=t(75460),S=t(65761),Z=t(53626),C=t(73043),_=t(16797),R=t(71297),E=t(55444),T=t(6672),L=t(18195),A=t(23132),N=t(67296),D=t(4175),M=t(21094),F=t(20211),I=t(51778),q=t(87388),H=t(89906),V=t(41831);function z(e){var n=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 t,r=m()(e);if(n){var o=m()(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return b()(this,t)}}var B=function(e){h()(t,e);var n=z(t);function t(){return f()(this,t),n.apply(this,arguments)}return s()(t)}(v.Z);B.builtinPlugins=[y.Z,x.Z,O.Z,P.Z,S.Z,Z.Z,C.Z,R.Z,_.Z,E.Z,T.Z,L.Z,w.Z,A.Z,N.Z,D.Z,M.Z,F.Z,I.Z,k.Z,q.Z,H.Z,V.Z,j.Z],B.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 $=B;var U,G=t(28655),W=t.n(G),Y=t(38205),K=t(56822),J=Y.ZP.div.withConfig({displayName:"StyledHtmlEditor"})(U||(U=W()(["\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,K.L)(e,"ckeditor")})),Q=t(85893);function X(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ee(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?X(Object(t),!0).forEach((function(n){o()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):X(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ne=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"}},te=function(e){var n=e.value,t=e.onChange,r=e.contentLang,o=e.ckEditorConfig,c=(0,i.Z)().locale,s=(0,a.useRef)(!1);return(0,Q.jsx)(J,{children:(0,Q.jsx)(l.CKEditor,{editor:$,config:ee({language:{ui:ne(c),content:r}},o),data:n,onChange:function(e,n){if(n.plugins.get("SourceEditing").isSourceEditingMode){if(!0===s.current)return;s.current=!0}var r=n.getData();t(r)}})})};te.defaultProps={value:"",contentLang:"de"};const re=te},59178:(e,n,t)=>{"use strict";t.r(n),t.d(n,{Icon:()=>q,default:()=>H});var r,o=t(59713),l=t.n(o),a=t(45697),i=t.n(a),c=t(6479),s=t.n(c),u=t(23636),f=t(93024),d=t(65735),h=t(73582),p=t(67814),b=t(27361),g=t.n(b),m=t(28655),v=t.n(m),y=t(38205).ZP.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(r||(r=v()([""]))),x=t(85893),w=["icon","style","hasFixedWidth"];function k(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function j(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?k(Object(t),!0).forEach((function(n){l()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):k(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}u.library.add(h.IJ7,d.IJ7,d.C65,d.kJo,d._tD,d.A35,d.mTx,d.ptq,d.g4A,d.r8p,d.Pk,d.g9M,d.Tab,h.Tab,d.NBC,d.eFW,d.acZ,d.u2A,d.gMD,d.cwv,d.w49,d.fUD,d.icc,d.ca9,d.Vmj,d.gSj,d.WFE,d.hQn,d.LEp,d.WV2,d.FU$,d.diR,h.diR,d.f8k,h.f8k,f.xYR,f.neY,f.AYu,f.kBj,f.hVS,f.dc_,f.Av$,d.xiG,d.gJF,d.j1w,d.WKO,d.wn1,d.b7W,d.YHc,d.ZC5,d.UO1,h.Fyj,d.Qj4,d.FL8,d.foy,d.u9C,d.Fuz,d.iV1,d.Kl4,d.nYk,d.sqG,d.RLE,d.XAH,d.Zrf,d.jMV,d.pL1,d.g6h,d.SJY,d.qmU,d.nek,d.Qy6,d.lH_,h.pL1,d.hVM,d.yOf,d.Xgz,d.Mzg,d.r6l,d.IwR,d.aJJ,h.Alc,d.dLO,d.ntl,d.Hw7,d.FYs,d.$36,d.fT7,d.ioP,d.Cw9,d.Ry6,d.C3l,d.a1i,d.jGC,d.IeV,d.A8,d.hG5,d.FVb,d.AxY,d.mAj,d.hGM,d.UkD,d.BDt,d.QzV,d.py1,d.cf$,d.byT,d.dT$,d.G_j,d.A4,d.ar8,d.nNP,d.yGT,d.ILF,d.rux,d.qbi);var O=function(e){var n=e.icon,t=e.style,r=e.hasFixedWidth,o=s()(e,w),l=n.includes(",")?n.replace(/\s+/,"").split(","):n,a=j({},g()(t,"color")&&{color:t.color}),i=Array.isArray(l)?l[1]:l;return(0,x.jsx)(y,{children:(0,x.jsx)(p.G,j(j(j({icon:l,style:t},a),{},{fixedWidth:r},o),{},{"data-testid":"icon-".concat(i)}))})};O.defaultProps={hasFixedWidth:!0};const P=O,S=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"]},"check-circle-full":{"id":"fas, check-circle","lib":"fa"},"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"]},"circle-full":{"id":"fas, circle","lib":"fa"},"circle-notch":{"id":"fa, circle-notch","lib":"fa"},"circle-notch-light":{"id":"fal, circle-notch","lib":"fa"},"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"},"pen-field":{"id":"fal, pen-field","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"},"floppy-disk-circle-xmark":{"id":"fal, floppy-disk-circle-xmark","lib":"fa"},"user":{"id":"fal, user","lib":"fa"},"suitcase":{"id":"fal, suitcase","lib":"fa"}}');var Z,C,_=["style"],R=["style"],E=["icon"];function T(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function L(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?T(Object(t),!0).forEach((function(n){l()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):T(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var A={logo:function(e){var n=e.style,t=s()(e,_);return(0,x.jsx)("svg",L(L(L({height:g()(n,"fontSize",20)},n),t),{},{"aria-hidden":"true",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:Z||(Z=(0,x.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){var n=e.style,t=s()(e,R);return(0,x.jsx)("svg",L(L(L({height:g()(n,"fontSize",20)},n),t),{},{"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:C||(C=(0,x.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"}))}))}},N=function(e){var n=e.icon,t=s()(e,E);return A[n](t)};N.propTypes={icon:i().string.isRequired};const D=N;function M(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function F(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?M(Object(t),!0).forEach((function(n){l()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):M(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var I={fa:function(e,n){return(0,x.jsx)(P,F(F({},n),{},{icon:e.id}))},toc:function(e,n){return(0,x.jsx)(D,F(F({},n),{},{icon:e.id,"data-testid":"icon-".concat(e.id)}))}},q=function(e){var n=S[e.icon];if(!n)return null;var t=I[n.lib];return t?t(n,e):null};q.propTypes={icon:i().string.isRequired,style:i().objectOf(i().string)};const H=q},81251:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});var r=t(59713),o=t.n(r),l=t(88162),a=t(85893);function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function c(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?i(Object(t),!0).forEach((function(n){o()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const s=function(e){var n=e.size,t=e.style,r=e.icon;return(0,a.jsx)(l.Z,c(c({},t),{},{style:{fontSize:n},spin:!0,icon:r||"circle-notch"}))}},126:(e,n,t)=>{"use strict";var r=t(51235);function o(){}function l(){}l.resetWarningCache=o,e.exports=function(){function e(e,n,t,o,l,a){if(a!==r){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function n(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:l,resetWarningCache:o};return t.PropTypes=t,t}},94662:(e,n,t)=>{e.exports=t(126)()},51235:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]);