/*!
Copyright (c) 2026 Lenovo SSG BASD. All rights reserved.
@license Proprietary

This software is the confidential and proprietary property of Lenovo SSG BASD.
You shall not disclose such Confidential Information and shall use it only in
accordance with the terms of the license agreement.

--- Build Info ---
Version: 1.1.1
Build Time: 2026/2/26 17:21:00
Build Commit: 81e556ed827e2f043668506dae6fae8dbb9ef395
*/
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let e=null;exports.detectTouchOrSmallScreen=function(){const e={touch:!!("ontouchstart"in window||window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture||window.DocumentTouch&&document instanceof DocumentTouch),ie:window.navigator.userAgent.indexOf("MSIE")>0||!!window.navigator.userAgent.match(/Trident.*rv:11\./),small:window.matchMedia("(max-width: 34em)").matches};return e.touch&&!e.ie||e.small},exports.removeVideo=o=>{null===e&&(e=o.parentNode),document.body.contains(o)&&e.removeChild(o)},exports.restoreVideo=o=>{document.body.contains(o)||e?.insertAdjacentElement("afterbegin",o)},exports.validateSelector=function(e,o){if(void 0===e)throw new TypeError(`${o} requires a video selector as first argument.`);if("video"!==(e="string"==typeof e?document.querySelector(e):e).nodeName.toLowerCase())throw new Error(`${o} requires a valid video selector. You passed a <${e.nodeName}>`);return e};