"use strict";(self.webpackChunkengine=self.webpackChunkengine||[]).push([[4770,4852],{84770:(t,n,e)=>{e.r(n),e.d(n,{default:()=>o});var r=e(28416);function i(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);ewindow.innerWidth),n=2,function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o,a,u=[],c=!0,l=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;c=!1}else for(;!(c=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);c=!0);}catch(t){l=!0,i=t}finally{try{if(!c&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(t,n)||function(t,n){if(t){if("string"==typeof t)return i(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?i(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=e[0],a=e[1],u=function(t){a(t.matches)};return(0,r.useEffect)((function(){return window.matchMedia("(orientation: portrait)").addEventListener("change",u),function(){return window.matchMedia("(orientation: portrait)").removeEventListener("change",u)}}),[]),o}}}]);