PageSourceSearch

https://stasher.com/_next/static/chunks/3595-37683eeaed0e67df.js

js stasher.com collected 2026-09-24 10:09:20 UTC 26,451 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="49a7b946-3dfa-4387-9a1f-267136c4118e",e._sentryDebugIdIdentifier="sentry-dbid-49a7b946-3dfa-4387-9a1f-267136c4118e")}catch(e){}}();var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"[email protected]"};"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3595],{63595:function(e,t,r){r.d(t,{TA:function(){return useFormik}});var isMergeableObject=function(e){var t;return!!e&&"object"==typeof e&&"[object RegExp]"!==(t=Object.prototype.toString.call(e))&&"[object Date]"!==t&&e.$$typeof!==n},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function cloneUnlessOtherwiseSpecified(e,t){return!1!==t.clone&&t.isMergeableObject(e)?deepmerge(Array.isArray(e)?[]:{},e,t):e}function defaultArrayMerge(e,t,r){return e.concat(t).map(function(e){return cloneUnlessOtherwiseSpecified(e,r)})}function deepmerge(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||defaultArrayMerge,r.isMergeableObject=r.isMergeableObject||isMergeableObject;var n,a,i=Array.isArray(t);return i!==Array.isArray(e)?cloneUnlessOtherwiseSpecified(t,r):i?r.arrayMerge(e,t,r):(a={},(n=r).isMergeableObject(e)&&Object.keys(e).forEach(function(t){a[t]=cloneUnlessOtherwiseSpecified(e[t],n)}),Object.keys(t).forEach(function(r){n.isMergeableObject(t[r])&&e[r]?a[r]=deepmerge(e[r],t[r],n):a[r]=cloneUnlessOtherwiseSpecified(t[r],n)}),a)}deepmerge.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,r){return deepmerge(e,r,t)},{})};var a=deepmerge,i=r(93589),o=(0,r(1851).Z)(Object.getPrototypeOf,Object),u=r(18533),c=Object.prototype,s=Function.prototype.toString,l=c.hasOwnProperty,f=s.call(Object),lodash_es_isPlainObject=function(e){if(!(0,u.Z)(e)||"[object Object]"!=(0,i.Z)(e))return!1;var t=o(e);if(null===t)return!0;var r=l.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==f},d=r(31667),_arrayEach=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e},p=r(74752),y=r(79651),v=Object.prototype.hasOwnProperty,_assignValue=function(e,t,r){var n=e[t];v.call(e,t)&&(0,y.Z)(n,r)&&(void 0!==r||t in e)||(0,p.Z)(e,t,r)},_copyObject=function(e,t,r,n){var a=!r;r||(r={});for(var i=-1,o=t.length;++i<o;){var u=t[i],c=n?n(r[u],e[u],u,r,e):void 0;void 0===c&&(c=e[u]),a?(0,p.Z)(r,u,c):_assignValue(r,u,c)}return r},h=r(14329),b=r(32957),_=r(66092),m="object"==typeof exports&&exports&&!exports.nodeType&&exports,g=m&&"object"==typeof module&&module&&!module.nodeType&&module,E=g&&g.exports===m?_.Z.Buffer:void 0,S=E?E.allocUnsafe:void 0,_cloneBuffer=function(e,t){if(t)return e.slice();var r=e.length,n=S?S(r):new e.constructor(r);return e.copy(n),n},_copyArray=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t},A=r(41574),j=r(58694),T=r(60532),I=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,j.Z)(t,(0,A.Z)(e)),e=o(e);return t}:T.Z,O=r(1808),F=r(63327),_getAllKeysIn=function(e){return(0,F.Z)(e,b.Z,I)},k=r(23353),C=Object.prototype.hasOwnProperty,_initCloneArray=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&C.call(e,"index")&&(r.index=e.index,r.input=e.input),r},w=r(84073),_cloneArrayBuffer=function(e){var t=new e.constructor(e.byteLength);return new w.Z(t).set(new w.Z(e)),t},_cloneDataView=function(e,t){var r=t?_cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)},R=/\w*$/,_cloneRegExp=function(e){var t=new e.constructor(e.source,R.exec(e));return t.lastIndex=e.lastIndex,t},D=r(17685),M=D.Z?D.Z.prototype:void 0,P=M?M.valueOf:void 0,_cloneTypedArray=function(e,t){var r=t?_cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)},_initCloneByTag=function(e,t,r){var n=e.constructor;switch(t){case"[object ArrayBuffer]":return _cloneArrayBuffer(e);case"[object Boolean]":case"[object Date]":return new n(+e);case"[object DataView]":return _cloneDataView(e,r);
1case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return _cloneTypedArray(e,r);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(e);case"[object RegExp]":return _cloneRegExp(e);case"[object Symbol]":return P?Object(P.call(e)):{}}},x=r(77226),L=Object.create,U=function(){function object(){}return function(e){if(!(0,x.Z)(e))return{};if(L)return L(e);object.prototype=e;var t=new object;return object.prototype=void 0,t}}(),Z=r(72764),V=r(27771),B=r(77008),N=r(21162),H=r(98351),G=H.Z&&H.Z.isMap,W=G?(0,N.Z)(G):function(e){return(0,u.Z)(e)&&"[object Map]"==(0,k.Z)(e)},z=H.Z&&H.Z.isSet,K=z?(0,N.Z)(z):function(e){return(0,u.Z)(e)&&"[object Set]"==(0,k.Z)(e)},$="[object Arguments]",q="[object Function]",Y="[object Object]",J={};J[$]=J["[object Array]"]=J["[object ArrayBuffer]"]=J["[object DataView]"]=J["[object Boolean]"]=J["[object Date]"]=J["[object Float32Array]"]=J["[object Float64Array]"]=J["[object Int8Array]"]=J["[object Int16Array]"]=J["[object Int32Array]"]=J["[object Map]"]=J["[object Number]"]=J[Y]=J["[object RegExp]"]=J["[object Set]"]=J["[object String]"]=J["[object Symbol]"]=J["[object Uint8Array]"]=J["[object Uint8ClampedArray]"]=J["[object Uint16Array]"]=J["[object Uint32Array]"]=!0,J["[object Error]"]=J[q]=J["[object WeakMap]"]=!1;var _baseClone=function baseClone(e,t,r,n,a,i){var u,c=1&t,s=2&t,l=4&t;if(r&&(u=a?r(e,n,a,i):r(e)),void 0!==u)return u;if(!(0,x.Z)(e))return e;var f=(0,V.Z)(e);if(f){if(u=_initCloneArray(e),!c)return _copyArray(e,u)}else{var p,y,v,_,m=(0,k.Z)(e),g=m==q||"[object GeneratorFunction]"==m;if((0,B.Z)(e))return _cloneBuffer(e,c);if(m==Y||m==$||g&&!a){if(u=s||g?{}:"function"!=typeof e.constructor||(0,Z.Z)(e)?{}:U(o(e)),!c)return s?(y=(p=u)&&_copyObject(e,(0,b.Z)(e),p),_copyObject(e,I(e),y)):(_=(v=u)&&_copyObject(e,(0,h.Z)(e),v),_copyObject(e,(0,A.Z)(e),_))}else{if(!J[m])return a?e:{};u=_initCloneByTag(e,m,c)}}i||(i=new d.Z);var E=i.get(e);if(E)return E;i.set(e,u),K(e)?e.forEach(function(n){u.add(baseClone(n,t,r,n,e,i))}):W(e)&&e.forEach(function(n,a){u.set(a,baseClone(n,t,r,a,e,i))});var S=l?s?_getAllKeysIn:O.Z:s?b.Z:h.Z,j=f?void 0:S(e);return _arrayEach(j||e,function(n,a){j&&(n=e[a=n]),_assignValue(u,a,baseClone(n,t,r,a,e,i))}),u},lodash_es_cloneDeep=function(e){return _baseClone(e,5)},Q=r(67294),X=r(69590),ee=r.n(X),tiny_warning_esm=function(e,t){},lodash_es_clone=function(e){return _baseClone(e,4)},et=r(74073),er=r(72714),en=r(77612),ea=r(62281),ei=r(50751),lodash_es_toPath=function(e){return(0,V.Z)(e)?(0,et.Z)(e,ea.Z):(0,er.Z)(e)?[e]:_copyArray((0,en.Z)((0,ei.Z)(e)))};function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}function _assertThisInitialized(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r(8679);var eo=(0,Q.createContext)(void 0);eo.displayName="FormikContext",eo.Provider,eo.Consumer;var isEmptyArray=function(e){return Array.isArray(e)&&0===e.length},isFunction=function(e){return"function"==typeof e},formik_esm_isObject=function(e){return null!==e&&"object"==typeof e},isString=function(e){return"[object String]"===Object.prototype.toString.call(e)},isPromise=function(e){return formik_esm_isObject(e)&&isFunction(e.then)};function getIn(e,t,r,n){void 0===n&&(n=0);for(var a=lodash_es_toPath(t);e&&n<a.length;)e=e[a[n++]];return n===a.length||e?void 0===e?r:e:r}function setIn(e,t,r){for(var n=lodash_es_clone(e),a=n,i=0,o=lodash_es_toPath(t);i<o.length-1;i++){var u=o[i],c=getIn(e,o.slice(0,i+1));if(c&&(formik_esm_isObject(c)||Array.isArray(c)))a=a[u]=lodash_es_clone(c);else{var s=o[i+1];a=a[u]=String(Math.floor(Number(s)))===s&&Number(s)>=0?[]:{}}}return(0===i?e:a)[o[i]]===r?e:(void 0===r?delete a[o[i]]:a[o[i]]=r,0===i&&void 0===r&&delete n[o[i]],n)}var eu={},ec={};function useFormik(e){var t=e.validateOnChange,r=void 0===t||t,n=e.validateOnBlur,i=void 0===n||n,o=e.validateOnMount,u=void 0!==o&&o,c=e.isInitialValid,s=e.enableReinitialize,l=void 0!==s&&s,f=e.onSubmit,d=_objectWithoutPropertiesLoose(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),p=_extends({validateOnChange:r,validateOnBlur:i,validateOnMount:u,onSubmit:f},d),y=(0,Q.useRef)(p.initialValues),v=(0,Q.useRef)(p.initialErrors||eu),h=(0,Q.useRef)(p.initialTouched||ec),b=(0,Q.useRef)(p.initialStatus),_=(0,Q.useRef)(!1),m=(0,Q.useRef)({});(0,Q.useEffect)(function(){return _.current=!0,function(){_.current=!1}},[]);var g=(0,Q.useState)(0)[1],E=(0,Q.useRef)({values:lodash_es_cloneDeep(p.initialValues),errors:lodash_es_cloneDeep(p.initialErrors)||eu,touched:lodash_es_cloneDeep(p.initialTouched)||ec,status:lodash_es_cloneDeep(p.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),S=E.current,A=(0,Q.useCallback)(function(e){var t=E.current;E.current=function(e,t){switch(t.type){case"SET_VALUES":return _extends({},e,{values:t.payload});case"SET_TOUCHED":return _extends({},e,{touched:t.payload});case"SET_ERRORS":if(ee()(e.errors,t.payload))return e;return _extends({},e,{errors:t.payload});case"SET_STATUS":return _extends({},e,{status:t.payload});case"SET_ISSUBMITTING":return _extends({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return _extends({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return _extends({},e,{values:setIn(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return _extends({},e,{touched:setIn(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return _extends({},e,{errors:setIn(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return _extends({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return _extends({},e,{touched:function setNestedObjectValues(e,t,r,n){void 0===r&&(r=new WeakMap),void 0===n&&(n={});for(var a=0,i=Object.keys(e);a<i.length;a++){var o=i[a],u=e[o];formik_esm_isObject(u)?r.get(u)||(r.set(u,!0),n[o]=Array.isArray(u)?[]:{},setNestedObjectValues(u,t,r,n[o])):n[o]=t}return n}(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return _extends({},e,{isSubmitting:!1});default:return e}}(t,e),t!==E.current&&g(function(e){return e+1})},[]),j=(0,Q.useCallback)(function(e,t){return new Promise(function(r,n){var a=p.validate(e,t);null==a?r(eu):isPromise(a)?a.then(function(e){r(e||eu)},function(e){n(e)}):r(a)})},[p.validate]),T=(0,Q.useCallback)(function(e,t){var r,n,a=p.validationSchema,i=isFunction(a)?a(t):a,o=t&&i.validateAt?i.validateAt(t,e):(void 0===r&&(r=!1),n=function prepareDataForValidation(e){var t=Array.isArray(e)?[]:{};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=String(r);!0===Array.isArray(e[n])?t[n]=e[n].map(function(e){return!0===Array.isArray(e)||lodash_es_isPlainObject(e)?prepareDataForValidation(e):""!==e?e:void 0}):lodash_es_isPlainObject(e[n])?t[n]=prepareDataForValidation(e[n]):t[n]=""!==e[n]?e[n]:void 0}return t}(e),i[r?"validateSync":"validate"](n,{abortEarly:!1,context:n}));return new Promise(function(e,t){o.then(function(){e(eu)},function(r){"ValidationError"===r.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return setIn(t,e.path,e.message);for(var r=e.inner,n=Array.isArray(r),a=0,r=n?r:r[Symbol.iterator]();;){if(n){if(a>=r.length)break;i=r[a++]}else{if((a=r.next()).done)break;i=a.value}var i,o=i;getIn(t,o.path)||(t=setIn(t,o.path,o.message))}}return t}(r)):t(r)})})},[p.validationSchema]),I=(0,Q.useCallback)(function(e,t){return new Promise(function(r){return r(m.current[e].validate(t))})},[]),O=(0,Q.useCallback)(function(e){var t=Object.keys(m.current).filter(function(e){return isFunction(m.current[e].validate)});return Promise.all(t.length>0?t.map(function(t){return I(t,getIn(e,t))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")]).then(function(e){return e.reduce(function(e,r,n){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===r||r&&(e=setIn(e,t[n],r)),e},{})})},[I]),F=(0,Q.useCallback)(function(e){return Promise.all([O(e),p.validationSchema?T(e):{},p.validate?j(e):{}]).then(function(e){var t=e[0],r=e[1],n=e[2];return a.all([t,r,n],{arrayMerge:arrayMerge})})},[p.validate,p.validationSchema,O,j,T]),k=useEventCallback(function(e){return void 0===e&&(e=S.values),A({type:"SET_ISVALIDATING",payload:!0}),F(e).then(function(e){return _.current&&(A({type:"SET_ISVALIDATING",payload:!1}),A({type:"SET_ERRORS",payload:e})),e})});
1(0,Q.useEffect)(function(){u&&!0===_.current&&ee()(y.current,p.initialValues)&&k(y.current)},[u,k]);var C=(0,Q.useCallback)(function(e){var t=e&&e.values?e.values:y.current,r=e&&e.errors?e.errors:v.current?v.current:p.initialErrors||{},n=e&&e.touched?e.touched:h.current?h.current:p.initialTouched||{},a=e&&e.status?e.status:b.current?b.current:p.initialStatus;y.current=t,v.current=r,h.current=n,b.current=a;var dispatchFn=function(){A({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:r,touched:n,status:a,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(p.onReset){var i=p.onReset(S.values,q);isPromise(i)?i.then(dispatchFn):dispatchFn()}else dispatchFn()},[p.initialErrors,p.initialStatus,p.initialTouched,p.onReset]);(0,Q.useEffect)(function(){!0===_.current&&!ee()(y.current,p.initialValues)&&l&&(y.current=p.initialValues,C(),u&&k(y.current))},[l,p.initialValues,C,u,k]),(0,Q.useEffect)(function(){l&&!0===_.current&&!ee()(v.current,p.initialErrors)&&(v.current=p.initialErrors||eu,A({type:"SET_ERRORS",payload:p.initialErrors||eu}))},[l,p.initialErrors]),(0,Q.useEffect)(function(){l&&!0===_.current&&!ee()(h.current,p.initialTouched)&&(h.current=p.initialTouched||ec,A({type:"SET_TOUCHED",payload:p.initialTouched||ec}))},[l,p.initialTouched]),(0,Q.useEffect)(function(){l&&!0===_.current&&!ee()(b.current,p.initialStatus)&&(b.current=p.initialStatus,A({type:"SET_STATUS",payload:p.initialStatus}))},[l,p.initialStatus,p.initialTouched]);var w=useEventCallback(function(e){if(m.current[e]&&isFunction(m.current[e].validate)){var t=getIn(S.values,e),r=m.current[e].validate(t);return isPromise(r)?(A({type:"SET_ISVALIDATING",payload:!0}),r.then(function(e){return e}).then(function(t){A({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),A({type:"SET_ISVALIDATING",payload:!1})})):(A({type:"SET_FIELD_ERROR",payload:{field:e,value:r}}),Promise.resolve(r))}return p.validationSchema?(A({type:"SET_ISVALIDATING",payload:!0}),T(S.values,e).then(function(e){return e}).then(function(t){A({type:"SET_FIELD_ERROR",payload:{field:e,value:getIn(t,e)}}),A({type:"SET_ISVALIDATING",payload:!1})})):Promise.resolve()}),R=(0,Q.useCallback)(function(e,t){var r=t.validate;m.current[e]={validate:r}},[]),D=(0,Q.useCallback)(function(e){delete m.current[e]},[]),M=useEventCallback(function(e,t){return A({type:"SET_TOUCHED",payload:e}),(void 0===t?i:t)?k(S.values):Promise.resolve()}),P=(0,Q.useCallback)(function(e){A({type:"SET_ERRORS",payload:e})},[]),x=useEventCallback(function(e,t){var n=isFunction(e)?e(S.values):e;return A({type:"SET_VALUES",payload:n}),(void 0===t?r:t)?k(n):Promise.resolve()}),L=(0,Q.useCallback)(function(e,t){A({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})},[]),U=useEventCallback(function(e,t,n){var a=isFunction(t)?t(getIn(S.values,e)):t;return A({type:"SET_FIELD_VALUE",payload:{field:e,value:a}}),(void 0===n?r:n)?k(setIn(S.values,e,a)):Promise.resolve()}),Z=(0,Q.useCallback)(function(e,t){var r,n=t,a=e;if(!isString(e)){e.persist&&e.persist();var i=e.target?e.target:e.currentTarget,o=i.type,u=i.name,c=i.id,s=i.value,l=i.checked,f=(i.outerHTML,i.options),d=i.multiple;n=t||u||c,a=/number|range/.test(o)?isNaN(r=parseFloat(s))?"":r:/checkbox/.test(o)?function(e,t,r){if("boolean"==typeof e)return!!t;var n=[],a=!1,i=-1;if(Array.isArray(e))n=e,a=(i=e.indexOf(r))>=0;else if(!r||"true"==r||"false"==r)return!!t;return t&&r&&!a?n.concat(r):a?n.slice(0,i).concat(n.slice(i+1)):n}(getIn(S.values,n),l,s):f&&d?Array.from(f).filter(function(e){return e.selected}).map(function(e){return e.value}):s}n&&U(n,a)},[U,S.values]),V=useEventCallback(function(e){if(isString(e))return function(t){return Z(t,e)};Z(e)}),B=useEventCallback(function(e,t,r){return void 0===t&&(t=!0),A({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===r?i:r)?k(S.values):Promise.resolve()}),N=(0,Q.useCallback)(function(e,t){e.persist&&e.persist();var r=e.target,n=r.name,a=r.id;r.outerHTML,B(t||n||a,!0)},[B]),H=useEventCallback(function(e){if(isString(e))return function(t){return N(t,e)};N(e)}),G=(0,Q.useCallback)(function(e){isFunction(e)?A({type:"SET_FORMIK_STATE",payload:e}):A({type:"SET_FORMIK_STATE",payload:function(){return e}})},[]),W=(0,Q.useCallback)(function(e){A({type:"SET_STATUS",payload:e})},[]),z=(0,Q.useCallback)(function(e){A({type:"SET_ISSUBMITTING",payload:e})},[]),K=useEventCallback(function(){return A({type:"SUBMIT_ATTEMPT"}),k().then(function(e){var t,r=e instanceof Error;if(!r&&0===Object.keys(e).length){try{if(t=Y(),void 0===t)return}catch(e){throw e}return Promise.resolve(t).then(function(e){return _.current&&A({type:"SUBMIT_SUCCESS"}),e}).catch(function(e){if(_.current)throw A({type:"SUBMIT_FAILURE"}),e})}if(_.current&&(A({type:"SUBMIT_FAILURE"}),r))throw e})}),$=useEventCallback(function(e){e&&e.preventDefault&&isFunction(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&isFunction(e.stopPropagation)&&e.stopPropagation(),K().catch(function(e){console.warn("Warning: An unhandled error was caught from submitForm(
1)",e)})}),q={resetForm:C,validateForm:k,validateField:w,setErrors:P,setFieldError:L,setFieldTouched:B,setFieldValue:U,setStatus:W,setSubmitting:z,setTouched:M,setValues:x,setFormikState:G,submitForm:K},Y=useEventCallback(function(){return f(S.values,q)}),J=useEventCallback(function(e){e&&e.preventDefault&&isFunction(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&isFunction(e.stopPropagation)&&e.stopPropagation(),C()}),X=(0,Q.useCallback)(function(e){return{value:getIn(S.values,e),error:getIn(S.errors,e),touched:!!getIn(S.touched,e),initialValue:getIn(y.current,e),initialTouched:!!getIn(h.current,e),initialError:getIn(v.current,e)}},[S.errors,S.touched,S.values]),et=(0,Q.useCallback)(function(e){return{setValue:function(t,r){return U(e,t,r)},setTouched:function(t,r){return B(e,t,r)},setError:function(t){return L(e,t)}}},[U,B,L]),er=(0,Q.useCallback)(function(e){var t=formik_esm_isObject(e),r=t?e.name:e,n=getIn(S.values,r),a={name:r,value:n,onChange:V,onBlur:H};if(t){var i=e.type,o=e.value,u=e.as,c=e.multiple;"checkbox"===i?void 0===o?a.checked=!!n:(a.checked=!!(Array.isArray(n)&&~n.indexOf(o)),a.value=o):"radio"===i?(a.checked=n===o,a.value=o):"select"===u&&c&&(a.value=a.value||[],a.multiple=!0)}return a},[H,V,S.values]),en=(0,Q.useMemo)(function(){return!ee()(y.current,S.values)},[y.current,S.values]),ea=(0,Q.useMemo)(function(){return void 0!==c?en?S.errors&&0===Object.keys(S.errors).length:!1!==c&&isFunction(c)?c(p):c:S.errors&&0===Object.keys(S.errors).length},[c,en,S.errors,p]);return _extends({},S,{initialValues:y.current,initialErrors:v.current,initialTouched:h.current,initialStatus:b.current,handleBlur:H,handleChange:V,handleReset:J,handleSubmit:$,resetForm:C,setErrors:P,setFormikState:G,setFieldTouched:B,setFieldValue:U,setFieldError:L,setStatus:W,setSubmitting:z,setTouched:M,setValues:x,submitForm:K,validateForm:k,validateField:w,isValid:ea,dirty:en,unregisterField:D,registerField:R,getFieldProps:er,getFieldMeta:X,getFieldHelpers:et,validateOnBlur:i,validateOnChange:r,validateOnMount:u})}function arrayMerge(e,t,r){var n=e.slice();return t.forEach(function(t,i){if(void 0===n[i]){var o=!1!==r.clone&&r.isMergeableObject(t);n[i]=o?a(Array.isArray(t)?[]:{},t,r):t}else r.isMergeableObject(t)?n[i]=a(e[i],t,r):-1===e.indexOf(t)&&n.push(t)}),n}var es="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?Q.useLayoutEffect:Q.useEffect;function useEventCallback(e){var t=(0,Q.useRef)(e);return es(function(){t.current=e}),(0,Q.useCallback)(function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.current.apply(void 0,r)},[])}(0,Q.forwardRef)(function(e,t){var r,n=e.action,a=_objectWithoutPropertiesLoose(e,["action"]),i=((r=(0,Q.useContext)(eo))||tiny_warning_esm(!1),r),o=i.handleReset,u=i.handleSubmit;return(0,Q.createElement)("form",_extends({onSubmit:u,ref:t,onReset:o,action:null!=n?n:"#"},a))}).displayName="Form";var move=function(e,t,r){var n=copyArrayLike(e),a=n[t];return n.splice(t,1),n.splice(r,0,a),n},swap=function(e,t,r){var n=copyArrayLike(e),a=n[t];return n[t]=n[r],n[r]=a,n},insert=function(e,t,r){var n=copyArrayLike(e);return n.splice(t,0,r),n},replace=function(e,t,r){var n=copyArrayLike(e);return n[t]=r,n},copyArrayLike=function(e){if(!e)return[];if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map(function(e){return parseInt(e)}).reduce(function(e,t){return t>e?t:e},0);return Array.from(_extends({},e,{length:t+1}))},createAlterationHandler=function(e,t){var r="function"==typeof e?e:t;return function(e){return Array.isArray(e)||formik_esm_isObject(e)?r(copyArrayLike(e)):e}};(function(e){function FieldArrayInner(t){var r;return(r=e.call(this,t)||this).updateArrayField=function(e,t,n){var a=r.props,i=a.name;(0,a.formik.setFormikState)(function(r){var a=createAlterationHandler(n,e),o=createAlterationHandler(t,e),u=setIn(r.values,i,e(getIn(r.values,i))),c=n?a(getIn(r.errors,i)):void 0,s=t?o(getIn(r.touched,i)):void 0;return isEmptyArray(c)&&(c=void 0),isEmptyArray(s)&&(s=void 0),_extends({},r,{values:u,errors:n?setIn(r.errors,i,c):r.errors,touched:t?setIn(r.touched,i,s):r.touched})})},r.push=function(e){return r.updateArrayField(function(t){return[].concat(copyArrayLike(t),[lodash_es_cloneDeep(e)])},!1,!1)},r.handlePush=function(e){return function(){return r.push(e)}},r.swap=function(e,t){return r.updateArrayField(function(r){return swap(r,e,t)},!0,!0)},r.handleSwap=function(e,t){return function(){return r.swap(e,t)}},r.move=function(e,t){return r.updateArrayField(function(r){return move(r,e,t)},!0,!0)},r.handleMove=function(e,t){return function(){return r.move(e,t)}},r.insert=function(e,t){return r.updateArrayField(function(r){return insert(r,e,t)},function(t){return insert(t,e,null)},function(t){return insert(t,e,null)})},r.handleInsert=function(e,t){return function(){return r.insert(e,t)}},r.replace=function(e,t){return r.updateArrayField(function(r){return replace(r,e,t)},!1,!1)},r.handleReplace=function(e,t){return function(){return r.replace(e,t)}},r.unshift=function(e){var t=-1;return r.updateArrayField(function(r){var n=r?[e].concat(r):[e];return t=n.length,n},function(e){return e?[null].concat(e):[null]},function(e){return e?[null].concat(e):[null]}),t},r.handleUnshift=function(e){return function(){return r.unshift(e)}},r.handleRemove=function(e){return function(){return r.remove(e)}},r.handlePop=function(){return function(){return r.pop()}},r.remove=r.remove.bind(_assertThisInitialized(r)),r.pop=r.pop.bind(_assertThisInitialized(r)),r}FieldArrayInner.prototype=Object.create(e.prototype),FieldArrayInner.prototype.constructor=FieldArrayInner,FieldArrayInner.__proto__=e;var t=FieldArrayInner.prototype;return t.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!ee()(getIn(e.formik.values,e.name),getIn(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},t.remove=function(e){var t;return this.updateArrayField(function(r){var n=r?copyArrayLike(r):[];return t||(t=n[e]),isFunction(n.splice)&&n.splice(e,1),isFunction(n.every)&&n.every(function(e){return void 0===e})?[]:n},!0,!0),t},t.pop=function(){var e;return this.updateArrayField(function(t){var r=t.slice();return e||(e=r&&r.pop&&r.pop()),r},!0,!0),e},t.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,r=t.component,n=t.render,a=t.children,i=t.name,o=_objectWithoutPropertiesLoose(t.formik,["validate","validationSchema"]),u=_extends({},e,{form:o,name:i});return r?(0,Q.createElement)(r,u):n?n(u):a?"function"==typeof a?a(u):0===Q.Children.count(a)?null:Q.Children.only(a):null},FieldArrayInner})(Q.Component).defaultProps={validateOnChange:!0}},69590:function(e){var t=Array.isArray,r=Object.keys,n=Object.prototype.hasOwnProperty,a="undefined"!=typeof Element;e.exports=function(e,i){try{return function equal(e,i){if(e===i)return!0;
1if(e&&i&&"object"==typeof e&&"object"==typeof i){var o,u,c,s=t(e),l=t(i);if(s&&l){if((u=e.length)!=i.length)return!1;for(o=u;0!=o--;)if(!equal(e[o],i[o]))return!1;return!0}if(s!=l)return!1;var f=e instanceof Date,d=i instanceof Date;if(f!=d)return!1;if(f&&d)return e.getTime()==i.getTime();var p=e instanceof RegExp,y=i instanceof RegExp;if(p!=y)return!1;if(p&&y)return e.toString()==i.toString();var v=r(e);if((u=v.length)!==r(i).length)return!1;for(o=u;0!=o--;)if(!n.call(i,v[o]))return!1;if(a&&e instanceof Element&&i instanceof Element)return e===i;for(o=u;0!=o--;)if(("_owner"!==(c=v[o])||!e.$$typeof)&&!equal(e[c],i[c]))return!1;return!0}return e!=e&&i!=i}(e,i)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}}}]);

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.