1 |
- !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);t<n;t++)r[t]=e[t];return r}System.register(["./index-legacy.b2528a15.js"],(function(n){"use strict";var o,i,u,a,f,l;return{setters:[function(e){o=e.U,i=e.a3,u=e.b8,a=e.b9,f=e.ba,l=e.bb}],execute:function(){var c;n({a:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.window,t=void 0===n?L:n;if(!t)return{x:o(0),y:o(0)};var r=o(t.pageXOffset),i=o(t.pageYOffset);return R("scroll",(function(){r.value=t.pageXOffset,i.value=t.pageYOffset}),{capture:!1,passive:!0}),{x:r,y:i}},b:function(e,n,r){var i=null!=r?r:{},u=i.immediate,a=void 0===u||u,l=i.delay,c=void 0===l?0:l,v=i.onError,s=void 0===v?d:v,y=i.resetOnExecute,p=void 0===y||y,g=i.shallow,b=void 0===g||g?f(n):o(n),m=o(!1),h=o(!1),O=o(void 0);function S(){return A.apply(this,arguments)}function A(){return A=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,p&&(b.value=n),O.value=void 0,m.value=!1,h.value=!0,!(r>0)){t.next=8;break}return t.next=8,w(r);case 8:for(o=l.length,i=new Array(o>1?o-1:0),u=1;u<o;u++)i[u-1]=l[u];return a="function"==typeof e?e.apply(void 0,i):e,t.prev=10,t.next=13,a;case 13:f=t.sent,b.value=f,m.value=!0,t.next=22;break;case 18:t.prev=18,t.t0=t.catch(10),O.value=t.t0,s(t.t0);case 22:return t.prev=22,h.value=!1,t.finish(22);case 25:return t.abrupt("return",b.value);case 26:case"end":return t.stop()}}),t,null,[[10,18,22,25]])}))),A.apply(this,arguments)}a&&S(c);return{state:b,isReady:m,isLoading:h,error:O,execute:S}},c:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.window,o=void 0===r?L:r;return $(e,n,null==o?void 0:o.localStorage,t)},u:R});var v="undefined"!=typeof window,s=function(e){return"string"==typeof e},d=function(){};function y(e,n){return function(){for(var t=this,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];e((function(){return n.apply(t,o)}),{fn:n,thisArg:this,args:o})}}v&&(null==(c=null==window?void 0:window.navigator)?void 0:c.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);var p=function(e){return e()};function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,n=o(!0);function t(){n.value=!1}function r(){n.value=!0}var i=function(){n.value&&e.apply(void 0,arguments)};return{isActive:n,pause:t,resume:r,eventFilter:i}}function w(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 b(e){return!!u()&&(a(e),!0)}var m=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,S=function(e,n){var t={};for(var o in e)h.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&m){var i,u=r(m(e));try{for(u.s();!(i=u.n()).done;){o=i.value;n.indexOf(o)<0&&O.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,u=void 0===o?p:o,a=S(r,["eventFilter"]);return i(e,y(u,n),a)}var x=Object.defineProperty,j=Object.defineProperties,N=Object.getOwnPropertyDescriptors,P=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable,I=function(e,n,t){return n in e?x(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},T=function(e,n){for(var t in n||(n={}))E.call(n,t)&&I(e,t,n[t]);if(P){var o,i=r(P(n));try{for(i.s();!(o=i.n()).done;){t=o.value;F.call(n,t)&&I(e,t,n[t])}}catch(u){i.e(u)}finally{i.f()}}return e},D=function(e,n){return j(e,N(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&&P){var i,u=r(P(e));try{for(u.s();!(i=u.n()).done;){o=i.value;n.indexOf(o)<0&&F.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,D(T({},i),{eventFilter:a}));return{stop:v,pause:f,resume:l,isActive:c}}function k(e){var n,t=l(e);return null!=(n=null==t?void 0:t.$el)?n:t}var L=v?window:void 0;function R(){for(var e,n,t,r,o=arguments.length,u=new Array(o),a=0;a<o;a++)u[a]=arguments[a];if(s(u[0])?(n=u[0],t=u[1],r=u[2],e=L):(e=u[0],n=u[1],t=u[2],r=u[3]),!e)return d;var f=d,l=i((function(){return k(e)}),(function(e){f(),e&&(e.addEventListener(n,t,r),f=function(){e.removeEventListener(n,t,r),f=d})}),{immediate:!0,flush:"post"}),c=function(){l(),f()};return b(c),c}v&&window.document,v&&window.navigator,v&&window.location;var U="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},M="__vueuse_ssr_handlers__";U[M]=U[M]||{};var C=U[M];function G(e,n){return C[e]||n}function H(n){return null==n?"any":n instanceof Set?"set":n instanceof Map?"map":n instanceof Date?"date":"boolean"==typeof n?"boolean":"string"==typeof n?"string":"object"===e(n)||Array.isArray(n)?"object":Number.isNaN(n)?"any":"number"}var W,X,Y={boolean:{read:function(e){return"true"===e},write:function(e){return String(e)}},object:{read:function(e){return JSON.parse(e)},write:function(e){return JSON.stringify(e)}},number:{read:function(e){return Number.parseFloat(e)},write:function(e){return String(e)}},any:{read:function(e){return e},write:function(e){return String(e)}},string:{read:function(e){return e},write:function(e){return String(e)}},map:{read:function(e){return new Map(JSON.parse(e))},write:function(e){return JSON.stringify(Array.from(e.entries()))}},set:{read:function(e){return new Set(JSON.parse(e))},write:function(e){return JSON.stringify(Array.from(e))}},date:{read:function(e){return new Date(e)},write:function(e){return e.toISOString()}}};function $(e,n,t){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=i.flush,a=void 0===u?"pre":u,c=i.deep,v=void 0===c||c,s=i.listenToStorageChanges,d=void 0===s||s,y=i.writeDefaults,p=void 0===y||y,g=i.shallow,w=i.window,b=void 0===w?L:w,m=i.eventFilter,h=i.onError,O=void 0===h?function(e){console.error(e)}:h,S=(g?f:o)(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 A=l(n),x=H(A),j=null!=(r=i.serializer)?r:Y[x],N=_(S,(function(){return F(S.value)}),{flush:a,deep:v,eventFilter:m}),P=N.pause,E=N.resume;return b&&d&&R(b,"storage",T),T(),S;function F(n){try{null==n?t.removeItem(e):t.setItem(e,j.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?(p&&null!==A&&t.setItem(e,j.write(A)),A):"string"!=typeof r?r:j.read(r)}catch(D){O(D)}finally{E()}}}function T(n){n&&n.key!==e||(S.value=I(n))}}(X=W||(W={})).UP="UP",X.RIGHT="RIGHT",X.DOWN="DOWN",X.LEFT="LEFT",X.NONE="NONE"}}}))}();
|