PageSourceSearch

https://www.amica.com/customers/static/js/704.47be9dc1.chunk.js

js amica.com collected 2026-10-01 12:13:33 UTC 16,282 bytes, 1 lines download raw bytes

1(globalThis.webpackChunkamica||=[]).push([[704],{59532(e,t,r){var n;e.exports=(n=r(96540),function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.conformToMask=void 0;var a=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},l=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),c=r(3);Object.defineProperty(t,"conformToMask",{enumerable:!0,get:function(){return n(c).default}});var f=n(r(11)),p=n(r(9)),h=n(r(5)),d=r(2),v=function(e){function t(){var e;i(this,t);for(var r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];var u=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(n)));return u.setRef=u.setRef.bind(u),u.onBlur=u.onBlur.bind(u),u.onChange=u.onChange.bind(u),u}return u(t,e),l(t,[{key:"setRef",value:function(e){this.inputElement=e}},{key:"initTextMask",value:function(){var e=this.props,t=this.props.value;this.textMaskInputElement=(0,h.default)(a({inputElement:this.inputElement},e)),this.textMaskInputElement.update(t)}},{key:"componentDidMount",value:function(){this.initTextMask()}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.value,n=t.pipe,o=t.mask,i={guide:t.guide,placeholderChar:t.placeholderChar,showMask:t.showMask},s="function"==typeof n&&"function"==typeof e.pipe?n.toString()!==e.pipe.toString():(0,d.isNil)(n)&&!(0,d.isNil)(e.pipe)||!(0,d.isNil)(n)&&(0,d.isNil)(e.pipe),u=o.toString()!==e.mask.toString(),a=Object.keys(i).some((function(t){return i[t]!==e[t]}))||u||s;(r!==this.inputElement.value||a)&&this.initTextMask()}},{key:"render",value:function(){var e=this.props,t=e.render,r=o(e,["render"]);return delete r.mask,delete r.guide,delete r.pipe,delete r.placeholderChar,delete r.keepCharPositions,delete r.value,delete r.onBlur,delete r.onChange,delete r.showMask,t(this.setRef,a({onBlur:this.onBlur,onChange:this.onChange,defaultValue:this.props.value},r))}},{key:"onChange",value:function(e){this.textMaskInputElement.update(),"function"==typeof this.props.onChange&&this.props.onChange(e)}},{key:"onBlur",value:function(e){"function"==typeof this.props.onBlur&&this.props.onBlur(e)}}]),t}(f.default.PureComponent);t.default=v,v.propTypes={mask:p.default.oneOfType([p.default.array,p.default.func,p.default.bool,p.default.shape({mask:p.default.oneOfType([p.default.array,p.default.func]),pipe:p.default.func})]).isRequired,guide:p.default.bool,value:p.default.oneOfType([p.default.string,p.default.number]),pipe:p.default.func,placeholderChar:p.default.string,keepCharPositions:p.default.bool,showMask:p.default.bool},v.defaultProps={render:function(e,t){return f.default.createElement("input",a({ref:e},t))}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.placeholderChar="_",t.strFunction="function"},function(e,t,r){"use strict";function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.placeholderChar;if(!o(e))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(-1!==e.indexOf(t))throw new Error("Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.\n\nThe placeholder character that was received is: "+JSON.stringify(t)+"\n\nThe mask that was received is: "+JSON.stringify(e));return e.map((function(e){return e instanceof RegExp?t:e})).join("")}function o(e){return Array.isArray&&Array.isArray(e)||e instanceof Array}function i(e){return"string"==typeof e||e instanceof String}function s(e){return"number"==typeof e&&void 0===e.length&&!isNaN(e)}function u(e){return"undefined"==typeof e||null===e}function a(e){for(var t=[],r=void 0;-1!==(r=e.indexOf(f));)t.push(r),e.splice(r,1);return{maskWithoutCaretTraps:e,indexes:t}}
vendor: 5,016 bytes, line 1
1Object.defineProperty(t,"__esModule",{value:!0}),t.convertMaskToPlaceholder=n,t.isArray=o,t.isString=i,t.isNumber=s,t.isNil=u,t.processCaretTraps=a;var l=r(1),c=[],f="[]"},function(e,t,r){"use strict";function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(0,i.isArray)(t)){if(("undefined"==typeof t?"undefined":o(t))!==s.strFunction)throw new Error("Text-mask:conformToMask; The mask property must be an array.");t=t(e,r),t=(0,i.processCaretTraps)(t).maskWithoutCaretTraps}var n=r.guide,l=void 0===n||n,c=r.previousConformedValue,f=void 0===c?a:c,p=r.placeholderChar,h=void 0===p?s.placeholderChar:p,d=r.placeholder,v=void 0===d?(0,i.convertMaskToPlaceholder)(t,h):d,y=r.currentCaretPosition,m=r.keepCharPositions,b=!1===l&&void 0!==f,g=e.length,O=f.length,C=v.length,k=t.length,P=g-O,M=P>0,T=y+(M?-P:0),x=T+Math.abs(P);if(!0===m&&!M){for(var w=a,S=T;S<x;S++)v[S]===h&&(w+=h);e=e.slice(0,T)+w+e.slice(T,g)}for(var E=e.split(a).map((function(e,t){return{char:e,isNew:t>=T&&t<x}})),R=g-1;R>=0;R--){var j=E[R].char;j!==h&&j===v[R>=T&&O===k?R-P:R]&&E.splice(R,1)}var _=a,A=!1;e:for(var N=0;N<C;N++){var V=v[N];if(V===h){if(E.length>0)for(;E.length>0;){var B=E.shift(),I=B.char,F=B.isNew;if(I===h&&!0!==b){_+=h;continue e}if(t[N].test(I)){if(!0===m&&!1!==F&&f!==a&&!1!==l&&M){for(var U=E.length,K=null,L=0;L<U;L++){var q=E[L];if(q.char!==h&&!1===q.isNew)break;if(q.char===h){K=L;break}}null!==K?(_+=I,E.splice(K,1)):N--}else _+=I;continue e}A=!0}!1===b&&(_+=v.substr(N,C));break}_+=V}if(b&&!1===M){for(var D=null,G=0;G<_.length;G++)v[G]===h&&(D=G);_=null!==D?_.substr(0,D+1):a}return{conformedValue:_,meta:{someCharsRejected:A}}}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=n;var i=r(2),s=r(1),u=[],a=""},function(e,t){"use strict";function r(e){var t=e.previousConformedValue,r=void 0===t?o:t,i=e.previousPlaceholder,s=void 0===i?o:i,u=e.currentCaretPosition,a=void 0===u?0:u,l=e.conformedValue,c=e.rawValue,f=e.placeholderChar,p=e.placeholder,h=e.indexesOfPipedChars,d=void 0===h?n:h,v=e.caretTrapIndexes,y=void 0===v?n:v;if(0===a||!c.length)return 0;var m=c.length,b=r.length,g=p.length,O=l.length,C=m-b,k=C>0;if(C>1&&!k&&0!==b)return a;var P=0,M=void 0,T=void 0;if(!k||r!==l&&l!==p){var x=l.toLowerCase(),w=c.toLowerCase().substr(0,a).split(o).filter((function(e){return-1!==x.indexOf(e)}));T=w[w.length-1];var S=s.substr(0,w.length).split(o).filter((function(e){return e!==f})).length,E=p.substr(0,w.length).split(o).filter((function(e){return e!==f})).length,R=E!==S,j=void 0!==s[w.length-1]&&void 0!==p[w.length-2]&&s[w.length-1]!==f&&s[w.length-1]!==p[w.length-1]&&s[w.length-1]===p[w.length-2];!k&&(R||j)&&S>0&&p.indexOf(T)>-1&&void 0!==c[a]&&(M=!0,T=c[a]);for(var _=d.map((function(e){return x[e]})),A=_.filter((function(e){return e===T})).length,N=w.filter((function(e){return e===T})).length,V=p.substr(0,p.indexOf(f)).split(o).filter((function(e,t){return e===T&&c[t]!==e})).length,B=V+N+A+(M?1:0),I=0,F=0;F<O&&(P=F+1,x[F]===T&&I++,!(I>=B));F++);}else P=a-C;if(k){for(var U=P,K=P;K<=g;K++)if(p[K]===f&&(U=K),p[K]===f||-1!==y.indexOf(K)||K===g)return U}else if(M){for(var L=P-1;L>=0;L--)if(l[L]===T||-1!==y.indexOf(L)||0===L)return L}else for(var q=P;q>=0;q--)if(p[q-1]===f||-1!==y.indexOf(q)||0===q)return q}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var n=[],o=""},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e){var t={previousConformedValue:void 0,previousPlaceholder:void 0};return{state:t,update:function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=n.inputElement,d=n.mask,y=n.guide,m=n.pipe,b=n.placeholderChar,g=void 0===b?p.placeholderChar:b,O=n.keepCharPositions,C=void 0!==O&&O,k=n.showMask,P=void 0!==k&&k;if("undefined"==typeof r&&(r=o.value),r!==t.previousConformedValue){("undefined"==typeof d?"undefined":a(d))===v&&void 0!==d.pipe&&void 0!==d.mask&&(m=d.pipe,d=d.mask);var M=void 0,T=void 0;if(d instanceof Array&&(M=(0,f.convertMaskToPlaceholder)(d,g)),!1!==d){var x=s(r),w=o.selectionEnd,S=t.previousConformedValue,E=t.previousPlaceholder,R=void 0;if(("undefined"==typeof d?"undefined":a(d))===p.strFunction){if(!1===(T=d(x,{currentCaretPosition:w,previousConformedValue:S,placeholderChar:g})))return;var j=(0,f.processCaretTraps)(T);T=j.maskWithoutCaretTraps,R=j.indexes,M=(0,f.convertMaskToPlaceholder)(T,g)}else T=d;var _={previousConformedValue:S,guide:y,placeholderChar:g,pipe:m,placeholder:M,currentCaretPosition:w,keepCharPositions:C},A=(0,c.default)(x,T,_).conformedValue,N=("undefined"==typeof m?"undefined":a(m))===p.strFunction,V={};N&&(!1===(V=m(A,u({rawValue:x},_)))?V={value:S,rejected:!0}:(0,f.isString)(V)&&(V={value:V}
1));var B=N?V.value:A,I=(0,l.default)({previousConformedValue:S,previousPlaceholder:E,conformedValue:B,placeholder:M,rawValue:x,currentCaretPosition:w,placeholderChar:g,indexesOfPipedChars:V.indexesOfPipedChars,caretTrapIndexes:R}),F=B===M&&0===I?P?M:h:B;t.previousConformedValue=F,t.previousPlaceholder=M,o.value!==F&&(o.value=F,i(o,I))}}}}}function i(e,t){document.activeElement===e&&(y?m((function(){return e.setSelectionRange(t,t,d)}),0):e.setSelectionRange(t,t,d))}function s(e){if((0,f.isString)(e))return e;if((0,f.isNumber)(e))return String(e);if(void 0===e||null===e)return h;throw new Error("The 'value' provided to Text Mask needs to be a string or a number. The value received was:\n\n "+JSON.stringify(e))}Object.defineProperty(t,"__esModule",{value:!0});var u=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},a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=o;var l=n(r(4)),c=n(r(3)),f=r(2),p=r(1),h="",d="none",v="object",y="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),m="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:setTimeout},function(e,t){"use strict";function r(e){return function(){return e}}var n=function(){};n.thatReturns=r,n.thatReturnsFalse=r(!1),n.thatReturnsTrue=r(!0),n.thatReturnsNull=r(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},function(e,t,r){"use strict";function n(e,t,r,n,i,s,u,a){if(o(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,i,s,u,a],f=0;(l=new Error(t.replace(/%s/g,(function(){return c[f++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}var o=function(e){};e.exports=n},function(e,t,r){"use strict";var n=r(6),o=r(7),i=r(10);e.exports=function(){function e(e,t,r,n,s,u){u!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=n,r.PropTypes=r,r}},function(e,t,r){"use strict";"function"==typeof Symbol&&Symbol.iterator,e.exports=r(8)()},function(e,t){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=r},function(e,t){e.exports=n}]))},57097(e,t,r){"use strict";r.d(t,{n:()=>c});var n=r(97665),o=r(96540),i=r(24880),s=r(66500),u=r(26261),a=r(36158),l=class extends s.Q{#e;#t=void 0;#r;#n;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#o()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){const t=this.options;this.options=this.#e.defaultMutationOptions(e),(0,i.f8)(this.options,t)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#r,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,i.EN)(t.mutationKey)!==(0,i.EN)(this.options.mutationKey)?this.reset():"pending"===this.#r?.state.status&&this.#r.setOptions(this.options)}onSubscribe(){1===this.listeners.size&&this.#r&&(this.#r.addObserver(this),this.#o())}onUnsubscribe(){this.hasListeners()||this.#r?.removeObserver(this)}onMutationUpdate(e){this.#o(),this.#i(e)}getCurrentResult(){return this.#t}reset(){this.#r?.removeObserver(this),this.#r=void 0,this.#o(),this.#i()}mutate(e,t){return this.#n=t,this.#r?.removeObserver(this),this.#r=this.#e.getMutationCache().build(this.#e,this.options),this.#r.addObserver(this),this.#r.execute(e)}#o(){const e=this.#r?.state??(0,a.$)();this.#t={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}
1#i(e){u.jG.batch((()=>{if(this.#n&&this.hasListeners()){const r=this.#t.variables,n=this.#t.context,o={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if("success"===e?.type){try{this.#n.onSuccess?.(e.data,r,n,o)}catch(t){Promise.reject(t)}try{this.#n.onSettled?.(e.data,null,r,n,o)}catch(t){Promise.reject(t)}}else if("error"===e?.type){try{this.#n.onError?.(e.error,r,n,o)}catch(t){Promise.reject(t)}try{this.#n.onSettled?.(void 0,e.error,r,n,o)}catch(t){Promise.reject(t)}}}this.listeners.forEach((e=>{e(this.#t)}))}))}};function c(e,t){const r=(0,n.jE)(t),[s]=o.useState((()=>new l(r,e)));o.useEffect((()=>{s.setOptions(e)}),[s,e]);const a=o.useSyncExternalStore(o.useCallback((e=>s.subscribe(u.jG.batchCalls(e))),[s]),(()=>s.getCurrentResult()),(()=>s.getCurrentResult())),c=o.useCallback(((...e)=>{s.mutate(e[0],e[1]).catch(i.lQ)}),[s]);if(a.error&&(0,i.GU)(s.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:c,mutateAsync:a.mutate}}},61186(e,t,r){"use strict";r.d(t,{S:()=>a});var n=r(97665),o=r(96540),i=r(24880),s=r(26261);function u(e,t){return e.findAll(t.filters).map((e=>t.select?t.select(e):e.state))}function a(e={},t){const r=(0,n.jE)(t).getMutationCache(),a=o.useRef(e),l=o.useRef(null);return null===l.current&&(l.current=u(r,e)),o.useEffect((()=>{a.current=e})),o.useSyncExternalStore(o.useCallback((e=>r.subscribe((()=>{const t=(0,i.BH)(l.current,u(r,a.current));l.current!==t&&(l.current=t,s.jG.schedule(e))}))),[r]),(()=>l.current),(()=>l.current))}},24454(e,t,r){"use strict";var n=r(92254),o=r(74157);const i=(0,n.A)((function(e,t){return(0,o.A)((function(e,t,r){return r}),e,t)}));r.d(t,["A",0,i])},74157(e,t,r){"use strict";r.d(t,{A:()=>u});var n=r(2173),o=r(20822),i=r(81069);const s=(0,n.A)((function(e,t,r){var n,o={};for(n in r=r||{},t=t||{})(0,i.A)(n,t)&&(o[n]=(0,i.A)(n,r)?e(n,t[n],r[n]):t[n]);for(n in r)(0,i.A)(n,r)&&!(0,i.A)(n,o)&&(o[n]=r[n]);return o}));const u=(0,n.A)((function e(t,r,n){return s((function(r,n,i){return(0,o.A)(n)&&(0,o.A)(i)?e(t,n,i):t(r,n,i)}),r,n)}))}}]);

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.