1(function () { 2 var widgetType = 'POPUP'; 3 4 if (!document.getElementById('bukzaStyleForBukzaCatalog')) { 5 var head = document.head || document.getElementsByTagName('head')[0]; 6 var style = document.createElement('style'); 7 style.type = 'text/css'; 8 style.id = 'bukzaStyleForBukzaCatalog'; 9 var stl = '/*INLINE*/#BukzaCatalog iframe { width: 320px; min-width: 100%; *width: 100%; height: 0; opacity: 0; border: none; min-height: 320px;} #BukzaCatalog iframe.bukza-iframe-BukzaCatalog_loaded { opacity: 1; -webkit-transition: opacity 0.5s ease-in-out,height 0.1s ease-out; -moz-transition: opacity 0.5s ease-in-out,height 0.1s ease-out; -o-transition: opacity 0.5s ease-in-out,height 0.1s ease-out; transition: opacity 0.5s ease-in-out,height 0.1s ease-out; }/*POPUP*/.bukza-popup-BukzaCatalog { position: fixed; z-index: 1000000; top: 0; bottom: 0; left: 0; right: 0; max-height: 100vh; max-height: var(--bukza100vh, 100vh); overflow: auto; background: rgba(0,0,0,0.3); -webkit-transition: opacity 0.3s ease-in-out; -moz-transition: opacity 0.3s ease-in-out; -o-transition: opacity 0.3s ease-in-out; transition: opacity 0.3s ease-in-out; opacity: 0; visibility: hidden;} .bukza-popup-BukzaCatalog_loaded { -webkit-transition: visibility 0s linear 0.3s, opacity 0.3s ease-in-out; -moz-transition: visibility 0s linear 0.3s, opacity 0.3s ease-in-out; -o-transition: visibility 0s linear 0.3s, opacity 0.3s ease-in-out; transition: visibility 0s linear 0.3s, opacity 0.3s ease-in-out; }#BukzaCatalog.bukza-popup-BukzaCatalog iframe { display: block;}.bukza-popup-BukzaCatalog_shown { -webkit-transition: visibility 0s linear 0s, opacity 0.3s ease-in-out; -moz-transition: visibility 0s linear 0s, opacity 0.3s ease-in-out; -o-transition: visibility 0s linear 0s, opacity 0.3s ease-in-out; transition: visibility 0s linear 0s, opacity 0.3s ease-in-out; opacity: 1; visibility: visible;}/*PANEL*/.bukza-panel-BukzaCatalog { position: fixed; z-index: 1000000; top: 0; bottom: 0; left: 0; left: 0; right: 0; max-height: 100vh; max-height: var(--bukza100vh, 100vh); overflow: hidden; background: rgba(0,0,0,0.3); -webkit-transition: opacity 0.3s ease-in-out; -moz-transition: opacity 0.3s ease-in-out; -o-transition: opacity 0.3s ease-in-out; transition: opacity 0.3s ease-in-out; opacity: 0; visibility: hidden;} .bukza-panel-BukzaCatalog_loaded { -webkit-transition: visibility 0s linear 0.3s, opacity 0.3s ease-in-out; -moz-transition: visibility 0s linear 0.3s, opacity 0.3s ease-in-out; -o-transition: visibility 0s linear 0.3s, opacity 0.3s ease-in-out; transition: visibility 0s linear 0.3s, opacity 0.3s ease-in-out; }#BukzaCatalog.bukza-panel-BukzaCatalog iframe { display: block; width: 480px; position: absolute; top: 0; right: 0; max-width: 100vw; min-width: 0; height: 100vh; height: var(--bukza100vh, 100vh);}.bukza-panel-BukzaCatalog_shown { -webkit-transition: visibility 0s linear 0s, opacity 0.3s ease-in-out; -moz-transition: visibility 0s linear 0s, opacity 0.3s ease-in-out; -o-transition: visibility 0s linear 0s, opacity 0.3s ease-in-out; transition: visibility 0s linear 0s, opacity 0.3s ease-in-out; opacity: 1; visibility: visible;}#BukzaCatalog.bukza-panel-BukzaCatalog iframe { -webkit-transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; -moz-transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; -o-transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; transform: translate(100%, 0); opacity: 0;}#BukzaCatalog.bukza-panel-BukzaCatalog_shown iframe.bukza-iframe-BukzaCatalog_loaded { transform: translate(0, 0); opacity: 1;}#bukzaActivityIndicatorforBukzaCatalog { width: 100%; min-height: 320px; display: flex; flex-direction: row; justify-content: center; align-items: center;}#bukzaSpinnerContainerforBukzaCatalog {}#bukzaSpinnerforBukzaCatalog { border-radius: 50%; padding: 4px; width: 48px; height: 48px; color: rgba(0,0,0,0.3); background-color: transparent; overflow: hidden; -webkit-mask-image: linear-gradient(transparent 50%, black 50%), linear-gradient(to right, transparent 50%, black 50%); mask-image: linear-gradient(transparent 50%, black 50%), linear-gradient(to right, transparent 50%, black 50%); animation: loader-spin 6s infinite cubic-bezier(0.3, 0.6, 1, 1);} #bukzaSpinnerforBukzaCatalog::before { content: ""; display: block; box-sizing: border-box; margin-bottom: 4px; border: solid 4px transparent; border-top-color: currentColor; border-radius: 50%; width: 100% !important; height: 100%; background-color: transparent; animation: loader-spin-pseudo 0.75s infinite linear alternate; }@keyframes loader-spin { 0% { transform: rotate(0deg); } 12.5% { transform: rotate(180deg); animation-timing-function: linear; } 25% { transform: rotate(630deg); } 37.5% { transform: rotate(810deg); animation-timing-function: linear; } 50% { transform: rotate(1260deg); } 62.5% { transform: rotate(1440deg); animation-timing-function: linear; } 75% { transform: rotate(1890deg); } 87.5% { transform: rotate(2070deg); animation-timing-function: linear; } 100% { transform: rotate(2520deg); }}@keyframes loader-spin-pseudo { 0% { transform: rotate(-30deg); } 29.4% { border-left-color: transparent; } 29.41% { border-left-color: currentColor; } 64.7% { border-bottom-color: transparent; } 64.71% { border-bottom-color: currentColor; } 100% { border-left-color: currentColor; border-bottom-color: currentColor; transform: rotate(225deg); }}'; 10 if (style.styleSheet) { 11 style.styleSheet.cssText = stl; 12 } else { 13 style.appendChild(document.createTextNode(stl)); 14 } 15 head.appendChild(style); 16 } 17 18 if (!window.bukzaInitBukzaCatalog) { 19 window.addEventListener('message', 20 function (e) { 21 if (e && e.data && (typeof e.data) == 'string' && e.data.indexOf('BUKZA_CROSS_FRAME_PARENT') != -1) { 22 var container = document.getElementById('BukzaCatalog'); 23 var iframe = null; 24 var children = container ? container.children : null; 25 if (children) { 26 for (var i = 0; i < children.length; i++) { 27 if (children[i].tagName.toLowerCase() == 'iframe') { 28 iframe = children[i]; 29 break; 30 } 31 } 32 } 33 34 if (iframe == null || e.source !== iframe.contentWindow) { 35 return; 36 } 37 38 var dataObject; 39 try { 40 dataObject = JSON.parse(e.data); 41 } catch (exc) { 42 return; 43 } 44 45 if (dataObject.target == 'BukzaCatalog' && dataObject.event) { 46 if (dataObject.event == 'CLOSE_WIDGET') { 47 if (widgetType == 'POPUP') { 48 window.bukzaHidePopupForBukzaCatalog(); 49 } else if (widgetType == 'PANEL') { 50 window.bukzaHidePanelForBukzaCatalog(); 51 } 52 } 53 else if (dataObject.event == 'SET_WIDGET_HEIGHT') { 54 iframe.style.height = dataObject.data + 'px'; 55 } 56 else if (dataObject.event == 'SCROLL_TO_TOP') { 57 iframe.style.scrollMarginTop = dataObject.data + 'px'; 58 iframe.scrollIntoView(); 59 } else if (window.bukzaCallbackForBukzaCatalog) { window.bukzaCallbackForBukzaCatalog({ message: dataObject }); } 60 } 61 } 62 }, false); 63 64 window.bukzaInitBukzaCatalog = function () { 65 var container = document.getElementById('BukzaCatalog'); 66 var iframeExists = false; 67 var children = container.children; 68 if (children) { 69 for (var i = 0; i < children.length; i++) { 70 if (children[i].tagName.toLowerCase() == 'iframe') { 71 iframeExists = true; 72 break; 73 } 74 } 75 } 76 77 if (!iframeExists) { 78 if (widgetType == 'POPUP') { 79 container.classList.add("bukza-popup-BukzaCatalog"); 80 } else if (widgetType == 'PANEL') { 81 container.classList.add("bukza-panel-BukzaCatalog"); 82 } 83 84 var ai = document.createElement("div"); 85 ai.id = 'bukzaActivityIndicatorforBukzaCatalog'; 86 container.appendChild(ai); 87 var sc = document.createElement("div"); 88 sc.id = 'bukzaSpinnerContainerforBukzaCatalog'; 89 ai.appendChild(sc); 90 var sp = document.createElement("div"); 91 sp.id = 'bukzaSpinnerforBukzaCatalog'; 92 sc.appendChild(sp); 93 94 var i = document.createElement("iframe"); 95 i.src = "javascript:false"; 96 i.loading = "eager"; 97 i.name = 'bukzaIframeforBukzaCatalog202610020302099096'; 98 i.id = 'bukzaIframeforBukzaCatalog202610020302099096'; 99 container.appendChild(i); 100 101 var loadIframe = function () { 102 var utm = ''; 103 try { 104 let searchParams = new URLSearchParams(window.location.search); 105 var utm_source = searchParams.get('utm_source'); 106 var utm_medium = searchParams.get('utm_medium'); 107 var utm_campaign = searchParams.get('utm_campaign'); 108 var utm_term = searchParams.get('utm_term'); 109 var utm_content = searchParams.get('utm_content'); 110 if (utm_source != null) { utm += '&utm_source=' + encodeURIComponent(utm_source); } 111 if (utm_medium != null) { utm += '&utm_medium=' + encodeURIComponent(utm_medium); } 112 if (utm_campaign != null) { utm += '&utm_campaign=' + encodeURIComponent(utm_campaign); } 113 if (utm_term != null) { utm += '&utm_term=' + encodeURIComponent(utm_term); } 114 if (utm_content != null) { utm += '&utm_content=' + encodeURIComponent(utm_content); } 115 } catch (exc) { } 116 document.getElementById('bukzaIframeforBukzaCatalog202610020302099096').src = 'https://app.bukza.com/?t=202610020302099096' + utm + '#/30995/30931?container=BukzaCatalog&autoresize=true&showClose
116=true'; 117 i.onload = function () { 118 document.getElementById('bukzaIframeforBukzaCatalog202610020302099096').className = 'bukza-iframe-BukzaCatalog_loaded'; 119 var rm = document.getElementById('bukzaActivityIndicatorforBukzaCatalog'); 120 if (rm) { 121 rm.parentNode.removeChild(rm); 122 } 123 }; 124 }; 125 126 if (!window.bukzaSetCustomParametersForBukzaCatalog) { 127 window.bukzaSetCustomParametersForBukzaCatalog = function (d) { 128 i.contentWindow.postMessage(JSON.stringify({ 129 type: 'BUKZA_CROSS_FRAME_WIDGET', 130 event: 'SET_CUSTOM_PARAMETERS', 131 data: d 132 }), 'https://app.bukza.com'); 133 }; 134 } 135 136 if (!window.bukzaSetUtmForBukzaCatalog) { 137 window.bukzaSetUtmForBukzaCatalog = function (d) { 138 i.contentWindow.postMessage(JSON.stringify({ 139 type: 'BUKZA_CROSS_FRAME_WIDGET', 140 event: 'SET_UTM', 141 data: d 142 }), 'https://app.bukza.com'); 143 }; 144 } 145 146 if (widgetType == 'POPUP') { 147 window.bukzaShowPopupForBukzaCatalog = function () { 148 if (!container.classList.contains('bukza-popup-BukzaCatalog_loaded')) { 149 loadIframe(); 150 container.classList.add("bukza-popup-BukzaCatalog_loaded"); 151 } 152 document.documentElement.style.overflow = 'hidden'; 153 container.classList.add("bukza-popup-BukzaCatalog_shown"); 154 }; 155 156 window.bukzaHidePopupForBukzaCatalog = function () { 157 document.documentElement.style.overflow = 'auto'; 158 container.classList.remove("bukza-popup-BukzaCatalog_shown"); 159 }; 160 161 window.bukzaAddPopupHandlersForBukzaCatalog = function () { 162 var buttons = document.querySelectorAll('[href="#BukzaCatalog"]'); 163 if (buttons.length > 0) { 164 for (var i = 0; i < buttons.length; i++) { 165 buttons[i].onclick = function (e) { 166 if (e && e.preventDefault) { 167 e.preventDefault(); 168 } 169 window.bukzaShowPopupForBukzaCatalog(); 170 return false; 171 } 172 } 173 } 174 container.onclick = function () { 175 window.bukzaHidePopupForBukzaCatalog(); 176 } 177 }; 178 } else if (widgetType == 'PANEL') { 179 window.bukzaShowPanelForBukzaCatalog = function () { 180 if (!container.classList.contains('bukza-panel-BukzaCatalog_loaded')) { 181 loadIframe(); 182 container.classList.add("bukza-panel-BukzaCatalog_loaded"); 183 } 184 document.documentElement.style.overflow = 'hidden'; 185 container.classList.add("bukza-panel-BukzaCatalog_shown"); 186 }; 187 188 window.bukzaHidePanelForBukzaCatalog = function () { 189 document.documentElement.style.overflow = 'auto'; 190 container.classList.remove("bukza-panel-BukzaCatalog_shown"); 191 }; 192 193 window.bukzaAddPanelHandlersForBukzaCatalog = function () { 194 var buttons = document.querySelectorAll('[href="#BukzaCatalog"]'); 195 if (buttons.length > 0) { 196 for (var i = 0; i < buttons.length; i++) { 197 buttons[i].onclick = function (e) { 198 if (e && e.preventDefault) { 199 e.preventDefault(); 200 } 201 window.bukzaShowPanelForBukzaCatalog(); 202 return false; 203 } 204 } 205 } 206 container.onclick = function () { 207 window.bukzaHidePanelForBukzaCatalog(); 208 } 209 }; 210 } 211 212 if ((widgetType == 'PANEL' || widgetType == 'POPUP') && !window.bukza100VhLoaded) { 213 var bukza100VhLoad = function () { 214 document.documentElement.style.setProperty('--bukza100vh', window.innerHeight + 'px'); 215 }; 216 window.addEventListener('resize', function () { 217 bukza100VhLoad(); 218 }); 219 bukza100VhLoad(); 220 bukza100VhLoaded = true; 221 } 222 223 if (widgetType == 'POPUP') {
224 window.bukzaAddPopupHandlersForBukzaCatalog(); 225 } else if (widgetType == 'PANEL') { 226 window.bukzaAddPanelHandlersForBukzaCatalog(); 227 } else { 228 loadIframe(); 229 } 230 } 231 }; 232 } 233 234 var load = function () { 235 if (document.getElementById('BukzaCatalog')) { 236 window.bukzaInitBukzaCatalog(); 237 } 238 }; 239 240 if (document.readyState === "interactive" || document.readyState === "complete") { 241 load(); 242 } 243 else { 244 document.addEventListener("DOMContentLoaded", load); 245 } 246})();
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.