1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4157],{80557:function(e,i,t){"use strict";t.d(i,{Z:function(){return O}});t(69358),t(59749),t(38077),t(60228),t(81919),t(47522),t(99474);var n=t(59499),s=t(95627),o=t.n(s),a=(t(34284),t(67294)),l=t(15292),r=t(74806),c=t(96253),d=t(55472),h=t(81768),m=t(11537),p=t(66449),x=t(37808),f=(t(34338),t(95952)),u=[".input-file-field.jsx-3280240434{display:block;margin:0 0 ".concat(f.W0.xs," 0;}"),".input-file-field.jsx-3280240434 input[type=file]{float:left;width:0;height:0;}",".input-file-field__upload.jsx-3280240434{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}",".input-file-field__block-btn.jsx-3280240434{width:180px;}",".input-file-field__add.jsx-3280240434{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;padding:0;background:none;border:0;outline:0;color:".concat(f.O9.active,";font-size:14px;line-height:24px;overflow:hidden;cursor:pointer;}"),".input-file-field__add.jsx-3280240434 svg{margin:0 ".concat(f.W0.xs," 0 0;}"),".input-file-field__add.jsx-3280240434 input[type=file]{position:absolute;left:0;top:0;right:0;font-size:200px;opacity:0;cursor:pointer;}",".input-file-field__file.jsx-3280240434{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}",".input-file-field__file-name.jsx-3280240434{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;color:".concat(f.O9.secondary,";}"),".input-file-field__file-actions.jsx-3280240434{width:180px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;}",".input-file-field__remove.jsx-3280240434{width:24px;height:24px;padding:0;text-align:center;background:none;border:none;outline:none;cursor:pointer;}",".input-file-field__remove.jsx-3280240434 g{-webkit-transition:all 0.3s ease;transition:all 0.3s ease;}",".input-file-field__remove.jsx-3280240434:hover g{fill:".concat(f.O9.active," !important;opacity:1 !important;}"),".input-file-field__error.jsx-3280240434{display:block;position:relative;font-size:12px;color:".concat(f.O9.negative,";padding:0 0 0 ").concat(f.W0.xs,";}"),'.input-file-field__error.jsx-3280240434:before{content:"";display:inline-block;position:absolute;left:0;top:50%;margin:-2px 0 0 0;width:4px;height:4px;background:'.concat(f.O9.negative,";border-radius:50%;}")];u.__hash="3280240434";var v=u,_=t(85893);function j(e,i){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);i&&(n=n.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),t.push.apply(t,n)}return t}function b(e){for(var i=1;i<arguments.length;i++){var t=null!=arguments[i]?arguments[i]:{};i%2?j(Object(t),!0).forEach((function(i){(0,n.Z)(e,i,t[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):j(Object(t)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))}))}return e}var g=function(e){return(0,_.jsx)("svg",b(b({},e),{},{children:(0,_.jsx)("path",{d:"M8 15c-3.86 0-7-3.14-7-7s3.14-7 7-7 7 3.14 7 7-3.14 7-7 7m.5-7.5V5h-1v2.5H5v1h2.5V11h1V8.5H11v-1H8.5zM8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0z",fillRule:"evenodd"})}))};g.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var y=function(e){return(0,_.jsx)("svg",b(b({},e),{},{children:(0,_.jsx)("path",{fill:"#040429",opacity:".3",d:"M8 6.586 5.172 3.757 3.757 5.172 6.586 8l-2.829 2.828 1.415 1.415L8 9.414l2.828 2.829 1.415-1.415L9.414 8l2.829-2.828-1.415-1.415L8 6.586zM8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16z",fillRule:"evenodd"})}))};y.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var w=function(e){return(0,_.jsx)("svg",b(b({},e),{},{children:(0,_.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,_.jsx)("path",{stroke:"#EC2359",d:"m1.537 4.5.929 13h9.068l.929-13H1.537z"}),(0,_.jsx)("path",{fill:"#EC2359",d:"M6 0h3v2h5v1H0V2h5V0h1zm0 1v1h2V1H6z"})]})}))};w.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"18"};var z=function(e){return(0,_.jsx)("svg",b(b({},e),{},{children:(0,_.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,_.jsx)("path",{fill:"#EC2359",d:"M6 0h3v2h5v1H0V2h5V0h1zm0 1v1h2V1H6zM1 4h12l-1 14H2L1 4z"}),(0,_.jsx)("path",{stroke:"#EC2359",d:"M-5-3h24v24H-5z"})]})}))};z.defaultProps={width:"14",height:"18",xmlns:"http://www.w3.org/2000/svg"};var k=function(e){var i=e.isBlock,t=e.defaultFileName,n=e.input.value,s=e.label,r=e.accept,f=e.input,u=e.maxFileSizeInMB,j=e.intl,b
1=e.hasPreview,k=e.isThumbnail,O=e.customUploadButton,F=e.handleInputChange,N=(0,a.useState)(null),Z=N[0],P=N[1],C=(0,a.useState)(null),I=C[0],E=C[1],M=(0,a.useState)(!1),V=M[0],S=M[1];(0,a.useEffect)((function(){i&&n&&P({name:t})}),[]),(0,a.useEffect)((function(){n&&!V&&P({name:t})}),[f.value]);var W=function(){f.onChange(null),P(null),E(null),F&&F(null)},D=(0,_.jsxs)("label",{htmlFor:s,className:"jsx-".concat(v.__hash)+" input-file-field__block-btn",children:[(0,_.jsx)(h.Z,{isFullWidth:!0,isSecondary:!0,isFileInput:!0,children:(0,_.jsx)(x.Z,{id:"input.file.field.add"})}),(0,_.jsx)(o(),{id:v.__hash,children:v})]}),H=i?O||D:(0,_.jsxs)("label",{htmlFor:s,className:"jsx-".concat(v.__hash)+" link-btn",children:[(0,_.jsx)(g,{}),(0,_.jsx)(x.Z,{id:s}),(0,_.jsx)(o(),{id:v.__hash,children:v})]}),B=i?(0,_.jsx)(p.Z,{iconMain:(0,_.jsx)(w,{}),iconActive:(0,_.jsx)(z,{}),action:W}):(0,_.jsx)(m.Z,{type:"button",className:"input-file-field__remove",onClick:W,children:(0,_.jsx)(y,{})});return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)("div",{className:"jsx-".concat(v.__hash)+" input-file-field",children:[(0,_.jsxs)("div",{className:"jsx-".concat(v.__hash)+" input-file-field__upload",children:[i&&(0,_.jsx)(x.Z,{id:s}),!Z&&H]}),Z&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)("div",{className:"jsx-".concat(v.__hash)+" input-file-field__file",children:[(0,_.jsx)("span",{className:"jsx-".concat(v.__hash)+" input-file-field__file-name",children:Z.name}),(0,_.jsxs)("span",{className:"jsx-".concat(v.__hash)+" input-file-field__file-actions",children:[B,i&&(0,_.jsx)("label",{htmlFor:s,className:"jsx-".concat(v.__hash)+" input-file-field__file-replace link-btn",children:(0,_.jsx)(x.Z,{id:"input.file.field.replace"})})]})]}),I&&(0,_.jsx)("span",{className:"jsx-".concat(v.__hash)+" input-file-field__error",children:I})]}),(0,_.jsx)("input",{id:s,type:"file",onChange:function(e){var i=e.target.files[0];if(i){var t;if(P(i),S(!0),f.onChange(null),e.target.value=null,u)if((0,c.UM)(i.size,u))return t=j.formatMessage({id:"errorMessage.FILE_TOO_LARGE"},{size:u}),void E(t);if((0,c.ry)(i))return void E(j.formatMessage({id:"errorMessage.EMPTY_FILE"}));var n=new FormData;n.append("file",i);var s=k?"/files-service/thumbnail":"/files-service";(0,l.Z)([],!0).put((0,d.WT)(s),n,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){if(b){var t=new FileReader;t.addEventListener("load",(function(){var i={fileId:e.data,imagePreview:t.result};f.onChange(i),F&&F(i)}),!1),t.readAsDataURL(i)}else f.onChange(e.data),F&&F(e.data)})).catch((function(e){console.log("error:",e)}))}},accept:r,className:"jsx-".concat(v.__hash)})]}),(0,_.jsx)(o(),{id:v.__hash,children:v})]})};k.defaultProps={accept:"all",maxFileSizeInMB:null,defaultFileName:null,isBlock:!1,hasPreview:!1,isThumbnail:!1,customUploadButton:null,handleInputChange:null};var O=(0,r.ZP)(k)},66449:function(e,i,t){"use strict";t.d(i,{Z:function(){return u}});var n=t(59499),s=t(95627),o=t.n(s),a=t(67294),l=t(81768),r=t(37808),c=t(93967),d=t.n(c),h=(t(34338),t(95952)),m=[".confirmation.jsx-3790568555{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}",".confirmation__btn.jsx-3790568555{display:block;background:none;border:none;outline:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:16px;padding:0;cursor:pointer;}",".confirmation__container.jsx-3790568555{position:absolute;z-index:2000;min-width:120px;min-height:120px;top:40px;right:-".concat(h.W0.s,";}"),".confirmation__container--up.jsx-3790568555{top:auto;bottom:100%;}",'.confirmation__container.jsx-3790568555:after,.confirmation__container.jsx-3790568555:before{z-index:2000;left:100%;border:solid transparent;content:" ";height:0;width:0;position:relative;pointer-events:none;}','.confirmation__container.jsx-3790568555:before,.confirmation__container--up.jsx-3790568555:before{position:absolute;content:"";width:0;height:0;margin-left:-35px;top:-8px;border-width:8px;border-color:#fff #fff transparent transparent;box-sizing:border-box;box-shadow:3px -3px 3px rgba(124,124,124,0.1);-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);}',".confirmation__container--up.jsx-3790568555:before{-webkit-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg);top:auto;bottom:8px;margin-left:-12px;}",".confirmation__content.jsx-3790568555{margin-top:-8px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;
1-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;justify-items:center;background:#ffffff;box-shadow:0 2px 10px 0 rgba(4,4,41,0.15);border-radius:2px;font-size:14px;overflow:hidden;color:".concat(h.O9.secondary,";padding:").concat(h.W0.xs,";}"),".confirmation__text.jsx-3790568555{text-align:center;font-size:".concat(h.JB.s,";margin:").concat(h.W0.xs,";padding:").concat(h.W0.xs," 0;}"),".confirmation__actions.jsx-3790568555{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}",".confirmation__actions.jsx-3790568555>*{-webkit-flex:50%;-ms-flex:50%;flex:50%;margin:".concat(h.W0.xs,";}"),"@media screen and (max-width:".concat(h.J7.desktopCutoff,"){.confirmation__container.jsx-3790568555{margin:1px;padding-right:10px;}}")];m.__hash="3790568555";var p=m,x=t(85893),f=function(e){var i=e.iconMain,t=e.iconActive,s=e.textKey,c=e.primaryBtn,h=e.secondaryBtn,m=e.action,f=e.buttonClass,u=(0,a.useState)(!1),v=u[0],_=u[1],j=(0,a.useState)(!1),b=j[0],g=j[1],y=a.createRef();(0,a.useEffect)((function(){y.getBoundingClientRect().y>400&&g(!0)}),[]);var w=function(){_(!v)},z=d()((0,n.Z)({confirmation__btn:!0},f,!!f));return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)("span",{ref:function(e){y=e},className:"jsx-".concat(p.__hash)+" confirmation",children:[(0,x.jsx)("button",{type:"button",onClick:w,className:"jsx-".concat(p.__hash)+" "+(z||""),children:v&&t?t:i}),v&&(0,x.jsx)("div",{className:"jsx-".concat(p.__hash)+" "+(d()({confirmation__container:!0,"confirmation__container--up":b})||""),children:(0,x.jsxs)("div",{className:"jsx-".concat(p.__hash)+" confirmation__content",children:[(0,x.jsx)("p",{className:"jsx-".concat(p.__hash)+" confirmation__text",children:(0,x.jsx)(r.Z,{id:s})}),(0,x.jsxs)("div",{className:"jsx-".concat(p.__hash)+" confirmation__actions",children:[(0,x.jsx)(l.Z,{isSecondary:!0,onClick:w,children:(0,x.jsx)(r.Z,{id:h})}),(0,x.jsx)(l.Z,{isNegative:!0,onClick:function(){m(),w()},children:(0,x.jsx)(r.Z,{id:c})})]})]})})]}),(0,x.jsx)(o(),{id:p.__hash,children:p})]})};f.defaultProps={iconActive:null,textKey:"confirmation.title.default",primaryBtn:"confirmation.primary.default",secondaryBtn:"confirmation.secondary.default",buttonClass:null};var u=f},20165:function(e,i,t){"use strict";t.d(i,{Z:function(){return k}});t(69358),t(59749),t(38077),t(60228),t(81919),t(47522),t(99474);var n=t(59499),s=t(95627),o=t.n(s),a=(t(67294),t(93967)),l=t.n(a),r=(t(34338),t(95952)),c=[".step-button.jsx-3936636301{border:1px solid ".concat(r.O9.active,";border-radius:50%;height:24px;width:24px;}"),".step-button--active.jsx-3936636301{color:".concat(r.O9.primary,";border-color:").concat(r.O9.grey2,";}"),".step-button--active.jsx-3936636301>svg>path{fill:".concat(r.O9.primary,";}"),".step-button--error.jsx-3936636301{color:".concat(r.O9.negative,";border-color:").concat(r.O9.negative,";}"),".step-button--error.jsx-3936636301>svg>path{fill:".concat(r.O9.negative,";}"),".step-button.jsx-3936636301>svg{margin-left:-1px;margin-top:-1px;}",".step-button--4.jsx-3936636301>svg,.step-button--6.jsx-3936636301>svg{margin-left:-1.5px;}"];c.__hash="3936636301";var d=c,h=t(85893);function m(e,i){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);i&&(n=n.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var i=1;i<arguments.length;i++){var t=null!=arguments[i]?arguments[i]:{};i%2?m(Object(t),!0).forEach((function(i){(0,n.Z)(e,i,t[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):m(Object(t)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))}))}return e}var x=function(e){return(0,h.jsx)("svg",p(p({},e),{},{children:(0,h.jsx)("path",{d:"M12.885 17h-1.107V9.877c0-.592.018-1.153.055-1.682a7.23 7.23 0 0 1-.322.301c-.118.105-.66.55-1.627 1.333l-.601-.78 2.645-2.043h.957V17z",fill:"#2F8DFC"})}))};x.defaultProps={width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg"};var f=function(e){return(0,h.jsx)("svg",p(p({},e),{},{children:(0,h.jsx)("path",{d:"M15.25 17H8.681v-.978l2.632-2.645c.802-.811 1.33-1.39 1.586-1.736.255-.347.447-.684.574-1.012.128-.328.192-.681.192-1.06 0-.533-.162-.956-.486-1.268-.323-.312-.772-.468
1-1.346-.468-.415 0-.808.068-1.18.205-.371.137-.785.385-1.24.745l-.602-.772c.92-.766 1.923-1.149 3.008-1.149.939 0 1.675.24 2.208.721.533.481.8 1.127.8 1.938 0 .634-.178 1.26-.534 1.88-.355.62-1.02 1.404-1.996 2.352l-2.187 2.14v.054h5.14V17z",fill:"#2F8DFC"})}))};f.defaultProps={width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg"};var u=function(e){return(0,h.jsx)("svg",p(p({},e),{},{children:(0,h.jsx)("path",{d:"M14.875 9.357c0 .638-.18 1.16-.537 1.566-.358.405-.865.677-1.521.813v.055c.802.1 1.397.355 1.784.766.387.41.581.948.581 1.613 0 .952-.33 1.685-.991 2.198-.66.512-1.6.769-2.816.769-.53 0-1.013-.04-1.453-.12-.44-.08-.867-.22-1.282-.42v-1.08c.433.214.895.377 1.384.488.49.112.954.168 1.392.168 1.727 0 2.59-.677 2.59-2.03 0-1.213-.952-1.819-2.857-1.819h-.984v-.977h.998c.779 0 1.396-.172 1.852-.516.456-.345.684-.822.684-1.433 0-.487-.168-.87-.503-1.148-.335-.278-.79-.417-1.363-.417-.438 0-.85.06-1.238.178-.387.118-.83.337-1.326.656l-.574-.766c.41-.323.883-.577 1.418-.762a5.155 5.155 0 0 1 1.692-.277c.97 0 1.725.222 2.263.667.538.444.807 1.054.807 1.828z",fill:"#2F8DFC"})}))};u.defaultProps={width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg"};var v=function(e){return(0,h.jsx)("svg",p(p({},e),{},{children:(0,h.jsx)("path",{d:"M15.722 14.703H14.24V17h-1.087v-2.297h-4.86v-.991l4.744-6.76h1.203v6.719h1.483v1.032zm-2.57-1.032v-3.322c0-.652.023-1.388.068-2.208h-.054c-.22.437-.424.8-.616 1.087L9.426 13.67h3.726z",fill:"#2F8DFC"})}))};v.defaultProps={width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg"};var _=function(e){return(0,h.jsx)("svg",p(p({},e),{},{children:(0,h.jsx)("path",{d:"M11.805 10.896c1.053 0 1.881.26 2.485.782.604.522.906 1.236.906 2.143 0 1.035-.33 1.846-.988 2.434-.659.588-1.567.882-2.724.882-1.126 0-1.985-.18-2.577-.54v-1.094c.319.205.715.366 1.19.482a5.87 5.87 0 0 0 1.4.174c.803 0 1.426-.189 1.87-.567.445-.378.667-.925.667-1.64 0-1.395-.855-2.093-2.564-2.093-.433 0-1.012.066-1.736.199l-.588-.376.376-4.676h4.97v1.046h-4l-.252 3a7.965 7.965 0 0 1 1.565-.156z",fill:"#2F8DFC"})}))};_.defaultProps={width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg"};var j=function(e){return(0,h.jsx)("svg",p(p({},e),{},{children:(0,h.jsx)("path",{d:"M8.797 12.728c0-1.965.382-3.433 1.145-4.406.764-.973 1.893-1.46 3.388-1.46.515 0 .92.044 1.216.13v.978a3.893 3.893 0 0 0-1.203-.171c-1.07 0-1.889.334-2.454 1.001-.565.668-.875 1.717-.93 3.148h.083c.5-.784 1.294-1.176 2.378-1.176.898 0 1.606.272 2.123.814.517.542.776 1.278.776 2.208 0 1.039-.284 1.856-.851 2.45-.568.595-1.334.893-2.3.893-1.035 0-1.855-.389-2.461-1.166-.607-.777-.91-1.858-.91-3.243zm3.357 3.445c.647 0 1.15-.204 1.507-.612.358-.408.537-.997.537-1.767 0-.66-.167-1.18-.5-1.559-.332-.378-.829-.567-1.49-.567-.41 0-.786.084-1.127.253a2.087 2.087 0 0 0-.817.697 1.612 1.612 0 0 0-.305.923c0 .47.092.907.274 1.313.182.405.44.726.776.963.335.237.716.356 1.145.356z",fill:"#2F8DFC"})}))};j.defaultProps={width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg"};var b=function(e){return(0,h.jsx)("svg",p(p({},e),{},{children:(0,h.jsx)("path",{fill:"#2F8DFC",d:"m9.946 17 4.142-8.948H8.64V7.006h6.652v.909L11.204 17z"})}))};b.defaultProps={width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg"};var g=function(e){return(0,h.jsx)("svg",p(p({},e),{},{children:(0,h.jsx)("path",{d:"M11.99 6.862c.911 0 1.634.212 2.167.636.533.424.8 1.01.8 1.757 0 .492-.153.941-.458 1.347-.306.405-.793.774-1.463 1.107.81.387 1.387.794 1.73 1.22.34.426.512.92.512 1.48 0 .83-.29 1.492-.868 1.986-.58.494-1.372.742-2.38.742-1.066 0-1.886-.234-2.46-.701-.574-.467-.862-1.129-.862-1.986 0-1.144.698-2.035 2.092-2.673-.629-.355-1.08-.74-1.353-1.152a2.45 2.45 0 0 1-.41-1.384c0-.724.267-1.302.803-1.733.535-.43 1.252-.646 2.15-.646zm-2.16 7.616c0 .546.19.973.57 1.278.38.305.915.458 1.603.458.68 0 1.208-.16 1.586-.479.379-.319.568-.756.568-1.312 0-.442-.178-.835-.533-1.18-.356-.343-.976-.677-1.86-1-.679.29-1.171.613-1.476.966a1.874 1.874 0 0 0-.458 1.269zm2.146-6.693c-.57 0-1.016.137-1.34.41-.323.274-.485.638-.485 1.094 0 .42.134.78.403 1.08.27.3.766.602 1.49.902.652-.273 1.114-.567 1.385-.881a1.64 1.64 0 0 0 .406-1.1c0-.461-.165-.827-.495-1.098-.33-.271-.785-.407-1.364-.407z",fill:"#2F8DFC"})}))};g.defaultProps={width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg"};var y=function(e){return(0,h.jsx)("svg",p(p({},e),{},{children:(0,h.jsx)("path",{d:"M15.25 11.271c0 3.91-1.513 5.866-4.539 5.866-.528 0-.947-.046-1.257-.137v-.978a4 4 0 0 0 1.244.178c1.094 0 1.92-.338 2.478-1.015.558-.677.862-1.715.912-3.114h-.082a2.42 2.42 0 0 1-.998.865 3.209 3.209 0 0 1-1.401.297c-.884 0-1.586-.264-2.106-.793-.52-.528-.779-1.266-.779-2.214 0-1.04.29-1.86.872-2.461.58-.602 1.345-.903 2.293-.903.68 0 1.273.175 1.781.523.508.349.899.857 1.172 1.525.274.667.41 1.455.41 2.361zm-3.363-3.438c-.651 0-1.155.21-1.51.629-.356.42-.534 1.003-.534 1.75 0 .656.164 1.172.492 1.548.329.376.828.564 1.498.564.414 0 .796-.084 1.145-.253.348-.168.623-.398.823-.69.2-.292.301-.597.301-.916 0-.479-.093-.92-.28-1.326a2.312 2.312 0 0 0-.783-.957 1.971 1.971 0 0 0-1.152-.349z",fill:"#2F8DFC"})}))};y.defaultProps={width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg"};var w=function(e){switch(e){case 1:return(0,h.jsx)(x,{});case 2:return(0,h.jsx)(f,{});case 3:return(0,h.jsx)(u,{});case 4:return(0,h.jsx)(v,{});case 5:return(0,h.jsx)(_,{});case 6:return(0,h.jsx)(j,{});case 7:return(0,h.jsx)(b,{});case 8:return(0,h.jsx)(g,{});default:return(0,h.jsx)(y,{})}},z=function(e){var i=e.number,t=e.active,s=e.error,a=function(e){return e<0?0:e>9?9:e}(i),r=l()((0,n.Z)({"step-button":!0,"step-button--active":t,"step-button--error":s},"step-button--".concat(a),!0));return(0,h.jsxs)("div",{className:"jsx-".concat(d.__hash)+" "+(r||""),children:[w(i),(0,h.jsx)(o(),{id:d.__hash,children:d})]})};z.defaultProps={active:!1,error:!1};var k=z},51419:function(e,i,t){"use strict";t.r(i),t.d(i,{__N_SSP:function(){return $},default:function(){return Y}});var n=t(67294),s=t(2664),o=t(9008),a=t.n(o),l=t(21137),r=t(89373),c=t(95627),d=t.n(c),h=(t(60228),t(47522),t(34338),t(69358),t(64043),t(9873),t(37808)),m=t(72772),p=t(11163),x=t(20165),f=t(81768),u=(t(59749),t(38077),t(81919),t(99474),t(59499)),v=t(71321),_=t
1(69065),j=t(82929),b=t(76850),g=t(80557),y=t(1074),w=t(3419),z=t(86361),k=t(95952),O=[".child-employer__loading.jsx-2612224869{min-height:200px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}",".child-employer__form.jsx-2612224869{padding:0 ".concat(k.W0.l,";}"),".child-employer__form-group-header.jsx-2612224869{margin-bottom:".concat(k.W0.xs,";}"),".child-employer__form-title.jsx-2612224869{margin-top:0;margin-bottom:".concat(k.W0.s,";}"),".child-employer__form-images.jsx-2612224869{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;margin-top:12px;}",".child-employer__form-cover__area.jsx-2612224869{width:100%;height:300px;overflow:hidden;}",".child-employer__form-cover__area.jsx-2612224869 *{width:100%;height:300px;object-fit:cover;object-position:center;}",".child-employer__form-logo__area.jsx-2612224869{width:100%;height:120px;margin-top:-120px;margin-bottom:16px;padding:28px 20px 20px;background:rgba(4,4,41,0.86);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".child-employer__form-logo__img.jsx-2612224869{width:80px;height:80px;margin-right:46px;background:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}",".child-employer__form-logo__img.jsx-2612224869 *{max-width:80px;max-height:80px;}",".child-employer__form-logo__position.jsx-2612224869{color:#fff;margin:0;}",".child-employer__form-cover-area-mobile.jsx-2612224869{width:100%;min-height:80px;max-height:180px;overflow:hidden;}",".child-employer__form-cover-area-mobile.jsx-2612224869 *{width:100%;height:182px;object-fit:cover;object-position:center;}",".child-employer__form-logo-area-mobile.jsx-2612224869{width:100%;height:80px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}",".child-employer__form-logo-area-mobile-img.jsx-2612224869{width:82px;height:82px;background:#fff;border:1px solid ".concat(k.O9.grey3,";display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin-top:-40px;}"),".child-employer__form-logo-area-mobile-img.jsx-2612224869 img{max-width:80px;max-height:80px;}","@media screen and (max-width:".concat(k.J7.desktopCutoff,"){.child-employer__form.jsx-2612224869{padding:0;}.child-employer__form-section.jsx-2612224869{padding:0 ").concat(k.W0.s,";}}")];O.__hash="2612224869";var F=O,N=t(85893);function Z(e,i){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);i&&(n=n.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),t.push.apply(t,n)}return t}function P(e){for(var i=1;i<arguments.length;i++){var t=null!=arguments[i]?arguments[i]:{};i%2?Z(Object(t),!0).forEach((function(i){(0,u.Z)(e,i,t[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Z(Object(t)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))}))}return e}var C=function(e){return(0,N.jsx)("svg",P(P({},e),{},{children:(0,N.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,N.jsx)("path",{fill:"#FFF",d:"M0 0h80v80H0z"}),(0,N.jsxs)("g",{fillRule:"nonzero",children:[(0,N.jsx)("path",{d:"M32.5 27.5h15V26a7.5 7.5 0 0 0-15 0v1.5z",stroke:"#B3B3BE",strokeWidth:"3"}),(0,N.jsx)("path",{fill:"#B3B3BE",d:"M16 29h48v30H16z"}),(0,N.jsx)("path",{d:"M16 26h48v4c0 6.627-5.373 12-12 12H28c-6.627 0-12-5.373-12-12v-4z",fill:"#DADADF"}),(0,N.jsx)("path",{fill:"#B3B3BE",d:"M36 37h8v6h-8z"}),(0,N.jsx)("path",{d:"M38 39h4v5a2 2 0 1 1-4 0v-5z",fill:"#F2F2F4"})]})]})}))};C.defaultProps={width:"80",height:"80",xmlns:"http://www.w3.org/2000/svg"};var I=function(e){return(0,N.jsxs)("svg",P(P({},e),{},{children:[(0,N.jsx)("path",{fill:"#DADADF",d:"M0 0h724v300H0z"}),(0,N.jsx)("path",{fill:"#F2F2F4",opacity:".4",d:"M12 16h24v24H12V16zm12 40c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm40-40c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zM52 56h24v24H52V56zm40-40h24v24H92V16zm12 40c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm40-40c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm-12 40h24v24h-24V56zm40-40h24v24h-24V16zm12 40c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm40-40c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm-12 40h24v24h-24V56zm40-40h24v24h-24V16zm12 40c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm40-40c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm-12 40h24v24h-24V56zm40-40h24v24h-24V16zm12 40c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm40-40c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm-12 40h24v24h-24V56zm40-40h24v24h-24V16zm12 40c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm40-40c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm-12 40h24v24h-24V56zm40-40h24v24h-24V16zm12 40c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm40-40c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm-12 40h24v24h-24V56zm40-40h24v24h-24V16zm12 40c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm40-40c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm-12 40h24v24h-24V56zm40-40h24v24h-24V16zm12 40c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm40-40c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm-12 40h24v24h-24V56zM12 96h24v24H12V96zm52 0c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28 0h24v24H92V96zm52 0c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28 0h24v24h-24V96zm52 0c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28 0h24v24h-24V96zm52 0c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28 0h24v24h-24V96zm52 0c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28 0h24v24h-24V96zm52 0c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28 0h24v24h-24V96zm52 0c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28 0h24v24h-24V96zm52 0c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28 0h24v24h-24V96zm52 0c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zM24 136c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm0 80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28-80h24v24H
152v-24zm0 80h24v24H52v-24zm52-80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm0 80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28-80h24v24h-24v-24zm0 80h24v24h-24v-24zm52-80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm0 80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28-80h24v24h-24v-24zm0 80h24v24h-24v-24zm52-80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm0 80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28-80h24v24h-24v-24zm0 80h24v24h-24v-24zm52-80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm0 80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28-80h24v24h-24v-24zm0 80h24v24h-24v-24zm52-80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm0 80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28-80h24v24h-24v-24zm0 80h24v24h-24v-24zm52-80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm0 80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28-80h24v24h-24v-24zm0 80h24v24h-24v-24zm52-80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm0 80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28-80h24v24h-24v-24zm0 80h24v24h-24v-24zm52-80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm0 80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28-80h24v24h-24v-24zm0 80h24v24h-24v-24zM12 176h24v24H12v-24zm0 80h24v24H12v-24zm52-80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm0 80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28-80h24v24H92v-24zm0 80h24v24H92v-24zm52-80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm0 80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28-80h24v24h-24v-24zm0 80h24v24h-24v-24zm52-80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm0 80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28-80h24v24h-24v-24zm0 80h24v24h-24v-24zm52-80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm0 80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28-80h24v24h-24v-24zm0 80h24v24h-24v-24zm52-80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm0 80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28-80h24v24h-24v-24zm0 80h24v24h-24v-24zm52-80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm0 80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28-80h24v24h-24v-24zm0 80h24v24h-24v-24zm52-80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm0 80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28-80h24v24h-24v-24zm0 80h24v24h-24v-24zm52-80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm0 80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm28-80h24v24h-24v-24zm0 80h24v24h-24v-24zm52-80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12zm0 80c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12 5.373-12 12-12z"})]}))};I.defaultProps={width:"724",height:"300",xmlns:"http://www.w3.org/2000/svg"};var E=function(e){var i=e.handleSubmit,t=e.employer,s=e.addGalleryItem,o=e.removeGalleryItem,a=e.initialize,l=e.employer.employerSettings,r=(0,n.useState)(!1),c=r[0],m=r[1],p=(0,n.use
1State)(null),x=p[0],f=p[1],u=(0,n.useState)(null),_=u[0],k=u[1];(0,n.useEffect)((function(){l?(l.coverFileId=void 0,l.logoFileId=void 0,l.gallery=[]):l={},a(l),m(!0)}),[]);var O=[];t.employerSettings&&(O=t.employerSettings.gallery);var Z=x?(0,N.jsx)("img",{alt:(0,N.jsx)(h.Z,{id:"vacancy.company.form.logo"}),src:x}):(0,N.jsx)(C,{}),P=_?(0,N.jsx)("img",{alt:(0,N.jsx)(h.Z,{id:"vacancy.company.form.cover"}),src:_}):(0,N.jsx)(I,{});return c?(0,N.jsxs)("form",{onSubmit:i,className:"jsx-".concat(F.__hash)+" child-employer__form",children:[(0,N.jsxs)("div",{className:"jsx-".concat(F.__hash)+" child-employer__form-section",children:[(0,N.jsx)("h1",{className:"jsx-".concat(F.__hash),children:(0,N.jsx)(h.Z,{id:"child.employer.company.information"})}),(0,N.jsx)(v.Z,{name:"companyName",label:"vacancy.company.form.name.label",component:j.Z,validate:[w.C1],type:"text",isFullWidth:!0}),(0,N.jsx)("h4",{className:"jsx-".concat(F.__hash)+" child-employer__form-group-header",children:(0,N.jsx)(h.Z,{id:"vacancy.company.form.images.label"})}),(0,N.jsx)("div",{className:"jsx-".concat(F.__hash)+" secondary-text",children:(0,N.jsx)(h.Z,{id:"vacancy.company.form.images.description"})}),(0,N.jsxs)("div",{className:"jsx-".concat(F.__hash)+" child-employer__form-images",children:[(0,N.jsx)("div",{className:"jsx-".concat(F.__hash)+" child-employer__form-cover__area hide-mobile",children:P}),(0,N.jsxs)("div",{className:"jsx-".concat(F.__hash)+" child-employer__form-logo__area hide-mobile",children:[(0,N.jsx)("div",{className:"jsx-".concat(F.__hash)+" child-employer__form-logo__img hide-mobile",children:Z}),(0,N.jsx)("h2",{className:"jsx-".concat(F.__hash)+" child-employer__form-logo__position hide-mobile",children:(0,N.jsx)(h.Z,{id:"child.employer.position.name"})})]}),(0,N.jsx)("div",{className:"jsx-".concat(F.__hash)+" child-employer__form-cover-area-mobile hide-desktop",children:P}),(0,N.jsx)("div",{className:"jsx-".concat(F.__hash)+" child-employer__form-logo-area-mobile hide-desktop",children:(0,N.jsx)("div",{className:"jsx-".concat(F.__hash)+" child-employer__form-logo-area-mobile-img",children:Z})})]}),(0,N.jsx)(v.Z,{name:"logoFileId",label:"vacancy.company.form.logo",component:g.Z,accept:".jpg, .jpeg, .png",maxFileSizeInMB:5,onChange:function(e){var i;e&&(i=e.imagePreview);f(i)},isFullWidth:!0,hasPreview:!0,isBlock:!0}),(0,N.jsx)(v.Z,{name:"coverFileId",label:"vacancy.company.form.cover",component:g.Z,accept:".jpg, .jpeg, .png",maxFileSizeInMB:5,onChange:function(e){var i;e&&(i=e.imagePreview);k(i)},isFullWidth:!0,hasPreview:!0,isBlock:!0})]}),(0,N.jsx)("hr",{className:"jsx-".concat(F.__hash)}),(0,N.jsxs)("div",{className:"jsx-".concat(F.__hash)+" child-employer__form-section",children:[(0,N.jsx)("h4",{className:"jsx-".concat(F.__hash)+" child-employer__form-group-header",children:(0,N.jsx)(h.Z,{id:"vacancy.company.form.about"})}),(0,N.jsx)(v.Z,{name:"about",label:"vacancy.company.form.about.label",component:b.Z,validate:[w.pG],isFullWidth:!0,useInputValue:!0}),(0,N.jsx)("h4",{className:"jsx-".concat(F.__hash)+" child-employer__form-group-header",children:(0,N.jsx)(h.Z,{id:"vacancy.company.form.gallery"})}),(0,N.jsx)(y.Z,{images:O,addGalleryItem:s,removeGalleryItem:o})]}),(0,N.jsx)("hr",{className:"jsx-".concat(F.__hash)}),(0,N.jsxs)("div",{className:"jsx-".concat(F.__hash)+" child-employer__form-section",children:[(0,N.jsx)("h4",{className:"jsx-".concat(F.__hash)+" child-employer__form-group-header",children:(0,N.jsx)(h.Z,{id:"vacancy.company.form.video.value"})}),(0,N.jsx)(v.Z,{name:"videoUrl",label:"vacancy.company.form.video.label",component:j.Z,validate:[w.Pv],isFullWidth:!0}),(0,N.jsx)("h4",{className:"jsx-".concat(F.__hash)+" child-employer__form-group-header",children:(0,N.jsx)(h.Z,{id:"vacancy.company.form.webpage.value"})}),(0,N.jsx)(v.Z,{name:"webpageUrl",label:"vacancy.company.form.webpage.label",component:j.Z,validate:[w.Pv],isFullWidth:!0})]}),(0,N.jsx)(d(),{id:F.__hash,children:F})]}):(0,N.jsxs)("div",{className:"jsx-".concat(F.__hash)+" child-employer__loading",children:[(0,N.jsx)(z.Z,{size:"24px"}),(0,N.jsx)(d(),{id:F.__hash,children:F})]})};E.defaultProps={};var M={form:"child-employer-info-form",enableReinitialize:!0,keepDirtyOnReinitialize:!0,onSubmitFail:function(e){console.warn("form submit fail",e)}},V=(0,_.Z)(M)(E),S=(t(50886),t(45536)),W=[".child-employer__users-form.jsx-4140247724{padding:0 ".concat(k.W0.l," ").concat(k.W0.l,";display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}"),".child-employer__users-form-item.jsx-4140247724{margin:".concat(k.W0.xs," 0;}"),"@media screen and (max-width:".concat(k.J7.desktopCutoff,"){}")];W.__hash="4140247724";var D=W,H=function(e){var i=e.handleSubmit,t=e.employer,n=e.user;return(0,N.jsxs)("form",{onSubmit:i,className:"jsx-".concat(D.__hash)+" child-employer__users-form",children:[(0,N.jsx)("h1",{className:"jsx-".concat(D.__hash),children:(0,N.jsx)(h.Z,{id:"child.employer.company.users"})}),t.users.length>1?t.users.map((function(e){return e.id!==n.id&&!!e.firstName&&(0,N.jsx)("div",{className:"jsx-".concat(D.__hash)+" child-employer__users-form-item",children:(0,N.jsx)(v.Z,{name:"user-".concat(e.id),component:S.Z,label:"".concat(e.firstName," ").concat(e.lastName),disableFormattedMessage:!0})},e.id)})):(0,N.jsx)(h.Z,{id:"child.employer.company.no.users"}),(0,N.jsx)(d(),{id:D.__hash,children:D})]})};H.defaultProps={};var B={form:"child-employer-users-form",enableReinitialize:!0,keepDirtyOnReinitialize:!0,onSubmitFail:function(e){console.warn("form submit fail",e)}},L=(0,_.Z)(B)(H),R=t(93967),U=t.n(R),G=[".child-employer__title.jsx-2179137539{margin-bottom:24px;color:#818194;}",".child-employer__content.jsx-2179137539{width:66%;border:1px solid ".concat(k.O9.grey3,";border-radius:2px;margin:0 0 ").concat(k.W0.m," 0;
1display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}"),".child-employer__header.jsx-2179137539{padding:".concat(k.W0.s," ").concat(k.W0.m," ").concat(k.W0.xs,";display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;border-bottom:1px solid ").concat(k.O9.grey3,";}"),".nav-item.jsx-2179137539{background:#fff;width:88px;text-align:center;padding:0 ".concat(k.W0.xxs,";-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}"),".nav-item__circle.jsx-2179137539{display:inline-block;position:relative;margin:0;}",'.nav-item__circle.jsx-2179137539::before{content:"";display:inline-block;position:absolute;right:150%;top:50%;width:48px;height:1px;background:'.concat(k.O9.grey3,";}"),".nav-item.jsx-2179137539:first-of-type>.nav-item__circle.jsx-2179137539::before{display:none;}",".nav-item__label.jsx-2179137539{display:block;font-size:12px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:".concat(k.O9.active,";}"),".nav-item__label--active.jsx-2179137539{color:".concat(k.O9.secondary,";}"),".nav-item__label--errors.jsx-2179137539{color:".concat(k.O9.negative,";}"),".child-employer__footer.jsx-2179137539{border-top:1px solid ".concat(k.O9.grey3,";height:71px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:").concat(k.W0.l,";}"),".child-employer__footer.jsx-2179137539>button{min-width:30%;}",".child-employer__footer.jsx-2179137539>*:last-of-type{margin-left:auto;}","@media screen and (max-width:".concat(k.J7.desktopCutoff,"){.child-employer.jsx-2179137539{display:block;}.child-employer__content.jsx-2179137539{width:100%;border:0;margin:0;}.child-employer__header.jsx-2179137539{overflow:hidden;padding:0;padding-bottom:").concat(k.W0.xs,";margin-bottom:").concat(k.W0.xs,";}.child-employer__footer.jsx-2179137539{padding:0;bottom:0;margin:0;}.child-employer__footer.jsx-2179137539>button{-webkit-flex:50%;-ms-flex:50%;flex:50%;min-width:40%;margin:").concat(k.W0.s,";}.child-employer__footer.jsx-2179137539>*:first-child{margin-left:").concat(k.W0.s,";}.child-employer__footer.jsx-2179137539>*:last-child{margin:0 ").concat(k.W0.s," 0 ").concat(k.W0.xs,";}}")];G.__hash="2179137539";var A=G,T=function(e){var i=(0,p.useRouter)(),t=function(t){var n=e.childEmployerId,s=e.addChildEmployerUsers,o=[];Object.keys(t).forEach((function(e){var i=e.split("user-").pop();o.push(parseInt(i,10))}));var a=function(){return i.push("/employer/".concat(n,"/settings/information"))};o.length>0?s(n,o,a):a()},n=e.employer,s=e.user,o=e.step,a=e.addGalleryItem,l=e.removeGalleryItem,r="info"===o;return(0,N.jsxs)("div",{className:"jsx-".concat(A.__hash)+" child-employer",children:[(0,N.jsx)("h3",{className:"jsx-".concat(A.__hash)+" child-employer__title hide-mobile",children:(0,N.jsx)(h.Z,{id:"child.employer.title"})}),(0,N.jsxs)("div",{className:"jsx-".concat(A.__hash)+" child-employer__content",children:[n.users.length>1&&(0,N.jsxs)("header",{className:"jsx-".concat(A.__hash)+" child-employer__header",children:[(0,N.jsxs)("span",{className:"jsx-".concat(A.__hash)+" nav-item",children:[(0,N.jsx)("span",{className:"jsx-".concat(A.__hash)+" nav-item__circle",children:(0,N.jsx)(x.Z,{number:1,active:r})}),(0,N.jsx)("span",{className:"jsx-".concat(A.__hash)+" "+(U()({"nav-item__label":!0,"nav-item__label--active":r})||""),children:(0,N.jsx)(h.Z,{id:"child.employer.company.information"})})]}),(0,N.jsxs)("span",{className:"jsx-".concat(A.__hash)+" nav-item",children:[(0,N.jsx)("span",{className:"jsx-".concat(A.__hash)+" nav-item__circle",children:(0,N.jsx)(x.Z,{number:2,active:!r})}),(0,N.jsx)("span",{className:"jsx-".concat(A.__hash)+" "+(U()({"nav-item__label":!0,"nav-item__label--active":!r})||""),children:(0,N.jsx)(h.Z,{id:"child.employer.company.users"})})]})]}),r&&(0,N.jsx)(V,{employer:n,onSubmit:function(t){var n=e.employerId,s=e.employer,o=e.addChildEmployer,a={about:t.about,videoUrl:t.videoUrl,webpageUrl:t.webpageUrl};
1if(s.employerSettings){var l=s.employerSettings.gallery,r=[];l.forEach((function(e){return r.push(e.id)})),a.gallery=r}t.logoFileId&&(a.logoFileId=t.logoFileId.fileId),t.coverFileId&&(a.coverFileId=t.coverFileId.fileId);o(n,t.companyName,a,(function(e){return s.users.length>1?i.push("/employer/".concat(n,"/children/").concat(e,"/users")):i.push("/employer/".concat(e,"/settings/information"))}),void 0)},addGalleryItem:a,removeGalleryItem:l}),!r&&(0,N.jsx)(L,{employer:n,onSubmit:t,user:s}),(0,N.jsx)("footer",{className:"jsx-".concat(A.__hash)+" child-employer__footer",children:r?(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(f.Z,{isLoading:n.isLoading,type:"button",onClick:function(){return i.back()},isSecondary:!0,children:(0,N.jsx)(h.Z,{id:"cancel"})}),(0,N.jsx)(f.Z,{isLoading:n.isLoading,type:"button",onClick:function(){return e.submit("child-employer-info-form")},children:(0,N.jsx)(h.Z,{id:"create.label"})})]}):(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(f.Z,{isLoading:n.isLoading,type:"button",onClick:function(){return t({})},isSecondary:!0,children:(0,N.jsx)(h.Z,{id:"skip"})}),(0,N.jsx)(f.Z,{isLoading:n.isLoading,type:"button",onClick:function(){return e.submit("child-employer-users-form")},children:(0,N.jsx)(h.Z,{id:"save"})})]})})]}),(0,N.jsx)(d(),{id:A.__hash,children:A})]})};T.defaultProps={step:"info",childEmployerId:null};var J=(0,s.$j)(null,{submit:m.Ps})(T),q=t(96253),K=t(30455),X=t(86896),$=!0,Y=(0,s.$j)((function(e){return{employer:e.employer,authentication:e.authentication}}),{addChildEmployer:K.qn,addChildEmployerUsers:K.St,addGalleryItem:K.o0,removeGalleryItem:K.Uv,getEmployerUsersSimple:K.dR})((function(e){var i=e.employer,t=e.addChildEmployer,s=e.addChildEmployerUsers,o=e.addGalleryItem,c=e.removeGalleryItem,d=e.authentication,h=e.alma,m=(0,X.Z)(),x=m.locale,f=(0,p.useRouter)().query,u=f.employerId,v=f.childEmployerId,_=f.step,j=d.user,b=(0,n.useState)("info"),g=b[0],y=b[1];return(0,n.useEffect)((function(){e.getEmployerUsersSimple(u,x),_&&_.length>0&&y(_[0])}),[_]),u?(0,N.jsxs)(l.Z,{alma:h,intl:m,error:i.error,title:m.formatMessage({id:"employer.child.employer.add.page.title"}),children:[(0,N.jsx)(a(),{children:(0,N.jsx)("meta",{name:"description",content:m.formatMessage({id:"description.".concat((0,q.ge)()),defaultMessage:"CV-Online"})})}),(0,N.jsx)(r.Z,{noMobilePadding:!0,children:(0,N.jsx)(J,{employer:i,employerId:u,childEmployerId:v,addChildEmployer:t,addChildEmployerUsers:s,addGalleryItem:o,removeGalleryItem:c,step:g,user:j})})]}):null}))},36821:function(e,i,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/employer/[employerId]/children/[childEmployerId]/[[...step]]",function(){return t(51419)}])}},function(e){e.O(0,[3647,5978,9774,2888,179],(function(){return i=36821,e(e.s=i);var i}));var i=e.O();_N_E=i}]);
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.