1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6965],{36965:function(e,t,r){r.r(t),r.d(t,{default:function(){return L}});var n=r(59499),c=r(4730),o=r(67294);var i=r(23575),u=r(78226),s=r(30234);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e,t){var r=(0,o.useRef)(!1),c=(0,o.useState)(!1),i=c[0],u=c[1];return(0,o.useEffect)((function(){var c="string"===typeof e?document.querySelector(e):e;if(c){var o=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({childList:!0},t),i=new MutationObserver((function(e,t){r.current&&u(!0),t.disconnect()}));return i.observe(c,o),function(){i.disconnect()}}}),[e,t,u]),(0,o.useEffect)((function(){return r.current=!0,function(){r.current=!1}}),[]),i}var l=r(79549),p=r(85893),O="kno_wrapper";var b=function(e){var t=e.maxWaitTime,r=e.onTimeout,n=(0,o.useRef)(!1),c=(0,o.useState)(null),i=c[0],u=c[1],a=f(i),b=(0,o.useState)(!1),j=b[0],y=b[1];return(0,o.useEffect)((function(){var e;return n.current=!0,(0,l.z)({dataLayer:{event:"kno:initWidget"}}),t>0&&(e=setTimeout((function(){n.current&&(y(!0),"function"===typeof r&&r())}),t)),function(){n.current=!1,clearTimeout(e)}}),[]),(0,o.useEffect)((function(){n.current&&u("#".concat(O))}),[n,u]),j&&!a?null:(0,p.jsxs)(p.Fragment,{children:[!a&&(0,p.jsx)("div",{className:"my-3",children:(0,p.jsx)(s.Z,{className:"mx-auto"})}),(0,p.jsx)("div",{id:O,children:(0,p.jsx)("div",{id:"kno_position"})})]})},j=["delay"];function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=function(e){var t=e.delay,r=(0,c.Z)(e,j),n=(0,u.$G)().t,s=(0,o.useState)(!1),a=s[0],f=s[1],l=function(){f(!1)};return(0,o.useEffect)((function(){var e,r=!0,n=function(){r&&f(!0)};return t>0?e=setTimeout(n,t):n(),function(){r=!1,clearTimeout(e)}}),[]),a?(0,p.jsx)(i.Z,{closeAction:l,"aria-label":n("KNO_COMMERCE_SURVEY_DIALOG_LABEL"),children:(0,p.jsx)(b,d({onTimeout:l},r))}):null},m=r(7275),g=r(91815),h=r(87078),w=["headline","paragraph","buttonText"];function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var E=function(e){var t=e.headline,r=e.paragraph,n=e.buttonText,i=(0,c.Z)(e,w),u=(0,o.useState)(!1),s=u[0],a=u[1];return(0,p.jsx)(p.Fragment,{children:s?(0,p.jsx)("div",{className:"d-flex justify-content-center",children:(0,p.jsx)(b,x({},i))}):(0,p.jsxs)("div",{className:"text-center",children:[t&&(0,p.jsx)(m.Z,{level:"h2",headline:t}),r&&(0,p.jsx)(g.Z,{element:"div",html:r}),(0,p.jsx)(h.Z,{variant:"primary",onClick:function(){return a(!0)},children:n})]})})};function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?D(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var k=function(e){return(0,p.jsx)("div",{className:"d-flex justify-content-center",children:(0,p.jsx)(b,S({},e))})},Z=["mode"];function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var L=function(e){var t=e.mode,r=(0,c.Z)(e,Z),n=function(e){var t=(0,o.useState)(!1),r=t[0],n=t[1];return(0,o.useEffect)((function(){var t,r=!0,c=function(t){var c;"consent_status"===(null===(c=t.detail)||void 0===c?void 0:c.event)&&r&&n(t.detail[e]||!1)},o=null===(t=window.dataLayer)||void 0===t?void 0:t.find((function(e){return"consent_status"===e.event}));return null!==o&&void 0!==o&&o[e]&&n(o[e]||!1),window.addEventListener("ucEvent",c),function(){r=!1,window.removeEventListener("ucEvent",c)}}),[]),r}("KnoCommerce")||!0;return n?(0,p.jsxs)(p.Fragment,{children:["popup"===t&&(0,p.jsx)(v,T({},r)),"expandable"===t&&(0,p.jsx)(E,T({},r)),"embedded"===t&&(0,p.jsx)(k,T({},r))]}):null}}}]); 2//# sourceMappingURL=6965.cdefe77c577ed83f.js.map
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.