tocco-widget-bundle 3.8.19 → 3.8.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/user-menu.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("ReactDOM"),require("React")):"function"==typeof define&&define.amd?define(["ReactDOM","React"],t):"object"==typeof exports?exports["tocco-user-menu"]=t(require("ReactDOM"),require("React")):e["tocco-user-menu"]=t(e.ReactDOM,e.React)}(self,((e,t)=>(()=>{var n,r,o={58363:(e,t)=>{"use strict";t.Z=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=(e.type||"").toLowerCase(),a=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?a===t.replace(/\/.*$/,""):o===t}))}return!0}},5435:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={name:"default",colors:{paper:"#fff",primary:"#b22a31",primaryLight:"#d13e45",secondary:"#263e5b",secondaryLight:"#347da9",secondaryLighter:"#4fade5",text:"#000",textLight:"#595959",textLighter:"#8c8c8c",textDisabled:"#bcbcbc",backgroundBody:"#dee6ed",backgroundBreadcrumbs:"#dee6ed",backgroundPopover:"#424242",backgroundItemHover:"#e6e6e6",backgroundItemSelected:"#ccc",backgroundTableEvenRow:"#f2f2f2",backgroundScrollbar:"#999",backgroundScrollbarHover:"#808080",backgroundPanelHeaderFooter:"#f2f2f2",backgroundTypographyCode:"#e6e6e6",border:"#ccc",borderLight:"#ededed",borderSelect:"#027cc1",signal:{danger:"#961b1b",info:"#027cc1",success:"#337f37",warning:"#ec8a00",neutral:"#CECECE"}},fontFamily:{monospace:"Ubuntu Mono, monospace",regular:"Ubuntu, sans-serif",url:"https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap"},fontSize:{base:1.3,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"4px",button:"13px",buttonLarge:"25px",form:0,dashboard:0,modal:0,menu:0},space:{base:1.3,factor:2},specificProperties:{actionBarStickyTopPosition:0}}},56038:(e,t,n)=>{"use strict";var r=n(45697),o=n.n(r);o().string.isRequired,o().string,o().string.isRequired,o().func.isRequired,o().bool,o().bool,o().shape({minLines:o().number,maxLines:o().number,enableBasicAutocompletion:o().bool,enableLiveAutocompletion:o().bool,enableSnippets:o().bool,readOnly:o().bool}),o().oneOfType([o().string,o().shape({entityModel:o().string,field:o().string,key:o().string})]),o().string},40493:(e,t,n)=>{"use strict";n.d(t,{q:()=>a});var r,o=n(30168),a=n(67165).ZP.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(r||(r=(0,o.Z)([""])))},46395:(e,t,n)=>{"use strict";n.d(t,{q:()=>p.q,Z:()=>d});var r,o=n(4942),a=n(1024),i=n.n(a),c=n(85893);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=(0,a.lazy)((function(){return Promise.all([n.e(198),n.e(608),n.e(614)]).then(n.bind(n,99579))}));const d=function(e){return(0,c.jsx)(a.Suspense,{fallback:r||(r=(0,c.jsx)(i().Fragment,{})),children:(0,c.jsx)(l,u({},e))})};var p=n(40493)},84265:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>d});n(45697);var r,o=n(46395),a=n(17995),i=n(30168),c=n(67165);const s=c.ZP.a.withConfig({displayName:"StyledLink"})(r||(r=(0,i.Z)(["\n ","\n ","\n\n && {\n color: ",";\n text-decoration: ",";\n\n &:hover,\n &:focus {\n text-decoration: ",";\n }\n\n &:active {\n text-decoration: ",";\n }\n }\n"])),(0,a.wy)(),(function(e){return e.breakWords?(0,a._)():(0,a.lo)()}),a.rS.color("text"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}));var u=n(85893),l=function(e){var t=e.alt,n=e.breakWords,r=e.download,i=e.href,c=e.neutral,l=e.onClick,d=e.rel,p=e.tabIndex,f=e.target,h=e.title,m=e.label,g=e.icon,v=e.children,y=e.useTitle,b=h||(n?void 0:m);return(0,u.jsxs)(s,{alt:t,breakWords:n,download:r,href:i,neutral:c,onClick:l,rel:d,tabIndex:p,target:f,title:y?b:void 0,children:[g&&(0,u.jsx)(o.Z,{icon:g,position:a.co.position.PREPEND}),m||v]})};l.defaultProps={breakWords:!0,useTitle:!0,href:"#",target:"_self"};const d=l;var p,f=n(9481);(0,c.ZP)(f.rU)(p||(p=(0,i.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,a.wy)(),a.FS.color("secondary"),a.FS.color("text"),a.FS.color("secondaryLight"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?a.FS.color("text"):a.FS.color("secondaryLight")}),(function(e){return e.neutral?"none":"underline"}))},69829:(e,t,n)=>{"use strict";n.d(t,{Bs:()=>T,Fe:()=>H,GI:()=>Y,HK:()=>W,HV:()=>q,IV:()=>L,Kf:()=>j,Te:()=>I,Ts:()=>D,UB:()=>U,Vg:()=>C,Xv:()=>z,_B:()=>R,ar:()=>M,kO:()=>B,kQ:()=>N,nb:()=>Z,nr:()=>F,q_:()=>E,xr:()=>A,z2:()=>V});var r,o,a,i,c,s,u,l,d,p,f,h,m,g,v,y,b,w,x,O,S,k=n(30168),P=n(67165),_=n(17995),E=P.ZP.b.withConfig({displayName:"StyledB"})(r||(r=(0,k.Z)(["\n && {\n ","\n }\n ","\n"])),(0,_.wy)({fontWeight:_.FS.fontWeight("bold")}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),C=P.ZP.code.withConfig({displayName:"StyledCode"})(o||(o=(0,k.Z)(["\n && {\n ","\n background-color: ",";\n border-radius: ",";\n padding: "," ",";\n white-space: pre;\n overflow-y: auto;\n }\n"])),(0,_.wy)({fontFamily:_.FS.fontFamily("monospace"),fontSize:_.bA.font(-1)}),_.FS.color("backgroundTypographyCode"),_.FS.radii("form"),_.bA.space(-4),_.bA.space(-2)),D=P.ZP.del.withConfig({displayName:"StyledDel"})(a||(a=(0,k.Z)(["\n && {\n ","\n ","\n text-decoration: line-through;\n }\n"])),(0,_.wy)(),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),j=P.ZP.em.withConfig({displayName:"StyledEm"})(i||(i=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,_.wy)({fontStyle:"italic"}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),T=P.ZP.figcaption.withConfig({displayName:"StyledFigcaption"})(c||(c=(0,k.Z)(["\n && {\n ","\n ","\n margin: "," 0 "," 0;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,_.wy)({fontSize:_.bA.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()}),_.bA.space(-2),_.bA.space(-1)),A=P.ZP.i.withConfig({displayName:"StyledI"})(s||(s=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,_.wy)({fontStyle:"italic"}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),I=P.ZP.ins.withConfig({displayName:"StyledIns"})(u||(u=(0,k.Z)(["\n && {\n ","\n ","\n text-decoration: underline;\n }\n"])),(0,_.wy)(),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),M=P.ZP.label.withConfig({displayName:"StyledLabel"})(l||(l=(0,k.Z)(["\n && {\n ","\n ","\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,_.wy)(),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()}),_.bA.space(-1)),N=P.ZP.mark.withConfig({displayName:"StyledMark"})(d||(d=(0,k.Z)(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n padding: "," ",";\n }\n"])),(0,_.wy)({fontFamily:_.FS.fontFamily("monospace"),color:_.FS.color("paper")}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()}),_.FS.color("signal.info"),_.FS.radii("form"),_.bA.space(-4),_.bA.space(-2)),R=P.ZP.p.withConfig({displayName:"StyledP"})(p||(p=(0,k.Z)(["\n && {\n ","\n ","\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,_.wy)(),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()}),_.bA.space(-1)),F=P.ZP.pre.withConfig({displayName:"StyledPre"})(f||(f=(0,k.Z)(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n border: 1px solid ",";\n display: block;\n margin: 0 0 ",";\n padding: "," ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,_.wy)({fontFamily:_.FS.fontFamily("monospace"),fontSize:_.bA.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()}),_.FS.color("backgroundTypographyCode"),_.FS.radii("form"),_.FS.color("border"),_.bA.space(-1),_.bA.space(-3),_.bA.space(-2)),L=P.ZP.s.withConfig({displayName:"StyledS"})(h||(h=(0,k.Z)(["\n && {\n ","\n ","\n text-decoration: line-through;\n }\n"])),(0,_.wy)(),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),Z=P.ZP.small.withConfig({displayName:"StyledSmall"})(m||(m=(0,k.Z)(["\n && {\n ","\n font-size: calc(1em / ",");\n ","\n }\n"])),(0,_.wy)(),_.FS.fontSize("factor"),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),H=P.ZP.span.withConfig({displayName:"StyledSpan"})(g||(g=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,_.wy)(),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),B=P.ZP.sub.withConfig({displayName:"StyledSub"})(v||(v=(0,k.Z)(["\n && {\n ","\n ","\n line-height: 0;\n position: relative;\n bottom: -0.25em;\n vertical-align: baseline;\n }\n"])),(0,_.wy)({fontSize:_.bA.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),U=P.ZP.sup.withConfig({displayName:"StyledSup"})(y||(y=(0,k.Z)(["\n && {\n ","\n ","\n line-height: 0;\n position: relative;\n top: -0.5em;\n vertical-align: baseline;\n }\n"])),(0,_.wy)({fontSize:_.bA.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),W=P.ZP.strong.withConfig({displayName:"StyledStrong"})(b||(b=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,_.wy)({fontWeight:_.FS.fontWeight("bold")}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),V=P.ZP.time.withConfig({displayName:"StyledTime"})(w||(w=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,_.wy)(),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),z=P.ZP.u.withConfig({displayName:"StyledU"})(x||(x=(0,k.Z)(["\n && {\n ","\n ","\n text-decoration: underline;\n }\n"])),(0,_.wy)(),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),Y=P.ZP.var.withConfig({displayName:"StyledVar"})(O||(O=(0,k.Z)(["\n && {\n ","\n ","\n\n &:after {\n content: ']';\n }\n\n &:before {\n content: '[';\n }\n }\n"])),(0,_.wy)({fontFamily:_.FS.fontFamily("monospace"),fontSize:_.bA.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),q=P.ZP.q.withConfig({displayName:"StyledQ"})(S||(S=(0,k.Z)(["\n && {\n ","\n ","\n\n &:after {\n content: close-quote;\n }\n\n &:before {\n content: open-quote;\n }\n }\n"])),(0,_.wy)(),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()}))},48921:(e,t,n)=>{"use strict";n.d(t,{XU:()=>m,ar:()=>V.ar,EF:()=>L,Fe:()=>V.Fe,hc:()=>B,Ly:()=>he,ZP:()=>me});n(45697);var r,o,a,i,c,s,u,l=n(17995),d=n(30168),p=n(67165),f=function(e){var t;switch(e.styledLike){case"H1":t=l.bA.font(5)(e);break;case"H2":t=l.bA.font(4)(e);break;case"H3":t=l.bA.font(3)(e);break;case"H4":t=l.bA.font(2)(e);break;case"H5":t=l.bA.font(1)(e);break;default:t=l.bA.font(0)(e)}return(0,l.wy)({fontWeight:l.rS.fontWeight("bold"),fontSize:t})},h=function(e){return(0,p.iv)(r||(r=(0,d.Z)(["\n margin-top: ",";\n margin-bottom: ",";\n\n h1 + &,\n h2 + &,\n h3 + &,\n h4 + &,\n h5 + &,\n h6 + & {\n margin-top: 0;\n }\n\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n"])),l.bA.space(0),l.bA.space(-1))},m=p.ZP.h1.withConfig({displayName:"StyledH1"})(o||(o=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return f(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),g=p.ZP.h2.withConfig({displayName:"StyledH2"})(a||(a=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return f(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),v=p.ZP.h3.withConfig({displayName:"StyledH3"})(i||(i=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return f(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),y=p.ZP.h4.withConfig({displayName:"StyledH4"})(c||(c=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return f(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),b=p.ZP.h5.withConfig({displayName:"StyledH5"})(s||(s=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return f(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),w=p.ZP.h6.withConfig({displayName:"StyledH6"})(u||(u=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return f(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),x=n(85893),O=function(e){return(0,x.jsx)(m,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};O.defaultProps={breakWords:!0,styledLike:"H1"};var S=function(e){return(0,x.jsx)(g,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};S.defaultProps={breakWords:!0,styledLike:"H2"};var k=function(e){return(0,x.jsx)(v,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};k.defaultProps={breakWords:!0,styledLike:"H3"};var P=function(e){return(0,x.jsx)(y,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};P.defaultProps={breakWords:!0,styledLike:"H4"};var _=function(e){return(0,x.jsx)(b,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};_.defaultProps={breakWords:!0,styledLike:"H5"};var E,C,D,j,T,A,I,M=function(e){return(0,x.jsx)(w,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};M.defaultProps={breakWords:!0,styledLike:"H6"};var N=p.ZP.dd.withConfig({displayName:"StyledDd"})(E||(E=(0,d.Z)(["\n && {\n ","\n ","\n margin: 0;\n }\n"])),(0,l.wy)(),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),R=p.ZP.dl.withConfig({displayName:"StyledDl"})(C||(C=(0,d.Z)(["\n && {\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),l.bA.space(-1)),F=p.ZP.dt.withConfig({displayName:"StyledDt"})(D||(D=(0,d.Z)(["\n && {\n ","\n ","\n margin: 0;\n }\n"])),(0,l.wy)({fontWeight:l.rS.fontWeight("bold")}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),L=p.ZP.li.withConfig({displayName:"StyledLi"})(j||(j=(0,d.Z)(["\n && {\n ","\n ","\n }\n"])),(0,l.wy)(),(0,l._)()),Z=p.ZP.ol.withConfig({displayName:"StyledList"})(T||(T=(0,d.Z)(["\n && {\n display: block;\n list-style-position: outside;\n margin: 0 0 "," ",";\n padding: 0;\n\n &&,\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),l.bA.space(-1),l.bA.space(-.1)),H=(0,p.ZP)(Z).withConfig({displayName:"StyledOl"})(A||(A=(0,d.Z)(["\n list-style-type: decimal;\n"]))),B=(0,p.ZP)(Z).withConfig({displayName:"StyledUl"})(I||(I=(0,d.Z)(["\n && {\n list-style-type: disc;\n }\n"]))),U=function(e){return(0,x.jsx)(N,{breakWords:e.breakWords,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})},W=function(e){return(0,x.jsx)(F,{breakWords:e.breakWords,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};U.defaultProps=W.defaultProps={breakWords:!0};var V=n(69829),z=function(e){return(0,x.jsx)(V.q_,{breakWords:e.breakWords,title:de(e),children:e.children})},Y=function(e){return(0,x.jsx)(V.Vg,{title:de(e),children:e.children})},q=function(e){return(0,x.jsx)(V.Ts,{breakWords:e.breakWords,title:de(e),children:e.children})},G=function(e){return(0,x.jsx)(V.Kf,{breakWords:e.breakWords,title:de(e),children:e.children})},K=function(e){return(0,x.jsx)(V.Bs,{breakWords:e.breakWords,title:de(e),children:e.children})},X=function(e){return(0,x.jsx)(V.xr,{breakWords:e.breakWords,title:de(e),children:e.children})},$=function(e){return(0,x.jsx)(V.Te,{breakWords:e.breakWords,title:de(e),children:e.children})},Q=function(e){return(0,x.jsx)(V.kQ,{breakWords:e.breakWords,title:de(e),children:e.children})},J=function(e){return(0,x.jsx)(V._B,{breakWords:e.breakWords,title:de(e),children:e.children})},ee=function(e){return(0,x.jsx)(V.nr,{breakWords:e.breakWords,title:de(e),children:e.children})},te=function(e){return(0,x.jsx)(V.IV,{breakWords:e.breakWords,title:de(e),children:e.children})},ne=function(e){return(0,x.jsx)(V.nb,{breakWords:e.breakWords,title:de(e),children:e.children})},re=function(e){return(0,x.jsx)(V.Fe,{breakWords:e.breakWords,title:de(e),children:e.children})},oe=function(e){return(0,x.jsx)(V.kO,{breakWords:e.breakWords,title:de(e),children:e.children})},ae=function(e){return(0,x.jsx)(V.UB,{breakWords:e.breakWords,title:de(e),children:e.children})},ie=function(e){return(0,x.jsx)(V.HK,{breakWords:e.breakWords,title:de(e),children:e.children})},ce=function(e){return(0,x.jsx)(V.z2,{breakWords:e.breakWords,title:e.title,dateTime:e.dateTime,children:e.children})},se=function(e){return(0,x.jsx)(V.Xv,{breakWords:e.breakWords,title:de(e),children:e.children})},ue=function(e){return(0,x.jsx)(V.GI,{breakWords:e.breakWords,title:de(e),children:e.children})},le=function(e){return(0,x.jsx)(V.HV,{breakWords:e.breakWords,title:de(e),children:e.children})},de=function(e){return!e.useTitle||e.breakWords?void 0:(0,l.JX)(e.children)};z.defaultProps=Y.defaultProps=q.defaultProps=G.defaultProps=K.defaultProps=X.defaultProps=$.defaultProps=Q.defaultProps=J.defaultProps=ee.defaultProps=le.defaultProps=te.defaultProps=ne.defaultProps=re.defaultProps=ie.defaultProps=oe.defaultProps=ae.defaultProps=se.defaultProps=ue.defaultProps={breakWords:!0,useTitle:!0},ce.defaultProps={breakWords:!1};var pe=n(27361),fe=n.n(pe),he=function(e,t){var n="\n color: ".concat(l.rS.color("text")(e),";\n font-family: ").concat(l.rS.fontFamily("regular")(e),";\n font-size: ").concat(l.bA.font(0)(e),";\n font-style: ","normal",";\n font-weight: ").concat(l.rS.fontWeight("regular")(e),";\n line-height: ").concat(l.rS.lineHeight("regular")(e),";\n\n a {\n color: ").concat(l.rS.color("secondary")(e),";\n\n &:hover,\n &:focus {\n color: ").concat(fe()(e.theme,"colors.secondaryLight"),";\n text-decoration: underline;\n }\n\n &:active {\n color: ").concat(fe()(e.theme,"colors.secondary"),";\n }\n }\n\n b,\n strong {\n font-weight: ").concat(l.rS.fontWeight("bold")(e),"\n }\n\n em,\n i {\n font-style: italic;\n }\n\n u {\n text-decoration: underline;\n }\n\n h1 {font-size: ").concat(l.bA.font(5)(e),";}\n h2 {font-size: ").concat(l.bA.font(4)(e),";}\n h3 {font-size: ").concat(l.bA.font(3)(e),";}\n h4 {font-size: ").concat(l.bA.font(2)(e),";}\n h5 {font-size: ").concat(l.bA.font(1)(e),";}\n h6 {font-size: ").concat(l.bA.font(0)(e),";}\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: ").concat(l.rS.fontWeight("bold")(e),";\n margin-top: ").concat(l.bA.space(0)(e),";\n margin-bottom: ").concat(l.bA.space(-1)(e),";\n\n + h1,\n + h2,\n + h3,\n + h4,\n + h5,\n + h6,\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n p {\n margin-bottom: ").concat(l.bA.space(-1)(e),";\n &:last-child {\n margin-bottom: 0;\n }\n }\n ");return"ckeditor"!==t&&(n="\n ".concat(n,"\n a {\n text-decoration: none; \n }\n\n ol,\n ul {\n display: block;\n list-style-position: outside;\n margin: 0 0 ").concat(l.bA.space(-1)(e)," 1.6rem;\n padding: 0;\n\n ol,\n ul,\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n ol li {\n list-style-type: decimal;\n }\n\n ul li {\n list-style-type: disc;\n }\n ")),n};const me={H1:O,H2:S,H3:k,H4:P,H5:_,H6:M,Dd:U,Dt:W,Dl:function(e){return(0,x.jsx)(R,{children:e.children})},Li:function(e){return(0,x.jsx)(L,{children:e.children})},Ol:function(e){return(0,x.jsx)(H,{children:e.children})},Ul:function(e){return(0,x.jsx)(B,{as:"ul",children:e.children})},B:z,Code:Y,Del:q,Em:G,Figcaption:K,I:X,Ins:$,Label:function(e){return(0,x.jsx)(V.ar,{breakWords:e.breakWords,title:de(e),htmlFor:e.for,children:e.children})},Mark:Q,P:J,Pre:ee,Q:le,S:te,Small:ne,Span:re,Strong:ie,Sub:oe,Sup:ae,Time:ce,U:se,Var:ue}},17995:(e,t,n)=>{"use strict";n.d(t,{mT:()=>s,v5:()=>c,kk:()=>p,wy:()=>f,lo:()=>h,_:()=>m,co:()=>E,JX:()=>I,Hx:()=>R,b1:()=>C,bA:()=>V,rS:()=>B,FS:()=>Y,zf:()=>z});var r,o,a=n(27361),i=n.n(a),c={base:function(e){var t=e.theme;return i()(t,"colors.text")},shade1:function(e){var t=e.theme;return i()(t,"colors.textLight")},shade2:function(e){var t=e.theme;return i()(t,"colors.textLighter")},signal:function(e){var t=e.theme,n=e.signal;return i()(t,"colors.signal.".concat(n))},hasValue:function(e){var t=e.theme;return i()(t,"colors.signal.info")}},s={base:function(e){var t=e.theme;return i()(t,"colors.border")},signal:function(e){var t=e.theme,n=e.signal;return i()(t,"colors.signal.".concat(n))},isDirty:function(e){var t=e.theme;return i()(t,"colors.secondaryLight")},transparent:function(){return"transparent"}},u=n(30168),l=n(40342),d=n(67165),p=function(e){var t=i()(e.theme,"colors.signal.info",E.fallbackColors.INFO);return(0,d.iv)(r||(r=(0,u.Z)(["\n transition: border-color ease-in-out 100ms;\n will-change: border-color;\n\n &:focus,\n &:focus-within {\n border-color: ",";\n box-shadow: 0 0 6px ",";\n outline: 0;\n\n /**\n * Disable box-shadow for Safari\n * in order to be able to tab through the form fluently\n */\n @media not all and (min-resolution: 0.001dpcm) {\n @supports (-webkit-appearance: none) {\n box-shadow: none;\n }\n }\n }\n "])),t,(0,l.DZ)(.4,t))};const f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,d.iv)(o||(o=(0,u.Z)(["\n color: ",";\n font-family: ",";\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n"])),e.color||B.color("text"),e.fontFamily||B.fontFamily("regular"),e.fontSize||V.font(0),e.fontStyle||"normal",e.fontWeight||B.fontWeight("regular"),e.lineHeight||B.lineHeight("regular"))};var h=function(){return"\n display: inline-block;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"},m=function(){return"\n hyphens: auto;\n overflow-wrap: break-word;\n white-space: normal;\n word-wrap: break-word;\n"},g=n(45697),v=n.n(g),y={NONE:"none",SPIN:"spin"},b={BASE:"base",PRIMARY:"primary",SECONDARY:"secondary"},w={BOX:"layoutBox",CONTAINER:"layoutContainer",NONE:"none"},x={BALL:"ball",FLAT:"flat",PLAIN:"plain",RAISED:"raised"},O={APPEND:"append",BETWEEN:"between",PREPEND:"prepend",SOLE:"sole"},S=v().oneOf(Object.values(y)),k=v().oneOf(Object.values(b)),P=v().oneOf(Object.values(x)),_=v().oneOf(Object.values(O));const E={animation:y,animationPropTypes:S,condition:{BASE:"base",DANGER:"danger",PRIMARY:"primary",SUCCESS:"success",WARNING:"warning",INFO:"info"},ink:b,inkPropTypes:k,layout:w,layoutPropTypes:v().oneOf(Object.values(w)),look:x,lookPropTypes:P,fallbackColors:{SHADE:"#000000",INFO:"#0000ff",TEXT:"#010101",PAPER:"#fefefe"},format:{HTML:"html",SVG:"svg"},oneOfPropTypeAndCompletelyMapped:function(e,t){return v().oneOf(Object.values(e))},position:O,positionPropTypes:_};var C="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;n(35937);var D=n(71002),j=n(1024),T=n.n(j),A=function(e){var t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""};const I=function e(t){var n="";return T().Children.map(t,(function(t,r){"string"==typeof t||"number"==typeof t?n="".concat(n).concat(t):"object"===(0,D.Z)(t)&&t.props.children?n="".concat(n).concat(e(t.props.children)):"object"===(0,D.Z)(t)&&t.props.dangerouslySetInnerHTML&&(n="".concat(n," ").concat(A(t.props.dangerouslySetInnerHTML.__html)))})),n};var M,N=function(e,t){return(0,l.XV)(e,B.color("text")({theme:t}),B.color("paper")({theme:t}))};const R=function(e){var t=e.ink,n=e.look,r=e.theme,o=function(e,t,n){var r="secondary"===e&&"raised"===t;return"primary"===e&&"raised"===t?B.color("primary")({theme:n}):r?B.color("secondary")({theme:n}):B.color("paper")({theme:n})}(t,n,r),a=function(e,t,n,r){return"primary"===e&&"raised"!==t?B.color("primary")({theme:n}):N(r,n)}(t,n,r,o),i=function(e,t,n){return"primary"!==e&&"raised"===t?"0px 0px 0px 1px ".concat(B.color("secondaryLight")({theme:n})," inset;"):"none"}(t,n,r),c=function(e,t,n){return"raised"===t?"primary"===e?B.color("primaryLight")({theme:n}):B.color("secondaryLight")({theme:n}):B.color("backgroundItemHover")({theme:n})}(t,n,r),s=function(e,t,n){return"raised"===e?B.color("paper")({theme:t}):N(n,t)}(n,r,o);return(0,d.iv)(M||(M=(0,u.Z)(["\n background: ",";\n color: ",";\n box-shadow: ",";\n outline: none;\n border: none;\n\n &:focus,\n &:hover {\n background: ",";\n color: ",";\n }\n\n &:active,\n &[aria-pressed='true'] {\n background: ",";\n }\n\n &:disabled,\n &[disabled] {\n background: ",";\n color: ",";\n cursor: not-allowed;\n }\n "])),o,a,i,c,s,(0,l.$n)(.1,c),(0,l.nV)(.41,o),(0,l.nV)(.75,a))};var F=n(59854),L=n.n(F),Z=n(5435),H=function(e){return 0===Object.keys(e).length?Z.Z:e};const B={color:function(e){return function(t){var n=t.theme;return i()(H(n),"colors.".concat(e))}},fontFamily:function(e){return function(t){var n=t.theme;return i()(H(n),"fontFamily.".concat(e))}},fontSize:function(e){return function(t){var n=t.theme;return i()(H(n),"fontSize.".concat(e))}},fontWeight:function(e){return function(t){var n=t.theme;return i()(H(n),"fontWeights.".concat(e))}},lineHeight:function(e){return function(t){var n=t.theme;return i()(H(n),"lineHeights.".concat(e))}},radii:function(e){return function(t){var n=t.theme;return i()(H(n),"radii.".concat(e))}},space:function(e){return function(t){var n=t.theme;return i()(H(n),"space.".concat(e))}},specificProperty:function(e){return function(t){var n=t.theme;return i()(H(n),"specificProperties.".concat(e))}}};var U=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"rem";return"".concat(L()(W(t,e,n),3)).concat(r)},W=function(e,t,n){return Math.pow(n,t)*e};const V={declareScale:U,exponentiate:W,font:function(e,t){return function(n){return U(e,B.fontSize("base")(n),B.fontSize("factor")(n),t)}},space:function(e,t){return function(n){return U(e,B.space("base")(n),B.space("factor")(n),t)}}};n(29439);var z=function(e){(0,j.useEffect)((function(){var t=function(t){"Enter"===t.key&&"TEXTAREA"!==t.target.tagName&&(t.preventDefault(),t.stopPropagation(),e())};return document.addEventListener("keydown",t),function(){document.removeEventListener("keydown",t)}}),[e])},Y=B},44759:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={log:function(){var e;window.console&&(e=console).log.apply(e,arguments)},logError:function(){window.console&&(console.error||console.log).apply(void 0,arguments)},logWarning:function(){window.console&&(console.warn||console.log).apply(void 0,arguments)}}},98773:(e,t,n)=>{"use strict";n.d(t,{AK:()=>d,L0:()=>u,Li:()=>l,Nc:()=>i,S9:()=>f,b_:()=>a,cU:()=>h,hG:()=>o,hK:()=>v,l9:()=>s,lj:()=>m,n7:()=>g,y5:()=>p});var r=n(44759),o="__n-u-l-l__",a={admin:"admin",legacyAdmin:"legacy-admin",widget:"widget",legacyWidget:"legacy-widget"},i=Object.values(a),c={backendUrl:void 0,businessUnit:void 0,embedType:a.admin,widgetConfigKey:void 0},s=function(){return c.backendUrl||""},u=function(e){c.backendUrl=e},l=function(){return c.businessUnit},d=function(e){c.businessUnit=e},p=function(){return c.embedType},f=function(){var e=p();return[a.admin,a.legacyAdmin].includes(e)},h=function(){var e=p();return[a.widget].includes(e)},m=function(e){i.includes(e)?c.embedType=e:r.Z.logError("'".concat(e,"' as embedType is not allowed. Allowed embedTypes are: ").concat(i.join(", ")))},g=function(){return c.widgetConfigKey},v=function(e){c.widgetConfigKey=e}},28002:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(4942),o=n(44759),a=n(98773),i=n(85893);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var s=function(e){var t=e.mapping;return t[(0,a.y5)()||a.b_.admin]||t[a.b_.admin]};const u=function(e){var t=e.mapping;e.propTypes;return function(e){var n=s({mapping:t});return n||o.Z.logError("Unable to render embed component: No embed component defined."),(0,i.jsx)(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))}};const l={EmbedType:a.b_,isInAdminEmbedded:a.S9,isInWidgetEmbedded:a.cU,embedStrategyFactory:u,embedStrategy:s,getBackendUrl:a.l9,setBackendUrl:a.L0,getBusinessUnit:a.Li,setBusinessUnit:a.AK,getEmbedType:a.y5,setEmbedType:a.lj,getWidgetConfigKey:a.n7,setWidgetConfigKey:a.hK,NULL_BUSINESS_UNIT:a.hG,ALLOWED_EMBED_TYPES:a.Nc,setInputEnvs:function(e){var t,n,r,o;(e.backendUrl&&(0,a.L0)(e.backendUrl),e.businessUnit&&(0,a.AK)(e.businessUnit),null!==(t=e.appContext)&&void 0!==t&&t.embedType)&&(0,a.lj)(null===(r=e.appContext)||void 0===r?void 0:r.embedType);null!==(n=e.appContext)&&void 0!==n&&n.widgetConfigKey&&(0,a.hK)(null===(o=e.appContext)||void 0===o?void 0:o.widgetConfigKey)}}},58940:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(77017),o="_tocco_originId";const a={getOriginId:function(){if(sessionStorage.getItem(o))return sessionStorage.getItem(o);var e="".concat("client_","_").concat((0,r.v4)());return sessionStorage.setItem(o,e),e}}},54159:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(4942),o=n(71002),a=n(28002),i=n(58940);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={method:"GET",credentials:"include"},l=function(e){var t=function(e){if(e){if(e instanceof Headers)return e;if("object"===(0,o.Z)(e))return new Headers(e)}return new Headers}(e.headers),n=e.body;return t.has("Content-Type")||("string"==typeof n?t.set("Content-Type","text/plain"):n instanceof FormData||t.set("Content-Type","application/json")),t.has("X-Origin-Id")||t.set("X-Origin-Id",i.Z.getOriginId()),!t.has("X-Business-Unit")&&a.Z.getBusinessUnit()&&t.set("X-Business-Unit",a.Z.getBusinessUnit()),t.has("X-Client")||t.set("X-Client",a.Z.isInAdminEmbedded()?"client":"widget"),t},d=function(e,t){return t.startsWith("/")&&(t=t.substring(1)),t.startsWith("http")?t:t.startsWith("nice2")?"".concat(e,"/").concat(t):"".concat(e,"/nice2/").concat(t)};const p={prepareHeaders:l,prepareUrl:d,executeRequest:function(e){var t=function(e){return s(s(s({},u),e),{},{headers:l(e)})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),n=a.Z.getBackendUrl(),r=d(n,e);return fetch(r,t)},extractBody:function(e){return e.json()}}},94184:(e,t)=>{var n;
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("ReactDOM"),require("React")):"function"==typeof define&&define.amd?define(["ReactDOM","React"],t):"object"==typeof exports?exports["tocco-user-menu"]=t(require("ReactDOM"),require("React")):e["tocco-user-menu"]=t(e.ReactDOM,e.React)}(self,((e,t)=>(()=>{var n,r,o={58363:(e,t)=>{"use strict";t.Z=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=(e.type||"").toLowerCase(),a=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?a===t.replace(/\/.*$/,""):o===t}))}return!0}},5435:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={name:"default",colors:{paper:"#fff",primary:"#b22a31",primaryLight:"#d13e45",secondary:"#263e5b",secondaryLight:"#347da9",secondaryLighter:"#4fade5",text:"#000",textLight:"#595959",textLighter:"#8c8c8c",textDisabled:"#bcbcbc",backgroundBody:"#dee6ed",backgroundBreadcrumbs:"#dee6ed",backgroundPopover:"#424242",backgroundItemHover:"#e6e6e6",backgroundItemSelected:"#ccc",backgroundTableEvenRow:"#f2f2f2",backgroundScrollbar:"#999",backgroundScrollbarHover:"#808080",backgroundPanelHeaderFooter:"#f2f2f2",backgroundTypographyCode:"#e6e6e6",border:"#ccc",borderLight:"#ededed",borderSelect:"#027cc1",signal:{danger:"#961b1b",info:"#027cc1",success:"#337f37",warning:"#ec8a00",neutral:"#CECECE"}},fontFamily:{monospace:"Ubuntu Mono, monospace",regular:"Ubuntu, sans-serif",url:"https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap"},fontSize:{base:1.3,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"13px",buttonLarge:"25px",form:0,dashboard:0,modal:0,menu:0},space:{base:1.3,factor:2},specificProperties:{actionBarStickyTopPosition:0}}},56038:(e,t,n)=>{"use strict";var r=n(45697),o=n.n(r);o().string.isRequired,o().string,o().string.isRequired,o().func.isRequired,o().bool,o().bool,o().shape({minLines:o().number,maxLines:o().number,enableBasicAutocompletion:o().bool,enableLiveAutocompletion:o().bool,enableSnippets:o().bool,readOnly:o().bool}),o().oneOfType([o().string,o().shape({entityModel:o().string,field:o().string,key:o().string})]),o().string},40493:(e,t,n)=>{"use strict";n.d(t,{q:()=>a});var r,o=n(30168),a=n(67165).ZP.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(r||(r=(0,o.Z)([""])))},46395:(e,t,n)=>{"use strict";n.d(t,{q:()=>p.q,Z:()=>d});var r,o=n(4942),a=n(1024),i=n.n(a),c=n(85893);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=(0,a.lazy)((function(){return Promise.all([n.e(198),n.e(608),n.e(614)]).then(n.bind(n,99579))}));const d=function(e){return(0,c.jsx)(a.Suspense,{fallback:r||(r=(0,c.jsx)(i().Fragment,{})),children:(0,c.jsx)(l,u({},e))})};var p=n(40493)},84265:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>d});n(45697);var r,o=n(46395),a=n(17995),i=n(30168),c=n(67165);const s=c.ZP.a.withConfig({displayName:"StyledLink"})(r||(r=(0,i.Z)(["\n ","\n ","\n\n && {\n color: ",";\n text-decoration: ",";\n\n &:hover,\n &:focus {\n text-decoration: ",";\n }\n\n &:active {\n text-decoration: ",";\n }\n }\n"])),(0,a.wy)(),(function(e){return e.breakWords?(0,a._)():(0,a.lo)()}),a.rS.color("text"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}));var u=n(85893),l=function(e){var t=e.alt,n=e.breakWords,r=e.download,i=e.href,c=e.neutral,l=e.onClick,d=e.rel,p=e.tabIndex,f=e.target,h=e.title,m=e.label,g=e.icon,v=e.children,y=e.useTitle,b=h||(n?void 0:m);return(0,u.jsxs)(s,{alt:t,breakWords:n,download:r,href:i,neutral:c,onClick:l,rel:d,tabIndex:p,target:f,title:y?b:void 0,children:[g&&(0,u.jsx)(o.Z,{icon:g,position:a.co.position.PREPEND}),m||v]})};l.defaultProps={breakWords:!0,useTitle:!0,href:"#",target:"_self"};const d=l;var p,f=n(9481);(0,c.ZP)(f.rU)(p||(p=(0,i.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,a.wy)(),a.FS.color("secondary"),a.FS.color("text"),a.FS.color("secondaryLight"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?a.FS.color("text"):a.FS.color("secondaryLight")}),(function(e){return e.neutral?"none":"underline"}))},69829:(e,t,n)=>{"use strict";n.d(t,{Bs:()=>T,Fe:()=>H,GI:()=>Y,HK:()=>W,HV:()=>q,IV:()=>L,Kf:()=>j,Te:()=>I,Ts:()=>D,UB:()=>U,Vg:()=>C,Xv:()=>z,_B:()=>R,ar:()=>M,kO:()=>B,kQ:()=>N,nb:()=>Z,nr:()=>F,q_:()=>E,xr:()=>A,z2:()=>V});var r,o,a,i,c,s,u,l,d,p,f,h,m,g,v,y,b,w,x,O,S,k=n(30168),P=n(67165),_=n(17995),E=P.ZP.b.withConfig({displayName:"StyledB"})(r||(r=(0,k.Z)(["\n && {\n ","\n }\n ","\n"])),(0,_.wy)({fontWeight:_.FS.fontWeight("bold")}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),C=P.ZP.code.withConfig({displayName:"StyledCode"})(o||(o=(0,k.Z)(["\n && {\n ","\n background-color: ",";\n border-radius: ",";\n padding: "," ",";\n white-space: pre;\n overflow-y: auto;\n }\n"])),(0,_.wy)({fontFamily:_.FS.fontFamily("monospace"),fontSize:_.bA.font(-1)}),_.FS.color("backgroundTypographyCode"),_.FS.radii("form"),_.bA.space(-4),_.bA.space(-2)),D=P.ZP.del.withConfig({displayName:"StyledDel"})(a||(a=(0,k.Z)(["\n && {\n ","\n ","\n text-decoration: line-through;\n }\n"])),(0,_.wy)(),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),j=P.ZP.em.withConfig({displayName:"StyledEm"})(i||(i=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,_.wy)({fontStyle:"italic"}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),T=P.ZP.figcaption.withConfig({displayName:"StyledFigcaption"})(c||(c=(0,k.Z)(["\n && {\n ","\n ","\n margin: "," 0 "," 0;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,_.wy)({fontSize:_.bA.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()}),_.bA.space(-2),_.bA.space(-1)),A=P.ZP.i.withConfig({displayName:"StyledI"})(s||(s=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,_.wy)({fontStyle:"italic"}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),I=P.ZP.ins.withConfig({displayName:"StyledIns"})(u||(u=(0,k.Z)(["\n && {\n ","\n ","\n text-decoration: underline;\n }\n"])),(0,_.wy)(),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),M=P.ZP.label.withConfig({displayName:"StyledLabel"})(l||(l=(0,k.Z)(["\n && {\n ","\n ","\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,_.wy)(),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()}),_.bA.space(-1)),N=P.ZP.mark.withConfig({displayName:"StyledMark"})(d||(d=(0,k.Z)(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n padding: "," ",";\n }\n"])),(0,_.wy)({fontFamily:_.FS.fontFamily("monospace"),color:_.FS.color("paper")}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()}),_.FS.color("signal.info"),_.FS.radii("form"),_.bA.space(-4),_.bA.space(-2)),R=P.ZP.p.withConfig({displayName:"StyledP"})(p||(p=(0,k.Z)(["\n && {\n ","\n ","\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,_.wy)(),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()}),_.bA.space(-1)),F=P.ZP.pre.withConfig({displayName:"StyledPre"})(f||(f=(0,k.Z)(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n border: 1px solid ",";\n display: block;\n margin: 0 0 ",";\n padding: "," ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,_.wy)({fontFamily:_.FS.fontFamily("monospace"),fontSize:_.bA.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()}),_.FS.color("backgroundTypographyCode"),_.FS.radii("form"),_.FS.color("border"),_.bA.space(-1),_.bA.space(-3),_.bA.space(-2)),L=P.ZP.s.withConfig({displayName:"StyledS"})(h||(h=(0,k.Z)(["\n && {\n ","\n ","\n text-decoration: line-through;\n }\n"])),(0,_.wy)(),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),Z=P.ZP.small.withConfig({displayName:"StyledSmall"})(m||(m=(0,k.Z)(["\n && {\n ","\n font-size: calc(1em / ",");\n ","\n }\n"])),(0,_.wy)(),_.FS.fontSize("factor"),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),H=P.ZP.span.withConfig({displayName:"StyledSpan"})(g||(g=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,_.wy)(),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),B=P.ZP.sub.withConfig({displayName:"StyledSub"})(v||(v=(0,k.Z)(["\n && {\n ","\n ","\n line-height: 0;\n position: relative;\n bottom: -0.25em;\n vertical-align: baseline;\n }\n"])),(0,_.wy)({fontSize:_.bA.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),U=P.ZP.sup.withConfig({displayName:"StyledSup"})(y||(y=(0,k.Z)(["\n && {\n ","\n ","\n line-height: 0;\n position: relative;\n top: -0.5em;\n vertical-align: baseline;\n }\n"])),(0,_.wy)({fontSize:_.bA.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),W=P.ZP.strong.withConfig({displayName:"StyledStrong"})(b||(b=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,_.wy)({fontWeight:_.FS.fontWeight("bold")}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),V=P.ZP.time.withConfig({displayName:"StyledTime"})(w||(w=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,_.wy)(),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),z=P.ZP.u.withConfig({displayName:"StyledU"})(x||(x=(0,k.Z)(["\n && {\n ","\n ","\n text-decoration: underline;\n }\n"])),(0,_.wy)(),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),Y=P.ZP.var.withConfig({displayName:"StyledVar"})(O||(O=(0,k.Z)(["\n && {\n ","\n ","\n\n &:after {\n content: ']';\n }\n\n &:before {\n content: '[';\n }\n }\n"])),(0,_.wy)({fontFamily:_.FS.fontFamily("monospace"),fontSize:_.bA.font(-1)}),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()})),q=P.ZP.q.withConfig({displayName:"StyledQ"})(S||(S=(0,k.Z)(["\n && {\n ","\n ","\n\n &:after {\n content: close-quote;\n }\n\n &:before {\n content: open-quote;\n }\n }\n"])),(0,_.wy)(),(function(e){return e.breakWords?(0,_._)():(0,_.lo)()}))},48921:(e,t,n)=>{"use strict";n.d(t,{XU:()=>m,ar:()=>V.ar,EF:()=>L,Fe:()=>V.Fe,hc:()=>B,Ly:()=>he,ZP:()=>me});n(45697);var r,o,a,i,c,s,u,l=n(17995),d=n(30168),p=n(67165),f=function(e){var t;switch(e.styledLike){case"H1":t=l.bA.font(5)(e);break;case"H2":t=l.bA.font(4)(e);break;case"H3":t=l.bA.font(3)(e);break;case"H4":t=l.bA.font(2)(e);break;case"H5":t=l.bA.font(1)(e);break;default:t=l.bA.font(0)(e)}return(0,l.wy)({fontWeight:l.rS.fontWeight("bold"),fontSize:t})},h=function(e){return(0,p.iv)(r||(r=(0,d.Z)(["\n margin-top: ",";\n margin-bottom: ",";\n\n h1 + &,\n h2 + &,\n h3 + &,\n h4 + &,\n h5 + &,\n h6 + & {\n margin-top: 0;\n }\n\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n"])),l.bA.space(0),l.bA.space(-1))},m=p.ZP.h1.withConfig({displayName:"StyledH1"})(o||(o=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return f(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),g=p.ZP.h2.withConfig({displayName:"StyledH2"})(a||(a=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return f(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),v=p.ZP.h3.withConfig({displayName:"StyledH3"})(i||(i=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return f(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),y=p.ZP.h4.withConfig({displayName:"StyledH4"})(c||(c=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return f(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),b=p.ZP.h5.withConfig({displayName:"StyledH5"})(s||(s=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return f(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),w=p.ZP.h6.withConfig({displayName:"StyledH6"})(u||(u=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return f(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),x=n(85893),O=function(e){return(0,x.jsx)(m,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};O.defaultProps={breakWords:!0,styledLike:"H1"};var S=function(e){return(0,x.jsx)(g,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};S.defaultProps={breakWords:!0,styledLike:"H2"};var k=function(e){return(0,x.jsx)(v,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};k.defaultProps={breakWords:!0,styledLike:"H3"};var P=function(e){return(0,x.jsx)(y,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};P.defaultProps={breakWords:!0,styledLike:"H4"};var _=function(e){return(0,x.jsx)(b,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};_.defaultProps={breakWords:!0,styledLike:"H5"};var E,C,D,j,T,A,I,M=function(e){return(0,x.jsx)(w,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};M.defaultProps={breakWords:!0,styledLike:"H6"};var N=p.ZP.dd.withConfig({displayName:"StyledDd"})(E||(E=(0,d.Z)(["\n && {\n ","\n ","\n margin: 0;\n }\n"])),(0,l.wy)(),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),R=p.ZP.dl.withConfig({displayName:"StyledDl"})(C||(C=(0,d.Z)(["\n && {\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),l.bA.space(-1)),F=p.ZP.dt.withConfig({displayName:"StyledDt"})(D||(D=(0,d.Z)(["\n && {\n ","\n ","\n margin: 0;\n }\n"])),(0,l.wy)({fontWeight:l.rS.fontWeight("bold")}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),L=p.ZP.li.withConfig({displayName:"StyledLi"})(j||(j=(0,d.Z)(["\n && {\n ","\n ","\n }\n"])),(0,l.wy)(),(0,l._)()),Z=p.ZP.ol.withConfig({displayName:"StyledList"})(T||(T=(0,d.Z)(["\n && {\n display: block;\n list-style-position: outside;\n margin: 0 0 "," ",";\n padding: 0;\n\n &&,\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),l.bA.space(-1),l.bA.space(-.1)),H=(0,p.ZP)(Z).withConfig({displayName:"StyledOl"})(A||(A=(0,d.Z)(["\n list-style-type: decimal;\n"]))),B=(0,p.ZP)(Z).withConfig({displayName:"StyledUl"})(I||(I=(0,d.Z)(["\n && {\n list-style-type: disc;\n }\n"]))),U=function(e){return(0,x.jsx)(N,{breakWords:e.breakWords,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})},W=function(e){return(0,x.jsx)(F,{breakWords:e.breakWords,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};U.defaultProps=W.defaultProps={breakWords:!0};var V=n(69829),z=function(e){return(0,x.jsx)(V.q_,{breakWords:e.breakWords,title:de(e),children:e.children})},Y=function(e){return(0,x.jsx)(V.Vg,{title:de(e),children:e.children})},q=function(e){return(0,x.jsx)(V.Ts,{breakWords:e.breakWords,title:de(e),children:e.children})},G=function(e){return(0,x.jsx)(V.Kf,{breakWords:e.breakWords,title:de(e),children:e.children})},K=function(e){return(0,x.jsx)(V.Bs,{breakWords:e.breakWords,title:de(e),children:e.children})},X=function(e){return(0,x.jsx)(V.xr,{breakWords:e.breakWords,title:de(e),children:e.children})},$=function(e){return(0,x.jsx)(V.Te,{breakWords:e.breakWords,title:de(e),children:e.children})},Q=function(e){return(0,x.jsx)(V.kQ,{breakWords:e.breakWords,title:de(e),children:e.children})},J=function(e){return(0,x.jsx)(V._B,{breakWords:e.breakWords,title:de(e),children:e.children})},ee=function(e){return(0,x.jsx)(V.nr,{breakWords:e.breakWords,title:de(e),children:e.children})},te=function(e){return(0,x.jsx)(V.IV,{breakWords:e.breakWords,title:de(e),children:e.children})},ne=function(e){return(0,x.jsx)(V.nb,{breakWords:e.breakWords,title:de(e),children:e.children})},re=function(e){return(0,x.jsx)(V.Fe,{breakWords:e.breakWords,title:de(e),children:e.children})},oe=function(e){return(0,x.jsx)(V.kO,{breakWords:e.breakWords,title:de(e),children:e.children})},ae=function(e){return(0,x.jsx)(V.UB,{breakWords:e.breakWords,title:de(e),children:e.children})},ie=function(e){return(0,x.jsx)(V.HK,{breakWords:e.breakWords,title:de(e),children:e.children})},ce=function(e){return(0,x.jsx)(V.z2,{breakWords:e.breakWords,title:e.title,dateTime:e.dateTime,children:e.children})},se=function(e){return(0,x.jsx)(V.Xv,{breakWords:e.breakWords,title:de(e),children:e.children})},ue=function(e){return(0,x.jsx)(V.GI,{breakWords:e.breakWords,title:de(e),children:e.children})},le=function(e){return(0,x.jsx)(V.HV,{breakWords:e.breakWords,title:de(e),children:e.children})},de=function(e){return!e.useTitle||e.breakWords?void 0:(0,l.JX)(e.children)};z.defaultProps=Y.defaultProps=q.defaultProps=G.defaultProps=K.defaultProps=X.defaultProps=$.defaultProps=Q.defaultProps=J.defaultProps=ee.defaultProps=le.defaultProps=te.defaultProps=ne.defaultProps=re.defaultProps=ie.defaultProps=oe.defaultProps=ae.defaultProps=se.defaultProps=ue.defaultProps={breakWords:!0,useTitle:!0},ce.defaultProps={breakWords:!1};var pe=n(27361),fe=n.n(pe),he=function(e,t){var n="\n color: ".concat(l.rS.color("text")(e),";\n font-family: ").concat(l.rS.fontFamily("regular")(e),";\n font-size: ").concat(l.bA.font(0)(e),";\n font-style: ","normal",";\n font-weight: ").concat(l.rS.fontWeight("regular")(e),";\n line-height: ").concat(l.rS.lineHeight("regular")(e),";\n\n a {\n color: ").concat(l.rS.color("secondary")(e),";\n\n &:hover,\n &:focus {\n color: ").concat(fe()(e.theme,"colors.secondaryLight"),";\n text-decoration: underline;\n }\n\n &:active {\n color: ").concat(fe()(e.theme,"colors.secondary"),";\n }\n }\n\n b,\n strong {\n font-weight: ").concat(l.rS.fontWeight("bold")(e),"\n }\n\n em,\n i {\n font-style: italic;\n }\n\n u {\n text-decoration: underline;\n }\n\n h1 {font-size: ").concat(l.bA.font(5)(e),";}\n h2 {font-size: ").concat(l.bA.font(4)(e),";}\n h3 {font-size: ").concat(l.bA.font(3)(e),";}\n h4 {font-size: ").concat(l.bA.font(2)(e),";}\n h5 {font-size: ").concat(l.bA.font(1)(e),";}\n h6 {font-size: ").concat(l.bA.font(0)(e),";}\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: ").concat(l.rS.fontWeight("bold")(e),";\n margin-top: ").concat(l.bA.space(0)(e),";\n margin-bottom: ").concat(l.bA.space(-1)(e),";\n\n + h1,\n + h2,\n + h3,\n + h4,\n + h5,\n + h6,\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n p {\n margin-bottom: ").concat(l.bA.space(-1)(e),";\n &:last-child {\n margin-bottom: 0;\n }\n }\n ");return"ckeditor"!==t&&(n="\n ".concat(n,"\n a {\n text-decoration: none; \n }\n\n ol,\n ul {\n display: block;\n list-style-position: outside;\n margin: 0 0 ").concat(l.bA.space(-1)(e)," 1.6rem;\n padding: 0;\n\n ol,\n ul,\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n ol li {\n list-style-type: decimal;\n }\n\n ul li {\n list-style-type: disc;\n }\n ")),n};const me={H1:O,H2:S,H3:k,H4:P,H5:_,H6:M,Dd:U,Dt:W,Dl:function(e){return(0,x.jsx)(R,{children:e.children})},Li:function(e){return(0,x.jsx)(L,{children:e.children})},Ol:function(e){return(0,x.jsx)(H,{children:e.children})},Ul:function(e){return(0,x.jsx)(B,{as:"ul",children:e.children})},B:z,Code:Y,Del:q,Em:G,Figcaption:K,I:X,Ins:$,Label:function(e){return(0,x.jsx)(V.ar,{breakWords:e.breakWords,title:de(e),htmlFor:e.for,children:e.children})},Mark:Q,P:J,Pre:ee,Q:le,S:te,Small:ne,Span:re,Strong:ie,Sub:oe,Sup:ae,Time:ce,U:se,Var:ue}},17995:(e,t,n)=>{"use strict";n.d(t,{mT:()=>s,v5:()=>c,kk:()=>p,wy:()=>f,lo:()=>h,_:()=>m,co:()=>E,JX:()=>I,Hx:()=>R,b1:()=>C,bA:()=>V,rS:()=>B,FS:()=>Y,zf:()=>z});var r,o,a=n(27361),i=n.n(a),c={base:function(e){var t=e.theme;return i()(t,"colors.text")},shade1:function(e){var t=e.theme;return i()(t,"colors.textLight")},shade2:function(e){var t=e.theme;return i()(t,"colors.textLighter")},signal:function(e){var t=e.theme,n=e.signal;return i()(t,"colors.signal.".concat(n))},hasValue:function(e){var t=e.theme;return i()(t,"colors.signal.info")}},s={base:function(e){var t=e.theme;return i()(t,"colors.border")},signal:function(e){var t=e.theme,n=e.signal;return i()(t,"colors.signal.".concat(n))},isDirty:function(e){var t=e.theme;return i()(t,"colors.secondaryLight")},transparent:function(){return"transparent"}},u=n(30168),l=n(40342),d=n(67165),p=function(e){var t=i()(e.theme,"colors.signal.info",E.fallbackColors.INFO);return(0,d.iv)(r||(r=(0,u.Z)(["\n transition: border-color ease-in-out 100ms;\n will-change: border-color;\n\n &:focus,\n &:focus-within {\n border-color: ",";\n box-shadow: 0 0 6px ",";\n outline: 0;\n\n /**\n * Disable box-shadow for Safari\n * in order to be able to tab through the form fluently\n */\n @media not all and (min-resolution: 0.001dpcm) {\n @supports (-webkit-appearance: none) {\n box-shadow: none;\n }\n }\n }\n "])),t,(0,l.DZ)(.4,t))};const f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,d.iv)(o||(o=(0,u.Z)(["\n color: ",";\n font-family: ",";\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n"])),e.color||B.color("text"),e.fontFamily||B.fontFamily("regular"),e.fontSize||V.font(0),e.fontStyle||"normal",e.fontWeight||B.fontWeight("regular"),e.lineHeight||B.lineHeight("regular"))};var h=function(){return"\n display: inline-block;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"},m=function(){return"\n hyphens: auto;\n overflow-wrap: break-word;\n white-space: normal;\n word-wrap: break-word;\n"},g=n(45697),v=n.n(g),y={NONE:"none",SPIN:"spin"},b={BASE:"base",PRIMARY:"primary",SECONDARY:"secondary"},w={BOX:"layoutBox",CONTAINER:"layoutContainer",NONE:"none"},x={BALL:"ball",FLAT:"flat",PLAIN:"plain",RAISED:"raised"},O={APPEND:"append",BETWEEN:"between",PREPEND:"prepend",SOLE:"sole"},S=v().oneOf(Object.values(y)),k=v().oneOf(Object.values(b)),P=v().oneOf(Object.values(x)),_=v().oneOf(Object.values(O));const E={animation:y,animationPropTypes:S,condition:{BASE:"base",DANGER:"danger",PRIMARY:"primary",SUCCESS:"success",WARNING:"warning",INFO:"info"},ink:b,inkPropTypes:k,layout:w,layoutPropTypes:v().oneOf(Object.values(w)),look:x,lookPropTypes:P,fallbackColors:{SHADE:"#000000",INFO:"#0000ff",TEXT:"#010101",PAPER:"#fefefe"},format:{HTML:"html",SVG:"svg"},oneOfPropTypeAndCompletelyMapped:function(e,t){return v().oneOf(Object.values(e))},position:O,positionPropTypes:_};var C="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;n(35937);var D=n(71002),j=n(1024),T=n.n(j),A=function(e){var t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""};const I=function e(t){var n="";return T().Children.map(t,(function(t,r){"string"==typeof t||"number"==typeof t?n="".concat(n).concat(t):"object"===(0,D.Z)(t)&&t.props.children?n="".concat(n).concat(e(t.props.children)):"object"===(0,D.Z)(t)&&t.props.dangerouslySetInnerHTML&&(n="".concat(n," ").concat(A(t.props.dangerouslySetInnerHTML.__html)))})),n};var M,N=function(e,t){return(0,l.XV)(e,B.color("text")({theme:t}),B.color("paper")({theme:t}))};const R=function(e){var t=e.ink,n=e.look,r=e.theme,o=function(e,t,n){var r="secondary"===e&&"raised"===t;return"primary"===e&&"raised"===t?B.color("primary")({theme:n}):r?B.color("secondary")({theme:n}):B.color("paper")({theme:n})}(t,n,r),a=function(e,t,n,r){return"primary"===e&&"raised"!==t?B.color("primary")({theme:n}):N(r,n)}(t,n,r,o),i=function(e,t,n){return"primary"!==e&&"raised"===t?"0px 0px 0px 1px ".concat(B.color("secondaryLight")({theme:n})," inset;"):"none"}(t,n,r),c=function(e,t,n){return"raised"===t?"primary"===e?B.color("primaryLight")({theme:n}):B.color("secondaryLight")({theme:n}):B.color("backgroundItemHover")({theme:n})}(t,n,r),s=function(e,t,n){return"raised"===e?B.color("paper")({theme:t}):N(n,t)}(n,r,o);return(0,d.iv)(M||(M=(0,u.Z)(["\n background: ",";\n color: ",";\n box-shadow: ",";\n outline: none;\n border: none;\n\n &:focus,\n &:hover {\n background: ",";\n color: ",";\n }\n\n &:active,\n &[aria-pressed='true'] {\n background: ",";\n }\n\n &:disabled,\n &[disabled] {\n background: ",";\n color: ",";\n cursor: not-allowed;\n }\n "])),o,a,i,c,s,(0,l.$n)(.1,c),(0,l.nV)(.41,o),(0,l.nV)(.75,a))};var F=n(59854),L=n.n(F),Z=n(5435),H=function(e){return 0===Object.keys(e).length?Z.Z:e};const B={color:function(e){return function(t){var n=t.theme;return i()(H(n),"colors.".concat(e))}},fontFamily:function(e){return function(t){var n=t.theme;return i()(H(n),"fontFamily.".concat(e))}},fontSize:function(e){return function(t){var n=t.theme;return i()(H(n),"fontSize.".concat(e))}},fontWeight:function(e){return function(t){var n=t.theme;return i()(H(n),"fontWeights.".concat(e))}},lineHeight:function(e){return function(t){var n=t.theme;return i()(H(n),"lineHeights.".concat(e))}},radii:function(e){return function(t){var n=t.theme;return i()(H(n),"radii.".concat(e))}},space:function(e){return function(t){var n=t.theme;return i()(H(n),"space.".concat(e))}},specificProperty:function(e){return function(t){var n=t.theme;return i()(H(n),"specificProperties.".concat(e))}}};var U=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"rem";return"".concat(L()(W(t,e,n),3)).concat(r)},W=function(e,t,n){return Math.pow(n,t)*e};const V={declareScale:U,exponentiate:W,font:function(e,t){return function(n){return U(e,B.fontSize("base")(n),B.fontSize("factor")(n),t)}},space:function(e,t){return function(n){return U(e,B.space("base")(n),B.space("factor")(n),t)}}};n(29439);var z=function(e){(0,j.useEffect)((function(){var t=function(t){"Enter"===t.key&&"TEXTAREA"!==t.target.tagName&&(t.preventDefault(),t.stopPropagation(),e())};return document.addEventListener("keydown",t),function(){document.removeEventListener("keydown",t)}}),[e])},Y=B},44759:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={log:function(){var e;window.console&&(e=console).log.apply(e,arguments)},logError:function(){window.console&&(console.error||console.log).apply(void 0,arguments)},logWarning:function(){window.console&&(console.warn||console.log).apply(void 0,arguments)}}},98773:(e,t,n)=>{"use strict";n.d(t,{AK:()=>d,L0:()=>u,Li:()=>l,Nc:()=>i,S9:()=>f,b_:()=>a,cU:()=>h,hG:()=>o,hK:()=>v,l9:()=>s,lj:()=>m,n7:()=>g,y5:()=>p});var r=n(44759),o="__n-u-l-l__",a={admin:"admin",legacyAdmin:"legacy-admin",widget:"widget",legacyWidget:"legacy-widget"},i=Object.values(a),c={backendUrl:void 0,businessUnit:void 0,embedType:a.admin,widgetConfigKey:void 0},s=function(){return c.backendUrl||""},u=function(e){c.backendUrl=e},l=function(){return c.businessUnit},d=function(e){c.businessUnit=e},p=function(){return c.embedType},f=function(){var e=p();return[a.admin,a.legacyAdmin].includes(e)},h=function(){var e=p();return[a.widget].includes(e)},m=function(e){i.includes(e)?c.embedType=e:r.Z.logError("'".concat(e,"' as embedType is not allowed. Allowed embedTypes are: ").concat(i.join(", ")))},g=function(){return c.widgetConfigKey},v=function(e){c.widgetConfigKey=e}},28002:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(4942),o=n(44759),a=n(98773),i=n(85893);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var s=function(e){var t=e.mapping;return t[(0,a.y5)()||a.b_.admin]||t[a.b_.admin]};const u=function(e){var t=e.mapping;e.propTypes;return function(e){var n=s({mapping:t});return n||o.Z.logError("Unable to render embed component: No embed component defined."),(0,i.jsx)(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))}};const l={EmbedType:a.b_,isInAdminEmbedded:a.S9,isInWidgetEmbedded:a.cU,embedStrategyFactory:u,embedStrategy:s,getBackendUrl:a.l9,setBackendUrl:a.L0,getBusinessUnit:a.Li,setBusinessUnit:a.AK,getEmbedType:a.y5,setEmbedType:a.lj,getWidgetConfigKey:a.n7,setWidgetConfigKey:a.hK,NULL_BUSINESS_UNIT:a.hG,ALLOWED_EMBED_TYPES:a.Nc,setInputEnvs:function(e){var t,n,r,o;(e.backendUrl&&(0,a.L0)(e.backendUrl),e.businessUnit&&(0,a.AK)(e.businessUnit),null!==(t=e.appContext)&&void 0!==t&&t.embedType)&&(0,a.lj)(null===(r=e.appContext)||void 0===r?void 0:r.embedType);null!==(n=e.appContext)&&void 0!==n&&n.widgetConfigKey&&(0,a.hK)(null===(o=e.appContext)||void 0===o?void 0:o.widgetConfigKey)}}},58940:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(77017),o="_tocco_originId";const a={getOriginId:function(){if(sessionStorage.getItem(o))return sessionStorage.getItem(o);var e="".concat("client_","_").concat((0,r.v4)());return sessionStorage.setItem(o,e),e}}},54159:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(4942),o=n(71002),a=n(28002),i=n(58940);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={method:"GET",credentials:"include"},l=function(e){var t=function(e){if(e){if(e instanceof Headers)return e;if("object"===(0,o.Z)(e))return new Headers(e)}return new Headers}(e.headers),n=e.body;return t.has("Content-Type")||("string"==typeof n?t.set("Content-Type","text/plain"):n instanceof FormData||t.set("Content-Type","application/json")),t.has("X-Origin-Id")||t.set("X-Origin-Id",i.Z.getOriginId()),!t.has("X-Business-Unit")&&a.Z.getBusinessUnit()&&t.set("X-Business-Unit",a.Z.getBusinessUnit()),t.has("X-Client")||t.set("X-Client",a.Z.isInAdminEmbedded()?"client":"widget"),t},d=function(e,t){return t.startsWith("/")&&(t=t.substring(1)),t.startsWith("http")?t:t.startsWith("nice2")?"".concat(e,"/").concat(t):"".concat(e,"/nice2/").concat(t)};const p={prepareHeaders:l,prepareUrl:d,executeRequest:function(e){var t=function(e){return s(s(s({},u),e),{},{headers:l(e)})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),n=a.Z.getBackendUrl(),r=d(n,e);return fetch(r,t)},extractBody:function(e){return e.json()}}},94184:(e,t)=>{var n;
2
2
  /*!
3
3
  Copyright (c) 2018 Jed Watson.
4
4
  Licensed under the MIT License (MIT), see