vendor: 4,302 bytes, lines 1-16
1"use strict";(self.webpackChunkdomni=self.webpackChunkdomni||[]).push([[662,1721,4767,5424,8068,8281,8757,9654],{3865:function(e){ 2/* 3object-assign 4(c) Sindre Sorhus 5@license MIT 6*/ 7var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,a,u=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))r.call(i,c)&&(u[c]=i[c]);if(t){a=t(i);for(var s=0;s<a.length;s++)n.call(i,a[s])&&(u[a[s]]=i[a[s]])}}return u}},1808:function(e,t,r){ 8/** @license React v16.5.2 9 * react.production.min.js 10 * 11 * Copyright (c) Facebook, Inc. and its affiliates. 12 * 13 * This source code is licensed under the MIT license found in the 14 * LICENSE file in the root directory of this source tree. 15 */ 16var n=r(3865),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,l=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,s=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.async_mode"):60111,d=o?Symbol.for("react.forward_ref"):60112;o&&Symbol.for("react.placeholder");var h="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t=arguments.length-1,r="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=0;n<t;n++)r+="&args[]="+encodeURIComponent(arguments[n+1]);!function(e,t,r,n,o,i,a,u){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,n,o,i,a,u],c=0;(e=Error(t.replace(/%s/g,function(){return l[c++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",r)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v={};function g(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||m}function b(){}function _(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||m}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&y("85"),this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=g.prototype;var k=_.prototype=new b;k.constructor=_,n(k,g.prototype),k.isPureReactComponent=!0;var w={current:null,currentDispatcher:null},x=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var n=void 0,o={},a=null,u=null;if(null!=t)for(n in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,n)&&!C.hasOwnProperty(n)&&(o[n]=t[n]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var c=Array(l),s=0;s<l;s++)c[s]=arguments[s+2];o.children=c}if(e&&e.defaultProps)for(n in l=e.defaultProps)void 0===o[n]&&(o[n]=l[n]);return{$$typeof:i,type:e,key:a,ref:u,props:o,_owner:w.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var j=/\/+/g,$=[];function E(e,t,r,n){if($.length){var o=$.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function P(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>$.length&&$.push(e)}function N(e,t,r,n){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var u=!1;if(null===e)u=!0;else switch(o){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case i:case a:u=!0}}
16if(u)return r(n,e,""===t?"."+D(e,0):t),1;if(u=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l<e.length;l++){var c=t+D(o=e[l],l);u+=N(o,c,r,n)}else if(null===e||"object"!=typeof e?c=null:c="function"==typeof(c=h&&e[h]||e["@@iterator"])?c:null,"function"==typeof c)for(e=c.call(e),l=0;!(o=e.next()).done;)u+=N(o=o.value,c=t+D(o,l++),r,n);else"object"===o&&y("31","[object Object]"===(r=""+e)?"object with keys {"+Object.keys(e).join(", ")+"}":r,"");return u}function A(e,t,r){return null==e?0:N(e,"",t,r)}function D(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function V(e,t){e.func.call(e.context,t,e.count++)}function R(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?U(e,n,r,function(e){return e}):null!=e&&(O(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+r)),n.push(e))}function U(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(j,"$&/")+"/"),A(e,R,t=E(t,i,n,o)),P(t)}function M(e,t){var r=w.currentDispatcher;return null===r&&y("277"),r.readContext(e,t)}var T={Children:{map:function(e,t,r){if(null==e)return e;var n=[];return U(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;A(e,V,t=E(null,null,t,r)),P(t)},count:function(e){return A(e,function(){return null},null)},toArray:function(e){var t=[];return U(e,t,null,function(e){return e}),t},only:function(e){return O(e)||y("143"),e}},createRef:function(){return{current:null}},Component:g,PureComponent:_,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,Provider:null,Consumer:null,unstable_read:null}).Provider={$$typeof:s,_context:e},e.Consumer=e,e.unstable_read=M.bind(null,e),e},forwardRef:function(e){return{$$typeof:d,render:e}},Fragment:u,StrictMode:l,unstable_AsyncMode:p,unstable_Profiler:c,createElement:S,cloneElement:function(e,t,r){null==e&&y("267",e);var o=void 0,a=n({},e.props),u=e.key,l=e.ref,c=e._owner;if(null!=t){void 0!==t.ref&&(l=t.ref,c=w.current),void 0!==t.key&&(u=""+t.key);var s=void 0;for(o in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)x.call(t,o)&&!C.hasOwnProperty(o)&&(a[o]=void 0===t[o]&&void 0!==s?s[o]:t[o])}if(1===(o=arguments.length-2))a.children=r;else if(1<o){s=Array(o);for(var f=0;f<o;f++)s[f]=arguments[f+2];a.children=s}return{$$typeof:i,type:e.type,key:u,ref:l,props:a,_owner:c}},createFactory:function(e){var t=S.bind(null,e);return t.type=e,t},isValidElement:O,version:"16.5.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:w,assign:n}},L={default:T},q=L&&T||L;e.exports=q.default||q},8281:function(e,t,r){e.exports=r(1808)},9654:function(e,t,r){r.r(t),r.d(t,{default:function(){return u}});var n=r(8281),o=r.n(n),i=r(8068),a=r(1721);function u(e,t){return class extends o().Component{constructor(e){super(e),this.state={value:e.value||""},this.props.validation&&this.props.validation.indexOf("code")>-1&&(this.codeValidation=!0),this.onChange=this.onChange.bind(this),this.onKeyDown=this.onKeyDown.bind(this)}componentDidMount(){this.updateValue(this.state.value)}componentDidUpdate(e,t){e.value!==this.props.value&&this.setState({value:this.props.value})}onChange(e){let r="";r="select"===t?e.Values[0]:e.target.value,this.noformat?this.noformat=!1:this.codeValidation&&(r=(0,a.formatCode)(r)),this.setState({value:r}),this.updateValue(r)}onKeyDown(e){if(this.codeValidation){let t=/^[\d]+$/g;-1!==i.FUNC_KEYS.indexOf(e.key)||e.ctrlKey||e.target.selectionStart!==e.target.selectionEnd||t.test(e.key)?"Backspace"===e.key&&(this.noformat=!0):e.preventDefault()}}updateValue(e){let t={};t[this.props.id]=e,this.props.change(this.props.id,t)}render(){let r="textarea"===t?"form-eshop__text-area-box":"form__inpt";this.props.className&&(r+=" "+this.props.className),this.props.error&&(r+=" form__inpt--error"),this.state.value&&(r+=" inputComplete");let n="textarea"===t?"form-eshop__text-area":"form__inpt__in";this.props.blocked&&(n+=" form__inpt__in--readonly");let i={blurManage:this.props.onBlur||this.onChange};
16return this.codeValidation&&(i.keydownManage=this.onKeyDown),o().createElement(e,Object.assign({changeManage:this.onChange,inputValue:this.state.value,containerClassName:r,inputClassName:n},this.props,i))}}}},1721:function(e,t,r){function n(e){if("undefiend"==typeof e)return"";let t=e.split("").filter(e=>/\d/.test(e)).slice(0,5);return t.length>1&&t.splice(2,0,"-"),t.join("")}r.r(t),r.d(t,{formatCode:function(){return n}})},4767:function(e,t,r){r.r(t);var n=r(8281),o=r.n(n),i=r(9654),a=r(5591);const u=(0,i.default)(e=>{let t="";return e.error&&("string"==typeof e.errorTxt?t=e.errorTxt:e.errorTxt&&e.errorTxt[e.error]?t=e.errorTxt[e.error]:a.eshop.error[e.error]&&(t=a.eshop.error[e.error]),t||(t=a.eshop.error.default)),o().createElement("div",{className:e.containerClassName},o().createElement("input",{id:e.id,type:"text",name:e.id,className:e.inputClassName,readOnly:e.blocked,value:e.inputValue,onChange:e.changeManage,onKeyDown:e.keydownManage,onBlur:e.blurManage,maxLength:e.maxLength,disabled:e.disabled,autoComplete:e.autocompleteOff?"off":"on"}),o().createElement("label",{htmlFor:e.id,className:"form__inpt__lab"},e.name),o().createElement("span",{className:"error"},t))},"text");t.default=u},8068:function(e,t,r){r.r(t),r.d(t,{FUNC_KEYS:function(){return a},checkCode:function(){return f},checkCodeLetters:function(){return p},checkDesc:function(){return s},checkName:function(){return l},checkNip:function(){return y},checkPhone:function(){return h},checkRequired:function(){return d},checkText:function(){return c},checkUrl:function(){return m},stringLengthValidate:function(){return u}});var n=r(6884),o=r(1419),i=r.n(o);const a=["Down","ArrowDown","Up","ArrowUp","Left","ArrowLeft","Right","ArrowRight","Home","End","Delete","Backspace","Shift","Ctrl","Insert","Tab","Alt"];function u(e,t){return!!e&&e.length>t}function l(e){return!e||/^[0-9A-Za-zÄÄ
ÄÄÄÄÅÅÅÅÃóÅÅŹźŻż,.:;/_?!&()@#$^*'"\+\-\[\]\s]{0,}$/g.test(e)}function c(e){return!e||/^[a-zA-Z0-9ÄÄ
ÄÄÄÄÅÅÅÅÃ󏟯żÅÅ,.:/_\-\s]{0,}$/g.test(e)}function s(e){return!e||/^[0-9A-Za-zÄÄ
ÄÄÄÄÅÅÅÅÃóÅÅŹźŻż,.:/_?!&\-\s]{0,}$/g.test(e)}function f(e){return!!e&&/^[\d]{2}\-[\d]{3}$/g.test(e)}function p(e){return"undefiend"!=typeof e&&e.split("").every((e,t)=>2===t?/^-$/.test(e):/^\d$/.test(e))}function d(e){return!(!e||!e.length)}function h(e){let t=(0,n.o)(e);return!!t&&(t.isValid()&&/^[0-9+-]{0,}$/g.test(e))}function y(e){var t=[6,5,7,2,3,4,5,6,7];if(10===(e=e.replace(/[\s-]/g,"")).length&&parseInt(e,10)>0){for(var r=0,n=0;n<9;n++)r+=e[n]*t[n];return r%11===Number(e[9])}return!1}function m(e){return!i()({website:e},{website:{url:!0}})}}}]);
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.