index-legacy.bbc2b10e.js 10 KB

1
  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),l=a.value}catch(f){return void t(f)}a.done?n(l):Promise.resolve(l).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,l,"next",e)}function l(e){n(u,o,i,a,l,"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,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){l=!0,u=e},f:function(){try{a||null==t.return||t.return()}finally{if(l)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(["./ResizeObserver.es-legacy.8d60aee1.js"],(function(n){"use strict";var o,i,u,a,l,f;return{setters:[function(e){o=e.b1,i=e.b2,u=e.U,a=e.a3,l=e.b3,f=e.b4}],execute:function(){var c;n({a:M,b:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.window,t=void 0===n?_:n;if(!t)return{x:u(0),y:u(0)};var r=u(t.pageXOffset),o=u(t.pageYOffset);return M("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,l=o.delay,c=void 0===l?0:l,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?f(n):u(n),m=u(!1),h=u(!1),O=u(void 0);function S(){return A.apply(this,arguments)}function A(){return A=t(regeneratorRuntime.mark((function t(){var r,o,i,u,a,l,f=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=f.length>0&&void 0!==f[0]?f[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=f.length,i=new Array(o>1?o-1:0),u=1;u<o;u++)i[u-1]=f[u];return a="function"==typeof e?e.apply(void 0,i):e,t.prev=10,t.next=13,a;case 13:l=t.sent,g.value=l,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",g.value);case 26:case"end":return t.stop()}}),t,null,[[10,18,22,25]])}))),A.apply(this,arguments)}a&&S(c);return{state:g,isReady:m,isLoading:h,error:O,execute:S}},d:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.window,o=void 0===r?_: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)},f:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.window,t=void 0===n?_:n,r=null==t?void 0:t.navigator,o=Boolean(r&&"connection"in r),i=u(!0),a=u(!1),l=u(void 0),f=u(void 0),c=u(void 0),v=u(void 0),s=u(void 0),d=u(void 0),p=u("unknown"),y=o&&r.connection;function w(){r&&(i.value=r.onLine,l.value=i.value?void 0:Date.now(),f.value=i.value?Date.now():void 0,y&&(c.value=y.downlink,v.value=y.downlinkMax,d.value=y.effectiveType,s.value=y.rtt,a.value=y.saveData,p.value=y.type))}t&&(M(t,"offline",(function(){i.value=!1,l.value=Date.now()})),M(t,"online",(function(){i.value=!0,f.value=Date.now()})));y&&M(y,"change",w,!1);return w(),{isSupported:o,isOnline:i,saveData:a,offlineAt:l,onlineAt:f,downlink:c,downlinkMax:v,effectiveType:d,rtt:s,type:p}},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?_:i,l=K(o,["window"]),f=u&&"ResizeObserver"in u,c=function(){t&&(t.disconnect(),t=void 0)},v=a((function(){return L(e)}),(function(e){c(),f&&u&&e&&(t=new ResizeObserver(n)).observe(e,l)}),{immediate:!0,flush:"post"}),s=function(){c(),v()};return m(s),{isSupported:f,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;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 y=function(e){return e()};function w(e){var n,t=!(arguments.length>1&&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 f=l(e),c=Date.now()-o;if(u(),f<=0)return o=Date.now(),a();c>f&&(r||!i)?(o=Date.now(),a()):t&&(n=setTimeout((function(){o=Date.now(),i=!0,u(),a()}),f)),r||n||(n=setTimeout((function(){return i=!0}),f)),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,A=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 x(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=A(r,["eventFilter"]);return a(e,p(i,n),u)}var j=Object.defineProperty,D=Object.defineProperties,N=Object.getOwnPropertyDescriptors,T=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,I=function(e,n,t){return n in e?j(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},F=function(e,n){for(var t in n||(n={}))P.call(n,t)&&I(e,t,n[t]);if(T){var o,i=r(T(n));try{for(i.s();!(o=i.n()).done;){t=o.value;E.call(n,t)&&I(e,t,n[t])}}catch(u){i.e(u)}finally{i.f()}}return e},k=function(e,n){return D(e,N(n))},R=function(e,n){var t={};for(var o in e)P.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&&E.call(e,o)&&(t[o]=e[o])}}catch(a){u.e(a)}finally{u.f()}}return t};function J(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t,o=r.eventFilter,i=R(r,["eventFilter"]),u=g(o),a=u.eventFilter,l=u.pause,f=u.resume,c=u.isActive,v=x(e,n,k(F({},i),{eventFilter:a}));return{stop:v,pause:l,resume:f,isActive:c}}function L(e){var n,t=l(e);return null!=(n=null==t?void 0:t.$el)?n:t}var _=v?window:void 0;function M(){for(var e,n,t,r,o=arguments.length,i=new Array(o),u=0;u<o;u++)i[u]=arguments[u];if(s(i[0])?(n=i[0],t=i[1],r=i[2],e=_):(e=i[0],n=i[1],t=i[2],r=i[3]),!e)return d;var l=d,f=a((function(){return L(e)}),(function(e){l(),e&&(e.addEventListener(n,t,r),l=function(){e.removeEventListener(n,t,r),l=d})}),{immediate:!0,flush:"post"}),c=function(){f(),l()};return m(c),c}v&&window.document,v&&window.navigator,v&&window.location;var z="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},U="__vueuse_ssr_handlers__";z[U]=z[U]||{};var C=z[U];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={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 X(e,n,t){var r,o=arguments.length>3&&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?_:g,m=o.eventFilter,h=o.onError,O=void 0===h?function(e){console.error(e)}:h,S=(w?f:u)(n);if(!t)try{t=G("getDefaultStorage",(function(){var e;return null==(e=_)?void 0:e.localStorage}))()}catch(F){O(F)}if(!t)return S;var A=l(n),x=H(A),j=null!=(r=o.serializer)?r:W[x],D=J(S,(function(){return P(S.value)}),{flush:a,deep:v,eventFilter:m}),N=D.pause,T=D.resume;return b&&d&&M(b,"storage",I),I(),S;function P(n){try{null==n?t.removeItem(e):t.setItem(e,j.write(n))}catch(F){O(F)}}function E(n){if(!n||n.key===e){N();try{var r=n?n.newValue:t.getItem(e);return null==r?(y&&null!==A&&t.setItem(e,j.write(A)),A):"string"!=typeof r?r:j.read(r)}catch(F){O(F)}finally{T()}}}function I(n){n&&n.key!==e||(S.value=E(n))}}var Y,$,B=Object.getOwnPropertySymbols,V=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable,K=function(e,n){var t={};for(var o in e)V.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&B){var i,u=r(B(e));try{for(u.s();!(i=u.n()).done;){o=i.value;n.indexOf(o)<0&&q.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"}}}))}();