tocco-devcon 1.0.49-hotfix33.32 → 1.0.49-hotfix33.34
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,11 @@
|
|
|
1
|
+
1.0.49-hotfix33.34
|
|
2
|
+
- able to select more than 25 entries
|
|
3
|
+
|
|
4
|
+
1.0.49-hotfix33.33
|
|
5
|
+
- editable sql statements
|
|
6
|
+
- copy changelog to clipboard
|
|
7
|
+
- copy only changesets function
|
|
8
|
+
|
|
1
9
|
1.0.49-hotfix33.32
|
|
2
10
|
- fix alignment of input fields within input edit table
|
|
3
11
|
- fix fulltext search
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunktocco_devcon=self.webpackChunktocco_devcon||[]).push([[85],{74232:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>zt});var r,o,l=t(80467),a=t(26881),i=t(34206),c=t(46458),s=t(48479),u=t(1024),f=t.n(u),d=t(2678),h=t(8342),p=t(65035),g=t(28655),b=t.n(g),m=t(32678),v=t(51032),y=m.ZP.input.withConfig({displayName:"StyledInput"})(r||(r=b()(["\n && {\n ","\n }\n"])),v.k9),x=m.ZP.div.withConfig({displayName:"StyledInputWrapper"})(o||(o=b()(["\n && {\n ","\n }\n"])),v.yP),w=t(85893);const k=function(e){var n=e.fragments,t=e.selectedFragments,r=e.disabled,o=e.setFragmentSelected;return(0,w.jsx)(w.Fragment,{children:n.map((function(e){return(0,w.jsxs)("div",{children:[(0,w.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,w.jsx)(i.ZP.Label,{for:e.id,children:e.label})]},e.id);var n}))})};const j=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,f=e.loadModules,g=e.loadFragments,b=e.setSelectedModules,m=e.setFragmentSelected,v=e.setVersion,j=e.setIgnoreErrors;(0,u.useEffect)((function(){0===t.length&&f(),0===o.length&&g()}),[]);return(0,w.jsxs)("form",{onSubmit:function(e){e.preventDefault(),s()},children:[(0,w.jsx)(d.Z,{label:"Modules (none selected => all)",hasValue:r.length>0,children:(0,w.jsx)(h.Z,{options:t,value:r,onChange:b,isMulti:!0,immutable:c})}),(0,w.jsx)(d.Z,{label:"Fragments",fixLabel:!0,children:(0,w.jsx)(k,{fragments:o,selectedFragments:l,disabled:c,setFragmentSelected:m})}),(0,w.jsx)(d.Z,{label:"Version",hasValue:n.length>0,children:(0,w.jsx)(x,{children:(0,w.jsx)(y,{value:n,onChange:function(e){var n=e.target.value.replaceAll(/[^\d\\.]/g,"");v(n)},disabled:c})})}),(0,w.jsx)(d.Z,{label:"Ignore errors",fixLabel:!0,children:(0,w.jsx)("input",{type:"checkbox",checked:a,onChange:function(e){j(e.target.checked)},disabled:c})}),(0,w.jsx)(p.Z,{type:"submit",label:"Execute",look:"raised",pending:i,disabled:c})]})};var O={loadModules:s.H6,loadFragments:s.VL,setSelectedModules:s.pi,setFragmentSelected:s.LO,setVersion:s.xO,setIgnoreErrors:s.Pm,executeDbRefactoring:s.KK};const Z=(0,c.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}}),O)(j);const P=function(e){var n=e.language,t=e.running,r=e.disabled,o=e.executeLanguageUpgrade,l=e.setLanguage;return(0,w.jsxs)("form",{onSubmit:function(e){e.preventDefault(),o()},children:[(0,w.jsx)(d.Z,{label:"Language",hasValue:n.length>0,children:(0,w.jsx)(x,{children:(0,w.jsx)(y,{value:n,onChange:function(e){l(e.target.value)},disabled:r})})}),(0,w.jsx)(p.Z,{type:"submit",label:"Execute language upgrade",look:"raised",pending:t,disabled:r})]})};var S={setLanguage:s.m0,executeLanguageUpgrade:s.b7};const _=(0,c.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}}),S)(P);var C,R,E,T;const L=function(){return(0,w.jsxs)(w.Fragment,{children:[C||(C=(0,w.jsx)(i.ZP.H1,{children:"Database Refactoring"})),R||(R=(0,w.jsx)(Z,{})),E||(E=(0,w.jsx)(i.ZP.H1,{children:"Language Upgrade"})),T||(T=(0,w.jsx)(_,{}))]})};var D,A,N,M,q,I,F,H=t(63038),z=t.n(H),V=t(30759),B={ERROR:"#a00"},$=m.ZP.div.withConfig({displayName:"StyledLogTable"})(D||(D=b()(["\n display: grid;\n gap: 1px;\n"]))),U=m.ZP.div.withConfig({displayName:"StyledLogEntry"})(A||(A=b()(["\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(B[e.level]||"#ddd",";")})),W=m.ZP.span.withConfig({displayName:"StyledMessage"})(N||(N=b()(["\n grid-column: 1 / 3;\n ","\n\n && {\n ","\n }\n"])),(function(e){return e.expandable&&"cursor: pointer;"}),(0,V.Z)()),G=m.ZP.span.withConfig({displayName:"StyledTime"})(M||(M=b()(["\n grid-column-start: 3;\n text-align: right;\n\n && {\n ","\n }\n"])),(0,V.Z)()),Y=m.ZP.div.withConfig({displayName:"StyledExceptionDetails"})(q||(q=b()(["\n margin-top: 1em;\n"]))),K=m.ZP.div.withConfig({displayName:"StyledDetailMessage"})(I||(I=b()(["\n margin-bottom: 1em;\n\n && {\n ","\n }\n"])),(0,V.Z)()),Q=m.ZP.div.withConfig({displayName:"StyledStackTrace"})(F||(F=b()(["\n && {\n ","\n }\n"])),(0,V.Z)()),J=function(e){return"".concat(e.declaringClass,".").concat(e.methodName,":").concat(e.lineNumber)};const X=function(e){var n=e.exception;return(0,w.jsxs)(Y,{children:[(0,w.jsx)(K,{children:n.detailMessage}),(0,w.jsx)(Q,{children:n.stackTrace.map((function(e,n){return(0,w.jsx)("div",{children:J(e)},n)}))})]})};const ee=function(e){var n=e.entry,t=(0,u.useState)(!1),r=z()(t,2),o=r[0],l=r[1];return(0,w.jsxs)(U,{level:n.level,children:[(0,w.jsx)(W,{onClick:function(){n.exception&&l(!o)},expandable:!!n.exception,children:n.message}),(0,w.jsx)(G,{children:new Date(n.timestamp).toLocaleString()}),o&&(0,w.jsx)(X,{exception:n.exception})]})};var ne;const te=function(e){var n=e.entries;return(0,w.jsx)($,{children:n.length>0?n.map((function(e){return(0,w.jsx)(ee,{entry:e},e.key)})):ne||(ne=(0,w.jsx)(i.ZP.Span,{children:"No entries so far."}))})};const re=(0,c.connect)((function(e){return{entries:e.log.entries}}),{})(te);var oe,le;const ae=function(){return(0,w.jsxs)(w.Fragment,{children:[oe||(oe=(0,w.jsx)(i.ZP.H1,{children:"Log"})),le||(le=(0,w.jsx)(re,{}))]})};var ie,ce,se=t(49478),ue=m.ZP.div.withConfig({displayName:"StyledCheckEventGroup"})(ie||(ie=b()(["\n margin: 1em 0;\n border: 1px solid #ddd;\n border-radius: 5px;\n padding: 1em;\n"]))),fe=m.ZP.div.withConfig({displayName:"StyledGroupHeading"})(ce||(ce=b()(["\n margin-bottom: 1em;\n"])));function de(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 he(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 he(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 he(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 pe=function(e){var n=e.type,t=e.events,r=e.selection,o=e.setSelected,l=function(e,n){var t,r=de(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,w.jsxs)(ue,{children:[(0,w.jsxs)(fe,{children:[(0,w.jsx)("input",{type:"checkbox",id:"checkbox-"+n,checked:l,onChange:function(e){o(t.map((function(e){return e.id})),e.target.checked)}}),(0,w.jsx)(i.ZP.Label,{for:"checkbox-"+n,children:(0,w.jsxs)(i.ZP.B,{children:[n," (",t.length,")"]})})]}),t.map((function(e){return(0,w.jsxs)("div",{children:[(0,w.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,w.jsx)(i.ZP.Label,{for:"checkbox-"+e.id,children:e.label})]},e.id);var n}))]})};const ge=function(e){var n=e.checkEvents,t=e.selection,r=e.setSelected,o=e.generateSql,l=e.generateChangelog;return(0,w.jsxs)("div",{children:[Object.keys(n).length>0&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsxs)(p.Z,{look:"raised",onClick:o,disabled:0===t.size,children:["Generate SQL ",t.size>0&&"(".concat(t.size,")")]}),(0,w.jsxs)(p.Z,{look:"raised",onClick:l,disabled:0===t.size,children:["Generate Changelog ",t.size>0&&"(".concat(t.size,")")]})]}),(0,w.jsx)("div",{children:Object.keys(n).sort().map((function(e){return(0,w.jsx)(pe,{type:e,events:n[e],selection:t,setSelected:r},e)}))})]})};var be={setSelected:se.Pq,generateSql:se.$i,generateChangelog:se._w};const me=(0,c.connect)((function(e){return{checkEvents:e.modelValidation.checkEvents,selection:e.modelValidation.selection}}),be)(ge);var ve,ye,xe,we=m.ZP.div.withConfig({displayName:"StyledProgressBar"})(ve||(ve=b()(["\n width: 100%;\n border: 1px solid #ddd;\n height: 20px;\n position: relative;\n margin: 1em 0;\n"]))),ke=m.ZP.div.withConfig({displayName:"StyledInnerProgress"})(ye||(ye=b()(["\n position: absolute;\n background-color: #ddd;\n height: 100%;\n width: ","%;\n"])),(function(e){return e.percentage})),je=m.ZP.div.withConfig({displayName:"StyledProgressText"})(xe||(xe=b()(["\n position: absolute;\n top: 0;\n width: 100%;\n text-align: center;\n\n && {\n ","\n }\n"])),(0,V.Z)()),Oe=function(e){return e.result?e.result:e.running?e.total?"".concat(Ze(e),"%"):"Preparing...":"Not started"},Ze=function(e){return e.running&&e.total?Math.round(e.currentIndex/e.total*100):0};const Pe=function(e){var n=e.state;return(0,w.jsxs)(we,{children:[(0,w.jsx)(ke,{percentage:Ze(n)}),(0,w.jsx)(je,{children:Oe(n)})]})};const Se=function(e){var n=e.state,t=e.startValidation;return(0,w.jsxs)("div",{children:[(0,w.jsx)(p.Z,{look:"raised",pending:n.running,disabled:n.running,onClick:t,children:"Execute"}),(0,w.jsx)(Pe,{state:n})]})};var _e={startValidation:se.YV};const Ce=(0,c.connect)((function(e){return{state:e.modelValidation.state}}),_e)(Se);var Re,Ee,Te;const Le=function(){return(0,w.jsxs)(w.Fragment,{children:[Re||(Re=(0,w.jsx)(i.ZP.H1,{children:"Model Validation"})),Ee||(Ee=(0,w.jsx)(Ce,{})),Te||(Te=(0,w.jsx)(me,{}))]})};var De=t(22541),Ae=t(46927),Ne=t(57557),Me=t.n(Ne),qe=t(2091),Ie=t(15103),Fe=t(88162),He=t(84541),ze=t(81084),Ve=t(75502),Be=t(87486),$e=t(95395);function Ue(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 We(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Ue(Object(t),!0).forEach((function(n){(0,Ae.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ue(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Ge="yyyy-MM-dd",Ye=function(e){return(0,He.Z)(e,Ge)?(0,ze.default)(e,Ge,new Date):(0,He.Z)(e,"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")||(0,He.Z)(e,"yyyy-MM-dd'T'HH:mm:ss.SSSxxx")?(0,Ve.default)(new Date(e)):null};const Ke={number:{icons:{range:"square-plus",single:"square-minus"}},integer:{icons:{range:"square-plus",single:"square-minus"}},datetime:{type:"date",icons:{range:"calendar-plus",single:"calendar-minus"},toRange:function(e){return{from:e?Ye(e).toISOString():null,to:e?(0,Be.default)(Ye(e),1).toISOString():null,isRangeValue:!0}},fromRange:function(e){return e&&e.from?(0,$e.default)(new Date(e.from),Ge):e&&e.to?(0,$e.default)(new Date(e.to),Ge):null},getToOptions:function(e,n){return We(We({},e),{},{datePickerOptions:We({minDate:n},null==e?void 0:e.datePickerOptions)})},getFromOptions:function(e,n){return We(We({},e),{},{datePickerOptions:We({maxDate:n},null==e?void 0:e.datePickerOptions)})}},date:{icons:{range:"calendar-plus",single:"calendar-minus"},getToOptions:function(e,n){return We(We({},e),{},{datePickerOptions:We({minDate:n},null==e?void 0:e.datePickerOptions)})},getFromOptions:function(e,n){return We(We({},e),{},{datePickerOptions:We({maxDate:n},null==e?void 0:e.datePickerOptions)})}}};var Qe,Je,Xe,en,nn,tn,rn,on=t(91411),ln=t(7281),an=m.ZP.div.withConfig({displayName:"StyledInputWrapper"})(Qe||(Qe=(0,on.Z)(["\n width: calc(100% - 20px); // subtract extender width\n"]))),cn=m.ZP.div.withConfig({displayName:"StyledInputItemWrapper"})(Je||(Je=(0,on.Z)(["\n display: inline-block;\n width: 50%;\n\n * {\n text-align: center;\n }\n"]))),sn=m.ZP.div.withConfig({displayName:"StyledIconWrapper"})(Xe||(Xe=(0,on.Z)(["\n font-size: ",";\n display: flex;\n align-items: center;\n"])),ln.Z.font(-2.7)),un=m.ZP.div.withConfig({displayName:"StyledRange"})(en||(en=(0,on.Z)(["\n display: flex;\n"]))),fn=m.ZP.div.withConfig({displayName:"StyledInput"})(nn||(nn=(0,on.Z)(["\n flex: 1;\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n width: inherit;\n"]))),dn=m.ZP.div.withConfig({displayName:"StyledExtender"})(tn||(tn=(0,on.Z)(["\n display: flex;\n align-items: center;\n position: relative;\n left: 2px;\n z-index: 1;\n"])));function hn(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 pn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?hn(Object(t),!0).forEach((function(n){(0,Ae.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):hn(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const gn=function(e){var n,t,r=e.value,o=e.events,l=e.readOnly,a=e.type,i=e.options,c=e.fromText,s=e.toText,f=(null==r?void 0:r.isRangeValue)||!1,d=(0,u.useRef)(r);d.current=r;var h=(0,u.useMemo)((function(){return pn(pn({},o),{},{onChange:function(e){o.onChange(e)}})}),[o]),p={onChange:function(e){o.onChange(pn(pn({},d.current),{},{to:e}))}},g={onChange:function(e){o.onChange(pn(pn({},d.current),{},{from:e}))}},b=Ke[a],m=(null==b||null===(n=b.icons)||void 0===n?void 0:n.range)||"chevron-down",v=(null==b||null===(t=b.icons)||void 0===t?void 0:t.single)||"chevron-left",y=(null==b?void 0:b.type)||a;return(0,w.jsxs)(un,{children:[(0,w.jsx)(an,{children:f?(0,w.jsxs)(fn,{children:[(0,w.jsx)(cn,{children:(0,w.jsx)(Ie.Z,pn(pn({},e),{},{options:function(e,n){return null!=b&&b.getFromOptions?b.getFromOptions(e,n):e}(i,r.to),value:(null==r?void 0:r.from)||null,events:g,placeholder:c}))}),rn||(rn=(0,w.jsx)(sn,{children:(0,w.jsx)(Fe.Z,{icon:"horizontal-rule"})})),(0,w.jsx)(cn,{children:(0,w.jsx)(Ie.Z,pn(pn({},e),{},{options:function(e,n){return null!=b&&b.getToOptions?b.getToOptions(e,n):e}(i,r.from),value:(null==r?void 0:r.to)||null,events:p,placeholder:s}))})]}):(0,w.jsx)(Ie.Z,pn(pn({type:y},Me()(e,["type"])),{},{events:h}))}),(0,w.jsx)(dn,{children:(0,w.jsx)(qe.Z,{disabled:l,icon:f?v:m,onClick:function(){var e=f?function(e){return null!=b&&b.fromRange?b.fromRange(e):(null==e?void 0:e.from)||(null==e?void 0:e.to)||null}(r):function(e){return null!=b&&b.toRange?b.toRange(e):{from:e,to:e,isRangeValue:!0}}(r);o.onChange(e)}})})]})};const bn=function(e){var n=e.active,t=e.elapsed,r=e.setActive,o=e.setElapsed;return(0,w.jsxs)("div",{children:[(0,w.jsx)(d.Z,{label:"Active",fixLabel:!0,children:(0,w.jsx)("input",{type:"checkbox",checked:n,onChange:function(e){r(e.target.checked)}})}),(0,w.jsx)(d.Z,{label:"Elapsed",hasValue:!!t,children:(0,w.jsx)(gn,{fromText:"from",toText:"to",type:"number",value:t,options:{postPointDigits:0,fixedDecimalScale:!0},events:{onChange:function(e){o(e)}}})})]})};var mn={setActive:De.Iv,setElapsed:De.uI};const vn=(0,c.connect)((function(e){return{active:e.sqlLog.active,elapsed:e.sqlLog.elapsed}}),mn)(bn);var yn,xn,wn,kn,jn,On,Zn,Pn={ERROR:"#a00"},Sn=m.ZP.div.withConfig({displayName:"StyledLogTable"})(yn||(yn=b()(["\n display: grid;\n gap: 1px;\n"]))),_n=m.ZP.div.withConfig({displayName:"StyledLogEntry"})(xn||(xn=b()(["\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(Pn[e.level]||"#ddd",";")})),Cn=m.ZP.span.withConfig({displayName:"StyledStatementHeader"})(wn||(wn=b()(["\n grid-column: 1 / 3;\n ","\n\n && {\n ","\n }\n"])),(function(e){return e.expandable&&"cursor: pointer;"}),(0,V.Z)()),Rn=m.ZP.span.withConfig({displayName:"StyledStatement"})(kn||(kn=b()(["\n grid-column: 1 / 3;\n margin-top: 1em;\n\n && {\n ","\n }\n"])),(0,V.Z)()),En=m.ZP.span.withConfig({displayName:"StyledTime"})(jn||(jn=b()(["\n grid-row-start: 1;\n grid-column-start: 3;\n text-align: right;\n\n && {\n ","\n }\n"])),(0,V.Z)()),Tn=m.ZP.span.withConfig({displayName:"StyledElapsedContainer"})(On||(On=b()(["\n grid-column-start: 3;\n text-align: right;\n margin-top: 1em;\n\n && {\n ","\n }\n"])),(0,V.Z)()),Ln=m.ZP.span.withConfig({displayName:"StyledElapsed"})(Zn||(Zn=b()(["\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 Dn=function(e){var n=e.entry,t=(0,u.useState)(!1),r=z()(t,2),o=r[0],l=r[1],a=n.sql.length>100,i=a?n.sql.substr(0,100)+"...":n.sql;return(0,w.jsxs)(_n,{children:[(0,w.jsx)(Cn,{expandable:a,onClick:function(){a&&l(!o)},children:i}),o&&(0,w.jsx)(Rn,{children:n.sql}),(0,w.jsx)(En,{children:new Date(n.timestamp.iMillis).toLocaleString()}),(0,w.jsx)(Tn,{children:(0,w.jsxs)(Ln,{elapsed:n.elapsed,children:[n.elapsed," ms"]})})]})};var An;const Nn=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,w.jsx)(Sn,{children:n.length>0?n.map((function(e){return(0,w.jsx)(Dn,{entry:e},e.key)})):An||(An=(0,w.jsx)(i.ZP.Span,{children:"No entries so far."}))})};const Mn=(0,c.connect)((function(e){return{entries:e.sqlLog.entries,elapsed:e.sqlLog.elapsed}}),{})(Nn);var qn,In,Fn;const Hn=function(){return(0,w.jsxs)(w.Fragment,{children:[qn||(qn=(0,w.jsx)(i.ZP.H1,{children:"SQL Log"})),In||(In=(0,w.jsx)(vn,{})),Fn||(Fn=(0,w.jsx)(Mn,{}))]})};var zn=t(88601),Vn=t(27361),Bn=t.n(Vn);function $n(e,n){return $n=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},$n(e,n)}function Un(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,$n(e,n)}function Wn(){return Wn=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},Wn.apply(this,arguments)}function Gn(e){return"/"===e.charAt(0)}function Yn(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 Kn=function(e,n){void 0===n&&(n="");var t,r=e&&e.split("/")||[],o=n&&n.split("/")||[],l=e&&Gn(e),a=n&&Gn(n),i=l||a;if(e&&Gn(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?Yn(o,u):".."===f?(Yn(o,u),s++):s&&(Yn(o,u),s--)}if(!i)for(;s--;s)o.unshift("..");!i||""===o[0]||o[0]&&Gn(o[0])||o.unshift("");var d=o.join("/");return t&&"/"!==d.substr(-1)&&(d+="/"),d};var Qn=t(2177);function Jn(e){return"/"===e.charAt(0)?e:"/"+e}function Xn(e){return"/"===e.charAt(0)?e.substr(1):e}function et(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 nt(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function tt(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 rt(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=Wn({},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=Kn(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function ot(){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 lt=!("undefined"==typeof window||!window.document||!window.document.createElement);function at(e,n){n(window.confirm(e))}var it="popstate",ct="hashchange";function st(){try{return window.history.state||{}}catch(e){return{}}}function ut(e){void 0===e&&(e={}),lt||(0,Qn.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?at:c,u=l.keyLength,f=void 0===u?6:u,d=e.basename?nt(Jn(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=et(l,d)),rt(l,r,t)}function p(){return Math.random().toString(36).substr(2,f)}var g=ot();function b(e){Wn(_,e),_.length=t.length,g.notifyListeners(_.location,_.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(st()))}var y=!1;function x(e){if(y)y=!1,b();else{g.confirmTransitionTo(e,"POP",s,(function(n){n?b({action:"POP",location:e}):function(e){var n=_.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(st()),k=[w.key];function j(e){return d+tt(e)}function O(e){t.go(e)}var Z=0;function P(e){1===(Z+=e)&&1===e?(window.addEventListener(it,m),o&&window.addEventListener(ct,v)):0===Z&&(window.removeEventListener(it,m),o&&window.removeEventListener(ct,v))}var S=!1;var _={length:t.length,action:"POP",location:w,createHref:j,push:function(e,n){var o="PUSH",l=rt(e,n,p(),_.location);g.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(_.location.key),u=k.slice(0,s+1);u.push(l.key),k=u,b({action:o,location:l})}else window.location.href=n}}))},replace:function(e,n){var o="REPLACE",l=rt(e,n,p(),_.location);g.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(_.location.key);-1!==s&&(k[s]=l.key),b({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=g.setPrompt(e);return S||(P(1),S=!0),function(){return S&&(S=!1,P(-1)),n()}},listen:function(e){var n=g.appendListener(e);return P(1),function(){P(-1),n()}}};return _}var ft="hashchange",dt={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+Xn(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:Xn,decodePath:Jn},slash:{encodePath:Jn,decodePath:Jn}};function ht(e){var n=e.indexOf("#");return-1===n?e:e.slice(0,n)}function pt(){var e=window.location.href,n=e.indexOf("#");return-1===n?"":e.substring(n+1)}function gt(e){window.location.replace(ht(window.location.href)+"#"+e)}function bt(e){void 0===e&&(e={}),lt||(0,Qn.Z)(!1);var n=window.history,t=(window.navigator.userAgent.indexOf("Firefox"),e),r=t.getUserConfirmation,o=void 0===r?at:r,l=t.hashType,a=void 0===l?"slash":l,i=e.basename?nt(Jn(e.basename)):"",c=dt[a],s=c.encodePath,u=c.decodePath;function f(){var e=u(pt());return i&&(e=et(e,i)),rt(e)}var d=ot();function h(e){Wn(Z,e),Z.length=n.length,d.notifyListeners(Z.location,Z.action)}var p=!1,g=null;function b(){var e,n,t=pt(),r=s(t);if(t!==r)gt(r);else{var l=f(),a=Z.location;if(!p&&(n=l,(e=a).pathname===n.pathname&&e.search===n.search&&e.hash===n.hash))return;if(g===tt(l))return;g=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=Z.location,t=x.lastIndexOf(tt(n));-1===t&&(t=0);var r=x.lastIndexOf(tt(e));-1===r&&(r=0);var o=t-r;o&&(p=!0,w(o))}(e)}))}}(l)}}var m=pt(),v=s(m);m!==v&>(v);var y=f(),x=[tt(y)];function w(e){n.go(e)}var k=0;function j(e){1===(k+=e)&&1===e?window.addEventListener(ft,b):0===k&&window.removeEventListener(ft,b)}var O=!1;var Z={length:n.length,action:"POP",location:y,createHref:function(e){var n=document.querySelector("base"),t="";return n&&n.getAttribute("href")&&(t=ht(window.location.href)),t+"#"+s(i+tt(e))},push:function(e,n){var t="PUSH",r=rt(e,void 0,void 0,Z.location);d.confirmTransitionTo(r,t,o,(function(e){if(e){var n=tt(r),o=s(i+n);if(pt()!==o){g=n,function(e){window.location.hash=e}(o);var l=x.lastIndexOf(tt(Z.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=rt(e,void 0,void 0,Z.location);d.confirmTransitionTo(r,t,o,(function(e){if(e){var n=tt(r),o=s(i+n);pt()!==o&&(g=n,gt(o));var l=x.indexOf(tt(Z.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 Z}t(94662);function mt(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}f().Component;f().Component;var vt=function(e,n){return"function"==typeof e?e(n):e},yt=function(e,n){return"string"==typeof e?rt(e,null,null,n):e},xt=function(e){return e},wt=f().forwardRef;void 0===wt&&(wt=xt);var kt=wt((function(e,n){var t=e.innerRef,r=e.navigate,o=e.onClick,l=mt(e,["innerRef","navigate","onClick"]),a=l.target,i=Wn({},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=xt!==wt&&n||t,f().createElement("a",i)}));var jt=wt((function(e,n){var t=e.component,r=void 0===t?kt:t,o=e.replace,a=e.to,i=e.innerRef,c=mt(e,["component","replace","to","innerRef"]);return f().createElement(l.s6.Consumer,null,(function(e){e||(0,Qn.Z)(!1);var t=e.history,l=yt(vt(a,e.location),e.location),s=l?t.createHref(l):"",u=Wn({},c,{href:s,navigate:function(){var n=vt(a,e.location),r=tt(e.location)===tt(yt(n));(o||r?t.replace:t.push)(n)}});return xt!==wt?u.ref=n||i:u.innerRef=i,f().createElement(r,u)}))})),Ot=function(e){return e},Zt=f().forwardRef;void 0===Zt&&(Zt=Ot);Zt((function(e,n){var t=e["aria-current"],r=void 0===t?"page":t,o=e.activeClassName,a=void 0===o?"active":o,i=e.activeStyle,c=e.className,s=e.exact,u=e.isActive,d=e.location,h=e.sensitive,p=e.strict,g=e.style,b=e.to,m=e.innerRef,v=mt(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return f().createElement(l.s6.Consumer,null,(function(e){e||(0,Qn.Z)(!1);var t=d||e.location,o=yt(vt(b,t),t),y=o.pathname,x=y&&y.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),w=x?(0,l.LX)(t.pathname,{path:x,exact:s,sensitive:h,strict:p}):null,k=!!(u?u(w,t):w),j="function"==typeof c?c(k):c,O="function"==typeof g?g(k):g;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,a),O=Wn({},O,i));var Z=Wn({"aria-current":k&&r||null,className:j,style:O,to:o},v);return Ot!==Zt?Z.ref=n||m:Z.innerRef=m,f().createElement(jt,Z)}))}));var Pt,St=t(58664);const _t=(0,m.ZP)(jt)(Pt||(Pt=(0,on.Z)(["\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,V.Z)(),zn.Z.color("secondary"),zn.Z.color("text"),zn.Z.color("secondaryLight"),(function(e){return e.neutral?"none":"underline"}),(function(e){var n=e.neutral,t=e.theme;return n?(0,St.HO)(Bn()(t,"colors.text"),2):(0,St.HO)(Bn()(t,"colors.secondary"),2)}),(function(e){return e.neutral?"none":"underline"}));var Ct,Rt,Et,Tt,Lt,Dt,At,Nt,Mt,qt,It=m.ZP.div.withConfig({displayName:"StyledDevCon"})(Ct||(Ct=b()(["\n && {\n background-color: ",";\n padding: ",";\n display: flex;\n flex-direction: column;\n flex: 1;\n overflow: auto;\n }\n"])),zn.Z.color("paper"),ln.Z.space(0)),Ft=m.ZP.div.withConfig({displayName:"StyledNavigation"})(Rt||(Rt=b()(["\n display: flex;\n"]))),Ht=(0,m.ZP)(_t).withConfig({displayName:"StyledRouterLink"})(Et||(Et=b()(["\n padding: 1em;\n background-color: #ddd;\n border-radius: 5px;\n margin: 5px;\n"])));const zt=function(){return(0,w.jsxs)(It,{children:[Tt||(Tt=(0,w.jsx)(a.Z.Notifications,{})),Lt||(Lt=(0,w.jsx)(i.ZP.Span,{children:"Tocco Developer Console"})),Dt||(Dt=(0,w.jsxs)(Ft,{children:[(0,w.jsx)(Ht,{to:"/log",children:"Log"}),(0,w.jsx)(Ht,{to:"/modelvalidation",children:"Model Validation"}),(0,w.jsx)(Ht,{to:"/dbrefactoring",children:"DB Refactoring"}),(0,w.jsx)(Ht,{to:"/sqllog",children:"SQL Log"})]})),(0,w.jsxs)(l.rs,{children:[(0,w.jsx)(l.AW,{path:"/",exact:!0,render:function(){return(0,w.jsx)(l.l_,{to:{pathname:"/log"}})}}),(0,w.jsx)(l.AW,{path:"/log",exact:!0,render:function(){return At||(At=(0,w.jsx)(ae,{}))}}),(0,w.jsx)(l.AW,{path:"/dbrefactoring",exact:!0,render:function(){return Nt||(Nt=(0,w.jsx)(L,{}))}}),(0,w.jsx)(l.AW,{path:"/modelvalidation",exact:!0,render:function(){return Mt||(Mt=(0,w.jsx)(Le,{}))}}),(0,w.jsx)(l.AW,{path:"/sqllog",exact:!0,render:function(){return qt||(qt=(0,w.jsx)(Hn,{}))}})]})]})}},24295:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>xe});var r=t(68957),o=t(91411),l=t(86249),a=t.n(l),i=(t(58900),t(78634)),c=t(84100),s=t(60131),u=t(48230),f=t(64952),d=t(469),h=t(81896),p=t(46940),g=t(27361),b=t.n(g),m=t(14293),v=t.n(m),y=t(13218),x=t.n(y),w=t(47037),k=t.n(w),j=t(1024),O=t(32678),Z=(t(39335),t(28212),t(6488),t(32510),t(79657),t(20844),t(41030),t(98827),t(37363),t(53299),t(54159)),P=function(e){return Z.Z.executeRequest("rest/".concat(e))},S=function(e){return 200===e.status?e.json():null},_=t(44822),C=t(11259),R=t(32208),E=t(99357),T=t(19241),L=(t(70646),t(1469)),D=t.n(L),A=t(30236),N=t.n(A),M=["==","!=","<=",">=","<",">","~="],q=["true","false","null"],I=["string","long","serial","bool","boolean","double","float","time","timestamp","char","varchar","date","datetime"],F=["now_date","yesterday_date","tomorrow_date","today_date","now_start","yesterday_start","tomorrow_start","today_start","now","yesterday","tomorrow","today","currentUsername","currentUser","currentBu"],H=["in","dateadd","datetimeadd","duedate","birthdayin","fulltext","likeall","distance","inboundingbox"];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=(0,T.Z)(e);if(n){var o=(0,T.Z)(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return(0,E.Z)(this,t)}}const V=function(e){return function(n){(0,R.Z)(r,n);var t=z(r);function r(){var n;(0,C.Z)(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(H.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(M.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(F.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"constant.language",regex:"(".concat(q.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"support.type",regex:"(".concat(I.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=N()(n.$rules,l,(function(e,n){return D()(e)?e.concat(n):void 0})),n.normalizeRules(),n}return(0,_.Z)(r)}(a().require("ace/mode/text_highlight_rules").TextHighlightRules)};function B(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=(0,T.Z)(e);if(n){var o=(0,T.Z)(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return(0,E.Z)(this,t)}}var $=function(e){(0,R.Z)(t,e);var n=B(t);function t(){var e;(0,C.Z)(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(0,_.Z)(t)}(a().require("ace/mode/text_highlight_rules").TextHighlightRules),U=function(e){(0,R.Z)(t,e);var n=B(t);function t(){var e;(0,C.Z)(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($,"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(V(),"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=N()(e.$rules,i,(function(e,n){return D()(e)?e.concat(n):void 0})),e.normalizeRules(),e}return(0,_.Z)(t)}(a().require("ace/mode/html_highlight_rules").HtmlHighlightRules),W=t(52902),G=t(45915),Y=a().require("ace/token_iterator").TokenIterator,K=function(e){return e?e.type.substring(e.type.lastIndexOf(".")+1):null},Q=function(e,n){return K(e.getCurrentToken())===n},J=function(e){if(Q(e,"model")&&e.stepBackward(),(Q(e,"field")||Q(e,"relation"))&&e.stepBackward(),!Q(e,"chaining"))return null;if(e.stepBackward(),Q(e,"model")){var n=e.getCurrentToken();return e.stepBackward(),e.stepBackward(),n?n.value.trim():null}return null},X=function(e,n){for(;!Q(e,n);)if(!e.stepBackward())return!1;return!0},ee=function(e,n){return Q(e,"rparen")?1:n>0&&Q(e,"lparen")?(e.stepBackward(),-1):0},ne=function(e){for(var n=0;e.getCurrentToken();){if(0===n&&Q(e,"where")){var t=e.stepBackward();return t?[t.value.trim()].concat((0,G.Z)(re(e))):[]}if(Q(e,"order_by")){if(X(e,"find")){var r=e.stepForward();return r?r.value.trim():[]}return[]}if(n+=ee(e,n),!e.stepBackward())return null}return null},te=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},re=function(e){return te(e,J)},oe=function(e){return te(e,ne)},le=1e3,ae=function(e,n,t){var r=function(e,n){if(n){var t=oe(e());return{baseModel:n,modelScope:(0,W.Z)(t).slice(0)}}var r=oe(e()),o=(0,W.Z)(r);return{baseModel:o[0],modelScope:o.slice(1)}}(e,t),o=r.baseModel,l=r.modelScope;if(o){var a=re(e()),i=[].concat((0,G.Z)(l),(0,G.Z)(a)).map((function(e){return"rel".concat(e)}));(function(e){var n=(0,W.Z)(e),t=n[0],r=n.slice(1);return P(function(e,n){var t=n.length>0?"/resolve?path="+n.join("."):"";return"entities/".concat(e,"/model").concat(t)}(t,r)).then(S).then((function(e){if(!e)return[];var n=e.fields||[],t=e.relations||[];return[].concat((0,G.Z)(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}))),(0,G.Z)(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((0,G.Z)(i))).then((function(e){var t=e.map((function(e){return{caption:e.label,value:e.value,meta:e.meta,score:le}}));n(null,t)})).catch((function(e){return n(e)}))}},ie=function(e,n){return n?"".concat(e," (").concat(n,")"):e},ce=function(e){return P("entities").then(S).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:ie(n,t),value:n,score:le}}));e(null,t)})).catch((function(n){return e(n)}))},se=function(){return H.map((function(e){return e.toUpperCase()})).map((function(e){return{caption:e,value:"".concat(e,"()"),meta:"function",score:970}}))};const ue=function(e){return{getCompletions:function(n,t,r,o,l){var a=function(){return new Y(t,r.row,r.column)},i=a(),c=i.getCurrentToken(),s=i.stepBackward()?i.getCurrentToken():null;switch(K(c)){case"chaining":case"relation":case"separator":case"order_by":case"count":case"exists":case"field":case"function_arguments":ae(a,l,e);break;case"where":case"conjunction":ae(a,l,e),l(null,se());break;case"nice_function":l(null,se());break;case"find":ce(l);break;case"type":case"tocco_placeholder":case"comparison":l(null,I.map((function(e){return{caption:e,value:"".concat(e,":"),meta:"type",score:980}}))),l(null,F.map((function(e){return{caption:e,value:":".concat(e),meta:"placeholder",score:990}})));break;case"model":ae(a,l,e),s&&"relation"!==K(s)&&ce(l);break;case null:e&&ae(a,l,e),l(null,se())}}}};function fe(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=(0,T.Z)(e);if(n){var o=(0,T.Z)(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return(0,E.Z)(this,t)}}var de=function(e){(0,R.Z)(t,e);var n=fe(t);function t(){var e;return(0,C.Z)(this,t),(e=n.call(this)).HighlightRules=U,e.completer=ue(),e}return(0,_.Z)(t)}(a().require("ace/mode/ftl").Mode);function he(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=(0,T.Z)(e);if(n){var o=(0,T.Z)(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return(0,E.Z)(this,t)}}var pe,ge=function(e){(0,R.Z)(t,e);var n=he(t);function t(e){var r,o=e.implicitModelName;return(0,C.Z)(this,t),(r=n.call(this)).HighlightRules=V(o),r.completer=ue(o),r.snippedIdField=null,r}return(0,_.Z)(t)}(a().require("ace/mode/text").Mode),be=t(85893),me=O.ZP.div.withConfig({displayName:"StyledEditor"})(pe||(pe=(0,o.Z)(["\n width: 100%;\n z-index: 0; /* gutter lays over menu otherwise */\n"]))),ve={groovy:function(){return new c.Mode},html:function(){return new s.Mode},xml:function(){return new p.Mode},properties:function(){return new d.Mode},json:function(){return new u.Mode},htmlmixed:function(){return new de},freemarkermixed:function(){return new de},ftl:function(){return new de},tql:function(e){return new ge(e)},less:function(){return new f.Mode},drools:function(){return new i.Mode},text:function(){return new h.Mode}},ye=function(e,n){var t=n.mode,o=n.theme,l=n.showGutter,a=n.editorOptions,i=void 0===a?{}:a;(function(e){return k()(e)?Promise.resolve(e):x()(e)?P("entities/2.0/".concat(e.entityModel,"/").concat(e.key,"?_paths=").concat(e.field)).then(S).then((function(e){return b()(e,["paths","entity_name","value"],null)})):Promise.resolve(null)})(n.implicitModel).then((function(e){return function(e,n){return b()(ve,e,e)(n)}(t,{implicitModelName:e})})).then((function(n){return e.getSession().setMode(n)})),e.setTheme("ace/theme/".concat(o)),Object.entries(i).forEach((function(n){var t=(0,r.Z)(n,2),o=t[0],l=t[1];e.setOption(o,l)})),e.renderer.setShowGutter(l),e.resize()};const xe=function(e){var n=e.mode,t=e.theme,r=void 0===t?"textmate":t,o=e.value,l=e.onChange,i=e.showGutter,c=void 0===i||i,s=e.editorOptions,u=void 0===s?{}:s,f=e.implicitModel,d=(0,j.useRef)(null),h=(0,j.useRef)(null),p=(0,j.useMemo)((function(){return{mode:n,theme:r,showGutter:c,editorOptions:u,implicitModel:f}}),[n,r,c,u,f]);return(0,j.useEffect)((function(){var e=a().edit(d.current);return e.getSession().setValue(o||""),e.on("change",(function(){return l(e.getValue())})),ye(e,p),h.current=e,function(){return e.destroy()}}),[]),(0,j.useEffect)((function(){h.current&&ye(h.current,p)}),[p]),(0,j.useEffect)((function(){h.current&&!v()(o)&&o!==h.current.getValue()&&h.current.getSession().setValue(o)}),[o]),(0,be.jsx)(me,{ref:d})}},48078:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>c});var r=t(97044),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:()=>K});var r=t(46927),o=t(72757),l=t(1024),a=t(86896),i=t(44822),c=t(11259),s=t(32208),u=t(99357),f=t(19241),d=t(11820),h=t(39269),p=t(48772),g=t(75528),b=t(52079),m=t(84184),v=t(40569),y=t(75460),x=t(65761),w=t(53626),k=t(73043),j=t(16797),O=t(71297),Z=t(55444),P=t(6672),S=t(18195),_=t(23132),C=t(37060),R=t(4175),E=t(14351),T=t(20211),L=t(51778),D=t(87388),A=t(89906),N=t(41831);function M(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=(0,f.Z)(e);if(n){var o=(0,f.Z)(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return(0,u.Z)(this,t)}}var q=function(e){(0,s.Z)(t,e);var n=M(t);function t(){return(0,c.Z)(this,t),n.apply(this,arguments)}return(0,i.Z)(t)}(d.Z);q.builtinPlugins=[h.Z,p.Z,v.Z,y.Z,x.Z,w.Z,k.Z,O.Z,j.Z,Z.Z,P.Z,S.Z,g.Z,_.Z,C.Z,R.Z,E.Z,T.Z,L.Z,b.Z,D.Z,A.Z,N.Z,m.Z],q.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 I=q;var F,H=t(91411),z=t(32678),V=t(56822),B=z.ZP.div.withConfig({displayName:"StyledHtmlEditor"})(F||(F=(0,H.Z)(["\n && {\n .ck-editor {\n --ck-border-radius: 0.27rem;\n ","\n\n .ck.ck-list__item .ck-button.ck-fontsize-option .ck-button__label {\n line-height: 1;\n }\n\n .ck-editor__editable {\n min-height: 100px;\n }\n }\n }\n"])),(function(e){return(0,V.L)(e,"ckeditor")})),$=t(85893);function U(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 W(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?U(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):U(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var G=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"}},Y=function(e){var n=e.value,t=e.onChange,r=e.contentLang,i=e.ckEditorConfig,c=(0,a.Z)().locale,s=(0,l.useRef)(!1);return(0,$.jsx)(B,{children:(0,$.jsx)(o.CKEditor,{editor:I,config:W({language:{ui:G(c),content:r}},i),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)}})})};Y.defaultProps={value:"",contentLang:"de"};const K=Y},59178:(e,n,t)=>{"use strict";t.r(n),t.d(n,{Icon:()=>T,default:()=>L});var r,o=t(46927),l=t(46444),a=t.n(l),i=t(78947),c=t(99245),s=t(68019),u=t(70457),f=t(30963),d=t(27361),h=t.n(d),p=t(91411),g=t(32678).ZP.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(r||(r=(0,p.Z)([""]))),b=t(85893);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 v(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){(0,o.Z)(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}i.library.add(s.C65,s.kJo,s._tD,s.A35,s.mTx,s.ptq,s.g4A,s.r8p,s.Pk,s.g9M,s.Tab,u.Tab,s.NBC,s.eFW,s.acZ,s.u2A,s.gMD,s.cwv,s.w49,s.fUD,s.icc,s.ca9,s.Vmj,s.gSj,s.WFE,s.hQn,s.LEp,s.WV2,s.FU$,s.diR,s.f8k,c.xYR,c.neY,c.AYu,c.kBj,c.hVS,c.dc_,c.Av$,s.xiG,s.gJF,s.j1w,s.WKO,s.wn1,s.b7W,s.YHc,s.ZC5,s.UO1,u.Fyj,s.Qj4,s.FL8,s.foy,s.u9C,s.Fuz,s.iV1,s.Kl4,s.nYk,s.sqG,s.RLE,s.$aW,s.Zrf,s.jMV,s.pL1,s.g6h,s.SJY,s.qmU,s.nek,s.Qy6,u.pL1,s.hVM,s.yOf,s.Xgz,s.Mzg,s.r6l,s.IwR,u.Alc,s.dLO,s.ntl,s.Hw7,s.FYs,s.$36,s.fT7,s.ioP,s.Cw9,s.Ry6,s.C3l,s.a1i,s.jGC,s.IeV,s.A8,s.hG5,s.FVb,s.AxY,s.mAj,s.hGM,s.UkD,s.BDt,s.QzV,s.py1,s.cf$,s.byT,s.dT$,s.G_j,s.A4,s.ar8,s.rux);var y=function(e){var n=e.icon,t=e.style,r=e.hasFixedWidth;return(0,b.jsx)(g,{children:(0,b.jsx)(f.G,v(v({icon:n.includes(",")?n.replace(/\s+/,"").split(","):n,style:t},h()(t,"color")&&{color:t.color}),{},{fixedWidth:r}))})};y.defaultProps={hasFixedWidth:!0};const x=y,w=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"]},"barcode-alt":{"id":"fal, barcode-alt","lib":"fa"},"bars":{"id":"fal, bars","lib":"fa","tags":["burger"]},"bell":{"id":"fal, bell","lib":"fa","tags":["notification"]},"bolt":{"id":"fal, bolt-lightning","lib":"fa"},"bolt-lightning":{"id":"fal, bolt-lightning","lib":"fa"},"book":{"id":"fal, book","lib":"fa"},"box":{"id":"fal, box","lib":"fa"},"box-open":{"id":"fal, box-open","lib":"fa"},"calendar":{"id":"fal, calendar","lib":"fa"},"calendar-arrow-down":{"id":"fal, calendar-arrow-down","lib":"fa"},"calendar-circle-user":{"id":"fal, calendar-circle-user","lib":"fa"},"calendar-check":{"id":"fal, calendar-check","lib":"fa"},"calendar-minus":{"id":"fal, calendar-minus","lib":"fa"},"calendar-plus":{"id":"fal, calendar-plus","lib":"fa"},"chalkboard-teacher":{"id":"fal, chalkboard-teacher","lib":"fa"},"chart-network":{"id":"fal, chart-network","lib":"fa"},"check":{"id":"fal, check","lib":"fa","tags":["ok"]},"check-circle":{"id":"fal, check-circle","lib":"fa","tags":["check"]},"chevron-double-down":{"id":"fal, chevron-double-down","lib":"fa"},"chevron-double-left":{"id":"fal, chevron-double-left","lib":"fa"},"chevron-double-right":{"id":"fal, chevron-double-right","lib":"fa"},"chevron-double-up":{"id":"fal, chevron-double-up","lib":"fa"},"chevron-down":{"id":"fal, chevron-down","lib":"fa"},"chevron-left":{"id":"fal, chevron-left","lib":"fa"},"chevron-right":{"id":"fal, chevron-right","lib":"fa"},"chevron-up":{"id":"fal, chevron-up","lib":"fa"},"circle":{"id":"fal, circle","lib":"fa","tags":["selection"]},"code":{"id":"fal, code","lib":"fa"},"cog":{"id":"fal, cog","lib":"fa"},"compress":{"id":"fal, compress","lib":"fa"},"comment":{"id":"fal, comment","lib":"fa"},"cube":{"id":"fal, cube","lib":"fa"},"dropbox":{"id":"fab, dropbox","lib":"fa","tags":["sso"]},"ellipsis-v":{"id":"fal, ellipsis-v","lib":"fa","tags":["dots","pünktli"]},"envelope":{"id":"fal, envelope","lib":"fa"},"exclamation":{"id":"fal, exclamation","lib":"fa","tags":["warning"]},"exclamation-circle":{"id":"fal, exclamation-circle","lib":"fa","tags":["warning"]},"external-link":{"id":"fal, external-link","lib":"fa","tags":["external-link"]},"facebook":{"id":"fab, facebook","lib":"fa","tags":["sso"]},"facebook-f":{"id":"fab, facebook-f","lib":"fa","tags":["sso"]},"file":{"id":"fal, file","lib":"fa"},"file-alt":{"id":"fal, file-alt","lib":"fa"},"file-code":{"id":"fal, file-code","lib":"fa"},"file-csv":{"id":"fal, file-csv","lib":"fa"},"file-excel":{"id":"fal, file-excel","lib":"fa"},"file-export":{"id":"fal, file-export","lib":"fa"},"file-import":{"id":"fal, file-import","lib":"fa"},"file-pdf":{"id":"fal, file-pdf","lib":"fa"},"file-spreadsheet":{"id":"fal, file-spreadsheet","lib":"fa"},"filter":{"id":"fal, filter","lib":"fa"},"folder":{"id":"fal, folder","lib":"fa"},"folders":{"id":"fal, folders","lib":"fa","tags":["copy"]},"globe":{"id":"fal, globe","lib":"fa"},"google":{"id":"fab, google","lib":"fa","tags":["sso"]},"horizontal-rule":{"id":"fal, horizontal-rule","lib":"fa"},"id-badge":{"id":"fal, id-badge","lib":"fa"},"info":{"id":"fal, info","lib":"fa"},"laptop-code":{"id":"fal, laptop-code","lib":"fa"},"list":{"id":"fal, list","lib":"fa"},"list-check":{"id":"fal, list-check","lib":"fa"},"lock":{"id":"fal, lock","lib":"fa"},"info-circle":{"id":"fal, info-circle","lib":"fa","tags":["info"]},"mail-bulk":{"id":"fal, mail-bulk","lib":"fa"},"map-marked":{"id":"fal, map-marked","lib":"fa"},"merge":{"id":"fal, merge","lib":"fa"},"microsoft":{"id":"fab, microsoft","lib":"fa","tags":["sso"]},"minus":{"id":"fal, minus","lib":"fa"},"newspaper":{"id":"fal, newspaper","lib":"fa"},"office":{"id":"office","lib":"toc"},"paper-clip":{"id":"fa, paper-clip","lib":"fa"},"pen":{"id":"fal, pen","lib":"fa"},"percent":{"id":"fal, percent","lib":"fa"},"phone":{"id":"fal, phone","lib":"fa"},"phone-laptop":{"id":"fal, phone-laptop","lib":"fa"},"plus":{"id":"fal, plus","lib":"fa","tags":["new"]},"question-circle":{"id":"fal, question-circle","lib":"fa","tags":["help"]},"save":{"id":"fal, save","lib":"fa"},"search":{"id":"fal, search","lib":"fa"},"sitemap":{"id":"fal, sitemap","lib":"fa"},"sort-down":{"id":"fal, sort-down","lib":"fa"},"sort-up":{"id":"fal, sort-up","lib":"fa"},"square":{"id":"fal, square","lib":"fa"},"square-full":{"id":"fas, square-full","lib":"fa"},"square-minus":{"id":"fal, square-minus","lib":"fa"},"square-plus":{"id":"fal, square-plus","lib":"fa"},"star":{"id":"fal, star","lib":"fa","tags":["favorite"]},"star-full":{"id":"fas, star","lib":"fa","tags":["favorite"]},"sync":{"id":"fal, sync","lib":"fa","tags":["refresh"]},"tasks":{"id":"fal, tasks","lib":"fa"},"times":{"id":"fal, times","lib":"fa","tags":["delete","close"]},"times-circle":{"id":"fal, times-circle","lib":"fa","tags":["error"]},"tocco":{"id":"logo","lib":"toc"},"trash":{"id":"fal, trash","lib":"fa","tags":["trash"]},"upload":{"id":"fal, upload","lib":"fa"},"users":{"id":"fal, users","lib":"fa"},"lightbulb-exclamation":{"id":"fal, lightbulb-exclamation","lib":"fa"},"floppy-disk-circle-xmark":{"id":"fal, floppy-disk-circle-xmark","lib":"fa"}}');var k,j;function O(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 Z(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?O(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):O(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var P={logo:function(e){return(0,b.jsx)("svg",Z(Z({height:h()(e,"fontSize",20)},e),{},{"aria-hidden":"true",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:k||(k=(0,b.jsx)("path",{fill:"currentColor",d:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 \n 8zm80 248c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80z"}))}))},office:function(e){return(0,b.jsx)("svg",Z(Z({height:h()(e,"fontSize",20)},e),{},{"aria-hidden":"true",role:"img",enableBackground:"new 0 0 2075 2499.8",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2075 2499.8",children:j||(j=(0,b.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"}))}))}},S=function(e){var n=e.icon,t=e.style;return P[n](t)};S.propTypes={icon:a().string.isRequired,style:a().object};const _=S;function C(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 R(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?C(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):C(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var E={fa:function(e,n){return(0,b.jsx)(x,R(R({},n),{},{icon:e.id}))},toc:function(e,n){return(0,b.jsx)(_,R(R({},n),{},{icon:e.id}))}},T=function(e){var n=w[e.icon];if(!n)return null;var t=E[n.lib];return t?t(n,e):null};T.propTypes={icon:a().string.isRequired,style:a().objectOf(a().string)};const L=T},81251:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});var r=t(46927),o=t(70457),l=t(30963),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){(0,r.Z)(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;return(0,a.jsx)(l.G,c(c({},t),{},{style:{fontSize:n},spin:!0,icon:o.IJ7}))}},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"}}]);
|