PageSourceSearch

https://www.bostik.it/assets/dist/3023.481ecb8e50c8c0c199cc.bundle.js

js bostik.it collected 2026-09-27 01:46:43 UTC 7,577 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkkentico_react_boilerplate=globalThis.webpackChunkkentico_react_boilerplate||[]).push([[3023],{97675:function(e,n,t){t.d(n,{VH:function(){return a},SD:function(){return o},bm:function(){return c},_1:function(){return s}});var r=t(67294),a=function(e){var n=(0,r.useRef)(null),t=(0,r.useState)(!1),a=t[0],i=t[1],o=(0,r.useState)(!1),c=o[0],u=o[1];return(0,r.useEffect)((function(){var t=new MutationObserver((function(){var r,a=document.getElementById(e);if(a&&a instanceof HTMLIFrameElement){n.current=a,i(!0),t.disconnect();try{"complete"===(null===(r=a.contentDocument)||void 0===r?void 0:r.readyState)?u(!0):a.addEventListener("load",(function(){return u(!0)}),{once:!0})}catch(e){a.addEventListener("load",(function(){return u(!0)}),{once:!0})}}}));return t.observe(document.body,{childList:!0,subtree:!0}),function(){return t.disconnect()}}),[e]),{ref:n,found:a,loaded:c}},i=t(49657),o=function(){var e=(0,r.useState)("idle"),n=e[0],t=e[1];return(0,r.useEffect)((function(){if(i.C5)if("undefined"==typeof gsap||"undefined"==typeof SplitText){var e=document.querySelector('script[src*="gsap"]'),n=document.querySelector('script[src*="SplitText"]');if(e&&n){t("loading");var r=function(){"undefined"!=typeof gsap&&"undefined"!=typeof SplitText?t("ready"):setTimeout(r,100)};r()}else t("error")}else t("ready")}),[]),n},c=function(e){var n=e.items,t=e.pagination;return{results:(0,r.useMemo)((function(){if(!(null==n?void 0:n.length))return"0";var e=t.currentPage>t.pagesCount?1:t.currentPage*t.rowsOnPage-t.rowsOnPage+1,r=t.rowsCount>t.rowsOnPage*t.currentPage?t.currentPage*t.rowsOnPage:t.rowsCount;return"".concat(e,"-").concat(r,"/").concat(t.rowsCount)}),[t,n])}},u=t(86737),s=function(){var e=(0,r.useState)(!1),n=e[0],t=e[1],a=(0,r.useRef)(null);return(0,r.useEffect)((function(){a.current=document.body}),[]),(0,r.useEffect)((function(){a.current&&(n?a.current.classList.add(u.dh.FILTER_IS_OPEN):a.current.classList.remove(u.dh.FILTER_IS_OPEN)),n?i.AR.forbid():i.AR.restore()}),[n]),{toggleFilter:function(){t((function(e){return!e}))},filterIsOpen:n}};t(2790)},83023:function(e,n,t){t.r(n),t.d(n,{default:function(){return x}});var r,a,i,o,c,u=t(67294),s=t(97675),l=t(49657),d=t(40716),f=t.n(d),p=t(56613),h=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},g=p.ZP.div.withConfig({displayName:"StyledChatBubbleContainer",componentId:"-4uhdi4"})(r||(r=h(["\n  bottom: ",";\n  position: fixed;\n  right: ",";\n  z-index: 1000;\n"],["\n  bottom: ",";\n  position: fixed;\n  right: ",";\n  z-index: 1000;\n"])),f()(95),f()(36)),b=p.ZP.div.withConfig({displayName:"StyledChatBubble",componentId:"-1jrjy82"})(a||(a=h(["\n  background-color: #02a0aa;\n  border-radius: ",";\n  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);\n  min-height: ",";\n  min-width: ",";\n  opacity: 0;\n  padding: ",";\n  position: relative;\n\n  /* Initial animation state */\n  transform: scale(0.5);\n  transform-origin: bottom center;\n\n  --after-right: 50%;\n  --after-translateX: 50%;\n\n  &::after {\n    border-left: 10px solid transparent;\n    border-right: 10px solid transparent;\n    border-top: 10px solid #02a0aa;\n    bottom: -7px;\n    content: '';\n    height: 0;\n    position: absolute;\n    right: var(--after-right);\n    transform: translateX(var(--after-translateX));\n    width: 0;\n  }\n"],["\n  background-color: #02a0aa;\n  border-radius: ",";\n  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);\n  min-height: ",";\n  min-width: ",";\n  opacity: 0;\n  padding: ",";\n  position: relative;\n\n  /* Initial animation state */\n  transform: scale(0.5);\n  transform-origin: bottom center;\n\n  --after-right: 50%;\n  --after-translateX: 50%;\n\n  &::after {\n    border-left: 10px solid transparent;\n    border-right: 10px solid transparent;\n    border-top: 10px solid #02a0aa;\n    bottom: -7px;\n    content: '';\n    height: 0;\n    position: absolute;\n    right: var(--after-right);\n    transform: translateX(var(--after-translateX));\n    width: 0;\n  }\n"])),f()(12),f()(30),f()(50),f()(12)),m=p.ZP.div.withConfig({displayName:"StyledChatBubbleDotsWra
1pper",componentId:"-cay1ir"})(i||(i=h(["\n  align-items: center;\n  display: flex;\n  gap: ",";\n  height: 100%;\n  justify-content: center;\n  width: 100%;\n"],["\n  align-items: center;\n  display: flex;\n  gap: ",";\n  height: 100%;\n  justify-content: center;\n  width: 100%;\n"])),f()(4)),v=p.ZP.span.withConfig({displayName:"StyledChatBubbleDot",componentId:"-1mgtp1t"})(o||(o=h(["\n  background-color: white;\n  border-radius: 50%;\n  display: inline-block;\n  height: ",";\n  opacity: 0.8;\n  width: ",";\n"],["\n  background-color: white;\n  border-radius: 50%;\n  display: inline-block;\n  height: ",";\n  opacity: 0.8;\n  width: ",";\n"])),f()(6),f()(6)),y=p.ZP.div.withConfig({displayName:"StyledChatBubbleText",componentId:"-10jlun4"})(c||(c=h(["\n  color: white;\n  display: none; /* Initial state for text characters */\n  font-size: ",";\n  line-height: 1.4;\n"],["\n  color: white;\n  display: none; /* Initial state for text characters */\n  font-size: ",";\n  line-height: 1.4;\n"])),f()(14)),w=function(e){var n=e.localization,t=(0,s.SD)(),r=(0,s.VH)("embeddedMessagingFrame"),a=r.found,i=r.ref,o=(0,s.VH)("embeddedMessagingSiteContextFrame").found,c=(0,u.useRef)(null),d=(0,u.useRef)(null),f=(0,u.useRef)(null),p=(0,u.useRef)(null),h=(0,u.useState)(!1),w=h[0],x=h[1],E=function(){x(!0),sessionStorage.setItem("chatbot-interacted","true")};return(0,u.useEffect)((function(){var e="true"===sessionStorage.getItem("chatbot-interacted");x(e)}),[]),(0,u.useEffect)((function(){if(a&&i.current&&!w&&"undefined"!=typeof ResizeObserver){var e=i.current,n=new ResizeObserver((function(){e.offsetHeight>62&&(E(),n.disconnect())}));return n.observe(e),e.offsetHeight>62&&(E(),n.disconnect()),function(){return n.disconnect()}}}),[a,w]),(0,u.useEffect)((function(){var e;if("ready"===t&&o){if(w)return gsap.killTweensOf(d.current),void gsap.set(d.current,{scale:0,opacity:0});if(d.current&&f.current&&p.current){var n=gsap.timeline({repeat:5,repeatDelay:10}),r=new SplitText(p.current,{type:"chars"}),a=Math.ceil(r.chars.length/45);return n.set(r.chars,{opacity:0}),n.to(d.current,{scale:1,opacity:1,duration:.5,ease:"back.out(1.7)"},4),n.to(null===(e=f.current)||void 0===e?void 0:e.children,{keyframes:[{y:"-10px",duration:.3},{y:"0px",duration:.3}],repeat:4,stagger:.15}),n.to(f.current,{display:"none"}),n.to(d.current,{width:"280px",height:"".concat(32*a,"px"),"--after-right":"15px","--after-translateX":"0%",duration:.5,ease:"back.out(1.7)"}),n.set(p.current,{display:"block"}),n.to(r.chars,{opacity:1,duration:.05,stagger:.08,ease:"none"},"<0.3"),n.to(d.current,{scale:0,opacity:0,duration:.3,ease:"back.in(1.7)"},"+=3"),function(){n.kill(),r.revert()}}}}),[t,w,o]),(0,u.useEffect)((function(){if(o){var e=function(e){var n,t,r=e.target.closest("a");r&&"/open-chatbot"===(null==r?void 0:r.pathname)&&(e.preventDefault(),e.stopPropagation(),null===(t=null===(n=window.embeddedservice_bootstrap)||void 0===n?void 0:n.utilAPI)||void 0===t||t.launchChat())};return document.addEventListener("click",e,!0),function(){return document.removeEventListener("click",e,!0)}}}),[o]),u.createElement(g,{ref:c},u.createElement(b,{ref:d},u.createElement(m,{ref:f},u.createElement(v,null),u.createElement(v,null),u.createElement(v,null)),u.createElement(y,{ref:p,translate:"no"},(0,l.i0)(n,"chatBubbleAnimation/text"))))},x=function(e){var n=e.data,t=n.isEnabled,r=n.localization;return t?u.createElement(w,{localization:r}):null}}}]);

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.