!function(){function e(n){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(n)}function n(e,n,t,r,o,i,u){try{var a=e[i](u),f=a.value}catch(l){return void t(l)}a.done?n(f):Promise.resolve(f).then(r,o)}function t(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var u=e.apply(t,r);function a(e){n(u,o,i,a,f,"next",e)}function f(e){n(u,o,i,a,f,"throw",e)}a(void 0)}))}}function r(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return o(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return o(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,f=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){f=!0,u=e},f:function(){try{a||null==t.return||t.return()}finally{if(f)throw u}}}}function o(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t0&&void 0!==arguments[0]?arguments[0]:{},n=e.window,t=void 0===n?L:n;if(!t)return{x:u(0),y:u(0)};var r=u(t.pageXOffset),o=u(t.pageYOffset);return z("scroll",(function(){r.value=t.pageXOffset,o.value=t.pageYOffset}),{capture:!1,passive:!0}),{x:r,y:o}},c:function(e,n,r){var o=null!=r?r:{},i=o.immediate,a=void 0===i||i,f=o.delay,c=void 0===f?0:f,v=o.onError,s=void 0===v?d:v,p=o.resetOnExecute,y=void 0===p||p,w=o.shallow,g=void 0===w||w?l(n):u(n),m=u(!1),h=u(!1),O=u(void 0);function S(){return j.apply(this,arguments)}function j(){return j=t(regeneratorRuntime.mark((function t(){var r,o,i,u,a,f,l=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=l.length>0&&void 0!==l[0]?l[0]:0,y&&(g.value=n),O.value=void 0,m.value=!1,h.value=!0,!(r>0)){t.next=8;break}return t.next=8,b(r);case 8:for(o=l.length,i=new Array(o>1?o-1:0),u=1;u2&&void 0!==arguments[2]?arguments[2]:{},r=t.window,o=void 0===r?L:r;return X(e,n,null==o?void 0:o.localStorage,t)},e:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return p(w(n,t,r),e)},u:function(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r,i=o.window,u=void 0===i?L:i,f=K(o,["window"]),l=u&&"ResizeObserver"in u,c=function(){t&&(t.disconnect(),t=void 0)},v=a((function(){return k(e)}),(function(e){c(),l&&u&&e&&(t=new ResizeObserver(n)).observe(e,f)}),{immediate:!0,flush:"post"}),s=function(){c(),v()};return m(s),{isSupported:l,stop:s}}});var v="undefined"!=typeof window,s=function(e){return"string"==typeof e},d=function(){};function p(e,n){return function(){for(var t=this,r=arguments.length,o=new Array(r),i=0;i1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=0,i=!0,u=function(){n&&(clearTimeout(n),n=void 0)},a=function(a){var l=f(e),c=Date.now()-o;if(u(),l<=0)return o=Date.now(),a();c>l&&(r||!i)?(o=Date.now(),a()):t&&(n=setTimeout((function(){o=Date.now(),i=!0,u(),a()}),l)),r||n||(n=setTimeout((function(){return i=!0}),l)),i=!1};return a}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y,n=u(!0);function t(){n.value=!1}function r(){n.value=!0}var o=function(){n.value&&e.apply(void 0,arguments)};return{isActive:n,pause:t,resume:r,eventFilter:o}}function b(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Timeout";return new Promise((function(r,o){n?setTimeout((function(){return o(t)}),e):setTimeout(r,e)}))}function m(e){return!!o()&&(i(e),!0)}var h=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,j=function(e,n){var t={};for(var o in e)O.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&h){var i,u=r(h(e));try{for(u.s();!(i=u.n()).done;){o=i.value;n.indexOf(o)<0&&S.call(e,o)&&(t[o]=e[o])}}catch(a){u.e(a)}finally{u.f()}}return t};function A(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t,o=r.eventFilter,i=void 0===o?y:o,u=j(r,["eventFilter"]);return a(e,p(i,n),u)}var x=Object.defineProperty,N=Object.defineProperties,P=Object.getOwnPropertyDescriptors,T=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,F=function(e,n,t){return n in e?x(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},D=function(e,n){for(var t in n||(n={}))E.call(n,t)&&F(e,t,n[t]);if(T){var o,i=r(T(n));try{for(i.s();!(o=i.n()).done;){t=o.value;I.call(n,t)&&F(e,t,n[t])}}catch(u){i.e(u)}finally{i.f()}}return e},R=function(e,n){return N(e,P(n))},J=function(e,n){var t={};for(var o in e)E.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&T){var i,u=r(T(e));try{for(u.s();!(i=u.n()).done;){o=i.value;n.indexOf(o)<0&&I.call(e,o)&&(t[o]=e[o])}}catch(a){u.e(a)}finally{u.f()}}return t};function _(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t,o=r.eventFilter,i=J(r,["eventFilter"]),u=g(o),a=u.eventFilter,f=u.pause,l=u.resume,c=u.isActive,v=A(e,n,R(D({},i),{eventFilter:a}));return{stop:v,pause:f,resume:l,isActive:c}}function k(e){var n,t=f(e);return null!=(n=null==t?void 0:t.$el)?n:t}var L=v?window:void 0;function z(){for(var e,n,t,r,o=arguments.length,i=new Array(o),u=0;u3&&void 0!==arguments[3]?arguments[3]:{},i=o.flush,a=void 0===i?"pre":i,c=o.deep,v=void 0===c||c,s=o.listenToStorageChanges,d=void 0===s||s,p=o.writeDefaults,y=void 0===p||p,w=o.shallow,g=o.window,b=void 0===g?L:g,m=o.eventFilter,h=o.onError,O=void 0===h?function(e){console.error(e)}:h,S=(w?l:u)(n);if(!t)try{t=G("getDefaultStorage",(function(){var e;return null==(e=L)?void 0:e.localStorage}))()}catch(D){O(D)}if(!t)return S;var j=f(n),A=H(j),x=null!=(r=o.serializer)?r:W[A],N=_(S,(function(){return E(S.value)}),{flush:a,deep:v,eventFilter:m}),P=N.pause,T=N.resume;return b&&d&&z(b,"storage",F),F(),S;function E(n){try{null==n?t.removeItem(e):t.setItem(e,x.write(n))}catch(D){O(D)}}function I(n){if(!n||n.key===e){P();try{var r=n?n.newValue:t.getItem(e);return null==r?(y&&null!==j&&t.setItem(e,x.write(j)),j):"string"!=typeof r?r:x.read(r)}catch(D){O(D)}finally{T()}}}function F(n){n&&n.key!==e||(S.value=I(n))}}var Y,$,V=Object.getOwnPropertySymbols,q=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,K=function(e,n){var t={};for(var o in e)q.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&V){var i,u=r(V(e));try{for(u.s();!(i=u.n()).done;){o=i.value;n.indexOf(o)<0&&B.call(e,o)&&(t[o]=e[o])}}catch(a){u.e(a)}finally{u.f()}}return t};($=Y||(Y={})).UP="UP",$.RIGHT="RIGHT",$.DOWN="DOWN",$.LEFT="LEFT",$.NONE="NONE"}}}))}();