1"use strict";(self.webpackChunksevi_ui=self.webpackChunksevi_ui||[]).push([[7569],{23022(e,n,t){t.d(n,{gP:()=>g,OC:()=>x,FG:()=>v,kb:()=>c,pG:()=>_});var a,r=function(e,n){for(var t=n(e);"Left"===t._tag;)t=n(t.left);return t.right},i=function(e,n,t){if(t||2==arguments.length)for(var a,r=0,i=n.length;r<i;r++)!a&&r in n||(a||(a=Array.prototype.slice.call(n,0,r)),a[r]=n[r]);return e.concat(a||Array.prototype.slice.call(n))};function l(e,n,t,a,r,i,l,o,s){switch(arguments.length){case 1:return e;case 2:return n(e);case 3:return t(n(e));case 4:return a(t(n(e)));case 5:return r(a(t(n(e))));case 6:return i(r(a(t(n(e)))));case 7:return l(i(r(a(t(n(e))))));case 8:return o(l(i(r(a(t(n(e)))))));case 9:return s(o(l(i(r(a(t(n(e))))))));default:for(var c=arguments[0],_=1;_<arguments.length;_++)c=arguments[_](c);return c}}var o=function(e,n){var t="number"==typeof e?function(n){return n.length>=e}:e;return function(){var e=Array.from(arguments);return t(arguments)?n.apply(this,e):function(t){return n.apply(void 0,i([t],e,!1))}}};function s(e){return function(n,t){return e.map(n,function(){return t})}}Object.prototype.hasOwnProperty;var c=function(e){return{_tag:"Left",left:e}},_=function(e){return{_tag:"Right",right:e}},u=o(2,function(e,n){return x(e)?e:n(e.right)}),p=function(e,n){return l(e,h(n))},d=function(e,n){return l(e,y(n))},m="Either",h=function(e){return function(n){return x(n)?n:_(e(n.right))}},f={URI:m,map:p};o(2,s(f)),s(f);var y=function(e){return function(n){return x(n)?n:x(e)?e:_(n.right(e.right))}},x=function(e){return"Left"===e._tag},v=function(e){return"Right"===e._tag},g={URI:m,map:p,of:_,ap:d,chain:u,reduce:function(e,n,t){var a,r;return l(e,(a=n,r=t,function(e){return x(e)?a:r(a,e.right)}))},foldMap:function(e){return function(n,t){var a;return l(n,(a=e,function(e){return function(n){return x(n)?a.empty:e(n.right)}})(t))}},reduceRight:function(e,n,t){var a,r;return l(e,(a=n,r=t,function(e){return x(e)?a:r(e.right,a)}))},traverse:function(e){var n,t=(n=e,function(e){return function(t){return x(t)?n.of(c(t.left)):n.map(e(t.right),_)}});return function(e,n){return l(e,t(n))}},sequence:function(e){return function(n){return x(n)?e.of(c(n.left)):e.map(n.right,_)}},bimap:function(e,n,t){var a,r;return l(e,(a=n,r=t,function(e){return x(e)?c(a(e.left)):_(r(e.right))}))},mapLeft:function(e,n){var t;return l(e,(t=n,function(e){return x(e)?c(t(e.left)):e}))},alt:function(e,n){var t;return l(e,(t=n,function(e){return x(e)?t():e}))},extend:function(e,n){var t;return l(e,(t=n,function(e){return x(e)?e:_(t(e))}))},chainRec:function(e,n){return r(n(e),function(e){return x(e)?_(c(e.left)):x(e.right)?c(n(e.right.left)):_(_(e.right.right))})},throwError:c}},4796(e,n,t){t.d(n,{KC:()=>J,O2:()=>ee,V2:()=>h,YO:()=>K,Yj:()=>R,ZE:()=>Z,ZU:()=>y,ch:()=>z,eu:()=>D,g1:()=>X,kX:()=>f,wk:()=>H,zM:()=>L});var a,r,i,l,o,s,c,_=t(23022),u=(a=function(e,n){return(a=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])})(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}a(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),p=function(){return(p=Object.assign||function(e){for(var n,t=1,a=arguments.length;t<a;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e}).apply(this,arguments)},d=function(e,n,t){if(t||2==arguments.length)for(var a,r=0,i=n.length;r<i;r++)!a&&r in n||(a||(a=Array.prototype.slice.call(n,0,r)),a[r]=n[r]);return e.concat(a||Array.prototype.slice.call(n))},m=_.kb,h=function(e,n,t){return m([{value:e,context:n,message:t}])},f=_.pG,y=function(){function e(e,n,t,a){this.name=e,this.is=n,this.validate=t,this.encode=a,this.decode=this.decode.bind(this)}return e.prototype.pipe=function(n,t){var a=this;return void 0===t&&(t="pipe(".concat(this.name,", ").concat(n.name,")")),new e(t,n.is,function(e,t){var r=a.validate(e,t);return(0,_.OC)(r)?r:n.validate(r.right,t)},this.encode===x&&n.encode===x?x:function(e){return a.encode(n.encode(e))})},e.prototype.asDecoder=function(){return this},e.prototype.asEncoder=function(){return this},e.prototype.decode=function(e){return this.validate(e,[{key:"",type:this,actual:e}])},e}(),x=function(e){return e};function v(e,n,t,a){for(var r=e.length,i=Array(r+1),l=0;l<r;l++)i[l]=e[l];return i[r]={key:n,type:t,actual:a},i}function g(e,n){for(var t=n.length,a=0;a<t;
1a++)e.push(n[a])}var j=Object.prototype.hasOwnProperty;function b(e){return Object.keys(e).map(function(n){return"".concat(n,": ").concat(e[n].name)}).join(", ")}function w(e){for(var n=0;n<e.length;n++)if(e[n].encode!==x)return!1;return!0}function N(e,n){for(var t=Object.keys(e),a=t.length,r=!1,i={},l=0;l<a;l++){var o=t[l];n.is(o)?i[o]=e[o]:r=!0}return r?i:e}function S(e,n){for(var t=Object.getOwnPropertyNames(e),a=!1,r={},i=0;i<t.length;i++){var l=t[i];j.call(n,l)?r[l]=e[l]:a=!0}return a?r:e}var k={};function O(e,n){for(var t=[],a=0;a<e.length;a++){var r=e[a];-1!==n.indexOf(r)&&t.push(r)}return t}function C(e){return"AnyType"===e._tag}function I(e){return"LiteralType"===e._tag}function T(e){return"InterfaceType"===e._tag}function A(e){return"UnionType"===e._tag}var E=[];function P(e){if(-1!==E.indexOf(e))return k;if(T(e)||"StrictType"===e._tag){var n=k;for(var t in e.props){var a=e.props[t];I(a)&&(n===k&&(n={}),n[t]=[a.value])}return n}if("ExactType"===e._tag||"RefinementType"===e._tag)return P(e.type);if("IntersectionType"===e._tag)return e.types.reduce(function(e,n){return function(e,n){if(e===k)return n;if(n===k)return e;var t=Object.assign({},e);for(var a in n)if(j.call(e,a)){var r=O(e[a],n[a]);if(r.length>0)t[a]=r;else{t=k;break}}else t[a]=n[a];return t}(e,P(n))},k);if(A(e))return e.types.slice(1).reduce(function(e,n){return function(e,n){if(e===k||n===k)return k;var t=k;for(var a in e)j.call(n,a)&&0===O(e[a],n[a]).length&&(t===k&&(t={}),t[a]=e[a].concat(n[a]));return t}(e,P(n))},P(e.types[0]));else if("RecursiveType"===e._tag){E.push(e);var r=P(e.type);return E.pop(),r}return k}var z=new(function(e){function n(){var n=e.call(this,"null",function(e){return null===e},function(e,t){return n.is(e)?f(e):h(e,t)},x)||this;return n._tag="NullType",n}return u(n,e),n}(y)),V=new(function(e){function n(){var n=e.call(this,"undefined",function(e){return void 0===e},function(e,t){return n.is(e)?f(e):h(e,t)},x)||this;return n._tag="UndefinedType",n}return u(n,e),n}(y));new(function(e){function n(){var n=e.call(this,"void",V.is,V.validate,x)||this;return n._tag="VoidType",n}return u(n,e),n}(y)),new(function(e){function n(){var n=e.call(this,"unknown",function(e){return!0},f,x)||this;return n._tag="UnknownType",n}return u(n,e),n}(y));var R=new(function(e){function n(){var n=e.call(this,"string",function(e){return"string"==typeof e},function(e,t){return n.is(e)?f(e):h(e,t)},x)||this;return n._tag="StringType",n}return u(n,e),n}(y)),F=new(function(e){function n(){var n=e.call(this,"number",function(e){return"number"==typeof e},function(e,t){return n.is(e)?f(e):h(e,t)},x)||this;return n._tag="NumberType",n}return u(n,e),n}(y));new(function(e){function n(){var n=e.call(this,"bigint",function(e){return"bigint"==typeof e},function(e,t){return n.is(e)?f(e):h(e,t)},x)||this;return n._tag="BigIntType",n}return u(n,e),n}(y));var L=new(function(e){function n(){var n=e.call(this,"boolean",function(e){return"boolean"==typeof e},function(e,t){return n.is(e)?f(e):h(e,t)},x)||this;return n._tag="BooleanType",n}return u(n,e),n}(y)),M=new(function(e){function n(){var n=e.call(this,"UnknownArray",Array.isArray,function(e,t){return n.is(e)?f(e):h(e,t)},x)||this;return n._tag="AnyArrayType",n}return u(n,e),n}(y)),W=new(function(e){function n(){var n=e.call(this,"UnknownRecord",function(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)},function(e,t){return n.is(e)?f(e):h(e,t)},x)||this;return n._tag="AnyDictionaryType",n}return u(n,e),n}(y)),B=function(e){function n(n,t,a,r,i){var l=e.call(this,n,t,a,r)||this;return l.value=i,l._tag="LiteralType",l}return u(n,e),n}(y);function D(e,n){void 0===n&&(n=JSON.stringify(e));var t=function(n){return n===e};return new B(n,t,function(n,a){return t(n)?f(e):h(n,a)},x,e)}var Q=function(e){function n(n,t,a,r,i){var l=e.call(this,n,t,a,r)||this;return l.keys=i,l._tag="KeyofType",l}return u(n,e),n}(y);function Z(e,n){void 0===n&&(n=Object.keys(e).map(function(e){return JSON.stringify(e)}).join(" | "));var t=function(n){return R.is(n)&&j.call(e,n)};return new Q(n,t,function(e,n){return t(e)?f(e):h(e,n)},x,e)}var q=function(e){function n(n,t,a,r,i,l){var o=e.call(this,n,t,a,r)||this;return o.type=i,o.predicate=l,o._tag="RefinementType",o}return u(n,e),n}(y);function H(e,n,t){return et(e,n,t)}et(F,function(e){return Number.isInteger(e)},"Int"),Object.defineProperty(function(e){function n(n,t,a,r,i){var l=e.call(this,n,t,a,r)||this;return l.runDefinition=i,l._tag="RecursiveType",l}return u(n,e),n}(y).prototype,"type",{get:function(){return this.runDefinition()},enumerable:!0,configurable:!0});var G=function(e){function n(n,t,a,r,i){var l=e.call(this,n,t,a,r)||this;return l.type=i,l._tag="ArrayType",l}return u(n,e),n}(y);function K(e,n){return void 0===n&&(n="Array<".concat(e.name,">")),new G(n,function(n){return M.is(n)&&n.every(e.is)},function(n,t){var a=M.validate(n,t);if((0,_.OC)(a))return a;for(var r=a.right,i=r.length,l=r,o=[],s=0;s<i;s++){var c=r[s],u=e.validate(c,v(t,String(s),e,c));if((0,_.OC)(u))g(o,u.left);else{var p=u.right;p!==c&&(l===r&&(l=r.slice()),l[s]=p)}}return o.length>0?m(o):f(l)},e.encode===x?x:function(n){return n.map(e.encode)},e)}var $=function(e){function n(n,t,a,r,i){var l=e.call(this,n,t,a,r)||this;return l.props=i,l._tag="InterfaceType",l}return u(n,e),n}(y);u(function(e,n,t,a,i){var l=r.call(this,e,n,t,a)||this;return l.props=i,l._tag="PartialType",l},r=y);var Y=function(e){function n(n,t,a,r,i,l){var o=e.call(this,n,t,a,r)||this;return o.domain=i,o.codomain=l,o._tag="DictionaryType",o}return u(n,e),n}(y);function X(e,n,t){var a,r=function e(n){var t;if(I(n)){var a=n.value;if(R.is(a))return(t={})[a]=null,t}else{if("KeyofType"===n._tag)return n.keys;else if(A(n)){var r=n.types.map(function(n){return e(n)});return r.some(V.is)?void 0:Object.assign.apply(Object,d([{}],r,!1))}}}(e);return r?function(e,n,t,a){void 0===a&&(a="{ [K in ".concat(n.name,"]: ").concat(t.name," }"));for(var r=e.length,i={},l=0;l<r;l++)i[e[l]]=t;var o=ee(i,a);return new Y(a,function(e){return o.is(e)},o.validate,o.encode,n,t)}(Object.keys(r),e,n,t):(void 0===(a=t)&&(a="{ [K in ".concat(e.name,"]: ").concat(n.name," }")),new Y(a,function(t){return W.is(t)?Object.keys(t).every(function(a){return!e.is(a)||n.is(t[a])}):C(n)&&Array.isArray(t)},function(t,a){if(W.is(t)){for(var r={},i=[],l=Object.keys(t),o=l.length,s=!1,c=0;c<o;c++){var u=l[c],p=t[u],d=e.validate(u,v(a,u,e,u));if((0,_.OC)(d))s=!0;else{var y=d.right;s=s||y!==u,u=y;var x=n.validate(p,v(a,u,n,p));if((0,_.OC)(x))g(i,x.left);else{var j=x.right;s=s||j!==p,r[u]=j}}}return i.length>0?m(i):f(s?r:t)}return C(n)&&Array.isArray(t)?f(t):h(t,a)},e.encode===x&&n.encode===x?function(n){return N(n,e)}:function(t){for(var a={},r=Object.keys(N(t,e)),i=r.length,l=0;l<i;l++){var o=r[l];a[String(e.encode(o))]=n.encode(t[o])}return a},e,n))}var U=function(e){function n(n,t,a,r,i){var l=e.call(this,n,t,a,r)||this;return l.types=i,l._tag="UnionType",l}return u(n,e),n}(y);function J(e,n){void 0===n&&(n="("+e.map(function(e){return e.name}).join(" | ")+")");var t=function(e){for(var n=P(e[0]),t=Object.keys(n),a=e.length,r=0;r<t.length;r++){var i=function(t){for(var r=n[t].slice(),i=[n[t]],l=1;l<a;l++){var o=P(e[l])[t];if(void 0===o||o.some(function(e){return -1!==r.indexOf(e)}))return"continue-keys";r.push.apply(r,o),i.push(o)}return{value:[t,i]}}(t[r]);if("object"==typeof i)return i.value;if("continue-keys"===i)continue}}(e);if(void 0===t||!(e.length>0))return new U(n,function(n){return e.some(function(e){return e.is(n)})},function(n,t){for(var a=[],r=0;r<e.length;r++){var i=e[r],l=i.validate(n,v(t,String(r),i,n));if(!(0,_.OC)(l))return f(l.right);g(a,l.left)}return m(a)},w(e)?x:function(t){for(var a=0;a<e.length;a++){var r=e[a];if(r.is(t))return r.encode(t)}throw Error("no codec found to encode value in union type ".concat(n))},e);var a=t[0],r=t[1],i=r.length,l=function(e){for(var n=0;n<i;n++)if(-1!==r[n].indexOf(e))return n};return new ea(n,function(n){if(W.is(n)){var t=l(n[a]);return void 0!==t&&e[t].is(n)}return!1},function(n,t){var r=W.validate(n,t);if((0,_.OC)(r))return r;var i=r.right,o=l(i[a]);if(void 0===o)return h(n,t);var s=e[o];return s.validate(i,v(t,String(o),s,i))},w(e)?x:function(t){var r=l(t[a]);if(void 0!==r)return e[r].encode(t);throw Error("no codec found to encode value in union codec ".concat(n))},e,a)}u(function(e,n,t,a,r){var l=i.call(this,e,n,t,a)||this;return l.types=r,l._tag="IntersectionType",l},i=y),u(function(e,n,t,a,r){var i=l.call(this,e,n,t,a)||this;return i.types=r,i._tag="TupleType",i},l=y),u(function(e,n,t,a,r){var i=o.call(this,e,n,t,a)||this;return i.type=r,i._tag="ReadonlyType",i},o=y),u(function(e,n,t,a,r){var i=s.call(this,e,n,t,a)||this;return i.type=r,i._tag="ReadonlyArrayType",i},s=y);var ee=function(e,n){var t,a,r;return t=function(e,n){if(void 0===n)n="{ ".concat(b(e)," }");var t=Object.keys(e),a=t.map(function(n){return e[n]}),r=t.length;return new $(n,function(e){if(W.is(e)){for(var n=0;n<r;n++){var i=t[n],l=e[i];if(void 0===l&&!j.call(e,i)||!a[n].is(l))return!1}return!0}return!1},function(e,n){var i=W.validate(e,n);if((0,_.OC)(i))return i;for(var l=i.right,o=l,s=[],c=0;c<r;c++){var u=t[c],d=o[u],h=a[c],y=h.validate(d,v(n,u,h,d));if((0,_.OC)(y))g(s,y.left);else{var x=y.right;x===d&&(void 0!==x||j.call(o,u))||(o===l&&(o=p({},l)),o[u]=x)}}return s.length>0?m(s):f(o)},w(a)?x:function(e){for(var n=p({},e),i=0;i<r;i++){var l=t[i],o=a[i].encode;o!==x&&(n[l]=o(e[l]))}return n},e)}(e),void 0===(a=n)&&(a=function(e){if(T(e))return"{| ".concat(b(e.props)," |}");if("PartialType"===e._tag){var n;return n="{| ".concat(b(e.props)," |}"),"Partial<".concat(n,">")}return"Exact<".concat(e.name,">")}(t)),r=function e(n){switch(n._tag){case"RefinementType":case"ReadonlyType":return e(n.type);case"InterfaceType":case"StrictType":case"PartialType":return n.props;case"IntersectionType":return n.types.reduce(function(n,t){return Object.assign(n,e(t))},{})}}(t),new en(a,t.is,function(e,n){var a=W.validate(e,n);if((0,_.OC)(a))return a;var i=t.validate(e,n);return(0,_.OC)(i)?i:(0,_.pG)(S(i.right,r))},function(e){return t.encode(S(e,r))},t)},en=function(e){function n(n,t,a,r,i){var l=e.call(this,n,t,a,r)||this;return l.type=i,l._tag="ExactType",l}return u(n,e),n}(y);function et(e,n,t){if(void 0===t)t="(".concat(e.name," | ").concat(n.displayName||n.name||"<function".concat(n.length,">"),")");return new q(t,function(t){return e.is(t)&&n(t)},function(t,a){var r=e.validate(t,a);if((0,_.OC)(r))return r;var i=r.right;return n(i)?f(i):h(i,a)},e.encode,e,n)}new(function(e){function n(){var n=e.call(this,"Function",function(e){return"function"==typeof e},function(e,t){return n.is(e)?f(e):h(e,t)},x)||this;return n._tag="FunctionType",n}return u(n,e),n}(y)),new(function(e){function n(){var n=e.call(this,"never",function(e){return!1},function(e,n){return h(e,n)},function(){throw Error("cannot encode never")})||this;return n._tag="NeverType",n}return u(n,e),n}(y)),new(function(e){function n(){var n=e.call(this,"any",function(e){return!0},f,x)||this;return n._tag="AnyType",n}return u(n,e),n}(y)),et(F,Number.isInteger,"Integer");var ea=function(e){function n(n,t,a,r,i,l){var o=e.call(this,n,t,a,r,i)||this;return o.tag=l,o}return u(n,e),n}(U);new(function(e){function n(){var n=e.call(this,"object",function(e){return null!==e&&"object"==typeof e},function(e,t){return n.is(e)?f(e):h(e,t)},x)||this;return n._tag="ObjectType",n}return u(n,e),n}(y)),u(function(e,n,t,a,r){var i=c.call(this,e,n,t,a)||this;
1return i.props=r,i._tag="StrictType",i},c=y)},71374(e,n,t){t.d(n,{G:()=>p});var a=t(18420),r=t(96540),i=t(63679),l=t(98955);let o=e=>r.createElement("svg",Object.assign({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em"},e),r.createElement("path",{d:"M22.999 11H3.413l4.293-4.293a.999.999 0 1 0-1.414-1.414l-6 6a1.001 1.001 0 0 0 0 1.416l6 5.998a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414L3.413 13h19.586a1 1 0 0 0 0-2",fill:"#222",fillRule:"evenodd",className:"fi-icon-base-fill"}));var s=t(61727),c=t(97297),_=t(45564);let u=(0,i.Ay)(e=>{let{className:n,mousePointer:t,ariaLabel:i,color:s,fill:u,baseColor:p,highlightColor:d}=e,m=(0,a.T)(e,["className","mousePointer","ariaLabel","color","fill","baseColor","highlightColor"]);return r.createElement(o,Object.assign({className:(0,l.A)(c.z,n,{[c.X]:!!t})},m,(0,_.r)(i),(0,_.f)(i)))})` 2 ${s.Zv} 3`,p=e=>r.createElement(u,Object.assign({},e));p.displayName="Icon"},10339(e,n,t){t.d(n,{h:()=>p});var a=t(18420),r=t(96540),i=t(63679),l=t(98955);let o=e=>r.createElement("svg",Object.assign({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em"},e),r.createElement("path",{d:"M23.923 11.617a.999.999 0 0 0-.216-.325l-6-6a1 1 0 0 0-1.414 1.415l4.293 4.292H1a1 1 0 0 0 0 2h19.586l-4.293 4.293a.999.999 0 1 0 1.414 1.414l6-5.998a1.004 1.004 0 0 0 .216-1.09",fill:"#222",fillRule:"evenodd",className:"fi-icon-base-fill"}));var s=t(61727),c=t(97297),_=t(45564);let u=(0,i.Ay)(e=>{let{className:n,mousePointer:t,ariaLabel:i,color:s,fill:u,baseColor:p,highlightColor:d}=e,m=(0,a.T)(e,["className","mousePointer","ariaLabel","color","fill","baseColor","highlightColor"]);return r.createElement(o,Object.assign({className:(0,l.A)(c.z,n,{[c.X]:!!t})},m,(0,_.r)(i),(0,_.f)(i)))})` 4 ${s.Zv} 5`,p=e=>r.createElement(u,Object.assign({},e));p.displayName="Icon"},58537(e,n,t){t.d(n,{p:()=>p});var a=t(18420),r=t(96540),i=t(63679),l=t(98955);let o=e=>r.createElement("svg",Object.assign({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em"},e),r.createElement("path",{d:"M19 0a1 1 0 0 1 1 1v5h2c1.103 0 2 .897 2 2v10c0 1.103-.897 2-2 2h-2v3a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-3H2c-1.103 0-2-.897-2-2V8c0-1.103.897-2 2-2h2V1a1 1 0 0 1 1-1Zm-1 15H6v7h12v-7Zm4-7H2v10h2v-4a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4h2V8Zm-4-6H6v4h12V2Z",fill:"#222",fillRule:"evenodd",className:"fi-icon-base-fill"}));var s=t(61727),c=t(97297),_=t(45564);let u=(0,i.Ay)(e=>{let{className:n,mousePointer:t,ariaLabel:i,color:s,fill:u,baseColor:p,highlightColor:d}=e,m=(0,a.T)(e,["className","mousePointer","ariaLabel","color","fill","baseColor","highlightColor"]);return r.createElement(o,Object.assign({className:(0,l.A)(c.z,n,{[c.X]:!!t})},m,(0,_.r)(i),(0,_.f)(i)))})` 6 ${s.Zv} 7`,p=e=>r.createElement(u,Object.assign({},e));p.displayName="Icon"},98602(e,n,t){t.d(n,{X:()=>y});var a,r,i=t(31635),l=t(96540),o=t(80325),s=t.n(o),c=t(63679),_=t(96789),u=t(20619),p=t(41849),d=t(73089),m=t(53058),h=t(58499),f=(0,c.I4)(function(e){var n=e.className;e.globalMargins,e.theme;var t=e.children,a=(0,i.Tt)(e,["className","globalMargins","theme","children"]),r=(0,d.yQ)(a)[1];return l.createElement(_.m,(0,i.Cl)({},r,{className:s()(n,"fi-hint-text",{}),style:(0,i.Cl)({},null==r?void 0:r.style)}),t)}
7).withConfig({componentId:"sc-ketar6-0"})(r||(r=(0,i.ue)(["\n ","\n"],["\n ","\n"])),function(e){var n=e.theme,t=e.globalMargins,r=(0,i.Tt)(e,["theme","globalMargins"]),l=(0,d.yQ)(r)[0],o=(0,h.m8)(t.hintText,l);return(0,c.AH)(a||(a=(0,i.ue)(["\n color: ",";\n ",";\n ","\n ","\n\n &.fi-hint-text {\n display: block;\n }\n"],["\n color: ",";\n ",";\n ","\n ","\n\n &.fi-hint-text {\n display: block;\n }\n"])),n.colors.blackBase,(0,m.gx)(n)("bodyTextSmall"),(0,d.jE)(o),(0,d.jE)(l,!0))}),y=(0,l.forwardRef)(function(e,n){var t=e.children,a=(0,i.Tt)(e,["children"]);return t?l.createElement(p.ME,null,function(e){var r=e.margins;return l.createElement(u.iN,null,function(e){var o=e.suomifiTheme;return l.createElement(f,(0,i.Cl)({forwardedRef:n,theme:o,globalMargins:r},a),t)})}):null});y.displayName="HintText"},58387(e,n,t){t.d(n,{a:()=>Q});var a,r,i,l,o,s=t(31635),c=t(96540),_=t(63679),u=t(80325),p=t.n(u),d=t(521),m=t(97653),h=t(86385),f=t(96789),y=t(5837),x=t(89),v=t(20619),g=t(41849),j=t(73089),b=t(21939),w=t(98602),N=t(38281),S=t(53058),k=function(e,n,t){return(0,_.AH)(l||(l=(0,s.ue)(["\n ","\n ","\n position: relative;\n ","\n ","\n\n &.fi-radio-button {\n & .fi-radio-button_hintText {\n display: block;\n padding-left: 26px;\n color: ",";\n ",";\n }\n & .fi-radio-button_label {\n font-size: 16px;\n position: relative;\n cursor: pointer;\n line-height: 27px;\n padding-left: 26px;\n }\n & .fi-radio-button_input {\n opacity: 0;\n position: absolute;\n z-index: -9999;\n height: 18px;\n width: 18px;\n top: 5px;\n left: 2px;\n + .fi-radio-button_icon_wrapper {\n top: 3px;\n left: 0;\n margin: 2px;\n height: 18px;\n width: 18px;\n position: absolute;\n & .fi-icon-radio-base {\n stroke: ",";\n fill: ",";\n }\n }\n &:checked {\n + .fi-radio-button_icon_wrapper {\n & .fi-icon-radio-checked {\n fill: ",";\n }\n & .fi-icon-radio-base {\n stroke: ",";\n }\n }\n }\n &:focus {\n + .fi-radio-button_icon_wrapper {\n &::after {\n content: '';\n position: absolute;\n pointer-events: none;\n top: -1px;\n left: -1px;\n background-color: transparent;\n border: 0px solid ",";\n box-sizing: border-box;\n box-shadow: 0 0 0 2px ",";\n z-index: 9999;\n width: 20px;\n height: 20px;\n border-radius: 50%;\n outline: 2px solid transparent; /* For high contrast mode */\n }\n }\n }\n &:focus:not(:focus-visible) {\n + .fi-radio-button_icon_wrapper {\n &::after {\n box-shadow: none;\n }\n }\n }\n }\n ",";\n ",";\n ",";\n }\n"],["\n ","\n ","\n position: relative;\n ","\n ","\n\n &.fi-radio-button {\n & .fi-radio-button_hintText {\n display: block;\n padding-left: 26px;\n color: ",";\n ",";\n }\n & .fi-radio-button_label {\n font-size: 16px;\n position: relative;\n cursor: pointer;\n line-height: 27px;\n padding-left: 26px;\n }\n & .fi-radio-button_input {\n opacity: 0;\n position: absolute;\n z-index: -9999;\n height: 18px;\n width: 18px;\n top: 5px;\n left: 2px;\n + .fi-radio-button_icon_wrapper {\n top: 3px;\n left: 0;\n margin: 2px;\n height: 18px;\n width: 18px;\n position: absolute;\n & .fi-icon-radio-base {\n stroke: ",";\n fill: ",";\n }\n }\n &:checked {\n + .fi-radio-button_icon_wrapper {\n & .fi-icon-radio-checked {\n fill: ",";\n }\n & .fi-icon-radio-base {\n stroke: ",";\n }\n }\n }\n &:focus {\n + .fi-radio-button_icon_wrapper {\n &::after {\n content: '';\n position: absolute;\n pointer-events: none;\n top: -1px;\n left: -1px;\n background-color: transparent;\n border: 0px solid ",";\n box-sizing: border-box;\n box-shadow: 0 0 0 2px ",";\n z-index: 9999;
7\n width: 20px;\n height: 20px;\n border-radius: 50%;\n outline: 2px solid transparent; /* For high contrast mode */\n }\n }\n }\n &:focus:not(:focus-visible) {\n + .fi-radio-button_icon_wrapper {\n &::after {\n box-shadow: none;\n }\n }\n }\n }\n ",";\n ",";\n ",";\n }\n"])),(0,S.ND)(e),(0,S.gx)(e)("bodyText"),(0,j.jE)(n),(0,j.jE)(t,!0),e.colors.depthDark1,e.typography.bodyTextSmall,e.colors.depthDark3,e.colors.whiteBase,e.colors.highlightBase,e.colors.highlightBase,e.colors.whiteBase,e.colors.accentSecondary,(0,_.AH)(r||(r=(0,s.ue)(["\n &.fi-radio-button--disabled {\n & .fi-radio-button_label {\n cursor: not-allowed;\n color: ",";\n }\n & .fi-radio-button_hintText {\n color: ",";\n cursor: not-allowed;\n }\n & .fi-radio-button_input {\n + .fi-radio-button_icon_wrapper {\n & .fi-icon-radio-base {\n fill: ",";\n stroke: ",";\n }\n }\n &:checked {\n + .fi-radio-button_icon_wrapper {\n & .fi-icon-radio-checked {\n fill: ",";\n }\n }\n }\n }\n }\n"],["\n &.fi-radio-button--disabled {\n & .fi-radio-button_label {\n cursor: not-allowed;\n color: ",";\n }\n & .fi-radio-button_hintText {\n color: ",";\n cursor: not-allowed;\n }\n & .fi-radio-button_input {\n + .fi-radio-button_icon_wrapper {\n & .fi-icon-radio-base {\n fill: ",";\n stroke: ",";\n }\n }\n &:checked {\n + .fi-radio-button_icon_wrapper {\n & .fi-icon-radio-checked {\n fill: ",";\n }\n }\n }\n }\n }\n"])),e.colors.depthBase,e.colors.depthBase,e.colors.depthLight3,e.colors.depthLight1,e.colors.depthBase),(0,_.AH)(a||(a=(0,s.ue)(["\n &.fi-radio-button--error {\n & .fi-radio-button_input {\n + .fi-radio-button_icon_wrapper {\n & .fi-icon-radio-base {\n stroke: ",";\n }\n }\n &:checked {\n + .fi-radio-button_icon_wrapper {\n & .fi-icon-radio-checked {\n fill: ",";\n }\n }\n }\n }\n }\n"],["\n &.fi-radio-button--error {\n & .fi-radio-button_input {\n + .fi-radio-button_icon_wrapper {\n & .fi-icon-radio-base {\n stroke: ",";\n }\n }\n &:checked {\n + .fi-radio-button_icon_wrapper {\n & .fi-icon-radio-checked {\n fill: ",";\n }\n }\n }\n }\n }\n"])),e.colors.alertBase,e.colors.alertBase),(0,_.AH)(i||(i=(0,s.ue)(["\n &--large {\n & .fi-radio-button_hintText {\n padding-left: 40px;\n }\n\n & .fi-radio-button_input {\n top: 2px;\n left: 2px;\n height: 30px;\n width: 30px;\n + .fi-radio-button_icon_wrapper {\n top: 0;\n left: 0;\n height: 30px;\n width: 30px;\n & .fi-radio-button_icon {\n height: 30px;\n width: 30px;\n }\n }\n &:focus {\n + .fi-radio-button_icon_wrapper {\n &::after {\n width: 32px;\n height: 32px;\n top: -1px;\n left: -1px;\n }\n }\n }\n }\n\n & .fi-radio-button_label {\n padding-left: 40px;\n line-height: 34px;\n }\n }\n"],["\n &--large {\n & .fi-radio-button_hintText {\n padding-left: 40px;\n }\n\n & .fi-radio-button_input {\n top: 2px;\n left: 2px;\n height: 30px;\n width: 30px;\n + .fi-radio-button_icon_wrapper {\n top: 0;\n left: 0;\n height: 30px;\n width: 30px;\n & .fi-radio-button_icon {\n height: 30px;\n width: 30px;\n }\n }\n &:focus {\n + .fi-radio-button_icon_wrapper {\n &::after {\n width: 32px;\n height: 32px;\n top: -1px;\n left: -1px;\n }\n }\n }\n }\n\n & .fi-radio-button_label {\n padding-left: 40px;\n line-height: 34px;\n }\n }\n"]))))},O=t(18420),C=t(98955);let I=e=>c.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 30 30",xmlns:"http://www.w3.org/2000/svg"},e),c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("circle",{className:"fi-icon-radio-base",cx:15,cy:15,r:14.5}),c.createElement("circle",{className:"fi-icon-radio-checked",cx:15,cy:15,r:8})));var T=t(61727),A=t(97297),E=t(45564);let P=(0,_.Ay)(e=>
7{let{className:n,mousePointer:t,ariaLabel:a,color:r,fill:i,baseColor:l,highlightColor:o}=e,s=(0,O.T)(e,["className","mousePointer","ariaLabel","color","fill","baseColor","highlightColor"]);return c.createElement(I,Object.assign({className:(0,C.A)(A.z,n,{[A.X]:!!t})},s,(0,E.r)(a),(0,E.f)(a)))})` 8 ${T.C} 9`,z=e=>c.createElement(P,Object.assign({},e));z.displayName="Icon";let V=e=>c.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},e),c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("circle",{className:"fi-icon-radio-base",cx:9,cy:9,r:8.5}),c.createElement("circle",{className:"fi-icon-radio-checked",cx:9,cy:9,r:4}))),R=(0,_.Ay)(e=>{let{className:n,mousePointer:t,ariaLabel:a,color:r,fill:i,baseColor:l,highlightColor:o}=e,s=(0,O.T)(e,["className","mousePointer","ariaLabel","color","fill","baseColor","highlightColor"]);return c.createElement(V,Object.assign({className:(0,C.A)(A.z,n,{[A.X]:!!t})},s,(0,E.r)(a),(0,E.f)(a)))})` 10 ${T.C} 11`,F=e=>c.createElement(R,Object.assign({},e));F.displayName="Icon";var L=t(58499),M="fi-radio-button",W={container:"".concat(M,"_container"),input:"".concat(M,"_input"),iconWrapper:"".concat(M,"_icon_wrapper"),icon:"".concat(M,"_icon"),label:"".concat(M,"_label"),hintText:"".concat(M,"_hintText"),disabled:"".concat(M,"--disabled"),large:"".concat(M,"--large"),checked:"".concat(M,"--checked"),error:"".concat(M,"--error")},B=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.state={checkedState:!!n.props.checked},n}return(0,s.C6)(n,e),n.getDerivedStateFromProps=function(e,n){var t=e.checked;return void 0!==t&&t!==n.checkedState?{checkedState:t}:null},n.prototype.render=function(){var e,n=this.props,t=n.id,a=n.name,r=n.variant,i=n.checked,l=n.defaultChecked,o=n.status,_=n.children,u=n.value,x=n.hintText,v=n.className,g=n.forwardedRef,N=n.onChange,S=n.disabled,k=void 0!==S&&S,O=n.style,C=n.labelProps,I=(0,s.Tt)(n,["id","name","variant","checked","defaultChecked","status","children","value","hintText","className","forwardedRef","onChange","disabled","style","labelProps"]),T=(0,j.yQ)(I)[1];_||(0,y.t)().error("RadioButton component should have a label or a child element that acts as one. Add label content or a child element."),"value"in this.props&&0===u.trim().length&&(0,y.t)().error("RadioButton value can not be empty.");var A=this.state.checkedState,E="".concat(t,"-hintText");return c.createElement(d.BX,{className:p()(M,W.container,v,((e={})[W.disabled]=k,e[W.large]="large"===r,e[W.checked]=i,e[W.error]="error"===o&&!k,e)),style:O},c.createElement(m._,(0,s.Cl)({className:W.input,type:"radio",name:a,id:t,disabled:k,forwardedRef:g,onChange:N},void 0!==i?{checked:A}:{defaultChecked:l},(0,b.p)("aria-describedby",[x?E:void 0]),u?{value:u}:{},T)),c.createElement(f.m,{className:W.iconWrapper},"large"===r?c.createElement(z,{className:W.icon}):c.createElement(F,{className:W.icon,baseColor:"alertBase"})),c.createElement(h.m,(0,s.Cl)({htmlFor:t,className:W.label},C),_),c.createElement(w.X,{className:W.hintText,id:E},x))},n}(c.Component),D=(0,_.I4)(function(e){e.theme,e.globalMargins;var n=(0,s.Tt)(e,["theme","globalMargins"]);return c.createElement(B,(0,s.Cl)({},n))}).withConfig({componentId:"sc-1m157d0-0"})(o||(o=(0,s.ue)(["\n ","\n"],["\n ","\n"])),function(e){var n=e.theme,t=e.globalMargins,a=(0,s.Tt)(e,["theme","globalMargins"]),r=(0,j.yQ)(a)[0];return k(n,(0,L.m8)(t.radioButton,r),r)}),Q=(0,c.forwardRef)(function(e,n){var t=e.id,a=e.onChange,r=e.status,i=(0,s.Tt)(e,["id","onChange","status"]);return c.createElement(g.ME,null,function(e){var l=e.margins;return c.createElement(v.iN,null,function(e){var o=e.suomifiTheme;return c.createElement(x.T,{id:t},function(e){return c.createElement(N.f,null,function(t){var _=t.onRadioButtonChange,u=t.selectedValue,p=t.name,d=t.groupStatus;return c.createElement(D,(0,s.Cl)({theme:o,id:e,forwardedRef:n,globalMargins:l,status:r||d},i,_?{checked:u===i.value,name:p}:{},{onChange:function(e){_&&_(e.target.value),a&&a(e)}}))})})})})});Q.displayName="RadioButton"},38281(e,n,t){t.d(n,{z:()=>A,f:()=>C});var a,r,i=t(31635),l=t(96540),o=t(63679),s=t(20619),c=t(41849),_=t(73089),u=t(521),p=t(42997),d=t(85551),m=t(92569),h=t(98602),f=t(53058),y=t(89),x=t(80325),v=t.n(x),g=t(58499),j=t(59225),b=t(43119),w=t(21939),N="fi-radio-button-group",S={legend:"".concat(N,"_legend"),legendWithMargin:"".concat(N,"_legend--with-margin"),labelWithMargin:"".concat(N,"_label--with-margin"),container:"".concat(N,"_container"),statusTextHasContent:"".concat(N,"_statusText--has-content")},k=l.createContext({}),O=k.Provider,C=k.Consumer,I=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.state={selectedValue:n.props.value||n.props.defaultValue},n.handleRadioButtonChange=function(e){n.props.onChange&&n.props.onChange(e),"value"in n.props||n.setState({selectedValue:e})},n}return(0,i.C6)(n,e),n.getDerivedStateFromProps=function(e,n){var t=e.value;return void 0!==t&&t!==n.selectedValue?{selectedValue:t}:null},n.prototype.render=function(){var e,n,t,a=this.props,r=a.children,o=a.className;a.theme;var s=a.labelText,c=a.labelMode,f=a.optionalText,y=a.groupHintText,x=a.groupStatus,g=void 0===x?"default":x,k=a.groupStatusText,C=a.id,I=a.name;a.defaultValue,a.onChange;var T=a.tooltipComponent,A=a.style,E=(0,i.Tt)(a,["children","className","theme","labelText","labelMode","optionalText","groupHintText","groupStatus","groupStatusText","id","name","defaultValue","onChange","tooltipComponent","style"]),P=(0,_.yQ)(E)[1],z=k?"".concat(C,"-statusText"):void 0;return l.createElement(u.sB,(0,i.Cl)({className:v()(N,o),id:C},P,{style:A}),l.createElement(p.M,null,l.createElement(d.D,{className:v()(S.legend,((e={}
11)[S.legendWithMargin]=!!y||"hidden"!==c,e))},l.createElement(m.J,{asProp:"span",labelMode:c,optionalText:f,className:v()(((n={})[S.labelWithMargin]=y&&"hidden"!==c,n)),tooltipComponent:T},s),l.createElement(h.X,null,y),k&&l.createElement(b.s,(0,i.Cl)({},(0,w.p)("aria-labelledby",[z])))),l.createElement(u.BX,{className:S.container},l.createElement(O,{value:{onRadioButtonChange:this.handleRadioButtonChange,selectedValue:this.state.selectedValue,name:I,groupStatus:g}},r))),l.createElement(j.E,{className:v()(((t={})[S.statusTextHasContent]=!!k,t)),id:z,status:g},k))},n}(l.Component),T=(0,o.I4)(function(e){e.globalMargins;var n=(0,i.Tt)(e,["globalMargins"]);return l.createElement(I,(0,i.Cl)({},n))}).withConfig({componentId:"sc-1ivjghj-0"})(r||(r=(0,i.ue)(["\n ","\n"],["\n ","\n"])),function(e){var n=e.theme,t=e.globalMargins,r=(0,i.Tt)(e,["theme","globalMargins"]),l=(0,_.yQ)(r)[0],s=(0,g.m8)(t.radioButtonGroup,l);return(0,o.AH)(a||(a=(0,i.ue)(["\n ","\n ","\n ","\n ","\n ","\n\n &.fi-radio-button-group {\n & .fi-radio-button-group_legend {\n &--with-margin {\n margin-bottom: ",";\n }\n .fi-hint-text {\n margin-bottom: 0;\n }\n }\n\n & .fi-radio-button-group_label {\n display: block;\n ",";\n }\n\n & .fi-radio-button-group_label--with-margin {\n margin-bottom: ",";\n }\n\n & .fi-radio-button-group_hintText {\n color: ",";\n ",";\n }\n\n & .fi-status-text {\n line-height: 18px;\n &.fi-radio-button-group_statusText--has-content {\n margin-top: ",";\n padding-left: 3px;\n }\n }\n }\n\n & .fi-radio-button-group_container {\n & > .fi-radio-button {\n margin: 0;\n margin-bottom: ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n\n &--large {\n margin-bottom: ",";\n\n &:first-child {\n margin-top: ",";\n }\n }\n }\n }\n"],["\n ","\n ","\n ","\n ","\n ","\n\n &.fi-radio-button-group {\n & .fi-radio-button-group_legend {\n &--with-margin {\n margin-bottom: ",";\n }\n .fi-hint-text {\n margin-bottom: 0;\n }\n }\n\n & .fi-radio-button-group_label {\n display: block;\n ",";\n }\n\n & .fi-radio-button-group_label--with-margin {\n margin-bottom: ",";\n }\n\n & .fi-radio-button-group_hintText {\n color: ",";\n ",";\n }\n\n & .fi-status-text {\n line-height: 18px;\n &.fi-radio-button-group_statusText--has-content {\n margin-top: ",";\n padding-left: 3px;\n }\n }\n }\n\n & .fi-radio-button-group_container {\n & > .fi-radio-button {\n margin: 0;\n margin-bottom: ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n\n &--large {\n margin-bottom: ",";\n\n &:first-child {\n margin-top: ",";\n }\n }\n }\n }\n"])),(0,f.ND)(n),(0,f.gx)(n)("bodyText"),(0,_.jE)(s),(0,_.jE)(l,!0),(0,f.Ww)(),n.spacing.xs,n.typography.bodySemiBoldSmall,n.spacing.xs,n.colors.depthDark1,n.typography.bodyTextSmall,n.spacing.xxs,n.spacing.xs,n.spacing.s,n.spacing.xxs)}),A=(0,l.forwardRef)(function(e,n){var t=e.id,a=(0,i.Tt)(e,["id"]);return l.createElement(c.ME,null,function(e){var r=e.margins;return l.createElement(s.iN,null,function(e){var o=e.suomifiTheme;return l.createElement(y.T,{id:t},function(e){return l.createElement(T,(0,i.Cl)({theme:o,id:e,globalMargins:r,forwardedRef:n},a))})})})});A.displayName="RadioButtonGroup"},42997(e,n,t){t.d(n,{M:()=>_});var a,r,i=t(31635),l=t(96540),o=t(63679),s=t(30596),c=(0,o.AH)(a||(a=(0,i.ue)(["\n ","\n ","\n max-width: 100%;\n"],["\n ","\n ","\n max-width: 100%;\n"])),s.R.normalize.html,s.R.common),_=(0,o.I4)(function(e){return l.createElement("fieldset",(0,i.Cl)({},e))}).withConfig({componentId:"sc-1fimn2v-0"})(r||(r=(0,i.ue)(["\n ","\n"],["\n ","\n"])),c)},86385(e,n,t){t.d(n,{m:()=>_});var a,r,i=t(31635),l=t(96540),o=t(63679),s=t(30596),c=(0,o.AH)(a||(a=(0,i.ue)(["\n ","\n ","\n max-width: 100%;\n"],["\n ","\n ","\n max-width: 100%;\n"])),s.R.normalize.html,s.R.common),_=(0,o.I4)(function(e){return l.createElement("label",(0,i.Cl)({},e))}).withConfig({componentId:"sc-190rfa1-0"})(r||(r=(0,i.ue)(["\n ","\n"],["\n ","\n"])),c)},85551(e,n,t){t.d(n,{D:()=>_});var a,r,i=t(31635),l=t(96540),o=t(63679),s=t(30596),c=(0,o.AH)(a||(a=(0,i.ue)(["\n ","\n ","\n max-width: 100%;\n"],["\n ","\n ","\n max-width: 100%;\n"])),s.R.normalize.html,s.R.common),_=(0,o.I4)(function(e){return l.createElement("legend",(0,i.Cl)({},e))}).withConfig({componentId:"sc-l026dr-0"})(r||(r=(0,i.ue)(["\n ","\n"],["\n ","\n"])),c)},80339(e,n,t){t.d(n,{W:()=>s});var a=t(74848),r=t(96540),i=t(26994),l=t(59168),o=t(34455);function s(e){let n=(0,o.lm)().isMobile&&e.isReverseMobileOrder?[...e.children].reverse():e.children;return(0,a.jsx)("div",{className:`button-bar ${function(e){switch(e){case"left":return"button-bar-left";case"right":return"button-bar-right";default:return(0,i.xb)(e)}}(e.alignment)}`,children:n.filter(i.O9).map((e,n)=>{var t,a,i;let o=(0,l.A)(null!==(t=e.props.className)&&void 0!==t?t:"","button-bar-item");return(0,r.cloneElement)(e,(a=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){var a;a=t[n],n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a})}return e}({},e.props),i=i={className:o,key:n},Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(i)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t.push.apply(t,a)}return t}
11)(Object(i)).forEach(function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(i,e))}),a))})})}},31575(e,n,t){t.d(n,{s:()=>u});var a=t(74848),r=t(96540),i=t(75123),l=t(18775),o=t(435),s=t(16423),c=t(34455);function _({item:e,noPadding:n,template:t}){var l,_,u;let{route:p}=(0,r.useContext)(c.BR),[d,m]=(0,r.useState)(null!==(l=e.defaultOpen)&&void 0!==l&&l);return(0,r.useEffect)(()=>{let n=p.hash.slice(1);null!=n&&e.id===n&&m(!0)},[e.id,p.hash]),(0,a.jsxs)(i.c6,(_=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){var a;a=t[n],n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a})}return e}({open:d,onOpenChange:()=>m(e=>!e),id:e.id,"data-testid":e.testId,className:e.className},e.matomoDataTrackingProps),u=u={children:[(0,a.jsx)(s.O,{asHeading:e.asHeading,children:(0,a.jsxs)("span",{className:"expander-title-button",children:[(0,a.jsxs)("span",{children:[e.iconLeft," ",e.title]}),(0,a.jsx)("span",{className:"expander-title-button-count",children:e.countLabel})]})}),(0,a.jsx)(o.j,{noPadding:n,children:r.createElement(t,e.props)})]},Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(u)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t.push.apply(t,a)}return t})(Object(u)).forEach(function(e){Object.defineProperty(_,e,Object.getOwnPropertyDescriptor(u,e))}),_))}function u(e){let{items:n,noPadding:t,template:i}=e,{translate:o}=(0,r.useContext)(c.ic);return 1===n.length?(0,a.jsx)("div",{className:"margin-top-s",children:(0,a.jsx)(_,{item:n[0],noPadding:t,template:i})}):(0,a.jsx)(l.X,{openAllText:o("expander_list_open_all"),closeAllText:o("expander_list_close_all"),ariaOpenAllText:e.ariaOpenAllText,ariaCloseAllText:e.ariaCloseAllText,children:n.map((e,n)=>(0,a.jsx)(_,{item:e,noPadding:t,template:i},n))})}},56153(e,n,t){t.d(n,{Z:()=>s});var a=t(74848);t(96540);var r=t(9541),i=t(43933),l=t(51726),o=t(26994);function s(e){return(0,a.jsxs)("div",{className:"company-wizard-link-list",children:[(0,a.jsx)("div",{id:"company-wizard-link-list-title",className:"company-wizard-link-list-title",children:e.title}),Array.isArray(e.children)?(0,a.jsx)(i.d,{ariaLabelledBy:"company-wizard-link-list-title",children:e.children.filter(o.O9).map((e,n)=>(0,a.jsx)(r.i,{children:e},n))}):(0,a.jsx)(l.b,{children:e.children})]})}},80040(e,n,t){t.d(n,{II:()=>_,LK:()=>u,om:()=>p});var a=t(74848),r=t(96540),i=t(31575),l=t(34455),o=t(15828),s=t(59896);function c(e){return r.createElement(e.component,{formValues:e.formValues})}let _=e=>(0,a.jsx)(s.r,{color:o.P.colors.accentBase,ariaLabel:e("wizard_summary_expander_icon_important_sr")}),u=e=>(0,a.jsx)(s.r,{color:o.P.colors.alertBase,ariaLabel:e("wizard_summary_expander_icon_needs_attention_sr")});function p(e){let{translate:n}=(0,r.useContext)(l.ic),t=e.items.map(t=>t(e.formValues,n)).filter(e=>e.visible).map(n=>({title:n.title,iconLeft:n.iconLeft,props:{component:n.component,formValues:e.formValues}}));return t.length>0?(0,a.jsx)("div",{className:"wizard-summary-expander",children:(0,a.jsx)(i.s,{items:t,template:c,ariaOpenAllText:n("wizard_summary_expander_open_all_sr"),ariaCloseAllText:n("wizard_summary_expander_close_all_sr")})}):null}},83943(e,n,t){t.d(n,{z:()=>s});var a=t(74848);t(96540);var r=t(58387),i=t(38281),l=t(26994),o=t(34455);function s(e){let{isMobile:n}=(0,o.lm)();return(0,a.jsx)(i.z,{labelText:e.groupLabel,labelMode:!0===e.groupLabelVisuallyHidden?"hidden":"visible",groupHintText:e.hintText,name:e.name,onChange:function(n){let t=(0,l.Pl)(e.options.find(e=>e.value.toString()===n));e.onSelect(t.value)},value:null!=e.value?e.value.toString():void 0,className:"margin-bottom-m","data-testid":e.testId,groupStatus:e.status,groupStatusText:e.statusText,children:e.options.map((t,i)=>{let l=e.value===t.value;return(0,a.jsx)(r.a,{value:t.value.toString(),checked:l,hintText:t.hintText,disabled:e.disabled||t.disabled,variant:n?"large":"small","data-testid":void 0!==e.testId?e.testId+"-"+t.value.toString():void 0,ref:0===i?e.inputRef:void 0,children:t.label},t.value.toString())})})}},30842(e,n,t){t.d(n,{z:()=>r});var a=t(75551);let r=(0,t(1254).b)(a.I,0)},59896(e,n,t){t.d(n,{r:()=>r});var a=t(49569);let r=(0,t(1254).b)(a.c,0)},17569(e,n,t){t.d(n,{PlanCompanyWizard:()=>ea});
11var a=t(74848),r=t(96540),i=t(4796),l=t(20065),o=t(34455),s=t(71515),c=t(15828),_=t(30842),u=t(59896);let p=function(e){let{translate:n}=(0,r.useContext)(o.ic);return(0,a.jsx)("span",{className:"badge-wizard",children:e.positive?(0,a.jsx)(_.z,{color:c.P.colors.successBase,ariaLabel:n("plan_company_summary_badge_positive_sr")}):(0,a.jsx)(u.r,{color:c.P.colors.alertBase,ariaLabel:n("plan_company_summary_badge_negative_sr")})})};var d=t(75214),m=t(56153),h=t(80040),f=t(41751);function y(e){let{translate:n}=(0,r.useContext)(o.ic),{ideaOwnIdea:t,ideaLowerCosts:i,ideaBetterQuality:l,ideaSalesPriceStudied:s}=e.formValues;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_1_1_title"),(0,a.jsx)(p,{positive:!0===t})]}),(0,a.jsx)("p",{children:n("plan_company_summary_1_1_text_1")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:n("plan_company_summary_1_1_link_title"),children:(0,a.jsx)(d.N_,{href:n("plan_company_summary_1_1_link_url"),openInNewWindow:!0,children:n("plan_company_summary_1_1_link_text")})})})]}),(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_1_2_title"),(0,a.jsx)(p,{positive:!0===i})]}),(0,a.jsx)("p",{children:n("plan_company_summary_1_2_text_1")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:n("plan_company_summary_1_2_link_title"),children:(0,a.jsx)(d.N_,{href:n("plan_company_summary_1_2_link_url"),openInNewWindow:!0,children:n("plan_company_summary_1_2_link_text")})})})]}),(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_1_3_title"),(0,a.jsx)(p,{positive:!0===l})]}),(0,a.jsx)("p",{children:n("plan_company_summary_1_3_text_1")}),(0,a.jsxs)("ul",{className:"wizard-bulleted-list",children:[(0,a.jsx)("li",{children:n("plan_company_summary_1_3_list_1")}),(0,a.jsx)("li",{children:n("plan_company_summary_1_3_list_2")}),(0,a.jsx)("li",{children:n("plan_company_summary_1_3_list_3")}),(0,a.jsx)("li",{children:n("plan_company_summary_1_3_list_4")})]})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:n("plan_company_summary_1_3_link_title"),children:(0,a.jsx)(d.N_,{href:n("plan_company_summary_1_3_link_url"),openInNewWindow:!0,children:n("plan_company_summary_1_3_link_text")})})})]}),(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_1_4_title"),(0,a.jsx)(p,{positive:!0===s})]}),(0,a.jsx)("p",{children:n("plan_company_summary_1_4_text_1")}),(0,a.jsx)("p",{children:n("plan_company_summary_1_4_text_2")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:n("plan_company_summary_1_4_link_title"),children:(0,a.jsx)(d.N_,{href:n("plan_company_summary_1_4_link_url"),openInNewWindow:!0,children:n("plan_company_summary_1_4_link_text")})})})]})]})}let x=(e,n)=>{let{ideaOwnIdea:t,ideaLowerCosts:a,ideaBetterQuality:r,ideaSalesPriceStudied:i}=e;return{title:n("plan_company_summary_section_1_title"),component:y,visible:!0,iconLeft:!1===t||!1===a||!1===r||!1===i?(0,h.LK)(n):null}};function v(e){let{translate:n}=(0,r.useContext)(o.ic),{productPermissionsStudied:t,productPriceStudied:i,productCostsAndIncomesStudied:l,productPriceFormationStudied:s}=e.formValues;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_2_1_title"),(0,a.jsx)(p,{positive:!0===t})]}),(0,a.jsx)("p",{children:n("plan_company_summary_2_1_text_1")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsxs)(m.Z,{title:n("plan_company_summary_2_1_link_title"),children:[(0,a.jsx)(d.N_,{href:n("plan_company_summary_2_1_link_1_url"),openInNewWindow:!0,children:n("plan_company_summary_2_1_link_1_text")}
11),(0,a.jsx)(d.N_,{href:n("plan_company_summary_2_1_link_2_url"),openInNewWindow:!0,children:n("plan_company_summary_2_1_link_2_text")})]})})]}),(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_2_2_title"),(0,a.jsx)(p,{positive:!0===i})]}),(0,a.jsx)("p",{children:n("plan_company_summary_2_2_text_1")}),(0,a.jsx)("p",{children:n("plan_company_summary_2_2_text_2")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:n("plan_company_summary_2_2_link_title"),children:(0,a.jsx)(d.N_,{href:n("plan_company_summary_2_2_link_url"),openInNewWindow:!0,children:n("plan_company_summary_2_2_link_text")})})})]}),(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_2_3_title"),(0,a.jsx)(p,{positive:!0===l})]}),(0,a.jsx)("p",{children:n("plan_company_summary_2_3_text_1")}),(0,a.jsx)("p",{children:n("plan_company_summary_2_3_text_2")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:n("plan_company_summary_2_3_link_title"),children:(0,a.jsx)(d.N_,{href:n("plan_company_summary_2_3_link_url"),openInNewWindow:!0,children:n("plan_company_summary_2_3_link_text")})})})]}),(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_2_4_title"),(0,a.jsx)(p,{positive:!0===s})]}),(0,a.jsx)("p",{children:n("plan_company_summary_2_4_text_1")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:n("plan_company_summary_2_4_link_title"),children:(0,a.jsx)(d.N_,{href:n("plan_company_summary_2_4_link_url"),openInNewWindow:!0,children:n("plan_company_summary_2_4_link_text")})})})]})]})}let g=(e,n)=>{let{productPermissionsStudied:t,productPriceStudied:a,productCostsAndIncomesStudied:r,productPriceFormationStudied:i}=e;return{title:n("plan_company_summary_section_2_title"),component:v,visible:!0,iconLeft:!1===t||!1===a||!1===r||!1===i?(0,h.LK)(n):null}};function j(e){let{translate:n}=(0,r.useContext)(o.ic),{marketsCustomersStudied:t,marketsAcquintanceWillingToBuyStudied:i,marketsCompetitorsStudied:l,marketsInternationalStudied:s}=e.formValues;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_3_1_title"),(0,a.jsx)(p,{positive:!0===t})]}),(0,a.jsx)("p",{children:n("plan_company_summary_3_1_text_1")}),(0,a.jsx)("p",{children:n("plan_company_summary_3_1_text_2")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:n("plan_company_summary_3_1_link_title"),children:(0,a.jsx)(d.N_,{href:n("plan_company_summary_3_1_link_url"),openInNewWindow:!0,children:n("plan_company_summary_3_1_link_text")})})})]}),(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_3_2_title"),(0,a.jsx)(p,{positive:!0===i})]}),(0,a.jsx)("p",{children:n("plan_company_summary_3_2_text_1")}),(0,a.jsx)("p",{children:n("plan_company_summary_3_2_text_2")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:n("plan_company_summary_3_2_link_title"),children:(0,a.jsx)(d.N_,{href:n("plan_company_summary_3_2_link_url"),openInNewWindow:!0,children:n("plan_company_summary_3_2_link_text")})})})]}),(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_3_3_title"),(0,a.jsx)(p,{positive:!0===l})]}),(0,a.jsx)("p",{children:n("plan_company_summary_3_3_text_1")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:n("plan_company_summary_3_3_link_title"),children:(0,a.jsx)(d.N_,{href:n("plan_company_summary_3_3_link_url"),openInNewWindow:!0,children:n("plan_company_summary_3_3_link_text")})})})]}),(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_
11summary_3_4_title"),(0,a.jsx)(p,{positive:!0===s})]}),(0,a.jsx)("p",{children:n("plan_company_summary_3_4_text_1")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:n("plan_company_summary_3_4_link_title"),children:(0,a.jsx)(d.N_,{href:n("plan_company_summary_3_4_link_url"),openInNewWindow:!0,children:n("plan_company_summary_3_4_link_text")})})})]})]})}let b=(e,n)=>{let{marketsCustomersStudied:t,marketsAcquintanceWillingToBuyStudied:a,marketsCompetitorsStudied:r,marketsInternationalStudied:i}=e;return{title:n("plan_company_summary_section_3_title"),component:j,visible:!0,iconLeft:!1===t||!1===a||!1===r||!1===i?(0,h.LK)(n):null}};function w(e){let{translate:n}=(0,r.useContext)(o.ic),{salesCareForSalesSelf:t,salesExperienceInSales:i,salesAccessToInformationStudied:l,salesInternetStudied:s}=e.formValues;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_4_1_title"),(0,a.jsx)(p,{positive:!1===t})]}),(0,a.jsx)("p",{children:n("plan_company_summary_4_1_text_1")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:n("plan_company_summary_4_1_link_title"),children:(0,a.jsx)(d.N_,{href:n("plan_company_summary_4_1_link_url"),openInNewWindow:!0,children:n("plan_company_summary_4_1_link_text")})})})]}),(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_4_2_title"),(0,a.jsx)(p,{positive:!0===i})]}),(0,a.jsx)("p",{children:n("plan_company_summary_4_2_text_1")}),(0,a.jsx)("p",{children:n("plan_company_summary_4_2_text_2")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:n("plan_company_summary_4_2_link_title"),children:(0,a.jsx)(d.N_,{href:n("plan_company_summary_4_2_link_url"),openInNewWindow:!0,children:n("plan_company_summary_4_2_link_text")})})})]}),(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_4_3_title"),(0,a.jsx)(p,{positive:!0===l})]}),(0,a.jsx)("p",{children:n("plan_company_summary_4_3_text_1")}),(0,a.jsx)("p",{children:n("plan_company_summary_4_3_text_2")}),(0,a.jsx)("p",{children:n("plan_company_summary_4_3_text_3")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:n("plan_company_summary_4_3_link_title"),children:(0,a.jsx)(d.N_,{href:n("plan_company_summary_4_3_link_url"),openInNewWindow:!0,children:n("plan_company_summary_4_3_link_text")})})})]}),(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_4_4_title"),(0,a.jsx)(p,{positive:!0===s})]}),(0,a.jsx)("p",{children:n("plan_company_summary_4_4_text_1")}),(0,a.jsx)("p",{children:n("plan_company_summary_4_4_text_2")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:n("plan_company_summary_4_4_link_title"),children:(0,a.jsx)(d.N_,{href:n("plan_company_summary_4_4_link_url"),openInNewWindow:!0,children:n("plan_company_summary_4_4_link_text")})})})]})]})}let N=(e,n)=>{let{salesCareForSalesSelf:t,salesExperienceInSales:a,salesAccessToInformationStudied:r,salesInternetStudied:i}=e;return{title:n("plan_company_summary_section_4_title"),component:w,visible:!0,iconLeft:!0===t||!1===a||!1===r||!1===i?(0,h.LK)(n):null}};function S(e){let{translate:n}=(0,r.useContext)(o.ic),{financingInitialInvestmentStudied:t,financingInitialInvestmentAcquired:i,financingSupportLoansGuaranteesStudied:l,financingCreditDefaultEntry:s}=e.formValues;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_5_1_title"),(0,a.jsx)(p,{positive:!0===t})]}),(0,a.jsx)("p",{children:n("plan_company_summary_5_1_text_1")}),(0,a.jsx)("p",{children:n("plan_company_summary_5_1_text_2")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:n("plan_company_
11summary_5_1_link_title"),children:(0,a.jsx)(d.N_,{href:n("plan_company_summary_5_1_link_url"),openInNewWindow:!0,children:n("plan_company_summary_5_1_link_text")})})})]}),(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_5_2_title"),(0,a.jsx)(p,{positive:!0===i})]}),(0,a.jsx)("p",{children:n("plan_company_summary_5_2_text_1")}),(0,a.jsx)("p",{children:n("plan_company_summary_5_2_text_2")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:n("plan_company_summary_5_2_link_title"),children:(0,a.jsx)(d.N_,{href:n("plan_company_summary_5_2_link_url"),openInNewWindow:!0,children:n("plan_company_summary_5_2_link_text")})})})]}),(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_5_3_title"),(0,a.jsx)(p,{positive:!0===l})]}),(0,a.jsx)("p",{children:n("plan_company_summary_5_3_text_1")}),(0,a.jsx)("p",{children:n("plan_company_summary_5_3_text_2")}),(0,a.jsxs)("ol",{className:"wizard-numbered-list",children:[(0,a.jsx)("li",{children:n("plan_company_summary_5_3_list_1")}),(0,a.jsx)("li",{children:n("plan_company_summary_5_3_list_2")}),(0,a.jsx)("li",{children:n("plan_company_summary_5_3_list_3")})]})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsxs)(m.Z,{title:n("plan_company_summary_5_3_link_title"),children:[(0,a.jsx)(d.N_,{href:n("plan_company_summary_5_3_link_1_url"),openInNewWindow:!0,children:n("plan_company_summary_5_3_link_1_text")}),(0,a.jsx)(d.N_,{href:n("plan_company_summary_5_3_link_2_url"),openInNewWindow:!0,children:n("plan_company_summary_5_3_link_2_text")}),(0,a.jsx)(d.N_,{href:n("plan_company_summary_5_3_link_3_url"),openInNewWindow:!0,children:n("plan_company_summary_5_3_link_3_text")})]})})]}),(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsxs)(f.Q,{variant:"h4",children:[n("plan_company_summary_5_4_title"),(0,a.jsx)(p,{positive:!1===s})]}),(0,a.jsx)("p",{children:n("plan_company_summary_5_4_text_1")}),(0,a.jsx)("p",{children:n("plan_company_summary_5_4_text_2")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:n("plan_company_summary_5_4_link_title"),children:(0,a.jsx)(d.N_,{href:n("plan_company_summary_5_4_link_url"),openInNewWindow:!0,children:n("plan_company_summary_5_4_link_text")})})})]})]})}let k=(e,n)=>{let{financingInitialInvestmentStudied:t,financingInitialInvestmentAcquired:a,financingSupportLoansGuaranteesStudied:r,financingCreditDefaultEntry:i}=e;return{title:n("plan_company_summary_section_5_title"),component:S,visible:!0,iconLeft:!1===t||!1===a||!1===r||!0===i?(0,h.LK)(n):null}};var O=t(17239),C=t(44757),I=t(26994),T=t(73131);function A(e){let{translate:n,lang:t}=(0,r.useContext)(o.ic),{corporateFormStartWithPartner:i,corporateFormEqualWithPartner:l,corporateFormSilentPartners:s}=e.formValues,c=["CORPORATION","TRADE_NAME","OPEN_COMPANY","COOPERATIVE","LIMITED_PARTNERSHIP"],_=c;_=!0===i?(0,O.A)(_,["CORPORATION","OPEN_COMPANY","COOPERATIVE","LIMITED_PARTNERSHIP"]):(0,O.A)(_,["CORPORATION","TRADE_NAME","COOPERATIVE"]),!0===i&&(_=!0===l?(0,O.A)(_,["CORPORATION","OPEN_COMPANY","COOPERATIVE"]):(0,O.A)(_,["CORPORATION","LIMITED_PARTNERSHIP"]),_=!0===s?(0,O.A)(_,["CORPORATION","LIMITED_PARTNERSHIP"]):(0,O.A)(_,["CORPORATION","OPEN_COMPANY","COOPERATIVE"]));let u=(0,C.A)(c,_),p=_.map(e=>({id:e,name:n("plan_company_summary_6_"+e.toLowerCase()+"_title")})).sort((e,n)=>e.name.localeCompare(n.name,t)),d=u.map(e=>({id:e,name:n("plan_company_summary_6_"+e.toLowerCase()+"_title")})).sort((e,n)=>e.name.localeCompare(n.name,t));return(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)("p",{children:(0,a.jsx)(T.E,{color:"successBase",className:"company-form-list-title",children:n("plan_company_summary_6_preferred")})})})}),p.map(e=>E(e.id)),(0,a.jsx)("div",{className:"row margin-top-m",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)("p",{children:(0,a.jsx)(T.E,{className:"company-form-list-title",children:n("plan_company_
11summary_6_others")})})})}),d.map(e=>E(e.id))]})}function E(e){switch(e){case"CORPORATION":return(0,a.jsx)(P,{},"corporation");case"TRADE_NAME":return(0,a.jsx)(z,{},"trade_name");case"OPEN_COMPANY":return(0,a.jsx)(R,{},"open_company");case"COOPERATIVE":return(0,a.jsx)(F,{},"cooperative");case"LIMITED_PARTNERSHIP":return(0,a.jsx)(V,{},"limited_partnership");default:return(0,I.xb)(e)}}function P(){let{translate:e}=(0,r.useContext)(o.ic);return(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsx)(f.Q,{variant:"h4",children:e("plan_company_summary_6_corporation_title")}),(0,a.jsx)("p",{children:e("plan_company_summary_6_corporation_text_1")}),(0,a.jsx)("p",{children:e("plan_company_summary_6_corporation_text_2")}),(0,a.jsx)("p",{children:e("plan_company_summary_6_corporation_text_3")}),(0,a.jsx)("p",{children:e("plan_company_summary_6_corporation_text_4")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:e("plan_company_summary_6_corporation_link_title"),children:(0,a.jsx)(d.N_,{href:e("plan_company_summary_6_corporation_link_url"),openInNewWindow:!0,children:e("plan_company_summary_6_corporation_link_text")})})})]},"corporation")}function z(){let{translate:e}=(0,r.useContext)(o.ic);return(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsx)(f.Q,{variant:"h4",children:e("plan_company_summary_6_trade_name_title")}),(0,a.jsx)("p",{children:e("plan_company_summary_6_trade_name_text_1")}),(0,a.jsx)("p",{children:e("plan_company_summary_6_trade_name_text_2")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:e("plan_company_summary_6_trade_name_link_title"),children:(0,a.jsx)(d.N_,{href:e("plan_company_summary_6_trade_name_link_url"),openInNewWindow:!0,children:e("plan_company_summary_6_trade_name_link_text")})})})]},"trade_name")}function V(){let{translate:e}=(0,r.useContext)(o.ic);return(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsx)(f.Q,{variant:"h4",children:e("plan_company_summary_6_limited_partnership_title")}),(0,a.jsx)("p",{children:e("plan_company_summary_6_limited_partnership_text_1")}),(0,a.jsx)("p",{children:e("plan_company_summary_6_limited_partnership_text_2")}),(0,a.jsx)("p",{children:e("plan_company_summary_6_limited_partnership_text_3")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:e("plan_company_summary_6_limited_partnership_link_title"),children:(0,a.jsx)(d.N_,{href:e("plan_company_summary_6_limited_partnership_link_url"),openInNewWindow:!0,children:e("plan_company_summary_6_limited_partnership_link_text")})})})]},"limited_partnership")}function R(){let{translate:e}=(0,r.useContext)(o.ic);return(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsx)(f.Q,{variant:"h4",children:e("plan_company_summary_6_open_company_title")}),(0,a.jsx)("p",{children:e("plan_company_summary_6_open_company_text_1")}),(0,a.jsx)("p",{children:e("plan_company_summary_6_open_company_text_2")}),(0,a.jsx)("p",{children:e("plan_company_summary_6_open_company_text_3")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:e("plan_company_summary_6_open_company_link_title"),children:(0,a.jsx)(d.N_,{href:e("plan_company_summary_6_open_company_link_url"),openInNewWindow:!0,children:e("plan_company_summary_6_open_company_link_text")})})})]},"popen_company")}function F(){let{translate:e}=(0,r.useContext)(o.ic);return(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsx)(f.Q,{variant:"h4",children:e("plan_company_summary_6_cooperative_title")}),(0,a.jsx)("p",{children:e("plan_company_summary_6_cooperative_text_1")}),(0,a.jsx)("p",{children:e("plan_company_summary_6_cooperative_text_2")}),(0,a.jsx)("p",{children:e("plan_company_summary_6_cooperative_text_3")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:e("plan_company_summary_6_cooperative_link_title"),children:(0,a.jsx)(d.N_,{href:e("plan_company_summary_6_cooperative_link_url"),openInNewWindow:!0,children:e("plan_company_
11summary_6_cooperative_link_text")})})})]},"cooperative")}let L=(e,n)=>({title:n("plan_company_summary_section_6_title"),component:A,visible:!0,iconLeft:null});function M(){let{translate:e}=(0,r.useContext)(o.ic);return(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsx)(f.Q,{variant:"h4",children:e("plan_company_summary_7_1_title")}),(0,a.jsx)("p",{children:e("plan_company_summary_7_1_text_1")})]}),(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(m.Z,{title:e("plan_company_summary_7_1_link_title"),children:(0,a.jsx)(d.N_,{href:e("plan_company_summary_7_1_link_url"),openInNewWindow:!0,children:e("plan_company_summary_7_1_link_text")})})})]})})}let W=(e,n)=>({title:n("plan_company_summary_section_7_title"),component:M,visible:!0,iconLeft:null}),B={id:"summary",titleKey:"plan_company_page_title_summary",component:function(e){let{translate:n}=(0,r.useContext)(o.ic);return(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"row",children:(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsx)("p",{children:n("plan_company_summary_ingress")}),(0,a.jsx)(h.om,{formValues:e.formValues,items:[x,g,b,N,k,L,W]})]})})})},nextAction:()=>l.Wb};var D=t(83943);let Q={id:"corporate_form",titleKey:"plan_company_page_title_corporate_form",component:function(e){let{translate:n}=(0,r.useContext)(o.ic);return(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)("p",{children:n("plan_company_6_corporate_form_ingress")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_6_corporate_form_with_partner_opt_yes")},{value:!1,label:n("plan_company_6_corporate_form_with_partner_opt_no")}],name:"startWithPartner",onSelect:n=>e.setFormValue("corporateFormStartWithPartner",n),value:e.formValues.corporateFormStartWithPartner,groupLabel:n("plan_company_6_corporate_form_with_partner_title"),hintText:n("company_wizard_choice_affects_following_choices")})})}),!0===e.formValues.corporateFormStartWithPartner?(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_6_corporate_form_equal_partner_opt_yes")},{value:!1,label:n("plan_company_6_corporate_form_equal_partner_opt_no")}],name:"equalWithPartner",onSelect:n=>e.setFormValue("corporateFormEqualWithPartner",n),value:e.formValues.corporateFormEqualWithPartner,groupLabel:n("plan_company_6_corporate_form_equal_partner_title")})})}):null,!0===e.formValues.corporateFormStartWithPartner?(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_6_corporate_form_silent_partners_opt_yes")},{value:!1,label:n("plan_company_6_corporate_form_silent_partners_opt_no")}],name:"silentPartners",onSelect:n=>e.setFormValue("corporateFormSilentPartners",n),value:e.formValues.corporateFormSilentPartners,groupLabel:n("plan_company_6_corporate_form_silent_partners_title")})})}):null]})},nextAction:e=>{switch(e.corporateFormStartWithPartner){case!0:return null!==e.corporateFormEqualWithPartner&&null!==e.corporateFormSilentPartners?(0,l.h1)(B):l.$W;case!1:return(0,l.h1)(B);case null:return l.$W;default:return(0,I.xb)(e.corporateFormStartWithPartner)}}},Z={id:"financing",titleKey:"plan_company_page_title_financing",component:function(e){let{translate:n}=(0,r.useContext)(o.ic);return(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)("p",{children:n("plan_company_5_financing_ingress")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_5_financing_investment_studied_opt_yes")},{value:!1,label:n("plan_company_5_financing_investment_studied_opt_no")}],name:"initialInvestmentStudied",onSelect:n=>e.setFormValue("financingInitialInvestmentStudied",n),value:e.formValues.financingInitialInvestmentStudied,groupLabel:n("plan_company_5_financing_investment_studied_title")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_5_financing_investment_acquired_opt_yes")},{value:!1,label:n("plan_company_5_financing_investment_acquired_opt_no")}],name:"initialInvesmenttAcquired",onSelect:n=>
11e.setFormValue("financingInitialInvestmentAcquired",n),value:e.formValues.financingInitialInvestmentAcquired,groupLabel:n("plan_company_5_financing_investment_acquired_title")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_5_financing_loans_guarantees_opt_yes")},{value:!1,label:n("plan_company_5_financing_loans_guarantees_opt_no")}],name:"loansGuarantees",onSelect:n=>e.setFormValue("financingSupportLoansGuaranteesStudied",n),value:e.formValues.financingSupportLoansGuaranteesStudied,groupLabel:n("plan_company_5_financing_loans_guarantees_title")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_5_financing_credit_default_entry_opt_yes")},{value:!1,label:n("plan_company_5_financing_credit_default_entry_opt_no")}],name:"creditDefaultEntry",onSelect:n=>e.setFormValue("financingCreditDefaultEntry",n),value:e.formValues.financingCreditDefaultEntry,groupLabel:n("plan_company_5_financing_credit_default_entry_title")})})})]})},nextAction:e=>null!==e.financingInitialInvestmentStudied&&null!==e.financingInitialInvestmentAcquired&&null!==e.financingSupportLoansGuaranteesStudied&&null!==e.financingCreditDefaultEntry?(0,l.h1)(Q):l.$W},q={id:"sales",titleKey:"plan_company_page_title_marketing_and_sales",component:function(e){let{translate:n}=(0,r.useContext)(o.ic);return(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)("p",{children:n("plan_company_4_sales_ingress")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_4_sales_self_opt_yes")},{value:!1,label:n("plan_company_4_sales_self_opt_no")}],name:"careForSalesSelf",onSelect:n=>e.setFormValue("salesCareForSalesSelf",n),value:e.formValues.salesCareForSalesSelf,groupLabel:n("plan_company_4_sales_self_title")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_4_sales_experience_opt_yes")},{value:!1,label:n("plan_company_4_sales_experience_opt_no")}],name:"experienceInSales",onSelect:n=>e.setFormValue("salesExperienceInSales",n),value:e.formValues.salesExperienceInSales,groupLabel:n("plan_company_4_sales_experience_title")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_4_sales_information_opt_yes")},{value:!1,label:n("plan_company_4_sales_information_opt_no")}],name:"accessToInformationStudied",onSelect:n=>e.setFormValue("salesAccessToInformationStudied",n),value:e.formValues.salesAccessToInformationStudied,groupLabel:n("plan_company_4_sales_information_title")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_4_sales_internet_opt_yes")},{value:!1,label:n("plan_company_4_sales_internet_opt_no")}],name:"internetStudied",onSelect:n=>e.setFormValue("salesInternetStudied",n),value:e.formValues.salesInternetStudied,groupLabel:n("plan_company_4_sales_internet_title")})})})]})},nextAction:e=>null!==e.salesCareForSalesSelf&&null!==e.salesExperienceInSales&&null!==e.salesAccessToInformationStudied&&null!==e.salesInternetStudied?(0,l.h1)(Z):l.$W},H={id:"markets",titleKey:"plan_company_page_title_markets_and_customers",component:function(e){let{translate:n}=(0,r.useContext)(o.ic);return(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)("p",{children:n("plan_company_3_markets_ingress")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_3_markets_competitors_opt_yes")},{value:!1,label:n("plan_company_3_markets_competitors_opt_no")}],name:"marketsCompetitors",onSelect:n=>e.setFormValue("marketsCompetitorsStudied",n),value:e.formValues.marketsCompetitorsStudied,groupLabel:n("plan_company_3_markets_competitors_title")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_3_markets_acquintance_opt_yes")},{value:!1,label:n("plan_company_3_markets_acquintance_opt_no")}],name:"marketsAcquintance",onSelect:n=>e.setFormValue("marketsAcquintanceWillingToBuyStudied",n),value:e.formValues.marketsAcquintanceWillingToBuyStudied,groupLabel:n("plan_company_3_markets_acquintance_title")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_3_markets_customers_opt_yes")},{value:!1,label:n("plan_company_3_markets_customers_opt_no")}],name:"customersStudied",onSelect:n=>e.setFormValue("marketsCustomersStudied",n),value:e.formValues.marketsCustomersStudied,groupLabel:n("plan_company_3_markets_customers_title")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_3_markets_internet_opt_yes")},{value:!1,label:n("plan_company_3_markets_internet_opt_no")}],name:"internationalStudied",onSelect:n=>e.setFormValue("marketsInternationalStudied",n),value:e.formValues.marketsInternationalStudied,groupLabel:n("plan_company_3_markets_internet_title")})})})]})},nextAction:e=>null!==e.marketsCustomersStudied&&null!==e.marketsAcquintanceWillingToBuyStudied&&null!==e.marketsCompetitorsStudied&&null!==e.marketsInternationalStudied?(0,l.h1)(q):l.$W},G={id:"product",titleKey:"plan_company_page_title_products_and_services",component:function(e){let{translate:n}=(0,r.useContext)(o.ic);return(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)("p",{children:n("plan_company_2_product_ingress")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_2_product_permissions_opt_yes")},{value:!1,label:n("plan_company_2_product_permissions_opt_no")}],name:"permissionsStudied",onSelect:n=>e.setFormValue("productPermissionsStudied",n),value:e.formValues.productPermissionsStudied,groupLabel:n("plan_company_2_product_permissions_title")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_2_product_price_studied_opt_yes")},{value:!1,label:n("plan_company_2_product_price_studied_opt_no")}],name:"priceStudied",onSelect:n=>e.setFormValue("productPriceStudied",n),value:e.formValues.productPriceStudied,groupLabel:n("plan_company_2_product_price_studied_title")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_2_product_costs_and_incomes_opt_yes")},{value:!1,label:n("plan_company_2_product_costs_and_incomes_opt_no")}],name:"costsAndIncomesStudied",onSelect:n=>
11e.setFormValue("productCostsAndIncomesStudied",n),value:e.formValues.productCostsAndIncomesStudied,groupLabel:n("plan_company_2_product_costs_and_incomes_title")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_2_product_price_formation_opt_yes")},{value:!1,label:n("plan_company_2_product_price_formation_opt_no")}],name:"priceFormationStudied",onSelect:n=>e.setFormValue("productPriceFormationStudied",n),value:e.formValues.productPriceFormationStudied,groupLabel:n("plan_company_2_product_price_formation_title")})})})]})},nextAction:e=>null!==e.productPermissionsStudied&&null!==e.productPriceStudied&&null!==e.productCostsAndIncomesStudied&&null!==e.productPriceFormationStudied?(0,l.h1)(H):l.$W},K={id:"business_idea",titleKey:"plan_company_page_title_business_idea",component:function(e){let{translate:n}=(0,r.useContext)(o.ic);return(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)("p",{children:n("plan_company_1_business_idea_ingress")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_1_business_idea_own_idea_opt_yes")},{value:!1,label:n("plan_company_1_business_idea_own_idea_opt_no")}],name:"ownIdea",onSelect:n=>e.setFormValue("ideaOwnIdea",n),value:e.formValues.ideaOwnIdea,groupLabel:n("plan_company_1_business_idea_own_idea_title")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_1_business_idea_lower_costs_opt_yes")},{value:!1,label:n("plan_company_1_business_idea_lower_costs_opt_no")}],name:"lowerCosts",onSelect:n=>e.setFormValue("ideaLowerCosts",n),value:e.formValues.ideaLowerCosts,groupLabel:n("plan_company_1_business_idea_lower_costs_title")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_1_business_idea_better_quality_opt_yes")},{value:!1,label:n("plan_company_1_business_idea_better_quality_opt_no")}],name:"betterQuality",onSelect:n=>e.setFormValue("ideaBetterQuality",n),value:e.formValues.ideaBetterQuality,groupLabel:n("plan_company_1_business_idea_better_quality_title")})})}),(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-12",children:(0,a.jsx)(D.z,{options:[{value:!0,label:n("plan_company_1_business_idea_sales_price_studied_opt_yes")},{value:!1,label:n("plan_company_1_business_idea_sales_price_studied_opt_no")}],name:"salesPriceStudied",onSelect:n=>e.setFormValue("ideaSalesPriceStudied",n),value:e.formValues.ideaSalesPriceStudied,groupLabel:n("plan_company_1_business_idea_sales_price_studied_title")})})})]})},nextAction:e=>null!==e.ideaOwnIdea&&null!==e.ideaLowerCosts&&null!==e.ideaBetterQuality&&null!==e.ideaSalesPriceStudied?(0,l.h1)(G):l.$W},$={id:"start_plan_company_wizard",titleKey:"plan_company_page_title_start_plan_company_wizard",component:function(){let{translate:e}=(0,r.useContext)(o.ic);return(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"row",children:(0,a.jsxs)("div",{className:"col-12",children:[(0,a.jsx)("p",{children:e("plan_company_start_wizard_text_1")}),(0,a.jsx)("p",{children:e("plan_company_start_wizard_text_2")}),(0,a.jsx)("p",{children:e("plan_company_start_wizard_text_3")}),(0,a.jsx)("p",{children:e("plan_company_start_wizard_text_4")})]})})})},nextAction:()=>(0,l.h1)(K)};var Y=t(16649),X=t(93171),U=t(41444),J=t(65129);let ee=i.O2({ideaOwnIdea:(0,s.me)(i.zM),ideaLowerCosts:(0,s.me)(i.zM),ideaBetterQuality:(0,s.me)(i.zM),ideaSalesPriceStudied:(0,s.me)(i.zM),productPermissionsStudied:(0,s.me)(i.zM),productPriceStudied:(0,s.me)(i.zM),productCostsAndIncomesStudied:(0,s.me)(i.zM),productPriceFormationStudied:(0,s.me)(i.zM),marketsCompetitorsStudied:(0,s.me)(i.zM),marketsAcquintanceWillingToBuyStudied:(0,s.me)(i.zM),marketsCustomersStudied:(0,s.me)(i.zM),marketsInternationalStudied:(0,s.me)(i.zM),salesExperienceInSales:(0,s.me)(i.zM),salesCareForSalesSelf:(0,s.me)(i.zM),salesAccessToInformationStudied:(0,s.me)(i.zM),salesInternetStudied:(0,s.me)(i.zM),financingInitialInvestmentStudied:(0,s.me)(i.zM),financingInitialInvestmentAcquired:(0,s.me)(i.zM),financingSupportLoansGuaranteesStudied:(0,s.me)(i.zM),financingCreditDefaultEntry:(0,s.me)(i.zM),corporateFormStartWithPartner:(0,s.me)(i.zM),corporateFormEqualWithPartner:(0,s.me)(i.zM),corporateFormSilentPartners:(0,s.me)(i.zM)}),en={ideaOwnIdea:null,ideaLowerCosts:null,ideaBetterQuality:null,ideaSalesPriceStudied:null,productPermissionsStudied:null,productPriceStudied:null,productC
11ostsAndIncomesStudied:null,productPriceFormationStudied:null,marketsCompetitorsStudied:null,marketsAcquintanceWillingToBuyStudied:null,marketsCustomersStudied:null,marketsInternationalStudied:null,salesExperienceInSales:null,salesCareForSalesSelf:null,salesAccessToInformationStudied:null,salesInternetStudied:null,financingInitialInvestmentStudied:null,financingInitialInvestmentAcquired:null,financingSupportLoansGuaranteesStudied:null,financingCreditDefaultEntry:null,corporateFormStartWithPartner:null,corporateFormEqualWithPartner:null,corporateFormSilentPartners:null},et=e=>[{label:e("plan_company_page_navigation_start_plan_company_wizard"),steps:[$]},{label:e("plan_company_page_navigation_business_idea"),steps:[K]},{label:e("plan_company_page_navigation_products_and_services"),steps:[G]},{label:e("plan_company_page_navigation_markets_and_customers"),steps:[H]},{label:e("plan_company_page_navigation_marketing_and_sales"),steps:[q]},{label:e("plan_company_page_navigation_financing"),steps:[Z]},{label:e("plan_company_page_navigation_corporate_form"),steps:[Q]},{label:e("plan_company_page_navigation_summary"),steps:[B]}];function ea(){let{translate:e,lang:n}=(0,r.useContext)(o.ic);return(0,U.gZ)({title:e("plan_company"),description:J.Xe,fallbackLanguage:!(0,X.Uj)(n)},[e,n]),(0,a.jsx)(l.sQ,{renderer:Y.c,initialFormValues:en,initialStep:$,navigation:et(e),title:e("plan_company"),abortable:!0,persister:{type:"sessionStore",storageKey:"planCompanyWizard",codec:ee},wizardContext:{}})}},16649(e,n,t){t.d(n,{c:()=>f});var a=t(74848),r=t(96540),i=t(63819),l=t(34455),o=t(8775),s=t(80339),c=t(9464),_=t(26994),u=t(96596),p=t(10339),d=t(71374),m=t(41751),h=t(7643);function f(e){let n=e.currentStep.component,{nextAction:t}=e,{translate:f,lang:y}=(0,r.useContext)(l.ic),x=r.createRef();return(0,r.useEffect)(()=>{window.scrollTo(0,0),null!==x.current&&x.current.focus()},[e.currentStep]),(0,a.jsxs)("div",{className:"container establish-company-wizard",children:[null!=e.title?(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"wizard-label-content col-12",children:(0,a.jsx)(h.Q,{title:e.title})})}):null,e.notificationBanner,(0,a.jsxs)("div",{className:"row",children:[(0,a.jsx)("div",{className:"col-12 col-lg-4",children:(0,a.jsx)(i.If,{setCurrentStep:e.setCurrentStep,initialStep:e.initialStep,currentStep:e.currentStep,formValues:e.formValues,wizardContext:e.wizardContext,naviItems:e.navigation,isDirty:e.isDirty})}),(0,a.jsxs)("div",{className:"col-12 col-lg-8",children:[(0,a.jsxs)("div",{className:"wizard-content",children:[(0,a.jsx)("div",{className:"semibold","aria-hidden":"true",children:e.stepIndicator}),(0,a.jsxs)(m.Q,{variant:"h2",className:"wizard-label",tabIndex:-1,ref:x,children:[f(e.currentStep.titleKey),(0,a.jsx)("span",{className:"visually-hidden",children:e.stepIndicator})]}),(0,a.jsx)("div",{className:"wizard-step-content",children:(0,a.jsx)(n,{formValues:e.formValues,setFormValue:e.setFormValue,wizardContext:e.wizardContext,resetWizardAndNavigate:e.resetWizardAndNavigate})}),"ERROR"===e.processing&&(0,a.jsx)(u.Mh,{title:f("error_processing_header"),children:f("error_processing")}),(0,a.jsx)(o.A,{show:"PROCESSING"===e.processing,noMargin:!0}),"PROCESSING"!==e.processing&&(0,a.jsx)("div",{className:"wizard-buttons",children:(0,a.jsxs)(s.W,{alignment:"right",isReverseMobileOrder:!0,children:[e.exampleState?(0,a.jsx)(c.$,{variant:"secondary",onClick:()=>{e.setFormValues(e.exampleState.values),e.setCurrentStep(e.exampleState.step)},"data-testid":"wizard-load-example-button",children:"Lataa esimerkkiarvot"}):null,e.abortButton,null!==e.previousStep?(0,a.jsx)(c.$,{variant:"secondary",icon:(0,a.jsx)(d.G,{}),onClick:e.onPreviousClick,"data-testid":"wizard-previous-button",children:f("plan_company_previous")}):null,(()=>{switch(t.type){case"advance":return(0,a.jsx)(c.$,{iconRight:(0,a.jsx)(p.h,{}),onClick:()=>e.setCurrentStep(t.step),"data-testid":"wizard-next-button",children:f("plan_company_next")});case"disabled":return(0,a.jsx)(c.$,{iconRight:(0,a.jsx)(p.h,{}),disabled:!0,"data-testid":"wizard-next-button",children:f("plan_company_next")});case"process":return e.processButton;case"print":return e.printButton;
11case"close":return null;default:return(0,_.xb)(t)}})()]})})]}),null!=e.currentStep.feedback?e.currentStep.feedback(y):null]})]})]})}},20065(e,n,t){t.d(n,{$W:()=>y,Wb:()=>x,d4:()=>g,h1:()=>f,ii:()=>v,sQ:()=>N});var a=t(74848),r=t(96540),i=t(53012),l=t(4796),o=t(9464),s=t(58537),c=t(34455),_=t(63819),u=t(26994),p=t(46996),d=t(11273),m=t(23022);function h(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){var a;a=t[n],n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a})}return e}function f(e){return{type:"advance",step:e}}let y={type:"disabled"},x={type:"print"};function v(e){return h({type:"process"},e)}function g(e){return h({type:"close"},e)}let j=l.Yj;function b(e,n){if(!i.pK())return null;{let t=i.Gq(e);if(null==t)return null;try{let e=n.decode(JSON.parse(t));return(0,m.FG)(e)?e.right:null}catch(e){return null}}}function w(e,n,t){i.pK()&&i.SO(e,JSON.stringify(n.encode(t)))}function N(e){var n;let t=(0,r.useContext)(c.BR),{translate:i,historyPush:l}=(0,r.useContext)(c.BR),[m,f]=(0,r.useState)(e.initialStep),[y,x]=(0,r.useState)(e.initialFormValues),[v,g]=(0,r.useState)("NOT_PROCESSING"),[N,S]=(0,r.useState)([]),k=e=>N.includes(e),O=(0,_.WC)(y,e.wizardContext,e.initialStep,m,t,k),C=m.nextAction(y,e.wizardContext,t),I=i("company_wizard_step_indicator",{step:(n=e.navigation).findIndex(e=>e.steps.some(e=>e===m))+1,totalSteps:n.length}),T=e.renderer,A=()=>{switch(e.persister.type){case"nop":return null;case"sessionStore":return function(e,n){let t=b(e+".state",n),a=b(e+".step",j);return null!=t&&null!=a?{formValues:t,stepId:a}:null}(e.persister.storageKey,e.persister.codec);case"custom":return e.persister.load();default:return(0,u.xb)(e.persister)}},E=n=>{switch(e.persister.type){case"nop":break;case"sessionStore":var t,a,r,i;t=e.persister.storageKey,a=e.persister.codec,r=n.formValues,i=n.stepId,w(t+".state",a,r),w(t+".step",j,i);break;case"custom":e.persister.save(n);break;default:(0,u.xb)(e.persister)}},P=e=>{S(n=>n.includes(e)?n:[...n,e])},z=()=>{E({formValues:e.initialFormValues,stepId:e.initialStep.id}),f(e.initialStep),x(e.initialFormValues)};(0,r.useEffect)(()=>{k(m)&&S(N.filter(e=>e!==m))});let V=()=>{let n=A();null!=n?(x(n.formValues),f((0,_.iu)(n.formValues,e.wizardContext,e.initialStep,n.stepId,t,k)||e.initialStep)):(x(e.initialFormValues),f(e.initialStep))};(0,r.useEffect)(V,[...Object.values(e.persister),e.initialFormValues,e.initialStep]),(0,r.useEffect)(()=>{E({formValues:y,stepId:m.id})},[...Object.values(e.persister),y,m]);let R=()=>g("NOT_PROCESSING"),F=e=>()=>{g("PROCESSING"),e().then(()=>{g("NOT_PROCESSING"),z()}).catch(()=>g("ERROR"))},L="process"===C.type?(0,a.jsx)(o.$,{disabled:C.disabled||"PROCESSING"===v||"CONFIRM_BEFORE_PROCESSING"===v,onClick:null!=C.confirmDialog?()=>g("CONFIRM_BEFORE_PROCESSING"):F(C.process),"data-testid":"wizard-process-button",children:C.label}):null,M="print"===C.type?(0,a.jsx)(o.$,{iconRight:(0,a.jsx)(s.p,{}),onClick:()=>window.print(),"data-testid":"wizard-print-button",children:i("plan_company_print")}):null,W=e.abortable?(0,a.jsx)(o.$,{variant:"secondaryNoBorder",onClick:()=>{z(),e.abortTo?l(e.abortTo):V()},"data-testid":"wizard-abort-button",children:i("wizard_abort")}):null;return(0,a.jsxs)("div",{children:["process"===C.type&&null!=C.confirmDialog?(0,a.jsx)(d.u,{isOpen:"CONFIRM_BEFORE_PROCESSING"===v,scrollableOnDesktop:!1,title:C.confirmDialog.title,onRequestClose:R,confirmButton:{label:C.confirmDialog.confirmLabel,onClick:F(C.process)},cancelButton:{label:C.confirmDialog.cancelLabel,onClick:R},children:C.confirmDialog.body}):null,(0,a.jsx)(T,{nextAction:C,processing:v,processButton:L,printButton:M,abortButton:W,title:e.title,notificationBanner:e.notificationBanner,currentStep:m,setCurrentStep:f,initialStep:e.initialStep,formValues:y,setFormValue:(n,t)=>{x(a=>{var r,i;if((0,p.A)(t,a[n]))return a;let l=(r=h({},a),i=i={[n]:t},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t.push.apply(t,a)}return t}
11)(Object(i)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))}),r),o=!0;for(;o;)for(let n of(o=!1,e.navigation))for(let t of n.steps)null!=t.onFormValuesChange&&t.onFormValuesChange(l,a,e.wizardContext,(e,n)=>{(0,p.A)(l[e],n)||(P(t),l[e]=n,o=!0)},()=>P(t));return l})},wizardContext:e.wizardContext,navigation:e.navigation,isDirty:k,dirtySteps:N,stepIndicator:I,resetWizardAndNavigate:n=>{E({formValues:e.initialFormValues,stepId:e.initialStep.id}),l(n)},exampleState:e.exampleState,setFormValues:x,previousStep:O,onPreviousClick:()=>O?f(O):void 0})]})}},63819(e,n,t){t.d(n,{If:()=>m,WC:()=>p,di:()=>u,iu:()=>d});var a=t(74848),r=t(96540),i=t(34455),l=t(59168),o=t(75214),s=t(56997),c=t(41751);function _({steps:e,stepNumber:n,initialStep:t,currentStep:l,formValues:s,label:c,setCurrentStep:_,isDirty:p,wizardContext:d}){let m=(0,r.useContext)(i.BR),{translate:h}=m,f=e.includes(l),y=u(s,d,t,m,p).find(n=>e.includes(n));return void 0!==y?(0,a.jsx)("li",{className:f?"active":"",children:(0,a.jsxs)(o.N_,{href:"#",onClick:e=>{e.preventDefault(),_(y)},className:"step",testId:"wizard-navi-step-"+n,children:[(0,a.jsx)("span",{className:"number",children:n}),(0,a.jsx)("span",{className:"progress-bar-pagename",children:c}),f?(0,a.jsx)("span",{className:"visually-hidden","aria-label":h("company_wizard_current_step_screen_reader")}):null]})}):(0,a.jsx)("li",{className:"disabled",children:(0,a.jsxs)("div",{className:"step",children:[(0,a.jsx)("span",{className:"number",children:n}),(0,a.jsx)("span",{className:"progress-bar-pagename",children:c})]})})}function u(e,n,t,a,r){let i=[t],l=t.nextAction(e,n,a);for(;"advance"===l.type&&(i.push(l.step),!r(l.step));)l=l.step.nextAction(e,n,a);return i}function p(e,n,t,a,r,i){let l=u(e,n,t,r,i),o=l.indexOf(a);return o>0?l[o-1]:null}function d(e,n,t,a,r,i){return u(e,n,t,r,i).find(e=>e.id===a)||null}function m(e){let{translate:n}=(0,r.useContext)(i.ic),[t,o]=(0,r.useState)(!1),u=(0,l.A)({subnav:!0,closed:!t}),p=(0,l.A)({"old-button":!0,"nav-button":!0,"toggle-subnav":!0,"visual-h4":!0,opened:t});return(0,a.jsxs)("nav",{className:u,"aria-labelledby":"nav-label",children:[(0,a.jsxs)(c.Q,{variant:"h3",as:"h2",id:"nav-label",children:[(0,a.jsx)("span",{className:"sm-hidden-down",children:(0,a.jsx)("span",{children:n("wizard_navigation_title")})}),(0,a.jsx)("span",{className:"md-hidden-up",children:(0,a.jsxs)("button",{type:"button",className:p,onClick:function(){o(!t)},"data-testid":"wizard-toggle-navi-button",children:[(0,a.jsx)("span",{children:n("wizard_navigation_title")}),(0,a.jsx)(s.V,{className:"expander-icon"})]})})]}),(0,a.jsx)("ul",{id:"progress-bar",className:"nav-tree","aria-labelledby":"nav-label",children:e.naviItems.map((n,t)=>(0,a.jsx)(_,{formValues:e.formValues,wizardContext:e.wizardContext,steps:n.steps,stepNumber:t+1,initialStep:e.initialStep,currentStep:e.currentStep,label:n.label,setCurrentStep:e.setCurrentStep,isDirty:e.isDirty},t))})]})}},53012(e,n,t){t.d(n,{Gq:()=>i,SO:()=>o,du:()=>l,kq:()=>s,pK:()=>c});var a=t(33371);let r="sevi-ui",i=e=>window.sessionStorage.getItem(r+"."+e),l=e=>"true"===i(e),o=(e,n)=>{window.sessionStorage.setItem(r+"."+e,n)},s=(e,n)=>{o(e,""+n)},c=(0,a.A)(()=>{try{let e=r+".__test_storage__";return window.sessionStorage.setItem(e,"test"),window.sessionStorage.removeItem(e),!0}catch(e){return!1}})},71515(e,n,t){t.d(n,{me:()=>i,p3:()=>l,p6:()=>o});var a=t(4796),r=t(23022);let i=e=>a.KC([e,a.ch]),l=a.O2({fi:a.Yj,sv:a.Yj,en:a.Yj,se:a.Yj,smn:a.Yj,sms:a.Yj}),o=new a.ZU("date",e=>e instanceof Date,(e,n)=>r.gP.chain(a.Yj.validate(e,n),t=>{let r=new Date(t);return isNaN(r.getTime())?a.V2(e,n):a.kX(r)}),e=>e.toISOString())},58043(e,n,t){t.d(n,{A:()=>c});var a=t(8300),r=t(83149),i=t(87809),l=t(45572),o=t(52789),s=t(64099);let c=function(e,n,t,c){var _=-1,u=r.A,p=!0,d=e.length,m=[],h=n.length;if(!d)return m;t&&(n=(0,l.A)(n,(0,o.A)(t))),c?(u=i.A,p=!1):n.length>=200&&(u=s.A,p=!1,n=new a.A(n));e:for(;++_<d;){var f=e[_],y=null==t?f:t(f);if(f=c||0!==f?f:0,p&&y==y){for(var x=h;x--;)if(n[x]===y)continue e;m.push(f)}else u(n,y,c)||m.push(f)}return m}},26369(e,n,t){t.d(n,{A:()=>_});var a=t(8300),r=t(83149),i=t(87809),l=t(45572),o=t(52789),s=t(64099),c=Math.min;let _=function(e,n,t){for(var _=t?i.A:r.A,u=e[0].length,p=e.length,d=p,m=Array(p),h=1/0,f=[];d--;){var y=e[d];d&&n&&(y=(0,l.A)(y,(0,o.A)(n))),h=c(y.length,h),m[d]=!t&&(n||u>=120&&y.length>=120)?new a.A(d&&y):void 0}y=e[0];var x=-1,v=m[0];e:for(;++x<u&&f.length<h;){var g=y[x],j=n?n(g):g;if(g=t||0!==g?g:0,!(v?(0,s.A)(v,j):_(f,j,t))){for(d=p;--d;){var b=m[d];if(!(b?(0,s.A)(b,j):_(e[d],j,t)))continue e}v&&v.push(j),f.push(g)}}return f}},76501(e,n,t){t.d(n,{A:()=>r});var a=t(53533);let r=function(e){return(0,a.A)(e)?e:[]}},44757(e,n,t){t.d(n,{A:()=>o});var a=t(58043),r=t(87671),i=t(24326),l=t(53533);let o=(0,i.A)(function(e,n){return(0,l.A)(e)?(0,a.A)(e,(0,r.A)(n,1,l.A,!0)):[]})},17239(e,n,t){t.d(n,{A:()=>o});var a=t(45572),r=t(26369),i=t(24326),l=t(76501);let o=(0,i.A)(function(e){var n=(0,a.A)(e,l.A);return n.length&&n[0]===e[0]?(0,r.A)(n):[]})}}]); 12//# sourceMappingURL=7569.83bcea9a9e53f0d8c430.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.