1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5312],{15312:function(e,n,t){"use strict";t.r(n);var i=t(85893),r=t(35135),l=t(67294),c=t(78536),u=t(57516),a=t(93649),o=t(44635),s=t(96632),d=t(49352),p=t(6518),_=t.n(p);n.default=e=>{let{integration:n,listing:t}=e,p="independer-slice-widget",{addImpression:f}=(0,u.k)();(0,l.useEffect)(()=>{f(p)},[n]);let{translations:h}=(0,s.$)();return(0,i.jsxs)("section",{className:_().container,children:[(0,i.jsxs)("h2",{children:[(0,i.jsx)("p",{children:h.CAR_INSURANCE_FROM("INDEPENDER")}),(0,i.jsx)(a.Z,{isoCulture:"nl-NL",name:"independer",height:"30px",width:"100px",styleClass:_().fromSm})]}),(0,i.jsx)("h3",{children:h.CALCULATE_YOUR_PREMIUM}),(0,i.jsxs)("div",{className:_().inputContainer,children:[(0,i.jsxs)("p",{children:[h.LICENSE_PLATE,(0,i.jsx)(o.aZ,{value:t.vehicle?.licensePlate??"",disabled:!0})]}),(0,i.jsx)(r.zxk,{"data-testid":"independer-slice-cta",mode:"inverted",className:_().cta,onClick:()=>{(0,r.vYk)({name:"finance_select",type:"action",action:"conversion",category:"finance",label:p,details:{placement:(0,c.L)(p)}}),(0,d.Z)("combinedInsuranceEntries",void 0,{$opt_event_properties:{placement:"slice"}});let e=n?.stage?.link.url;e&&window.open(e,"_blank")},children:h.CALCULATE_NOW})]})]})}},44635:function(e,n,t){"use strict";t.d(n,{RF:function(){return a},Tz:function(){return o},aZ:function(){return s}});var i=t(85893),r=t(67294),l=t(40046),c=t(38899),u=t.n(c);let a={price:{euroWithDecimal:(e,n)=>(0,l._P)(e,n??{})},noop:e=>`${e}`},o=e=>{let{value:n,onChange:t,validate:l,onInvalid:c,pattern:o="[0-9]*",placeholder:s="",formatter:d=a.noop,disabled:p=!1}=e,[_,f]=(0,r.useState)(!1);return(0,i.jsx)("input",{className:u().inputField,type:"text",disabled:p,pattern:o,value:_?n:d(n),placeholder:s,onFocus:()=>f(!0),onBlur:()=>{f(!1),(l?.(n)??!0)||c?.(n)},onChange:e=>{if(!e.target.validity.valid)return;let n=Number(e.target.value);t?.(n)}})},s=e=>{let{value:n,onChange:t,pattern:l,placeholder:c="",formatter:o=a.noop,disabled:s=!1}=e,[d,p]=(0,r.useState)(!1);return(0,i.jsx)("input",{className:u().inputField,type:"text",disabled:s,pattern:l,value:d?n:o(n),placeholder:c,onFocus:()=>p(!0),onBlur:()=>p(!1),onChange:e=>{e.target.validity.valid&&t?.(e.target.value)}})}},40046:function(e,n,t){"use strict";t.d(n,{G6:function(){return c},Rc:function(){return a},_P:function(){return r},d3:function(){return l},d6:function(){return u}});let i=(e,n)=>{let{prefix:t,suffix:i}=n??{};return`${t??""}${e}${i??""}`},r=function(e){let{prefix:n="⬠",suffix:t=",-"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?i("",{prefix:n,suffix:t}):i(Number(Number((e%1).toFixed(2))>=.5?Math.ceil(e):Math.floor(e)).toLocaleString("de-DE",{style:"currency",currency:"EUR"}).split(",")[0],{prefix:n,suffix:t})},l=function(e){let{prefix:n="⬠",suffix:t=",-"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?i("",{prefix:n,suffix:t}):i((10*Math.round(e/10)).toString(),{prefix:n,suffix:t})},c=function(e){let{prefix:n="⬠",suffix:t=",-"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?i("",{prefix:n,suffix:t}):`${n}${Math.floor(e)}${t}`},u=e=>Math.round(e).toString(),a=e=>e.toFixed(2).toString().replace(".",",")},78536:function(e,n,t){"use strict";t.d(n,{L:function(){return i}});let i=e=>e.replaceAll("-","_")},6518:function(e){e.exports={container:"IndependerSlice_container__44X9K",inputContainer:"IndependerSlice_inputContainer__IDBJk",cta:"IndependerSlice_cta__CyCi_",fromSm:"IndependerSlice_fromSm__irf9c"}},38899:function(e){e.exports={inputField:"ProductInputFields_inputField__gQ7Dc"}}}]);
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.