tocco-legacy-bundle 0.1.85 → 0.1.87
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 +12 -0
- package/dist/chunk-240.e32daa8fdfd75de11e09.js +1 -0
- package/dist/chunk-293.b76d06697bd92900930f.js +1 -0
- package/dist/{chunk-560.87a276b3cb43e136f4e1.js → chunk-560.921a930bee3a737bee5c.js} +1 -1
- package/dist/chunk-752.c51e1babf83970d0dd5a.js +6 -0
- package/dist/chunk-867.9521c3824fb87b31043f.js +6 -0
- package/dist/chunk-actions.cadedaab10f4d4da5f69.js +1 -0
- package/dist/{chunk-code-editor.2f610cd0accfa8ef7628.js → chunk-code-editor.eafb3fad86114e330893.js} +1 -1
- package/dist/chunk-docs-actions.6ca8b276147a0b21c9ad.js +6 -0
- package/dist/chunk-vendor-fontawesome.428fb8a2ead9aced75bc.js +1 -0
- package/dist/chunk-vendor-icons.f06b992459385e4f6b9f.js +1 -0
- package/dist/docs-browser.js +2 -2
- package/dist/entity-browser.js +6 -6
- package/dist/input-edit.js +3 -3
- package/dist/installation-delta-action.js +2 -2
- package/dist/login.js +8 -8
- package/dist/merge.js +2 -2
- package/dist/password-update.js +8 -8
- package/dist/resource-scheduler.js +7 -7
- package/dist/sso-login.js +2 -2
- package/dist/two-factor-connector.js +8 -8
- package/package.json +1 -1
- package/dist/chunk-808.7a1593c9e3ba56e5c92b.js +0 -6
- package/dist/chunk-826.eab09c46bb4f6689893e.js +0 -1
- package/dist/chunk-828.1465c6e7ba186b091212.js +0 -1
- package/dist/chunk-actions.9a1d01b947c389aa20bb.js +0 -1
- package/dist/chunk-docs-actions.fd74e493b4746edf1eed.js +0 -11
- package/dist/chunk-vendor-fontawesome.5e49e71147ea2456c445.js +0 -1
- package/dist/chunk-vendor-icons.453df967fb5dddc0f62b.js +0 -1
package/dist/{chunk-code-editor.2f610cd0accfa8ef7628.js → chunk-code-editor.eafb3fad86114e330893.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunktocco_=self.webpackChunktocco_||[]).push([[85],{67154:e=>{function r(){return e.exports=r=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},r.apply(this,arguments)}e.exports=r},30919:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>we});var n=t(63038),o=t.n(n),l=t(28655),a=t.n(l),i=t(22085),s=t.n(i),c=(t(66245),t(56544)),u=t(7197),f=t(81272),d=t(82341),h=t(97595),p=t(66679),v=t(38794),m=t(12964),g=t(27361),b=t.n(g),y=t(14293),_=t.n(y),k=t(13218),x=t.n(k),w=t(47037),E=t.n(w),S=t(1024),O=t(38205),z=(t(36976),t(92194),t(2565),t(8821),t(71083),t(42061),t(74576),t(82454),t(55872),t(58119),t(64886)),R=t(93913),A=t.n(R),T=t(34575),j=t.n(T),I=t(2205),Z=t.n(I),C=t(78585),L=t.n(C),M=t(29754),N=t.n(M),D=(t(51500),t(1469)),F=t.n(D),P=t(30236),U=t.n(P),$=t(72049);function B(e){var r=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,n=N()(e);if(r){var o=N()(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return L()(this,t)}}const V=function(e){return function(r){Z()(n,r);var t=B(n);function n(){var r;j()(this,n),r=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($.wk.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($.Gn.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($._O.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"constant.language",regex:"(".concat($.HZ.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"support.type",regex:"(".concat($.V5.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 r.$rules=U()(r.$rules,l,(function(e,r){return F()(e)?e.concat(r):void 0})),r.normalizeRules(),r}return A()(n)}(s().require("ace/mode/text_highlight_rules").TextHighlightRules)};function q(e){var r=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,n=N()(e);if(r){var o=N()(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return L()(this,t)}}var H=function(e){Z()(t,e);var r=q(t);function t(){var e;j()(this,t);return(e=r.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 A()(t)}(s().require("ace/mode/text_highlight_rules").TextHighlightRules),W=function(e){Z()(t,e);var r=q(t);function t(){var e;j()(this,t),e=r.call(this);var n=["query","queryCount"],o=[{token:"keyword.function",regex:"\\[@(".concat(n.join("|"),").*?]"),push:"tql-start"},{token:"comment",regex:"\\[#--",next:"ftl-dcomment"},{token:"string.interpolated",regex:"\\${",push:"ftl-start"},{token:"keyword.function",regex:"\\[/?#(assign|attempt|break|case|compress|default|elseif|else|escape|fallback|function|flush|ftl|global|if|import|include|list|local|lt|macro|nested|noescape|noparse|nt|recover|recurse|return|rt|setting|stop|switch|t|visit)",push:"ftl-start"},{token:"keyword.other",regex:"\\[/?@[a-zA-Z\\.]+",push:"ftl-start"}];for(var l in e.$rules)e.$rules[l].unshift.apply(e.$rules[l],o);e.embedRules(H,"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(n.join("|"),")]"),next:"pop"}];e.embedRules(V(),"tql-",a,["start"]);var i={"tql-rootwhere":[{token:"keyword.function",regex:"\\[/@(".concat(n.join("|"),")]"),next:"pop"}],"tql-order":[{token:"keyword.function",regex:"\\[/@(".concat(n.join("|"),")]"),next:"pop"}]};return e.$rules=U()(e.$rules,i,(function(e,r){return F()(e)?e.concat(r):void 0})),e.normalizeRules(),e}return A()(t)}(s().require("ace/mode/html_highlight_rules").HtmlHighlightRules),G=t(68551),Y=t.n(G),K=t(319),J=t.n(K),Q=s().require("ace/token_iterator").TokenIterator,X=function(e){return e?e.type.substring(e.type.lastIndexOf(".")+1):null},ee=function(e,r){return X(e.getCurrentToken())===r},re=function(e){if(ee(e,"model")&&e.stepBackward(),(ee(e,"field")||ee(e,"relation"))&&e.stepBackward(),!ee(e,"chaining"))return null;if(e.stepBackward(),ee(e,"model")){var r=e.getCurrentToken();return e.stepBackward(),e.stepBackward(),r?r.value.trim():null}return null},te=function(e,r){for(;!ee(e,r);)if(!e.stepBackward())return!1;return!0},ne=function(e,r){return ee(e,"rparen")?1:r>0&&ee(e,"lparen")?(e.stepBackward(),-1):0},oe=function(e){for(var r=0;e.getCurrentToken();){if(0===r&&ee(e,"where")){var t=e.stepBackward();return t?[t.value.trim()].concat(J()(ae(e))):[]}if(ee(e,"order_by")){if(te(e,"find")){var n=e.stepForward();return n?n.value.trim():[]}return[]}if(r+=ne(e,r),!e.stepBackward())return null}return null},le=function(e,r){for(var t=[],n=r(e);n;)Array.isArray(n)?n.forEach((function(e){return t.unshift(e)})):t.unshift(n),n=r(e);return t},ae=function(e){return le(e,re)},ie=function(e){return le(e,oe)},se=1e3,ce=function(e,r,t){var n=function(e,r){if(r){var t=ie(e());return{baseModel:r,modelScope:Y()(t).slice(0)}}var n=ie(e()),o=Y()(n);return{baseModel:o[0],modelScope:o.slice(1)}}(e,t),o=n.baseModel,l=n.modelScope;if(o){var a=ae(e()),i=[].concat(J()(l),J()(a)).map((function(e){return"rel".concat(e)}));(function(e){var r=Y()(e),t=r[0],n=r.slice(1);return(0,z.w)(function(e,r){var t=r.length>0?"/resolve?path="+r.join("."):"";return"entities/".concat(e,"/model").concat(t)}(t,n)).then(z.c).then((function(e){if(!e)return[];var r=e.fields||[],t=e.relations||[];return[].concat(J()(r.map((function(e){return{label:(r=e,r.label?"".concat(r.fieldName," (").concat(r.label,")"):r.fieldName),value:e.fieldName,meta:e.type};var r}))),J()(t.map((function(e){return{label:(r=e,r.label?"".concat(r.relationName," (").concat(r.label,")"):r.relationName),value:e.relationName,meta:e.targetEntity};var r}))))}))})([o].concat(J()(i))).then((function(e){var t=e.map((function(e){return{caption:e.label,value:e.value,meta:e.meta,score:se}}));r(null,t)})).catch((function(e){return r(e)}))}},ue=function(e,r){return r?"".concat(e," (").concat(r,")"):e},fe=function(e){return(0,z.w)("entities").then(z.c).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(r){var t=r.map((function(e){var r=e.modelName,t=e.label;return{caption:ue(r,t),value:r,score:se}}));e(null,t)})).catch((function(r){return e(r)}))},de=function(){return $.wk.map((function(e){return e.toUpperCase()})).map((function(e){return{caption:e,value:"".concat(e,"()"),meta:"function",score:970}}))};const he=function(e){return{getCompletions:function(r,t,n,o,l){var a=function(){return new Q(t,n.row,n.column)},i=a(),s=i.getCurrentToken(),c=i.stepBackward()?i.getCurrentToken():null;switch(X(s)){case"chaining":case"relation":case"separator":case"order_by":case"count":case"exists":case"field":case"function_arguments":ce(a,l,e);break;case"where":case"conjunction":ce(a,l,e),l(null,de());break;case"nice_function":l(null,de());break;case"find":fe(l);break;case"type":case"tocco_placeholder":case"comparison":l(null,$.V5.map((function(e){return{caption:e,value:"".concat(e,":"),meta:"type",score:980}}))),l(null,$._O.map((function(e){return{caption:e,value:":".concat(e),meta:"placeholder",score:990}})));break;case"model":ce(a,l,e),c&&"relation"!==X(c)&&fe(l);break;case null:e&&ce(a,l,e),l(null,de())}}}};function pe(e){var r=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,n=N()(e);if(r){var o=N()(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return L()(this,t)}}var ve=function(e){Z()(t,e);var r=pe(t);function t(){var e;return j()(this,t),(e=r.call(this)).HighlightRules=W,e.completer=he(),e}return A()(t)}(s().require("ace/mode/ftl").Mode);function me(e){var r=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,n=N()(e);if(r){var o=N()(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return L()(this,t)}}var ge,be=function(e){Z()(t,e);var r=me(t);function t(e){var n,o=e.implicitModelName;return j()(this,t),(n=r.call(this)).HighlightRules=V(o),n.completer=he(o),n.snippedIdField=null,n}return A()(t)}(s().require("ace/mode/text").Mode),ye=t(85893),_e=O.ZP.div.withConfig({displayName:"StyledEditor"})(ge||(ge=a()(["\n width: 100%;\n z-index: 0; /* gutter lays over menu otherwise */\n"]))),ke={groovy:function(){return new u.Mode},html:function(){return new f.Mode},xml:function(){return new m.Mode},properties:function(){return new p.Mode},json:function(){return new d.Mode},htmlmixed:function(){return new ve},freemarkermixed:function(){return new ve},ftl:function(){return new ve},tql:function(e){return new be(e)},less:function(){return new h.Mode},drools:function(){return new c.Mode},text:function(){return new v.Mode}},xe=function(e,r){var t=r.mode,n=r.theme,l=r.showGutter,a=r.editorOptions,i=void 0===a?{}:a;(function(e){return E()(e)?Promise.resolve(e):x()(e)?(0,z.w)("entities/2.0/".concat(e.entityModel,"/").concat(e.key,"?_paths=").concat(e.field)).then(z.c).then((function(e){return b()(e,["paths","entity_name","value"],null)})):Promise.resolve(null)})(r.implicitModel).then((function(e){return function(e,r){return b()(ke,e,e)(r)}(t,{implicitModelName:e})})).then((function(r){return e.getSession().setMode(r)})),e.setTheme("ace/theme/".concat(n)),Object.entries(i).forEach((function(r){var t=o()(r,2),n=t[0],l=t[1];e.setOption(n,l)})),e.renderer.setShowGutter(l),e.resize()};const we=function(e){var r=e.mode,t=e.theme,n=void 0===t?"textmate":t,o=e.value,l=e.onChange,a=e.showGutter,i=void 0===a||a,c=e.editorOptions,u=void 0===c?{}:c,f=e.implicitModel,d=e.autoFocusOnMount,h=void 0!==d&&d,p=(0,S.useRef)(null),v=(0,S.useRef)(null),m=(0,S.useMemo)((function(){return{mode:r,theme:n,showGutter:i,editorOptions:u,implicitModel:f,autoFocusOnMount:h}}),[r,n,i,u,f,h]);return(0,S.useEffect)((function(){var e=s().edit(p.current);return e.getSession().setValue(o||""),e.on("change",(function(){return l(e.getValue())})),xe(e,m),v.current=e,m.autoFocusOnMount&&v.current.focus(),function(){return e.destroy()}}),[]),(0,S.useEffect)((function(){v.current&&xe(v.current,m)}),[m]),(0,S.useEffect)((function(){v.current&&!_()(o)&&o!==v.current.getValue()&&v.current.getSession().setValue(o)}),[o]),(0,ye.jsx)(_e,{ref:p})}},72049:(e,r,t)=>{"use strict";t.d(r,{Gn:()=>n,HZ:()=>o,V5:()=>l,_O:()=>a,wk:()=>i});var n=/^(682|820)$/.test(t.j)?null:["==","!=","<=",">=","<",">","~="],o=/^(682|820)$/.test(t.j)?null:["true","false","null"],l=/^(682|820)$/.test(t.j)?null:["string","long","serial","bool","boolean","double","float","time","timestamp","char","varchar","date","datetime"],a=/^(682|820)$/.test(t.j)?null:["now_date","yesterday_date","tomorrow_date","today_date","now_start","yesterday_start","tomorrow_start","today_start","now","yesterday","tomorrow","today","currentUsername","currentUser","currentBu"],i=/^(682|820)$/.test(t.j)?null:["in","dateadd","datetimeadd","duedate","birthdayin","fulltext","likeall","distance","inboundingbox"]},64886:(e,r,t)=>{"use strict";if(t.d(r,{c:()=>l,w:()=>o}),!/^(682|820)$/.test(t.j))var n=t(54159);var o=function(e){return n.Z.executeRequest("rest/".concat(e))},l=function(e){return 200===e.status?e.json():null}},48078:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>s});var n=t(52817),o=t(41609),l=t.n(o),a=t(41291),i=t(85893);const s=function(e){var r=e.value,t=e.breakWords,o=(0,n._)(r),s=l()(o)?r:o.formatInternational();return(0,i.jsx)(a.Z,{href:"tel:".concat(r),target:"_blank",onClick:function(e){return e.stopPropagation()},label:s,breakWords:t})}},83418:(e,r,t)=>{"use strict";t.d(r,{Z:()=>ne});var n=t(59713),o=t.n(n),l=t(72757),a=t(1024),i=t(86896),s=t(93913),c=t.n(s),u=t(34575),f=t.n(u),d=t(2205),h=t.n(d),p=t(78585),v=t.n(p),m=t(29754),g=t.n(m),b=t(11820),y=t(39269),_=t(96840),k=t(75528),x=t(52079),w=t(84184),E=t(40569),S=t(75460),O=t(65761),z=t(53626),R=t(73043),A=t(16797),T=t(71297),j=t(55444),I=t(6672),Z=t(18195),C=t(23132),L=t(78374),M=t(4175),N=t(21094),D=t(20211),F=t(51778),P=t(87388),U=t(89906),$=t(41831);function B(e){var r=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,n=g()(e);if(r){var o=g()(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return v()(this,t)}}var V=function(e){h()(t,e);var r=B(t);function t(){return f()(this,t),r.apply(this,arguments)}return c()(t)}(b.Z);V.builtinPlugins=[y.Z,_.Z,E.Z,S.Z,O.Z,z.Z,R.Z,T.Z,A.Z,j.Z,I.Z,Z.Z,k.Z,C.Z,L.Z,M.Z,N.Z,D.Z,F.Z,x.Z,P.Z,U.Z,$.Z,w.Z],V.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 q=V;var H,W=t(28655),G=t.n(W),Y=t(38205),K=t(56822),J=Y.ZP.div.withConfig({displayName:"StyledHtmlEditor"})(H||(H=G()(["\n && {\n .ck-editor {\n --ck-border-radius: 0.27rem;\n ","\n\n .ck.ck-list__item .ck-button.ck-fontsize-option .ck-button__label {\n line-height: 1;\n }\n\n .ck-editor__editable {\n min-height: 100px;\n }\n }\n }\n"])),(function(e){return(0,K.L)(e,"ckeditor")})),Q=t(85893);function X(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function ee(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?X(Object(t),!0).forEach((function(r){o()(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):X(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var re=function(e){switch(e){case"fr-CH":return"fr";case"it-CH":return"it";case"en-US":return"en";case"fr":case"en":case"it":case"de":return e;default:return"de"}},te=function(e){var r=e.value,t=e.onChange,n=e.contentLang,o=e.ckEditorConfig,s=(0,i.Z)().locale,c=(0,a.useRef)(!1);return(0,Q.jsx)(J,{children:(0,Q.jsx)(l.CKEditor,{editor:q,config:ee({language:{ui:re(s),content:n}},o),data:r,onChange:function(e,r){if(r.plugins.get("SourceEditing").isSourceEditingMode){if(!0===c.current)return;c.current=!0}var n=r.getData();t(n)}})})};te.defaultProps={value:"",contentLang:"de"};const ne=te},17676:(e,r,t)=>{"use strict";if(t.r(r),t.d(r,{default:()=>o}),!/^(682|820)$/.test(t.j))var n=t(83418);const o=/^(682|820)$/.test(t.j)?null:n.Z},81251:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>c});var n=t(59713),o=t.n(n),l=t(88162),a=t(85893);function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function s(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?i(Object(t),!0).forEach((function(r){o()(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}const c=function(e){var r=e.size,t=e.style,n=e.icon;return(0,a.jsx)(l.Z,s(s({},t),{},{style:{fontSize:r},spin:!0,icon:n||"circle-notch"}))}},28368:(e,r,t)=>{var n=t(90939);e.exports=function(e,r,t){var o=(t="function"==typeof t?t:void 0)?t(e,r):void 0;return void 0===o?n(e,r,void 0,t):!!o}},14293:e=>{e.exports=function(e){return null==e}},30084:(e,r,t)=>{var n=t(29932),o=t(278),l=t(1469),a=t(33448),i=t(55514),s=t(40327),c=t(79833);e.exports=function(e){return l(e)?n(e,s):a(e)?[e]:o(i(c(e)))}},45509:(e,r,t)=>{"use strict";t.d(r,{Z:()=>w});var n=t(1024),o=t.n(n),l=t(45697),a=t.n(l),i="undefined"!=typeof window?window:null,s=null===i,c=s?void 0:i.document,u="horizontal",f=function(){return!1},d=s?"calc":["","-webkit-","-moz-","-o-"].filter((function(e){var r=c.createElement("div");return r.style.cssText="width:"+e+"calc(9px)",!!r.style.length})).shift()+"calc",h=function(e){return"string"==typeof e||e instanceof String},p=function(e){if(h(e)){var r=c.querySelector(e);if(!r)throw new Error("Selector "+e+" did not match a DOM element");return r}return e},v=function(e,r,t){var n=e[r];return void 0!==n?n:t},m=function(e,r,t,n){if(r){if("end"===n)return 0;if("center"===n)return e/2}else if(t){if("start"===n)return 0;if("center"===n)return e/2}return e},g=function(e,r){var t=c.createElement("div");return t.className="gutter gutter-"+r,t},b=function(e,r,t){var n={};return h(r)?n[e]=r:n[e]=d+"("+r+"% - "+t+"px)",n},y=function(e,r){var t;return(t={})[e]=r+"px",t};const _=function(e,r){if(void 0===r&&(r={}),s)return{};var t,n,o,l,a,d,h=e;Array.from&&(h=Array.from(h));var _=p(h[0]).parentNode,k=getComputedStyle?getComputedStyle(_):null,x=k?k.flexDirection:null,w=v(r,"sizes")||h.map((function(){return 100/h.length})),E=v(r,"minSize",100),S=Array.isArray(E)?E:h.map((function(){return E})),O=v(r,"maxSize",1/0),z=Array.isArray(O)?O:h.map((function(){return O})),R=v(r,"expandToMin",!1),A=v(r,"gutterSize",10),T=v(r,"gutterAlign","center"),j=v(r,"snapOffset",30),I=Array.isArray(j)?j:h.map((function(){return j})),Z=v(r,"dragInterval",1),C=v(r,"direction",u),L=v(r,"cursor",C===u?"col-resize":"row-resize"),M=v(r,"gutter",g),N=v(r,"elementStyle",b),D=v(r,"gutterStyle",y);function F(e,r,n,o){var l=N(t,r,n,o);Object.keys(l).forEach((function(r){e.style[r]=l[r]}))}function P(){return d.map((function(e){return e.size}))}function U(e){return"touches"in e?e.touches[0][n]:e[n]}function $(e){var r=d[this.a],t=d[this.b],n=r.size+t.size;r.size=e/this.size*n,t.size=n-e/this.size*n,F(r.element,r.size,this._b,r.i),F(t.element,t.size,this._c,t.i)}function B(e){var t,n=d[this.a],o=d[this.b];this.dragging&&(t=U(e)-this.start+(this._b-this.dragOffset),Z>1&&(t=Math.round(t/Z)*Z),t<=n.minSize+n.snapOffset+this._b?t=n.minSize+this._b:t>=this.size-(o.minSize+o.snapOffset+this._c)&&(t=this.size-(o.minSize+this._c)),t>=n.maxSize-n.snapOffset+this._b?t=n.maxSize+this._b:t<=this.size-(o.maxSize-o.snapOffset+this._c)&&(t=this.size-(o.maxSize+this._c)),$.call(this,t),v(r,"onDrag",f)(P()))}function V(){var e=d[this.a].element,r=d[this.b].element,n=e.getBoundingClientRect(),a=r.getBoundingClientRect();this.size=n[t]+a[t]+this._b+this._c,this.start=n[o],this.end=n[l]}function q(e){var r=function(e){if(!getComputedStyle)return null;var r=getComputedStyle(e);if(!r)return null;var t=e[a];return 0===t?null:t-=C===u?parseFloat(r.paddingLeft)+parseFloat(r.paddingRight):parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)}(_);if(null===r)return e;if(S.reduce((function(e,r){return e+r}),0)>r)return e;var t=0,n=[],o=e.map((function(o,l){var a=r*o/100,i=m(A,0===l,l===e.length-1,T),s=S[l]+i;return a<s?(t+=s-a,n.push(0),s):(n.push(a-s),a)}));return 0===t?e:o.map((function(e,o){var l=e;if(t>0&&n[o]-t>0){var a=Math.min(t,n[o]-t);t-=a,l=e-a}return l/r*100}))}function H(){var e=this,t=d[e.a].element,n=d[e.b].element;e.dragging&&v(r,"onDragEnd",f)(P()),e.dragging=!1,i.removeEventListener("mouseup",e.stop),i.removeEventListener("touchend",e.stop),i.removeEventListener("touchcancel",e.stop),i.removeEventListener("mousemove",e.move),i.removeEventListener("touchmove",e.move),e.stop=null,e.move=null,t.removeEventListener("selectstart",f),t.removeEventListener("dragstart",f),n.removeEventListener("selectstart",f),n.removeEventListener("dragstart",f),t.style.userSelect="",t.style.webkitUserSelect="",t.style.MozUserSelect="",t.style.pointerEvents="",n.style.userSelect="",n.style.webkitUserSelect="",n.style.MozUserSelect="",n.style.pointerEvents="",e.gutter.style.cursor="",e.parent.style.cursor="",c.body.style.cursor=""}function W(e){if(!("button"in e)||0===e.button){var t=this,n=d[t.a].element,o=d[t.b].element;t.dragging||v(r,"onDragStart",f)(P()),e.preventDefault(),t.dragging=!0,t.move=B.bind(t),t.stop=H.bind(t),i.addEventListener("mouseup",t.stop),i.addEventListener("touchend",t.stop),i.addEventListener("touchcancel",t.stop),i.addEventListener("mousemove",t.move),i.addEventListener("touchmove",t.move),n.addEventListener("selectstart",f),n.addEventListener("dragstart",f),o.addEventListener("selectstart",f),o.addEventListener("dragstart",f),n.style.userSelect="none",n.style.webkitUserSelect="none",n.style.MozUserSelect="none",n.style.pointerEvents="none",o.style.userSelect="none",o.style.webkitUserSelect="none",o.style.MozUserSelect="none",o.style.pointerEvents="none",t.gutter.style.cursor=L,t.parent.style.cursor=L,c.body.style.cursor=L,V.call(t),t.dragOffset=U(e)-t.end}}C===u?(t="width",n="clientX",o="left",l="right",a="clientWidth"):"vertical"===C&&(t="height",n="clientY",o="top",l="bottom",a="clientHeight"),w=q(w);var G=[];function Y(e){var r=e.i===G.length,t=r?G[e.i-1]:G[e.i];V.call(t);var n=r?t.size-e.minSize-t._c:e.minSize+t._b;$.call(t,n)}return(d=h.map((function(e,r){var n,o={element:p(e),size:w[r],minSize:S[r],maxSize:z[r],snapOffset:I[r],i:r};if(r>0&&((n={a:r-1,b:r,dragging:!1,direction:C,parent:_})._b=m(A,r-1==0,!1,T),n._c=m(A,!1,r===h.length-1,T),"row-reverse"===x||"column-reverse"===x)){var l=n.a;n.a=n.b,n.b=l}if(r>0){var a=M(r,C,o.element);!function(e,r,n){var o=D(t,r,n);Object.keys(o).forEach((function(r){e.style[r]=o[r]}))}(a,A,r),n._a=W.bind(n),a.addEventListener("mousedown",n._a),a.addEventListener("touchstart",n._a),_.insertBefore(a,o.element),n.gutter=a}return F(o.element,o.size,m(A,0===r,r===h.length-1,T),r),r>0&&G.push(n),o}))).forEach((function(e){var r=e.element.getBoundingClientRect()[t];r<e.minSize&&(R?Y(e):e.minSize=r)})),{setSizes:function(e){var r=q(e);r.forEach((function(e,t){if(t>0){var n=G[t-1],o=d[n.a],l=d[n.b];o.size=r[t-1],l.size=e,F(o.element,o.size,n._b,o.i),F(l.element,l.size,n._c,l.i)}}))},getSizes:P,collapse:function(e){Y(d[e])},destroy:function(e,r){G.forEach((function(n){if(!0!==r?n.parent.removeChild(n.gutter):(n.gutter.removeEventListener("mousedown",n._a),n.gutter.removeEventListener("touchstart",n._a)),!0!==e){var o=N(t,n.a.size,n._b);Object.keys(o).forEach((function(e){d[n.a].element.style[e]="",d[n.b].element.style[e]=""}))}}))},parent:_,pairs:G}};function k(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}var x=function(e){function r(){e.apply(this,arguments)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.componentDidMount=function(){var e=this.props;e.children;var r=e.gutter,t=k(e,["children","gutter"]);t.gutter=function(e,t){var n;return r?n=r(e,t):(n=document.createElement("div")).className="gutter gutter-"+t,n.__isSplitGutter=!0,n},this.split=_(this.parent.children,t)},r.prototype.componentDidUpdate=function(e){var r=this,t=this.props;t.children;var n=t.minSize,o=t.sizes,l=t.collapsed,a=k(t,["children","minSize","sizes","collapsed"]),i=e.minSize,s=e.sizes,c=e.collapsed,u=["maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor"].map((function(t){return r.props[t]!==e[t]})).reduce((function(e,r){return e||r}),!1);if(Array.isArray(n)&&Array.isArray(i)){var f=!1;n.forEach((function(e,r){f=f||e!==i[r]})),u=u||f}else u=!(!Array.isArray(n)&&!Array.isArray(i))||(u||n!==i);if(u)a.minSize=n,a.sizes=o||this.split.getSizes(),this.split.destroy(!0,!0),a.gutter=function(e,r,t){return t.previousSibling},this.split=_(Array.from(this.parent.children).filter((function(e){return!e.__isSplitGutter})),a);else if(o){var d=!1;o.forEach((function(e,r){d=d||e!==s[r]})),d&&this.split.setSizes(this.props.sizes)}Number.isInteger(l)&&(l!==c||u)&&this.split.collapse(l)},r.prototype.componentWillUnmount=function(){this.split.destroy(),delete this.split},r.prototype.render=function(){var e=this,r=this.props;r.sizes,r.minSize,r.maxSize,r.expandToMin,r.gutterSize,r.gutterAlign,r.snapOffset,r.dragInterval,r.direction,r.cursor,r.gutter,r.elementStyle,r.gutterStyle,r.onDrag,r.onDragStart,r.onDragEnd,r.collapsed;var t=r.children,n=k(r,["sizes","minSize","maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor","gutter","elementStyle","gutterStyle","onDrag","onDragStart","onDragEnd","collapsed","children"]);return o().createElement("div",Object.assign({},{ref:function(r){e.parent=r}},n),t)},r}(o().Component);x.propTypes={sizes:a().arrayOf(a().number),minSize:a().oneOfType([a().number,a().arrayOf(a().number)]),maxSize:a().oneOfType([a().number,a().arrayOf(a().number)]),expandToMin:a().bool,gutterSize:a().number,gutterAlign:a().string,snapOffset:a().oneOfType([a().number,a().arrayOf(a().number)]),dragInterval:a().number,direction:a().string,cursor:a().string,gutter:a().func,elementStyle:a().func,gutterStyle:a().func,onDrag:a().func,onDragStart:a().func,onDragEnd:a().func,collapsed:a().number,children:a().arrayOf(a().element)},x.defaultProps={sizes:void 0,minSize:void 0,maxSize:void 0,expandToMin:void 0,gutterSize:void 0,gutterAlign:void 0,snapOffset:void 0,dragInterval:void 0,direction:void 0,cursor:void 0,gutter:void 0,elementStyle:void 0,gutterStyle:void 0,onDrag:void 0,onDragStart:void 0,onDragEnd:void 0,collapsed:void 0,children:void 0};const w=x},66448:(e,r,t)=>{"use strict";t.d(r,{$U:()=>h,CO:()=>_,EK:()=>E,En:()=>y,FT:()=>o,IV:()=>g,Kn:()=>k,LD:()=>c,Lo:()=>R,O4:()=>n,Qm:()=>C,VZ:()=>A,Ve:()=>m,WF:()=>N,WL:()=>f,Wu:()=>O,_V:()=>z,bh:()=>T,c4:()=>I,cc:()=>x,dO:()=>v,gV:()=>L,gm:()=>j,gy:()=>i,hL:()=>l,kF:()=>D,m$:()=>s,ou:()=>p,qh:()=>w,td:()=>S,tn:()=>M,ud:()=>d,v7:()=>b,w8:()=>u,z$:()=>a,zD:()=>Z});var n="@@redux-form/",o=n+"ARRAY_INSERT",l=n+"ARRAY_MOVE",a=n+"ARRAY_POP",i=n+"ARRAY_PUSH",s=n+"ARRAY_REMOVE",c=n+"ARRAY_REMOVE_ALL",u=n+"ARRAY_SHIFT",f=n+"ARRAY_SPLICE",d=n+"ARRAY_UNSHIFT",h=n+"ARRAY_SWAP",p=n+"AUTOFILL",v=n+"BLUR",m=n+"CHANGE",g=n+"CLEAR_FIELDS",b=n+"CLEAR_SUBMIT",y=n+"CLEAR_SUBMIT_ERRORS",_=n+"CLEAR_ASYNC_ERROR",k=n+"DESTROY",x=n+"FOCUS",w=n+"INITIALIZE",E=n+"REGISTER_FIELD",S=n+"RESET",O=n+"RESET_SECTION",z=n+"SET_SUBMIT_FAILED",R=n+"SET_SUBMIT_SUCCEEDED",A=n+"START_ASYNC_VALIDATION",T=n+"START_SUBMIT",j=n+"STOP_ASYNC_VALIDATION",I=n+"STOP_SUBMIT",Z=n+"SUBMIT",C=n+"TOUCH",L=n+"UNREGISTER_FIELD",M=n+"UNTOUCH",N=n+"UPDATE_SYNC_ERRORS",D=n+"UPDATE_SYNC_WARNINGS"},883:(e,r,t)=>{"use strict";t.d(r,{Z:()=>l});var n=t(30084),o=t.n(n);const l=/^(713|763|947|99)$/.test(t.j)?function(e){var r=function(e){return function(r,t){return void 0!==e.getIn(r,t)}},t=e.deepEqual,n=e.empty,l=e.getIn,a=e.deleteIn,i=e.setIn;return function(s){void 0===s&&(s=r);return function r(c,u){if("]"===u[u.length-1]){var f=o()(u);return f.pop(),l(c,f.join("."))?i(c,u):c}var d=c;s(e)(c,u)&&(d=a(c,u));var h=u.lastIndexOf(".");if(h>0){var p=u.substring(0,h);if("]"!==p[p.length-1]){var v=l(d,p);if(t(v,n))return r(d,p)}}return d}}}:null},17632:(e,r,t)=>{"use strict";t.d(r,{Z:()=>l});var n=t(8306);var o=t(14892);const l=(a=o.Z,function(e,r){var t=(0,n.Z)(a)(e,r);return function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return!t.apply(void 0,[e].concat(n))}});var a},85300:(e,r,t)=>{"use strict";t.d(r,{Z:()=>d});var n=t(37316),o=t.n(n),l=t(23560),a=t.n(l),i=t(66448),s=t(883),c=t(14892),u=function(e){var r=e.getIn;return function(e,t){var n=null;/^values/.test(t)&&(n=t.replace("values","initial"));var o=!n||void 0===r(e,n);return void 0!==r(e,t)&&o}};const f=function(e){var r,t=e.deepEqual,n=e.empty,l=e.forEach,f=e.getIn,d=e.setIn,h=e.deleteIn,p=e.fromJS,v=e.keys,m=e.size,g=e.some,b=e.splice,y=(0,s.Z)(e)(u),_=(0,s.Z)(c.Z)(u),k=function(e,r,t,n,o,l,a){var i=f(e,r+"."+t);return i||a?d(e,r+"."+t,b(i,n,o,l)):e},x=function(e,r,t,n,o,l,a){var i=f(e,r),s=c.Z.getIn(i,t);return s||a?d(e,r,c.Z.setIn(i,t,c.Z.splice(s,n,o,l))):e},w=["values","fields","submitErrors","asyncErrors"],E=function(e,r,t,o,l){var a=e,i=null!=l?n:void 0;return a=k(a,"values",r,t,o,l,!0),a=k(a,"fields",r,t,o,i),a=x(a,"syncErrors",r,t,o,void 0),a=x(a,"syncWarnings",r,t,o,void 0),a=k(a,"submitErrors",r,t,o,void 0),a=k(a,"asyncErrors",r,t,o,void 0)},S=((r={})[i.FT]=function(e,r){var t=r.meta,n=t.field,o=t.index,l=r.payload;return E(e,n,o,0,l)},r[i.hL]=function(e,r){var t=r.meta,n=t.field,o=t.from,l=t.to,a=f(e,"values."+n),i=a?m(a):0,s=e;return i&&w.forEach((function(e){var r=e+"."+n;if(f(s,r)){var t=f(s,r+"["+o+"]");s=d(s,r,b(f(s,r),o,1)),s=d(s,r,b(f(s,r),l,0,t))}})),s},r[i.z$]=function(e,r){var t=r.meta.field,n=f(e,"values."+t),o=n?m(n):0;return o?E(e,t,o-1,1):e},r[i.gy]=function(e,r){var t=r.meta.field,n=r.payload,o=f(e,"values."+t),l=o?m(o):0;return E(e,t,l,0,n)},r[i.m$]=function(e,r){var t=r.meta,n=t.field,o=t.index;return E(e,n,o,1)},r[i.LD]=function(e,r){var t=r.meta.field,n=f(e,"values."+t),o=n?m(n):0;return o?E(e,t,0,o):e},r[i.w8]=function(e,r){var t=r.meta.field;return E(e,t,0,1)},r[i.WL]=function(e,r){var t=r.meta,n=t.field,o=t.index,l=t.removeNum,a=r.payload;return E(e,n,o,l,a)},r[i.$U]=function(e,r){var t=r.meta,n=t.field,o=t.indexA,l=t.indexB,a=e;return w.forEach((function(e){var r=f(a,e+"."+n+"["+o+"]"),t=f(a,e+"."+n+"["+l+"]");void 0===r&&void 0===t||(a=d(a,e+"."+n+"["+o+"]",t),a=d(a,e+"."+n+"["+l+"]",r))})),a},r[i.ud]=function(e,r){var t=r.meta.field,n=r.payload;return E(e,t,0,0,n)},r[i.ou]=function(e,r){var t=r.meta.field,n=r.payload,o=e;return o=y(o,"asyncErrors."+t),o=y(o,"submitErrors."+t),o=d(o,"fields."+t+".autofilled",!0),o=d(o,"values."+t,n)},r[i.dO]=function(e,r){var t=r.meta,n=t.field,o=t.touch,l=r.payload,a=e;return void 0===f(a,"initial."+n)&&""===l?a=y(a,"values."+n):void 0!==l&&(a=d(a,"values."+n,l)),n===f(a,"active")&&(a=h(a,"active")),a=h(a,"fields."+n+".active"),o&&(a=d(a,"fields."+n+".touched",!0),a=d(a,"anyTouched",!0)),a},r[i.Ve]=function(e,r){var t=r.meta,n=t.field,o=t.touch,l=t.persistentSubmitErrors,i=r.payload,s=e;if(void 0===f(s,"initial."+n)&&""===i||void 0===i)s=y(s,"values."+n);else if(a()(i)){var c=f(e,"values."+n);s=d(s,"values."+n,i(c,e.values))}else s=d(s,"values."+n,i);return s=y(s,"asyncErrors."+n),l||(s=y(s,"submitErrors."+n)),s=y(s,"fields."+n+".autofilled"),o&&(s=d(s,"fields."+n+".touched",!0),s=d(s,"anyTouched",!0)),s},r[i.v7]=function(e){return h(e,"triggerSubmit")},r[i.En]=function(e){var r=e;return r=y(r,"submitErrors"),r=h(r,"error")},r[i.CO]=function(e,r){var t=r.meta.field;return h(e,"asyncErrors."+t)},r[i.IV]=function(e,r){var t=r.meta,n=t.keepTouched,o=t.persistentSubmitErrors,l=t.fields,a=e;l.forEach((function(r){a=y(a,"asyncErrors."+r),o||(a=y(a,"submitErrors."+r)),a=y(a,"fields."+r+".autofilled"),n||(a=h(a,"fields."+r+".touched"));var t=f(e,"initial."+r);a=t?d(a,"values."+r,t):y(a,"values."+r)}));var i=g(v(f(a,"registeredFields")),(function(e){return f(a,"fields."+e+".touched")}));return a=i?d(a,"anyTouched",!0):h(a,"anyTouched")},r[i.cc]=function(e,r){var t=r.meta.field,n=e,o=f(e,"active");return n=h(n,"fields."+o+".active"),n=d(n,"fields."+t+".visited",!0),n=d(n,"fields."+t+".active",!0),n=d(n,"active",t)},r[i.qh]=function(e,r){var o=r.payload,a=r.meta,i=a.keepDirty,s=a.keepSubmitSucceeded,c=a.updateUnregisteredFields,u=a.keepValues,h=p(o),m=n,g=f(e,"warning");g&&(m=d(m,"warning",g));var b=f(e,"syncWarnings");b&&(m=d(m,"syncWarnings",b));var y=f(e,"error");y&&(m=d(m,"error",y));var _=f(e,"syncErrors");_&&(m=d(m,"syncErrors",_));var k=f(e,"registeredFields");k&&(m=d(m,"registeredFields",k));var x=f(e,"values"),w=f(e,"initial"),E=h,S=x;if(i&&k){if(!t(E,w)){var O=function(e){var r=f(w,e),n=f(x,e);if(t(n,r)){var o=f(E,e);f(S,e)!==o&&(S=d(S,e,o))}};c||l(v(k),(function(e){return O(e)})),l(v(E),(function(e){if(void 0===f(w,e)){var r=f(E,e);S=d(S,e,r)}c&&O(e)}))}}else S=E;return u&&(l(v(x),(function(e){var r=f(x,e);S=d(S,e,r)})),l(v(w),(function(e){var r=f(w,e);E=d(E,e,r)}))),s&&f(e,"submitSucceeded")&&(m=d(m,"submitSucceeded",!0)),m=d(m,"values",S),m=d(m,"initial",E)},r[i.EK]=function(e,r){var t=r.payload,n=t.name,o=t.type,l="registeredFields['"+n+"']",a=f(e,l);if(a){var i=f(a,"count")+1;a=d(a,"count",i)}else a=p({name:n,type:o,count:1});return d(e,l,a)},r[i.td]=function(e){var r=n,t=f(e,"registeredFields");t&&(r=d(r,"registeredFields",t));var o=f(e,"initial");return o&&(r=d(r,"values",o),r=d(r,"initial",o)),r},r[i.Wu]=function(e,r){var t=r.meta.sections,n=e;t.forEach((function(r){n=y(n,"asyncErrors."+r),n=y(n,"submitErrors."+r),n=y(n,"fields."+r);var t=f(e,"initial."+r);n=t?d(n,"values."+r,t):y(n,"values."+r)}));var o=g(v(f(n,"registeredFields")),(function(e){return f(n,"fields."+e+".touched")}));return n=o?d(n,"anyTouched",!0):h(n,"anyTouched")},r[i.zD]=function(e){return d(e,"triggerSubmit",!0)},r[i.VZ]=function(e,r){var t=r.meta.field;return d(e,"asyncValidating",t||!0)},r[i.bh]=function(e){return d(e,"submitting",!0)},r[i.gm]=function(e,r){var t=r.payload,n=e;if(n=h(n,"asyncValidating"),t&&Object.keys(t).length){var l=t._error,a=o()(t,["_error"]);l&&(n=d(n,"error",l)),Object.keys(a).length&&(n=d(n,"asyncErrors",p(a)))}else n=h(n,"error"),n=h(n,"asyncErrors");return n},r[i.c4]=function(e,r){var t=r.payload,n=e;if(n=h(n,"submitting"),n=h(n,"submitFailed"),n=h(n,"submitSucceeded"),t&&Object.keys(t).length){var l=t._error,a=o()(t,["_error"]);n=l?d(n,"error",l):h(n,"error"),n=Object.keys(a).length?d(n,"submitErrors",p(a)):h(n,"submitErrors"),n=d(n,"submitFailed",!0)}else n=h(n,"error"),n=h(n,"submitErrors");return n},r[i._V]=function(e,r){var t=r.meta.fields,n=e;return n=d(n,"submitFailed",!0),n=h(n,"submitSucceeded"),n=h(n,"submitting"),t.forEach((function(e){return n=d(n,"fields."+e+".touched",!0)})),t.length&&(n=d(n,"anyTouched",!0)),n},r[i.Lo]=function(e){var r=e;return r=h(r,"submitFailed"),r=d(r,"submitSucceeded",!0)},r[i.Qm]=function(e,r){var t=r.meta.fields,n=e;return t.forEach((function(e){return n=d(n,"fields."+e+".touched",!0)})),n=d(n,"anyTouched",!0)},r[i.gV]=function(e,r){var o=r.payload,l=o.name,a=o.destroyOnUnmount,i=e,s="registeredFields['"+l+"']",u=f(i,s);if(!u)return i;var p=f(u,"count")-1;if(p<=0&&a){i=h(i,s),t(f(i,"registeredFields"),n)&&(i=h(i,"registeredFields"));var v=f(i,"syncErrors");v&&(v=_(v,l),i=c.Z.deepEqual(v,c.Z.empty)?h(i,"syncErrors"):d(i,"syncErrors",v));var m=f(i,"syncWarnings");m&&(m=_(m,l),i=c.Z.deepEqual(m,c.Z.empty)?h(i,"syncWarnings"):d(i,"syncWarnings",m)),i=y(i,"submitErrors."+l),i=y(i,"asyncErrors."+l)}else u=d(u,"count",p),i=d(i,s,u);return i},r[i.tn]=function(e,r){var t=r.meta.fields,n=e;t.forEach((function(e){return n=h(n,"fields."+e+".touched")}));var o=g(v(f(n,"registeredFields")),(function(e){return f(n,"fields."+e+".touched")}));return n=o?d(n,"anyTouched",!0):h(n,"anyTouched")},r[i.WF]=function(e,r){var t=r.payload,n=t.syncErrors,o=t.error,l=e;return o?(l=d(l,"error",o),l=d(l,"syncError",!0)):(l=h(l,"error"),l=h(l,"syncError")),l=Object.keys(n).length?d(l,"syncErrors",n):h(l,"syncErrors")},r[i.kF]=function(e,r){var t=r.payload,n=t.syncWarnings,o=t.warning,l=e;return l=o?d(l,"warning",o):h(l,"warning"),l=Object.keys(n).length?d(l,"syncWarnings",n):h(l,"syncWarnings")},r);return function e(r){return r.plugin=function(r,t){var o=this;return void 0===t&&(t={}),e((function(e,l){void 0===e&&(e=n),void 0===l&&(l={type:"NONE"});var a=function(t,n){var o=f(t,n),a=r[n](o,l,f(e,n));return a!==o?d(t,n,a):t},i=o(e,l),s=l&&l.meta&&l.meta.form;return s&&!t.receiveAllFormActions?r[s]?a(i,s):i:Object.keys(r).reduce(a,i)}))},r}(function(e){return function(r,t){void 0===r&&(r=n),void 0===t&&(t={type:"NONE"});var o=t&&t.meta&&t.meta.form;if(!o||!function(e){return e&&e.type&&e.type.length>i.O4.length&&e.type.substring(0,i.O4.length)===i.O4}(t))return r;if(t.type===i.Kn&&t.meta&&t.meta.form)return t.meta.form.reduce((function(e,r){return y(e,r)}),r);var l=f(r,o),a=e(l,t);return a===l?r:d(r,o,a)}}((function(e,r){void 0===e&&(e=n);var t=S[r.type];return t?t(e,r):e})))},d=f(c.Z)},8306:(e,r,t)=>{"use strict";function n(e){var r=e.deepEqual,t=e.empty,n=e.getIn;return function(e,o){return function(l){for(var a=o||function(e){return n(e,"form")},i=a(l),s=arguments.length,c=new Array(s>1?s-1:0),u=1;u<s;u++)c[u-1]=arguments[u];if(c&&c.length)return c.every((function(t){var o=n(i,e+".initial."+t),l=n(i,e+".values."+t);return r(o,l)}));var f=n(i,e+".initial")||t,d=n(i,e+".values")||f;return r(f,d)}}}t.d(r,{Z:()=>n})},14892:(e,r,t)=>{"use strict";t.d(r,{Z:()=>_});const n=function(e,r,t,n){if(r<(e=e||[]).length){if(void 0===n&&!t){var o=[].concat(e);return o.splice(r,0,!0),o[r]=void 0,o}if(null!=n){var l=[].concat(e);return l.splice(r,t,n),l}var a=[].concat(e);return a.splice(r,t),a}if(t)return e;var i=[].concat(e);return i[r]=n,i};var o=t(30084),l=t.n(o);const a=function(e,r){if(!e)return e;var t=l()(r),n=t.length;if(n){for(var o=e,a=0;a<n&&o;++a)o=o[t[a]];return o}};var i=t(67154),s=t.n(i),c=function e(r,t,n,o){var l;if(o>=n.length)return t;var a=n[o],i=e(r&&(Array.isArray(r)?r[Number(a)]:r[a]),t,n,o+1);if(!r){var c;if(isNaN(a))return(c={})[a]=i,c;var u=[];return u[parseInt(a,10)]=i,u}if(Array.isArray(r)){var f=[].concat(r);return f[parseInt(a,10)]=i,f}return s()({},r,((l={})[a]=i,l))};const u=function(e,r,t){return c(e,t,l()(r),0)};var f=t(14293),d=t.n(f),h=t(28368),p=t.n(h),v=t(1024),m=t.n(v),g=function(e){return d()(e)||""===e||isNaN(e)},b=function(e,r){return e===r||(e||r?(!e||!r||e._error===r._error)&&((!e||!r||e._warning===r._warning)&&(!m().isValidElement(e)&&!m().isValidElement(r)&&void 0)):g(e)===g(r))};function y(e,r){if(null==e||null==r)return e;for(var t=arguments.length,n=new Array(t>2?t-2:0),o=2;o<t;o++)n[o-2]=arguments[o];if(n.length){if(Array.isArray(e)){if(isNaN(r))throw new Error('Must access array elements with a number, not "'+String(r)+'".');var l=Number(r);if(l<e.length){var a=y.apply(void 0,[e&&e[l]].concat(n));if(a!==e[l]){var i=[].concat(e);return i[l]=a,i}}return e}if(r in e){var c,u=y.apply(void 0,[e&&e[r]].concat(n));return e[r]===u?e:s()({},e,((c={})[r]=u,c))}return e}if(Array.isArray(e)){if(isNaN(r))throw new Error('Cannot delete non-numerical index from an array. Given: "'+String(r));var f=Number(r);if(f<e.length){var d=[].concat(e);return d.splice(f,1),d}return e}if(r in e){var h=s()({},e);return delete h[r],h}return e}const _={allowsArrayErrors:!0,empty:{},emptyList:[],getIn:a,setIn:u,deepEqual:function(e,r){return p()(e,r,b)},deleteIn:function(e,r){return y.apply(void 0,[e].concat(l()(r)))},forEach:function(e,r){return e.forEach(r)},fromJS:function(e){return e},keys:function(e){return e?Array.isArray(e)?e.map((function(e){return e.name})):Object.keys(e):[]},size:function(e){return e?e.length:0},some:function(e,r){return e.some(r)},splice:n,equals:function(e,r){return r.every((function(r){return~e.indexOf(r)}))},orderChanged:function(e,r){return r.some((function(r,t){return r!==e[t]}))},toJS:function(e){return e}}}}]);
|
|
1
|
+
(self.webpackChunktocco_=self.webpackChunktocco_||[]).push([[85],{67154:e=>{function r(){return e.exports=r=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},r.apply(this,arguments)}e.exports=r},30919:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>we});var n=t(63038),o=t.n(n),l=t(28655),a=t.n(l),i=t(22085),s=t.n(i),c=(t(66245),t(56544)),u=t(7197),f=t(81272),d=t(82341),h=t(97595),p=t(66679),v=t(38794),m=t(12964),g=t(27361),b=t.n(g),y=t(14293),_=t.n(y),k=t(13218),x=t.n(k),w=t(47037),E=t.n(w),S=t(1024),O=t(38205),z=(t(36976),t(92194),t(2565),t(8821),t(71083),t(42061),t(74576),t(82454),t(55872),t(58119),t(64886)),R=t(93913),A=t.n(R),j=t(34575),T=t.n(j),I=t(2205),Z=t.n(I),C=t(78585),L=t.n(C),M=t(29754),N=t.n(M),D=(t(51500),t(1469)),F=t.n(D),$=t(30236),P=t.n($),U=t(72049);function B(e){var r=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,n=N()(e);if(r){var o=N()(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return L()(this,t)}}const V=function(e){return function(r){Z()(n,r);var t=B(n);function n(){var r;T()(this,n),r=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(U.wk.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(U.Gn.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(U._O.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"constant.language",regex:"(".concat(U.HZ.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"support.type",regex:"(".concat(U.V5.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 r.$rules=P()(r.$rules,l,(function(e,r){return F()(e)?e.concat(r):void 0})),r.normalizeRules(),r}return A()(n)}(s().require("ace/mode/text_highlight_rules").TextHighlightRules)};function q(e){var r=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,n=N()(e);if(r){var o=N()(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return L()(this,t)}}var H=function(e){Z()(t,e);var r=q(t);function t(){var e;T()(this,t);return(e=r.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 A()(t)}(s().require("ace/mode/text_highlight_rules").TextHighlightRules),W=function(e){Z()(t,e);var r=q(t);function t(){var e;T()(this,t),e=r.call(this);var n=["query","queryCount"],o=[{token:"keyword.function",regex:"\\[@(".concat(n.join("|"),").*?]"),push:"tql-start"},{token:"comment",regex:"\\[#--",next:"ftl-dcomment"},{token:"string.interpolated",regex:"\\${",push:"ftl-start"},{token:"keyword.function",regex:"\\[/?#(assign|attempt|break|case|compress|default|elseif|else|escape|fallback|function|flush|ftl|global|if|import|include|list|local|lt|macro|nested|noescape|noparse|nt|recover|recurse|return|rt|setting|stop|switch|t|visit)",push:"ftl-start"},{token:"keyword.other",regex:"\\[/?@[a-zA-Z\\.]+",push:"ftl-start"}];for(var l in e.$rules)e.$rules[l].unshift.apply(e.$rules[l],o);e.embedRules(H,"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(n.join("|"),")]"),next:"pop"}];e.embedRules(V(),"tql-",a,["start"]);var i={"tql-rootwhere":[{token:"keyword.function",regex:"\\[/@(".concat(n.join("|"),")]"),next:"pop"}],"tql-order":[{token:"keyword.function",regex:"\\[/@(".concat(n.join("|"),")]"),next:"pop"}]};return e.$rules=P()(e.$rules,i,(function(e,r){return F()(e)?e.concat(r):void 0})),e.normalizeRules(),e}return A()(t)}(s().require("ace/mode/html_highlight_rules").HtmlHighlightRules),G=t(68551),Y=t.n(G),K=t(319),J=t.n(K),Q=s().require("ace/token_iterator").TokenIterator,X=function(e){return e?e.type.substring(e.type.lastIndexOf(".")+1):null},ee=function(e,r){return X(e.getCurrentToken())===r},re=function(e){if(ee(e,"model")&&e.stepBackward(),(ee(e,"field")||ee(e,"relation"))&&e.stepBackward(),!ee(e,"chaining"))return null;if(e.stepBackward(),ee(e,"model")){var r=e.getCurrentToken();return e.stepBackward(),e.stepBackward(),r?r.value.trim():null}return null},te=function(e,r){for(;!ee(e,r);)if(!e.stepBackward())return!1;return!0},ne=function(e,r){return ee(e,"rparen")?1:r>0&&ee(e,"lparen")?(e.stepBackward(),-1):0},oe=function(e){for(var r=0;e.getCurrentToken();){if(0===r&&ee(e,"where")){var t=e.stepBackward();return t?[t.value.trim()].concat(J()(ae(e))):[]}if(ee(e,"order_by")){if(te(e,"find")){var n=e.stepForward();return n?n.value.trim():[]}return[]}if(r+=ne(e,r),!e.stepBackward())return null}return null},le=function(e,r){for(var t=[],n=r(e);n;)Array.isArray(n)?n.forEach((function(e){return t.unshift(e)})):t.unshift(n),n=r(e);return t},ae=function(e){return le(e,re)},ie=function(e){return le(e,oe)},se=1e3,ce=function(e,r,t){var n=function(e,r){if(r){var t=ie(e());return{baseModel:r,modelScope:Y()(t).slice(0)}}var n=ie(e()),o=Y()(n);return{baseModel:o[0],modelScope:o.slice(1)}}(e,t),o=n.baseModel,l=n.modelScope;if(o){var a=ae(e()),i=[].concat(J()(l),J()(a)).map((function(e){return"rel".concat(e)}));(function(e){var r=Y()(e),t=r[0],n=r.slice(1);return(0,z.w)(function(e,r){var t=r.length>0?"/resolve?path="+r.join("."):"";return"entities/".concat(e,"/model").concat(t)}(t,n)).then(z.c).then((function(e){if(!e)return[];var r=e.fields||[],t=e.relations||[];return[].concat(J()(r.map((function(e){return{label:(r=e,r.label?"".concat(r.fieldName," (").concat(r.label,")"):r.fieldName),value:e.fieldName,meta:e.type};var r}))),J()(t.map((function(e){return{label:(r=e,r.label?"".concat(r.relationName," (").concat(r.label,")"):r.relationName),value:e.relationName,meta:e.targetEntity};var r}))))}))})([o].concat(J()(i))).then((function(e){var t=e.map((function(e){return{caption:e.label,value:e.value,meta:e.meta,score:se}}));r(null,t)})).catch((function(e){return r(e)}))}},ue=function(e,r){return r?"".concat(e," (").concat(r,")"):e},fe=function(e){return(0,z.w)("entities").then(z.c).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(r){var t=r.map((function(e){var r=e.modelName,t=e.label;return{caption:ue(r,t),value:r,score:se}}));e(null,t)})).catch((function(r){return e(r)}))},de=function(){return U.wk.map((function(e){return e.toUpperCase()})).map((function(e){return{caption:e,value:"".concat(e,"()"),meta:"function",score:970}}))};const he=function(e){return{getCompletions:function(r,t,n,o,l){var a=function(){return new Q(t,n.row,n.column)},i=a(),s=i.getCurrentToken(),c=i.stepBackward()?i.getCurrentToken():null;switch(X(s)){case"chaining":case"relation":case"separator":case"order_by":case"count":case"exists":case"field":case"function_arguments":ce(a,l,e);break;case"where":case"conjunction":ce(a,l,e),l(null,de());break;case"nice_function":l(null,de());break;case"find":fe(l);break;case"type":case"tocco_placeholder":case"comparison":l(null,U.V5.map((function(e){return{caption:e,value:"".concat(e,":"),meta:"type",score:980}}))),l(null,U._O.map((function(e){return{caption:e,value:":".concat(e),meta:"placeholder",score:990}})));break;case"model":ce(a,l,e),c&&"relation"!==X(c)&&fe(l);break;case null:e&&ce(a,l,e),l(null,de())}}}};function pe(e){var r=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,n=N()(e);if(r){var o=N()(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return L()(this,t)}}var ve=function(e){Z()(t,e);var r=pe(t);function t(){var e;return T()(this,t),(e=r.call(this)).HighlightRules=W,e.completer=he(),e}return A()(t)}(s().require("ace/mode/ftl").Mode);function me(e){var r=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,n=N()(e);if(r){var o=N()(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return L()(this,t)}}var ge,be=function(e){Z()(t,e);var r=me(t);function t(e){var n,o=e.implicitModelName;return T()(this,t),(n=r.call(this)).HighlightRules=V(o),n.completer=he(o),n.snippedIdField=null,n}return A()(t)}(s().require("ace/mode/text").Mode),ye=t(85893),_e=O.ZP.div.withConfig({displayName:"StyledEditor"})(ge||(ge=a()(["\n width: 100%;\n z-index: 0; /* gutter lays over menu otherwise */\n"]))),ke={groovy:function(){return new u.Mode},html:function(){return new f.Mode},xml:function(){return new m.Mode},properties:function(){return new p.Mode},json:function(){return new d.Mode},htmlmixed:function(){return new ve},freemarkermixed:function(){return new ve},ftl:function(){return new ve},tql:function(e){return new be(e)},less:function(){return new h.Mode},drools:function(){return new c.Mode},text:function(){return new v.Mode}},xe=function(e,r){var t=r.mode,n=r.theme,l=r.showGutter,a=r.editorOptions,i=void 0===a?{}:a;(function(e){return E()(e)?Promise.resolve(e):x()(e)?(0,z.w)("entities/2.0/".concat(e.entityModel,"/").concat(e.key,"?_paths=").concat(e.field)).then(z.c).then((function(e){return b()(e,["paths","entity_name","value"],null)})):Promise.resolve(null)})(r.implicitModel).then((function(e){return function(e,r){return b()(ke,e,e)(r)}(t,{implicitModelName:e})})).then((function(r){return e.getSession().setMode(r)})),e.setTheme("ace/theme/".concat(n)),Object.entries(i).forEach((function(r){var t=o()(r,2),n=t[0],l=t[1];e.setOption(n,l)})),e.renderer.setShowGutter(l),e.resize()};const we=function(e){var r=e.mode,t=e.theme,n=void 0===t?"textmate":t,o=e.value,l=e.onChange,a=e.showGutter,i=void 0===a||a,c=e.editorOptions,u=void 0===c?{}:c,f=e.implicitModel,d=e.autoFocusOnMount,h=void 0!==d&&d,p=(0,S.useRef)(null),v=(0,S.useRef)(null),m=(0,S.useMemo)((function(){return{mode:r,theme:n,showGutter:i,editorOptions:u,implicitModel:f,autoFocusOnMount:h}}),[r,n,i,u,f,h]);return(0,S.useEffect)((function(){var e=s().edit(p.current);return e.getSession().setValue(o||""),e.on("change",(function(){return l(e.getValue())})),xe(e,m),v.current=e,m.autoFocusOnMount&&v.current.focus(),function(){return e.destroy()}}),[]),(0,S.useEffect)((function(){v.current&&xe(v.current,m)}),[m]),(0,S.useEffect)((function(){v.current&&!_()(o)&&o!==v.current.getValue()&&v.current.getSession().setValue(o)}),[o]),(0,ye.jsx)(_e,{ref:p})}},72049:(e,r,t)=>{"use strict";t.d(r,{Gn:()=>n,HZ:()=>o,V5:()=>l,_O:()=>a,wk:()=>i});var n=/^(682|820)$/.test(t.j)?null:["==","!=","<=",">=","<",">","~="],o=/^(682|820)$/.test(t.j)?null:["true","false","null"],l=/^(682|820)$/.test(t.j)?null:["string","long","serial","bool","boolean","double","float","time","timestamp","char","varchar","date","datetime"],a=/^(682|820)$/.test(t.j)?null:["now_date","yesterday_date","tomorrow_date","today_date","now_start","yesterday_start","tomorrow_start","today_start","now","yesterday","tomorrow","today","currentUsername","currentUser","currentBu"],i=/^(682|820)$/.test(t.j)?null:["in","dateadd","datetimeadd","duedate","birthdayin","fulltext","likeall","distance","inboundingbox"]},64886:(e,r,t)=>{"use strict";if(t.d(r,{c:()=>l,w:()=>o}),!/^(682|820)$/.test(t.j))var n=t(54159);var o=function(e){return n.Z.executeRequest("rest/".concat(e))},l=function(e){return 200===e.status?e.json():null}},48078:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>s});var n=t(52817),o=t(41609),l=t.n(o),a=t(41291),i=t(85893);const s=function(e){var r=e.value,t=e.breakWords,o=(0,n._)(r),s=l()(o)?r:o.formatInternational();return(0,i.jsx)(a.Z,{href:"tel:".concat(r),target:"_blank",onClick:function(e){return e.stopPropagation()},label:s,breakWords:t})}},83418:(e,r,t)=>{"use strict";t.d(r,{Z:()=>ne});var n=t(59713),o=t.n(n),l=t(72757),a=t(1024),i=t(86896),s=t(93913),c=t.n(s),u=t(34575),f=t.n(u),d=t(2205),h=t.n(d),p=t(78585),v=t.n(p),m=t(29754),g=t.n(m),b=t(11820),y=t(39269),_=t(96840),k=t(75528),x=t(52079),w=t(84184),E=t(40569),S=t(75460),O=t(65761),z=t(53626),R=t(73043),A=t(16797),j=t(71297),T=t(55444),I=t(6672),Z=t(18195),C=t(23132),L=t(78374),M=t(4175),N=t(21094),D=t(20211),F=t(51778),$=t(87388),P=t(89906),U=t(41831);function B(e){var r=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,n=g()(e);if(r){var o=g()(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return v()(this,t)}}var V=function(e){h()(t,e);var r=B(t);function t(){return f()(this,t),r.apply(this,arguments)}return c()(t)}(b.Z);V.builtinPlugins=[y.Z,_.Z,E.Z,S.Z,O.Z,z.Z,R.Z,j.Z,A.Z,T.Z,I.Z,Z.Z,k.Z,C.Z,L.Z,M.Z,N.Z,D.Z,F.Z,x.Z,$.Z,P.Z,U.Z,w.Z],V.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 q=V;var H,W=t(28655),G=t.n(W),Y=t(38205),K=t(56822),J=Y.ZP.div.withConfig({displayName:"StyledHtmlEditor"})(H||(H=G()(["\n && {\n .ck-editor {\n --ck-border-radius: 0.27rem;\n ","\n\n .ck.ck-list__item .ck-button.ck-fontsize-option .ck-button__label {\n line-height: 1;\n }\n\n .ck-editor__editable {\n min-height: 100px;\n }\n }\n }\n"])),(function(e){return(0,K.L)(e,"ckeditor")})),Q=t(85893);function X(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function ee(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?X(Object(t),!0).forEach((function(r){o()(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):X(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var re=function(e){switch(e){case"fr-CH":return"fr";case"it-CH":return"it";case"en-US":return"en";case"fr":case"en":case"it":case"de":return e;default:return"de"}},te=function(e){var r=e.value,t=e.onChange,n=e.contentLang,o=e.ckEditorConfig,s=(0,i.Z)().locale,c=(0,a.useRef)(!1);return(0,Q.jsx)(J,{children:(0,Q.jsx)(l.CKEditor,{editor:q,config:ee({language:{ui:re(s),content:n}},o),data:r,onChange:function(e,r){if(r.plugins.get("SourceEditing").isSourceEditingMode){if(!0===c.current)return;c.current=!0}var n=r.getData();t(n)}})})};te.defaultProps={value:"",contentLang:"de"};const ne=te},17676:(e,r,t)=>{"use strict";if(t.r(r),t.d(r,{default:()=>o}),!/^(682|820)$/.test(t.j))var n=t(83418);const o=/^(682|820)$/.test(t.j)?null:n.Z},81251:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>c});var n=t(59713),o=t.n(n),l=t(88162),a=t(85893);function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function s(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?i(Object(t),!0).forEach((function(r){o()(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}const c=function(e){var r=e.size,t=e.style,n=e.icon;return(0,a.jsx)(l.Z,s(s({},t),{},{style:{fontSize:r},spin:!0,icon:n||"circle-notch"}))}},28368:(e,r,t)=>{var n=t(90939);e.exports=function(e,r,t){var o=(t="function"==typeof t?t:void 0)?t(e,r):void 0;return void 0===o?n(e,r,void 0,t):!!o}},14293:e=>{e.exports=function(e){return null==e}},66604:(e,r,t)=>{var n=t(89465),o=t(47816),l=t(67206);e.exports=function(e,r){var t={};return r=l(r,3),o(e,(function(e,o,l){n(t,o,r(e,o,l))})),t}},30084:(e,r,t)=>{var n=t(29932),o=t(278),l=t(1469),a=t(33448),i=t(55514),s=t(40327),c=t(79833);e.exports=function(e){return l(e)?n(e,s):a(e)?[e]:o(i(c(e)))}},47803:(e,r,t)=>{"use strict";t.d(r,{Z:()=>u});var n=t(1024),o=t.n(n),l=t(45697),a=t.n(l),i=t(13572);function s(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}var c=function(e){function r(){e.apply(this,arguments)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.componentDidMount=function(){var e=this.props;e.children;var r=e.gutter,t=s(e,["children","gutter"]);t.gutter=function(e,t){var n;return r?n=r(e,t):(n=document.createElement("div")).className="gutter gutter-"+t,n.__isSplitGutter=!0,n},this.split=(0,i.Z)(this.parent.children,t)},r.prototype.componentDidUpdate=function(e){var r=this,t=this.props;t.children;var n=t.minSize,o=t.sizes,l=t.collapsed,a=s(t,["children","minSize","sizes","collapsed"]),c=e.minSize,u=e.sizes,f=e.collapsed,d=["maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor"].map((function(t){return r.props[t]!==e[t]})).reduce((function(e,r){return e||r}),!1);if(Array.isArray(n)&&Array.isArray(c)){var h=!1;n.forEach((function(e,r){h=h||e!==c[r]})),d=d||h}else d=!(!Array.isArray(n)&&!Array.isArray(c))||(d||n!==c);if(d)a.minSize=n,a.sizes=o||this.split.getSizes(),this.split.destroy(!0,!0),a.gutter=function(e,r,t){return t.previousSibling},this.split=(0,i.Z)(Array.from(this.parent.children).filter((function(e){return!e.__isSplitGutter})),a);else if(o){var p=!1;o.forEach((function(e,r){p=p||e!==u[r]})),p&&this.split.setSizes(this.props.sizes)}Number.isInteger(l)&&(l!==f||d)&&this.split.collapse(l)},r.prototype.componentWillUnmount=function(){this.split.destroy(),delete this.split},r.prototype.render=function(){var e=this,r=this.props;r.sizes,r.minSize,r.maxSize,r.expandToMin,r.gutterSize,r.gutterAlign,r.snapOffset,r.dragInterval,r.direction,r.cursor,r.gutter,r.elementStyle,r.gutterStyle,r.onDrag,r.onDragStart,r.onDragEnd,r.collapsed;var t=r.children,n=s(r,["sizes","minSize","maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor","gutter","elementStyle","gutterStyle","onDrag","onDragStart","onDragEnd","collapsed","children"]);return o().createElement("div",Object.assign({},{ref:function(r){e.parent=r}},n),t)},r}(o().Component);c.propTypes={sizes:a().arrayOf(a().number),minSize:a().oneOfType([a().number,a().arrayOf(a().number)]),maxSize:a().oneOfType([a().number,a().arrayOf(a().number)]),expandToMin:a().bool,gutterSize:a().number,gutterAlign:a().string,snapOffset:a().oneOfType([a().number,a().arrayOf(a().number)]),dragInterval:a().number,direction:a().string,cursor:a().string,gutter:a().func,elementStyle:a().func,gutterStyle:a().func,onDrag:a().func,onDragStart:a().func,onDragEnd:a().func,collapsed:a().number,children:a().arrayOf(a().element)},c.defaultProps={sizes:void 0,minSize:void 0,maxSize:void 0,expandToMin:void 0,gutterSize:void 0,gutterAlign:void 0,snapOffset:void 0,dragInterval:void 0,direction:void 0,cursor:void 0,gutter:void 0,elementStyle:void 0,gutterStyle:void 0,onDrag:void 0,onDragStart:void 0,onDragEnd:void 0,collapsed:void 0,children:void 0};const u=/^(713|763|947)$/.test(t.j)?c:null},66448:(e,r,t)=>{"use strict";t.d(r,{$U:()=>h,CO:()=>_,EK:()=>E,En:()=>y,FT:()=>o,IV:()=>g,Kn:()=>k,LD:()=>c,Lo:()=>R,O4:()=>n,Qm:()=>C,VZ:()=>A,Ve:()=>m,WF:()=>N,WL:()=>f,Wu:()=>O,_V:()=>z,bh:()=>j,c4:()=>I,cc:()=>x,dO:()=>v,gV:()=>L,gm:()=>T,gy:()=>i,hL:()=>l,kF:()=>D,m$:()=>s,ou:()=>p,qh:()=>w,td:()=>S,tn:()=>M,ud:()=>d,v7:()=>b,w8:()=>u,z$:()=>a,zD:()=>Z});var n="@@redux-form/",o=n+"ARRAY_INSERT",l=n+"ARRAY_MOVE",a=n+"ARRAY_POP",i=n+"ARRAY_PUSH",s=n+"ARRAY_REMOVE",c=n+"ARRAY_REMOVE_ALL",u=n+"ARRAY_SHIFT",f=n+"ARRAY_SPLICE",d=n+"ARRAY_UNSHIFT",h=n+"ARRAY_SWAP",p=n+"AUTOFILL",v=n+"BLUR",m=n+"CHANGE",g=n+"CLEAR_FIELDS",b=n+"CLEAR_SUBMIT",y=n+"CLEAR_SUBMIT_ERRORS",_=n+"CLEAR_ASYNC_ERROR",k=n+"DESTROY",x=n+"FOCUS",w=n+"INITIALIZE",E=n+"REGISTER_FIELD",S=n+"RESET",O=n+"RESET_SECTION",z=n+"SET_SUBMIT_FAILED",R=n+"SET_SUBMIT_SUCCEEDED",A=n+"START_ASYNC_VALIDATION",j=n+"START_SUBMIT",T=n+"STOP_ASYNC_VALIDATION",I=n+"STOP_SUBMIT",Z=n+"SUBMIT",C=n+"TOUCH",L=n+"UNREGISTER_FIELD",M=n+"UNTOUCH",N=n+"UPDATE_SYNC_ERRORS",D=n+"UPDATE_SYNC_WARNINGS"},16285:(e,r,t)=>{"use strict";t.d(r,{Z:()=>f});var n=t(37316),o=t.n(n),l=t(23560),a=t.n(l);if(/^(713|763|947|99)$/.test(t.j))var i=t(66448);if(/^(713|763|947|99)$/.test(t.j))var s=t(883);if(/^(713|763|947|99)$/.test(t.j))var c=t(14892);var u=function(e){var r=e.getIn;return function(e,t){var n=null;/^values/.test(t)&&(n=t.replace("values","initial"));var o=!n||void 0===r(e,n);return void 0!==r(e,t)&&o}};const f=/^(713|763|947|99)$/.test(t.j)?function(e){var r,t=e.deepEqual,n=e.empty,l=e.forEach,f=e.getIn,d=e.setIn,h=e.deleteIn,p=e.fromJS,v=e.keys,m=e.size,g=e.some,b=e.splice,y=(0,s.Z)(e)(u),_=(0,s.Z)(c.Z)(u),k=function(e,r,t,n,o,l,a){var i=f(e,r+"."+t);return i||a?d(e,r+"."+t,b(i,n,o,l)):e},x=function(e,r,t,n,o,l,a){var i=f(e,r),s=c.Z.getIn(i,t);return s||a?d(e,r,c.Z.setIn(i,t,c.Z.splice(s,n,o,l))):e},w=["values","fields","submitErrors","asyncErrors"],E=function(e,r,t,o,l){var a=e,i=null!=l?n:void 0;return a=k(a,"values",r,t,o,l,!0),a=k(a,"fields",r,t,o,i),a=x(a,"syncErrors",r,t,o,void 0),a=x(a,"syncWarnings",r,t,o,void 0),a=k(a,"submitErrors",r,t,o,void 0),a=k(a,"asyncErrors",r,t,o,void 0)},S=((r={})[i.FT]=function(e,r){var t=r.meta,n=t.field,o=t.index,l=r.payload;return E(e,n,o,0,l)},r[i.hL]=function(e,r){var t=r.meta,n=t.field,o=t.from,l=t.to,a=f(e,"values."+n),i=a?m(a):0,s=e;return i&&w.forEach((function(e){var r=e+"."+n;if(f(s,r)){var t=f(s,r+"["+o+"]");s=d(s,r,b(f(s,r),o,1)),s=d(s,r,b(f(s,r),l,0,t))}})),s},r[i.z$]=function(e,r){var t=r.meta.field,n=f(e,"values."+t),o=n?m(n):0;return o?E(e,t,o-1,1):e},r[i.gy]=function(e,r){var t=r.meta.field,n=r.payload,o=f(e,"values."+t),l=o?m(o):0;return E(e,t,l,0,n)},r[i.m$]=function(e,r){var t=r.meta,n=t.field,o=t.index;return E(e,n,o,1)},r[i.LD]=function(e,r){var t=r.meta.field,n=f(e,"values."+t),o=n?m(n):0;return o?E(e,t,0,o):e},r[i.w8]=function(e,r){var t=r.meta.field;return E(e,t,0,1)},r[i.WL]=function(e,r){var t=r.meta,n=t.field,o=t.index,l=t.removeNum,a=r.payload;return E(e,n,o,l,a)},r[i.$U]=function(e,r){var t=r.meta,n=t.field,o=t.indexA,l=t.indexB,a=e;return w.forEach((function(e){var r=f(a,e+"."+n+"["+o+"]"),t=f(a,e+"."+n+"["+l+"]");void 0===r&&void 0===t||(a=d(a,e+"."+n+"["+o+"]",t),a=d(a,e+"."+n+"["+l+"]",r))})),a},r[i.ud]=function(e,r){var t=r.meta.field,n=r.payload;return E(e,t,0,0,n)},r[i.ou]=function(e,r){var t=r.meta.field,n=r.payload,o=e;return o=y(o,"asyncErrors."+t),o=y(o,"submitErrors."+t),o=d(o,"fields."+t+".autofilled",!0),o=d(o,"values."+t,n)},r[i.dO]=function(e,r){var t=r.meta,n=t.field,o=t.touch,l=r.payload,a=e;return void 0===f(a,"initial."+n)&&""===l?a=y(a,"values."+n):void 0!==l&&(a=d(a,"values."+n,l)),n===f(a,"active")&&(a=h(a,"active")),a=h(a,"fields."+n+".active"),o&&(a=d(a,"fields."+n+".touched",!0),a=d(a,"anyTouched",!0)),a},r[i.Ve]=function(e,r){var t=r.meta,n=t.field,o=t.touch,l=t.persistentSubmitErrors,i=r.payload,s=e;if(void 0===f(s,"initial."+n)&&""===i||void 0===i)s=y(s,"values."+n);else if(a()(i)){var c=f(e,"values."+n);s=d(s,"values."+n,i(c,e.values))}else s=d(s,"values."+n,i);return s=y(s,"asyncErrors."+n),l||(s=y(s,"submitErrors."+n)),s=y(s,"fields."+n+".autofilled"),o&&(s=d(s,"fields."+n+".touched",!0),s=d(s,"anyTouched",!0)),s},r[i.v7]=function(e){return h(e,"triggerSubmit")},r[i.En]=function(e){var r=e;return r=y(r,"submitErrors"),r=h(r,"error")},r[i.CO]=function(e,r){var t=r.meta.field;return h(e,"asyncErrors."+t)},r[i.IV]=function(e,r){var t=r.meta,n=t.keepTouched,o=t.persistentSubmitErrors,l=t.fields,a=e;l.forEach((function(r){a=y(a,"asyncErrors."+r),o||(a=y(a,"submitErrors."+r)),a=y(a,"fields."+r+".autofilled"),n||(a=h(a,"fields."+r+".touched"));var t=f(e,"initial."+r);a=t?d(a,"values."+r,t):y(a,"values."+r)}));var i=g(v(f(a,"registeredFields")),(function(e){return f(a,"fields."+e+".touched")}));return a=i?d(a,"anyTouched",!0):h(a,"anyTouched")},r[i.cc]=function(e,r){var t=r.meta.field,n=e,o=f(e,"active");return n=h(n,"fields."+o+".active"),n=d(n,"fields."+t+".visited",!0),n=d(n,"fields."+t+".active",!0),n=d(n,"active",t)},r[i.qh]=function(e,r){var o=r.payload,a=r.meta,i=a.keepDirty,s=a.keepSubmitSucceeded,c=a.updateUnregisteredFields,u=a.keepValues,h=p(o),m=n,g=f(e,"warning");g&&(m=d(m,"warning",g));var b=f(e,"syncWarnings");b&&(m=d(m,"syncWarnings",b));var y=f(e,"error");y&&(m=d(m,"error",y));var _=f(e,"syncErrors");_&&(m=d(m,"syncErrors",_));var k=f(e,"registeredFields");k&&(m=d(m,"registeredFields",k));var x=f(e,"values"),w=f(e,"initial"),E=h,S=x;if(i&&k){if(!t(E,w)){var O=function(e){var r=f(w,e),n=f(x,e);if(t(n,r)){var o=f(E,e);f(S,e)!==o&&(S=d(S,e,o))}};c||l(v(k),(function(e){return O(e)})),l(v(E),(function(e){if(void 0===f(w,e)){var r=f(E,e);S=d(S,e,r)}c&&O(e)}))}}else S=E;return u&&(l(v(x),(function(e){var r=f(x,e);S=d(S,e,r)})),l(v(w),(function(e){var r=f(w,e);E=d(E,e,r)}))),s&&f(e,"submitSucceeded")&&(m=d(m,"submitSucceeded",!0)),m=d(m,"values",S),m=d(m,"initial",E)},r[i.EK]=function(e,r){var t=r.payload,n=t.name,o=t.type,l="registeredFields['"+n+"']",a=f(e,l);if(a){var i=f(a,"count")+1;a=d(a,"count",i)}else a=p({name:n,type:o,count:1});return d(e,l,a)},r[i.td]=function(e){var r=n,t=f(e,"registeredFields");t&&(r=d(r,"registeredFields",t));var o=f(e,"initial");return o&&(r=d(r,"values",o),r=d(r,"initial",o)),r},r[i.Wu]=function(e,r){var t=r.meta.sections,n=e;t.forEach((function(r){n=y(n,"asyncErrors."+r),n=y(n,"submitErrors."+r),n=y(n,"fields."+r);var t=f(e,"initial."+r);n=t?d(n,"values."+r,t):y(n,"values."+r)}));var o=g(v(f(n,"registeredFields")),(function(e){return f(n,"fields."+e+".touched")}));return n=o?d(n,"anyTouched",!0):h(n,"anyTouched")},r[i.zD]=function(e){return d(e,"triggerSubmit",!0)},r[i.VZ]=function(e,r){var t=r.meta.field;return d(e,"asyncValidating",t||!0)},r[i.bh]=function(e){return d(e,"submitting",!0)},r[i.gm]=function(e,r){var t=r.payload,n=e;if(n=h(n,"asyncValidating"),t&&Object.keys(t).length){var l=t._error,a=o()(t,["_error"]);l&&(n=d(n,"error",l)),Object.keys(a).length&&(n=d(n,"asyncErrors",p(a)))}else n=h(n,"error"),n=h(n,"asyncErrors");return n},r[i.c4]=function(e,r){var t=r.payload,n=e;if(n=h(n,"submitting"),n=h(n,"submitFailed"),n=h(n,"submitSucceeded"),t&&Object.keys(t).length){var l=t._error,a=o()(t,["_error"]);n=l?d(n,"error",l):h(n,"error"),n=Object.keys(a).length?d(n,"submitErrors",p(a)):h(n,"submitErrors"),n=d(n,"submitFailed",!0)}else n=h(n,"error"),n=h(n,"submitErrors");return n},r[i._V]=function(e,r){var t=r.meta.fields,n=e;return n=d(n,"submitFailed",!0),n=h(n,"submitSucceeded"),n=h(n,"submitting"),t.forEach((function(e){return n=d(n,"fields."+e+".touched",!0)})),t.length&&(n=d(n,"anyTouched",!0)),n},r[i.Lo]=function(e){var r=e;return r=h(r,"submitFailed"),r=d(r,"submitSucceeded",!0)},r[i.Qm]=function(e,r){var t=r.meta.fields,n=e;return t.forEach((function(e){return n=d(n,"fields."+e+".touched",!0)})),n=d(n,"anyTouched",!0)},r[i.gV]=function(e,r){var o=r.payload,l=o.name,a=o.destroyOnUnmount,i=e,s="registeredFields['"+l+"']",u=f(i,s);if(!u)return i;var p=f(u,"count")-1;if(p<=0&&a){i=h(i,s),t(f(i,"registeredFields"),n)&&(i=h(i,"registeredFields"));var v=f(i,"syncErrors");v&&(v=_(v,l),i=c.Z.deepEqual(v,c.Z.empty)?h(i,"syncErrors"):d(i,"syncErrors",v));var m=f(i,"syncWarnings");m&&(m=_(m,l),i=c.Z.deepEqual(m,c.Z.empty)?h(i,"syncWarnings"):d(i,"syncWarnings",m)),i=y(i,"submitErrors."+l),i=y(i,"asyncErrors."+l)}else u=d(u,"count",p),i=d(i,s,u);return i},r[i.tn]=function(e,r){var t=r.meta.fields,n=e;t.forEach((function(e){return n=h(n,"fields."+e+".touched")}));var o=g(v(f(n,"registeredFields")),(function(e){return f(n,"fields."+e+".touched")}));return n=o?d(n,"anyTouched",!0):h(n,"anyTouched")},r[i.WF]=function(e,r){var t=r.payload,n=t.syncErrors,o=t.error,l=e;return o?(l=d(l,"error",o),l=d(l,"syncError",!0)):(l=h(l,"error"),l=h(l,"syncError")),l=Object.keys(n).length?d(l,"syncErrors",n):h(l,"syncErrors")},r[i.kF]=function(e,r){var t=r.payload,n=t.syncWarnings,o=t.warning,l=e;return l=o?d(l,"warning",o):h(l,"warning"),l=Object.keys(n).length?d(l,"syncWarnings",n):h(l,"syncWarnings")},r);return function e(r){return r.plugin=function(r,t){var o=this;return void 0===t&&(t={}),e((function(e,l){void 0===e&&(e=n),void 0===l&&(l={type:"NONE"});var a=function(t,n){var o=f(t,n),a=r[n](o,l,f(e,n));return a!==o?d(t,n,a):t},i=o(e,l),s=l&&l.meta&&l.meta.form;return s&&!t.receiveAllFormActions?r[s]?a(i,s):i:Object.keys(r).reduce(a,i)}))},r}(function(e){return function(r,t){void 0===r&&(r=n),void 0===t&&(t={type:"NONE"});var o=t&&t.meta&&t.meta.form;if(!o||!function(e){return e&&e.type&&e.type.length>i.O4.length&&e.type.substring(0,i.O4.length)===i.O4}(t))return r;if(t.type===i.Kn&&t.meta&&t.meta.form)return t.meta.form.reduce((function(e,r){return y(e,r)}),r);var l=f(r,o),a=e(l,t);return a===l?r:d(r,o,a)}}((function(e,r){void 0===e&&(e=n);var t=S[r.type];return t?t(e,r):e})))}:null},883:(e,r,t)=>{"use strict";t.d(r,{Z:()=>l});var n=t(30084),o=t.n(n);const l=/^(713|763|947|99)$/.test(t.j)?function(e){var r=function(e){return function(r,t){return void 0!==e.getIn(r,t)}},t=e.deepEqual,n=e.empty,l=e.getIn,a=e.deleteIn,i=e.setIn;return function(s){void 0===s&&(s=r);return function r(c,u){if("]"===u[u.length-1]){var f=o()(u);return f.pop(),l(c,f.join("."))?i(c,u):c}var d=c;s(e)(c,u)&&(d=a(c,u));var h=u.lastIndexOf(".");if(h>0){var p=u.substring(0,h);if("]"!==p[p.length-1]){var v=l(d,p);if(t(v,n))return r(d,p)}}return d}}}:null},94858:(e,r,t)=>{"use strict";t.d(r,{Z:()=>l});var n=t(33831),o=t(14892);const l=(0,n.Z)(o.Z)},58267:(e,r,t)=>{"use strict";t.d(r,{Z:()=>l});var n=t(16285),o=t(14892);const l=(0,n.Z)(o.Z)},33831:(e,r,t)=>{"use strict";if(t.d(r,{Z:()=>o}),/^(713|763|947)$/.test(t.j))var n=t(8306);function o(e){return function(r,t){var o=(0,n.Z)(e)(r,t);return function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return!o.apply(void 0,[e].concat(t))}}}},8306:(e,r,t)=>{"use strict";function n(e){var r=e.deepEqual,t=e.empty,n=e.getIn;return function(e,o){return function(l){for(var a=o||function(e){return n(e,"form")},i=a(l),s=arguments.length,c=new Array(s>1?s-1:0),u=1;u<s;u++)c[u-1]=arguments[u];if(c&&c.length)return c.every((function(t){var o=n(i,e+".initial."+t),l=n(i,e+".values."+t);return r(o,l)}));var f=n(i,e+".initial")||t,d=n(i,e+".values")||f;return r(f,d)}}}t.d(r,{Z:()=>n})},14892:(e,r,t)=>{"use strict";t.d(r,{Z:()=>_});const n=function(e,r,t,n){if(r<(e=e||[]).length){if(void 0===n&&!t){var o=[].concat(e);return o.splice(r,0,!0),o[r]=void 0,o}if(null!=n){var l=[].concat(e);return l.splice(r,t,n),l}var a=[].concat(e);return a.splice(r,t),a}if(t)return e;var i=[].concat(e);return i[r]=n,i};var o=t(30084),l=t.n(o);const a=function(e,r){if(!e)return e;var t=l()(r),n=t.length;if(n){for(var o=e,a=0;a<n&&o;++a)o=o[t[a]];return o}};var i=t(67154),s=t.n(i),c=function e(r,t,n,o){var l;if(o>=n.length)return t;var a=n[o],i=e(r&&(Array.isArray(r)?r[Number(a)]:r[a]),t,n,o+1);if(!r){var c;if(isNaN(a))return(c={})[a]=i,c;var u=[];return u[parseInt(a,10)]=i,u}if(Array.isArray(r)){var f=[].concat(r);return f[parseInt(a,10)]=i,f}return s()({},r,((l={})[a]=i,l))};const u=function(e,r,t){return c(e,t,l()(r),0)};var f=t(14293),d=t.n(f),h=t(28368),p=t.n(h),v=t(1024),m=t.n(v),g=function(e){return d()(e)||""===e||isNaN(e)},b=function(e,r){return e===r||(e||r?(!e||!r||e._error===r._error)&&((!e||!r||e._warning===r._warning)&&(!m().isValidElement(e)&&!m().isValidElement(r)&&void 0)):g(e)===g(r))};function y(e,r){if(null==e||null==r)return e;for(var t=arguments.length,n=new Array(t>2?t-2:0),o=2;o<t;o++)n[o-2]=arguments[o];if(n.length){if(Array.isArray(e)){if(isNaN(r))throw new Error('Must access array elements with a number, not "'+String(r)+'".');var l=Number(r);if(l<e.length){var a=y.apply(void 0,[e&&e[l]].concat(n));if(a!==e[l]){var i=[].concat(e);return i[l]=a,i}}return e}if(r in e){var c,u=y.apply(void 0,[e&&e[r]].concat(n));return e[r]===u?e:s()({},e,((c={})[r]=u,c))}return e}if(Array.isArray(e)){if(isNaN(r))throw new Error('Cannot delete non-numerical index from an array. Given: "'+String(r));var f=Number(r);if(f<e.length){var d=[].concat(e);return d.splice(f,1),d}return e}if(r in e){var h=s()({},e);return delete h[r],h}return e}const _={allowsArrayErrors:!0,empty:{},emptyList:[],getIn:a,setIn:u,deepEqual:function(e,r){return p()(e,r,b)},deleteIn:function(e,r){return y.apply(void 0,[e].concat(l()(r)))},forEach:function(e,r){return e.forEach(r)},fromJS:function(e){return e},keys:function(e){return e?Array.isArray(e)?e.map((function(e){return e.name})):Object.keys(e):[]},size:function(e){return e?e.length:0},some:function(e,r){return e.some(r)},splice:n,equals:function(e,r){return r.every((function(r){return~e.indexOf(r)}))},orderChanged:function(e,r){return r.some((function(r,t){return r!==e[t]}))},toJS:function(e){return e}}},13572:(e,r,t)=>{"use strict";t.d(r,{Z:()=>m});var n="undefined"!=typeof window?window:null,o=null===n,l=o?void 0:n.document,a="horizontal",i=function(){return!1},s=o?"calc":["","-webkit-","-moz-","-o-"].filter((function(e){var r=l.createElement("div");return r.style.cssText="width:"+e+"calc(9px)",!!r.style.length})).shift()+"calc",c=function(e){return"string"==typeof e||e instanceof String},u=function(e){if(c(e)){var r=l.querySelector(e);if(!r)throw new Error("Selector "+e+" did not match a DOM element");return r}return e},f=function(e,r,t){var n=e[r];return void 0!==n?n:t},d=function(e,r,t,n){if(r){if("end"===n)return 0;if("center"===n)return e/2}else if(t){if("start"===n)return 0;if("center"===n)return e/2}return e},h=function(e,r){var t=l.createElement("div");return t.className="gutter gutter-"+r,t},p=function(e,r,t){var n={};return c(r)?n[e]=r:n[e]=s+"("+r+"% - "+t+"px)",n},v=function(e,r){var t;return(t={})[e]=r+"px",t};const m=/^(713|763|947)$/.test(t.j)?function(e,r){if(void 0===r&&(r={}),o)return{};var t,s,c,m,g,b,y=e;Array.from&&(y=Array.from(y));var _=u(y[0]).parentNode,k=getComputedStyle?getComputedStyle(_):null,x=k?k.flexDirection:null,w=f(r,"sizes")||y.map((function(){return 100/y.length})),E=f(r,"minSize",100),S=Array.isArray(E)?E:y.map((function(){return E})),O=f(r,"maxSize",1/0),z=Array.isArray(O)?O:y.map((function(){return O})),R=f(r,"expandToMin",!1),A=f(r,"gutterSize",10),j=f(r,"gutterAlign","center"),T=f(r,"snapOffset",30),I=Array.isArray(T)?T:y.map((function(){return T})),Z=f(r,"dragInterval",1),C=f(r,"direction",a),L=f(r,"cursor",C===a?"col-resize":"row-resize"),M=f(r,"gutter",h),N=f(r,"elementStyle",p),D=f(r,"gutterStyle",v);function F(e,r,n,o){var l=N(t,r,n,o);Object.keys(l).forEach((function(r){e.style[r]=l[r]}))}function $(){return b.map((function(e){return e.size}))}function P(e){return"touches"in e?e.touches[0][s]:e[s]}function U(e){var r=b[this.a],t=b[this.b],n=r.size+t.size;r.size=e/this.size*n,t.size=n-e/this.size*n,F(r.element,r.size,this._b,r.i),F(t.element,t.size,this._c,t.i)}function B(e){var t,n=b[this.a],o=b[this.b];this.dragging&&(t=P(e)-this.start+(this._b-this.dragOffset),Z>1&&(t=Math.round(t/Z)*Z),t<=n.minSize+n.snapOffset+this._b?t=n.minSize+this._b:t>=this.size-(o.minSize+o.snapOffset+this._c)&&(t=this.size-(o.minSize+this._c)),t>=n.maxSize-n.snapOffset+this._b?t=n.maxSize+this._b:t<=this.size-(o.maxSize-o.snapOffset+this._c)&&(t=this.size-(o.maxSize+this._c)),U.call(this,t),f(r,"onDrag",i)($()))}function V(){var e=b[this.a].element,r=b[this.b].element,n=e.getBoundingClientRect(),o=r.getBoundingClientRect();this.size=n[t]+o[t]+this._b+this._c,this.start=n[c],this.end=n[m]}function q(e){var r=function(e){if(!getComputedStyle)return null;var r=getComputedStyle(e);if(!r)return null;var t=e[g];return 0===t?null:t-=C===a?parseFloat(r.paddingLeft)+parseFloat(r.paddingRight):parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)}(_);if(null===r)return e;if(S.reduce((function(e,r){return e+r}),0)>r)return e;var t=0,n=[],o=e.map((function(o,l){var a=r*o/100,i=d(A,0===l,l===e.length-1,j),s=S[l]+i;return a<s?(t+=s-a,n.push(0),s):(n.push(a-s),a)}));return 0===t?e:o.map((function(e,o){var l=e;if(t>0&&n[o]-t>0){var a=Math.min(t,n[o]-t);t-=a,l=e-a}return l/r*100}))}function H(){var e=this,t=b[e.a].element,o=b[e.b].element;e.dragging&&f(r,"onDragEnd",i)($()),e.dragging=!1,n.removeEventListener("mouseup",e.stop),n.removeEventListener("touchend",e.stop),n.removeEventListener("touchcancel",e.stop),n.removeEventListener("mousemove",e.move),n.removeEventListener("touchmove",e.move),e.stop=null,e.move=null,t.removeEventListener("selectstart",i),t.removeEventListener("dragstart",i),o.removeEventListener("selectstart",i),o.removeEventListener("dragstart",i),t.style.userSelect="",t.style.webkitUserSelect="",t.style.MozUserSelect="",t.style.pointerEvents="",o.style.userSelect="",o.style.webkitUserSelect="",o.style.MozUserSelect="",o.style.pointerEvents="",e.gutter.style.cursor="",e.parent.style.cursor="",l.body.style.cursor=""}function W(e){if(!("button"in e)||0===e.button){var t=this,o=b[t.a].element,a=b[t.b].element;t.dragging||f(r,"onDragStart",i)($()),e.preventDefault(),t.dragging=!0,t.move=B.bind(t),t.stop=H.bind(t),n.addEventListener("mouseup",t.stop),n.addEventListener("touchend",t.stop),n.addEventListener("touchcancel",t.stop),n.addEventListener("mousemove",t.move),n.addEventListener("touchmove",t.move),o.addEventListener("selectstart",i),o.addEventListener("dragstart",i),a.addEventListener("selectstart",i),a.addEventListener("dragstart",i),o.style.userSelect="none",o.style.webkitUserSelect="none",o.style.MozUserSelect="none",o.style.pointerEvents="none",a.style.userSelect="none",a.style.webkitUserSelect="none",a.style.MozUserSelect="none",a.style.pointerEvents="none",t.gutter.style.cursor=L,t.parent.style.cursor=L,l.body.style.cursor=L,V.call(t),t.dragOffset=P(e)-t.end}}C===a?(t="width",s="clientX",c="left",m="right",g="clientWidth"):"vertical"===C&&(t="height",s="clientY",c="top",m="bottom",g="clientHeight"),w=q(w);var G=[];function Y(e){var r=e.i===G.length,t=r?G[e.i-1]:G[e.i];V.call(t);var n=r?t.size-e.minSize-t._c:e.minSize+t._b;U.call(t,n)}return(b=y.map((function(e,r){var n,o={element:u(e),size:w[r],minSize:S[r],maxSize:z[r],snapOffset:I[r],i:r};if(r>0&&((n={a:r-1,b:r,dragging:!1,direction:C,parent:_})._b=d(A,r-1==0,!1,j),n._c=d(A,!1,r===y.length-1,j),"row-reverse"===x||"column-reverse"===x)){var l=n.a;n.a=n.b,n.b=l}if(r>0){var a=M(r,C,o.element);!function(e,r,n){var o=D(t,r,n);Object.keys(o).forEach((function(r){e.style[r]=o[r]}))}(a,A,r),n._a=W.bind(n),a.addEventListener("mousedown",n._a),a.addEventListener("touchstart",n._a),_.insertBefore(a,o.element),n.gutter=a}return F(o.element,o.size,d(A,0===r,r===y.length-1,j),r),r>0&&G.push(n),o}))).forEach((function(e){var r=e.element.getBoundingClientRect()[t];r<e.minSize&&(R?Y(e):e.minSize=r)})),{setSizes:function(e){var r=q(e);r.forEach((function(e,t){if(t>0){var n=G[t-1],o=b[n.a],l=b[n.b];o.size=r[t-1],l.size=e,F(o.element,o.size,n._b,o.i),F(l.element,l.size,n._c,l.i)}}))},getSizes:$,collapse:function(e){Y(b[e])},destroy:function(e,r){G.forEach((function(n){if(!0!==r?n.parent.removeChild(n.gutter):(n.gutter.removeEventListener("mousedown",n._a),n.gutter.removeEventListener("touchstart",n._a)),!0!==e){var o=N(t,n.a.size,n._b);Object.keys(o).forEach((function(e){b[n.a].element.style[e]="",b[n.b].element.style[e]=""}))}}))},parent:_,pairs:G}}:null}}]);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
(self.webpackChunktocco_=self.webpackChunktocco_||[]).push([[141],{33700:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r,o,i=n(74806),s=n(50558),a=n(8128),c=n(1024),l=n(35728),u=n(37873),d=n(539),p=n(85893);const f=function(e){var t=e.loadDialogInfo,n=e.dialogInfo,i=e.deletingInProgress,s=e.intl;(0,c.useEffect)((function(){t()}),[t]);var a;return i?r||(r=(0,p.jsx)(u.Z,{})):(0,p.jsx)(l.Z,{required:[n],loadingText:(a="client.delete.loadingText",s.formatMessage({id:a})),children:n&&(o||(o=(0,p.jsx)(d.Z,{})))})};var h={loadDialogInfo:a.sq};const y=(0,s.connect)((function(e,t){return{dialogInfo:e.del.dialogInfo,deletingInProgress:e.del.deletingInProgress}}),h)((0,i.ZP)(f))},19456:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var r,o,i=n(74806),s=n(50558),a=n(8128),c=n(44012),l=n(93235),u=n(34206),d=n(45253),p=n(22892),f=n(85893);const h=function(e){var t=e.dialogInfo,n=e.navigationStrategy;return(0,f.jsxs)(f.Fragment,{children:[r||(r=(0,f.jsx)(p.M,{children:(0,f.jsx)(l.Z,{size:"30px"})})),o||(o=(0,f.jsx)(u.ZP.P,{children:(0,f.jsx)(c.Z,{id:"client.delete.deleteInProgress"})})),(0,f.jsx)(d.Z,{rootEntities:t.rootEntitiesDeletable,relatedEntities:t.relatedDeletable,maxCountLink:100,navigationStrategy:n},"infopart-deletable")]})};var y={doDelete:a.q1};const g=(0,s.connect)((function(e,t){return{dialogInfo:e.del.dialogInfo,navigationStrategy:e.input.navigationStrategy}}),y)((0,i.ZP)(h))},22892:(e,t,n)=>{"use strict";n.d(t,{M:()=>c});var r,o=n(28655),i=n.n(o),s=n(38205),a=n(7281),c=s.ZP.div.withConfig({displayName:"StyledIconWrapper"})(r||(r=i()(["\n margin-bottom: ",";\n"])),a.Z.space(.2))},37873:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>o}),99!=n.j)var r=n(19456);const o=99!=n.j?r.Z:null},539:(e,t,n)=>{"use strict";n.d(t,{Z:()=>x});var r,o,i,s,a,c=n(74806),l=n(50558),u=n(8128),d=n(44012),p=n(83324),f=n(34206),h=n(55661),y=n(65035),g=n(45253),m=n(96871),v=n(85893);const E=function(e){var t=e.dialogInfo,n=t.rootEntitiesDeletable,c=t.rootEntitiesNotDeletable,l=t.relatedDeletable,u=t.relatedNotDeletable,E=t.hasUnreadableEntities,b=e.doDelete,x=e.onCancel,w=e.navigationStrategy;return(0,p.z)(x),(0,v.jsxs)(v.Fragment,{children:[r||(r=(0,v.jsx)(f.ZP.P,{children:(0,v.jsx)(d.Z,{id:"client.delete.confirmText"})})),(0,v.jsx)(g.Z,{rootEntities:n,relatedEntities:l,maxCountLink:100,navigationStrategy:w},"infopart-deletable"),Object.keys(c).length>0&&(0,v.jsxs)(m.z,{children:[o||(o=(0,v.jsx)(f.ZP.P,{children:(0,v.jsx)(d.Z,{id:"client.delete.textNotDeletable"})})),(0,v.jsx)(g.Z,{rootEntities:c,relatedEntities:u,maxCountLink:100,navigationStrategy:w},"infopart-notdeletable")]}),E&&(i||(i=(0,v.jsx)(m.z,{children:(0,v.jsx)(h.Z,{condition:"warning",children:(0,v.jsx)(f.ZP.Span,{children:(0,v.jsx)(d.Z,{id:"client.delete.unreadableEntities"})})})}))),(0,v.jsx)(m.z,{children:(0,v.jsxs)(m.W,{children:[(0,v.jsx)(y.Z,{onClick:b,disabled:Object.keys(n).every((function(e){return 0===n[e].keys.length})),children:s||(s=(0,v.jsx)(d.Z,{id:"client.delete.deleteButton"}))}),(0,v.jsx)(y.Z,{ink:"primary",look:"raised",onClick:x,children:a||(a=(0,v.jsx)(d.Z,{id:"client.delete.cancelButton"}))})]})})]})};var b={doDelete:u.q1,onCancel:u.K3};const x=(0,l.connect)((function(e,t){return{dialogInfo:e.del.dialogInfo,navigationStrategy:e.input.navigationStrategy}}),b)((0,c.ZP)(E))},96871:(e,t,n)=>{"use strict";n.d(t,{W:()=>d,z:()=>u});var r,o,i=n(28655),s=n.n(i),a=n(38205),c=n(7281),l=n(58129),u=a.ZP.div.withConfig({displayName:"StyledSectionWrapper"})(r||(r=s()(["\n padding-top: ",";\n"])),c.Z.space(.6)),d=a.ZP.div.withConfig({displayName:"StyledButtonsWrapper"})(o||(o=s()(["\n display: flex;\n justify-content: flex-end;\n\n "," {\n margin-right: 0;\n }\n"])),l.Z)},45253:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var r=n(319),o=n.n(r),i=n(63038),s=n.n(i),a=n(28655),c=n.n(a),l=n(1024),u=n.n(l),d=n(38205);if(99!=n.j)var p=n(34206);if(99!=n.j)var f=n(13535);var h,y,g=n(85893),m=d.ZP.span.withConfig({displayName:"NonBreakingText"})(h||(h=c()(["\n white-space: nowrap;\n"])));const v=99!=n.j?function(e){var t=e.rootEntities,n=e.relatedEntities,r=e.maxCountLink,i=e.navigationStrategy;return(0,g.jsxs)(p.ZP.Span,{children:[(0,g.jsx)(p.ZP.B,{children:Object.entries(t).map((function(e){var t=s()(e,2),n=t[0],r=t[1];return(0,g.jsxs)("span",{children:[r.entityLabel," (",r.keys.length>0&&i.ListLink?(0,g.jsx)(i.ListLink,{entityName:n,entityKeys:r.keys,children:r.keys.length}):(0,g.jsx)(p.ZP.Span,{children:r.keys.length}),")"]},"root-entity-".concat(n))})).reduce((function(e,t){return[e,", ",t]}))}),Object.keys(n).length>0&&(0,g.jsxs)(g.Fragment,{children:[y||(y=(0,g.jsx)("span",{children:" / "})),Object.keys(n).map((function(e){var t=n[e],s=[].concat(o()(t.keys),o()(t.keysOtherBu)).length,a=t.keys.length>0&&i.ListLink?(0,g.jsx)(i.ListLink,{entityName:e,entityKeys:t.keys.slice(0,r),children:s}):(0,g.jsx)(p.ZP.Span,{children:s}),c=(0,g.jsx)(f.Z,{relatedEntity:t,maxCountLink:r,children:a});return(0,g.jsx)(u().Fragment,{children:(0,g.jsxs)(m,{children:[t.entityLabel," (",c,")"]})},"entity-info-"+e)})).reduce((function(e,t){return[e,", ",t]}))]})]})}:null},13535:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>c}),99!=n.j)var r=n(44012);if(99!=n.j)var o=n(34206);if(99!=n.j)var i=n(76791);var s,a=n(85893);const c=99!=n.j?function(e){var t=e.relatedEntity,n=e.children,c=e.maxCountLink;if(t.keys.length<c&&0===t.keysOtherBu.length)return n;var l=(0,a.jsxs)(a.Fragment,{children:[t.keys.length>c&&(s||(s=(0,a.jsx)(o.ZP.P,{children:(0,a.jsx)(r.Z,{id:"client.delete.tooManyRecords"})}))),t.keysOtherBu.length>0&&(0,a.jsx)(o.ZP.P,{children:(0,a.jsx)(r.Z,{id:"client.delete.recordInOtherBU",values:{count:t.keysOtherBu.length}})})]});return(0,a.jsx)(i.Z,{content:l,placement:"top",children:n})}:null},7030:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>i}),99!=n.j)var r=n(49011);var o=n(85893);const i=99!=n.j?function(e){var t=e.errors.map((function(e){var t=e.entityValidatorErrors;return Object.keys(t).map((function(e){return(0,o.jsx)(r.Z.List,{children:t[e].map((function(t,n){return(0,o.jsx)(r.Z.Item,{label:t},"entity-".concat(e,"-").concat(n))}))},e)}))}));return(0,o.jsx)(o.Fragment,{children:t})}:null},82687:(e,t,n)=>{"use strict";n.d(t,{Z:()=>se});var r=n(45697),o=n.n(r),i=n(50600),s=n(18882),a=n(19241),c=n(30604),l=n(291);const u=n(33700).Z;var d,p=n(59713),f=n.n(p),h=n(81770),y=n(8128),g=(d={},f()(d,y.uT,h.Z.singleTransferReducer("dialogInfo")),f()(d,y.Yq,h.Z.singleTransferReducer("entitiesToDelete")),f()(d,y.mT,h.Z.singleTransferReducer("deletingInProgress")),d),m={dialogInfo:null,entitiesToDelete:null,deletingInProgress:!1};var v=n(319),E=n.n(v),b=n(63038),x=n.n(b),w=n(87757),O=n.n(w),j=n(34857),k=n(81719);const R=n(7030).Z;var C=n(27361),S=n.n(C);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){f()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var I="DELETABLE",Z=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=t.rootEntity,o=r.entityName,i=r.entityLabel,s=r.key;if(s.includes("/")){var a=s.split("/"),c=x()(a,2),l=c[0],u=c[1];return P(P({},e),{},f()({},l,{entityLabel:i,keys:[].concat(E()(S()(e,[l,"keys"],[])),E()(n?[u]:[]))}))}return P(P({},e),{},f()({},o,{entityLabel:i,keys:[].concat(E()(S()(e,[o,"keys"],[])),E()(n?[s]:[]))}))},_=function(e){return e.rootEntity.deleteStatus===I&&!e.affectedEntities.find((function(e){return e.deleteStatus!==I}))},A=function(e,t){var n=e.entitiesToDelete;return n.reduce((function(e,n){var r=_(n),o=r?"relatedDeletable":"relatedNotDeletable";return P(P(P({},e),{},{rootEntitiesDeletable:Z(e.rootEntitiesDeletable,n,r)},!r&&{rootEntitiesNotDeletable:Z(e.rootEntitiesNotDeletable,n)}),{},f()({},o,function(e,t,n,r){return P({},t.affectedEntities.reduce((function(e,t){return P(P({},e),n||t.deleteStatus!==I?f()({},t.entityName,P(P({},S()(e,t.entityName,{keys:[],keysOtherBu:[],entityLabel:t.entityLabel})),null===t.businessUnitId||t.businessUnitId===r?{keys:Array.from(new Set([].concat(E()(S()(e,[t.entityName,"keys"],[])),[t.key])))}:{keysOtherBu:Array.from(new Set([].concat(E()(S()(e,[t.entityName,"keysOtherBu"],[])),[t.key])))})):{})}),P({},e)))}(e[o],n,r,t)))}),{rootEntitiesDeletable:{},rootEntitiesNotDeletable:{},relatedDeletable:{},relatedNotDeletable:{},hasUnreadableEntities:!!n.find((function(e){return e.unreadableEntities}))})},D=function(e){var t=e.entitiesToDelete;return{entityName:S()(t,"[0].rootEntity.entityName"),keys:t.reduce((function(e,t){return[].concat(E()(e),E()(_(t)?[t.rootEntity.key]:[]))}),[])}},M=o().shape({entityLabel:o().string,keys:o().arrayOf(o().string),keysOtherBu:o().arrayOf(o().string)}),L=(o().shape({rootEntitiesDeletable:o().objectOf(M).isRequired,rootEntitiesNotDeletable:o().objectOf(M).isRequired,relatedDeletable:o().objectOf(M).isRequired,relatedNotDeletable:o().objectOf(M).isRequired,hasUnreadableEntities:o().bool}),n(85893)),T=O().mark(Y),F=O().mark(V),U=O().mark(Q),z=O().mark(G),B=O().mark(K),H=O().mark(X),$=function(e){return e.input},q=function(e){return e.intl.messages},W=function(e){return e.del.entitiesToDelete};function Y(){var e,t,n;return O().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,j.Ys)($);case 2:return e=r.sent,t=e.selection,r.next=6,(0,j.RE)(l.Z.getEntities,t,k.Z.fetchEntities);case 6:return n=r.sent,r.abrupt("return",{entityModel:n.entityName,keys:n.keys});case 8:case"end":return r.stop()}}),T)}function V(){var e,t;return O().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,j.Ys)($);case 2:return e=n.sent,t=e.customDeleteEndpoint,n.abrupt("return",t||"client/delete");case 5:case"end":return n.stop()}}),F)}function Q(){var e,t,n,r,o,i,s,a;return O().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,(0,j.RE)(Y);case 2:return e=c.sent,c.next=5,(0,j.RE)(V);case 5:return t=c.sent,c.next=8,(0,j.$6)([(0,j.RE)(k.Z.requestSaga,"".concat(t,"/dialog"),{method:"POST",body:e}),(0,j.RE)(k.Z.fetchPrincipal)]);case 8:return n=c.sent,r=x()(n,2),o=r[0],i=r[1],c.next=14,(0,j.RE)(A,o.body,i.currentBusinessUnit.id);case 14:return s=c.sent,c.next=17,(0,j.gz)(y.ik(s));case 17:return c.next=19,(0,j.RE)(D,o.body);case 19:return a=c.sent,c.next=22,(0,j.gz)(y.OJ(a));case 22:case"end":return c.stop()}}),U)}function G(){var e,t,n,r,o,i,s,c;return O().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,(0,j.Ys)(W);case 2:return e=l.sent,l.next=5,(0,j.gz)(y.T3(!0));case 5:return l.next=7,(0,j.RE)(V);case 7:return t=l.sent,l.next=10,(0,j.RE)(k.Z.requestSaga,t,{method:"POST",body:{entityModel:e.entityName,keys:e.keys},acceptedErrorCodes:["VALIDATION_FAILED"],acceptedStatusCodes:[500,400,409]});case 10:return n=l.sent,l.next=13,(0,j.Ys)(q);case 13:if(r=l.sent,!n.ok){l.next=22;break}return o=n.body,i=Object.keys(o.deletedEntities).reduce((function(e,t){return[].concat(E()(e),E()(o.deletedEntities[t].map((function(e){return{entityName:t,key:e}}))))}),[]),s=[{type:"entity-delete-event",payload:{entities:i}}],l.next=20,(0,j.gz)(a.Z.fireExternalEvent("onSuccess",{message:r["client.delete.successfullyMessage"],remoteEvents:s}));case 20:case 25:case 31:l.next=35;break;case 22:if(409!==n.status||!n.body.information){l.next=27;break}return l.next=25,(0,j.gz)(a.Z.fireExternalEvent("onError",{message:n.body.information}));case 27:if(400!==n.status||"VALIDATION_FAILED"!==n.body.errorCode){l.next=33;break}return c=function(){return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)("div",{children:r["client.delete.validationErrorMessage"]}),(0,L.jsx)(R,{errors:n.body.errors})]})},l.next=31,(0,j.gz)(a.Z.fireExternalEvent("onError",{message:c}));case 33:return l.next=35,(0,j.gz)(a.Z.fireExternalEvent("onError",{message:r["client.delete.errorMessage"]}));case 35:case"end":return l.stop()}}),z)}function K(){return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,j.gz)(a.Z.fireExternalEvent("onCancel"));case 2:case"end":return e.stop()}}),B)}function X(){return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,j.$6)([(0,j.Fm)(y.qD,Q),(0,j.Fm)(y.lB,G),(0,j.Fm)(y.DV,K)]);case 2:case"end":return e.stop()}}),H)}const J={del:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m,t=arguments.length>1?arguments[1]:void 0,n=g[t.type];return n?n(e,t):e}};var ee,te=[X],ne="delete",re=["onSuccess","onCancel","onError","emitAction"],oe=function(e,t,n,r){var o=ee||(ee=(0,L.jsx)(u,{})),l=s.Z.createStore(J,te,t,ne);i.Z.addToStore(l,(function(e){return e.input.emitAction}));var d=!n.emitAction;return c.Z.addToStore(l,d),a.Z.addToStore(l,(function(e){return s.Z.getEvents(re,e.input)})),s.Z.createApp(ne,o,l,{input:t,events:n,actions:[],publicPath:r,textResourceModules:["component","common",ne]})};s.Z.registerAppInRegistry(ne,oe);var ie=function(e){return s.Z.useApp({initApp:oe,props:e,packageName:ne,externalEvents:re}).component};ie.propTypes={selection:l.Z.propType.isRequired,customDeleteEndpoint:o().string};const se=ie;s.Z.createBundleableApp(ne,oe,ie)},8128:(e,t,n)=>{"use strict";n.d(t,{DV:()=>a,K3:()=>f,OJ:()=>h,T3:()=>p,Yq:()=>c,ik:()=>u,lB:()=>i,mT:()=>s,q1:()=>d,qD:()=>r,sq:()=>l,uT:()=>o});var r="root/LOAD_DIALOG_INFO",o="delete/SET_DELETE_DIALOG_INFO",i="delete/DO_DELETE",s="delete/SET_DELETING_IN_PROGRESS",a="delete/ON_CANCEL",c="delete/SET_ENTITIES_TO_DELETE",l=function(){return{type:r}},u=function(e){return{type:o,payload:{dialogInfo:e}}},d=function(){return{type:i}},p=function(e){return{type:s,payload:{deletingInProgress:e}}},f=function(){return{type:a}},h=function(e){return{type:c,payload:{entitiesToDelete:e}}}},291:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(49083),o=n(94190),i=n(71046);const s={getEntities:o.u,getSingleKey:o.U,propType:r.Z,selectionTypes:i.Z}},49083:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(45697),o=n.n(r),i=n(71046);const s=o().shape({entityName:o().string.isRequired,ids:function(e,t,n){if(e.selection&&e.selection.type===i.Z.ID&&!e.selection[t])return new Error("Selection.ids prop not defined. Component: ".concat(n,"'."))},query:function(e,t,n){if(e.selection&&e.selection.type===i.Z.QUERY&&!e.selection[t])return new Error("Selection.query prop not defined. Component: ".concat(n,"'."))},type:o().oneOf(Object.keys(i.Z)).isRequired,count:o().number})},94190:(e,t,n)=>{"use strict";n.d(t,{U:()=>y,u:()=>h});var r=n(59713),o=n.n(r),i=n(87757),s=n.n(i),a=n(34857),c=n(44759),l=n(71046),u=s().mark(h);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=1e5;function h(e,t){var n,r;return s().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(n=e.entityName,e.type!==l.Z.QUERY){o.next=9;break}return o.next=4,(0,a.RE)(t,e.entityName,p(p({},e.query),{},{limit:f}));case 4:if(!((r=o.sent).length>f)){o.next=8;break}return o.next=8,(0,a.RE)(c.Z.logError,"Selected records exceed limit of ".concat(f));case 8:return o.abrupt("return",{entityName:n,keys:r.map((function(e){return e.key}))});case 9:return o.abrupt("return",{entityName:n,keys:e.ids});case 10:case"end":return o.stop()}}),u)}var y=function(e,t){if(e.entityName!==t)throw new Error("Only selection of ".concat(t," supported"));if("ID"!==e.type)throw new Error("Only ID selection type supported");if(!e.ids||1!==e.ids.length)throw new Error("Exactly one ".concat(t," must be selected"));return e.ids[0]}},71046:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={ID:"ID",QUERY:"QUERY"}},55661:(e,t,n)=>{"use strict";n.d(t,{Z:()=>x});var r,o,i=n(1024),s=n.n(i),a=n(34206),c=n(78958),l=n(28655),u=n.n(l),d=n(59713),p=n.n(d),f=n(38205),h=n(24875),y=n(7281),g=[c.Z.condition.INFO,c.Z.condition.DANGER,c.Z.condition.SUCCESS,c.Z.condition.WARNING],m=(r={},p()(r,c.Z.condition.DANGER,h.FS.color("signal.danger")),p()(r,c.Z.condition.SUCCESS,h.FS.color("signal.success")),p()(r,c.Z.condition.WARNING,h.FS.color("signal.warning")),p()(r,c.Z.condition.INFO,h.FS.color("signal.info")),r),v=f.ZP.div.withConfig({displayName:"StyledSignalBox"})(o||(o=u()(["\n && {\n background-color: ",";\n padding: ",";\n margin-bottom: ",";\n\n * {\n color: ",";\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(function(e){return function(e){return m[e.condition]||m[c.Z.condition.INFO]}(e)}),y.Z.space(-1),y.Z.space(-1),h.FS.color("paper"));v.propTypes={condition:c.Z.oneOfPropTypeAndCompletelyMapped(g,m)};var E=n(85893),b=function(e){var t=e.condition,n=e.title,r=e.children,o=e.meta;return(0,E.jsxs)(v,{condition:t,children:[n&&(0,E.jsx)(a.ZP.H5,{children:n}),s().Children.map(r,(function(e){return s().cloneElement(e)})),o&&(0,E.jsx)(a.ZP.Small,{children:o})]})};b.defaultProps={condition:c.Z.condition.BASE};const x=b},14505:(e,t,n)=>{"use strict";n.d(t,{i:()=>a});var r=n(319),o=n.n(r);if(99!=n.j)var i=n(44759);var s=function(e){return void 0!==e},a=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t.reduce((function(t,r){return s(e[r.name])&&"function"==typeof r.action?t.push(r.action.apply(r,o()(r.argsFactory(e)))):r.mandatory&&n&&i.Z.logError("Mandatory field '".concat(r.name,"' not set in input")),t}),[])}},47369:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={getDispatchActions:n(14505).i}},67210:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(74806),o=n(47971),i=n(34240),s=n(46169),a=n(25660),c=n(80722),l=n(20247),u=n(85893);const d=(0,l.U)((0,r.ZP)((function(e){var t=e.path,n=e.context,r=e.onSuccess,l=e.intl,d=e.locale,p=e.emitAction,f=(0,c.Z)(t),h=f?[{id:"rel".concat(f.model),value:f.key}]:[],y=(0,a.Z)(n,"Domain");return(0,u.jsx)(o.ZP,{entityName:"Domain",formName:y,mode:"create",defaultValues:h,locale:d,onEntityCreated:function(e){var t=e.id,n=[{type:"entity-create-event",payload:{entities:[{entityName:"Docs_list_item",key:"Domain/".concat(t)}]}}];r({title:l.formatMessage({id:"client.docs-browser.createDomainSuccessful"}),remoteEvents:n})},emitAction:function(e){(function(e){var t,n;return"client.entity-detail.createSuccessfulTitle"===(null===(t=e.payload)||void 0===t||null===(n=t.toaster)||void 0===n?void 0:n.title)})(e)||p(e)},listApp:i.ZP,docsApp:s.ZP})})))},36340:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(74806),o=n(47971),i=n(34240),s=n(46169),a=n(25660),c=n(80722),l=n(20247),u=n(85893);const d=(0,l.U)((0,r.ZP)((function(e){var t=e.context,n=e.path,r=e.onSuccess,l=e.intl,d=e.locale,p=e.emitAction,f=(0,c.Z)(n),h=f?[{id:"rel".concat(f.model),value:f.key}]:[],y=(0,a.Z)(t,"Folder");return(0,u.jsx)(o.ZP,{entityName:"Folder",formName:y,mode:"create",defaultValues:h,locale:d,onEntityCreated:function(e){var t=e.id,n=[{type:"entity-create-event",payload:{entities:[{entityName:"Docs_list_item",key:"Folder/".concat(t)}]}}];r({title:l.formatMessage({id:"client.docs-browser.createFolderSuccessful"}),remoteEvents:n})},emitAction:function(e){(function(e){var t,n;return"client.entity-detail.createSuccessfulTitle"===(null===(t=e.payload)||void 0===t||null===(n=t.toaster)||void 0===n?void 0:n.title)})(e)||p(e)},listApp:i.ZP,docsApp:s.ZP})})))},96954:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(59713),o=n.n(r);if(99!=n.j)var i=n(82687);var s=n(85893);function a(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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const l=function(e){return(0,s.jsx)(i.Z,c(c({},e),{},{customDeleteEndpoint:"documents/delete"}))}},90100:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(63038),o=n.n(r),i=n(47971),s=n(34240),a=n(46169),c=n(25660),l=n(20247),u=n(85893);const d=(0,l.U)((function(e){var t=e.selection,n=e.onSuccess,r=e.onCancel,l=e.locale,d=e.context,p=e.emitAction,f=e.navigate,h=t.ids[0].split("/"),y=o()(h,2),g=y[0],m=y[1];"Resource"===g&&(f("/docs/doc/".concat(m,"/detail")),r());var v=(0,c.Z)(d,g);return(0,u.jsx)(i.ZP,{entityName:g,formName:v,entityId:m,mode:"update",locale:l,onEntityUpdated:function(){var e=[{type:"entity-update-event",payload:{entities:[{entityName:"Docs_list_item",key:t.ids[0]}]}}];n({title:null,remoteEvents:e})},onEntityDeleted:function(){var e=[{type:"entity-delete-event",payload:{entities:[{entityName:"Docs_list_item",key:t.ids[0]}]}}];n({title:null,remoteEvents:e})},emitAction:function(e){(function(e){var t,n;return"client.entity-detail.createSuccessfulTitle"===(null===(t=e.payload)||void 0===t||null===(n=t.toaster)||void 0===n?void 0:n.title)})(e)||p(e)},listApp:s.ZP,docsApp:a.ZP})}))},4505:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>N});var r,o,i,s=n(74806),a=n(50558),c=n(30081),l=n(20247),u=n(63038),d=n.n(u),p=n(28655),f=n.n(p),h=n(18446),y=n.n(h),g=n(1024),m=n(44012),v=n(38205),E=n(58129),b=n(35728),x=n(65035),w=n(46169),O=n(80722),j=n(85893),k=v.ZP.div.withConfig({displayName:"StyledButtonsWrapper"})(r||(r=f()(["\n display: flex;\n justify-content: flex-end;\n\n "," {\n margin-right: 0;\n }\n"])),E.Z),R=(0,v.ZP)(b.Z).withConfig({displayName:"StyledLoadMask"})(o||(o=f()(["\n height: auto;\n"]))),C=function(e,t){return null!==e?"Move_docs_list_item":null!==t?"Move_root_docs_list_item_specific":"Move_root_docs_list_item"},S={initialize:c.j2,moveElements:c.w6};const N=(0,l.U)((0,a.connect)((function(e){return{isWaiting:e.docs.move.isWaiting,domainTypes:e.input.domainTypes,rootNodes:e.input.rootNodes,businessUnit:e.input.businessUnit,locale:e.intl.locale}}),S)((0,s.ZP)((function(e){var t=e.selection,n=e.onSuccess,r=e.onError,o=e.path,s=e.initialize,a=e.moveElements,c=e.isWaiting,l=e.domainTypes,u=e.rootNodes,p=e.businessUnit,f=e.locale,h=e.emitAction,v=(0,O.Z)(o),E={model:"Docs_list_item",key:"".concat(v.model,"/").concat(v.key)},b=(0,g.useState)(E),S=d()(b,2),N=S[0],P=S[1];(0,g.useEffect)((function(){s(t,n,r)}),[]);var I=function(e,t){switch(e){case"Domain":return"/docs/domain/".concat(t,"/list");case"Folder":return"/docs/folder/".concat(t,"/list");case"Resource":return;default:throw new Error("Unexpected model: ".concat(e))}};return(0,j.jsxs)(R,{required:[!c],children:[(0,j.jsx)(w.ZP,{routerType:"routerless",initialLocation:function(){if(null===N)return null;var e=N.key.split("/"),t=d()(e,2),n=t[0],r=t[1];return I(n,r)}(),listLimit:10,selectionStyle:"none",searchFormType:"none",disableViewPersistor:!0,getListFormName:C,onListParentChange:P,getCustomLocation:I,navigationStrategy:{},embedded:!0,emitAction:h,noLeftPadding:!0,domainTypes:l,rootNodes:u,businessUnit:p,sortable:!1,scrollBehaviour:"none",locale:f}),(0,j.jsx)(k,{children:(0,j.jsx)(x.Z,{onClick:function(){return a(N.key,t.ids)},look:"raised",ink:"primary",disabled:null===N||y()(N,E),children:i||(i=(0,j.jsx)(m.Z,{id:"client.actions.dms-move.button"}))})})]})}))))},77840:(e,t,n)=>{"use strict";if(n.r(t),n.d(t,{default:()=>r.ZP}),99!=n.j)var r=n(34240)},82445:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(59713),o=n.n(r);if(99!=n.j)var i=n(47971);if(99!=n.j)var s=n(34240);if(99!=n.j)var a=n(46169);var c=n(85893);function l(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?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const d=99!=n.j?function(e){return(0,c.jsx)(i.ZP,u(u({},e),{},{listApp:s.ZP,docsApp:a.ZP}))}:null},25660:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=99!=n.j?function(e,t){return e.detailFormNames&&e.detailFormNames[t]?e.detailFormNames[t]:"Dms".concat(t)}:null},44020:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),r=new RegExp("("+t+")+","gi");function o(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function i(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(n)||[],r=1;r<t.length;r++)t=(e=o(t,r).join("")).match(n)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var o=i(n[0]);o!==n[0]&&(t[n[0]]=o)}n=r.exec(e)}t["%C2"]="�";for(var s=Object.keys(t),a=0;a<s.length;a++){var c=s[a];e=e.replace(new RegExp(c,"g"),t[c])}return e}(e)}}},92806:e=>{"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),i=0;i<r.length;i++){var s=r[i],a=e[s];(o?-1!==t.indexOf(s):t(s,a,e))&&(n[s]=a)}return n}},47556:(e,t,n)=>{var r=n(88668),o=n(47443),i=n(1196),s=n(29932),a=n(7518),c=n(74757),l=Math.min;e.exports=function(e,t,n){for(var u=n?i:o,d=e[0].length,p=e.length,f=p,h=Array(p),y=1/0,g=[];f--;){var m=e[f];f&&t&&(m=s(m,a(t))),y=l(m.length,y),h[f]=!n&&(t||d>=120&&m.length>=120)?new r(f&&m):void 0}m=e[0];var v=-1,E=h[0];e:for(;++v<d&&g.length<y;){var b=m[v],x=t?t(b):b;if(b=n||0!==b?b:0,!(E?c(E,x):u(g,x,n))){for(f=p;--f;){var w=h[f];if(!(w?c(w,x):u(e[f],x,n)))continue e}E&&E.push(x),g.push(b)}}return g}},24387:(e,t,n)=>{var r=n(29246);e.exports=function(e){return r(e)?e:[]}},71843:(e,t,n)=>{var r=n(29932),o=n(47556),i=n(67206),s=n(5976),a=n(24387),c=n(10928),l=s((function(e){var t=c(e),n=r(e,a);return t===c(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?o(n,i(t,2)):[]}));e.exports=l},77043:(e,t,n)=>{var r=n(21078),o=n(67206),i=n(5976),s=n(45652),a=n(29246),c=n(10928),l=i((function(e){var t=c(e);return a(t)&&(t=void 0),s(r(e,1,a,!0),o(t,2))}));e.exports=l},84059:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>R});var r,o=n(1024),i=n.n(o),s=Object.defineProperty,a=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,u=(e,t,n)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,d=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&u(e,n,t[n]);if(a)for(var n of a(t))l.call(t,n)&&u(e,n,t[n]);return e},p=(e,t)=>{var n={};for(var r in e)c.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&a)for(var r of a(e))t.indexOf(r)<0&&l.call(e,r)&&(n[r]=e[r]);return n};(e=>{const t=class{constructor(e,n,r,o){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version value out of range");if(o<-1||o>7)throw new RangeError("Mask value out of range");this.size=4*e+17;let s=[];for(let e=0;e<this.size;e++)s.push(!1);for(let e=0;e<this.size;e++)this.modules.push(s.slice()),this.isFunction.push(s.slice());this.drawFunctionPatterns();const a=this.addEccAndInterleave(r);if(this.drawCodewords(a),-1==o){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const n=this.getPenaltyScore();n<e&&(o=t,e=n),this.applyMask(t)}}i(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(n,r){const o=e.QrSegment.makeSegments(n);return t.encodeSegments(o,r)}static encodeBinary(n,r){const o=e.QrSegment.makeBytes(n);return t.encodeSegments([o],r)}static encodeSegments(e,n,o=1,s=40,c=-1,l=!0){if(!(t.MIN_VERSION<=o&&o<=s&&s<=t.MAX_VERSION)||c<-1||c>7)throw new RangeError("Invalid value");let u,d;for(u=o;;u++){const r=8*t.getNumDataCodewords(u,n),o=a.getTotalBits(e,u);if(o<=r){d=o;break}if(u>=s)throw new RangeError("Data too long")}for(const e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])l&&d<=8*t.getNumDataCodewords(u,e)&&(n=e);let p=[];for(const t of e){r(t.mode.modeBits,4,p),r(t.numChars,t.mode.numCharCountBits(u),p);for(const e of t.getData())p.push(e)}i(p.length==d);const f=8*t.getNumDataCodewords(u,n);i(p.length<=f),r(0,Math.min(4,f-p.length),p),r(0,(8-p.length%8)%8,p),i(p.length%8==0);for(let e=236;p.length<f;e^=253)r(e,8,p);let h=[];for(;8*h.length<p.length;)h.push(0);return p.forEach(((e,t)=>h[t>>>3]|=e<<7-(7&t))),new t(u,n,h,c)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let r=0;r<t;r++)0==n&&0==r||0==n&&r==t-1||n==t-1&&0==r||this.drawAlignmentPattern(e[n],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let n=t;for(let e=0;e<10;e++)n=n<<1^1335*(n>>>9);const r=21522^(t<<10|n);i(r>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,o(r,e));this.setFunctionModule(8,7,o(r,6)),this.setFunctionModule(8,8,o(r,7)),this.setFunctionModule(7,8,o(r,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,o(r,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,o(r,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,o(r,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;i(t>>>18==0);for(let e=0;e<18;e++){const n=o(t,e),r=this.size-11+e%3,i=Math.floor(e/3);this.setFunctionModule(r,i,n),this.setFunctionModule(i,r,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){const o=Math.max(Math.abs(r),Math.abs(n)),i=e+r,s=t+n;0<=i&&i<this.size&&0<=s&&s<this.size&&this.setFunctionModule(i,s,2!=o&&4!=o)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,1!=Math.max(Math.abs(r),Math.abs(n)))}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(e){const n=this.version,r=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(n,r))throw new RangeError("Invalid argument");const o=t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n],s=t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n],a=Math.floor(t.getNumRawDataModules(n)/8),c=o-a%o,l=Math.floor(a/o);let u=[];const d=t.reedSolomonComputeDivisor(s);for(let n=0,r=0;n<o;n++){let o=e.slice(r,r+l-s+(n<c?0:1));r+=o.length;const i=t.reedSolomonComputeRemainder(o,d);n<c&&o.push(0),u.push(o.concat(i))}let p=[];for(let e=0;e<u[0].length;e++)u.forEach(((t,n)=>{(e!=l-s||n>=c)&&p.push(t[e])}));return i(p.length==a),p}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let n=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let r=0;r<this.size;r++)for(let i=0;i<2;i++){const s=t-i,a=0==(t+1&2)?this.size-1-r:r;!this.isFunction[a][s]&&n<8*e.length&&(this.modules[a][s]=o(e[n>>>3],7-(7&n)),n++)}}i(n==8*e.length)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let r;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let n=0;n<this.size;n++){let r=!1,o=0,i=[0,0,0,0,0,0,0];for(let s=0;s<this.size;s++)this.modules[n][s]==r?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,i),r||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),r=this.modules[n][s],o=1);e+=this.finderPenaltyTerminateAndCount(r,o,i)*t.PENALTY_N3}for(let n=0;n<this.size;n++){let r=!1,o=0,i=[0,0,0,0,0,0,0];for(let s=0;s<this.size;s++)this.modules[s][n]==r?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,i),r||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),r=this.modules[s][n],o=1);e+=this.finderPenaltyTerminateAndCount(r,o,i)*t.PENALTY_N3}for(let n=0;n<this.size-1;n++)for(let r=0;r<this.size-1;r++){const o=this.modules[n][r];o==this.modules[n][r+1]&&o==this.modules[n+1][r]&&o==this.modules[n+1][r+1]&&(e+=t.PENALTY_N2)}let n=0;for(const e of this.modules)n=e.reduce(((e,t)=>e+(t?1:0)),n);const r=this.size*this.size,o=Math.ceil(Math.abs(20*n-10*r)/r)-1;return i(0<=o&&o<=9),e+=o*t.PENALTY_N4,i(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2));let n=[6];for(let r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version number out of range");let n=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;n-=(25*t-10)*t-55,e>=7&&(n-=36)}return i(208<=n&&n<=29648),n}static getNumDataCodewords(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");let n=[];for(let t=0;t<e-1;t++)n.push(0);n.push(1);let r=1;for(let o=0;o<e;o++){for(let e=0;e<n.length;e++)n[e]=t.reedSolomonMultiply(n[e],r),e+1<n.length&&(n[e]^=n[e+1]);r=t.reedSolomonMultiply(r,2)}return n}static reedSolomonComputeRemainder(e,n){let r=n.map((e=>0));for(const o of e){const e=o^r.shift();r.push(0),n.forEach(((n,o)=>r[o]^=t.reedSolomonMultiply(n,e)))}return r}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let n=0;for(let r=7;r>=0;r--)n=n<<1^285*(n>>>7),n^=(t>>>r&1)*e;return i(n>>>8==0),n}finderPenaltyCountPatterns(e){const t=e[1];i(t<=3*this.size);const n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};let n=t;function r(e,t,n){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function o(e,t){return 0!=(e>>>t&1)}function i(e){if(!e)throw new Error("Assertion error")}n.MIN_VERSION=1,n.MAX_VERSION=40,n.PENALTY_N1=3,n.PENALTY_N2=3,n.PENALTY_N3=40,n.PENALTY_N4=10,n.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],n.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=n;const s=class{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw new RangeError("Invalid argument");this.bitData=n.slice()}static makeBytes(e){let t=[];for(const n of e)r(n,8,t);return new s(s.Mode.BYTE,e.length,t)}static makeNumeric(e){if(!s.isNumeric(e))throw new RangeError("String contains non-numeric characters");let t=[];for(let n=0;n<e.length;){const o=Math.min(e.length-n,3);r(parseInt(e.substr(n,o),10),3*o+1,t),n+=o}return new s(s.Mode.NUMERIC,e.length,t)}static makeAlphanumeric(e){if(!s.isAlphanumeric(e))throw new RangeError("String contains unencodable characters in alphanumeric mode");let t,n=[];for(t=0;t+2<=e.length;t+=2){let o=45*s.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t));o+=s.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t+1)),r(o,11,n)}return t<e.length&&r(s.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t)),6,n),new s(s.Mode.ALPHANUMERIC,e.length,n)}static makeSegments(e){return""==e?[]:s.isNumeric(e)?[s.makeNumeric(e)]:s.isAlphanumeric(e)?[s.makeAlphanumeric(e)]:[s.makeBytes(s.toUtf8ByteArray(e))]}static makeEci(e){let t=[];if(e<0)throw new RangeError("ECI assignment value out of range");if(e<128)r(e,8,t);else if(e<16384)r(2,2,t),r(e,14,t);else{if(!(e<1e6))throw new RangeError("ECI assignment value out of range");r(6,3,t),r(e,21,t)}return new s(s.Mode.ECI,0,t)}static isNumeric(e){return s.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return s.ALPHANUMERIC_REGEX.test(e)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(const r of e){const e=r.mode.numCharCountBits(t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)"%"!=e.charAt(n)?t.push(e.charCodeAt(n)):(t.push(parseInt(e.substr(n+1,2),16)),n+=2);return t}};let a=s;a.NUMERIC_REGEX=/^[0-9]*$/,a.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,a.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=a})(r||(r={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};let n=t;n.LOW=new t(0,1),n.MEDIUM=new t(1,0),n.QUARTILE=new t(2,3),n.HIGH=new t(3,2),e.Ecc=n})(t=e.QrCode||(e.QrCode={}))})(r||(r={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};let n=t;n.NUMERIC=new t(1,[10,12,14]),n.ALPHANUMERIC=new t(2,[9,11,13]),n.BYTE=new t(4,[8,16,16]),n.KANJI=new t(8,[8,10,12]),n.ECI=new t(7,[0,0,0]),e.Mode=n})(t=e.QrSegment||(e.QrSegment={}))})(r||(r={}));var f=r,h={L:f.QrCode.Ecc.LOW,M:f.QrCode.Ecc.MEDIUM,Q:f.QrCode.Ecc.QUARTILE,H:f.QrCode.Ecc.HIGH},y=128,g="L",m="#FFFFFF",v="#000000",E=!1;
|
|
2
|
+
/**
|
|
3
|
+
* @license qrcode.react
|
|
4
|
+
* Copyright (c) Paul O'Shannessy
|
|
5
|
+
* SPDX-License-Identifier: ISC
|
|
6
|
+
*/function b(e,t=0){const n=[];return e.forEach((function(e,r){let o=null;e.forEach((function(i,s){if(!i&&null!==o)return n.push(`M${o+t} ${r+t}h${s-o}v1H${o+t}z`),void(o=null);if(s!==e.length-1)i&&null===o&&(o=s);else{if(!i)return;null===o?n.push(`M${s+t},${r+t} h1v1H${s+t}z`):n.push(`M${o+t},${r+t} h${s+1-o}v1H${o+t}z`)}}))})),n.join("")}function x(e,t){return e.slice().map(((e,n)=>n<t.y||n>=t.y+t.h?e:e.map(((e,n)=>(n<t.x||n>=t.x+t.w)&&e))))}function w(e,t,n,r){if(null==r)return null;const o=n?4:0,i=e.length+2*o,s=Math.floor(.1*t),a=i/t,c=(r.width||s)*a,l=(r.height||s)*a,u=null==r.x?e.length/2-c/2:r.x*a,d=null==r.y?e.length/2-l/2:r.y*a;let p=null;if(r.excavate){let e=Math.floor(u),t=Math.floor(d);p={x:e,y:t,w:Math.ceil(c+u-e),h:Math.ceil(l+d-t)}}return{x:u,y:d,h:l,w:c,excavation:p}}var O=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}();function j(e){const t=e,{value:n,size:r=y,level:s=g,bgColor:a=m,fgColor:c=v,includeMargin:l=E,style:u,imageSettings:j}=t,k=p(t,["value","size","level","bgColor","fgColor","includeMargin","style","imageSettings"]),R=null==j?void 0:j.src,C=(0,o.useRef)(null),S=(0,o.useRef)(null),[N,P]=(0,o.useState)(!1);(0,o.useEffect)((()=>{if(null!=C.current){const e=C.current,t=e.getContext("2d");if(!t)return;let o=f.QrCode.encodeText(n,h[s]).getModules();const i=l?4:0,u=o.length+2*i,d=w(o,r,l,j),p=S.current,y=null!=d&&null!==p&&p.complete&&0!==p.naturalHeight&&0!==p.naturalWidth;y&&null!=d.excavation&&(o=x(o,d.excavation));const g=window.devicePixelRatio||1;e.height=e.width=r*g;const m=r/u*g;t.scale(m,m),t.fillStyle=a,t.fillRect(0,0,u,u),t.fillStyle=c,O?t.fill(new Path2D(b(o,i))):o.forEach((function(e,n){e.forEach((function(e,r){e&&t.fillRect(r+i,n+i,1,1)}))})),y&&t.drawImage(p,d.x+i,d.y+i,d.w,d.h)}})),(0,o.useEffect)((()=>{P(!1)}),[R]);const I=d({height:r,width:r},u);let Z=null;return null!=R&&(Z=i().createElement("img",{src:R,key:R,style:{display:"none"},onLoad:()=>{P(!0)},ref:S})),i().createElement(i().Fragment,null,i().createElement("canvas",d({style:I,height:r,width:r,ref:C},k)),Z)}function k(e){const t=e,{value:n,size:r=y,level:o=g,bgColor:s=m,fgColor:a=v,includeMargin:c=E,imageSettings:l}=t,u=p(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let O=f.QrCode.encodeText(n,h[o]).getModules();const j=c?4:0,k=O.length+2*j,R=w(O,r,c,l);let C=null;null!=l&&null!=R&&(null!=R.excavation&&(O=x(O,R.excavation)),C=i().createElement("image",{xlinkHref:l.src,height:R.h,width:R.w,x:R.x+j,y:R.y+j,preserveAspectRatio:"none"}));const S=b(O,j);return i().createElement("svg",d({height:r,width:r,viewBox:`0 0 ${k} ${k}`},u),i().createElement("path",{fill:s,d:`M0,0 h${k}v${k}H0z`,shapeRendering:"crispEdges"}),i().createElement("path",{fill:a,d:S,shapeRendering:"crispEdges"}),C)}var R=e=>{const t=e,{renderAs:n}=t,r=p(t,["renderAs"]);return"svg"===n?i().createElement(k,d({},r)):i().createElement(j,d({},r))}},17563:(e,t,n)=>{"use strict";const r=n(70610),o=n(44020),i=n(80500),s=n(92806),a=Symbol("encodeFragmentIdentifier");function c(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e,t){return t.decode?o(e):e}function d(e){return Array.isArray(e)?e.sort():"object"==typeof e?d(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function f(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function y(e,t){c((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&u(n,e).includes(e.arrayFormatSeparator);n=i?u(n,e):n;const s=o||i?n.split(e.arrayFormatSeparator).map((t=>u(t,e))):null===n?n:u(n,e);r[t]=s};case"bracket-separator":return(t,n,r)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(r[t]=n?u(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>u(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],i):r[t]=i};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;let[e,s]=i(t.decode?o.replace(/\+/g," "):o,"=");s=void 0===s?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:u(s,t),n(u(e,t),s,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=h(n[e],t);else r[e]=h(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e}),Object.create(null))}t.extract=f,t.parse=y,t.stringify=(e,t)=>{if(!e)return"";c((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[",o,"]"].join("")]:[...n,[l(t,e),"[",l(o,e),"]=",l(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[]"].join("")]:[...n,[l(t,e),"[]=",l(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),":list="].join("")]:[...n,[l(t,e),":list=",l(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[l(n,e),t,l(o,e)].join("")]:[[r,l(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,l(t,e)]:[...n,[l(t,e),"=",l(r,e)].join("")]}}(t),o={};for(const t of Object.keys(e))n(t)||(o[t]=e[t]);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map((n=>{const o=e[n];return void 0===o?"":null===o?l(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?l(n,t)+"[]":o.reduce(r(n),[]).join("&"):l(n,t)+"="+l(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=i(e,"#");return Object.assign({url:n.split("?")[0]||"",query:y(f(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[a]:!0},n);const r=p(e.url).split("?")[0]||"",o=t.extract(e.url),i=t.parse(o,{sort:!1}),s=Object.assign(i,e.query);let c=t.stringify(s,n);c&&(c=`?${c}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${n[a]?l(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${c}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[a]:!1},r);const{url:o,query:i,fragmentIdentifier:c}=t.parseUrl(e,r);return t.stringifyUrl({url:o,query:s(i,n),fragmentIdentifier:c},r)},t.exclude=(e,n,r)=>{const o=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,o,r)}},60046:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(1024),o=n(9657),i=n.n(o),s=n(8679),a=n.n(s);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}var l={},u=0;function d(e,t){return t=t||{},function(n){var o=n.displayName||n.name||"Component",s=function(o){var i,s;function a(e,t){var n;return(n=o.call(this,e,t)||this).state={},n.__scriptURL="",n}s=o,(i=a).prototype=Object.create(s.prototype),i.prototype.constructor=i,i.__proto__=s;var c=a.prototype;return c.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+u++),this.__scriptLoaderID},c.setupScriptURL=function(){return this.__scriptURL="function"==typeof e?e():e,this.__scriptURL},c.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,(function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)}))},c.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=l[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var n in e.observers)e.observers[n](e);delete window[t.callbackName]},c.componentDidMount=function(){var e=this,n=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),o=t,i=o.globalName,s=o.callbackName,a=o.scriptId;if(i&&void 0!==window[i]&&(l[n]={loaded:!0,observers:{}}),l[n]){var c=l[n];return c&&(c.loaded||c.errored)?void this.asyncScriptLoaderHandleLoad(c):void(c.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var u={};u[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},l[n]={loaded:!1,observers:u};var d=document.createElement("script");for(var p in d.src=n,d.async=!0,t.attributes)d.setAttribute(p,t.attributes[p]);a&&(d.id=a);var f=function(e){if(l[n]){var t=l[n].observers;for(var r in t)e(t[r])&&delete t[r]}};s&&"undefined"!=typeof window&&(window[s]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),d.onload=function(){var e=l[n];e&&(e.loaded=!0,f((function(t){return!s&&(t(e),!0)})))},d.onerror=function(){var e=l[n];e&&(e.errored=!0,f((function(t){return t(e),!0})))},document.body.appendChild(d)},c.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===t.removeOnUnmount)for(var n=document.getElementsByTagName("script"),r=0;r<n.length;r+=1)n[r].src.indexOf(e)>-1&&n[r].parentNode&&n[r].parentNode.removeChild(n[r]);var o=l[e];o&&(delete o.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===t.removeOnUnmount&&delete l[e])},c.render=function(){var e=t.globalName,o=this.props,i=(o.asyncScriptOnLoad,o.forwardedRef),s=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(o,["asyncScriptOnLoad","forwardedRef"]);return e&&"undefined"!=typeof window&&(s[e]=void 0!==window[e]?window[e]:void 0),s.ref=i,(0,r.createElement)(n,s)},a}(r.Component),d=(0,r.forwardRef)((function(e,t){return(0,r.createElement)(s,c({},e,{forwardedRef:t}))}));return d.displayName="AsyncScriptLoader("+o+")",d.propTypes={asyncScriptOnLoad:i().func},a()(d,n)}}},36104:(e,t,n)=>{"use strict";var r=n(82637);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,s){if(s!==r){var a=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 a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},9657:(e,t,n)=>{e.exports=n(36104)()},82637:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},64529:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(30763);n(61645);const o=947==n.j?r.Z:null},30763:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(61645),o=n(60046),i="onloadcallback";const s=(0,o.Z)((function(){return"https://"+(("undefined"!=typeof window&&window.recaptchaOptions||{}).useRecaptchaNet?"recaptcha.net":"www.google.com")+"/recaptcha/api.js?onload="+i+"&render=explicit"}),{callbackName:i,globalName:"grecaptcha"})(r.Z)},61645:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(1024),o=n.n(r),i=n(99860),s=n.n(i);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var l=function(e){var t,n;function r(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(c(t)),t.handleErrored=t.handleErrored.bind(c(t)),t.handleChange=t.handleChange.bind(c(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(c(t)),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getValue=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this.props.grecaptcha.getResponse(this._widgetId):null},i.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},i.execute=function(){var e=this.props.grecaptcha;if(e&&void 0!==this._widgetId)return e.execute(this._widgetId);this._executeRequested=!0},i.executeAsync=function(){var e=this;return new Promise((function(t,n){e.executionResolve=t,e.executionReject=n,e.execute()}))},i.reset=function(){this.props.grecaptcha&&void 0!==this._widgetId&&this.props.grecaptcha.reset(this._widgetId)},i.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},i.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},i.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},i.explicitRender=function(){if(this.props.grecaptcha&&this.props.grecaptcha.render&&void 0===this._widgetId){var e=document.createElement("div");this._widgetId=this.props.grecaptcha.render(e,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge}),this.captcha.appendChild(e)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},i.componentDidMount=function(){this.explicitRender()},i.componentDidUpdate=function(){this.explicitRender()},i.componentWillUnmount=function(){void 0!==this._widgetId&&(this.delayOfCaptchaIframeRemoving(),this.reset())},i.delayOfCaptchaIframeRemoving=function(){var e=document.createElement("div");for(document.body.appendChild(e),e.style.display="none";this.captcha.firstChild;)e.appendChild(this.captcha.firstChild);setTimeout((function(){document.body.removeChild(e)}),5e3)},i.handleRecaptchaRef=function(e){this.captcha=e},i.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl"]));return o().createElement("div",a({},t,{ref:this.handleRecaptchaRef}))},r}(o().Component);l.displayName="ReCAPTCHA",l.propTypes={sitekey:s().string.isRequired,onChange:s().func,grecaptcha:s().object,theme:s().oneOf(["dark","light"]),type:s().oneOf(["image","audio"]),tabindex:s().number,onExpired:s().func,onErrored:s().func,size:s().oneOf(["compact","normal","invisible"]),stoken:s().string,hl:s().string,badge:s().oneOf(["bottomright","bottomleft","inline"])},l.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"}},93485:(e,t,n)=>{"use strict";var r=n(34072);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,s){if(s!==r){var a=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 a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},99860:(e,t,n)=>{e.exports=n(93485)()},34072:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},44049:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(14892);const o=(i=r.Z,s=i.getIn,function(e,t){return function(n){var r=t||function(e){return s(e,"form")};return s(r(n),e+".initial")}});var i,s},80500:e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},70610:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))}}]);
|