1 2/* cached asset-dump98e6a8b281a9cba7430393cd9c2d0c670ee2c0fd: */ 3var forge = forge || {}; 4forge.blockCallback = function(block, action, callbackFunc) { 5 var obj = { 6 id: block.id, 7 action: action, 8 uri: block.callbackUri + "/" + action, 9 requestPath: window.location.pathname 10 }; 11 return callbackFunc.apply(obj); 12}; 13forge.requestData = function(data) { 14 data = data || {}; 15 data.userId = forge.user ? forge.user.id : null; 16 data.pageId = forge.page ? forge.page.id : null; 17 data.requestPath = window.location.pathname; 18 return data; 19}; 20/* cached asset-dumpb91e3d245a36a5d2e1d84b794abbd00c5ca0138a: */ 21"use strict"; 22 23(function () { 24 var __data_block_id = 10539739; 25 var __block_id = "cZUZJ"; 26 var foundBlockNode = document.getElementsByClassName("f_" + __block_id).length > 0; 27 if (!foundBlockNode) { 28 var templates = document.querySelectorAll('template'); 29 for (var i = 0; i < templates.length; i++) { 30 if (templates[i].content.querySelector('.f_' + __block_id)) { 31 foundBlockNode = true; 32 break; 33 } 34 } 35 } 36 if (foundBlockNode) { 37 var ready = function ready(counter) { 38 if (!('__forgePageBlockData' in window) || !(__data_block_id in __forgePageBlockData)) { 39 if (counter == 10) { 40 throw Error("Giving up waiting for block data"); 41 return; 42 } 43 return setTimeout(function () { 44 ready(counter + 1); 45 }, 250); 46 } 47 if (typeof __forgePageBlockData[__data_block_id] == 'number') { 48 __forgePageBlockData[__data_block_id] = __forgePageBlockData[__forgePageBlockData[__data_block_id]] || {}; 49 } 50 var id = __forgePageBlockData[__data_block_id].id; 51 var gap = __forgePageBlockData[__data_block_id].gap; 52 var block = { 53 id: "10539739", 54 callbackUri: "/_/b/10539739" 55 }; 56 var call = function call(action, callbackFunc) { 57 return forge.blockCallback(block, action, callbackFunc); 58 }; 59 var callback = function callback(action, data) { 60 return call(action, function () { 61 data = withData(data || {}); 62 63 // check if any of the formData is a File or Blob 64 var isFile = false; 65 for (var key in data) { 66 if (!isFile && data[key]) { 67 var arr = Array.isArray(data[key]) ? data[key] : [data[key]]; 68 for (var i = 0; i < arr.length; i++) { 69 if (arr[i] === Object(arr[i]) && (arr[i].constructor == File || arr[i].constructor === Blob)) { 70 isFile = true; 71 break; 72 } 73 } 74 } 75 } 76 if (isFile) { 77 var formData = new FormData(); 78 for (var key in data) { 79 if (data[key] && (Array.isArray(data[key]) || data[key] === Object(data[key])) && data[key].constructor !== File && data[key].constructor !== Blob) { 80 for (var idx in data[key]) { 81 formData.append(key + '[' + idx + ']', data[key][idx]); 82 } 83 } else { 84 formData.append(key, data[key]); 85 } 86 } 87 return axios.post(this.uri, formData, { 88 headers: { 89 'Content-Type': 'multipart/form-data', 90 'X-Lazy-Load': 'off' 91 } 92 }); 93 } else { 94 return axios.post(this.uri, data, { 95 headers: { 96 'X-Lazy-Load': 'off' 97 } 98 }); 99 } 100 }); 101 }; 102 var withData = function withData(data) { 103 return forge.requestData(data); 104 }; 105 var config = { 106 slidesPerView: "auto", 107 centeredSlides: true, 108 loop: true, 109 speed: 5000, 110 spaceBetween: gap, 111 observer: true, 112 observeParents: true, 113 autoplay: { 114 delay: 1, 115 waitForTransition: true, 116 stopOnLastSlide: false, 117 pauseOnMouseEnter: false, 118 disableOnInteraction: false 119 } 120 }; 121 var swiper = new Swiper("#swiper-".concat(id), config); 122 setTimeout(function () {
123 swiper.update(); 124 }, 3000); 125 }; 126 ready(0); 127 } 128})();
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.