PageSourceSearch

https://www.motorolasolutions.com/etc.clientlibs/msi-occ/component…-ac761eacc444e83caa1b20f9893a4512-lc.min.js

js motorolasolutions.com collected 2026-10-01 08:42:44 UTC 12,228 bytes, 4 lines download raw bytes

vendor: 4,767 bytes, lines 1-3
1document.addEventListener("DOMContentLoaded",(function(){var n=document.getElementById("background-video");function e(){var e=window.videojs.getPlayer(n);e.ready((function(){e.on("ended",(function(){e.play()}))}))}n&&(window.bc?e():window.loadBrightcovePlayer&&window.loadBrightcovePlayer(e))}));
2//# sourceMappingURL=hero.js.map
3!function(){var t={87757:function(t,e,r){t.exports=r(35666)},35666:function(t){var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),i=new O(n||[]);return a._invoke=function(t,e,r){var n=f;return function(o,a){if(n===d)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw a;return A()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=P(i,r);if(c){if(c===y)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var s=l(t,e,r);if("normal"===s.type){if(n=r.done?h:p,s.arg===y)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=h,r.method="throw",r.arg=s.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f="suspendedStart",p="suspendedYield",d="executing",h="completed",y={};function v(){}function m(){}function g(){}var w={};w[a]=function(){return this};var b=Object.getPrototypeOf,x=b&&b(b(S([])));x&&x!==r&&n.call(x,a)&&(w=x);var L=g.prototype=v.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,a,i,c){var s=l(t[o],t,a);if("throw"!==s.type){var u=s.arg,f=u.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(f).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,c)}))}c(s.arg)}var o;this._invoke=function(t,n){function a(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(a,a):a()}}function P(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method))return y;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function S(t){if(t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}return{next:A}}function A(){return{value:e,done:!0}}return m.prototype=L.constructor=g,g.constructor=m,m.displayName=s(g,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,s(t,c,"GeneratorFunction")),t.prototype=Object.create(L),t},t.awrap=function(t){return{__await:t}},k(E.prototype),E.prototype[i]=function(){return this},t.AsyncIterator=E,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new E(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},k(L),s(L,c,"Generator"),L[a]=function(){return this},L.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=S,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEac
3h(_),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:S(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={exports:{}};return t[n](a,a.exports,r),a.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){"use strict";function t(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function e(e){return function(){var r=this,n=arguments;return new Promise((function(o,a){var i=e.apply(r,n);function c(e){t(i,o,a,c,s,"next",e)}function s(e){t(i,o,a,c,s,"throw",e)}c(void 0)}))}}var n=r(87757),o=r.n(n);function a(t){return t<768?"mobile":t<992?"tablet":"desktop"}function i(t){return t.charAt(0).toUpperCase()+t.slice(1)}function c(t){return!t.paused()&&!t.ended()&&t.readyState()>0}function s(t,e){var r=i(a(window.innerWidth)),n="true"===t.getAttribute("data-play-at-start"),o="true"===t.dataset["videoIsBc".concat(r)],c=t.dataset["videoSource".concat(r)];o?e.catalog.getVideo(c,(function(t,r){e.catalog.load(r),n&&e.play()})):e.src(c)}function u(t,r,n){var a=0,i=setInterval(e(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!c(r)&&!t.classList.contains("paused-by-init")){e.next=3;break}return e.next=3,r.pause();case 3:if(!(a<n)){e.next=14;break}if(a+=1,!t.classList.contains("play-not-pressed")){e.next=11;break}if(!c(r)){e.next=9;break}return e.next=9,r.pause();case 9:e.next=12;break;case 11:clearInterval(i);case 12:e.next=15;break;case 14:clearInterval(i);case 15:case"end":return e.stop()}}),e)}))),300)}var l=function(t){if(t){var r="true"===t.getAttribute("data-play-at-start"),n=videojs(t);s(t,n),function(t,r,n){var s=r.querySelector(".vjs-poster"),l=r.closest(".heroVideo"),f=l?l.querySelector(".hero--video-poster"):null,p=r.querySelector(".vjs-big-play-button"),d=!!f,h=function(){d?function(t){t&&(t.style.setProperty("display","block","important"),t.parentElement&&t.parentElement.style.setProperty("display","block","important"))}(f):function(t,e){if(e){var r=a(window.innerWidth),n=t.dataset["imageforvideoSource".concat(i(r))];n&&(e.style.backgroundImage='url("'.concat(n,'")')),e.style.setProperty("display","block","important"),e.style.setProperty("background-size","cover")}}(r,s)},y=function(){!r.hasAttribute("play-btn-hide")&&p&&(p.style.display="block")};t.ready((function(){n||r.hasAttribute("data-play-at-start-once")||(h(),y(),u(r,t,10)),r.hasAttribute("play-btn-hide")&&p&&(p.style.display="none"),t.on("loadedmetadata",e(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n&&!r.hasAttribute("data-play-at-start-once")){e.next=5;break}return e.next=3,t.play();case 3:e.next=10;break;case 5:if(!c(t)){e.next=8;break}return e.next=8,t.pause();case 8:h(),y();case 10:n||r.hasAttribute("data-play-at-start-once")||r.classList.add("paused-by-init");case 11:case"end":return e.stop()}}),e)})))),t.on("ended",e(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=6;break}
3r.classList.add("paused-by-end"),h(),y(),e.next=9;break;case 6:if(!t.paused()){e.next=9;break}return e.next=9,t.play();case 9:case"end":return e.stop()}}),e)})))),t.on("error",(function(){n||(h(),y())})),t.on("loadstart",(function(){n||r.hasAttribute("data-play-at-start-once")||h()})),t.on("waiting",(function(){n||h()})),t.on("pause",(function(){n||(h(),y())})),t.on("playing",(function(){s&&s.style.setProperty("display","none","important"),d&&function(t){t&&(t.style.setProperty("display","none","important"),t.parentElement&&t.parentElement.style.setProperty("display","none","important"))}(f),p&&p.style.setProperty("display","none","important")})),function(t,e){e||t.on("click",(function(){r.classList.contains("play-not-pressed")?r.classList.remove("play-not-pressed"):r.classList.add("play-not-pressed"),r.classList.contains("paused-by-init")?r.classList.remove("paused-by-init"):r.classList.toggle("paused-by-user")}))}(t,n)}))}(n,t,r),function(t,e){e||t.addEventListener("touchstart",(function(){t.classList.contains("paused-by-init")?t.classList.remove("paused-by-init"):t.classList.toggle("paused-by-user")}))}(t,r);var l=window.innerWidth,f=function(){var r=e(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(window.innerWidth===l){e.next=7;break}if(l=window.innerWidth,s(t,n),!c(n)){e.next=6;break}return e.next=6,n.pause();case 6:u(t,n,1);case 7:case"end":return e.stop()}}),e)})));return function(){return r.apply(this,arguments)}}();window.addEventListener("resize",f)}};document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".heroVideo video-js").forEach((function(t){!function(t){l(t),function(t){var e=i(a(window.innerWidth)),r="true"===t.dataset["videoIsBc".concat(e)],n=t.dataset["videoSource".concat(e)];r?function(t,e){var r=t.querySelector("source");r&&r.remove(),t.setAttribute("data-video-id",e)}(t,n):function(t,e){var r=t.querySelector("source");r&&r.remove();var n=document.createElement("source");n.setAttribute("src",e),n.setAttribute("type","video/mp4"),t.appendChild(n)}(t,n)}(t),window.bc?l():window.loadBrightcovePlayer&&window.loadBrightcovePlayer(l)}(t)}))}))}()}();
4//# sourceMappingURL=heroVideo.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.