api-doc/ydoc-lucky-ui/assets/vendor.08310185.js

15 lines
1.1 MiB
JavaScript
Raw Normal View History

var e=Object.defineProperty,t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,r=(t,n,o)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[n]=o;function i(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const s=i("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function a(e){return!!e||""===e}function l(e){if(F(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=R(o)?u(o):l(o);if(r)for(const e in r)t[e]=r[e]}return t}return R(e)||T(e)?e:void 0}const c=/;(?![^(]*\))/g,d=/:(.+)/;function u(e){const t={};return e.split(c).forEach((e=>{if(e){const n=e.split(d);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function h(e){let t="";if(R(e))t=e;else if(F(e))for(let n=0;n<e.length;n++){const o=h(e[n]);o&&(t+=o+" ")}else if(T(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const p=e=>null==e?"":F(e)||T(e)&&(e.toString===M||!_(e.toString))?JSON.stringify(e,f,2):String(e),f=(e,t)=>t&&t.__v_isRef?f(e,t.value):E(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:$(t)?{[`Set(${t.size})`]:[...t.values()]}:!T(t)||F(t)||P(t)?t:String(t),g={},m=[],v=()=>{},b=()=>!1,y=/^on[^a-z]/,C=e=>y.test(e),w=e=>e.startsWith("onUpdate:"),x=Object.assign,S=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},A=Object.prototype.hasOwnProperty,k=(e,t)=>A.call(e,t),F=Array.isArray,E=e=>"[object Map]"===L(e),$=e=>"[object Set]"===L(e),_=e=>"function"==typeof e,R=e=>"string"==typeof e,B=e=>"symbol"==typeof e,T=e=>null!==e&&"object"==typeof e,D=e=>T(e)&&_(e.then)&&_(e.catch),M=Object.prototype.toString,L=e=>M.call(e),P=e=>"[object Object]"===L(e),O=e=>R(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,z=i(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),I=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},j=/-(\w)/g,N=I((e=>e.replace(j,((e,t)=>t?t.toUpperCase():"")))),H=/\B([A-Z])/g,W=I((e=>e.replace(H,"-$1").toLowerCase())),V=I((e=>e.charAt(0).toUpperCase()+e.slice(1))),U=I((e=>e?`on${V(e)}`:"")),K=(e,t)=>!Object.is(e,t),G=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Y=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},q=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let X;const Z=[];class J{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&X&&(this.parent=X,this.index=(X.scopes||(X.scopes=[])).push(this)-1)}run(e){if(this.active)try{return this.on(),e()}finally{this.off()}}on(){this.active&&(Z.push(this),X=this)}off(){this.active&&(Z.pop(),X=Z[Z.length-1])}stop(e){if(this.active){if(this.effects.forEach((e=>e.stop())),this.cleanups.forEach((e=>e())),this.scopes&&this.scopes.forEach((e=>e.stop(!0))),this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.active=!1}}}const Q=e=>{const t=new Set(e);return t.w=0,t.n=0,t},ee=e=>(e.w&re)>0,te=e=>(e.n&re)>0,ne=new WeakMap;let oe=0,re=1;const ie=[];let se;const ae=Symbol(""),le=Symbol("");class ce{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],function(e,t){(t=t||X)&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();if(!ie.includes(this))try{return ie.push(se=this),he.push(ue),ue=!0,re=1<<++oe,oe<=30?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=re})(this):de(this),this.fn()}finally{oe<=30&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const r=t[o];ee(r)&&!te(r)?r.delete(e):t[n++]=r,r.w&=~re,r.n&=~re}t.length=n}})(this),re=1<<--oe,fe(),ie.pop();const e=ie.length;se=e>0?ie[e-1]:void 0}}stop(){this.active&&(de(this),this.onStop&&this.onStop(),this.active=!1)}}function de(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let ue=!0;const he=[];function pe(){he.push(ue),ue=!1}function fe(){const e=he.pop();ue=void 0===e||e}function ge(e,t,n){if(!me())return;let o=ne.get(e);o||ne.s
/*!
* vue-router v4.0.0-beta.13
* (c) 2020 Eduardo San Martin Morote
* @license MIT
*/const aA="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,lA=e=>aA?Symbol(e):"_vr_"+e,cA=lA("rvlm"),dA=lA("rvd"),uA=lA("r"),hA=lA("rl"),pA="undefined"!=typeof window;const fA=Object.assign;function gA(e,t){const n={};for(const o in t){const r=t[o];n[o]=Array.isArray(r)?r.map(e):e(r)}return n}let mA=()=>{};const vA=/\/$/;function bA(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("?"),l=t.indexOf("#",a>-1?a:0);return a>-1&&(o=t.slice(0,a),i=t.slice(a+1,l>-1?l:t.length),r=e(i)),l>-1&&(o=o||t.slice(0,l),s=t.slice(l,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/");let r,i,s=n.length-1;for(r=0;r<o.length;r++)if(i=o[r],1!==s&&"."!==i){if(".."!==i)break;s--}return n.slice(0,s).join("/")+"/"+o.slice(r-(r===o.length?1:0)).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:s}}function yA(e,t){return!t||e.toLowerCase().indexOf(t.toLowerCase())?e:e.slice(t.length)||"/"}function CA(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function wA(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(!xA(e[n],t[n]))return!1;return!0}function xA(e,t){return Array.isArray(e)?SA(e,t):Array.isArray(t)?SA(t,e):e===t}function SA(e,t){return Array.isArray(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var AA,kA,FA,EA;function $A(e){if(!e)if(pA){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(vA,"")}(kA=AA||(AA={})).pop="pop",kA.push="push",(EA=FA||(FA={})).back="back",EA.forward="forward",EA.unknown="";const _A=/^[^#]+#/;function RA(e,t){return e.replace(_A,"#")+t}const BA=()=>({left:window.pageXOffset,top:window.pageYOffset});function TA(e){let t;if("el"in e){let n=e.el;const o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function DA(e,t){return(history.state?history.state.position-t:-1)+e}const MA=new Map;function LA(e,t){const{pathname:n,search:o,hash:r}=t;if(e.indexOf("#")>-1){let e=r.slice(1);return"/"!==e[0]&&(e="/"+e),yA(e,"")}return yA(n,e)+o+r}function PA(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?BA():null}}function OA(e){const{history:t,location:n}=window;let o={value:LA(e,n)},r={value:t.state};function i(o,i,s){const a=e.indexOf("#"),l=a>-1?e.slice(a)+o:location.protocol+"//"+location.host+e+o;try{t[s?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const s=fA({},r.value,t.state,{forward:e,scroll:BA()});i(s.current,s,!0),i(e,fA({},PA(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,fA({},t.state,PA(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function zA(e){const t=OA(e=$A(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=LA(e,location),l=n.value,c=t.value;let d=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);d=c?i.position-c.position:0}else o(a);r.forEach((e=>{e(n.value,l,{delta:d,type:AA.pop,direction:d?d>0?FA.forward:FA.back:FA.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(fA({},e.state,{scroll:BA()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l),{pauseListeners:function(){s=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),
//! moment.js
//! version : 2.29.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
var Pk,Ok;function zk(){return Pk.apply(null,arguments)}function Ik(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function jk(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function Nk(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Hk(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(Nk(e,t))return!1;return!0}function Wk(e){return void 0===e}function Vk(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function Uk(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function Kk(e,t){var n,o=[];for(n=0;n<e.length;++n)o.push(t(e[n],n));return o}function Gk(e,t){for(var n in t)Nk(t,n)&&(e[n]=t[n]);return Nk(t,"toString")&&(e.toString=t.toString),Nk(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Yk(e,t,n,o){return i$(e,t,n,o,!0).utc()}function qk(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function Xk(e){if(null==e._isValid){var t=qk(e),n=Ok.call(t.parsedDateParts,(function(e){return null!=e})),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function Zk(e){var t=Yk(NaN);return null!=e?Gk(qk(t),e):qk(t).userInvalidated=!0,t}Ok=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),o=n.length>>>0;for(t=0;t<o;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var Jk=zk.momentProperties=[],Qk=!1;function eF(e,t){var n,o,r;if(Wk(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),Wk(t._i)||(e._i=t._i),Wk(t._f)||(e._f=t._f),Wk(t._l)||(e._l=t._l),Wk(t._strict)||(e._strict=t._strict),Wk(t._tzm)||(e._tzm=t._tzm),Wk(t._isUTC)||(e._isUTC=t._isUTC),Wk(t._offset)||(e._offset=t._offset),Wk(t._pf)||(e._pf=qk(t)),Wk(t._locale)||(e._locale=t._locale),Jk.length>0)for(n=0;n<Jk.length;n++)Wk(r=t[o=Jk[n]])||(e[o]=r);return e}function tF(e){eF(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Qk&&(Qk=!0,zk.updateOffset(this),Qk=!1)}function nF(e){return e instanceof tF||null!=e&&null!=e._isAMomentObject}function oF(e){!1===zk.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function rF(e,t){var n=!0;return Gk((function(){if(null!=zk.deprecationHandler&&zk.deprecationHandler(null,e),n){var o,r,i,s=[];for(r=0;r<arguments.length;r++){if(o="","object"==typeof arguments[r]){for(i in o+="\n["+r+"] ",arguments[0])Nk(arguments[0],i)&&(o+=i+": "+arguments[0][i]+", ");o=o.slice(0,-2)}else o=arguments[r];s.push(o)}oF(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var iF,sF={};function aF(e,t){null!=zk.deprecationHandler&&zk.deprecationHandler(e,t),sF[e]||(oF(t),sF[e]=!0)}function lF(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function cF(e,t){var n,o=Gk({},e);for(n in t)Nk(t,n)&&(jk(e[n])&&jk(t[n])?(o[n]={},Gk(o[n],e[n]),Gk(o[n],t[n])):null!=t[n]?o[n]=t[n]:delete o[n]);for(n in e)Nk(e,n)&&!Nk(t,n)&&jk(e[n])&&(o[n]=Gk({},o[n]));return o}function dF(e){null!=e&&this.set(e)}zk.suppressDeprecationWarnings=!1,zk.deprecationHandler=null,iF=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)Nk(e,t)&&n.push(t);return n};function uF(e,t,n){var o=""+Math.abs(e),r=t-o.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+o}var hF=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo
//! moment.js
zk.version="2.29.1",Pk=s$,zk.fn=X$,zk.min=function(){var e=[].slice.call(arguments,0);return c$("isBefore",e)},zk.max=function(){var e=[].slice.call(arguments,0);return c$("isAfter",e)},zk.now=function(){return Date.now?Date.now():+new Date},zk.utc=Yk,zk.unix=function(e){return s$(1e3*e)},zk.months=function(e,t){return e_(e,t,"months")},zk.isDate=Uk,zk.locale=jE,zk.invalid=Zk,zk.duration=x$,zk.isMoment=nF,zk.weekdays=function(e,t,n){return t_(e,t,n,"weekdays")},zk.parseZone=function(){return s$.apply(null,arguments).parseZone()},zk.localeData=HE,zk.isDuration=h$,zk.monthsShort=function(e,t){return e_(e,t,"monthsShort")},zk.weekdaysMin=function(e,t,n){return t_(e,t,n,"weekdaysMin")},zk.defineLocale=NE,zk.updateLocale=function(e,t){if(null!=t){var n,o,r=ME;null!=LE[e]&&null!=LE[e].parentLocale?LE[e].set(cF(LE[e]._config,t)):(null!=(o=IE(e))&&(r=o._config),t=cF(r,t),null==o&&(t.abbr=e),(n=new dF(t)).parentLocale=LE[e],LE[e]=n),jE(e)}else null!=LE[e]&&(null!=LE[e].parentLocale?(LE[e]=LE[e].parentLocale,e===jE()&&jE(e)):null!=LE[e]&&delete LE[e]);return LE[e]},zk.locales=function(){return iF(LE)},zk.weekdaysShort=function(e,t,n){return t_(e,t,n,"weekdaysShort")},zk.normalizeUnits=wF,zk.relativeTimeRounding=function(e){return void 0===e?k_:"function"==typeof e&&(k_=e,!0)},zk.relativeTimeThreshold=function(e,t){return void 0!==F_[e]&&(void 0===t?F_[e]:(F_[e]=t,"s"===e&&(F_.ss=t-1),!0))},zk.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},zk.prototype=X$,zk.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function T_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var D_={exports:{}},M_=function(e,t){return function(){for(var n=new Array(arguments.length),o=0;o<n.length;o++)n[o]=arguments[o];return e.apply(t,n)}},L_=M_,P_=Object.prototype.toString;function O_(e){return"[object Array]"===P_.call(e)}function z_(e){return void 0===e}function I_(e){return null!==e&&"object"==typeof e}function j_(e){if("[object Object]"!==P_.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function N_(e){return"[object Function]"===P_.call(e)}function H_(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),O_(e))for(var n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}var W_={isArray:O_,isArrayBuffer:function(e){return"[object ArrayBuffer]"===P_.call(e)},isBuffer:function(e){return null!==e&&!z_(e)&&null!==e.constructor&&!z_(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:I_,isPlainObject:j_,isUndefined:z_,isDate:function(e){return"[object Date]"===P_.call(e)},isFile:function(e){return"[object File]"===P_.call(e)},isBlob:function(e){return"[object Blob]"===P_.call(e)},isFunction:N_,isStream:function(e){return I_(e)&&N_(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:H_,merge:function e(){var t={};function n(n,o){j_(t[o])&&j_(n)?t[o]=e(t[o],n):j_(n)?t[o]=e({},n):O_(n)?t[o]=n.slice():t[o]=n}